LmiExpr.LmiExpr()

Default constructor of 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 matrix expression.

Synopsis

LmiExpr(SymMatExpr expr)

Arguments

expr: symmetric matrix expression.

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, double mult)

Arguments

expr: LMI expression to be added.

mult: optional, constant multiplier, default value is 1.0.

LmiExpr.AddTerm()

Add a term to LMI expression object.

Synopsis

void AddTerm(Var var, SymMatrix mat)

Arguments

var: variable of new LMI term.

mat: coefficient matrix of new LMI term.

LmiExpr.AddTerm()

Add a 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 multiplier.

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: a 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.