bandhic.float_power#

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

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

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

Returns:

Result of element-wise ‘float_power’ operation.

Return type:

band_hic_matrix

Examples

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