[Scipy-svn] r3899 - trunk/scipy/splinalg/eigen

scipy-svn@scip... scipy-svn@scip...
Wed Feb 6 12:28:15 CST 2008


Author: hagberg
Date: 2008-02-06 12:28:08 -0600 (Wed, 06 Feb 2008)
New Revision: 3899

Added:
   trunk/scipy/splinalg/eigen/__init__.py
   trunk/scipy/splinalg/eigen/info.py
   trunk/scipy/splinalg/eigen/setup.py
Log:
Add info, __init__, and setup to splinalg.eigen


Added: trunk/scipy/splinalg/eigen/__init__.py
===================================================================
--- trunk/scipy/splinalg/eigen/__init__.py	2008-02-06 18:25:05 UTC (rev 3898)
+++ trunk/scipy/splinalg/eigen/__init__.py	2008-02-06 18:28:08 UTC (rev 3899)
@@ -0,0 +1,10 @@
+"Sparse eigenvalue solvers"
+
+from info import __doc__
+
+from arpack import *
+
+__all__ = filter(lambda s:not s.startswith('_'),dir())
+from scipy.testing.pkgtester import Tester
+test = Tester().test
+bench = Tester().bench

Added: trunk/scipy/splinalg/eigen/info.py
===================================================================
--- trunk/scipy/splinalg/eigen/info.py	2008-02-06 18:25:05 UTC (rev 3898)
+++ trunk/scipy/splinalg/eigen/info.py	2008-02-06 18:28:08 UTC (rev 3899)
@@ -0,0 +1,18 @@
+"""
+Sparse Eigenvalue Solvers
+=========================
+
+There are submodules of splinalg:
+    1. arpack: spare eigenvalue solver using iterative methods
+
+
+Examples
+========
+
+
+
+"""
+
+#TODO show examples
+
+postpone_import = 1

Added: trunk/scipy/splinalg/eigen/setup.py
===================================================================
--- trunk/scipy/splinalg/eigen/setup.py	2008-02-06 18:25:05 UTC (rev 3898)
+++ trunk/scipy/splinalg/eigen/setup.py	2008-02-06 18:28:08 UTC (rev 3899)
@@ -0,0 +1,14 @@
+#!/usr/bin/env python
+
+def configuration(parent_package='',top_path=None):
+    from numpy.distutils.misc_util import Configuration
+    
+    config = Configuration('eigen',parent_package,top_path)
+    
+    config.add_subpackage(('arpack'))
+    
+    return config
+
+if __name__ == '__main__':
+    from numpy.distutils.core import setup
+    setup(**configuration(top_path='').todict())


Property changes on: trunk/scipy/splinalg/eigen/setup.py
___________________________________________________________________
Name: svn:executable
   + *



More information about the Scipy-svn mailing list