SyTen

◆ scale_columns_2norm()

template<typename Scalar >
void syten::scale_columns_2norm ( DenseTensor< 2, Scalar > &  a,
DenseTensor< 2, Scalar > &  s 
)

Scales the columns of a in-place to have 2-norm close to one.

References closest_power_two(), conj(), syten::DenseTensor< rank, Scalar >::dim(), real(), and sqrt().

+ Here is the call graph for this function: