Learn R Programming

growR (version 1.3.0)

*.FunctionalGroup: Scalar multiplication of functional group (order matters: scalar * FG)

Description

Scalar multiplication of functional group (order matters: scalar * FG)

Usage

# S3 method for FunctionalGroup
*(scalar, fg)

Value

C A FunctionalGroup object that has all its values multiplied by scalar.

Arguments

scalar

float to multiply all FG parameters with.

fg

Functional group whose parameters are to be multiplied.

Examples

Run this code
fg = FunctionalGroup$new()
3.1 * fg
0 * fg

Run the code above in your browser using DataLab