Previous Up Next

26.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 8.3.2 and Section 7.4.4).

Example

abs(1+i)

or:

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

Previous Up Next