Skip to content

Commit b97be7a

Browse files
committed
[core] D and FunctionExpamd rules improved
1 parent 7617adf commit b97be7a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

symja_android_library/rules/DRules.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
D(Integrate(f_, x_),x_?NotListQ):=f,
23
D(Abs(f_),x_?NotListQ):=D(f,x)*x/Abs(x) /; Element(x, Reals),
34
D(AiryAi(f_),x_?NotListQ):=D(f,x)*AiryAiPrime(f),
45
D(AiryAiPrime(f_),x_?NotListQ):=D(f,x)*AiryAi(f)*f,

symja_android_library/rules/FunctionExpandRules.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
HarmonicNumber(z_, n_) := -HurwitzZeta(n, 1 + z) + Zeta(n),
3030
HurwitzZeta(n_Integer, a_) := ((-1)^n/(n - 1)!)*PolyGamma(n - 1, a)
3131
/; n>1,
32-
32+
33+
HypergeometricPFQ({1/2}, {1, 1}, z_) := BesselI(0, Sqrt(z))^2,
3334
Hypergeometric2F1(a_, b_, b_ + n_Integer, z_) := (1-z)^(-a+n) * Sum((Pochhammer(n, k)*Pochhammer(b-a+n,k)*z^k) / (Pochhammer(b+n,k)*k!), {k, 0, -n})
3435
/; n<0,
3536

0 commit comments

Comments
 (0)