GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#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"
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) |
octave_value dispatch_kron | ( | const octave_value & | a, |
const octave_value & | b | ||
) |
Definition at line 176 of file kron.cc.
References octave_value::columns(), octave_value::diag(), octave_value::is_complex_type(), octave_value::is_diag_matrix(), octave_value::is_perm_matrix(), octave_value::is_single_type(), octave_value::is_sparse_type(), and octave_value::rows().
Referenced by Fkron().
octave_value do_kron | ( | const octave_value & | a, |
const octave_value & | b | ||
) |
Definition at line 168 of file kron.cc.
References kron(), and octave_value().
OCTAVE_EXPORT octave_value_list Fkron | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 277 of file kron.cc.
References dispatch_kron(), octave_value::length(), and print_usage().
|
static |
Definition at line 53 of file kron.cc.
References Array< T >::cols(), Array< T >::data(), Array< T >::fortran_vec(), mx_inline_mul(), Array< T >::ndims(), and Array< T >::rows().
Referenced by do_kron(), and install_kron_fcns().
|
static |
Definition at line 78 of file kron.cc.
References DiagArray2< T >::cols(), Array< T >::cols(), Array< T >::data(), DiagArray2< T >::dgelem(), DiagArray2< T >::diag_length(), mx_inline_mul(), Array< T >::ndims(), DiagArray2< T >::rows(), Array< T >::rows(), and Array< T >::xelem().
Definition at line 100 of file kron.cc.
References C, Sparse< T >::cidx(), Sparse< T >::columns(), Sparse< T >::data(), Sparse< T >::nnz(), Sparse< T >::ridx(), and Sparse< T >::rows().
|
static |
Definition at line 130 of file kron.cc.
References PermMatrix::data(), PermMatrix::fortran_vec(), PermMatrix::is_col_perm(), and PermMatrix::rows().