powered by
This function returns the inverse or generalized inverse of a matrix.
myinv(A, type = "solve")
A matrix to be inverted.
Type of matrix inversion, set to "solve" (default) or "ginv" (which can be used in the case of computational singularity).
The inverse of the given matrix A.
A