Shorthand to convert numerical type?

Is there a shorthand to convert from say Vector3<f64> to Vector3<f32> ?

Hi! You can use convert : let b: Vector3<f32> = nalgebra::convert(a).

1 Like