name: MatrixUshort : public MMatrix<Ushort, ushort>


g++ [flags ...] file ... -l /isip/tools/lib/$ISIP_BINARY/lib_math_matrix.a

#include <MatrixUshort.h>

MatrixUshort(long nrows = DEF_SIZE, long ncols = DEF_SIZE,
             long type = DEF_TYPE);
MatrixUshort(const MatrixUshort& matrix);
quick start:

ushort data0[6] = {1, 2, 3, 4, 5, 6};
ushort data1[6] = {4, 6, 7, 2, 3, 9};

MatrixUshort val0;
MatrixUshort val1(3, 3, Integral::LOWER_TRIANGLE);
val0.assign(2, 3, data0);
val0.assign(3, 3, data1);

The MatrixUshort class manages a matrix of Ushort objects. It is derived from the MMatrix class and inherits the commonly used mathematical, logical, linear algebra and i/o methods from it. A MatrixUshort object can read itself from (or write itself to) a Sof file. It includes the memory management methods which use the MemoryManager class to allocate or delete memory from the heap.


public constants:

error codes:

protected data:

required public methods:

class-specific public methods:

private methods: