Former-commit-id:06a8b51d6d
[formerlya02aeb236c
[formerly9f19e3f712
] [formerly06a8b51d6d
[formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]]] Former-commit-id:a02aeb236c
[formerly9f19e3f712
] Former-commit-id:a02aeb236c
Former-commit-id:133dc97f67
48 lines
1.2 KiB
Python
Executable file
48 lines
1.2 KiB
Python
Executable file
#
|
|
# Scientific Python
|
|
#
|
|
|
|
|
|
"""
|
|
ScientificPython is a collection of Python modules that are useful
|
|
for scientific computing. In this collection you will find modules
|
|
that cover basic geometry (vectors, tensors, transformations, vector
|
|
and tensor fields), quaternions, automatic derivatives, (linear)
|
|
interpolation, polynomials, elementary statistics, nonlinear
|
|
least-squares fits, unit calculations, Fortran-compatible text
|
|
formatting, 3D visualization via VRML, and two Tk widgets for simple
|
|
line plots and 3D wireframe models. There are also interfaces to the
|
|
netCDF library (portable structured binary files), to MPI (Message
|
|
Passing Interface, message-based parallel programming), and to BSPlib
|
|
(Bulk Synchronous Parallel programming). For details consult the
|
|
manual.
|
|
|
|
@undocumented: __pkginfo__
|
|
@undocumented: use_numeric
|
|
@undocumented: use_numarray
|
|
@undocumented: use_numpy
|
|
@undocumented: LA
|
|
@undocumented: N
|
|
@undocumented: Mathematica
|
|
"""
|
|
|
|
#
|
|
# Package information
|
|
#
|
|
from __pkginfo__ import __version__
|
|
|
|
#
|
|
# Add shared library path to sys.path
|
|
#
|
|
import os, sys
|
|
sys.path.append(os.path.join(os.path.split(os.path.abspath(__file__))[0], sys.platform))
|
|
del os
|
|
del sys
|
|
|
|
#
|
|
# New exception class
|
|
#
|
|
class IterationCountExceededError(ValueError):
|
|
|
|
pass
|
|
|