Learn R Programming

weyl (version 0.0-5)

rweyl: Random weyl objects

Description

Creates random weyl objects: quick-and-dirty examples of Weyl algebra elements

Usage

rweyl(nterms = 3, vals = seq_len(nterms), dim = 3, powers = 0:2)

Value

Returns a weyl object

Arguments

nterms

Number of terms in output

vals

Values of coefficients

dim

Dimension of weyl object

powers

Set from which to sample the entries of the index matrix

Author

Robin K. S. Hankin

Examples

Run this code
rweyl()

rweyl(d=7)

Run the code above in your browser using DataLab