Navigation

Operators and Keywords

Function List:

C++ API

MArray.cc File Reference

#include "MArray.h"
#include "Array-util.h"
#include "lo-error.h"
#include "MArray-defs.h"

Include dependency graph for MArray.cc:

This graph shows which files directly or indirectly include this file:


Classes

struct  _idxadds_helper< T >
struct  _idxadda_helper< T >

Defines

#define MARRAY_AS_OP(OP, FN)
#define MARRAY_SA_OP(OP, FN)
#define MARRAY_AA_OP(FCN, OP, FN)

Functions

template<class T >
MArray< T > & operator+= (MArray< T > &a, const T &s)
template<class T >
MArray< T > & operator-= (MArray< T > &a, const T &s)
template<class T >
MArray< T > & operator*= (MArray< T > &a, const T &s)
template<class T >
MArray< T > & operator/= (MArray< T > &a, const T &s)
template<class T >
MArray< T > & operator+= (MArray< T > &a, const MArray< T > &b)
template<class T >
MArray< T > & operator-= (MArray< T > &a, const MArray< T > &b)
template<class T >
MArray< T > & product_eq (MArray< T > &a, const MArray< T > &b)
template<class T >
MArray< T > & quotient_eq (MArray< T > &a, const MArray< T > &b)
template<class T >
MArray< Toperator+ (const MArray< T > &a)
template<class T >
MArray< Toperator- (const MArray< T > &a)

Define Documentation

#define MARRAY_AA_OP ( FCN,
OP,
FN   ) 

Value:

template <class T> \
  MArray<T> \
  FCN (const MArray<T>& a, const MArray<T>& b) \
  { \
    return do_mm_binary_op<MArray<T>, MArray<T>, MArray<T> > (a, b, FN, #FCN); \
  }

#define MARRAY_AS_OP ( OP,
FN   ) 

Value:

template <class T> \
  MArray<T> \
  operator OP (const MArray<T>& a, const T& s) \
  { \
    return do_ms_binary_op<MArray<T>, MArray<T>, T> (a, s, FN); \
  }

#define MARRAY_SA_OP ( OP,
FN   ) 

Value:

template <class T> \
  MArray<T> \
  operator OP (const T& s, const MArray<T>& a) \
  { \
    return do_sm_binary_op<MArray<T>, T, MArray<T> > (s, a, FN); \
  }


Function Documentation

template<class T >
MArray<T>& operator*= ( MArray< T > &  a,
const T s 
) [inline]

template<class T >
MArray<T> operator+ ( const MArray< T > &  a  )  [inline]

template<class T >
MArray<T>& operator+= ( MArray< T > &  a,
const MArray< T > &  b 
) [inline]

template<class T >
MArray<T>& operator+= ( MArray< T > &  a,
const T s 
) [inline]

template<class T >
MArray<T> operator- ( const MArray< T > &  a  )  [inline]

template<class T >
MArray<T>& operator-= ( MArray< T > &  a,
const MArray< T > &  b 
) [inline]

template<class T >
MArray<T>& operator-= ( MArray< T > &  a,
const T s 
) [inline]

template<class T >
MArray<T>& operator/= ( MArray< T > &  a,
const T s 
) [inline]

template<class T >
MArray<T>& product_eq ( MArray< T > &  a,
const MArray< T > &  b 
) [inline]

template<class T >
MArray<T>& quotient_eq ( MArray< T > &  a,
const MArray< T > &  b 
) [inline]