#include "Mutils.h"
#include <R_ext/Lapack.h>
Functions | |
double | ld_factor_from_par (const double *par, double *factor, int nc) |
double * | gradient (const int nc, const double *factor, const double *pars, double *value) |
SEXP | pdLogChol_LMEhessian (SEXP x, SEXP Ain, SEXP Hin, SEXP nlev) |
SEXP | pdLogChol_LMEgradient (SEXP x, SEXP Ain, SEXP nlev) |
SEXP | pdLogChol_pdgradient (SEXP x) |
SEXP | pdLogChol_EMupdate (SEXP x, SEXP nlev, SEXP Ain) |
SEXP | pdLogChol_coefGets (SEXP x, SEXP value) |
|
An internal function that calculates the gradient of the positive-definite matrix with respect to the parameters. This function is used in both pdLogChol_LMEgradient and pdLogChol_pdgradient.
|
|
Populate the factor from the parameter vector and return the logarithm the determinant of the factor.
|
|
|
|
Perform an EM update on a pdLogChol object.
|
|
LMEgradient implementation for the pdLogChol class
|
|
|
|
Implementation of the pdgradient method for pdLogChol objects.
|