pub fn cast<T2: Scalar>(self) -> OMatrix<T2, R, C>
    where
        T: Scalar,
        OMatrix<T2, R, C>: SupersetOf<Self>,
        DefaultAllocator: Allocator<T2, R, C>,
    {
        crate::convert(self)
    }
/// Cast the components of `self` to another type.
///
/// # Example
/// ```
/// # use nalgebra::Vector3;
/// let q = Vector3::new(1.0f64, 2.0, 3.0);
/// let q2 = q.cast::<f32>();
/// assert_eq!(q2, Vector3::new(1.0f32, 2.0, 3.0));
/// ```
Cast the components of `self` to another type.
Cast the components of ` self ` to another type .
pub fn cast<T2: Scalar>(self) -> OMatrix<T2, R, C>
    where
        T: Scalar,
        OMatrix<T2, R, C>: SupersetOf<Self>,
        DefaultAllocator: Allocator<T2, R, C>,
    {
        crate::convert(self)
    }
pub fn cast < T2 : Scalar > ( self ) -> OMatrix < T2 , R , C > where T : Scalar , OMatrix < T2 , R , C > : SupersetOf < Self > , DefaultAllocator : Allocator < T2 , R , C > , { crate :: convert ( self ) }
Cast the components of `self` to another type.
Cast the components of ` self ` to another type .
self
self
example
None
use nalgebra::vector3;
None