absv

From STX Wiki
< Programmer Guide‎ | Command Reference‎ | EVAL
Revision as of 14:05, 17 May 2010 by 193.171.195.8 (talk) (initial import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
absv

Compute the absolute values for every element in the vector. I.e. w[i] = abs(v[i])

Usage:

absv(v)

Result:

A vector with the same number of elements as v.

Return Type:

vector

Navigation menu

Personal tools