User Tools

Site Tools


4rpl:commands:sqrmagnitude

Index
Vectors

SqrMagnitude

SqrMagnitude(<-vector) ->length

Description

Returns the squared length of the specified vector. More efficient than magnitude, since no square root is performed.

Examples

SqrMagnitude(V3(3 4 5)) ->sqrLength

Index

4rpl/commands/sqrmagnitude.txt · Last modified: 2023/07/15 12:52 by Up-Level