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

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

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

revision 2181 by phornby, Fri Oct 3 02:05:01 2008 UTC revision 2182 by caltinay, Thu Dec 18 03:30:17 2008 UTC
# Line 93  namespace DataTypes { Line 93  namespace DataTypes {
93       range of indexes to be sliced from the corresponding dimension. The       range of indexes to be sliced from the corresponding dimension. The
94       first specifier corresponds to the first dimension, the second to the       first specifier corresponds to the first dimension, the second to the
95       second and so on. Where n < the rank, the remaining dimensions are       second and so on. Where n < the rank, the remaining dimensions are
96       sliced across the full range of their indicies.       sliced across the full range of their indices.
97    
98       Each slice specifier is of the form "a:b", which specifies a slice       Each slice specifier is of the form "a:b", which specifies a slice
99       from index a, up to but not including index b. Where index a is ommitted       from index a, up to but not including index b. Where index a is omitted
100       a is assumed to be 0. Where index b is ommitted, b is assumed to be the       a is assumed to be 0. Where index b is omitted, b is assumed to be the
101       length of this dimension. Where both are ommitted (eg: ":") the slice is       length of this dimension. Where both are omitted (eg: ":") the slice is
102       assumed to encompass that entire dimension.       assumed to encompass that entire dimension.
103    
104       Where one of the slice specifiers is a single integer, eg: [1], we       Where one of the slice specifiers is a single integer, eg: [1], we
# Line 107  namespace DataTypes { Line 107  namespace DataTypes {
107       dimension of size 1.       dimension of size 1.
108    
109       The return value is a vector of pairs with length equal to the rank of       The return value is a vector of pairs with length equal to the rank of
110       this object. Each pair corresponds to the range of indicies from the       this object. Each pair corresponds to the range of indices from the
111       corresponding dimension to be sliced from, as specified in the input       corresponding dimension to be sliced from, as specified in the input
112       slice object.       slice object.
113    
# Line 360  namespace DataTypes { Line 360  namespace DataTypes {
360     */     */
361     void copyPoint(ValueType& dest, ValueType::size_type doffset, ValueType::size_type nvals, const ValueType& src, ValueType::size_type soffset);     void copyPoint(ValueType& dest, ValueType::size_type doffset, ValueType::size_type nvals, const ValueType& src, ValueType::size_type soffset);
362    
363   }   // End namespace DataTypes   }   // End of namespace DataTypes
364    
365    
366  } // end of namespace escipt  } // End of namespace escript
367    
368  #endif  #endif
369    

Legend:
Removed from v.2181  
changed lines
  Added in v.2182

  ViewVC Help
Powered by ViewVC 1.1.26