pub struct Flow { /* private fields */ }Expand description
N steps of an affine update, the shared part of each component’s germ.
Implementations§
Source§impl Flow
impl Flow
Sourcepub fn new(
terms: Vec<Vec<Vec<Rational>>>,
t: Rational,
delta: Rational,
start: Vec<Germ>,
) -> Option<Arc<Flow>>
pub fn new( terms: Vec<Vec<Vec<Rational>>>, t: Rational, delta: Rational, start: Vec<Germ>, ) -> Option<Arc<Flow>>
The flow of N = T/dt + δ steps of A(dt) = I + Σ_{k≥1} dt^k·terms[k − 1] from start;
None when the shapes disagree or there is no first-order term.
Sourcepub fn on_grid(
grid: u32,
terms: Vec<Vec<Vec<Rational>>>,
t: Rational,
delta: Rational,
start: Vec<Germ>,
) -> Option<Arc<Flow>>
pub fn on_grid( grid: u32, terms: Vec<Vec<Vec<Rational>>>, t: Rational, delta: Rational, start: Vec<Germ>, ) -> Option<Arc<Flow>>
The flow of N = T/dt + δ steps of A = I + Σ_{k≥1} dt^(k/grid)·terms[k − 1] from start;
None when the shapes disagree, a term below dt does not vanish, or there is no term of
dt.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Flow
impl !RefUnwindSafe for Flow
impl Send for Flow
impl Sync for Flow
impl Unpin for Flow
impl UnsafeUnpin for Flow
impl !UnwindSafe for Flow
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