square_vectors

compas.geometry.square_vectors(vectors)[source]

Raise a multiple vectors to the power 2.

Parameters

vectors (sequence[[float, float, float] | Vector]) – A list of vectors.

Returns

[float, float, float]] – The squared vectors.

Examples

>>>