Vectorized operations for BandHiC matrices#

These functions perform element-wise operations on BandHiC matrices, allowing for efficient computation across the matrix elements. These functions are wrapped around numpy ufuncs to provide a consistent interface for element-wise operations.

bandhic.absolute(x, *args, **kwargs)

Perform element-wise 'absolute' operation.

bandhic.add(x1, x2, *args, **kwargs)

Perform element-wise 'add' operation with two inputs.

bandhic.arccos(x, *args, **kwargs)

Perform element-wise 'arccos' operation.

bandhic.arccosh(x, *args, **kwargs)

Perform element-wise 'arccosh' operation.

bandhic.arcsin(x, *args, **kwargs)

Perform element-wise 'arcsin' operation.

bandhic.arcsinh(x, *args, **kwargs)

Perform element-wise 'arcsinh' operation.

bandhic.arctan(x, *args, **kwargs)

Perform element-wise 'arctan' operation.

bandhic.arctan2(x1, x2, *args, **kwargs)

Perform element-wise 'arctan2' operation with two inputs.

bandhic.arctanh(x, *args, **kwargs)

Perform element-wise 'arctanh' operation.

bandhic.bitwise_and(x1, x2, *args, **kwargs)

Perform element-wise 'bitwise_and' operation with two inputs.

bandhic.bitwise_or(x1, x2, *args, **kwargs)

Perform element-wise 'bitwise_or' operation with two inputs.

bandhic.bitwise_xor(x1, x2, *args, **kwargs)

Perform element-wise 'bitwise_xor' operation with two inputs.

bandhic.cbrt(x, *args, **kwargs)

Perform element-wise 'cbrt' operation.

bandhic.conj(x, *args, **kwargs)

Perform element-wise 'conj' operation.

bandhic.conjugate(x, *args, **kwargs)

Perform element-wise 'conjugate' operation.

bandhic.cos(x, *args, **kwargs)

Perform element-wise 'cos' operation.

bandhic.cosh(x, *args, **kwargs)

Perform element-wise 'cosh' operation.

bandhic.deg2rad(x, *args, **kwargs)

Perform element-wise 'deg2rad' operation.

bandhic.degrees(x, *args, **kwargs)

Perform element-wise 'degrees' operation.

bandhic.divide(x1, x2, *args, **kwargs)

Perform element-wise 'divide' operation with two inputs.

bandhic.divmod(x1, x2, *args, **kwargs)

Perform element-wise 'divmod' operation with two inputs.

bandhic.equal(x1, x2, *args, **kwargs)

Perform element-wise 'equal' operation with two inputs.

bandhic.exp(x, *args, **kwargs)

Perform element-wise 'exp' operation.

bandhic.exp2(x, *args, **kwargs)

Perform element-wise 'exp2' operation.

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

Perform element-wise 'expm1' operation.

bandhic.fabs(x, *args, **kwargs)

Perform element-wise 'fabs' operation.

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

Perform element-wise 'float_power' operation with two inputs.

bandhic.floor_divide(x1, x2, *args, **kwargs)

Perform element-wise 'floor_divide' operation with two inputs.

bandhic.fmod(x1, x2, *args, **kwargs)

Perform element-wise 'fmod' operation with two inputs.

bandhic.gcd(x1, x2, *args, **kwargs)

Perform element-wise 'gcd' operation with two inputs.

bandhic.greater(x1, x2, *args, **kwargs)

Perform element-wise 'greater' operation with two inputs.

bandhic.greater_equal(x1, x2, *args, **kwargs)

Perform element-wise 'greater_equal' operation with two inputs.

bandhic.heaviside(x1, x2, *args, **kwargs)

Perform element-wise 'heaviside' operation with two inputs.

bandhic.hypot(x1, x2, *args, **kwargs)

Perform element-wise 'hypot' operation with two inputs.

bandhic.invert(x, *args, **kwargs)

Perform element-wise 'invert' operation.

bandhic.lcm(x1, x2, *args, **kwargs)

Perform element-wise 'lcm' operation with two inputs.

bandhic.left_shift(x1, x2, *args, **kwargs)

Perform element-wise 'left_shift' operation with two inputs.

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

Perform element-wise 'less' operation with two inputs.

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

Perform element-wise 'less_equal' operation with two inputs.

bandhic.log(x, *args, **kwargs)

Perform element-wise 'log' operation.

bandhic.log1p(x, *args, **kwargs)

Perform element-wise 'log1p' operation.

bandhic.log2(x, *args, **kwargs)

Perform element-wise 'log2' operation.

bandhic.log10(x, *args, **kwargs)

Perform element-wise 'log10' operation.

bandhic.logaddexp(x1, x2, *args, **kwargs)

Perform element-wise 'logaddexp' operation with two inputs.

bandhic.logaddexp2(x1, x2, *args, **kwargs)

Perform element-wise 'logaddexp2' operation with two inputs.

bandhic.logical_and(x1, x2, *args, **kwargs)

Perform element-wise 'logical_and' operation with two inputs.

bandhic.logical_or(x1, x2, *args, **kwargs)

Perform element-wise 'logical_or' operation with two inputs.

bandhic.logical_xor(x1, x2, *args, **kwargs)

Perform element-wise 'logical_xor' operation with two inputs.

bandhic.maximum(x1, x2, *args, **kwargs)

Perform element-wise 'maximum' operation with two inputs.

bandhic.minimum(x1, x2, *args, **kwargs)

Perform element-wise 'minimum' operation with two inputs.

bandhic.mod(x1, x2, *args, **kwargs)

Perform element-wise 'mod' operation with two inputs.

bandhic.multiply(x1, x2, *args, **kwargs)

Perform element-wise 'multiply' operation with two inputs.

bandhic.negative(x, *args, **kwargs)

Perform element-wise 'negative' operation.

bandhic.not_equal(x1, x2, *args, **kwargs)

Perform element-wise 'not_equal' operation with two inputs.

bandhic.positive(x, *args, **kwargs)

Perform element-wise 'positive' operation.

bandhic.power(x1, x2, *args, **kwargs)

Perform element-wise 'power' operation with two inputs.

bandhic.rad2deg(x, *args, **kwargs)

Perform element-wise 'rad2deg' operation.

bandhic.radians(x, *args, **kwargs)

Perform element-wise 'radians' operation.

bandhic.reciprocal(x, *args, **kwargs)

Perform element-wise 'reciprocal' operation.

bandhic.remainder(x1, x2, *args, **kwargs)

Perform element-wise 'remainder' operation with two inputs.

bandhic.right_shift(x1, x2, *args, **kwargs)

Perform element-wise 'right_shift' operation with two inputs.

bandhic.rint(x, *args, **kwargs)

Perform element-wise 'rint' operation.

bandhic.sign(x, *args, **kwargs)

Perform element-wise 'sign' operation.

bandhic.sin(x, *args, **kwargs)

Perform element-wise 'sin' operation.

bandhic.sinh(x, *args, **kwargs)

Perform element-wise 'sinh' operation.

bandhic.sqrt(x, *args, **kwargs)

Perform element-wise 'sqrt' operation.

bandhic.square(x, *args, **kwargs)

Perform element-wise 'square' operation.

bandhic.subtract(x1, x2, *args, **kwargs)

Perform element-wise 'subtract' operation with two inputs.

bandhic.tan(x, *args, **kwargs)

Perform element-wise 'tan' operation.

bandhic.tanh(x, *args, **kwargs)

Perform element-wise 'tanh' operation.

bandhic.true_divide(x1, x2, *args, **kwargs)

Perform element-wise 'true_divide' operation with two inputs.