フィルターのクリア

Outer product of tall arrays

1 回表示 (過去 30 日間)
Z
Z 2022 年 9 月 24 日
編集済み: Z 2022 年 9 月 25 日
I have two column vectors x and y which I cast as tall arrays. I want to take their outer product x*y', however I cannot transpose a tall array. What other way is there to perform the computation x*y'?
  10 件のコメント
John D'Errico
John D'Errico 2022 年 9 月 25 日
Suppose the column vectors are small enough, that you can trivially store them in memory.
So say that x and y are only 1e7 elements in length. Then x*y' would use only 8e14 bytes of memory to store.
This is still a huge array, 800 terabytes.
Z
Z 2022 年 9 月 25 日
@John D'Errico I see. Thank you for your responses!

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeBig Data Processing についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by