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

Summary

Computes the element-wise Lp norm of the field elementary data. Default Lp=L2 available inputs: field (Field, FieldsContainer), scalar_int (Int32) (optional) available outputs: field (Field)

Example

Class Information

Inputs

field

field or fields container with only one field is expected Type: LinkableInput

scalar_int

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

Outputs

field

Scalar field containing the Lp norm values for each element Type: LinkableOutput

Constructors

Constructor

Constructor

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

Constructor

Parameters:
  • config (OperatorConfig)

Methods

Properties

inputs

Type: InputSpec

outputs

Type: OutputSpec

defaultConfig

Type: Config