mginv function

Constructing the generalized inverse of a matrix

Constructing the generalized inverse of a matrix

Computes the generalized inverse of a matrix X. This function is used in the m2LL.FPBK.nodet functions in order to estimate the spatial covariance parameters

mginv(X, tol = sqrt(.Machine$double.eps))

Arguments

  • X: The matrix to be inverted
  • tol: The tolerance of the estimation

Returns

The generalized inverse matrix

  • Maintainer: Matt Higham
  • License: GPL-2
  • Last published: 2022-12-11