MCPcopy Create free account
hub / github.com/Meshcapade/difflocks / ConjugateGradient

Function ConjugateGradient

extensions/include/cuMat/src/ConjugateGradient.h:96–100  ·  view source on GitHub ↗

* \brief Initializes the Conjugate Gradient with the specified matrix. * The preconditioner is created with \code Preconditioner(matrix) \endcode. * \param matrix the matrix that is used in the CG. */

Source from the content-addressed store, hash-verified

94 * \param matrix the matrix that is used in the CG.
95 */
96 ConjugateGradient(const MatrixBase<_MatrixType>& matrix)
97 : Base(matrix)
98 {
99 CUMAT_ASSERT(matrix.rows() == matrix.cols() && "Matrix must be square");
100 }
101
102 /**
103 * \brief Initializes the Conjugate Gradient with the specified matrix

Callers 1

Calls 2

rowsMethod · 0.45
colsMethod · 0.45

Tested by

no test coverage detected