/[escript]/trunk/escript/src/DataVector.h
ViewVC logotype

Diff of /trunk/escript/src/DataVector.h

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

revision 2152 by jfenwick, Thu Dec 11 04:26:42 2008 UTC revision 2271 by jfenwick, Mon Feb 16 05:08:29 2009 UTC
# Line 25  Line 25 
25    
26  namespace escript {  namespace escript {
27    
28    class WrappedArray;
29    
30  /**  /**
31     \brief     \brief
32     DataVector implements an arbitrarily long vector of data values.     DataVector implements an arbitrarily long vector of data values.
# Line 124  class ESCRIPT_DLL_API DataVector { Line 126  class ESCRIPT_DLL_API DataVector {
126    /**    /**
127      \brief      \brief
128      Populates the vector with the data from value.      Populates the vector with the data from value.
129      Note: This function does not attempt to perform shape checking.      This method currently throws an exception if the specified number of copies won't fit.
130        \warning This function does not attempt to perform shape checking.
131    */    */
132    void    void
133    copyFromNumArray(const boost::python::numeric::array& value, size_t copies);    copyFromArray(const escript::WrappedArray& value, size_type copies);
134    
135      void
136      copyFromArrayToOffset(const WrappedArray& value, size_type offset, size_type copies);
137    
138    
139    /**    /**

Legend:
Removed from v.2152  
changed lines
  Added in v.2271

  ViewVC Help
Powered by ViewVC 1.1.26