Skip to main content

math:+ constant (field)

Version: 0.0.0

Description

Computes the sum of a field (in 0) and a scalar (in 1).

Inputs

InputNameExpected type(s)Description
Pin 0
Required
fieldfield, fields_containerfield or fields container with only one field is expected
Pin 1
Required
weightsdouble, vector<double>double or vector of double

Outputs

OutputNameExpected type(s)Description
Pin 0fieldfield

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.

Scripting

Category: math

Plugin: core

Scripting name: add_constant

Full name: math.add_constant

Internal name: add_constant

License: None

Changelog

  • Version 0.0.0: Initial release.