Learn R Programming

futile.matrix (version 1.2.2)

RandomMatrixModel: Type constructors for random matrices and ensembles of random matrices

Description

Provides type constructors for creating random matrices. Various studies can be initiated afterward.

Usage

RandomMatrixModel(...) WignerModel(...) WishartModel(...) JacobiModel(...) Ensemble(...) "print"(x, ...)

Arguments

x
An Ensemble to print
...
Additional arguments

Value

Returns a model type. Use with 'rmatrix' or 'ensemble' to generate actual matrices.

Details

RandomMatrixModel(real=TRUE, ...)

WignerModel(n, ...)

WishartModel(n, m, sd=1, ...)

JacobiModel(n, m1, m2, ...)

Ensemble(count, model)

real - Whether the matrix has real components or not

n - Number of rows

m - Number of columns

m1 - Number of columns

m2 - Number of columns

sd - Standard deviation of the sample population

count - Number of matrices in the ensemble

model - The random matrix model to use

Examples

Run this code
  model <- WignerModel(10)
  m <- rmatrix(model)

  e <- Ensemble(20, model)

Run the code above in your browser using DataLab