Custom Query (35 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (28 - 30 of 35)

1 2 3 4 5 6 7 8 9 10 11 12
Ticket Resolution Summary Owner Reporter
#42 fixed Result of foldAllP isn't forced. Ben Lippmeier
Description

Report from Chris Reade:

That is why I expected this code to work without the explicit seq , but these are needed to avoid the "Performing nested parallel computation sequentially" problem.

writeHeatMapBMP :: String 
                -> Array U DIM2 Double
                -> IO()
writeHeatMapBMP filename arr
  = do maxVal <- foldAllP max 0.0 arr
       minVal <- foldAllP min 0.0 arr
       arrImageOut <- minVal `seq` maxVal `seq`
                      computeP
                      $  R.map rgb8OfDouble
                      $  R.map (rampColorHotToCold minVal maxVal) arr
       writeImageToBMP filename arrImageOut

The implementation of foldAllP should ensure that the result is evaluated before it returns.

#8 wontfix Add QR factorisation example. Ben Lippmeier
Description

http://en.wikipedia.org/wiki/QR_factorisation

#9 wontfix Add singular value decomposition example. Ben Lippmeier
Description

http://en.wikipedia.org/wiki/Singular_value_decomposition

We should be able to do some basic image compression with this?

1 2 3 4 5 6 7 8 9 10 11 12
Note: See TracQuery for help on using queries.