rod_to_mat# anri.crystal.rod_to_mat(r)[source]# Convert Rodrigues vectors r = tan(t / 2) n to rotation matrices. Parameters: r (Array | ndarray | bool | number | bool | int | float | complex) – […, 3] Rodrigues vectors Returns: jax.Array – […, 3, 3] rotation matrices