ENH: Add static identity members to primitive types

This commit is contained in:
laurence
2012-12-11 16:50:53 +00:00
parent 93cf312826
commit af1d8bf357
6 changed files with 26 additions and 0 deletions

View File

@ -76,6 +76,14 @@ const tensor tensor::min
-VGREAT, -VGREAT, -VGREAT
);
template<>
const tensor tensor::I
(
1, 0, 0,
0, 1, 0,
0, 0, 1
);
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //