Skip to main content

math:norm (fields container)

Version: 0.0.0

Description

Computes the element-wise L2 norm of the field elementary data. This process is applied on each field of the input fields container.

Inputs

InputNameExpected type(s)Description
Pin 0
Required
fields_containerfields_container
Pin 1scalar_intint32Lp normalisation type, p = 1, 2, ...n - Default Lp=2

Outputs

OutputNameExpected type(s)Description
Pin 0fields_containerfields_container

Configurations

NameExpected type(s)Default valueDescription
mutexboolfalseIf this option is set to true, the shared memory is prevented from being simultaneously accessed by multiple threads.
num_threadsint320Number of threads to use to run in parallel
run_in_parallelbooltrueLoops are allowed to run in parallel if the value of this config is set to true.

Scripting

Category: math

Plugin: core

Scripting name: None

Full name: None

Internal name: norm_fc

License: None

Changelog

  • Version 0.0.0: Initial release.