powered by
Matrix inverse and pseudo-inverse by the Armadillo C++ library.
ainv(x)apinv(x)
apinv(x)
The matrix-inverse or pseudo-inverse.
a numeric matrix, must be square for ainv.
ainv
ainv(crossprod(diff(EuStockMarkets)))
Run the code above in your browser using DataLab