Squared Length

 
 
 

Categories

  • Math > Vector

Description

Outputs the squared length of the input value. Calculating the squared length of a vector is faster than calculating its length. It is therefore wiser to use the squared length when possible, for example if you want to determine whether a vector is longer than another.

Ports

Inputs

Vector

The value from which to get the squared length.

Outputs

Result

The squared length.

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License