Get to know MDN better
このページはコミュニティーの尽力で英語から翻訳されました。MDN Web Docs コミュニティーについてもっと知り、仲間になるにはこちらから。
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2020年7月.
メモ: この機能はウェブワーカー内で利用可能です。
fromFloat64Array() は DOMMatrixReadOnly インターフェイスの静的メソッドで、新しい DOMMatrixReadOnly オブジェクトを与えられた倍精度(64 ビット)浮動小数点値の配列から作成します。
配列に 6 個の値がある場合、結果は二次元用の行列になります。配列に 16 個の値がある場合、結果は三次元用の行列になります。それ以外の場合は TypeError 例外が発生します。
Float64Array で、列優先順で 6 個または 16 個の要素です。
DOMMatrixReadOnly オブジェクトです。
array 引数の長さが 6 個または 16 個ではない場合に発生します。
この例は二次元用の行列を要素 6 個の Float64Array から作成します。
この例は三次元用の行列を要素 16 個の Float64Array から作成します。
| Geometry Interfaces Module Level 1 # dom-dommatrixreadonly-fromfloat64array |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 2026年2月17日 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.