comparison src/data.cc @ 3095:528f4270e904

[project @ 1997-11-14 03:58:45 by jwe]
author jwe
date Fri, 14 Nov 1997 03:59:32 +0000
parents 38de16594cb4
children 292ff0bf484b
comparison
equal deleted inserted replaced
3094:f8e971946a4f 3095:528f4270e904
686 686
687 return retval; 687 return retval;
688 } 688 }
689 689
690 DEFUN (sumsq, args, , 690 DEFUN (sumsq, args, ,
691 "sumsq (X): sum of squares of elements") 691 "sumsq (X): sum of squares of elements.\n\
692 \n\
693 This function is equivalent to computing\n\
694 \n\
695 sum (X .* conj (X))\n\
696 \n\
697 but it uses less memory and avoids calling conj if X is real.")
692 { 698 {
693 octave_value_list retval; 699 octave_value_list retval;
694 700
695 int nargin = args.length (); 701 int nargin = args.length ();
696 702