Navigation

Operators and Keywords

Function List:

C++ API

kron.cc File Reference

#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"
Include dependency graph for kron.cc:

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 Documentation

#define ALL_TYPES (   AMT,
  BMT 
)    } while (0) \

Function Documentation

DEFUN_DLD ( kron  ,
args   
)
template<class MTA , class MTB >
octave_value do_kron ( const octave_value a,
const octave_value b 
)
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines