#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) ar |
for (octave_idx_type i=2;i< nargin;i++) retval | |
this is well defined deftypefn * | if (nargin< 2) print_usage() |
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) |
Variables | |
octave_value | a = args(0) |
ar {An} the Kronecker product is computed as xample kron (kron (ar{A1}, ar{A2}), ots{}, ar{An}) nd example oindent Since the Kronecker product is associative | |
octave_value | b = args(1) |
ots {} | |
octave_value | retval = dispatch_kron (a, b) |
octave_value dispatch_kron | ( | const octave_value & | a, |
const octave_value & | b | ||
) |
Definition at line 164 of file kron.cc.
References a, b, 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(), retval, octave_value::rows(), and tmp.
octave_value do_kron | ( | const octave_value & | a, |
const octave_value & | b | ||
) |
OCTAVE_EXPORT octave_value_list Fkron | ( | const octave_value_list & | args, |
int | |||
) |
for | ( | ) |
Definition at line 10831 of file graphics.cc.
References argv, err_disabled_feature(), error(), gh_manager::get_object(), graphics_object::has_readonly_property(), hcv, i, iscellstr, list_only, LS_BINARY, LS_HDF5, LS_MAT5_BINARY, LS_MAT7_BINARY, LS_MAT_ASCII, LS_MAT_BINARY, LS_TEXT, nargout(), Array< T >::numel(), octave_stdout, request_drawnow, retval, s, graphics_object::set(), string, transform(), graphics_object::value_as_string(), graphics_object::values_as_string(), graphics_object::values_as_struct(), verbose, and warning().
Referenced by octave::symbol_table::parent_classes(), and octave::math::sparse_qr< SPARSE_T >::sparse_qr_rep< SPARSE_T >::wide_solve().
|
static |
Definition at line 53 of file kron.cc.
References a, b, c, mx_inline_mul(), octave_value::ndims(), and octave_value::rows().
Referenced by do_kron().
|
static |
Definition at line 80 of file kron.cc.
References a, b, c, mx_inline_mul(), octave_value::ndims(), and octave_value::rows().
|
static |
Definition at line 135 of file kron.cc.
References a, b, i, octave_value::rows(), and Array< T >::xelem().
octave_value a = args(0) |
Definition at line 276 of file kron.cc.
Referenced by dispatch_kron(), do_kron(), and kron().
octave_value b = args(1) |
Definition at line 277 of file kron.cc.
Referenced by dispatch_kron(), do_kron(), and kron().
return retval = dispatch_kron (a, b) |
Definition at line 274 of file kron.cc.
Referenced by dispatch_kron().