Represents a vector of any type in Kst. Some vectors are editable, while others are not. This class behaves just as a JavaScript array, but has additional properties and methods.
Default constructor creates an empty, editable vector.
Creates a vector that is a copy of array.
Resizes the vector.
Throws: GeneralError - Throws this exception if the vector is not editable.Interpolates the vector to n samples and returns the interpolated value of sample i.
Sets all values in the vector to zero.
Throws: GeneralError - Throws this exception if the vector is not editable.Updates the statistical values associated with a vector.
Throws: GeneralError - Throws this exception if the vector is not editable.Returns the value at the given index.
The number of samples in the vector.
The value of the smallest sample in the vector.
The value of the largest sample in the vector.
The mean value of all samples in the vector.
True if the vector is editable by the user. This should be checked before attempting to modify a vector in any way.
The number of NaN values in the vector.
The vector as an Array.