Navigation

Operators and Keywords

Function List:

C++ API

MArray2.cc File Reference

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

Include dependency graph for MArray2.cc:

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


Defines

#define MARRAY_A2S_OP(OP, FN)
#define MARRAY_SA2_OP(OP, FN)
#define MARRAY_A2A2_OP(FCN, OP, FN)

Functions

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

Define Documentation

#define MARRAY_A2A2_OP ( FCN,
OP,
FN   ) 

Value:

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

#define MARRAY_A2S_OP ( OP,
FN   ) 

Value:

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

#define MARRAY_SA2_OP ( OP,
FN   ) 

Value:

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


Function Documentation

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

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

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

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

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

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

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

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

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

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