#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 "ovl.h"
Go to the source code of this file.
Functions | |
octave_value | dispatch_kron (const octave_value &a, const octave_value &b) |
template<typename MTA , typename 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<typename R , typename T > | |
static MArray< T > | kron (const MArray< R > &a, const MArray< T > &b) |
template<typename R , typename T > | |
static MArray< T > | kron (const MDiagArray2< R > &a, const MArray< T > &b) |
template<typename T > | |
static MSparse< T > | kron (const MSparse< T > &A, const MSparse< T > &B) |
static PermMatrix | kron (const PermMatrix &a, const PermMatrix &b) |
octave_value dispatch_kron | ( | const octave_value & | a, |
const octave_value & | b | ||
) |
Definition at line 175 of file kron.cc.
References octave_value::columns(), octave_value::diag(), octave_value::is_diag_matrix(), octave_value::is_perm_matrix(), octave_value::is_single_type(), octave_value::iscomplex(), octave_value::issparse(), and octave_value::rows().
Referenced by Fkron().
octave_value do_kron | ( | const octave_value & | a, |
const octave_value & | b | ||
) |
Definition at line 166 of file kron.cc.
References kron(), and octave_value().
OCTAVE_EXPORT octave_value_list Fkron | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 278 of file kron.cc.
References dispatch_kron(), and print_usage().
|
static |
Definition at line 56 of file kron.cc.
References Array< T, Alloc >::cols(), Array< T, Alloc >::data(), error_unless(), Array< T, Alloc >::fortran_vec(), mx_inline_mul(), Array< T, Alloc >::ndims(), and Array< T, Alloc >::rows().
Referenced by do_kron().
|
static |
Definition at line 87 of file kron.cc.
References Array< T, Alloc >::cols(), DiagArray2< T >::cols(), Array< T, Alloc >::data(), DiagArray2< T >::dgelem(), DiagArray2< T >::diag_length(), error_unless(), mx_inline_mul(), Array< T, Alloc >::ndims(), Array< T, Alloc >::rows(), DiagArray2< T >::rows(), and Array< T, Alloc >::xelem().
|
static |
Definition at line 146 of file kron.cc.
References PermMatrix::col_perm_vec(), PermMatrix, PermMatrix::rows(), and Array< T, Alloc >::xelem().