{ } Raw JSON

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

class

scipy.sparse.linalg._special_sparse_arrays:MikotaM

source: /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