name: VectorShort : public MVector<Short, short>


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

#include <VectorShort.h>

VectorShort(long length = DEF_LENGTH, short value = DEF_VALUE);
VectorShort(const VectorShort& vector);
quick start:

VectorShort val0(5);

short mean;
short variance;
val0.assign(L"1, 2, 3, 4, 5");

mean = val0.mean();

if (mean != 3) {
  Error::handle(, L"mean", Error::TEST, __FILE__, __LINE__);

variance = val0.var();

The VectorShort class manages a vector of Short objects. It is derived from the
MVector class and inherits the commonly-used mathematical, logical, DSP and i/o methods from it. A VectorShort 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.


public constants: error codes:

protected data:

required public methods:

class-specific public methods:

private methods: examples: