Compute the length of multiple vectors.
vectors (list[[float, float, float] | Vector]) – A list of vectors.
Vector
list[float] – A list of lengths.
Examples
>>> Vector.length_vectors([[1.0, 0.0, 0.0], [2.0, 0.0, 0.0]]) [1.0, 2.0]
A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.
Copyright © 2017-2021 compas-dev