# Linear Algebra¶

## Basics¶

 cupyx.scipy.linalg.solve_triangular Solve the equation a x = b for x, assuming a is a triangular matrix.

## Decompositions¶

 cupyx.scipy.linalg.lu_factor LU decomposition. cupyx.scipy.linalg.lu_solve Solve an equation system, a * x = b, given the LU factorization of a

## Special Matrices¶

 cupyx.scipy.linalg.block_diag Create a block diagonal matrix from provided arrays. cupyx.scipy.linalg.circulant Construct a circulant matrix. cupyx.scipy.linalg.companion Create a companion matrix. cupyx.scipy.linalg.convolution_matrix Construct a convolution matrix. cupyx.scipy.linalg.dft Discrete Fourier transform matrix. cupyx.scipy.linalg.fiedler Returns a symmetric Fiedler matrix cupyx.scipy.linalg.fiedler_companion Returns a Fiedler companion matrix cupyx.scipy.linalg.hadamard Construct an Hadamard matrix. cupyx.scipy.linalg.hankel Construct a Hankel matrix. cupyx.scipy.linalg.helmert Create an Helmert matrix of order n. cupyx.scipy.linalg.hilbert Create a Hilbert matrix of order n. cupyx.scipy.linalg.kron Kronecker product. cupyx.scipy.linalg.leslie Create a Leslie matrix. cupyx.scipy.linalg.toeplitz Construct a Toeplitz matrix. cupyx.scipy.linalg.tri Construct (N, M) matrix filled with ones at and below the k-th diagonal. cupyx.scipy.linalg.tril Make a copy of a matrix with elements above the k-th diagonal zeroed. cupyx.scipy.linalg.triu Make a copy of a matrix with elements below the k-th diagonal zeroed.