class_docstr: Construct a stiffness matrix in various formats of Mikota pair.
  
  The stiffness matrix `K` is square real tri-diagonal symmetric
  positive definite with integer entries. 
  
  Parameters
  ----------
  shape : tuple of int
      The shape of the matrix.
  dtype : dtype
      Numerical 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.
code: def __init__(self, shape, dtype=np.int32):
      self.shape = shape
      self.dtype = dtype
      super().__init__(dtype, shape)
      # The matrix is constructed from its diagonals;
      # we precompute these to avoid duplicating the computation
      n = shape[0]
      self._diag0 = np.arange(2 * n - 1, 0, -2, dtype=self.dtype)
      self._diag1 = -np.arange(n - 1, 0, -1, dtype=self.dtype)
  
imports: import numpy
  from scipy.sparse.linalg import LinearOperator
  from scipy.sparse import kron, eye, dia_array
label_desc: Use image node_id 1 to create a new MikotaK object from inherited base classes: LinearOperator with example: obj = MikotaK(shape, dtype)