SyTen

◆ STensor() [4/6]

syten::STensorImpl::STensor::STensor ( Vec< SBasis bases,
Vec< Index fermionic_order = {} 
)

Ctor initialising an empty tensor of the same rank as bases has entries and, if specified, the given fermionic order (ascending otherwise).

References bases, std::vector< T >::begin(), std::vector< T >::end(), fermionic_order, std::iota(), rank(), syten::STensorImpl::registry_enter_stensor(), std::vector< T >::resize(), sanity_check_bases(), and std::vector< T >::size().

+ Here is the call graph for this function: