pub fn norm2(&self) -> Q2 {
        self.x * self.x
        + self.y * self.y
        + self.z * self.z
    }
/// The squared cartesian norm of the vector.
///
/// # Examples
///
/// ```
/// use noether::geom::vec3d::Vec3D;
/// use noether::units::KilojoulePerMolePerNanometer;
/// use noether::units::f32consts::KJPMNM;
///
/// type ForceVec = Vec3D<KilojoulePerMolePerNanometer<f32>>;
///
/// let point = ForceVec::from(2.0, 1.0, 0.0);
/// assert!(point.norm2() == 5.0 * KJPMNM * KJPMNM);
/// ```
The squared cartesian norm of the vector.
The squared cartesian norm of the vector .
pub fn norm2(&self) -> Q2 {
        self.x * self.x
        + self.y * self.y
        + self.z * self.z
    }
pub fn norm2 ( & self ) -> Q2 { self . x * self . x + self . y * self . y + self . z * self . z }
The squared cartesian norm of the vector.
The squared cartesian norm of the vector .
&self
&self
examples
```
use noether::geom::vec3d::Vec3D;
use noether::units::KilojoulePerMolePerNanometer;
use noether::units::f32consts::KJPMNM.

type ForceVec = Vec3D>.


` ` ` use noether :: geom :: vec3d :: Vec3D ; use noether :: units :: KilojoulePerMolePerNanometer ; use noether :: units :: f32consts :: KJPMNM . type ForceVec = Vec3D > .