Navigation

Operators and Keywords

Function List:

C++ API

dot.cc File Reference

#include "f77-fcn.h"
#include "mx-base.h"
#include "error.h"
#include "defun-dld.h"
#include "parse.h"
Include dependency graph for dot.cc:

Functions

F77_RET_T F77_FUNC (ddot3, DDOT3)(const octave_idx_type &
F77_RET_T const
octave_idx_type const
octave_idx_type const double
const double double *F77_RET_T 
F77_FUNC (sdot3, SDOT3)(const octave_idx_type &
F77_RET_T const
octave_idx_type const
octave_idx_type const double
const double double *F77_RET_T
const octave_idx_type const
octave_idx_type const float
const float float *F77_RET_T 
F77_FUNC (zdotc3, ZDOTC3)(const octave_idx_type &
F77_RET_T const
octave_idx_type const
octave_idx_type const double
const double double *F77_RET_T
const octave_idx_type const
octave_idx_type const float
const float float *F77_RET_T
const octave_idx_type const
octave_idx_type const Complex
const Complex Complex
*F77_RET_T 
F77_FUNC (cdotc3, CDOTC3)(const octave_idx_type &
F77_RET_T const
octave_idx_type const
octave_idx_type const double
const double double *F77_RET_T
const octave_idx_type const
octave_idx_type const float
const float float *F77_RET_T
const octave_idx_type const
octave_idx_type const Complex
const Complex Complex
*F77_RET_T const
octave_idx_type const
octave_idx_type const
FloatComplex const
FloatComplex FloatComplex
*F77_RET_T 
F77_FUNC (dmatm3, DMATM3)(const octave_idx_type &
F77_RET_T const
octave_idx_type const
octave_idx_type const double
const double double *F77_RET_T
const octave_idx_type const
octave_idx_type const float
const float float *F77_RET_T
const octave_idx_type const
octave_idx_type const Complex
const Complex Complex
*F77_RET_T const
octave_idx_type const
octave_idx_type const
FloatComplex const
FloatComplex FloatComplex
*F77_RET_T const
octave_idx_type const
octave_idx_type const
octave_idx_type const double
const double double *F77_RET_T 
F77_FUNC (smatm3, SMATM3)(const octave_idx_type &
F77_RET_T const
octave_idx_type const
octave_idx_type const double
const double double *F77_RET_T
const octave_idx_type const
octave_idx_type const float
const float float *F77_RET_T
const octave_idx_type const
octave_idx_type const Complex
const Complex Complex
*F77_RET_T const
octave_idx_type const
octave_idx_type const
FloatComplex const
FloatComplex FloatComplex
*F77_RET_T const
octave_idx_type const
octave_idx_type const
octave_idx_type const double
const double double *F77_RET_T
const octave_idx_type const
octave_idx_type const
octave_idx_type const float
const float float *F77_RET_T 
F77_FUNC (zmatm3, ZMATM3)(const octave_idx_type &
F77_RET_T const
octave_idx_type const
octave_idx_type const double
const double double *F77_RET_T
const octave_idx_type const
octave_idx_type const float
const float float *F77_RET_T
const octave_idx_type const
octave_idx_type const Complex
const Complex Complex
*F77_RET_T const
octave_idx_type const
octave_idx_type const
FloatComplex const
FloatComplex FloatComplex
*F77_RET_T const
octave_idx_type const
octave_idx_type const
octave_idx_type const double
const double double *F77_RET_T
const octave_idx_type const
octave_idx_type const
octave_idx_type const float
const float float *F77_RET_T
const octave_idx_type const
octave_idx_type const
octave_idx_type const Complex
const Complex Complex
*F77_RET_T 
F77_FUNC (cmatm3, CMATM3)(const octave_idx_type &
 DEFUN_DLD (dot, args,,"-*- texinfo -*-\n\ @deftypefn {Loadable Function} {} dot (@var{x}, @var{y}, @var{dim})\n\ Compute the dot product of two vectors. If @var{x} and @var{y}\n\ are matrices, calculate the dot products along the first \n\ non-singleton dimension. If the optional argument @var{dim} is\n\ given, calculate the dot products along this dimension.\n\ \n\ This is equivalent to\n\ @code{sum (conj (@var{X}) .* @var{Y}, @var{dim})},\n\ but avoids forming a temporary array and is faster. When @var{X} and\n\ @var{Y} are column vectors, the result is equivalent to\n\ @code{@var{X}' * @var{Y}}.\n\ @seealso{cross}\n\ @end deftypefn")
 DEFUN_DLD (blkmm, args,,"-*- texinfo -*-\n\ @deftypefn {Loadable Function} {} blkmm (@var{x}, @var{y})\n\ Compute products of matrix blocks. The blocks are given as\n\ 2-dimensional subarrays of the arrays @var{x}, @var{y}.\n\ The size of @var{x} must have the form @code{[m,k,@dots{}]} and\n\ size of @var{y} must be @code{[k,n,@dots{}]}. The result is\n\ then of size @code{[m,n,@dots{}]} and is computed as follows:\n\ \n\ @example\n\ @group\n\ for i = 1:prod (size (@var{x})(3:end))\n\ @var{z}(:,:,i) = @var{x}(:,:,i) * @var{y}(:,:,i)\n\ endfor\n\ @end group\n\ @end example\n\ @end deftypefn")

Function Documentation

DEFUN_DLD ( dot  ,
args   
)
DEFUN_DLD ( blkmm  ,
args   
)
F77_RET_T const octave_idx_type const octave_idx_type const double const double double* F77_RET_T const octave_idx_type const octave_idx_type const float const float float* F77_RET_T const octave_idx_type const octave_idx_type const Complex const Complex Complex* F77_RET_T const octave_idx_type const octave_idx_type const FloatComplex const FloatComplex FloatComplex* F77_RET_T F77_FUNC ( dmatm3  ,
DMATM3   
) const
F77_RET_T const octave_idx_type const octave_idx_type const double const double double* F77_RET_T F77_FUNC ( sdot3  ,
SDOT3   
) const
F77_RET_T const octave_idx_type const octave_idx_type const double const double double* F77_RET_T const octave_idx_type const octave_idx_type const float const float float* F77_RET_T const octave_idx_type const octave_idx_type const Complex const Complex Complex* F77_RET_T F77_FUNC ( cdotc3  ,
CDOTC3   
) const
F77_RET_T const octave_idx_type const octave_idx_type const double const double double* F77_RET_T const octave_idx_type const octave_idx_type const float const float float* F77_RET_T const octave_idx_type const octave_idx_type const Complex const Complex Complex* F77_RET_T const octave_idx_type const octave_idx_type const FloatComplex const FloatComplex FloatComplex* F77_RET_T const octave_idx_type const octave_idx_type const octave_idx_type const double const double double* F77_RET_T const octave_idx_type const octave_idx_type const octave_idx_type const float const float float* F77_RET_T F77_FUNC ( zmatm3  ,
ZMATM3   
) const
F77_RET_T const octave_idx_type const octave_idx_type const double const double double* F77_RET_T const octave_idx_type const octave_idx_type const float const float float* F77_RET_T const octave_idx_type const octave_idx_type const Complex const Complex Complex* F77_RET_T const octave_idx_type const octave_idx_type const FloatComplex const FloatComplex FloatComplex* F77_RET_T const octave_idx_type const octave_idx_type const octave_idx_type const double const double double* F77_RET_T F77_FUNC ( smatm3  ,
SMATM3   
) const
F77_RET_T F77_FUNC ( ddot3  ,
DDOT3   
) const
F77_RET_T const octave_idx_type const octave_idx_type const double const double double* F77_RET_T const octave_idx_type const octave_idx_type const float const float float* F77_RET_T const octave_idx_type const octave_idx_type const Complex const Complex Complex* F77_RET_T const octave_idx_type const octave_idx_type const FloatComplex const FloatComplex FloatComplex* F77_RET_T const octave_idx_type const octave_idx_type const octave_idx_type const double const double double* F77_RET_T const octave_idx_type const octave_idx_type const octave_idx_type const float const float float* F77_RET_T const octave_idx_type const octave_idx_type const octave_idx_type const Complex const Complex Complex* F77_RET_T F77_FUNC ( cmatm3  ,
CMATM3   
) const
F77_RET_T const octave_idx_type const octave_idx_type const double const double double* F77_RET_T const octave_idx_type const octave_idx_type const float const float float* F77_RET_T F77_FUNC ( zdotc3  ,
ZDOTC3   
) const
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines