ee.Image.matrixToDiag
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
यह फ़ंक्शन, एक कॉलम वाले मैट्रिक्स से स्क्वेयर डायगोनल मैट्रिक्स का हिसाब लगाता है.
इस्तेमाल | रिटर्न |
---|
Image.matrixToDiag() | इमेज |
आर्ग्यूमेंट | टाइप | विवरण |
---|
यह: value | इमेज | वह इमेज जिस पर ऑपरेशन लागू किया गया है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eCreates a diagonal matrix where the diagonal elements are derived from a single column matrix, essentially spreading the column values across the diagonal.\u003c/p\u003e\n"],["\u003cp\u003eThis method is applicable to \u003ccode\u003eImage\u003c/code\u003e objects and returns a modified \u003ccode\u003eImage\u003c/code\u003e with the diagonal matrix applied.\u003c/p\u003e\n"],["\u003cp\u003eThe input is a single column matrix (represented as an \u003ccode\u003eImage\u003c/code\u003e object) that is used to construct the diagonal matrix.\u003c/p\u003e\n"]]],[],null,["# ee.Image.matrixToDiag\n\nComputes a square diagonal matrix from a single column matrix.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------------|---------|\n| Image.matrixToDiag`()` | Image |\n\n| Argument | Type | Details |\n|---------------|-------|----------------------------------------------|\n| this: `value` | Image | The image to which the operation is applied. |"]]