ee.Array.dotProduct
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
حاصل ضرب نقطه ای را بین دو آرایه 1 بعدی محاسبه کنید.
استفاده | برمی گرداند | Array. dotProduct (array2) | شماره |
استدلال | تایپ کنید | جزئیات | این: array1 | آرایه | اولین آرایه 1 بعدی. |
array2 | آرایه | دومین آرایه 1 بعدی. |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eThe \u003ccode\u003edotProduct\u003c/code\u003e method calculates the dot product of two 1-D arrays.\u003c/p\u003e\n"],["\u003cp\u003eIt takes one argument, the second array, and returns a single number representing the dot product.\u003c/p\u003e\n"],["\u003cp\u003eBoth input arrays should be 1-dimensional.\u003c/p\u003e\n"]]],["The core functionality is to compute the dot product of two one-dimensional arrays. The `dotProduct` method, applied to `array1`, takes `array2` as an argument. Both arrays must be 1-D. It returns a single numerical value representing the dot product result. The function operates by multiplying corresponding elements from each array, and then summing the products.\n"],null,["# ee.Array.dotProduct\n\nCompute the dot product between two 1-D arrays.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------------|---------|\n| Array.dotProduct`(array2)` | Number |\n\n| Argument | Type | Details |\n|----------------|-------|-----------------------|\n| this: `array1` | Array | The first 1-D array. |\n| `array2` | Array | The second 1-D array. |"]]