Solve

Trait Solve 

Source
pub trait Solve<T: ComplexField>: SolveCore<T> {
Show 16 methods // Provided methods fn solve_in_place(&self, rhs: impl AsMatMut<T = T, Rows = usize>) { ... } fn solve_conjugate_in_place(&self, rhs: impl AsMatMut<T = T, Rows = usize>) { ... } fn solve_transpose_in_place(&self, rhs: impl AsMatMut<T = T, Rows = usize>) { ... } fn solve_adjoint_in_place(&self, rhs: impl AsMatMut<T = T, Rows = usize>) { ... } fn rsolve_in_place(&self, lhs: impl AsMatMut<T = T, Cols = usize>) { ... } fn rsolve_conjugate_in_place(&self, lhs: impl AsMatMut<T = T, Cols = usize>) { ... } fn rsolve_transpose_in_place(&self, lhs: impl AsMatMut<T = T, Cols = usize>) { ... } fn rsolve_adjoint_in_place(&self, lhs: impl AsMatMut<T = T, Cols = usize>) { ... } fn solve<Rhs: AsMatRef<T = T, Rows = usize>>(&self, rhs: Rhs) -> Rhs::Owned { ... } fn solve_conjugate<Rhs: AsMatRef<T = T, Rows = usize>>( &self, rhs: Rhs, ) -> Rhs::Owned { ... } fn solve_transpose<Rhs: AsMatRef<T = T, Rows = usize>>( &self, rhs: Rhs, ) -> Rhs::Owned { ... } fn solve_adjoint<Rhs: AsMatRef<T = T, Rows = usize>>( &self, rhs: Rhs, ) -> Rhs::Owned { ... } fn rsolve<Lhs: AsMatRef<T = T, Cols = usize>>(&self, lhs: Lhs) -> Lhs::Owned { ... } fn rsolve_conjugate<Lhs: AsMatRef<T = T, Cols = usize>>( &self, lhs: Lhs, ) -> Lhs::Owned { ... } fn rsolve_transpose<Lhs: AsMatRef<T = T, Cols = usize>>( &self, lhs: Lhs, ) -> Lhs::Owned { ... } fn rsolve_adjoint<Lhs: AsMatRef<T = T, Cols = usize>>( &self, lhs: Lhs, ) -> Lhs::Owned { ... }
}
Expand description

SolveCore extension trait

Provided Methods§

Source

fn solve_in_place(&self, rhs: impl AsMatMut<T = T, Rows = usize>)

solves $A x = b$

Source

fn solve_conjugate_in_place(&self, rhs: impl AsMatMut<T = T, Rows = usize>)

solves $\bar A x = b$

Source

fn solve_transpose_in_place(&self, rhs: impl AsMatMut<T = T, Rows = usize>)

solves $A^\top x = b$

Source

fn solve_adjoint_in_place(&self, rhs: impl AsMatMut<T = T, Rows = usize>)

solves $A^H x = b$

Source

fn rsolve_in_place(&self, lhs: impl AsMatMut<T = T, Cols = usize>)

solves $x A = b$

Source

fn rsolve_conjugate_in_place(&self, lhs: impl AsMatMut<T = T, Cols = usize>)

solves $x \bar A = b$

Source

fn rsolve_transpose_in_place(&self, lhs: impl AsMatMut<T = T, Cols = usize>)

solves $x A^\top = b$

Source

fn rsolve_adjoint_in_place(&self, lhs: impl AsMatMut<T = T, Cols = usize>)

solves $x A^H = b$

Source

fn solve<Rhs: AsMatRef<T = T, Rows = usize>>(&self, rhs: Rhs) -> Rhs::Owned

solves $A x = b$

Source

fn solve_conjugate<Rhs: AsMatRef<T = T, Rows = usize>>( &self, rhs: Rhs, ) -> Rhs::Owned

solves $\bar A x = b$

Source

fn solve_transpose<Rhs: AsMatRef<T = T, Rows = usize>>( &self, rhs: Rhs, ) -> Rhs::Owned

solves $A^\top x = b$

Source

fn solve_adjoint<Rhs: AsMatRef<T = T, Rows = usize>>( &self, rhs: Rhs, ) -> Rhs::Owned

solves $A^H x = b$

Source

fn rsolve<Lhs: AsMatRef<T = T, Cols = usize>>(&self, lhs: Lhs) -> Lhs::Owned

solves $x A = b$

Source

fn rsolve_conjugate<Lhs: AsMatRef<T = T, Cols = usize>>( &self, lhs: Lhs, ) -> Lhs::Owned

solves $x \bar A = b$

Source

fn rsolve_transpose<Lhs: AsMatRef<T = T, Cols = usize>>( &self, lhs: Lhs, ) -> Lhs::Owned

solves $x A^\top = b$

Source

fn rsolve_adjoint<Lhs: AsMatRef<T = T, Cols = usize>>( &self, lhs: Lhs, ) -> Lhs::Owned

solves $x A^H = b$

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<T: ComplexField, S: ?Sized + SolveCore<T>> Solve<T> for S