You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We would be able to use integers to index into Tensor::operator(). Ideally A(0,1) reads coordinate (0,1) and A(0,i) is an index expression that holds the first dimension fixed. (This might not work out; needs to be explored.)
So in addition to writing index expressions you can also use integers (and eventually a mix):
IndexVar i, j;
A(i,j) = B(i,j); // Index expressionA(0,1) = 1; // InsertionA(0,i); // Read the first row?
The text was updated successfully, but these errors were encountered:
We would be able to use integers to index into
Tensor::operator()
. IdeallyA(0,1)
reads coordinate (0,1) andA(0,i)
is an index expression that holds the first dimension fixed. (This might not work out; needs to be explored.)So in addition to writing index expressions you can also use integers (and eventually a mix):
The text was updated successfully, but these errors were encountered: