Enum COMPUTATION_INFO

Description

The enumeration to report the status of computation.

Values

SUCCESSFUL = 0

Computation was successful.

Mentioned in:

Getting Started / Examples

NOT_COMPUTED

Used in eigen solvers, indicating that computation has not been conducted. Users should call the compute() member function of solvers.

NOT_CONVERGING

Used in eigen solvers, indicating that some eigenvalues did not converge. The compute() function returns the number of converged eigenvalues.

NUMERICAL_ISSUE

Used in Cholesky decomposition, indicating that the matrix is not positive definite.

Source

Lines 18-32 in include/Spectra/Util/CompInfo.h.

enum COMPUTATION_INFO
{
    SUCCESSFUL = 0,    ///< Computation was successful.

    NOT_COMPUTED,      ///< Used in eigen solvers, indicating that computation
                       ///< has not been conducted. Users should call
                       ///< the `compute()` member function of solvers.

    NOT_CONVERGING,    ///< Used in eigen solvers, indicating that some eigenvalues
                       ///< did not converge. The `compute()`
                       ///< function returns the number of converged eigenvalues.

    NUMERICAL_ISSUE    ///< Used in Cholesky decomposition, indicating that the
                       ///< matrix is not positive definite.
};





Add Discussion as Guest

Log in