.. _omni_graph_tutorials_ArrayData_1:

.. _omni_graph_tutorials_ArrayData:

.. ================================================================================
.. THIS PAGE IS AUTO-GENERATED. DO NOT MANUALLY EDIT.
.. ================================================================================

:orphan:

.. meta::
    :title: Tutorial Node: Array Attributes
    :keywords: lang-en omnigraph node tutorials threadsafe tutorials array-data


Tutorial Node: Array Attributes
===============================

.. <description>

This is a tutorial node. It will compute the array 'result' as the input array 'original'  with every element multiplied by the constant 'multiplier'.

.. </description>


Installation
------------

To use this node enable :ref:`omni.graph.tutorials<ext_omni_graph_tutorials>` in the Extension Manager.


Inputs
------
.. csv-table::
    :header: "Name", "Type", "Descripton", "Default"
    :widths: 20, 20, 50, 10

    "inputs:gates", "``bool[]``", "Boolean mask telling which elements of the array should be multiplied", "[]"
    "inputs:info", "``token[]``", "List of strings providing commentary", "['There', 'is', 'no', 'data']"
    "inputs:multiplier", "``float``", "Multiplier of the array elements", "1.0"
    "inputs:original", "``float[]``", "Array to be multiplied", "[]"


Outputs
-------
.. csv-table::
    :header: "Name", "Type", "Descripton", "Default"
    :widths: 20, 20, 50, 10

    "outputs:infoSize", "``int``", "Number of letters in all strings in the info input", "None"
    "outputs:negativeValues", "``bool[]``", "Array of booleans set to true if the corresponding 'result' is negative", "None"
    "outputs:result", "``float[]``", "Multiplied array", "None"


Metadata
--------
.. csv-table::
    :header: "Name", "Value"
    :widths: 30,70

    "Unique ID", "omni.graph.tutorials.ArrayData"
    "Version", "1"
    "Extension", "omni.graph.tutorials"
    "Icon", "ogn/icons/omni.graph.tutorials.ArrayData.svg"
    "Has State?", "False"
    "Implementation Language", "C++"
    "Default Memory Type", "cpu"
    "Generated Code Exclusions", "None"
    "uiName", "Tutorial Node: Array Attributes"
    "Categories", "tutorials"
    "Generated Class Name", "OgnTutorialArrayDataDatabase"
    "Python Module", "omni.graph.tutorials"

