Class

NumCosmoMathNNLS

Description [src]

final class NumCosmoMath.NNLS : GObject.Object
{
  /* No available fields */
}

Non-negative linear least-squares.

NcmNNLS is a class that implements the non-negative linear least-squares algorithm.

Ancestors

Constructors

ncm_nnls_new

Creates a new NcmNNLS object.

Functions

ncm_nnls_clear

Decrease the reference count of nnls by one, and sets the pointer *nnls to NULL.

Instance methods

ncm_nnls_free

Decrease the reference count of nnls by one.

ncm_nnls_get_ncols
No description available.

ncm_nnls_get_nrows
No description available.

ncm_nnls_get_reltol

Gets the relative tolerance being used.

ncm_nnls_get_residuals

Gets the solution residuals, this method return the last residuals computed during ncm_nnls_solve(). If ncm_nnls_solve() was not called the return is undefined.

ncm_nnls_get_umethod

Gets the unconstrained least-squares method being used.

ncm_nnls_ref

Increase the reference of nnls by one.

ncm_nnls_set_reltol

Sets relative tolerance to reltol.

ncm_nnls_set_umethod

Sets which unconstrained least-squares method to use.

ncm_nnls_solve

Solves the system $A\vec{x} = \vec{f}$ for $\vec{x}$ imposing the non negativity constraint on $\vec{x}$, i.e., $\vec{x} > 0$.

ncm_nnls_solve_LH

Solves the system $A\vec{x} = \vec{f}$ for $\vec{x}$ imposing the non negativity constraint on $\vec{x}$, i.e., $\vec{x} > 0$. This method solves the system using the original code by Charles L. Lawson and Richard J. Hanson translated to C using f2c.

ncm_nnls_solve_gsmo
No description available.

ncm_nnls_solve_lowrankqp

Solves the system $A\vec{x} = \vec{f}$ for $\vec{x}$ imposing the non negativity constraint on $\vec{x}$, i.e., $\vec{x} > 0$. This method solves the system using the LowRankQP quadratic programming code.

ncm_nnls_solve_splx

Solves the system $A\vec{x} = \vec{f}$ for $\vec{x}$ imposing the non negativity constraint on $\vec{x}$, i.e., $\vec{x} > 0$. This method solves the system using function libqp_splx_solver from libqp.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

NumCosmoMath.NNLS:ncols
No description available.

NumCosmoMath.NNLS:nrows
No description available.

NumCosmoMath.NNLS:reltol
No description available.

NumCosmoMath.NNLS:umethod
No description available.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct NumCosmoMathNNLSClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.