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

Public Member Functions

function DrakeFunctionConstraint (lb, ub, fcn)
 
function setSparseStructure (obj, iCfun, jCvar)
 set the sparse structure of the 1st order gradient matrix More...
 
- Public Member Functions inherited from Constraint
function Constraint (lb, ub, xdim, options)
 Constraint(lb,ub) or Constraint(lb,ub,eval_handle) More...
 
function setSparseStructure (obj, iCfun, jCvar)
 set the sparse structure of the 1st order gradient matrix More...
 
function getGradientSparseStructure (obj)
 
function checkGradient (obj, tol, varargin)
 Check the accuracy and sparsity pattern of the gradient. More...
 
function setName (obj, name)
 
function disp (obj)
 
function eval (obj, varargin)
 
function setBounds (obj, lb, ub)
 revise the bounds for the constraint More...
 

Protected Member Functions

function constraintEval (obj, x)
 
- Protected Member Functions inherited from Constraint
virtual function constraintEval (obj, varargin)
 

Additional Inherited Members

- Public Attributes inherited from Constraint
Property grad_level
 
Property grad_method
 A string indicating the method to compute gradient. If empty,. More...
 
- Protected Attributes inherited from Constraint
Property lb
 
Property ub
 
Property xdim
 
Property num_cnstr
 
Property name
 
Property ceq_idx
 
Property cin_idx
 

Constructor & Destructor Documentation

function DrakeFunctionConstraint ( lb  ,
ub  ,
fcn   
)
Return values
obj

Member Function Documentation

function constraintEval ( obj  ,
 
)
protected
Return values
varargout
function setSparseStructure ( obj  ,
iCfun  ,
jCvar   
)

set the sparse structure of the 1st order gradient matrix

Parameters
iCfun– An int vector. The row index of non-zero entries of the gradient matrix
jCvar– An int vector. The column index of the non-zero entries of the gradient matrix
Return values
obj

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