[−][src]Trait peroxide::traits::math::Vector
Mathematical Vector
Description
Vector has two operations : addition, scalar multiplication. And a space of the vector should closed for that operations.
Mathematical Vector
Vector has two operations : addition, scalar multiplication. And a space of the vector should closed for that operations.
pub fn add_vec<'a, 'b>(&'a self, rhs: &'b Self) -> Self
[src]pub fn sub_vec<'a, 'b>(&'a self, rhs: &'b Self) -> Self
[src]pub fn mul_scalar<T: Into<f64>>(&self, rhs: T) -> Self
[src]impl Vector for Vec<Dual>
[src]pub fn add_vec(&self, other: &Self) -> Self
[src]pub fn sub_vec(&self, other: &Self) -> Self
[src]pub fn mul_scalar<T: Into<f64>>(&self, other: T) -> Self
[src]impl Vector for Vec<f64>
[src]pub fn add_vec(&self, rhs: &Self) -> Self
[src]pub fn sub_vec(&self, rhs: &Self) -> Self
[src]pub fn mul_scalar<T: Into<f64>>(&self, rhs: T) -> Self
[src]impl Vector for f64
[src]pub fn add_vec<'a, 'b>(&'a self, rhs: &'b Self) -> Self
[src]pub fn sub_vec<'a, 'b>(&'a self, rhs: &'b Self) -> Self
[src]pub fn mul_scalar<T: Into<f64>>(&self, rhs: T) -> Self
[src]