Zur Hauptnavigation wechseln Zur Suche wechseln Zum Hauptinhalt wechseln

Structured Vectors for Efficient Rank-Generic Array Programs.

K. Trojahner, F. Büther

Abstract

A powerful concept found in array programming languages such as SaC [1, 2] or Qube [3, 4] is rank-generic programming: array operations and entire programs can be specified for arrays that may not only vary in size, but even in the number of array axes. As the number of axes is inherently variable, individual array elements cannot be selected with any given number of indices. Instead, a vector of indices of appropriate length must be used. To illustrate the merits of rank-generic programming, we provide an example in our experimental array programming language Qube, that extends an Mlstyle language with array-specific features and dependent types for light-weight verification. The functions add1 and add2 perform element-wise addition on vectors of length n and matrices of shape m × n, respectively.
OriginalspracheEnglisch
PublikationsstatusVeröffentlicht - 2009

UN SDGs

Dieser Output leistet einen Beitrag zu folgendem(n) Ziel(en) für nachhaltige Entwicklung

  1. SDG 3 – Gesundheit und Wohlergehen
    SDG 3 – Gesundheit und Wohlergehen
  2. SDG 9 – Industrie, Innovation und Infrastruktur
    SDG 9 – Industrie, Innovation und Infrastruktur
  3. SDG 11 – Nachhaltige Städte und Gemeinschaften
    SDG 11 – Nachhaltige Städte und Gemeinschaften
  4. SDG 12 – Verantwortungsvoller Konsum und Produktion
    SDG 12 – Verantwortungsvoller Konsum und Produktion

Fingerprint

Untersuchen Sie die Forschungsthemen von „Structured Vectors for Efficient Rank-Generic Array Programs.“. Zusammen bilden sie einen einzigartigen Fingerprint.

Zitieren