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

Summary

Computes the element-wise L2 norm of the field elementary data. This process is applied on each field of the input fields container. available inputs: fields_container (FieldsContainer), scalar_int (Int32) (optional) available outputs: fields_container (FieldsContainer)

Example

Class Information

Inputs

fields_container

FieldsContainer containing fields for norm calculation Type: LinkableInput

scalar_int

Lp normalisation type, p = 1, 2, …n - Default Lp=2 Type: LinkableInput

Outputs

fields_container

FieldsContainer with computed norms for each field Type: LinkableOutput

Constructors

Constructor

Constructor

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

Constructor

Parameters:
  • config (OperatorConfig)

Methods

Properties

inputs

Type: InputSpec

outputs

Type: OutputSpec

defaultConfig

Type: Config