entropy
From DavinciWiki
Contents: Description, Arguments, Usage, Examples Supported Under Version: >1.69 Current Davinci Version: 2.27 64-bit Safe: No
Description Compute the entropy of an object
Arguments and Return Values Arguments: A numeric array Return Value: A float number
Usage Syntax: entropy(object = VAL) The entropy() function computes the entropy in an object, as sum(p * log2(p)), where p is the probability of each symbol occuring. This is determined by sorting the values in the object and then counting them. The entropy() function always returns a FLOAT.
Examples dv> a 345x200x10 array of float, bsq format [2,760,000 bytes] dv> entropy(a) 18.3510 |
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Recent Core Changes Modified On: 03-27-2006 |