sqr_fc class
Last update: 18.06.2026Namespace: Ans.DataProcessing.operators.math
Summary
Computes element-wise field[i]^2.
available inputs: fields_container (FieldsContainer)
available outputs: fields_container (FieldsContainer)
Example
op = sqr_fc()
op = sqr_fc(fields_container=my_fields_container)
Class Information
| Property | Value |
|---|---|
| Namespace | Ans.DataProcessing.operators.math |
| Assembly | Ans_Dpf_Native_dll_cs |
| Base Class | Ans.DataProcessing.internal_objects.BaseOperator |
Inputs
fields_container
field or fields container with only one field is expected
Type: LinkableInput
Outputs
fields_container
Field with squared values applied element-wise to input data
Type: LinkableOutput
Constructors
Constructor
sqr_fc()
Constructor
sqr_fc(fields_container, config)
Parameters:
fields_container(object)config(OperatorConfig)
Constructor
sqr_fc(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