cholesky_inplace

Function cholesky_inplace 

Source
pub fn cholesky_inplace<T>(input: &mut Array<T>, is_upper: bool) -> i32
Expand description

Perform inplace Cholesky decomposition

§Parameters

  • input contains the input matrix on entry, and triangular matrix on exit.
  • is_upper is a boolean to indicate if the output has to be upper or lower triangular matrix

§Return Values

A signed 32-bit integer. If the integer is 0, it means the cholesky decomposition passed. Otherwise, it will contain the rank at which the decomposition failed.