Skip to main content
Namespace: Ans.DataProcessing.operators.math

Summary

Compute the component-wise sum over all the fields that have the same ID as the label set as input in the fields container and take its opposite. This computation can be incremental. If the input fields container is connected and the operator is run multiple times, the output field will be on all the connected inputs. available inputs: fields_container (FieldsContainer), label (string) (optional) available outputs: field (Field)

Example

Class Information

Inputs

fields_container

Type: LinkableInput

label

Label of the fields container where it should operate. If not defined and the input Fields Container has only one Label, the operation will be done over all the fields. Type: LinkableInput

Outputs

field

Type: LinkableOutput

Constructors

Constructor

Constructor

Parameters:
  • fields_container (object)
  • label (object)
  • config (OperatorConfig)

Constructor

Parameters:
  • config (OperatorConfig)

Methods

Properties

inputs

Type: InputSpec

outputs

Type: OutputSpec

defaultConfig

Type: Config