Skip to main content

math:make one on component

Version: 0.0.0

Description

Takes the input field's scoping and creates a field full of zeros, except for the indexes from pin 1 that will hold 1.0.

Inputs

InputNameExpected type(s)Description
Pin 0
Required
fieldAfield
Pin 1
Required
scalar_intint32

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: make_one_on_comp

Full name: math.make_one_on_comp

Internal name: make_one_on_comp

License: None

Changelog

  • Version 0.0.0: Initial release.