Trait ndarray_linalg::impls::solve::ImplSolve
[−]
[src]
pub trait ImplSolve: Sized { fn lu(
layout: Layout,
m: usize,
n: usize,
a: Vec<Self>
) -> Result<(Vec<i32>, Vec<Self>), LapackError>; fn inv(
layout: Layout,
size: usize,
a: Vec<Self>,
ipiv: &Vec<i32>
) -> Result<Vec<Self>, LapackError>; fn solve(
layout: Layout,
size: usize,
a: &Vec<Self>,
ipiv: &Vec<i32>,
b: Vec<Self>
) -> Result<Vec<Self>, LapackError>; fn solve_triangle<'a, 'b>(
layout: Layout,
uplo: u8,
size: usize,
a: &'a [Self],
b: &'b mut [Self],
nrhs: i32
) -> Result<&'b mut [Self], LapackError>; }
Required Methods
fn lu(
layout: Layout,
m: usize,
n: usize,
a: Vec<Self>
) -> Result<(Vec<i32>, Vec<Self>), LapackError>
layout: Layout,
m: usize,
n: usize,
a: Vec<Self>
) -> Result<(Vec<i32>, Vec<Self>), LapackError>
execute LU decomposition
fn inv(
layout: Layout,
size: usize,
a: Vec<Self>,
ipiv: &Vec<i32>
) -> Result<Vec<Self>, LapackError>
layout: Layout,
size: usize,
a: Vec<Self>,
ipiv: &Vec<i32>
) -> Result<Vec<Self>, LapackError>
calc inverse matrix with LU factorized matrix
fn solve(
layout: Layout,
size: usize,
a: &Vec<Self>,
ipiv: &Vec<i32>,
b: Vec<Self>
) -> Result<Vec<Self>, LapackError>
layout: Layout,
size: usize,
a: &Vec<Self>,
ipiv: &Vec<i32>,
b: Vec<Self>
) -> Result<Vec<Self>, LapackError>
solve linear problem with LU factorized matrix
fn solve_triangle<'a, 'b>(
layout: Layout,
uplo: u8,
size: usize,
a: &'a [Self],
b: &'b mut [Self],
nrhs: i32
) -> Result<&'b mut [Self], LapackError>
layout: Layout,
uplo: u8,
size: usize,
a: &'a [Self],
b: &'b mut [Self],
nrhs: i32
) -> Result<&'b mut [Self], LapackError>
solve triangular linear problem