ginv | R Documentation |

Calculates the Moore-Penrose generalized inverse of a matrix
`X`

.

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

`X` |
Matrix for which the Moore-Penrose inverse is required. |

`tol` |
A relative tolerance to detect zero singular values. |

A MP generalized inverse matrix for `X`

.

Venables, W. N. and Ripley, B. D. (2002)
*Modern Applied Statistics with S-PLUS.* Fourth Edition. Springer.

`solve`

, `svd`

, `eigen`

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.