pub enum JacMode {
Auto,
FiniteDiff,
Forward,
}Expand description
ヤコビアンの求め方
Variants§
Auto
解析的に求められる列は解析的に、ほかは中心差分。ただし項ごとに、解析的に求められる列が
Problem::analytic_min 個より少なければ中心差分(解析的な微分は列の数によらない手間が大きく、
列が少ないと差分の方が速い)
FiniteDiff
すべて中心差分
Forward
すべて前進差分(中心差分の半分の追跡で済むが、誤差は刻みの 1 次)。射出瞳の揺れのため刻みを大きく取る 波面の項(回転対称でない系など)は中心差分のまま
Implementations§
Trait Implementations§
impl Copy for JacMode
impl Eq for JacMode
impl StructuralPartialEq for JacMode
Auto Trait Implementations§
impl Freeze for JacMode
impl RefUnwindSafe for JacMode
impl Send for JacMode
impl Sync for JacMode
impl Unpin for JacMode
impl UnsafeUnpin for JacMode
impl UnwindSafe for JacMode
Blanket Implementations§
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
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more