Give MathCell arithmetic ops implementations

Aperta
#969 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
rust
Ambito
data

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Rust
Stelle
4.3k
Fork
391
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di rust-ndarray/ndarray

Tutte le issue di rust-ndarray/ndarray

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.