component_wise_product_fc class
Last update: 18.06.2026Namespace: Ans.DataProcessing.operators.math
Summary
Computes component-wise product between two fields of same dimensionality. If one field's scoping has an 'overall' location, then this field's values are applied on the other field entirely. When using a constant or 'work_by_index', you can use 'inplace' to reuse one of the fields.
available inputs: fields_container (FieldsContainer), fieldB (Field, FieldsContainer)
available outputs: fields_container (FieldsContainer)
Example
op = component_wise_product_fc()
op = component_wise_product_fc(fields_container=my_fields_container,fieldB=my_fieldB)
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
fieldB
field or fields container with only one field is expected
Type: LinkableInput
Outputs
fields_container
Type: LinkableOutput
Constructors
Constructor
component_wise_product_fc()
Constructor
component_wise_product_fc(fields_container, fieldB, config)
Parameters:
fields_container(object)fieldB(object)config(OperatorConfig)
Constructor
component_wise_product_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