pub struct ResidentOdePlan { /* private fields */ }Expand description
Checked resident ODE plan.
Implementations§
Source§impl ResidentOdePlan
impl ResidentOdePlan
Sourcepub fn fixed(
state_shape: Vec<usize>,
dtype: Symbol,
rhs: ResidentRhsLowering,
) -> Result<Self>
pub fn fixed( state_shape: Vec<usize>, dtype: Symbol, rhs: ResidentRhsLowering, ) -> Result<Self>
Builds a fixed-step resident ODE plan for tensor state.
Sourcepub fn adaptive(
state_shape: Vec<usize>,
dtype: Symbol,
rhs: ResidentRhsLowering,
) -> Result<Self>
pub fn adaptive( state_shape: Vec<usize>, dtype: Symbol, rhs: ResidentRhsLowering, ) -> Result<Self>
Builds an adaptive resident ODE plan for tensor state.
Sourcepub fn kind(&self) -> ResidentOdeKind
pub fn kind(&self) -> ResidentOdeKind
Returns the execution family.
Sourcepub fn state_shape(&self) -> &[usize]
pub fn state_shape(&self) -> &[usize]
Returns the planned tensor state shape.
Trait Implementations§
Source§impl Clone for ResidentOdePlan
impl Clone for ResidentOdePlan
Source§fn clone(&self) -> ResidentOdePlan
fn clone(&self) -> ResidentOdePlan
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResidentOdePlan
impl Debug for ResidentOdePlan
impl Eq for ResidentOdePlan
Source§impl PartialEq for ResidentOdePlan
impl PartialEq for ResidentOdePlan
impl StructuralPartialEq for ResidentOdePlan
Auto Trait Implementations§
impl Freeze for ResidentOdePlan
impl RefUnwindSafe for ResidentOdePlan
impl Send for ResidentOdePlan
impl Sync for ResidentOdePlan
impl Unpin for ResidentOdePlan
impl UnsafeUnpin for ResidentOdePlan
impl UnwindSafe for ResidentOdePlan
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