We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5eb4c6 commit a836192Copy full SHA for a836192
1 file changed
src/std.jl
@@ -122,7 +122,7 @@ gradient(x' * A * x, x)
122
123
# output
124
125
-x₃A³⁵ + A⁵₄x⁴
+x₄A⁴⁶ + A⁶₅x⁵
126
```
127
"""
128
function gradient(expr, wrt::Monomial)
@@ -154,7 +154,7 @@ jacobian(A * x, x)
154
155
156
157
-A³₅
+A¹₅
158
159
160
function jacobian(expr, wrt::Monomial)
@@ -185,7 +185,7 @@ hessian(x' * A * x, x)
185
186
187
188
-A₆⁵ + A⁵₆
+A₇⁶ + A⁶₇
189
190
191
function hessian(expr, wrt::Monomial)
0 commit comments