bundles / scipy latest / scipy / sparse / linalg / _special_sparse_arrays / MikotaK
class
scipy.sparse.linalg._special_sparse_arrays:MikotaK
Signature
class MikotaK ( shape , dtype = <class 'numpy.int32'> ) Members
Summary
Construct a stiffness matrix in various formats of Mikota pair.
Extended Summary
The stiffness matrix K is square real tri-diagonal symmetric positive definite with integer entries.
Parameters
shape: tuple of intThe shape of the matrix.
dtype: dtypeNumerical type of the array. Default is
np.int32.
Methods
toarray()Construct a dense array from Mikota data
tosparse()Construct a sparse array from Mikota data
tobanded()The format for banded symmetric matrices, i.e., (2, n) ndarray with 2 upper diagonals placing the main diagonal at the bottom.
Aliases
-
scipy.sparse.linalg._special_sparse_arrays.MikotaK