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
| Input | Name | Expected type(s) | Description |
|---|---|---|---|
| Pin 0 Required | fieldA | field | |
| Pin 1 Required | scalar_int | int32 |
Outputs
| Output | Name | Expected type(s) | Description |
|---|---|---|---|
| Pin 0 | field | field |
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. |
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.