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

References syten::DenseTensor< rank, Scalar >::dims, and syten::DenseImpl::getCoordinate().

+ Here is the call graph for this function: