easyp3expanded: returns an expanded easyp from an easyp

Description Usage Arguments Value Examples

Description

(bn) Changing the nodes into the node variables. This is done when necessary, e.g. eas can be returned as it is. Detected inconsistencies provoke fatal errors.

Usage

1
easyp3expanded(ldim, eas, bn)

Arguments

ldim

When greater than one, must be the length of the resulting easyp.

eas

The scalar easyp expression.

bn

The associated /bn/.

Value

A character containing the expanded easyp

Examples

1
2
3
4
5
6
 rebastaba3k("RESET"); # (only for R checking)
 print(easyp3expanded(1, "{{A}}+{{B[a]}}", rebastaba.bn2));
 print(easyp3expanded(2, "{{A}}+{{B[a]}}", rebastaba.bn2));
 print(easyp3expanded(3, "{{B}}", rebastaba.bn2));
 print(easyp3expanded(3, "{{A}}+{{B}}", rebastaba.bn2));
 ## Not run: easyp3expanded(5, "{{B}}", rebastaba.bn2);

rebastaba documentation built on May 2, 2019, 5:24 p.m.