Programmer Guide/Command Reference/EVAL/absv: Difference between revisions
From STX Wiki
< Programmer Guide | Command Reference | EVAL
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:{{SUBPAGENAME}}}} | {{DISPLAYTITLE:{{SUBPAGENAME}}}} | ||
Compute the absolute value of every element of the argument <var>x</var>. | Compute the absolute value of every element of the argument <var>x</var>. | ||
;Usage: <code>absv(<var>x</var>)</code> | |||
;Result: The result <var>r</var> of this function has always the same type as the argument <var>x</var>. Each element <var>r</var><sub>i,j</sub> of the result, is set to the absolute value of the element <var>x</var><sub>i,j</sub> of the argument. | |||
;See also: [[../abs|abs]] | |||
[[../#Functions|<function list>]] | |||
Latest revision as of 10:05, 21 April 2011
Compute the absolute value of every element of the argument x.
- Usage
absv(x)
- Result
- The result r of this function has always the same type as the argument x. Each element ri,j of the result, is set to the absolute value of the element xi,j of the argument.
- See also
- abs