Calculates the mean of a vector
Calculates the mean of a vector
the vector
the offset into the vector
the number of samples to take into account
the average of the len
samples starting at offset off
in vector b
.
Normalizes a matrix with respect to a normalization vector.
Normalizes a matrix with respect to a normalization vector. For each row in the matrix, given
the rows minimum and maximum value through the normalization vector, every cell is offset
by -minimum
and then divided by maximum - minimum
.
provides normalization vector. The outer array must be of size b.length
.
each element of that outer array holds an array of size 2, specifying
minimum and maximum value for the index. The normBuf
argument may be
null
, in which case this method simply returns without any adjustments.
the matrix which is normalized in-place (the values are scaled and overwritten).
a frame of column offset in the matrix b
.
the number of frames or columns to process in the matrix b
.
Calculates the mean and standard deviation of a given matrix
Calculates the mean and standard deviation of a given matrix
the matrix to analyse
0 if the whole matrix is to be considered, otherwise column offset
the number of columns to analyse
0 if the whole matrix is to be considered, otherwise row offset
the number of rows to analyse
the tuple (mean, stddev)