Ncarray Toolkit - @BaseArray/BaseArray
BA =BaseArray(SZ)Create a BaseArray of size SZ. BaseArray is an abstract class.
Derived classes should implement the methods subsref and subsasgn. BaseArray implements several reduction methods such as sum, prod and mean.
Inputs
SZ - size of the array. SZ should have least two elements.
Outputs
BA - a BaseArray object