uint32

From DavinciWiki
Jump to: navigation, search


64-bit SafeYes

Description

Convert an object to uint32 format.

Arguments and Return Values

Arguments: Any three dimensional numeric array

Return Value: The array converted into uint32 (0 - 4294967295)

Usage

Syntax: uint32(object = VAL)

The uint32() function copies and converts an object to uint32 format. Any values above or below the maximum representable values of 0, 4294967295 are set to the nearest representable value. This function is equivalent to format(object=VAL, format=uint32).

All values are truncated.

Examples


dv> a
4x3x2 array of float, bsq format [96 bytes]
0.00000    1.00000    2.00000    3.00000
4.00000    5.00000    6.00000    7.00000
8.00000    9.00000    10.0000    11.0000
0.567142    0.216034    0.0258639   0.0750542
0.629196    0.118883    0.268471    0.906492
0.389246    0.0442709   0.146869    0.932501
dv> b=uint32(a)
4x3x2 array of uint32, bsq format [96 bytes]
0    1    2    3
4    5    6    7
8    9    10   11

0    0    0    0
0    0    0    0
0    0    0    0

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left

Recent Core Changes

Modified On: 11-18-2016

Personal tools