STensor syten::STensorImpl::norm | ( | STensor const & | t, |
SourceLocation const & | loc = SourceLocation::current() |
||
) |
Returns the norm of a tensor as a rank-0 STensor.
References normSqd(), and sqrt().
Referenced by normalise(), and normalised().