rmatrix: Generation of random matrices

Description Arguments Usage Details See Also Examples

Description

Generate various types of random matrices

Arguments

model

The matrix model to use, which includes the size of the matrix. The model argument must be of type RandomMatrixModel. Numerous sub-types (e.g. WignerModel, WishartModel) are supported generating the appropriate type of random matrix.

Usage

rmatrix(model)

rmatrix(model)

rmatrix(model)

rmatrix(model)

Details

Used to generate a random matrix from various families. The idea is to specify a model, which is then used to generate random realizations and also to compute other properties of the matrix.

See Also

dmatrix

Examples

1
2
3
4
5
6
7
8
model <- WignerModel(10)
m <- rmatrix(model)

## Not run: 
e <- Ensemble(20, model)
hist(max_eigen(e), freq=FALSE)

## End(Not run)

zatonovo/futile.matrix documentation built on May 4, 2019, 9:11 p.m.