dot_vectors
- compas.geometry.dot_vectors(u, v)[source]
Compute the dot product of two vectors.
- Parameters
- Returns
float – The dot product of the two vectors.
Examples
>>> dot_vectors([1.0, 0, 0], [2.0, 0, 0]) 2.0
Compute the dot product of two vectors.
float – The dot product of the two vectors.
Examples
>>> dot_vectors([1.0, 0, 0], [2.0, 0, 0])
2.0
A computational framework for collaboration and research in Architecture, Engineering, Fabrication, and Construction.
Copyright © 2017-2021 compas-dev