comparison src/DLD-FUNCTIONS/dot.cc @ 10840:89f4d7e294cc

Grammarcheck .cc files
author Rik <octave@nomad.inbox5.com>
date Sat, 31 Jul 2010 11:18:11 -0700
parents fbd7843974fa
children a4f482e66b65
comparison
equal deleted inserted replaced
10839:65bc065bec95 10840:89f4d7e294cc
109 are matrices, calculate the dot products along the first \n\ 109 are matrices, calculate the dot products along the first \n\
110 non-singleton dimension. If the optional argument @var{dim} is\n\ 110 non-singleton dimension. If the optional argument @var{dim} is\n\
111 given, calculate the dot products along this dimension.\n\ 111 given, calculate the dot products along this dimension.\n\
112 \n\ 112 \n\
113 This is equivalent to doing @code{sum (conj (@var{X}) .* @var{Y}, @var{dim})},\n\ 113 This is equivalent to doing @code{sum (conj (@var{X}) .* @var{Y}, @var{dim})},\n\
114 but avoids forming a temporary array and is faster.\n\ 114 but avoids forming a temporary array and is faster. When @var{X} and @var{Y}\n\
115 When @var{X} and @var{Y} are column vectors, the result is equivalent to\n\ 115 are column vectors, the result is equivalent to\n\
116 @code{ @var{X}'*@var{Y} }.\n\ 116 @code{ @var{X}'*@var{Y} }.\n\
117 @end deftypefn") 117 @end deftypefn")
118 { 118 {
119 octave_value retval; 119 octave_value retval;
120 int nargin = args.length (); 120 int nargin = args.length ();