mixmat: Generate a random mixing matrix with condition number between...

Description Usage Arguments Details Value Author(s)

View source: R/mixmat.R

Description

A simple function for generating a 'well behaved' random square mixing matrix

Usage

1
mixmat(p = 2)

Arguments

p

dimnesion of matrix

Details

Generates a random matrix by constructing its SVD. The singular values are drawn from a uniform on [1,2], hence guaranteeing a condition number between 1 and 2

Value

a pxp matrix

Author(s)

Trevor Hastie


Hanchao-Zhang/ProDenICA documentation built on Jan. 17, 2022, 12:23 a.m.