Navigation

Operators and Keywords

Function List:

C++ API

MDiagArray2.cc File Reference

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

Include dependency graph for MDiagArray2.cc:

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


Defines

#define MARRAY_DAS_OP(OP, FN)
#define MARRAY_DADA_OP(FCN, OP, FN)

Functions

template<class T >
MDiagArray2< T > & operator+= (MDiagArray2< T > &a, const MDiagArray2< T > &b)
template<class T >
MDiagArray2< T > & operator-= (MDiagArray2< T > &a, const MDiagArray2< T > &b)
template<class T >
MDiagArray2< Toperator* (const T &s, const MDiagArray2< T > &a)
template<class T >
MDiagArray2< Toperator+ (const MDiagArray2< T > &a)
template<class T >
MDiagArray2< Toperator- (const MDiagArray2< T > &a)

Define Documentation

#define MARRAY_DADA_OP ( FCN,
OP,
FN   ) 

Value:

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

#define MARRAY_DAS_OP ( OP,
FN   ) 

Value:

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


Function Documentation

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

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

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

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

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