identity {weyl}R Documentation

The identity operator

Description

The identity operator maps any function to itself.

Usage

idweyl(d)
## S3 method for class 'weyl'
as.id(S)
is.id(S)

Arguments

d

Integer specifying dimensionality of the weyl object (twice the spray arity)

S

A weyl object

Value

A weyl object corresponding to the identity operator

Note

The identity function cannot be called “id()” because then R would not know whether to create a spray or a weyl object.

Examples


idweyl(7)

a <- rweyl(d=5)
a
is.id(a)
is.id(1+a-a)
as.id(a)

a == a*1
a == a*as.id(a)


[Package weyl version 0.0-4 Index]