|
TVM
0.9.4
|
#include <tvm/constraint/internal/RHSVectors.h>
Public Member Functions | |
| RHSVectors (Type ct, RHS cr) | |
| void | resize (int n) |
| Eigen::VectorXd & | l () |
| const Eigen::VectorXd & | l () const |
| Eigen::VectorXd & | u () |
| const Eigen::VectorXd & | u () const |
| Eigen::VectorXd & | e () |
| const Eigen::VectorXd & | e () const |
| Eigen::VectorXd & | rhs (Type t) |
| const Eigen::VectorXd & | rhs (Type t) const |
| bool | use_l () const |
| bool | use_u () const |
| bool | use_e () const |
This class manages the vectors l, u and e that appear in the various types of constraints.
Create a instance for the given conventions
| ct | The constraint type |
| cr | The type of "right hand side" |
|
inline |
Return vector e
e is in use
|
inline |
Return vector e (const version)
e is in use
|
inline |
Return vector l
l is in use
|
inline |
Return vector l (const version)
l is in use | void tvm::constraint::internal::RHSVectors::resize | ( | int | n | ) |
Resize the vectors used to size n.
|
inline |
Return the vector specified by t:
|
inline |
Return the vector specified by t (const version):
|
inline |
Return vector u
u is in use
|
inline |
Return vector u(const version)
u is in use
|
inline |
Check if e is used.
|
inline |
Check if l is used.
|
inline |
Check if u is used.