Normalize

Revision as of 22:49, 31 January 2007 by Lchrisman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Returns a scaled version of array R such that the area across index I is 1.

Declaration

Normalize( R : Numeric[I] ; I : Index )

or

Normalize(R1,R2,I)

Notes

Normalize does not force the values along index I to sum to 1; to make the values sum to 1, use

R/Sum(R,I).
Comments


You are not allowed to post comments.