This is a pre-release version (latest).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy latest / scipy / sparse / linalg / _special_sparse_arrays / MikotaM

class

scipy.sparse.linalg._special_sparse_arrays:MikotaM

source: build-install/usr/lib/python3.14/site-packages/scipy/sparse/linalg/_special_sparse_arrays.py:691

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 int

The shape of the matrix.

dtype : dtype

Numerical 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