doc.arcgis.com/en/cityengine/2025.0/cga/cga-array-type-operators.htm

Preview meta tags from the doc.arcgis.com website.

Linked Hostnames

1
  • General Meta Tags

    17
    • title
      Array type operators—ArcGIS CityEngine Resources | Documentation
    • charset
      utf-8
    • X-UA-Compatible
      IE=edge,chrome=1
    • viewport
      width=device-width, user-scalable=no
    • description
      Array type operators Index operatorAccess array elements by indices or logical values.See index operator.[ ]1d indexing array1d = [1,2,3] array1d[1] // 22d Indexingarray2d = [1,2;3,4] array2d[1,0] // 3 Colon operatorCreate a sequence of float values.See colon operator.:Binary[1:5] // [1,2,3,4,5]Ternary[1:2:5] // [1,3,5] Equality operatorsCheck float[], bool[] or string[] for equality.Two arrays are equal if they have equal dimensions and equal elements.Return type: bool== Equality[1,2] == [1,2] // true ["a","b"] == ["a";"b"] // false [true,false] == [true,true] // false!=Inequality[1,2] != [1;2] // true ["a","b"] != ["a";"b"] // true [true,true] != [true,true] // false Relational operatorsCompare float[] or string[].Two arrays are element-wise compared, row by row. If an element is less, the respective array
  • Link Tags

    8
    • shortcut icon
      /assets/img/favicon.ico
    • stylesheet
      /assets/css/screen.css
    • stylesheet
      /cdn/calcite/css/documentation.css
    • stylesheet
      /assets/css/print.css
    • stylesheet
      /cdn/css/colorbox.css

Links

5