Learn R Programming

futile.matrix (version 1.1.2)

create.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

create.RandomMatrixModel(T, real=TRUE, ...)
create.WignerModel(T, n, ...)
create.WishartModel(T, n, m, sd=1, ...)
create.JacobiModel(T, n, m1, m2, ...)
create.Ensemble(T, count, model)
## S3 method for class 'Ensemble':
print(x, ...)

Arguments

T
The type
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
x
An Ensemble to print
...
Additional arguments

Value

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

Examples

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

  e <- create(Ensemble, 20, model)

Run the code above in your browser using DataLab