ConstraintGeneration.Constraint Class Reference

Public Member Functions

def __init__ (self, name, n)
def __getitem__ (self, index)
def getVars (self)
def getConstraints (self)
def addConstraint (self, f)
def jacobian (self)
def funcCode (self)
def jacCode (self)
def toCode (self)

Public Attributes


Detailed Description

Definition at line 24 of file

Member Function Documentation

◆ __getitem__()

def ConstraintGeneration.Constraint.__getitem__ (   self,
Return the index^th variable.

Definition at line 32 of file

◆ addConstraint()

def ConstraintGeneration.Constraint.addConstraint (   self,
Add some symbolic function of variables to the list of constraints.

Definition at line 44 of file

◆ getConstraints()

def ConstraintGeneration.Constraint.getConstraints (   self)
Create a constraint function vector.

Definition at line 40 of file

◆ getVars()

def ConstraintGeneration.Constraint.getVars (   self)
Create a variable vector.

Definition at line 36 of file

◆ jacobian()

def ConstraintGeneration.Constraint.jacobian (   self)
Compute the Jacobian of the current list of constraints.

Definition at line 48 of file

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