Skip to main content

math:^2 (field)

Version: 0.0.0

Description

Computes element-wise field[i]^2.

Inputs

InputNameExpected type(s)Description
Pin 0
Required
fieldfield, fields_containerfield or fields container with only one field is expected

Outputs

OutputNameExpected type(s)Description
Pin 0fieldfield

Configurations

NameExpected type(s)Default valueDescription
inplaceboolfalseThe output is written over the input to save memory if this config is set to true.
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: sqr

License: None

Changelog

  • Version 0.0.0: Initial release.