JuliaLang/julia — pull request #1281 by dmbates (2012-09-14 19:16:52+00:00)
Title: Changes for an Lapack module

Add `base/Lapack.jl` containing a module with the definitions of the direct `Lapack` interface functions. Code from `base/{factorizations,linalg_lapack,linalg_specialized}.jl` was moved to this file. The order of files in `sysimg.jl` was changed to accommodate these changes. New functions were added to the list of exports in `export.jl`.

Currently this code fails the `test/lapack.jl` script because the first call to eig() fails. For example
```bash

julia> a = rand(3,3)
3x3 Float64 Array:
0.488698 0.106265 0.0258011
0.510604 0.646657 0.648978
0.878416 0.1577 0.742774

julia> asym = a' + a
3x3 Float64 Array:
0.977395 0.616869 0.904217
0.616869 1.29331 0.806678
0.904217 0.806678 1.48555

julia> ishermitian(asym)
true

julia> eig(asym)
type error: apply: expected Function, got IntrinsicFunction

julia> eig(asym)
([0.292192, 0.625846, 2.83822],
3x3 Float64 Array:
0.800213 0.322779 0.505443
-0.00990314 -0.835577 0.549284
-0.599635 0.444549 0.665443)
```