GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
Sparse-diag-op-defs.h File Reference
#include "octave-config.h"
#include "lo-array-errwarn.h"

Go to the source code of this file.

Classes

struct  identity_val< T >
 

Functions

template<typename RT , typename DM , typename SM >
RT do_add_dm_sm (const DM &d, const SM &a)
 
template<typename RT , typename SM , typename DM >
RT do_add_sm_dm (const SM &a, const DM &d)
 
template<typename RT , typename DM , typename SM >
RT do_commutative_add_dm_sm (const DM &d, const SM &a)
 
template<typename RT , typename DM , typename SM >
RT do_mul_dm_sm (const DM &d, const SM &a)
 
template<typename RT , typename SM , typename DM >
RT do_mul_sm_dm (const SM &a, const DM &d)
 
template<typename RT , typename DM , typename SM >
RT do_sub_dm_sm (const DM &d, const SM &a)
 
template<typename RT , typename SM , typename DM >
RT do_sub_sm_dm (const SM &a, const DM &d)
 
template<typename RT , typename SM , typename DM , typename OpA , typename OpD >
RT inner_do_add_sm_dm (const SM &a, const DM &d, OpA opa, OpD opd)
 

Function Documentation

◆ do_add_dm_sm()

template<typename RT , typename DM , typename SM >
RT do_add_dm_sm ( const DM &  d,
const SM &  a 
)

Definition at line 184 of file Sparse-diag-op-defs.h.

References d, and err_nonconformant().

◆ do_add_sm_dm()

template<typename RT , typename SM , typename DM >
RT do_add_sm_dm ( const SM &  a,
const DM &  d 
)

Definition at line 206 of file Sparse-diag-op-defs.h.

References d, and err_nonconformant().

◆ do_commutative_add_dm_sm()

template<typename RT , typename DM , typename SM >
RT do_commutative_add_dm_sm ( const DM &  d,
const SM &  a 
)

Definition at line 175 of file Sparse-diag-op-defs.h.

References d.

◆ do_mul_dm_sm()

template<typename RT , typename DM , typename SM >
RT do_mul_dm_sm ( const DM &  d,
const SM &  a 
)

Definition at line 36 of file Sparse-diag-op-defs.h.

References d, err_nonconformant(), and r.

◆ do_mul_sm_dm()

template<typename RT , typename SM , typename DM >
RT do_mul_sm_dm ( const SM &  a,
const DM &  d 
)

Definition at line 72 of file Sparse-diag-op-defs.h.

References d, err_nonconformant(), and r.

◆ do_sub_dm_sm()

template<typename RT , typename DM , typename SM >
RT do_sub_dm_sm ( const DM &  d,
const SM &  a 
)

Definition at line 194 of file Sparse-diag-op-defs.h.

References d, and err_nonconformant().

◆ do_sub_sm_dm()

template<typename RT , typename SM , typename DM >
RT do_sub_sm_dm ( const SM &  a,
const DM &  d 
)

Definition at line 216 of file Sparse-diag-op-defs.h.

References d, and err_nonconformant().

◆ inner_do_add_sm_dm()

template<typename RT , typename SM , typename DM , typename OpA , typename OpD >
RT inner_do_add_sm_dm ( const SM &  a,
const DM &  d,
OpA  opa,
OpD  opd 
)

Definition at line 117 of file Sparse-diag-op-defs.h.

References d, min(), n, and r.