ENH: add cmptMagSqr for scalars, VectorSpace, Fields (#1449)

This commit is contained in:
Mark Olesen
2019-09-29 16:53:42 +02:00
committed by Andrew Heather
parent bc9295ee04
commit 4a5569776e
6 changed files with 54 additions and 0 deletions

View File

@ -45,6 +45,7 @@ void printInfo(const vector& vec)
<< " sum:" << cmptSum(vec)
<< " prod:" << cmptProduct(vec)
<< " mag:" << cmptMag(vec)
<< " magSqr:" << cmptMagSqr(vec)
<< nl << nl;
}