pub struct HyperDualVec<T: DualNum<F>, F, M: Dim, N: Dim>{
pub re: T,
pub eps1: Derivative<T, F, M, U1>,
pub eps2: Derivative<T, F, U1, N>,
pub eps1eps2: Derivative<T, F, M, N>,
/* private fields */
}Expand description
A vector hyper-dual number for the calculation of partial Hessians.
Fields§
§re: TReal part of the hyper-dual number
eps1: Derivative<T, F, M, U1>Gradient part of the hyper-dual number
eps2: Derivative<T, F, U1, N>Gradient part of the hyper-dual number
eps1eps2: Derivative<T, F, M, N>Partial Hessian part of the hyper-dual number
Implementations§
Source§impl<T: DualNum<F>, F, M: Dim, N: Dim> HyperDualVec<T, F, M, N>
impl<T: DualNum<F>, F, M: Dim, N: Dim> HyperDualVec<T, F, M, N>
Sourcepub fn new(
re: T,
eps1: Derivative<T, F, M, U1>,
eps2: Derivative<T, F, U1, N>,
eps1eps2: Derivative<T, F, M, N>,
) -> Self
pub fn new( re: T, eps1: Derivative<T, F, M, U1>, eps2: Derivative<T, F, U1, N>, eps1eps2: Derivative<T, F, M, N>, ) -> Self
Create a new hyper-dual number from its fields.
Source§impl<T: DualNum<F>, F, const M: usize, const N: usize> HyperDualVec<T, F, Const<M>, Const<N>>
impl<T: DualNum<F>, F, const M: usize, const N: usize> HyperDualVec<T, F, Const<M>, Const<N>>
Sourcepub fn derivative1(self, index: usize) -> Self
pub fn derivative1(self, index: usize) -> Self
Set the 1st dimension derivative of variable index to 1.
For most cases, the partial_hessian function provides a
convenient interface to calculate derivatives. This function exists for the more edge
cases where more control over the variables is required.
Sourcepub fn derivative2(self, index: usize) -> Self
pub fn derivative2(self, index: usize) -> Self
Set the 2nd dimension derivative of variable index to 1.
For most cases, the partial_hessian function provides a
convenient interface to calculate derivatives. This function exists for the more edge
cases where more control over the variables is required.
Source§impl<T: DualNum<F>, F> HyperDualVec<T, F, Dyn, Dyn>
impl<T: DualNum<F>, F> HyperDualVec<T, F, Dyn, Dyn>
Sourcepub fn derivative1(self, variables: usize, index: usize) -> Self
pub fn derivative1(self, variables: usize, index: usize) -> Self
Set the 1st dimension derivative part of variable index to 1.
For most cases, the partial_hessian function provides a
convenient interface to calculate derivatives. This function exists for the more edge
cases where more control over the variables is required.
Sourcepub fn derivative2(self, variables: usize, index: usize) -> Self
pub fn derivative2(self, variables: usize, index: usize) -> Self
Set the 2nd dimension derivative part of variable index to 1.
For most cases, the partial_hessian function provides a
convenient interface to calculate derivatives. This function exists for the more edge
cases where more control over the variables is required.
Trait Implementations§
Source§impl<'a, 'b, T: DualNum<F>, F: Float, M: Dim, N: Dim> Add<&'a HyperDualVec<T, F, M, N>> for &'b HyperDualVec<T, F, M, N>
impl<'a, 'b, T: DualNum<F>, F: Float, M: Dim, N: Dim> Add<&'a HyperDualVec<T, F, M, N>> for &'b HyperDualVec<T, F, M, N>
Source§type Output = HyperDualVec<T, F, M, N>
type Output = HyperDualVec<T, F, M, N>
+ operator.Source§fn add(self, other: &HyperDualVec<T, F, M, N>) -> HyperDualVec<T, F, M, N>
fn add(self, other: &HyperDualVec<T, F, M, N>) -> HyperDualVec<T, F, M, N>
+ operation. Read moreSource§impl<T: DualNum<F>, F: Float, M: Dim, N: Dim> Add<&HyperDualVec<T, F, M, N>> for HyperDualVec<T, F, M, N>
impl<T: DualNum<F>, F: Float, M: Dim, N: Dim> Add<&HyperDualVec<T, F, M, N>> for HyperDualVec<T, F, M, N>
Source§type Output = HyperDualVec<T, F, M, N>
type Output = HyperDualVec<T, F, M, N>
+ operator.Source§impl<T: DualNum<F>, F: Float, M: Dim, N: Dim> Add<HyperDualVec<T, F, M, N>> for &HyperDualVec<T, F, M, N>
impl<T: DualNum<F>, F: Float, M: Dim, N: Dim> Add<HyperDualVec<T, F, M, N>> for &HyperDualVec<T, F, M, N>
Source§type Output = HyperDualVec<T, F, M, N>
type Output = HyperDualVec<T, F, M, N>
+ operator.Source§impl<T: DualNum<F>, F: Float, M: Dim, N: Dim> Add for HyperDualVec<T, F, M, N>
impl<T: DualNum<F>, F: Float, M: Dim, N: Dim> Add for HyperDualVec<T, F, M, N>
Source§type Output = HyperDualVec<T, F, M, N>
type Output = HyperDualVec<T, F, M, N>
+ operator.Source§impl<T: DualNum<F>, F, M: Dim, N: Dim> AddAssign<F> for HyperDualVec<T, F, M, N>
impl<T: DualNum<F>, F, M: Dim, N: Dim> AddAssign<F> for HyperDualVec<T, F, M, N>
Source§fn add_assign(&mut self, other: F)
fn add_assign(&mut self, other: F)
+= operation. Read moreSource§impl<T: DualNum<F>, F, M: Dim, N: Dim> AddAssign for HyperDualVec<T, F, M, N>
impl<T: DualNum<F>, F, M: Dim, N: Dim> AddAssign for HyperDualVec<T, F, M, N>
Source§fn add_assign(&mut self, other: Self)
fn add_assign(&mut self, other: Self)
+= operation. Read moreSource§impl<T: Clone + DualNum<F>, F: Clone, M: Clone + Dim, N: Clone + Dim> Clone for HyperDualVec<T, F, M, N>
impl<T: Clone + DualNum<F>, F: Clone, M: Clone + Dim, N: Clone + Dim> Clone for HyperDualVec<T, F, M, N>
Source§fn clone(&self) -> HyperDualVec<T, F, M, N>
fn clone(&self) -> HyperDualVec<T, F, M, N>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl<T: Debug + DualNum<F>, F: Debug, M: Debug + Dim, N: Debug + Dim> Debug for HyperDualVec<T, F, M, N>
impl<T: Debug + DualNum<F>, F: Debug, M: Debug + Dim, N: Debug + Dim> Debug for HyperDualVec<T, F, M, N>
Source§impl<T: DualNum<F>, F: Float, M: Dim, N: Dim> Div<&HyperDualVec<T, F, M, N>> for &HyperDualVec<T, F, M, N>
impl<T: DualNum<F>, F: Float, M: Dim, N: Dim> Div<&HyperDualVec<T, F, M, N>> for &HyperDualVec<T, F, M, N>
Source§type Output = HyperDualVec<T, F, M, N>
type Output = HyperDualVec<T, F, M, N>
/ operator.Source§fn div(self, other: &HyperDualVec<T, F, M, N>) -> HyperDualVec<T, F, M, N>
fn div(self, other: &HyperDualVec<T, F, M, N>) -> HyperDualVec<T, F, M, N>
/ operation. Read moreSource§impl<T: DualNum<F>, F: Float, M: Dim, N: Dim> Div<&HyperDualVec<T, F, M, N>> for HyperDualVec<T, F, M, N>
impl<T: DualNum<F>, F: Float, M: Dim, N: Dim> Div<&HyperDualVec<T, F, M, N>> for HyperDualVec<T, F, M, N>
Source§type Output = HyperDualVec<T, F, M, N>
type Output = HyperDualVec<T, F, M, N>
/ operator.Source§impl<T: DualNum<F>, F: DualNumFloat, M: Dim, N: Dim> Div<F> for HyperDualVec<T, F, M, N>
impl<T: DualNum<F>, F: DualNumFloat, M: Dim, N: Dim> Div<F> for HyperDualVec<T, F, M, N>
Source§impl<T: DualNum<F>, F: Float, M: Dim, N: Dim> Div<HyperDualVec<T, F, M, N>> for &HyperDualVec<T, F, M, N>
impl<T: DualNum<F>, F: Float, M: Dim, N: Dim> Div<HyperDualVec<T, F, M, N>> for &HyperDualVec<T, F, M, N>
Source§type Output = HyperDualVec<T, F, M, N>
type Output = HyperDualVec<T, F, M, N>
/ operator.Source§impl<T: DualNum<F>, F: Float, M: Dim, N: Dim> Div for HyperDualVec<T, F, M, N>
impl<T: DualNum<F>, F: Float, M: Dim, N: Dim> Div for HyperDualVec<T, F, M, N>
Source§type Output = HyperDualVec<T, F, M, N>
type Output = HyperDualVec<T, F, M, N>
/ operator.Source§impl<T: DualNum<F>, F: DualNumFloat, M: Dim, N: Dim> DivAssign<F> for HyperDualVec<T, F, M, N>
impl<T: DualNum<F>, F: DualNumFloat, M: Dim, N: Dim> DivAssign<F> for HyperDualVec<T, F, M, N>
Source§fn div_assign(&mut self, other: F)
fn div_assign(&mut self, other: F)
/= operation. Read moreSource§impl<T: DualNum<F>, F: Float, M: Dim, N: Dim> DivAssign for HyperDualVec<T, F, M, N>
impl<T: DualNum<F>, F: Float, M: Dim, N: Dim> DivAssign for HyperDualVec<T, F, M, N>
Source§fn div_assign(&mut self, other: Self)
fn div_assign(&mut self, other: Self)
/= operation. Read moreSource§impl<T: DualNum<F>, F: DualNumFloat, M: Dim, N: Dim> DualNum<F> for HyperDualVec<T, F, M, N>
impl<T: DualNum<F>, F: DualNumFloat, M: Dim, N: Dim> DualNum<F> for HyperDualVec<T, F, M, N>
Source§impl<T: DualNum<F>, F, M: Dim, N: Dim> DualStruct<HyperDualVec<T, F, M, N>, F> for HyperDualVec<T, F, M, N>
impl<T: DualNum<F>, F, M: Dim, N: Dim> DualStruct<HyperDualVec<T, F, M, N>, F> for HyperDualVec<T, F, M, N>
Source§impl<T: DualNum<F>, F: Float + FloatConst, M: Dim, N: Dim> FloatConst for HyperDualVec<T, F, M, N>
impl<T: DualNum<F>, F: Float + FloatConst, M: Dim, N: Dim> FloatConst for HyperDualVec<T, F, M, N>
Source§fn FRAC_1_SQRT_2() -> Self
fn FRAC_1_SQRT_2() -> Self
1.0 / sqrt(2.0).Source§fn FRAC_2_SQRT_PI() -> Self
fn FRAC_2_SQRT_PI() -> Self
2.0 / sqrt(π).Source§impl<T: DualNum<F>, F: Float + FromPrimitive, M: Dim, N: Dim> FromPrimitive for HyperDualVec<T, F, M, N>
impl<T: DualNum<F>, F: Float + FromPrimitive, M: Dim, N: Dim> FromPrimitive for HyperDualVec<T, F, M, N>
Source§fn from_isize(n: isize) -> Option<Self>
fn from_isize(n: isize) -> Option<Self>
isize to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i8(n: i8) -> Option<Self>
fn from_i8(n: i8) -> Option<Self>
i8 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i16(n: i16) -> Option<Self>
fn from_i16(n: i16) -> Option<Self>
i16 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i32(n: i32) -> Option<Self>
fn from_i32(n: i32) -> Option<Self>
i32 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i64(n: i64) -> Option<Self>
fn from_i64(n: i64) -> Option<Self>
i64 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i128(n: i128) -> Option<Self>
fn from_i128(n: i128) -> Option<Self>
i128 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned. Read moreSource§fn from_usize(n: usize) -> Option<Self>
fn from_usize(n: usize) -> Option<Self>
usize to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u8(n: u8) -> Option<Self>
fn from_u8(n: u8) -> Option<Self>
u8 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u16(n: u16) -> Option<Self>
fn from_u16(n: u16) -> Option<Self>
u16 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u32(n: u32) -> Option<Self>
fn from_u32(n: u32) -> Option<Self>
u32 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u64(n: u64) -> Option<Self>
fn from_u64(n: u64) -> Option<Self>
u64 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u128(n: u128) -> Option<Self>
fn from_u128(n: u128) -> Option<Self>
u128 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned. Read moreSource§impl<T: DualNum<F>, F: DualNumFloat, M: Dim, N: Dim> Inv for HyperDualVec<T, F, M, N>
impl<T: DualNum<F>, F: DualNumFloat, M: Dim, N: Dim> Inv for HyperDualVec<T, F, M, N>
Source§impl<T: DualNum<F>, F, M: Dim, N: Dim> Mappable<HyperDualVec<T, F, M, N>> for HyperDualVec<T, F, M, N>
impl<T: DualNum<F>, F, M: Dim, N: Dim> Mappable<HyperDualVec<T, F, M, N>> for HyperDualVec<T, F, M, N>
Source§impl<T: DualNum<F>, F: Float, M: Dim, N: Dim> Mul<&HyperDualVec<T, F, M, N>> for &HyperDualVec<T, F, M, N>
impl<T: DualNum<F>, F: Float, M: Dim, N: Dim> Mul<&HyperDualVec<T, F, M, N>> for &HyperDualVec<T, F, M, N>
Source§type Output = HyperDualVec<T, F, M, N>
type Output = HyperDualVec<T, F, M, N>
* operator.Source§fn mul(self, other: &HyperDualVec<T, F, M, N>) -> HyperDualVec<T, F, M, N>
fn mul(self, other: &HyperDualVec<T, F, M, N>) -> HyperDualVec<T, F, M, N>
* operation. Read moreSource§impl<T: DualNum<F>, F: Float, M: Dim, N: Dim> Mul<&HyperDualVec<T, F, M, N>> for HyperDualVec<T, F, M, N>
impl<T: DualNum<F>, F: Float, M: Dim, N: Dim> Mul<&HyperDualVec<T, F, M, N>> for HyperDualVec<T, F, M, N>
Source§type Output = HyperDualVec<T, F, M, N>
type Output = HyperDualVec<T, F, M, N>
* operator.Source§impl<T: DualNum<F>, F: DualNumFloat, M: Dim, N: Dim> Mul<F> for HyperDualVec<T, F, M, N>
impl<T: DualNum<F>, F: DualNumFloat, M: Dim, N: Dim> Mul<F> for HyperDualVec<T, F, M, N>
Source§impl<T: DualNum<F>, F: Float, M: Dim, N: Dim> Mul<HyperDualVec<T, F, M, N>> for &HyperDualVec<T, F, M, N>
impl<T: DualNum<F>, F: Float, M: Dim, N: Dim> Mul<HyperDualVec<T, F, M, N>> for &HyperDualVec<T, F, M, N>
Source§type Output = HyperDualVec<T, F, M, N>
type Output = HyperDualVec<T, F, M, N>
* operator.Source§impl<T: DualNum<F>, F: Float, M: Dim, N: Dim> Mul for HyperDualVec<T, F, M, N>
impl<T: DualNum<F>, F: Float, M: Dim, N: Dim> Mul for HyperDualVec<T, F, M, N>
Source§type Output = HyperDualVec<T, F, M, N>
type Output = HyperDualVec<T, F, M, N>
* operator.Source§impl<T: DualNum<F>, F: DualNumFloat, M: Dim, N: Dim> MulAssign<F> for HyperDualVec<T, F, M, N>
impl<T: DualNum<F>, F: DualNumFloat, M: Dim, N: Dim> MulAssign<F> for HyperDualVec<T, F, M, N>
Source§fn mul_assign(&mut self, other: F)
fn mul_assign(&mut self, other: F)
*= operation. Read moreSource§impl<T: DualNum<F>, F: Float, M: Dim, N: Dim> MulAssign for HyperDualVec<T, F, M, N>
impl<T: DualNum<F>, F: Float, M: Dim, N: Dim> MulAssign for HyperDualVec<T, F, M, N>
Source§fn mul_assign(&mut self, other: Self)
fn mul_assign(&mut self, other: Self)
*= operation. Read moreSource§impl<T: DualNum<F> + Signed, F: Float, M: Dim, N: Dim> Num for HyperDualVec<T, F, M, N>
impl<T: DualNum<F> + Signed, F: Float, M: Dim, N: Dim> Num for HyperDualVec<T, F, M, N>
type FromStrRadixErr = <F as Num>::FromStrRadixErr
Source§fn from_str_radix(
_str: &str,
_radix: u32,
) -> Result<Self, Self::FromStrRadixErr>
fn from_str_radix( _str: &str, _radix: u32, ) -> Result<Self, Self::FromStrRadixErr>
2..=36). Read moreSource§impl<T: PartialEq + DualNum<F>, F: PartialEq, M: PartialEq + Dim, N: PartialEq + Dim> PartialEq for HyperDualVec<T, F, M, N>
impl<T: PartialEq + DualNum<F>, F: PartialEq, M: PartialEq + Dim, N: PartialEq + Dim> PartialEq for HyperDualVec<T, F, M, N>
Source§impl<'a, T: DualNum<F>, F: Float, M: Dim, N: Dim> Product<&'a HyperDualVec<T, F, M, N>> for HyperDualVec<T, F, M, N>
impl<'a, T: DualNum<F>, F: Float, M: Dim, N: Dim> Product<&'a HyperDualVec<T, F, M, N>> for HyperDualVec<T, F, M, N>
Source§fn product<I>(iter: I) -> Selfwhere
I: Iterator<Item = &'a HyperDualVec<T, F, M, N>>,
fn product<I>(iter: I) -> Selfwhere
I: Iterator<Item = &'a HyperDualVec<T, F, M, N>>,
Self from the elements by multiplying
the items.Source§impl<'a, 'b, T: DualNum<F>, F, M: Dim, N: Dim> Rem<&'a HyperDualVec<T, F, M, N>> for &'b HyperDualVec<T, F, M, N>
impl<'a, 'b, T: DualNum<F>, F, M: Dim, N: Dim> Rem<&'a HyperDualVec<T, F, M, N>> for &'b HyperDualVec<T, F, M, N>
Source§type Output = HyperDualVec<T, F, M, N>
type Output = HyperDualVec<T, F, M, N>
% operator.Source§fn rem(self, _other: &HyperDualVec<T, F, M, N>) -> HyperDualVec<T, F, M, N>
fn rem(self, _other: &HyperDualVec<T, F, M, N>) -> HyperDualVec<T, F, M, N>
% operation. Read moreSource§impl<T: DualNum<F>, F: Float, M: Dim, N: Dim> Rem<&HyperDualVec<T, F, M, N>> for HyperDualVec<T, F, M, N>
impl<T: DualNum<F>, F: Float, M: Dim, N: Dim> Rem<&HyperDualVec<T, F, M, N>> for HyperDualVec<T, F, M, N>
Source§type Output = HyperDualVec<T, F, M, N>
type Output = HyperDualVec<T, F, M, N>
% operator.Source§impl<T: DualNum<F>, F: Float, M: Dim, N: Dim> Rem<HyperDualVec<T, F, M, N>> for &HyperDualVec<T, F, M, N>
impl<T: DualNum<F>, F: Float, M: Dim, N: Dim> Rem<HyperDualVec<T, F, M, N>> for &HyperDualVec<T, F, M, N>
Source§type Output = HyperDualVec<T, F, M, N>
type Output = HyperDualVec<T, F, M, N>
% operator.Source§impl<T: DualNum<F>, F: Float, M: Dim, N: Dim> Rem for HyperDualVec<T, F, M, N>
impl<T: DualNum<F>, F: Float, M: Dim, N: Dim> Rem for HyperDualVec<T, F, M, N>
Source§type Output = HyperDualVec<T, F, M, N>
type Output = HyperDualVec<T, F, M, N>
% operator.Source§impl<T: DualNum<F>, F, M: Dim, N: Dim> RemAssign<F> for HyperDualVec<T, F, M, N>
impl<T: DualNum<F>, F, M: Dim, N: Dim> RemAssign<F> for HyperDualVec<T, F, M, N>
Source§fn rem_assign(&mut self, _other: F)
fn rem_assign(&mut self, _other: F)
%= operation. Read moreSource§impl<T: DualNum<F>, F, M: Dim, N: Dim> RemAssign for HyperDualVec<T, F, M, N>
impl<T: DualNum<F>, F, M: Dim, N: Dim> RemAssign for HyperDualVec<T, F, M, N>
Source§fn rem_assign(&mut self, _other: Self)
fn rem_assign(&mut self, _other: Self)
%= operation. Read moreSource§impl<T: DualNum<F>, F: DualNumFloat, M: Dim, N: Dim> Signed for HyperDualVec<T, F, M, N>
impl<T: DualNum<F>, F: DualNumFloat, M: Dim, N: Dim> Signed for HyperDualVec<T, F, M, N>
Source§fn is_positive(&self) -> bool
fn is_positive(&self) -> bool
Source§fn is_negative(&self) -> bool
fn is_negative(&self) -> bool
Source§impl<'a, 'b, T: DualNum<F>, F: Float, M: Dim, N: Dim> Sub<&'a HyperDualVec<T, F, M, N>> for &'b HyperDualVec<T, F, M, N>
impl<'a, 'b, T: DualNum<F>, F: Float, M: Dim, N: Dim> Sub<&'a HyperDualVec<T, F, M, N>> for &'b HyperDualVec<T, F, M, N>
Source§type Output = HyperDualVec<T, F, M, N>
type Output = HyperDualVec<T, F, M, N>
- operator.Source§fn sub(self, other: &HyperDualVec<T, F, M, N>) -> HyperDualVec<T, F, M, N>
fn sub(self, other: &HyperDualVec<T, F, M, N>) -> HyperDualVec<T, F, M, N>
- operation. Read moreSource§impl<T: DualNum<F>, F: Float, M: Dim, N: Dim> Sub<&HyperDualVec<T, F, M, N>> for HyperDualVec<T, F, M, N>
impl<T: DualNum<F>, F: Float, M: Dim, N: Dim> Sub<&HyperDualVec<T, F, M, N>> for HyperDualVec<T, F, M, N>
Source§type Output = HyperDualVec<T, F, M, N>
type Output = HyperDualVec<T, F, M, N>
- operator.Source§impl<T: DualNum<F>, F: Float, M: Dim, N: Dim> Sub<HyperDualVec<T, F, M, N>> for &HyperDualVec<T, F, M, N>
impl<T: DualNum<F>, F: Float, M: Dim, N: Dim> Sub<HyperDualVec<T, F, M, N>> for &HyperDualVec<T, F, M, N>
Source§type Output = HyperDualVec<T, F, M, N>
type Output = HyperDualVec<T, F, M, N>
- operator.Source§impl<T: DualNum<F>, F: Float, M: Dim, N: Dim> Sub for HyperDualVec<T, F, M, N>
impl<T: DualNum<F>, F: Float, M: Dim, N: Dim> Sub for HyperDualVec<T, F, M, N>
Source§type Output = HyperDualVec<T, F, M, N>
type Output = HyperDualVec<T, F, M, N>
- operator.Source§impl<T: DualNum<F>, F, M: Dim, N: Dim> SubAssign<F> for HyperDualVec<T, F, M, N>
impl<T: DualNum<F>, F, M: Dim, N: Dim> SubAssign<F> for HyperDualVec<T, F, M, N>
Source§fn sub_assign(&mut self, other: F)
fn sub_assign(&mut self, other: F)
-= operation. Read moreSource§impl<T: DualNum<F>, F, M: Dim, N: Dim> SubAssign for HyperDualVec<T, F, M, N>
impl<T: DualNum<F>, F, M: Dim, N: Dim> SubAssign for HyperDualVec<T, F, M, N>
Source§fn sub_assign(&mut self, other: Self)
fn sub_assign(&mut self, other: Self)
-= operation. Read moreSource§impl<'a, T: DualNum<F>, F: Float, M: Dim, N: Dim> Sum<&'a HyperDualVec<T, F, M, N>> for HyperDualVec<T, F, M, N>
impl<'a, T: DualNum<F>, F: Float, M: Dim, N: Dim> Sum<&'a HyperDualVec<T, F, M, N>> for HyperDualVec<T, F, M, N>
Source§fn sum<I>(iter: I) -> Selfwhere
I: Iterator<Item = &'a HyperDualVec<T, F, M, N>>,
fn sum<I>(iter: I) -> Selfwhere
I: Iterator<Item = &'a HyperDualVec<T, F, M, N>>,
Self from the elements by “summing up”
the items.impl<T: DualNum<F> + Copy, F: Copy, const M: usize, const N: usize> Copy for HyperDualVec<T, F, Const<M>, Const<N>>
impl<T: Eq + DualNum<F>, F: Eq, M: Eq + Dim, N: Eq + Dim> Eq for HyperDualVec<T, F, M, N>
impl<T: DualNum<F>, F, M: Dim, N: Dim> StructuralPartialEq for HyperDualVec<T, F, M, N>
Auto Trait Implementations§
impl<T, F, M, N> !Freeze for HyperDualVec<T, F, M, N>
impl<T, F, M, N> !RefUnwindSafe for HyperDualVec<T, F, M, N>
impl<T, F, M, N> !Send for HyperDualVec<T, F, M, N>
impl<T, F, M, N> !Sync for HyperDualVec<T, F, M, N>
impl<T, F, M, N> !Unpin for HyperDualVec<T, F, M, N>
impl<T, F, M, N> !UnwindSafe for HyperDualVec<T, F, M, N>
Blanket Implementations§
Source§impl<T> BesselDual for T
impl<T> BesselDual for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.