Trait Solution

Source
pub trait Solution
where Self: From<Vector> + Tensor,
{ // Required methods fn decrement_from(&mut self, other: &Vector); fn decrement_from_chained(&mut self, other: &mut Vector, vector: Vector); // Provided method fn decrement_from_retained(&mut self, _retained: &[bool], _other: &Vector) { ... } }
Expand description

Common methods for solutions.

Required Methods§

Source

fn decrement_from(&mut self, other: &Vector)

Decrements the solution from another vector.

Source

fn decrement_from_chained(&mut self, other: &mut Vector, vector: Vector)

Decrements the solution chained with a vector from another vector.

Provided Methods§

Source

fn decrement_from_retained(&mut self, _retained: &[bool], _other: &Vector)

Decrements the solution from another vector on retained entries.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl Solution for Vector

Source§

impl Solution for TensorRank0

Source§

impl<const D: usize, const I: usize> Solution for TensorRank1<D, I>

Source§

impl<const D: usize, const I: usize> Solution for TensorRank1Vec<D, I>

Source§

impl<const D: usize, const I: usize, const J: usize> Solution for TensorRank2<D, I, J>