racket/collects/math/private
Neil Toronto f42cc6f14a Fixed major performance issue with matrix arithmetic; please merge to 5.3.2
The fix consists of three parts:

1. Rewriting `inline-matrix*'. The material change here is that the
   expansion now contains only direct applications of `+' and `*'.
   TR's optimizer replaces them with `unsafe-fx+' and `unsafe-fx*',
   which keeps intermediate flonum values from being boxed.

2. Making the types of all functions that operate on (Matrix Number)
   values more precise. Now TR can prove that matrix operations preserve
   inexactness. For example, matrix-conjugate : (Matrix Flonum) ->
   (Matrix Flonum) and three other cases for Real, Float-Complex, and
   Number.

3. Changing the return types of some functions that used to return
   things like (Matrix (U A 0)). Now that we worry about preserving
   inexactness, we can't have `matrix-upper-triangle' always return a
   matrix that contains exact zeros. It now accepts an optional `zero'
   argument of type A.
2013-01-21 22:04:04 -07:00
..
array Made arrays strict by default; please merge to release 2013-01-15 13:53:28 -07:00
base Finished array documentation! 2012-11-29 15:45:17 -07:00
bigfloat MPFR custodian shutdown procedure tries to clear the constants cache 2013-01-09 11:21:58 -07:00
distributions Renamed make-flexp/base' to make-flexpt' 2012-12-03 22:45:31 -07:00
flonum Fixed some limits and accuracy issues with flonum expansions 2013-01-19 18:09:44 -07:00
functions Renamed make-flexp/base' to make-flexpt' 2012-12-03 22:45:31 -07:00
matrix Fixed major performance issue with matrix arithmetic; please merge to 5.3.2 2013-01-21 22:04:04 -07:00
number-theory Fixed type error in "bernoulli.rkt" 2013-01-19 18:56:37 -07:00
polynomial Initial math library commit. The history for these changes is preserved 2012-11-16 11:39:51 -07:00
statistics Fixes, docs, and API changes for `math/statistics' 2012-12-10 16:45:18 -07:00
utils Bumped error bounds up a bit more 2013-01-19 19:01:24 -07:00
vector Fixed major performance issue with matrix arithmetic; please merge to 5.3.2 2013-01-21 22:04:04 -07:00
exception.rkt Initial math library commit. The history for these changes is preserved 2012-11-16 11:39:51 -07:00
inline-sort.rkt Initial math library commit. The history for these changes is preserved 2012-11-16 11:39:51 -07:00
parameters.rkt Finished array documentation! 2012-11-29 15:45:17 -07:00
syntax-utils.rkt Initial math library commit. The history for these changes is preserved 2012-11-16 11:39:51 -07:00
unsafe.rkt Initial math library commit. The history for these changes is preserved 2012-11-16 11:39:51 -07:00
utils.rkt Finished array documentation! 2012-11-29 15:45:17 -07:00