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

From STX Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 2: Line 2:
Compute the absolute value of <var>x</var>.
Compute the absolute value of <var>x</var>.


;Usage:
;Usage: '''abs(''x'')'''
:<code>abs(<var>x</var>)</code>


<code>det(<var>x</var>)</code>
;Result: The result of this function is always a scalar, which is ...
::* the absolute value of the number <var>x</var>  
::* the length of the vector <var>x</var>
::* the determinant of the matrix <var>x</var>


<code>|<var>x</var>|</code>
;Synonyms: The function '''det(''x'')''' and the special ''bracket'' form '''|''x''|''' can be used as synonyms for this functions.


===Result===
;See also: [[Programmer_Guide/Command_Reference/EVAL/absv|absv]], [[Programmer_Guide/Command_Reference/EVAL/qdet|qdet]]
The result of this function is always a scalar, which is:
:* the absolute value of the number <var>x</var>
:* the length of the vector <var>x</var>
:* the determinant of the matrix <var>x</var>
 
===Synonyms===
The function '''det(''x'')''' and the special ''bracket'' form '''|''x''|''' can be used as synonyms for this functions.
 
===See also===

Revision as of 12:54, 1 April 2011

Compute the absolute value of 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 matrix x
Synonyms
The function det(x) and the special bracket form |x| can be used as synonyms for this functions.
See also
absv, qdet

Navigation menu

Personal tools