Rdocumentation
powered by
Learn R Programming
lgcp (version 1.0)
smultiply.list: smultiply...
Description
smultiply.list function
Usage
smultiply.list(list, const)
Arguments
list
a list of objects that could be summed using "+"
const
a numeric constant
Value
a list with ith entry the scalar multiple of const * list[[i]]
Details
This function multiplies each element of a list by a scalar constant.