Drake
 All Classes Files Functions Variables
Affine Class Reference

DrakeFunction representing an affine map:

\[ f(x) = Ax + b \]

. More...

Inheritance diagram for Affine:
Collaboration diagram for Affine:

Public Member Functions

function Affine (A, b)
 obj = drakeFunction.Affine(input_frame,output_frame,A,b) returns an affine function from input_frame to output_frame More...
 
function eval (obj, x)
 
function setSparsityPattern (obj)
 
function concatenate (obj, varargin)
 
function plus (obj, varargin)
 

Public Attributes

Property A
 
Property b
 

Detailed Description

DrakeFunction representing an affine map:

\[ f(x) = Ax + b \]

.

Constructor & Destructor Documentation

function Affine ( A  ,
b   
)

obj = drakeFunction.Affine(input_frame,output_frame,A,b) returns an affine function from input_frame to output_frame

Parameters
A– [n x m] matrix where m and n are the dimension of input_frame and output_frame respectively
b– n-element column vector
Return values
obj– drakeFunction.Affine object

Member Function Documentation

function concatenate ( obj  ,
varargin   
)
Return values
fcn
function eval ( obj  ,
 
)
Return values
f
df
function plus ( obj  ,
varargin   
)
Return values
fcn
function setSparsityPattern ( obj  )
Return values
obj

Member Data Documentation

Property A
Property b

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