PsdConstrArray::GetPsdConstr()
Get idx-th PSD constraint object.
Synopsis
PsdConstraint &GetPsdConstr(int idx)
Arguments
idx
: index of the PSD constraint.Return
PSD constraint object with index idx.
PsdConstrArray::PushBack()
Add a PSD constraint object to PSD constraint array.
Synopsis
void PushBack(const PsdConstraint &constr)
Arguments
constr
: a PSD constraint object.
PsdConstrArray::Reserve()
Reserve capacity to contain at least n items.
Synopsis
void Reserve(int n)
Arguments
n
: minimum capacity for PSD constraint objects.
PsdConstrArray::Size()
Get the number of PSD constraint objects.
Synopsis
int Size()
Return
number of PSD constraint objects.