[SciPy-user] Wrapping geqp3 (Rank revealing QR)

Pearu Peterson pearu at scipy.org
Fri Feb 24 09:19:56 CST 2006



On Fri, 24 Feb 2006, Nils Wagner wrote:

>> Read numpy.distutils.from_template.__doc__ about the syntax of <..>
>> blocks. And read ?geqp3.f to find out what are proper _lwork values
>> for each version of geqp3 subroutine.
>>
>>>> numpy.distutils.from_template.__doc__
> Traceback (most recent call last):
>  File "<stdin>", line 1, in ?
> AttributeError: 'module' object has no attribute 'from_template'
>
>>>> dir (numpy.distutils)
> ['ScipyTest', '_INSTALLED', '__builtins__', '__config__', '__doc__',
> '__file__', '__name__', '__path__', '__version__', 'ccompiler',
> 'exec_command', 'log', 'misc_util', 'test', 'unixccompiler']
>
> Am I missing something ?

Yes. Have you tried

   >>> import numpy.distutils.from_template as m
   >>> print m.__doc__

or

   >>> help('numpy.distutils.from_template')

or

   $ pydoc numpy.distutils.from_template

?

Pearu



More information about the SciPy-user mailing list