GNU Octave
4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "lo-blas-proto.h"
#include "mx-base.h"
#include "error.h"
#include "defun.h"
#include "parse.h"
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})} |
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 |
Definition at line 34 of file dot.cc.
References dim_vector::alloc(), dim_vector::ndims(), and x.