{
COSArray rangesArray = getRangeValues();
float[] result = null;
if (rangesArray != null)
{
float[] rangeValues = rangesArray.toFloatArray();
int numberOfRanges = rangeValues.length/2;
result = new float[numberOfRanges];
for (int i=0; i<numberOfRanges; i++)
{
result[i] = clipToRange(inputValues[i], rangeValues[2*i], rangeValues[2*i+1]);