fn mul(self, other:QR) -> Vec3D<QQR> {
        Vec3D {
            x: self.x * other,
            y: self.y * other,
            z: self.z * other,
        }
    }
/// Multiplication of a vector by a scalar with the `*` operator.
///
/// # Examples
///
/// ```
/// use noether::geom::vec3d::Vec3D;
/// use noether::units::{
///     Nanometer,
///     ElemChargeNanometer
/// };
/// use noether::units::f32consts::E;
///
/// type PosVec = Vec3D<Nanometer<f32>>;
///
/// assert_eq!(
///     PosVec::from( 4.0,  3.9,  -804.23) * 4.0,
///     PosVec::from(16.0, 15.6, -3216.92)
/// );
///
/// type DielectricVec = Vec3D<ElemChargeNanometer<f32>>;
///
/// assert_eq!(
///     PosVec::from( 4.0,  3.9,  -804.23) * 4.0 * E,
///     DielectricVec::from(16.0, 15.6, -3216.92)
/// );
/// ```
Multiplication of a vector by a scalar with the `*` operator.
Multiplication of a vector by a scalar with the ` * ` operator .
fn mul(self, other:QR) -> Vec3D<QQR> {
        Vec3D {
            x: self.x * other,
            y: self.y * other,
            z: self.z * other,
        }
    }
fn mul ( self , other : QR ) -> Vec3D < QQR > { Vec3D { x : self . x * other , y : self . y * other , z : self . z * other , } }
Multiplication of a vector by a scalar with the `*` operator.
Multiplication of a vector by a scalar with the ` * ` operator .
self
other
QR
self
other
QR
examples
```
use noether::geom::vec3d::Vec3D;
use noether::units::{
Nanometer,
ElemChargeNanometer
};
use noether::units::f32consts::E.

type PosVec = Vec3D>.



type DielectricVec = Vec3D>.


` ` ` use noether :: geom :: vec3d :: Vec3D ; use noether :: units :: { Nanometer ElemChargeNanometer } ; use noether :: units :: f32consts :: E . type PosVec = Vec3D > . type DielectricVec = Vec3D > .