MultDoubleRule-class: Class '"MultDoubleRule"'

Description Objects from the Class Slots Extends Methods See Also Examples

Description

A class for rules multiplying two elements of a numeric sequence. Objects of this class inherit from class DoubleRule.

Objects from the Class

Objects can be created by calls of the form new("MultDoubleRule", ...).

Slots

firstRule:

Object of class "SingleRule" - SingleRule to be executed on the first element of numeric sequence (before the DoubleRule).This doesn't need to be specyfied.

secondRule:

Object of class "SingleRule" - SingleRule to be executed on the second element of numeric sequence (before the DoubleRule).This doesn't need to be specyfied.

nextSingle:

Object of class "SingleRule" - SingleRule to be executed on the result of DoubleRule. This doesn't need to be specyfied.

.S3Class:

Object of class "character" - S3 methods apply for these objects

Extends

Class "DoubleRule", directly.

Methods

calculateSpecific

signature(x = "MultDoubleRule", y = "numeric", z = "numeric"): ...

See Also

calculate, DoubleRule, SingleRule, createSR, createDR

Examples

1
2
3
4
m<-new("MultDoubleRule") 
print(m)

calculate(m,20,9) #20*9=180

ruleR documentation built on May 2, 2019, 5:49 p.m.