weyl {weyl}R Documentation

The algebra and weyl objects

Description

Basic functions for weyl objects

Usage

weyl(M)
is.weyl(M)
as.weyl(val,d)
is.ok.weyl(M)

Arguments

M

A weyl or spray object

val, d

Value and dimension for weyl object

Details

Function weyl() is the formal creator method; is.weyl() tests for weyl objects and is.ok.weyl() checks for well-formed sprays. Function as.weyl() tries (but not very hard) to infer what the user intended and return the right thing.

To create a spray object to pass to weyl(), use function spray(), which is a synonym for spray::spray().

Value

Return a weyl or a Boolean

Author(s)

Robin K. S. Hankin

Examples


(W <- spray(matrix(1:36,6,6),1:6))
weyl(W)

as.weyl(15,d=3)

[Package weyl version 0.0-4 Index]