find_best_blas_type(arrays=(), dtype=None)
Arrays are used to determine the optimal prefix of BLAS routines.
Arrays can be given to determine optimal prefix of BLAS routines. If not given, double-precision routines will be used, otherwise the most generic type in arrays will be used.
Data-type specifier. Not used if :None:None:`arrays`
is non-empty.
BLAS/LAPACK prefix character.
Inferred Numpy data type.
Whether to prefer Fortran order routines over C order.
Find best-matching BLAS/LAPACK type.
>>> import scipy.linalg.blas as bla
... rng = np.random.default_rng()
... a = rng.random((10,15))
... b = np.asfortranarray(a) # Change the memory layout order
... bla.find_best_blas_type((a,)) ('d', dtype('float64'), False)
>>> bla.find_best_blas_type((a*1j,)) ('z', dtype('complex128'), False)
>>> bla.find_best_blas_type((b,)) ('d', dtype('float64'), True)See :
The following pages refer to to this document either explicitly or contain code examples using this.
scipy.linalg.blas.find_best_blas_type
Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.
Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)
SVG is more flexible but power hungry; and does not scale well to 50 + nodes.
All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them