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

From STX Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
{{DISPLAYTITLE:abs (alias: det, <nowiki>|</nowiki>''x''\|)}}
{{DISPLAYTITLE:abs (alias: det)}}


Compute the absolute value of the argument <var>x</var>.
Compute the absolute value of the argument <var>x</var>.
Line 9: Line 9:
::* the length of the vector <var>x</var>
::* the length of the vector <var>x</var>
::* the determinant of the square matrix <var>x</var>
::* the determinant of the square matrix <var>x</var>
:The function '''det(''x'')''' and the special ''bracket'' form '''|''x''|''' can be used as alias for this functions.
:Instead of this function, also the special ''bracket'' syntax '''|''x''|''' can be used.


;See also: [[Programmer_Guide/Command_Reference/EVAL/absv|absv]], [[Programmer_Guide/Command_Reference/EVAL/qdet|qdet]]
;See also: [[Programmer_Guide/Command_Reference/EVAL/absv|absv]], [[Programmer_Guide/Command_Reference/EVAL/qdet|qdet]]


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

Revision as of 11:19, 4 April 2011


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
Instead of this function, also the special bracket syntax |x| can be used.
See also
absv, qdet

<function list>

Navigation menu

Personal tools