Give MathCell arithmetic ops implementations

Offen
#969 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
25/100
Issue-Typ
Feature
Klarheit
Muss geklärt werden
Aktivitätsstatus
Veraltet
Tech-Stack
rust
Bereich
data

Rechercherichtung

Start by reading MathCell as introduced in issue #877, then inspect the arithmetic trait implementations and the possible impl-overlap constraints. The target is arithmetic support for arrays and views containing MathCell elements, including operations with non-cell arrays and especially assign operations such as the requested += form.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

enhancement

This is a follow-up to MathCell introduced in #877.

MathCell should have arithmetic operations so that arrays and views using MathCell elements can participate in some arithmetic ops. Preferably together with non-cell arrays. Detailed design might need to be decided after seeing what's permitted w.r.t impl overlap.

T.b.h most-wished for items would be ArrayView<MathCell<T>, _> += &array<T, _> and similar - i.e. easy ways to modify ArrayView<MathCell<T>, _> using assign ops.

Vorherrschende Sprache
Rust
Sterne
4.3k
Forks
391
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus rust-ndarray/ndarray

Alle Issues in rust-ndarray/ndarray

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.