SyTen

◆ GenericDenseTensor() [3/5]

template<Rank rank, typename Scalar = SDef>
template<typename T , std::enable_if_t<!std::is_same_v< typename std::decay< T >::type, GenericDenseTensor< rank, Scalar > >, int > = 0>
syten::GenericDenseTensorImpl::GenericDenseTensor< rank, Scalar >::GenericDenseTensor ( T &&  t)
inline

Constructs from a supplied dense tensor of some kind or a scalar value.

References if_constexpr, and syten::GenericDenseTensorImpl::GenericDenseTensor< rank, Scalar >::storage.