We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eaf55d7 commit 5e3d735Copy full SHA for 5e3d735
1 file changed
test/StdTest.jl
@@ -371,7 +371,8 @@ end
371
@test to_std(jacobian(A * x, x)) == "A"
372
@test to_std(jacobian(A' * x, x)) == "Aᵀ"
373
@test to_std(jacobian(sin(A * x + y), x)) == "diag(cos(Ax + y))A"
374
- # TODO: check correctness @test to_std(jacobian(((A .* B) * C * x)' * x * x, x)) == "xᵀCᵀ(Aᵀ ⊙ Bᵀ)xI + x(xᵀCᵀ(Aᵀ ⊙ Bᵀ) + xᵀ(A ⊙ B)C)"
+ @test to_std(jacobian(((A .* B) * C * x)' * x * x, x)) ==
375
+ "xᵀCᵀ(Aᵀ ⊙ Bᵀ)xI + x(xᵀCᵀ(Aᵀ ⊙ Bᵀ) + xᵀ(A ⊙ B)C)"
376
end
377
378
@testset "to_std of derivative {A, A'} * x" begin
0 commit comments