Type: lib.numpy.math.PowerArray
Namespace: lib.numpy.math
Description
Raises the base array to the power of the exponent element-wise. math, exponentiation, power, pow, **
Use cases:
- Calculating compound interest
- Implementing polynomial functions
- Applying non-linear transformations to data
Properties
| Property | Type | Description | Default |
|---|---|---|---|
| base | (float | int | np_array) |
1.0 |
|
| exponent | (float | int | np_array) |
2.0 |
Outputs
| Output | Type | Description |
|---|---|---|
| output | (float | int | np_array) |
Metadata
Related Nodes
Browse other nodes in the lib.numpy.math namespace.