Float Array


The Float Array primitive stores float values in an indexed based array.

Inputs

  • Float input of the value to be stored to the array.
  • Index - an integer input specifying the index at which the float is to be stored.
  • Set - a trigger which causes the float to be stored to the array.
  • Clear - a trigger which clears the entire array.

Outputs

  • The float array.
  • Done - a trigger which fires when the float has been stored.
  • Size - an integer of the current size of the array.

Float Array Get At


The Float Array Get At primitive component retrieves float values from a float array.

Inputs

The float array from which data is retrieved Index - an integer specifying the index of the float value to be retrieved from the array. Get - a trigger input which causes the component to retrieve data from the array.

Outputs

A float output of the retrieved value. Done - a trigger which fires when the value has been retrieved.

Max Float Array


The Max Float Array primitive component will output the highest value in a float array as well as the index at which the maximum value is located.

Inputs

A float array is the sole input.

Outputs

  • Index where maximum occurs - an integer value giving the index location of the maximum value within the float array.
  • Maximum value - a float value giving the maximum value in the float array.

Shift Float Array


The Shift Float Array primitive component shifts the index values of an array so by the integer value provided. Positive shifts values shift entries to the right and negative values shift to the left with entries wrapping as they pass of either end.

Inputs

  • Array - Array to shift.
  • Shift - No. of entries to shift right (-ve = left) - an integer specifying the magnitude and direction of the shift.
  • DoIt - Performs the entry shift - a trigger input.

Outputs

Shifted Array.

Float Array Section


The Float Array Section primitive component extracts a portion of a float array into a new float array.

Inputs

  • The float array.
  • N - Number of Values - an integer specifying the number of values to be taken from the source array.
  • First - Index of the First Value - an integer specifying the index in the source array of the value to be the first value in the output array.

Outputs

A float array consisting of the specified portion of the original array.

component_reference/float_array.txt · Last modified: 2008/05/20 23:10 (external edit)