/[escript]/branches/schroedinger/escript/src/Data.h
ViewVC logotype

Diff of /branches/schroedinger/escript/src/Data.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 110 by jgs, Mon Feb 14 04:14:42 2005 UTC revision 113 by jgs, Mon Feb 28 07:06:33 2005 UTC
# Line 880  class Data { Line 880  class Data {
880    /**    /**
881       \brief       \brief
882       Perform the specified reduction algorithm on every element of every data point in       Perform the specified reduction algorithm on every element of every data point in
883       this Data object and return the single double value result.       this Data object according to the given function and return the single value result.
884    */    */
885    template <class UnaryFunction>    template <class UnaryFunction>
886    inline    inline
887    double    double
888    algorithm(UnaryFunction operation) const;    algorithm(UnaryFunction operation) const;
889    
890      /**
891         \brief
892         Reduce each data-point in this Data object using the given operation. Return a Data
893         object with the same number of data-points, but with each data-point containing only
894         one value - the result of the reduction operation on the corresponding data-point in
895         this Data object
896      */
897    template <class UnaryFunction>    template <class UnaryFunction>
898    inline    inline
899    Data    Data

Legend:
Removed from v.110  
changed lines
  Added in v.113

  ViewVC Help
Powered by ViewVC 1.1.26