SyTen

◆ DenseTensor() [1/5]

template<Rank rank, typename Scalar = SDef>
syten::DenseTensor< rank, Scalar >::DenseTensor ( Coord  dims_,
Scalar  initialValue_ = Scalar(0.) 
)
inline

Ctor creates a dense tensor of specified dimension and initial value.

Parameters
dims_dimensions of each index
initialValue_initial value of each entry