We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97f7293 commit 0be600dCopy full SHA for 0be600d
1 file changed
test/StdStrTest.jl
@@ -66,7 +66,7 @@ end
66
@test to_std(jacobian(log.(x), x)) == "diagm(vec(1) ⊘ x)I"
67
@test to_std(jacobian(diagm(A*x)*x, x)) == "diagm(Ax)I + diagm(x)A"
68
@test to_std(jacobian(sin.(A * x + y), x)) == "diagm(cos(Ax + y))A"
69
- @test to_std(jacobian(diag(diagm(x' * B' * A * A)))) == "diagm(vec(1))AᵀAᵀB" # TODO: Eliminate 'diagm(vec(1))
+ @test to_std(jacobian(diag(diagm(x' * B' * A * A)), x)) == "diagm(vec(1))AᵀAᵀB" # TODO: Eliminate 'diagm(vec(1))
70
@test to_std(jacobian(((A .* B) * C * x)' * x * x, x)) ==
71
"xᵀCᵀ(Aᵀ ⊙ Bᵀ)xI + x(xᵀCᵀ(Aᵀ ⊙ Bᵀ) + xᵀ(A ⊙ B)C)"
72
end
0 commit comments