[SciPy-dev] Progress with linalg2

Travis Oliphant oliphant.travis at ieee.org
Sun Mar 3 20:46:50 CST 2002


On Sunday 03 March 2002 04:32 pm, you wrote:
> Hi,
>

> In case of interest, here are more test results that compare scipy vs
> Numeric. Now, scipy is much faster than Numeric (you'll need
> f2py>=2.13.175-1222):
>
>       Solving system of linear equations
>       ==================================
>
>       |    contiguous     |   non-contiguous
>
> ----------------------------------------------
>  size |  scipy  | Numeric |  scipy  | Numeric
>    20 |   1.17  |   3.87  |   1.18  |   4.07     (secs for 2000 calls)
>   100 |   1.60  |   3.11  |   1.61  |   3.99     (secs for 300 calls)
>   500 |   1.64  |   2.12  |   1.64  |   2.38     (secs for 4 calls)
>  1000 |   5.64  |   6.65  |   5.62  |   7.19     (secs for 2 calls)
> .
>            Finding matrix inverse
>       ==================================
>
>       |    contiguous     |   non-contiguous
>
> ----------------------------------------------
>  size |  scipy  | Numeric |  scipy  | Numeric
>    20 |   1.50  |   5.94  |   1.49  |   6.15     (secs for 2000 calls)
>   100 |   4.37  |   9.23  |   4.42  |  10.14     (secs for 300 calls)
>   500 |   4.78  |   7.36  |   4.77  |   7.60     (secs for 4 calls)
>  1000 |  17.55  |  24.59  |  17.53  |  24.49     (secs for 2 calls)
> .

Now, just to be clear these are only testing interfaces, correct?  ATLAS is 
being used in both scipy and Numeric for these tests, right.  It would be 
interesting to see what how a non-atlased Numeric compared.

-Travis



More information about the Scipy-dev mailing list