Changes between Version 3 and Version 4 of DataParallel/Regular


Ignore:
Timestamp:
May 13, 2009 8:07:39 AM (6 years ago)
Author:
simonpj
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DataParallel/Regular

    v3 v4  
    3636  Array (3,2) Double   -- two dimensional array (matrix) of three rows, two columns
    3737}}}
     38'''SLPJ: urk. Is `(2,3)` a type?!  Or did you mean `Array (Int,Int) Double`?'''
    3839
    3940Internally, shapes are represented as nested pairs
     
    4748Elements types are restricted to the element type of flat parallel
    4849arrays, that it, primitive types like integers, boolean and floating
    49 point numbers, and tuples.
     50point numbers, and tuples. '''SLPJ: so what is in class `Elt`?'''
    5051
    5152== Operations ==
     
    6162fromScalar::  U.Elt r => r -> Array DIM0 r
    6263}}}
     64'''SLPJ: whoa!  What are `DIM1`, `DIM0`?'''
    6365and  bpermuteR, which creates a new array of new shape, using values of the argument array.
    6466{{{