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

Summary

DEPRECATED, PLEASE USE GENERALIZED INNER PRODUCT. Computes element - wise dot product between two vector fields. 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, but only in the case where both fields are scalar. available inputs: fieldA (Field, FieldsContainer), fieldB (Field, FieldsContainer) available outputs: field (Field)

Example

Class Information

Inputs

fieldA

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

field

Scalar field containing the dot product values between corresponding vectors Type: LinkableOutput

Constructors

Constructor

Constructor

Parameters:
  • fieldA (object)
  • fieldB (object)
  • config (OperatorConfig)

Constructor

Parameters:
  • config (OperatorConfig)

Methods

Properties

inputs

Type: InputSpec

outputs

Type: OutputSpec

defaultConfig

Type: Config