#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-dld.h"
#include "error.h"
#include "oct-obj.h"
Defines | |
#define | ALL_TYPES(AMT, BMT) } while (0) \ |
Functions | |
template<class MTA , class MTB > | |
octave_value | do_kron (const octave_value &a, const octave_value &b) |
DEFUN_DLD (kron, args,,"-*- texinfo -*-\n\ @deftypefn {Loadable Function} {} kron (@var{A}, @var{B})\n\ Form the Kronecker product of two matrices, defined block by block as\n\ \n\ @example\n\ x = [a(i, j) b]\n\ @end example\n\ \n\ For example:\n\ \n\ @example\n\ @group\n\ kron (1:4, ones (3, 1))\n\ @result{} 1 2 3 4\n\ 1 2 3 4\n\ 1 2 3 4\n\ @end group\n\ @end example\n\ @end deftypefn") |
#define ALL_TYPES | ( | AMT, | ||
BMT | ||||
) | } while (0) \ |
DEFUN_DLD | ( | kron | , | |
args | ||||
) |
octave_value do_kron | ( | const octave_value & | a, | |
const octave_value & | b | |||
) |