name: VectorUshort : public MVector<Ushort, ushort>


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

#include <VectorUshort.h>

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

VectorUshort val0(5);

ushort mean;
ushort 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 VectorUshort class manages a vector of Ushort objects. It is derived from the
MVector class and inherits the commonly-used mathematical, logical, DSP and i/o methods from it. A VectorUshort 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: