mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-01 21:48:05 +01:00
Moving some things around for pretty
This commit is contained in:
1 parent
a411b48a91
commit
8b765be2b1
6 files changed
+336
-324
No files matched your search
@@ -6,7 +6,7 @@ namespace Grid {
|
||||
// innerProduct Vector x Vector -> Scalar
|
||||
// innerProduct Matrix x Matrix -> Scalar
|
||||
///////////////////////////////////////////////////////////////////////////////////////
|
||||
template<class sobj> inline RealD norm2l(const sobj &arg){
|
||||
template<class sobj> inline RealD norm2(const sobj &arg){
|
||||
typedef typename sobj::scalar_type scalar;
|
||||
decltype(innerProduct(arg,arg)) nrm;
|
||||
nrm = innerProduct(arg,arg);
|
||||
|
||||
Reference in new issue
Block a user