Drake
 All Classes Files Functions Variables
ConstantMultiple Class Reference
Inheritance diagram for ConstantMultiple:
Collaboration diagram for ConstantMultiple:

Public Member Functions

function ConstantMultiple (dim_input, value)
 obj = ConstantMultiple(dim_input, value) returns a drakeFunction.Linear that multiplies its input elementwise by the given value. More...
 

Constructor & Destructor Documentation

function ConstantMultiple ( dim_input  ,
value   
)

obj = ConstantMultiple(dim_input, value) returns a drakeFunction.Linear that multiplies its input elementwise by the given value.

Parameters
dim_input– Length of the input vector
value– Numeric scalar or vector. The output of the returned function is value.*x
Return values
obj– drakeFunction.Linear object

The documentation for this class was generated from the following file: