smultiply.list: smultiply.list function

View source: R/lgcpMethods.R

smultiply.listR Documentation

smultiply.list function

Description

This function multiplies each element of a list by a scalar constant.

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]]


lgcp documentation built on Oct. 3, 2023, 5:08 p.m.