pub trait Solve<T> {
// Required methods
fn solve<S: Data<Elem = T>>(
&self,
b: &ArrayBase<S, Ix1>,
) -> Result<Array1<T>>;
fn solve_t<S: Data<Elem = T>>(
&self,
b: &ArrayBase<S, Ix1>,
) -> Result<Array1<T>>;
fn solve_h<S: Data<Elem = T>>(
&self,
b: &ArrayBase<S, Ix1>,
) -> Result<Array1<T>>;
// Provided methods
fn solve_into(&self, b: Array1<T>) -> Result<Array1<T>> { ... }
fn solve_t_into(&self, b: Array1<T>) -> Result<Array1<T>> { ... }
fn solve_h_into(&self, b: Array1<T>) -> Result<Array1<T>> { ... }
}Expand description
Solves A x = b for square A by LU with partial pivoting.
Required Methods§
fn solve<S: Data<Elem = T>>(&self, b: &ArrayBase<S, Ix1>) -> Result<Array1<T>>
Provided Methods§
Sourcefn solve_into(&self, b: Array1<T>) -> Result<Array1<T>>
fn solve_into(&self, b: Array1<T>) -> Result<Array1<T>>
As Solve::solve, consuming the right-hand side.
Sourcefn solve_t_into(&self, b: Array1<T>) -> Result<Array1<T>>
fn solve_t_into(&self, b: Array1<T>) -> Result<Array1<T>>
As Solve::solve_t, consuming the right-hand side.
Sourcefn solve_h_into(&self, b: Array1<T>) -> Result<Array1<T>>
fn solve_h_into(&self, b: Array1<T>) -> Result<Array1<T>>
As Solve::solve_h, consuming the right-hand side.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".