VISH
0.2
|
Helper class for retrieve a subset of the current array. More...
#include </home/werner/origo/vish/ocean/eagle/FixedArray.hpp>
Helper class for retrieve a subset of the current array.
The array subset will be a reference to the original array, i.e. all arrayelements are shared. Example:
FixedArray<3, float>*Point3D; FixedArray<2, float>*Point2Dt = FixedArray<N , float>::subarray<2,0>::get(Point);The FixedArray's member function get_subarray() serves the same purpose and functionality via a simpler interface using template function parameters, which unfortunately might not be supported by every compiler. If so, the more explicit subarray syntax needs to be used.