Télécharger pour Windows Premium
Publicité
Array-Slices
Suggestion : array sizes

Exemples avec "Array-Slices" et leurs traductions en anglais

Nous n’avons pas trouvé cette entrée. Affichage de résultats approximatifs. Vérifiez l’orthographe ou proposez d’ajouter ce terme au dictionnaire.
Array-Notierungen für parallele Datenoperationen auf Array-Slices wie a[] = b[] + c[], um zwei Vektoren zu summieren, oder a[] = sqrt(b[])
Array notations for data parallel operations on array slices, such as a[] = b[] + c[] to sum two vectors, or a[] = sqrt(b[])
Im folgenden Beispiel produziert slice ein neues Array, newCar aus myCar.
In the following example, slice creates a new array, newCar, from myCar.
Wenn du ein Array ähnliches Objekt kopieren möchtest, benutze Array#slice.
When you need to copy an array use Array#slice. jsPerf
Wenn Sie nur einen Teil des Arrays über die Slice-Funktion übergeben möchten, so verwenden Sie diesen Weg
If you want to pass only a portion of the array to the Slice function, simply call it this way
Im folgenden Beispiel erstellt slice ein neues Array mit der Bezeichnung newCar aus myCar. Beide enthalten einen Verweis auf das Objekt myHonda. Wenn die Farbe von myHonda zu purple geändert wird, wird die Änderung für beide Arrays übernommen.
In the following example, slice creates a new array, newCar, from myCar. Both include a reference to the object myHonda. When the color of myHonda is changed to purple, both arrays reflect the change.
In diesem Vortrag Dieser Beitrag aus dem Go-Blog wirft einen tieferen Blick auf Slices, und Arrays und den Umgang damit.
Go Slices: usage and internals This contribution from the Go blog sheds more light on slices, arrays and handling them.
Wenn du ein Array ähnliches Objekt kopieren möchtest, benutze Array#slice.
4.4 To convert an array-like object to an array, use Array#from.
Wenn Sie z.B. eine Bezier-Kurve aus den ersten zehn Punkten eines aus 100 Punkten bestehenden Arrays zeichnen möchten, verwenden Sie Slice folgendermaßen
For example, to form a Bezier curve using the first ten points from an array of 100 points, use the Slice function as follows
Objektreferenzen (d.h. nicht das eigentliche Objekt) - slice kopiert Objektreferenzen in das neue Array. Das ursprüngliche und das neue Array verweisen auf dasselbe Objekt. Wenn ein referenziertes Objekt sich ändert, werden die Änderungen in den neuen und in den ursprünglichen Arrays angezeigt.
Object references (and not the actual object) - slice copies object references into the new array. Both the original and new array refer to the same object. If a referenced object changes, the changes are visible to both the new and original arrays.
E2193 Standard-Funktion Slice nur als Argument für offene Arrays erlaubt (Object Pascal) E2194 Thread-lokale Variablen können nicht initialisiert werden (Object Pascal)
E2193 Slice standard function only allowed as open array argument (Object Pascal) E2194 Cannot initialize thread local variables (Object Pascal)
Aucun résultat pour cette recherche.

Synonymes et analogies de "Array-Slices" en allemand

Publicité

Résultats: 10. Exacts: 0. Temps écoulé: 92 ms.