muladd: Combine multiply and add using muladdpow

Description Usage Arguments Value Examples

View source: R/muladd.R

Description

Function that multiplies two numbers together and adds a third using the existing muladdpow() function

Usage

1
muladd(value, m, a)

Arguments

value

starting value to transform

m

number to multiply by

a

number to add on

Value

final calculated value

Examples

1
muladd(1, 2, 3) == 1 * 2 + 3

IBAHCM/practicalA5 documentation built on Dec. 17, 2021, 11:25 p.m.