Programmer Guide/Command Reference/EVAL/absv: Difference between revisions

From STX Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
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>
;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.
;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]]
;See also: [[Programmer_Guide/Command_Reference/EVAL/abs|abs]]


[[Programmer_Guide/Command_Reference/EVAL#Functions|<function list>]]
[[../#Functions|<function list>]]

Latest revision as of 11: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

<function list>

Navigation menu

Personal tools