myinv {iWeigReg}R Documentation

Inverse of a matrix

Description

This function returns the inverse or generalized inverse of a matrix.

Usage

myinv(A, type = "solve")

Arguments

A

A matrix to be inverted.

type

Type of matrix inversion, set to "solve" (default) or "ginv" (which can be used in the case of computational singularity).

Value

The inverse of the given matrix A.


[Package iWeigReg version 1.1 Index]