Skip to content

Commit

Permalink
Content for slide on array dimensions
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed May 11, 2023
1 parent e43c698 commit 9bde48e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions RationaleMCP/0031/presentations/pre-test-impl.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,18 @@ Presentation to the Modelica Language Group to seek confirmation that it is mean
- Feedback from the Modelica Language Group
- Test implementations (<tool list>)
- Refactoring of the Modelica Specification


## Slide content

### Base Modelica Key Features: Array dimensions

References:
- [Array size](../differences.md#array-size)
- [`constsize`](differences.md#the-constsize-expression), [rationale](../constsize.md)

Main points:
- In an array type, each dimension has a size that is either _constant_ or _flexible_
- Component declarations outside functions may only specify constant array sizes
- The `constsize`-expression allows expressing constant assertions on array dimensions
- In an array equation, the array type must have constant sizes

0 comments on commit 9bde48e

Please sign in to comment.