name: MatrixShort : public MMatrix<Short, short>


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

#include <MatrixShort.h>

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

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

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

The MatrixShort class manages a matrix of Short objects. It is derived from the MMatrix class and inherits the commonly used mathematical, logical, linear algebra and i/o methods from it. A MatrixShort 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: