bandhic.less#

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

Perform element-wise ‘less’ 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.

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

Returns:

Result of element-wise ‘less’ operation.

Return type:

band_hic_matrix

See also

numpy.less

Examples

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