Array<E> implements an arrays in BRIDGES, and it can be used to create arrays of any generic type; Bridges Arrays support uptto 3 dimensions. The setDimensions() method is used to set the array dimensions, which also allocates storage. Bridges creates arrays of Element<E>, which can be used to set visual properties.

See also

This tutorial gives an introduction to the usage of arrays. You can find the complete documentation of the features in the Doxygen documentation of the following classes and functions:

  1. Array1D [Java] [C++] [Python]
  2. Array2D [Java] [C++] [Python]
  3. Array3D [Java] [C++] [Python]
  4. Element [Java] [C++] [Python]

Array - Example BRIDGES Programs (1D, 2D, 3D)

Java
C++
Python

Bridges Visualization

Well done! You’ve just created your Bridges Array project!