Difference between revisions of "Normalize"
m (adding doc status category) |
|||
Line 1: | Line 1: | ||
[[Category:Transforming functions]] | [[Category:Transforming functions]] | ||
+ | [[Category:Doc Status C]] <!-- For Lumina use, do not change --> | ||
+ | |||
Returns a scaled version of array R such that the area across index I is 1. | Returns a scaled version of array R such that the area across index I is 1. | ||
Revision as of 02:21, 25 April 2007
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
Enable comment auto-refresher