template_synthesis.jax.utilities.geometry module

template_synthesis.jax.utilities.geometry.angle_between(v1: Array | ndarray | bool | number | bool | int | float | complex, v2: Array | ndarray | bool | number | bool | int | float | complex) Array

Returns the angle in radians between vectors ‘v1’ and ‘v2’

template_synthesis.jax.utilities.geometry.unit_vector(vector: Array | ndarray | bool | number | bool | int | float | complex) Array

Returns the unit vector of the vector.