/[escript]/trunk/doc/user/changes.tex
ViewVC logotype

Annotation of /trunk/doc/user/changes.tex

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2470 - (hide annotations)
Thu Jun 11 08:32:32 2009 UTC (10 years, 2 months ago) by gross
File MIME type: application/x-tex
File size: 1405 byte(s)
SolverOption class added. It is not linked with anything.
1 jfenwick 2463
2     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3     %
4     % Copyright (c) 2009 by University of Queensland
5     % Earth Systems Science Computational Center (ESSCC)
6     % http://www.uq.edu.au/esscc
7     %
8     % Primary Business: Queensland, Australia
9     % Licensed under the Open Software License version 3.0
10     % http://www.opensource.org/licenses/osl-3.0.php
11     %
12     %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
13    
14     \section{Changes from previous releases}
15     \label{app:changes}
16    
17     \subsection*{2.0 to 3.0}
18     The major change here was replacing \module{numarray} with \numpy.
19     For general instructions on converting scripts to use numpy see \url{http://www.stsci.edu/resources/software_hardware/numarray/numarray2numpy.pdf}.
20     The specific changes to \escript are:
21     \begin{itemize}
22     \item getValueOfDataPoint() which returned a \module{numarray}.array has been replaced by
23     getTupleForDataPoint() which returns a \PYTHON tuple containing
24 gross 2470 the components of the data point. In the case of matricies or higher ranked data, the tuples will be nested. Use
25     \numpy.array(data.getTupleForDataPoint()) if a \numpyNDA opbject is required.
26 jfenwick 2463 \item getValueOfGlobalDataPoint has similarly been replaced by getTupleForGlobalDataPoint().
27     \item integrate(data) now returns a \numpyNDA instead of a \module{numarray}.array.
28     \end{itemize}
29     Any python methods which previously accepted \module{numarray} objects will accept \numpy objects instead.
30    

  ViewVC Help
Powered by ViewVC 1.1.26