pub struct Tape<F: IntegrateFloat> { /* private fields */ }Expand description
Reverse mode AD tape for recording operations
Implementations§
Source§impl<F: IntegrateFloat> Tape<F>
impl<F: IntegrateFloat> Tape<F>
Sourcepub fn pow_general(&mut self, a: usize, b: usize) -> usize
pub fn pow_general(&mut self, a: usize, b: usize) -> usize
Record general power where both base and exponent are variables
Trait Implementations§
Auto Trait Implementations§
impl<F> Freeze for Tape<F>
impl<F> !RefUnwindSafe for Tape<F>
impl<F> !Send for Tape<F>
impl<F> !Sync for Tape<F>
impl<F> Unpin for Tape<F>
impl<F> !UnwindSafe for Tape<F>
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
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