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

Public Member Functions

function ConstantPower (dim_input, power)
 obj = ConstantPower(dim_input, power) returns a DrakeFunction that raises its input elementwise to the given power More...
 
function eval (obj, x)
 

Public Attributes

Property power
 

Constructor & Destructor Documentation

function ConstantPower ( dim_input  ,
power   
)

obj = ConstantPower(dim_input, power) returns a DrakeFunction that raises its input elementwise to the given power

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

Member Function Documentation

function eval ( obj  ,
 
)
Return values
f
df

Member Data Documentation

Property power

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