필터 지우기
필터 지우기

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