Skip to content

Rank-agnostic array element and section denotation #157

Open
@certik

Description

@certik

The Committee is debating how to do "Rank-agnostic array element and section denotation".

There is disagreement on how to approach this, particularly between rank-1 integers vs a type. Many think the alternatives need to be explored more.

Papers:

https://j3-fortran.org/doc/year/19/19-150.txt
https://j3-fortran.org/doc/year/19/19-173r1.txt
https://j3-fortran.org/doc/year/19/19-202r2.txt
https://j3-fortran.org/doc/year/20/20-113.txt (passed 10 v 5)
https://j3-fortran.org/doc/year/20/20-115.txt
https://j3-fortran.org/doc/year/20/20-120.txt
https://j3-fortran.org/doc/year/20/20-124.txt
https://j3-fortran.org/doc/year/20/20-125.txt Failed (5 v 7). Missing edits, and disagreement on types vs rank-1 integers, the options need to be explored more.
https://j3-fortran.org/doc/year/20/20-126.txt

https://j3-fortran.org/doc/year/19/19-253r1.txt (type-based array descriptors)

Basic Summary

A(@V)

is equivalent to

A(V(1), V(2), ..., V(size(V)))
  A(@V1, :, @V2)

is equivalent to

A ( V1(1), V1(2) , ..., V1(size(V1)) , :, &
    & V2(1), V2(2) , ..., V2(size(V2)) )

Metadata

Metadata

Assignees

No one assigned

    Labels

    Clause 9Standard Clause 9: Use of data objects

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions