NumPy · Function
np.power
numpy.power raises values in x1 to matching powers in x2, element by element. Inputs can use broadcasting, and the broadcasted shape determines the result shape.
Last updated
Syntax
numpy.power(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature])In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
float_power