pentapy API¶
Purpose¶
pentapy is a toolbox to deal with pentadiagonal matrizes in Python.
Solver¶
Solver for a pentadiagonal equations system.
solve (mat, rhs[, is_flat, index_row_wise, …]) |
Solver for a pentadiagonal system. |
Tools¶
The following tools are provided:
diag_indices (n[, offset]) |
Indices for the main or minor diagonals of a matrix. |
shift_banded (mat[, up, low, col_to_row, copy]) |
Shift rows of a banded matrix. |
create_banded (mat[, up, low, col_wise, dtype]) |
Create a banded matrix from a given quadratic Matrix. |
create_full (mat[, up, low, col_wise]) |
Create a (n x n) Matrix from a given banded matrix. |