34 #ifndef ACADO_TOOLKIT_EXPORT_VARIABLE_INTERNAL_HPP 35 #define ACADO_TOOLKIT_EXPORT_VARIABLE_INTERNAL_HPP 88 bool _callItByValue =
false,
89 const std::string& _prefix = std::string()
311 unsigned _rowDim = 0,
312 unsigned _colDim = 0,
347 #endif // ACADO_TOOLKIT_EXPORT_VARIABLE_INTERNAL_HPP
ExportVariable getRow(const ExportIndex &idx) const
virtual uint getDim() const
bool isOne(const ExportIndex &rowIdx, const ExportIndex &colIdx) const
ExportVariable makeRowVector() const
returnValue setSubmatrixOffsets(const ExportIndex &_rowOffset, const ExportIndex &_colOffset, unsigned _rowDim=0, unsigned _colDim=0, unsigned _nRows=0, unsigned _nCols=0)
Allows to pass back messages to the calling function.
std::shared_ptr< GenericMatrix< double > > DMatrixPtr
BEGIN_NAMESPACE_ACADO typedef unsigned int uint
ExportVariable getRows(const ExportIndex &idx1, const ExportIndex &idx2) const
returnValue print() const
virtual ~ExportVariableInternal()
Defines a matrix-valued variable to be used for exporting code.
#define CLOSE_NAMESPACE_ACADO
virtual ExportIndex getTotalIdx(const ExportIndex &rowIdx, const ExportIndex &colIdx) const
Defines a scalar-valued index variable to be used for exporting code.
virtual uint getNumCols() const
Allows to export code of different arithmetic statements.
bool isZero(const ExportIndex &rowIdx, const ExportIndex &colIdx) const
Defines a matrix-valued variable that can be passed as argument to exported functions.
virtual uint getColDim() const
virtual uint getNumRows() const
ExportVariable getTranspose() const
const DMatrix & getGivenMatrix() const
bool hasValue(const ExportIndex &_rowIdx, const ExportIndex &_colIdx, double _value) const
ExportVariable getSubMatrix(const ExportIndex &_rowIdx1, const ExportIndex &_rowIdx2, const ExportIndex &_colIdx1, const ExportIndex &_colIdx2) const
#define BEGIN_NAMESPACE_ACADO
virtual bool isGiven() const
virtual ExportVariableInternal * clone() const
ExportVariable makeColVector() const
ExportVariable getCols(const ExportIndex &idx1, const ExportIndex &idx2) const
ExportVariable getCol(const ExportIndex &idx) const
Defines a matrix-valued variable to be used for exporting code.