46 const std::string& _commonHeaderName
67 return init(newDim, newDim, newDim, 0, reuse, unrolling, std::string(
"dim" ) +
toString( newDim ) +
"_");
71 const unsigned _nRightHandSides,
76 return init(newDim, newDim, newDim, _nRightHandSides, reuse, unroll, std::string(
"dim" ) +
toString( newDim ) +
"_");
82 const bool& unrolling,
83 const std::string& newId
86 return init(newDim, newDim, newDim, 0, reuse, unrolling, newId);
91 unsigned _nBacksolves,
94 const std::string& _id
97 return init(_nRows, _nCols, _nBacksolves, 0, _reuse, _unroll, _id);
102 unsigned _nBacksolves,
103 unsigned _nRightHandSides,
106 const std::string& _id
177 return string(
"solve_" ) +
identifier +
"system";
183 return string(
"solve_" ) +
identifier +
"system_reuse";
189 return string(
"solve_" ) +
identifier +
"transpose_reuse";
returnValue setUnrolling(const bool &unrolling)
const std::string getNameSolveTransposeReuseFunction()
returnValue setTranspose(const bool &transpose)
virtual ExportVariable getGlobalExportVariable(const uint factor) const
Allows to pass back messages to the calling function.
BEGIN_NAMESPACE_ACADO typedef unsigned int uint
string toString(T const &value)
#define CLOSE_NAMESPACE_ACADO
ExportVariable determinant
virtual ~ExportLinearSolver()
Allows to export automatically generated algorithms for fast model predictive control.
bool getUnrolling() const
const std::string getNameSolveReuseFunction()
bool getTranspose() const
ExportLinearSolver(UserInteraction *_userInteraction=0, const std::string &_commonHeaderName="")
Encapsulates all user interaction for setting options, logging data and plotting results.
returnValue setReuse(const bool &reuse)
virtual returnValue setup()=0
const std::string getNameSolveFunction()
#define BEGIN_NAMESPACE_ACADO
returnValue init(const uint newDim, const bool &reuse=true, const bool &unrolling=false)
Defines a matrix-valued variable to be used for exporting code.