Previous Up Next

24.13.10  Length of a vector

The abs command finds the absolute value of a number or the length of a vector (see also Section 7.3.2 and Section 6.4.4).

Example

abs(1+i)

or:

abs(point(1+2*i)-point(i))
     
2
          

Previous Up Next