GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
MDiagArray2.h File Reference
#include "octave-config.h"
#include "DiagArray2.h"
#include "MArray.h"
Include dependency graph for MDiagArray2.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MDiagArray2< T >
 Template for two dimensional diagonal array with math operators. More...
 
class  MDiagArray2< T >
 Template for two dimensional diagonal array with math operators. More...
 

Macros

#define MDIAGARRAY2_FORWARD_DEFS(B, R, T)
 

Functions

template<typename T >
MDiagArray2< T > operator* (const MDiagArray2< T > &, const T &)
 
template<typename T >
MDiagArray2< T > operator* (const T &, const MDiagArray2< T > &)
 
template<typename T >
MDiagArray2< T > operator+ (const MDiagArray2< T > &)
 
template<typename T >
MDiagArray2< T > operator+ (const MDiagArray2< T > &, const MDiagArray2< T > &)
 
template<typename T >
MDiagArray2< T > operator- (const MDiagArray2< T > &)
 
template<typename T >
MDiagArray2< T > operator- (const MDiagArray2< T > &, const MDiagArray2< T > &)
 
template<typename T >
MDiagArray2< T > operator/ (const MDiagArray2< T > &, const T &)
 
template<typename T >
MDiagArray2< T > product (const MDiagArray2< T > &, const MDiagArray2< T > &)
 

Macro Definition Documentation

◆ MDIAGARRAY2_FORWARD_DEFS

#define MDIAGARRAY2_FORWARD_DEFS (   B,
  R,
 
)

Definition at line 126 of file MDiagArray2.h.

Function Documentation

◆ operator*() [1/2]

template<typename T >
MDiagArray2<T> operator* ( const MDiagArray2< T > &  ,
const T &   
)

Definition at line 63 of file MDiagArray2.cc.

◆ operator*() [2/2]

template<typename T >
MDiagArray2<T> operator* ( const T &  ,
const MDiagArray2< T > &   
)

Definition at line 70 of file MDiagArray2.cc.

References a, mx_inline_mul(), and s.

◆ operator+() [1/2]

template<typename T >
MDiagArray2<T> operator+ ( const MDiagArray2< T > &  )

Definition at line 97 of file MDiagArray2.cc.

References a.

◆ operator+() [2/2]

template<typename T >
MDiagArray2<T> operator+ ( const MDiagArray2< T > &  ,
const MDiagArray2< T > &   
)

Definition at line 89 of file MDiagArray2.cc.

◆ operator-() [1/2]

template<typename T >
MDiagArray2<T> operator- ( const MDiagArray2< T > &  )

Definition at line 104 of file MDiagArray2.cc.

References a, and mx_inline_uminus().

◆ operator-() [2/2]

template<typename T >
MDiagArray2<T> operator- ( const MDiagArray2< T > &  ,
const MDiagArray2< T > &   
)

Definition at line 90 of file MDiagArray2.cc.

◆ operator/()

template<typename T >
MDiagArray2<T> operator/ ( const MDiagArray2< T > &  ,
const T &   
)

Definition at line 64 of file MDiagArray2.cc.

◆ product()

template<typename T >
MDiagArray2<T> product ( const MDiagArray2< T > &  ,
const MDiagArray2< T > &   
)

Definition at line 91 of file MDiagArray2.cc.