multiply: Multiply two numbers.

Description Usage Arguments Details Value QA warning See Also Examples

View source: R/multiply.R

Description

multiply returns the product of its two arguments.

Usage

1
multiply(a, b)

Arguments

a

A number.

b

A number.

Details

This is an inconvenience function that achieves exactly the same as the "*" operator, which it uses internally, but with more characters to type.

Value

The product of x and y. It will be cast to the most general type of its arguments.

QA warning

Actually using this function instead of "*" will get you in trouble with QA.

See Also

prod for products, * for the arithmetic operator.

Examples

1
2
3
multiply(1, 1)
multiply(1i, 1i)
multiply(13, 3)

hyginn/ekplektoR documentation built on May 17, 2019, 9:16 p.m.