GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
kron.cc File Reference
#include "dMatrix.h"
#include "fMatrix.h"
#include "CMatrix.h"
#include "fCMatrix.h"
#include "dSparse.h"
#include "CSparse.h"
#include "dDiagMatrix.h"
#include "fDiagMatrix.h"
#include "CDiagMatrix.h"
#include "fCDiagMatrix.h"
#include "PermMatrix.h"
#include "mx-inlines.cc"
#include "quit.h"
#include "defun.h"
#include "error.h"
#include "oct-obj.h"
Include dependency graph for kron.cc:

Go to the source code of this file.

Functions

octave_value dispatch_kron (const octave_value &a, const octave_value &b)
 
template<class MTA , class MTB >
octave_value do_kron (const octave_value &a, const octave_value &b)
 
OCTAVE_EXPORT octave_value_list Fkron (const octave_value_list &args, int)
 
template<class R , class T >
static MArray< T > kron (const MArray< R > &a, const MArray< T > &b)
 
template<class R , class T >
static MArray< T > kron (const MDiagArray2< R > &a, const MArray< T > &b)
 
template<class T >
static MSparse< T > kron (const MSparse< T > &A, const MSparse< T > &B)
 
static PermMatrix kron (const PermMatrix &a, const PermMatrix &b)
 

Function Documentation

octave_value dispatch_kron ( const octave_value a,
const octave_value b 
)
template<class MTA , class MTB >
octave_value do_kron ( const octave_value a,
const octave_value b 
)

Definition at line 155 of file kron.cc.

References kron(), and octave_value().

OCTAVE_EXPORT octave_value_list Fkron ( const octave_value_list args,
int   
)

Definition at line 265 of file kron.cc.

References dispatch_kron(), octave_value::length(), and print_usage().

template<class R , class T >
static MArray<T> kron ( const MArray< R > &  a,
const MArray< T > &  b 
)
static
template<class R , class T >
static MArray<T> kron ( const MDiagArray2< R > &  a,
const MArray< T > &  b 
)
static
template<class T >
static MSparse<T> kron ( const MSparse< T > &  A,
const MSparse< T > &  B 
)
static
static PermMatrix kron ( const PermMatrix a,
const PermMatrix b 
)
static

Definition at line 135 of file kron.cc.

References PermMatrix::col_perm_vec(), PermMatrix::rows(), and Array< T >::xelem().