name: VectorLong : public MVector<Long, long>


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

#include <VectorLong.h>

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

VectorLong val0(5);

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