cgsolve#

Complex gradient solve on square matrix

template<typename AType, typename BType>
__MATX_INLINE__ auto matx::cgsolve(AType A, BType B, double tol = 1e-6, int max_iters = 4)#

Performs a complex gradient solve on a square matrix.

Parameters:
  • A – Tensor A

  • B – Tensor B

  • tol – tolerance to solve to

  • max_iters – max iterations for solve

Examples#

(X = cgsolve(A, B, .00001, 10)).run(exec);