toshort
From DavinciWiki
(Difference between revisions)
Line 31: | Line 31: | ||
[[category:Functions]] | [[category:Functions]] | ||
[[category:User Defined Functions]] | [[category:User Defined Functions]] | ||
+ | [[category:Davinci's Shadow]] |
Latest revision as of 12:34, 2 May 2013
Contents: Description, Arguments, Usage, Examples, Related Functions, Source Supported Under Version: > 1.00
Description Converts numeric values to 16-bit signed integers, while preserving their relative scale
Arguments and Return Values Arguments: a numeric array, and optionally the minimum and maximum values to use for the output data Return Value: A short array
Usage
Examples dv> d 4x1x1 array of float, bsq format [16 bytes] 0.5000000000 0.0000000000 0.7500000000 1.000000000 dv> toshort(d) 4x1x1 array of short, bsq format [8 bytes] 0 -32768 16383 32767 |
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Recent Library Changes Created On: 07-16-2012 |