numpy.linalg.linalg
class LinAlgError
Constructors
1
class LinearizeData
Fields
5
rows
int
cols
int
row_strides
int
col_strides
int
out_lead_dim
int
Constructors
1
Methods
5
class SlogdetResult[A, B]
Fields
4
sign
A
logabsdet
B
A
type
B
type
Special methods
1
slogdet(a)
det(a)
class EighParams[T, B]
Fields
14
A
Ptr[T]
W
Ptr[B]
WORK
Ptr[T]
RWORK
Ptr[B]
IWORK
Ptr[fint]
N
fint
LWORK
fint
LRWORK
fint
LIWORK
fint
JOBZ
u8
UPLO
u8
LDA
fint
T
type
B
type
Constructors
1
Methods
2
class EighResult[A, B]
Fields
4
eigenvalues
A
eigenvectors
B
A
type
B
type
Special methods
1
eigh(a, UPLO: str = "L")
eigvalsh(a, UPLO: str = "L")
class GesvParams[T]
Fields
8
A
Ptr[T]
B
Ptr[T]
IPIV
Ptr[fint]
N
fint
NRHS
fint
LDA
fint
LDB
fint
T
type
Constructors
1
Methods
2
solve(a, b)
inv(a)
class PotrfParams[T]
Fields
5
A
Ptr[T]
N
fint
LDA
fint
UPLO
u8
T
type
Constructors
1
Methods
4
cholesky(a, upper: bool = False)
class GeevParams[T, B]
Fields
18
A
Ptr[T]
WR
Ptr[B]
WI
Ptr[T]
VLR
Ptr[T]
VRR
Ptr[T]
WORK
Ptr[T]
W
Ptr[T]
VL
Ptr[T]
VR
Ptr[T]
N
fint
LDA
fint
LDVL
fint
LDVR
fint
LWORK
fint
JOBVL
u8
JOBVR
u8
T
type
B
type
Constructors
1
Methods
3
class EigResult[A, B]
Fields
4
eigenvalues
A
eigenvectors
B
A
type
B
type
Special methods
1
eig(a)
eigvals(a)
class GesddParams[T, B]
Fields
16
A
Ptr[T]
S
Ptr[B]
U
Ptr[T]
VT
Ptr[T]
WORK
Ptr[T]
RWORK
Ptr[B]
IWORK
Ptr[fint]
M
fint
N
fint
LDA
fint
LDU
fint
LDVT
fint
LWORK
fint
JOBZ
u8
T
type
B
type
Constructors
1
Methods
2
class SVDResult[A1, A2]
Fields
5
U
A1
S
A2
Vh
A1
A1
type
A2
type
Special methods
1
svd(a, full_matrices: bool = True, compute_uv: Literal[bool] = True, hermitian: bool = False)
svdvals(x)
class GeqrfParams[T]
Fields
8
M
fint
N
fint
A
Ptr[T]
LDA
fint
TAU
Ptr[T]
WORK
Ptr[T]
LWORK
fint
T
type
Constructors
1
Methods
2
class GqrParams[T]
Fields
10
M
fint
MC
fint
MN
fint
A
Ptr[T]
Q
Ptr[T]
LDA
fint
TAU
Ptr[T]
WORK
Ptr[T]
LWORK
fint
T
type
Constructors
2
Methods
2
class QRResult[A]
Fields
3
Q
A
R
A
A
type
Special methods
1
qr(a, mode: Literal[str] = "reduced")
class GelsdParams[T, B]
Fields
16
M
fint
N
fint
NRHS
fint
A
Ptr[T]
LDA
fint
B_
Ptr[T]
LDB
fint
S
Ptr[B]
RCOND
Ptr[B]
RANK
fint
WORK
Ptr[T]
LWORK
fint
RWORK
Ptr[B]
IWORK
Ptr[fint]
T
type
B
type
Constructors
1
Methods
2
lstsq(a, b, rcond = None)
BLAS_MAXSIZE: Literal[int] = 2147483646
matmul(x1, x2)
dot(a, b, out = None)
matrix_power(a, n: int)
matrix_power(a, n: Literal[int])
multi_dot(arrays, out = None)
vdot(a, b)
outer(a, b, out = None)
inner(a, b)
tensordot(a, b, axes)
tensordot(a, b, axes: Literal[int] = 2)
kron(a, b)
trace(x, offset: int = 0, dtype: type = NoneType)
tensorsolve(a, b, axes = None)
tensorinv(a, ind: int = 2)
norm(x, ord = None, axis = None, keepdims: Literal[bool] = False)
pinv(a, rcond = 1e-15, hermitian: bool = False)
matrix_rank(A, tol = None, hermitian: bool = False)
cond(x, p = None)
matrix_transpose(x)
class ndarray[dtype, ndim]
Extends
numpy.ndarray.ndarray ยท View complete class API โ
Methods
2
Special methods
1