Function

NumCosmoMathlapack_dggglm_alloc

Declaration [src]

GArray*
ncm_lapack_dggglm_alloc (
  NcmMatrix* L,
  NcmMatrix* X,
  NcmVector* p,
  NcmVector* d,
  NcmVector* y
)

Description [src]

Calculates and allocs memory to solve the system determined by the parameters.

This function is expect the matrix X and L to be row-major.

Parameters

L

Type: NcmMatrix

A NcmMatrix.

The data is owned by the caller of the function.
X

Type: NcmMatrix

A NcmMatrix.

The data is owned by the caller of the function.
p

Type: NcmVector

A NcmVector.

The data is owned by the caller of the function.
d

Type: NcmVector

A NcmVector.

The data is owned by the caller of the function.
y

Type: NcmVector

A NcmVector.

The data is owned by the caller of the function.

Return value

Type: An array of double

The newly allocated workspace.

The caller of the function takes ownership of the data, and is responsible for freeing it.