Warning: include(/data/isip/www/templates/documentation/header/header.html) [function.include]: failed to open stream: No such file or directory in /home5/piconepr/public_html/isip/projects/speech/software/documentation/class/math/vector/VectorLong/index.html on line 2

Warning: include() [function.include]: Failed opening '/data/isip/www/templates/documentation/header/header.html' for inclusion (include_path='.:/usr/lib64/php:/usr/lib/php') in /home5/piconepr/public_html/isip/projects/speech/software/documentation/class/math/vector/VectorLong/index.html on line 2

Warning: include(/data/isip/www/templates/documentation/body/index_class.html) [function.include]: failed to open stream: No such file or directory in /home5/piconepr/public_html/isip/projects/speech/software/documentation/class/math/vector/VectorLong/index.html on line 5

Warning: include() [function.include]: Failed opening '/data/isip/www/templates/documentation/body/index_class.html' for inclusion (include_path='.:/usr/lib64/php:/usr/lib/php') in /home5/piconepr/public_html/isip/projects/speech/software/documentation/class/math/vector/VectorLong/index.html on line 5

Warning: include(/data/isip/www/templates/documentation/body/bar.html) [function.include]: failed to open stream: No such file or directory in /home5/piconepr/public_html/isip/projects/speech/software/documentation/class/math/vector/VectorLong/index.html on line 6

Warning: include() [function.include]: Failed opening '/data/isip/www/templates/documentation/body/bar.html' for inclusion (include_path='.:/usr/lib64/php:/usr/lib/php') in /home5/piconepr/public_html/isip/projects/speech/software/documentation/class/math/vector/VectorLong/index.html on line 6
name: VectorLong : public MVector<Long, long>

synopsis:

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(val0.name(), L"mean", Error::TEST, __FILE__, __LINE__);
  Integral::exit();
}

variance = val0.var();
description:

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.

dependencies:

public constants: error codes:

protected data:

required public methods:

class-specific public methods:

private methods: examples:

notes: