GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
dot.cc File Reference
#include "lo-blas-proto.h"
#include "mx-base.h"
#include "builtin-defun-decls.h"
#include "defun.h"
#include "error.h"
#include "parse.h"
Include dependency graph for dot.cc:

Go to the source code of this file.

Functions

template<>
void blkmm_internal (const ComplexNDArray &x, const ComplexNDArray &y, ComplexNDArray &z, F77_INT m, F77_INT n, F77_INT k, F77_INT np)
 
template<>
void blkmm_internal (const FloatComplexNDArray &x, const FloatComplexNDArray &y, FloatComplexNDArray &z, F77_INT m, F77_INT n, F77_INT k, F77_INT np)
 
template<>
void blkmm_internal (const FloatNDArray &x, const FloatNDArray &y, FloatNDArray &z, F77_INT m, F77_INT n, F77_INT k, F77_INT np)
 
template<>
void blkmm_internal (const NDArray &x, const NDArray &y, NDArray &z, F77_INT m, F77_INT n, F77_INT k, F77_INT np)
 
template<typename T >
static void blkmm_internal (const T &x, const T &y, T &z, F77_INT m, F77_INT n, F77_INT k, F77_INT np)
 
template<typename T >
do_blkmm (const octave_value &xov, const octave_value &yov)
 
OCTAVE_EXPORT octave_value_list Fblkmm (const octave_value_list &args, int)
 
OCTAVE_EXPORT octave_value_list Fdot (const octave_value_list &args, int)
 
static void get_blkmm_dims (const dim_vector &dimx, const dim_vector &dimy, F77_INT &m, F77_INT &n, F77_INT &k, F77_INT &np, dim_vector &dimz)
 
static void get_red_dims (const dim_vector &x, const dim_vector &, int dim, dim_vector &z, F77_INT &m, F77_INT &n, F77_INT &k)
 

Function Documentation

◆ blkmm_internal() [1/5]

template<>
void blkmm_internal ( const ComplexNDArray x,
const ComplexNDArray y,
ComplexNDArray z,
F77_INT  m,
F77_INT  n,
F77_INT  k,
F77_INT  np 
)

◆ blkmm_internal() [2/5]

template<>
void blkmm_internal ( const FloatComplexNDArray x,
const FloatComplexNDArray y,
FloatComplexNDArray z,
F77_INT  m,
F77_INT  n,
F77_INT  k,
F77_INT  np 
)

◆ blkmm_internal() [3/5]

template<>
void blkmm_internal ( const FloatNDArray x,
const FloatNDArray y,
FloatNDArray z,
F77_INT  m,
F77_INT  n,
F77_INT  k,
F77_INT  np 
)

Definition at line 283 of file dot.cc.

References Array< T, Alloc >::data(), F77_XFCN, Array< T, Alloc >::fortran_vec(), m, n, smatm3(), and x.

◆ blkmm_internal() [4/5]

template<>
void blkmm_internal ( const NDArray x,
const NDArray y,
NDArray z,
F77_INT  m,
F77_INT  n,
F77_INT  k,
F77_INT  np 
)

Definition at line 293 of file dot.cc.

References Array< T, Alloc >::data(), dmatm3(), F77_XFCN, Array< T, Alloc >::fortran_vec(), m, n, and x.

◆ blkmm_internal() [5/5]

template<typename T >
static void blkmm_internal ( const T &  x,
const T &  y,
T &  z,
F77_INT  m,
F77_INT  n,
F77_INT  k,
F77_INT  np 
)
static

◆ do_blkmm()

template<typename T >
T do_blkmm ( const octave_value xov,
const octave_value yov 
)

Definition at line 336 of file dot.cc.

References get_blkmm_dims(), m, n, and x.

◆ Fblkmm()

OCTAVE_EXPORT octave_value_list Fblkmm ( const octave_value_list args,
int   
)

◆ Fdot()

◆ get_blkmm_dims()

static void get_blkmm_dims ( const dim_vector dimx,
const dim_vector dimy,
F77_INT m,
F77_INT n,
F77_INT k,
F77_INT np,
dim_vector dimz 
)
static

Definition at line 302 of file dot.cc.

References dim_vector::alloc(), error(), m, n, dim_vector::ndims(), and dim_vector::str().

Referenced by do_blkmm().

◆ get_red_dims()

static void get_red_dims ( const dim_vector x,
const dim_vector ,
int  dim,
dim_vector z,
F77_INT m,
F77_INT n,
F77_INT k 
)
static

Definition at line 44 of file dot.cc.

References dim_vector::alloc(), m, n, and x.

Referenced by Fdot().