
Rescaler |
util.Rescaler |
This actor rescales an array of numbers. The actor takes an min, max
and a matrix of integers as inputs. It outputs a matrix of integers that
have been rescaled to be within the min and the max parameters.
Author(s): Dan Higgins NCEAS UC Santa Barbara
Version:
input
the matrix of integers to rescale. note that only the first dimension
of the matrix is used. The matrix will only be indexed as int[0][i]
output
the matrix of rescaled integers. Note that this is a 1D matrix,
even though IntMatrixToken will return it as a 2D matrix. Only
the first dimension is used. see note for input.
min
the desired min in the rescale
max
the desired max in the rescale