LmiExpr.LmiExpr()¶
Default constructor of a LMI expression.
Synopsis
LmiExpr()
LmiExpr.LmiExpr()¶
Constructor of LMI expression with constant term.
Synopsis
LmiExpr(SymMatrix mat)Arguments
mat: symmetric matrix object.
LmiExpr.LmiExpr()¶
Constructor of LMI expression with constant term.
Synopsis
LmiExpr(SymMatExpr expr)Arguments
expr: matrix expression object.
LmiExpr.LmiExpr()¶
Constructor of LMI expression with one term.
Synopsis
LmiExpr(Var var, SymMatrix mat)Arguments
var: variable of the added term.
mat: coefficient matrix of the added term.
LmiExpr.LmiExpr()¶
Constructor of LMI expression with one term.
Synopsis
LmiExpr(Var var, SymMatExpr expr)Arguments
var: variable of the added term.
expr: coefficient expression of symmetric matrices of new LMI term.
LmiExpr.addConstant()¶
Add to constant term of the LMI expression.
Synopsis
void addConstant(SymMatExpr expr)Arguments
expr: matrix expression added to the constant term.
LmiExpr.addLmiExpr()¶
Add an LMI expression to self.
Synopsis
void addLmiExpr(LmiExpr expr)Arguments
expr: LMI expression to be added.
LmiExpr.addLmiExpr()¶
Add an LMI expression to self.
Synopsis
void addLmiExpr(LmiExpr expr, double mult)Arguments
expr: LMI expression to be added.
mult: multiplier constant.
LmiExpr.addTerm()¶
Add an LMI term to LMI expression object.
Synopsis
void addTerm(Var var, SymMatrix mat)Arguments
var: LMI variable of new LMI term.
mat: coefficient matrix of new LMI term.
LmiExpr.addTerm()¶
Add an LMI term to LMI expression object.
Synopsis
void addTerm(Var var, SymMatExpr expr)Arguments
var: variable of new LMI term.
expr: coefficient expression of symmetric matrices of new LMI term.
LmiExpr.addTerms()¶
Add LMI terms to LMI expression object.
Synopsis
void addTerms(VarArray vars, SymMatrixArray mats)Arguments
vars: variables for added LMI terms.
mats: coefficient matrices for added LMI terms.
LmiExpr.addTerms()¶
Add LMI terms to LMI expression object.
Synopsis
void addTerms(Var[] vars, SymMatrix[] mats)Arguments
vars: variables for added LMI terms.
mats: coefficient matrices for added LMI terms.
LmiExpr.clone()¶
Deep copy LMI expression.
Synopsis
LmiExpr clone()Return
cloned LMI expression object.
LmiExpr.getCoeff()¶
Get coefficient from the i-th term in LMI expression.
Synopsis
SymMatExpr getCoeff(int i)Arguments
i: index of the LMI term.Return
coefficient expression of the i-th LMI term.
LmiExpr.getConstant()¶
Get constant term in LMI expression.
Synopsis
SymMatExpr getConstant()Return
symmetric matrix expression object.
LmiExpr.getVar()¶
Get variable from the i-th term in LMI expression.
Synopsis
Var getVar(int i)Arguments
i: index of the term.Return
variable of the i-th term in LMI expression object.
LmiExpr.multiply()¶
Multiply a double constant by itself.
Synopsis
void multiply(double c)Arguments
c: constant muliplier.
LmiExpr.remove()¶
Remove i-th term from LMI expression object.
Synopsis
void remove(int idx)Arguments
idx: index of the term to be removed.
LmiExpr.remove()¶
Remove the term associated with variable from LMI expression.
Synopsis
void remove(Var var)Arguments
var: variable whose term should be removed.
LmiExpr.setCoeff()¶
Set coefficient matrix of the i-th term in LMI expression.
Synopsis
void setCoeff(int i, SymMatrix mat)Arguments
i: index of the LMI term.
mat: coefficient matrix of the term.
LmiExpr.setConstant()¶
Set constant term of the LMI expression.
Synopsis
void setConstant(SymMatrix mat)Arguments
mat: symmetric matrix of the constant term.
LmiExpr.size()¶
Get number of LMI terms in expression.
Synopsis
long size()Return
number of LMI terms.