Exponent#

Computes the base input raised to the power of the exponent. The result is the same type as the base input for floating point types. The result is double for integral values to allow for negative exponents. If the input is a vector or matrix, then the node calculates the exponent for each element and output a vector or matrix of the same size.

Installation#

To use this Node, you must enable omni.graph.nodes in the Extension Manager.

Inputs#

Name

Type

Description

Default

Base (base)

numerics

Base value that will be raised to the power of exponent

Exponent (exponent)

int

Power to raise the base value to

2

Outputs#

Name

Type

Description

Default

Result (result)

numerics

Result of base raised to exponent