SyTen

◆ clip() [1/2]

template<Rank rank, typename Scalar >
DenseTensor< rank, Scalar > syten::clip ( DenseTensor< rank, Scalar >  in,
typename ScalarBase< Scalar >::type  t 
)

Clips all elements of the dense tensor below the given threshold to zero.

References underThreshold().

Referenced by clip().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: