You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@info(" ... derivatives")
_rrval(x::ACE.XState) = x.rr
for ntest =1:30
Us =randn(SMatrix{3, 3, Float64,9 }, length(Xs))
C =randn(typeof(φ.val), length(basis))
F = t ->sum( sum(c .* b.val)
for (c, b) inzip(C, ACE.evaluate(basis, ACEConfig(Xs + t[1] * Us))) )
dF = t -> [ sum( sum(c .* db)
for (c, db) inzip(C, _rrval.(ACE.evaluate_d(basis, ACEConfig(Xs + t[1] * Us))) * Us) ) ]
print_tf(@testfdtest(F, dF, [0.0], verbose=false))
endprintln()
needs to be adapted for EuclideanMatrix ? That is, if we want to implement/use derivatives of matrix-valued equivariant functions w.r.t. to position ...
The text was updated successfully, but these errors were encountered:
The test
needs to be adapted for
EuclideanMatrix
? That is, if we want to implement/use derivatives of matrix-valued equivariant functions w.r.t. to position ...The text was updated successfully, but these errors were encountered: