Learn R Programming

cepp (version 1.0)

bases: Create random bases

Description

Generate bases.

Usage

basis_random(n, d = 2)
basis_nearby(current, alpha = ALPHA, method = METHOD)

Arguments

n
The number of rows.
d
The number of columns.
current
The current matrix.
alpha
How "far" should the new matrix be?
method
How should be new matrix be found? One of linear or geodesic.

Value

  • A matrix of specified dimensions.

Details

basis_random returns a new orthonormal matrix of specified dimensions.

basis_nearby generates a new orthonormal matrix, hybridizes it with the current matrix and returns it.

See Also

ALPHA, METHOD