Navigation

Operators and Keywords

Function List:

C++ API

MArrayN.cc File Reference

#include "MArrayN.h"
#include "Array-util.h"
#include "lo-error.h"
#include "MArray-defs.h"
#include "mx-inlines.cc"

Include dependency graph for MArrayN.cc:

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


Defines

#define MARRAY_NDS_OP(OP, FN)
#define MARRAY_SND_OP(OP, FN)
#define MARRAY_NDND_OP(FCN, OP, FN)

Functions

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

Define Documentation

#define MARRAY_NDND_OP ( FCN,
OP,
FN   ) 

Value:

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

#define MARRAY_NDS_OP ( OP,
FN   ) 

Value:

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

#define MARRAY_SND_OP ( OP,
FN   ) 

Value:

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


Function Documentation

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

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

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

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

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

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

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

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

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

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