![]() |
RobWorkProject
23.9.11-
|
#include <Mathematica.hpp>
Inherits Mathematica::Expression.
Inherited by RawArray< T, Dim >, and RawArray< T, Dynamic >.
Public Types | |
typedef rw::core::Ptr< Array< T > > | Ptr |
Smart pointer type. | |
![]() | |
enum | Type { String , Integer , Real , Symbol , Function , Array } |
Type of expression. More... | |
typedef rw::core::Ptr< Expression > | Ptr |
Smart pointer type. | |
typedef enum rwlibs::mathematica::Mathematica::Expression::Type | Type |
Type of expression. | |
Public Member Functions | |
virtual | ~Array () |
Destructor. | |
Type | getType () const |
Get the type of expression. More... | |
virtual const int * | size () const =0 |
Get the shape as a list of integers. More... | |
virtual int | dimensions () const =0 |
Get the dimensions. More... | |
virtual const T * | data () const =0 |
Get the raw data. More... | |
![]() | |
virtual void | out (std::ostream &stream) const =0 |
Print to output stream. More... | |
virtual Expression::Ptr | clone () const =0 |
Make a copy of the expression. More... | |
Additional Inherited Members | |
![]() | |
template<typename Type > | |
static void | toList (std::list< rw::core::Ptr< Type >> &) |
Helper function for extracting a list of arguments when given as a variable number of arguments. More... | |
template<typename Type , typename Exp , typename... T> | |
static void | toList (std::list< rw::core::Ptr< Type >> &list, const Exp &r, T... t) |
Helper function for extracting a list of arguments when given as a variable number of arguments. More... | |
An Array primitive.
|
pure virtual |
Get the raw data.
Implemented in RawArray< T, Dynamic >, and RawArray< T, Dim >.
|
pure virtual |
Get the dimensions.
Implemented in RawArray< T, Dynamic >, and RawArray< T, Dim >.
|
inlinevirtual |
|
pure virtual |
Get the shape as a list of integers.
Implemented in RawArray< T, Dynamic >, and RawArray< T, Dim >.