Pengumuman: Semua project nonkomersial yang terdaftar untuk menggunakan Earth Engine sebelum
15 April 2025 harus
memverifikasi kelayakan nonkomersial untuk mempertahankan akses Earth Engine.
ee.Array.hypot
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Berdasarkan elemen, menghitung besaran vektor 2D [x, y].
Penggunaan | Hasil |
---|
Array.hypot(right) | Array |
Argumen | Jenis | Detail |
---|
ini: left | Array | Nilai sebelah kiri. |
right | Array | Nilai sebelah kanan. |
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-26 UTC.
[null,null,["Terakhir diperbarui pada 2025-07-26 UTC."],[[["\u003cp\u003eCalculates the magnitude (hypotenuse) of 2D vectors represented by corresponding elements within two arrays.\u003c/p\u003e\n"],["\u003cp\u003eThe function is used as \u003ccode\u003eArray.hypot(right)\u003c/code\u003e where 'left' is the calling array and 'right' is the argument array.\u003c/p\u003e\n"],["\u003cp\u003eBoth input arrays, 'left' and 'right', are expected to contain numerical values representing the x and y components of the vectors, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe result is a new array containing the calculated magnitudes for each corresponding pair of elements from the input arrays.\u003c/p\u003e\n"]]],[],null,["# ee.Array.hypot\n\nOn an element-wise basis, calculates the magnitude of the 2D vector \\[x, y\\].\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------|---------|\n| Array.hypot`(right)` | Array |\n\n| Argument | Type | Details |\n|--------------|-------|-----------------------|\n| this: `left` | Array | The left-hand value. |\n| `right` | Array | The right-hand value. |"]]