ee.Array.project
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ฉายอาร์เรย์ไปยังพื้นที่ที่มีมิติต่ำกว่าโดยการระบุแกนที่จะเก็บไว้ แกนที่ถูกทิ้งต้องมีความยาวไม่เกิน 1
การใช้งาน | การคืนสินค้า |
---|
Array.project(axes) | อาร์เรย์ |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
ดังนี้ array | อาร์เรย์ | อาร์เรย์ไปยังโปรเจ็กต์ |
axes | รายการ | แกนที่จะฉายภาพ ระบบจะทิ้งแกนอื่นๆ และต้องมีความยาวไม่เกิน 1 |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 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. |"]]