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
| Input | Name | Expected type(s) | Description |
|---|---|---|---|
| Pin 0 Required | fields_container | fields_container | |
| Pin 1 | scalar_int | int32 | Lp normalisation type, p = 1, 2, ...n - Default Lp=2 |
Outputs
| Output | Name | Expected type(s) | Description |
|---|---|---|---|
| Pin 0 | fields_container | fields_container |
Configurations
| Name | Expected type(s) | Default value | Description |
|---|---|---|---|
| mutex | bool | false | If this option is set to true, the shared memory is prevented from being simultaneously accessed by multiple threads. |
| num_threads | int32 | 0 | Number of threads to use to run in parallel |
| run_in_parallel | bool | true | Loops 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.