bundles / scipy latest / scipy / sparse / linalg / _special_sparse_arrays / MikotaM
class
scipy.sparse.linalg._special_sparse_arrays:MikotaM
Signature
class MikotaM ( shape , dtype = <class 'numpy.float64'> ) Members
Summary
Construct a mass matrix in various formats of Mikota pair.
Extended Summary
The mass matrix M is square real diagonal positive definite with entries that are reciprocal to integers.
Parameters
shape: tuple of intThe shape of the matrix.
dtype: dtypeNumerical type of the array. Default is
np.float64.
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., (1, n) ndarray with the main diagonal.
Aliases
-
scipy.sparse.linalg._special_sparse_arrays.MikotaM