atan

Contents

atan#

class brainunit.lax.atan(x, unit_to_scale=None, **kwargs)#

Elementwise arc tangent: \(\mathrm{atan}(x)\).

Parameters:
  • x (saiunit.Quantity | Array | ndarray | bool | number | bool | int | float | complex) – Input array. Must be dimensionless or scaled via unit_to_scale.

  • unit_to_scale (saiunit.Unit | None) – If provided, x is scaled by this unit before applying the function.

Returns:

result – Always unitless.

Return type:

Array