We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a333bf2 commit 4661c41Copy full SHA for 4661c41
1 file changed
test/StdTest.jl
@@ -296,6 +296,13 @@ end
296
@test to_std_string(jacobian(A' * x, x)) == "Aᵀ"
297
end
298
299
+@testset "to_std_string of derivative {A, A'} * x" begin
300
+ @matrix X
301
+ @vector x y z
302
+
303
+ @test to_std_string(derivative(sum(-y .* (X*z)), X)) == "(-1)zyᵀ"
304
+end
305
306
@testset "to_std_string of hessian" begin
307
@matrix A
308
@vector x
0 commit comments