bandhic.expm1#

bandhic.expm1(x, *args, **kwargs)#

Perform element-wise ‘expm1’ operation.

Parameters:
  • x (band_hic_matrix) – Input matrix.

  • *args (tuple) – Additional positional arguments for numpy.expm1.

  • **kwargs (dict) – Keyword arguments for numpy.expm1.

Returns:

Result of element-wise ‘expm1’ operation.

Return type:

band_hic_matrix

See also

numpy.expm1

Examples

>>> import bandhic as bh
>>> x1 = band_hic_matrix(np.eye(3), diag_num=2, dtype=int)
>>> result = bh.expm1(x1)