GNU Octave  9.1.0
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"

Go to the source code of this file.

Classes

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 132 of file MDiagArray2.h.

Function Documentation

◆ operator*() [1/2]

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

Definition at line 118 of file MDiagArray2.cc.

◆ operator*() [2/2]

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

Definition at line 122 of file MDiagArray2.cc.

◆ operator+() [1/2]

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

Definition at line 115 of file MDiagArray2.cc.

◆ operator+() [2/2]

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

Definition at line 124 of file MDiagArray2.cc.

◆ operator-() [1/2]

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

Definition at line 116 of file MDiagArray2.cc.

◆ operator-() [2/2]

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

Definition at line 126 of file MDiagArray2.cc.

◆ operator/()

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

Definition at line 120 of file MDiagArray2.cc.

◆ product()

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

Definition at line 127 of file MDiagArray2.cc.