diff liboctave/MArray.h @ 10396:a0b51ac0f88a

optimize accumdim with summation
author Jaroslav Hajek <highegg@gmail.com>
date Fri, 05 Mar 2010 12:31:30 +0100
parents 96ed7c629bbd
children 4d1fc073fbb7
line wrap: on
line diff
--- a/liboctave/MArray.h
+++ b/liboctave/MArray.h
@@ -96,6 +96,8 @@
 
   void idx_max (const idx_vector& idx, const MArray<T>& vals);
 
+  void idx_add_nd (const idx_vector& idx, const MArray<T>& vals, int dim = -1);
+
   void changesign (void);
 };