bandhic.less_equal#

bandhic.less_equal(x1, x2, *args, **kwargs)#

Perform element-wise ‘less_equal’ operation with two inputs.

Parameters:
  • x1 (band_hic_matrix, ndarray or scalar) – First input matrix.

  • x2 (band_hic_matrix, ndarray or scalar) – Second input for the operation.

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

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

Returns:

Result of element-wise ‘less_equal’ operation.

Return type:

band_hic_matrix

See also

numpy.less_equal

Examples

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