Changes between Version 23 and Version 24 of DataParallel/Regular
- Timestamp:
- Jan 19, 2010 12:41:51 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DataParallel/Regular
v23 v24 143 143 forceDArray:: (U.Elt e, A.Shape dim) => DArray dim e -> DArray dim e 144 144 }}} 145 Singular (zero-dimensional) arrays are isomorphic to scalar values and can be converted to 146 one using the following function: 147 {{{ 148 toScalar:: U.Elt e => DArray () e -> DArray () e 149 }}} 150 Note that in contrast to all the previous operations, `toScalar` requires the array to be of a particular 151 dimensionality. 145 152 146 153 == Collection Oriented Operations ==