RobWorkProject  23.9.11-
Static Public Member Functions | List of all members
RawArrayUtil Class Reference

Utility for the RawArray type. More...

#include <RawArray.hpp>

Static Public Member Functions

static std::size_t detectDimensions (const Mathematica::FunctionBase &exp)
 Detect the dimensions of an array given as an expression. More...
 
template<typename T >
static Mathematica::Symbol::Ptr getType ()
 Get the type of array. More...
 
template<>
Mathematica::Symbol::Ptr getType ()
 Construct Byte symbol from unsigned char. More...
 

Detailed Description

Utility for the RawArray type.

Member Function Documentation

◆ detectDimensions()

static std::size_t detectDimensions ( const Mathematica::FunctionBase exp)
static

Detect the dimensions of an array given as an expression.

Parameters
exp[in] the expression.
Returns
the dimensions.

◆ getType()

static Mathematica::Symbol::Ptr getType ( )
inlinestatic

Get the type of array.

Returns
a symbol with the data type.

The documentation for this class was generated from the following file: