pub struct ThreeTermRecurrence {
pub alpha_coeff: Expression,
pub beta_coeff: Expression,
pub gamma_coeff: Expression,
pub initial_conditions: (Expression, Expression),
}Expand description
Three-term recurrence for orthogonal polynomials
Fields§
§alpha_coeff: ExpressionForward coefficient: α_n in P_{n+1} = (α_n x + β_n)P_n - γ_n P_{n-1}
beta_coeff: ExpressionLinear coefficient: β_n
gamma_coeff: ExpressionBackward coefficient: γ_n
initial_conditions: (Expression, Expression)Initial conditions: P_0, P_1
Trait Implementations§
Source§impl Clone for ThreeTermRecurrence
impl Clone for ThreeTermRecurrence
Source§fn clone(&self) -> ThreeTermRecurrence
fn clone(&self) -> ThreeTermRecurrence
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ThreeTermRecurrence
impl RefUnwindSafe for ThreeTermRecurrence
impl Send for ThreeTermRecurrence
impl Sync for ThreeTermRecurrence
impl Unpin for ThreeTermRecurrence
impl UnwindSafe for ThreeTermRecurrence
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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