abs

From DavinciWiki
Jump to: navigation, search


Description

Returns absolute value of input value

Arguments and Return Values

Input: An array of any numeric data type or format.

Output: An array of identical type and format of the input

Usage

Syntax: abs(obj = VAL)

Examples

 dv> a
 3x3x1 array of float, bsq format [36 bytes]
 -0.279083       0.111693        -0.0804656
 -0.418438       0.670351        -0.297082
 -0.507225       0.0137189       -0.518543

 dv> b=abs(a)
 3x3x1 array of float, bsq format [36 bytes]
 0.279083        0.111693        0.0804656
 0.418438        0.670351        0.297082
 0.507225        0.0137189       0.518543

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: 02-04-2008

Personal tools