File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ version = "0.2.1"
77ChainRules = " 082447d4-558c-5d27-93f4-14fc19e9eca2"
88ChainRulesCore = " d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
99ChainRulesOverloadGeneration = " f51149dc-2911-5acf-81fc-2076a2a81d4f"
10+ IrrationalConstants = " 92d709cd-6900-40b7-9082-c6be49f344b6"
1011SliceMap = " 82cb661a-3f19-5665-9e27-df437c7e54c8"
1112SpecialFunctions = " 276daf66-3868-5448-9aa4-cd146d93841b"
1213SymbolicUtils = " d1185830-fcd6-423d-90d6-eec64667417b"
@@ -18,6 +19,7 @@ ChainRulesCore = "1"
1819ChainRulesOverloadGeneration = " 0.1"
1920SliceMap = " 0.2"
2021SpecialFunctions = " 2"
22+ IrrationalConstants = " 0.2"
2123SymbolicUtils = " 1"
2224Zygote = " 0.6.55"
2325julia = " 1.6"
Original file line number Diff line number Diff line change 11using ChainRulesCore
22using SpecialFunctions
3+ using IrrationalConstants: sqrtπ
34using SymbolicUtils, SymbolicUtils. Code
45using SymbolicUtils: BasicSymbolic, Pow
56
@@ -26,7 +27,7 @@ using SymbolicUtils: BasicSymbolic, Pow
2627@scalar_rule asech (x:: BasicSymbolic ) inv (x * - sqrt (1 - x^ 2 ))
2728@scalar_rule asinh (x:: BasicSymbolic ) inv (sqrt (x^ 2 + 1 ))
2829@scalar_rule atanh (x:: BasicSymbolic ) inv (1 - x^ 2 )
29- @scalar_rule erf (x:: BasicSymbolic ) exp (- x^ 2 )* ( 2 / sqrt ( pi ))
30+ @scalar_rule erf (x:: BasicSymbolic ) exp (- x^ 2 ) * 2 / sqrtπ
3031
3132dummy = (NoTangent (), 1 )
3233@syms t₁
You can’t perform that action at this time.
0 commit comments