Tensor< 2 > syten::exponentialTensorGen | ( | Tensor< 2 > const & | in, |
SDef const | t, | ||
Basis const & | full_basis | ||
) |
And overload which works for generic matrices by brute force exponentiating the sum after rescaling each summand.
References abs(), syten::Basis::add(), syten::Basis::dir, syten::Tensor< rank >::dirs, syten::Basis::elementSize(), genIONode(), syten::Tensor< rank >::getBasis(), syten::Tensor< rank >::getBasisMap(), logGD(), max(), norm(), pow(), std::vector< T >::push_back(), syten::Tensor< rank >::reduce(), syten::Basis::size(), SYTEN_ASSERT, SYTEN_ASSERT_MSG, and std::to_string().
Referenced by syten::STensorImpl::exp().