mult.Rd
mult
multiplies the first and second parameter
and returns result
mult(x, y)
x | first value for multiplication |
---|---|
y | second value for multiplication |
the result of x multiplied by y
This function does the same operation as * but by recursively adding values
mult(2,3)#> [1] 6