GNU Octave  4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
dot.cc File Reference
#include "lo-blas-proto.h"
#include "mx-base.h"
#include "error.h"
#include "defun.h"
#include "parse.h"
Include dependency graph for dot.cc:

Go to the source code of this file.

Functions

OCTAVE_EXPORT octave_value_list Fdot (const octave_value_list &args, int) calculate the dot products along the first non-singleton dimension.If the optional argument ar
 
static void get_red_dims (const dim_vector &x, const dim_vector &y, int dim, dim_vector &z, octave_idx_type &m, octave_idx_type &n, octave_idx_type &k)
 

Variables

is calculate the dot products
along this dimension This is
equivalent to but avoids
forming a temporary array and
is faster When 
ar {X} and ar{Y} are column vectors
 
is given
 
is calculate the dot products
along this dimension This is
equivalent to 
ode {sum (conj (ar{X}) .* ar{Y}, ar{dim})}
 

Function Documentation

OCTAVE_EXPORT octave_value_list Fdot ( const octave_value_list args,
int   
)

Definition at line 79 of file dot.cc.

Referenced by install_dot_fcns().

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

Definition at line 34 of file dot.cc.

References dim_vector::alloc(), dim_vector::ndims(), and x.

Variable Documentation

is calculate the dot products along this dimension This is equivalent to but avoids forming a temporary array and is faster When ar {X} and ar{Y} are column vectors

Definition at line 79 of file dot.cc.

is given

Definition at line 79 of file dot.cc.

is calculate the dot products along this dimension This is equivalent to ode {sum (conj (ar{X}) .* ar{Y}, ar{dim})}

Definition at line 79 of file dot.cc.