c++ - Declare 3d array with blitz++ -
how can declare 3d array(like arrays nested in arrays in turn nested in arrays) blitz++? dimensions 3,4,5. how access said array elements? tell me how size of each dimension of multi dimensional array? c++ vectors there onedvec.size(), twodvec.size() or twodvec[di].size() etc.
// declare blitz::array<double, 3> blitzarray( 3, 4, 5 ); // access blitzarray(0,0,0) = 1.0001;
Comments
Post a Comment