Function lbcrypto::Cholesky(const Matrix<int32_t>&, Matrix<double>&)

Function Documentation

void lbcrypto::Cholesky(const Matrix<int32_t> &input, Matrix<double> &result)

Gives the Cholesky decomposition of the input matrix, writing the lower-triangular factor into a caller-provided matrix of the same size (the upper triangle is zeroed). See the single-argument overload for the assumptions.

Parameters
  • input – the square matrix for which the Cholesky decomposition is to be computed

  • result – the preallocated rows x rows matrix receiving the factor