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 |
||
(13 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE: | {{DISPLAYTITLE:abs (alias: det)}} | ||
Compute the absolute value of <var>x</var>. | Compute the absolute value of the argument <var>x</var>. | ||
;Usage: <code>abs(<var>x</var>)</code> | |||
;Usage: | |||
;Result: The result of this function is always a scalar, which is ... | ;Result: The result of this function is always a scalar, which is ... | ||
::* the absolute value of the number <var>x</var> | ::* the absolute value of the number <var>x</var> | ||
::* the length of the vector <var>x</var> | ::* the length of the vector <var>x</var> | ||
::* the determinant of the matrix <var>x</var> | ::* the determinant of the square matrix <var>x</var> | ||
:Instead of this function, also the special ''bracket'' syntax '''|''x''|''' can be used. | |||
;See also: [[../absv|absv]], [[../qdet|qdet]] | |||
[[../#Functions|<function list>]] |
Latest revision as of 10:03, 21 April 2011
Compute the absolute value of the argument x.