## renorm (var* Data, int Length, var Sum) : var*

Normalizes the **Data** array so that the sum of all elements is
**Sum**.
### Parameters:

**Data** |
Array or series to be normalized. |

**Length** |
Number of elements to be normalized. |

**Sum** |
Sum of elements after normalization. |

### Returns

Modified **Data**### Example:

var* Filter = { 1,2,3,2,1,0 };
filter(Data,Length,renorm(Filter,5,1));

### See also:

predict, advise, polyfit,
filter
► latest
version online