The objective function that lrsdp is trying to optimize.
LRSDPFunction (const size_t numConstraints, const arma::mat &initialPoint)
Construct the LRSDPFunction with the given initial point and number of constraints. const std::vector< arma::mat > & A () const
Return the vector of A matrices (which correspond to the constraints). std::vector< arma::mat > & A ()
Modify the veector of A matrices (which correspond to the constraints). const arma::uvec & AModes () const
Return the vector of modes for the A matrices. arma::uvec & AModes ()
Modify the vector of modes for the A matrices. const arma::vec & B () const
Return the vector of B values. arma::vec & B ()
Modify the vector of B values. const arma::mat & C () const
Return the objective function matrix (C). arma::mat & C ()
Modify the objective function matrix (C). double Evaluate (const arma::mat &coordinates) const
Evaluate the objective function of the LRSDP (no constraints) at the given coordinates. double EvaluateConstraint (const size_t index, const arma::mat &coordinates) const
Evaluate a particular constraint of the LRSDP at the given coordinates. const arma::mat & GetInitialPoint () const
Get the initial point of the LRSDP. void Gradient (const arma::mat &coordinates, arma::mat &gradient) const
Evaluate the gradient of the LRSDP (no constraints) at the given coordinates. void GradientConstraint (const size_t index, const arma::mat &coordinates, arma::mat &gradient) const
Evaluate the gradient of a particular constraint of the LRSDP at the given coordinates. size_t NumConstraints () const
Get the number of constraints in the LRSDP. std::string ToString () const
Return string representation of object.
std::vector< arma::mat > a
A_i for each constraint. arma::uvec aModes
1 if entries in matrix, 0 for normal. arma::vec b
b_i for each constraint. arma::mat c
Objective function matrix c. arma::mat initialPoint
Initial point.
The objective function that LRSDP is trying to optimize.
Definition at line 35 of file lrsdp_function.hpp.
Construct the LRSDPFunction with the given initial point and number of constraints. Set the A, B, and C matrices for each constraint using the A(), B(), and C() functions.
Return the vector of A matrices (which correspond to the constraints).
Definition at line 83 of file lrsdp_function.hpp.
References a.
Modify the veector of A matrices (which correspond to the constraints).
Definition at line 85 of file lrsdp_function.hpp.
References a.
Return the vector of modes for the A matrices.
Definition at line 88 of file lrsdp_function.hpp.
References aModes.
Modify the vector of modes for the A matrices.
Definition at line 90 of file lrsdp_function.hpp.
References aModes.
Return the vector of B values.
Definition at line 93 of file lrsdp_function.hpp.
References b.
Modify the vector of B values.
Definition at line 95 of file lrsdp_function.hpp.
References b.
Return the objective function matrix (C).
Definition at line 78 of file lrsdp_function.hpp.
References c.
Modify the objective function matrix (C).
Definition at line 80 of file lrsdp_function.hpp.
References c.
Evaluate the objective function of the LRSDP (no constraints) at the given coordinates.
Evaluate a particular constraint of the LRSDP at the given coordinates.
Get the initial point of the LRSDP.
Definition at line 75 of file lrsdp_function.hpp.
References initialPoint.
Evaluate the gradient of the LRSDP (no constraints) at the given coordinates.
Evaluate the gradient of a particular constraint of the LRSDP at the given coordinates.
Get the number of constraints in the LRSDP.
Definition at line 72 of file lrsdp_function.hpp.
References b.
Return string representation of object.
A_i for each constraint.
Definition at line 104 of file lrsdp_function.hpp.
Referenced by A().
1 if entries in matrix, 0 for normal.
Definition at line 111 of file lrsdp_function.hpp.
Referenced by AModes().
b_i for each constraint.
Definition at line 106 of file lrsdp_function.hpp.
Referenced by B(), and NumConstraints().
Objective function matrix c.
Definition at line 102 of file lrsdp_function.hpp.
Referenced by C().
Initial point.
Definition at line 109 of file lrsdp_function.hpp.
Referenced by GetInitialPoint().
Generated automatically by Doxygen for MLPACK from the source code.