Outer product of tall arrays

6 visualizzazioni (ultimi 30 giorni)
Z
Z il 24 Set 2022
Modificato: Z il 25 Set 2022
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 Commenti
John D'Errico
John D'Errico il 25 Set 2022
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 il 25 Set 2022
@John D'Errico I see. Thank you for your responses!

Accedi per commentare.

Risposte (0)

Prodotti


Release

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by