translate
Contents: Description, Arguments, Usage, Examples, Related Functions Supported Under Version: >1.69 Current Davinci Version: 2.27 64-bit Safe: Yes
Description Translate an object along specified axis
Arguments and Return Values Arguments: a numeric array and an axis Return Value: a translated array
Usage Syntax: translate(object = VAL, from = x/y/z, to = x/y/z, flip = VAL) The translate function translates the specified object along the from the 'from' axis to the 'to' axis. (ie: from X to Y). If the 'flip' keyword is included (with any value), the specified axes are copied in descending instead of ascending order. This functions can be used to take the transpose of a specified matrix.
Examples dv> a 5x5x1 array of float, bsq format [100 bytes] 26.4492 38.0391 66.7816 37.2706 85.6510 38.9142 69.1961 28.2079 65.0632 22.9730 18.0558 73.9283 95.5073 69.5841 65.7757 55.7806 41.0407 3.15200 80.7234 48.1681 74.3919 83.3211 91.9874 52.2181 75.3048 dv> b=translate(a,from=x,to=y) 5x5x1 array of float, bsq format [100 bytes] 26.4492 38.9142 18.0558 55.7806 74.3919 38.0391 69.1961 73.9283 41.0407 83.3211 66.7816 28.2079 95.5073 3.15200 91.9874 37.2706 65.0632 69.5841 80.7234 52.2181 85.6510 22.9730 65.7757 48.1681 75.3048 dv> b=translate(a,x,y) 5x5x1 array of float, bsq format [100 bytes] 26.4492 38.9142 18.0558 55.7806 74.3919 38.0391 69.1961 73.9283 41.0407 83.3211 66.7816 28.2079 95.5073 3.15200 91.9874 37.2706 65.0632 69.5841 80.7234 52.2181 85.6510 22.9730 65.7757 48.1681 75.3048 |
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Related Functions
Recent Core Changes Modified On: 03-30-2012 |