rweyl {weyl}R Documentation

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)

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

Value

Returns a weyl object

Author(s)

Robin K. S. Hankin

Examples

rweyl()

rweyl(d=7)

[Package weyl version 0.0-4 Index]