bandhic.band_hic_matrix.tan#

band_hic_matrix.tan(self, *args, **kwargs)#

Perform element-wise ‘tan’ operation.

Parameters:
  • self (band_hic_matrix) – Input matrix.

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

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

Returns:

Result of element-wise ‘tan’ operation.

Return type:

band_hic_matrix

See also

numpy.tan

Examples

>>> from bandhic import band_hic_matrix
>>> mat = band_hic_matrix(np.eye(3), diag_num=2, dtype=int)
>>> result = mat.tan()