Internal function: maximum likelihood estimate with the likelihood

cMLE(
  Fk,
  num_columns,
  sample_covariance_trace,
  inverse_square_root_matrix,
  matrix_JSJ,
  s = 0,
  ldet = 0,
  wSave = FALSE,
  onlylogLike = !wSave,
  vfixed = NULL
)

Arguments

Fk

An n by K matrix of basis function values with each column being a basis function taken values at loc.

num_columns

A positive numeric.

sample_covariance_trace

A positive numeric.

inverse_square_root_matrix

A matrix.

matrix_JSJ

A multiplication matrix

s

A numeric.

ldet

A numeric. A log determinant.

wSave

A logic.

onlylogLike

A logic.

vfixed

A numeric.

Value

A numeric.