We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c68634d commit c8f2bb7Copy full SHA for c8f2bb7
1 file changed
benchmark/TensorAlgebraBenchmarks/TensorAlgebraBenchmarks.jl
@@ -45,10 +45,7 @@ end
45
A = TensorValue(1.:9...)
46
A = A + A' + I3
47
48
-cofactor() = cof(A)
49
-detinv() = det(A)*inv(A')
50
-
51
SUITE["Tensor algebra"]["δδ_μ_2d"] = @benchmarkable δᵢₖδⱼₗ2D + δᵢₗδⱼₖ2D
52
SUITE["Tensor algebra"]["δδ_λ_2d"] = @benchmarkable 1.0 * δᵢⱼδₖₗ2D
53
-SUITE["Tensor algebra"]["Cofactor"] = cofactor()
54
-SUITE["Tensor algebra"]["Det(A)Inv(A')"] = detinv()
+SUITE["Tensor algebra"]["Cofactor"] = @benchmarkable cof(A)
+SUITE["Tensor algebra"]["Det(A)Inv(A')"] = @benchmarkable det(A)*inv(A')
0 commit comments