#include "dMatrix.h"
#include "CMatrix.h"
#include "quit.h"
#include "defun-dld.h"
#include "error.h"
#include "oct-obj.h"
Functions | |
void | kron (const Array2< double > &, const Array2< double > &, Array2< double > &) |
void | kron (const Array2< Complex > &, const Array2< Complex > &, Array2< Complex > &) |
void | kron (const Array2< float > &, const Array2< float > &, Array2< float > &) |
void | kron (const Array2< FlaotComplex > &, const Array2< FloatComplex > &, Array2< FloatComplex > &) |
template<class T > | |
void | kron (const Array2< T > &A, const Array2< T > &B, Array2< T > &C) |
template void | kron (const Array2< FloatComplex > &, const Array2< FloatComplex > &, Array2< FloatComplex > &) |
void | kron (const Sparse< double > &, const Sparse< double > &, Sparse< double > &) |
void | kron (const Sparse< Complex > &, const Sparse< Complex > &, Sparse< Complex > &) |
template<class T > | |
void | kron (const Sparse< T > &A, const Sparse< T > &B, Sparse< T > &C) |
DEFUN_DLD (kron, args, nargout,"-*- 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") |
DEFUN_DLD | ( | kron | , | |
args | , | |||
nargout | ||||
) |
void kron | ( | const Sparse< T > & | A, | |
const Sparse< T > & | B, | |||
Sparse< T > & | C | |||
) | [inline] |
template void kron | ( | const Array2< FloatComplex > & | , | |
const Array2< FloatComplex > & | , | |||
Array2< FloatComplex > & | ||||
) |
void kron | ( | const Array2< T > & | A, | |
const Array2< T > & | B, | |||
Array2< T > & | C | |||
) | [inline] |
void kron | ( | const Array2< FlaotComplex > & | , | |
const Array2< FloatComplex > & | , | |||
Array2< FloatComplex > & | ||||
) |