We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6022a4 commit c68634dCopy full SHA for c68634d
1 file changed
benchmark/TensorAlgebraBenchmarks/TensorAlgebraBenchmarks.jl
@@ -45,7 +45,10 @@ 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
-SUITE["Tensor algebra"]["Cofactor"] = cof(A)
-SUITE["Tensor algebra"]["Det(A)Inv(A')"] = det(A)*inv(A')
53
+SUITE["Tensor algebra"]["Cofactor"] = cofactor()
54
+SUITE["Tensor algebra"]["Det(A)Inv(A')"] = detinv()
0 commit comments