ENH: add col/row access methods for Tensor2D (#1430)

This commit is contained in:
Mark Olesen
2019-09-23 14:40:47 +02:00
committed by Andrew Heather
parent 61dfa9b544
commit 79dff5d8fe
4 changed files with 219 additions and 11 deletions

View File

@ -40,7 +40,7 @@ int main()
Info<< "tensor " << t3 << nl;
t3.row<2>(Zero);
Info<< "replaced row<1> = " << t3.row<2>() << nl;
Info<< "replaced row<2> = " << t3.row<2>() << nl;
Info<< "tensor " << t3 << nl;
triad tr3(t3);