[SciPy-User] scipy.linalg.blas before 0.12.0

Skipper Seabold jsseabold at gmail.com
Tue Mar 25 10:53:38 EDT 2014


On Mon, Mar 24, 2014 at 4:17 PM, Pauli Virtanen <pav at iki.fi> wrote:
> 24.03.2014 21:23, Skipper Seabold kirjoitti:
>> More feeling around in the dark. The docs [1] state that the
>> low-level functions scipy.linalg.blas are new in 0.12.0.
>
> They're new as public, documented functions.
>
> Writing code targeting also earlier Scipy versions is possible in
> principle.
>
>> However,
>>
>>>>> import scipy as sp sp.__version__
>> '0.9.0'
>>>>> import scipy.linalg.blas
>>>>> scipy.linalg.blas.cblas.dgemm._cpointer
>> <PyCObject object at 0x2a94788>
>
> This is backward and forward compatible:
>
>     dgemm, = get_blas_funcs(['gemm',], [np.array([1.0])])
>
> Note that `.cblas` is not available at all on all platforms, and the
> functions it contains vary with Scipy versions. Also, both `.cblas`
> and `.fblas` submodules are deprecated.

Ok, that makes sense. Thanks.

Skipper



More information about the SciPy-User mailing list