ee.Array.project
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Rzutuje tablicę na przestrzeń o mniejszej liczbie wymiarów, określając osie do zachowania. Wyrzucone osie muszą mieć długość maksymalnie 1.
Wykorzystanie | Zwroty |
---|
Array.project(axes) | Tablica |
Argument | Typ | Szczegóły |
---|
to: array | Tablica | Tablica do projektu. |
axes | Lista | Osie, na które ma być rzutowany obraz. Pozostałe osie zostaną odrzucone i muszą mieć długość maksymalnie 1. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-26 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eproject\u003c/code\u003e method reduces the dimensionality of an array by selecting specific axes to keep.\u003c/p\u003e\n"],["\u003cp\u003eAxes that are not included in the projection and have a size greater than 1 will be dropped, resulting in a lower-dimensional array.\u003c/p\u003e\n"],["\u003cp\u003eIt takes an array and a list of axes as input and returns the projected array.\u003c/p\u003e\n"]]],[],null,["# ee.Array.project\n\nProjects an array to a lower dimensional space by specifying the axes to retain. Dropped axes must be at most length 1.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------|---------|\n| Array.project`(axes)` | Array |\n\n| Argument | Type | Details |\n|---------------|-------|---------------------------------------------------------------------------------------|\n| this: `array` | Array | Array to project. |\n| `axes` | List | The axes to project onto. Other axes will be discarded, and must be at most length 1. |"]]