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 CenterFile Exchange 中查找有关 Big Data Processing 的更多信息

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by