pow class
Last update: 18.06.2026Namespace: Ans.DataProcessing.operators.math
Summary
Computes element-wise field[i]^p.
available inputs: field (Field), factor (double)
available outputs: field (Field)
Example
op = pow()
op = pow(field=my_field,factor=my_factor)
Class Information
| Property | Value |
|---|---|
| Namespace | Ans.DataProcessing.operators.math |
| Assembly | Ans_Dpf_Native_dll_cs |
| Base Class | Ans.DataProcessing.internal_objects.BaseOperator |
Inputs
field
Field for which to compute power operation
Type: LinkableInput
factor
Power exponent value
Type: LinkableInput
Outputs
field
Field with power operation applied element-wise
Type: LinkableOutput
Constructors
Constructor
pow()
Constructor
pow(field, factor, config)
Parameters:
field(object)factor(object)config(OperatorConfig)
Constructor
pow(config)
Parameters:
config(OperatorConfig)
Methods
Properties
inputs
Type: InputSpec
# Get or set the property
value = obj.inputs
obj.inputs = new_value
outputs
Type: OutputSpec
# Get or set the property
value = obj.outputs
obj.outputs = new_value
defaultConfig
Type: Config
# Get the property (read-only)
value = obj.defaultConfig