34 #ifndef ACADO_TOOLKIT_EXPORT_ARITHMETIC_STATEMENT_HPP 35 #define ACADO_TOOLKIT_EXPORT_ARITHMETIC_STATEMENT_HPP 111 const std::string& _realString =
"real_t",
112 const std::string& _intString =
"int",
127 const std::string& _realString =
"real_t",
128 const std::string& _intString =
"int",
151 const std::string& _sign =
"+",
152 const std::string& _realString =
"real_t",
153 const std::string& _intString =
"int" 168 bool transposeRhs1 =
false,
169 const std::string& _realString =
"real_t",
170 const std::string& _intString =
"int" 185 const std::string& _op =
"=",
186 const std::string& _realString =
"real_t",
187 const std::string& _intString =
"int" 216 #endif // ACADO_TOOLKIT_EXPORT_ARITHMETIC_STATEMENT_HPP ExportStatementOperator op2
ExportArithmeticStatement & allocate(MemoryAllocatorPtr allocator)
Allows to pass back messages to the calling function.
BEGIN_NAMESPACE_ACADO typedef unsigned int uint
returnValue exportCodeAddSubtract(std::ostream &stream, const std::string &_sign="+", const std::string &_realString="real_t", const std::string &_intString="int") const
ExportStatementOperator op1
MemoryAllocatorPtr memAllocator
#define CLOSE_NAMESPACE_ACADO
returnValue exportCodeAssign(std::ostream &stream, const std::string &_op="=", const std::string &_realString="real_t", const std::string &_intString="int") const
Allows to export code of different arithmetic statements.
virtual returnValue exportCode(std::ostream &stream, const std::string &_realString="real_t", const std::string &_intString="int", int _precision=16) const
std::string getAssignString() const
returnValue exportCodeMultiply(std::ostream &stream, bool transposeRhs1=false, const std::string &_realString="real_t", const std::string &_intString="int") const
virtual ~ExportArithmeticStatement()
Base class for all kind of statements to be exported by the code generation tool. ...
#define BEGIN_NAMESPACE_ACADO
virtual returnValue exportDataDeclaration(std::ostream &stream, const std::string &_realString="real_t", const std::string &_intString="int", int _precision=16) const
ExportStatementOperator op0
ExportArithmeticStatement()
virtual ExportStatement * clone() const
std::shared_ptr< MemoryAllocator > MemoryAllocatorPtr
Defines a matrix-valued variable to be used for exporting code.