Programmer Guide/Command Reference/EVAL/abs: Difference between revisions
From STX Wiki
< Programmer Guide | Command Reference | EVAL
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:{{SUBPAGENAME}}}} | {{DISPLAYTITLE:{{SUBPAGENAME}}}} | ||
[[Programmer_Guide/Command_Reference/EVAL#Functions|goto function list]] | |||
Compute the absolute value of the argument <var>x</var>. | Compute the absolute value of the argument <var>x</var>. | ||
Revision as of 09:39, 4 April 2011
goto function list Compute the absolute value of the argument x.
- Usage
abs(x)
- Result
- The result of this function is always a scalar, which is ...
- the absolute value of the number x
- the length of the vector x
- the determinant of the square matrix x
- Synonyms
- The function det(x) and the special bracket form |x| can be used as synonyms for this functions.