mod private
{
use crate::*;
use vector::{ div_scalar, div_mut };
impl< E, const LEN : usize > Div< E > for Vector< E, LEN >
where
E : MatEl + NdFloat
{
type Output = Self;
fn div(self, rhs : E) -> Self::Output
{
div_scalar( &self, rhs )
}
}
impl< E, const LEN : usize > DivAssign< E > for Vector< E, LEN >
where
E : MatEl + NdFloat
{
fn div_assign( &mut self, rhs : E )
{
*self = *self / rhs;
}
}
impl< E, const LEN : usize > DivAssign for Vector< E, LEN >
where
E : MatEl + NdFloat
{
fn div_assign( &mut self, rhs: Self )
{
div_mut( self, &rhs );
}
}
}
crate::mod_interface!
{
}