This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / linalg / _flapack / slamch

lapack_function

scipy.linalg._flapack:slamch

source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so

Signature

def slamch(cmach)

Summary

Machine parameters for this precision (LAPACK slamch).

Parameters

cmach : str

Which parameter: 'E' relative machine epsilon, 'S' safe minimum, 'B' base, 'P' eps * base, 'N' mantissa digits, 'R' rounding, 'M' minimum exponent, 'U' underflow threshold, 'L' maximum exponent, 'O' overflow threshold. Lowercase is accepted, and anything else returns 0.

Returns

x : float

The requested parameter.

Aliases

  • scipy.linalg._flapack.slamch