Learn R Programming

weyl (version 0.0-7)

identity: The identity operator

Description

The identity operator maps any function to itself.

Usage

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

Value

A weyl object corresponding to the identity operator

Arguments

d

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

S

A weyl object

Examples

Run this code

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)

Run the code above in your browser using DataLab