Function arrayfire::cholesky_inplace[][src]

pub fn cholesky_inplace<T>(input: &mut Array<T>, is_upper: bool) -> i32 where
    T: HasAfEnum + FloatingPoint, 

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.