Community Profile

photo

Daichi


The Graduate University for Advanced Studies

Active since 2017

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


2次元行列演算のSIMD命令による高速化
M=2; N=10000; A=rand(M,M,N); のようなサイズ感のAに対して、MxMの2次元行列の行列式や逆行列をN個全てについて求めるのはどうすれば高速でしょうか。 M=2の時はAの3次元目にコロン演算子を用いて ...

5 years ago | 1 answer | 0

1

answer

Question


How to efficiently split a 2-D matrix? (inversion of "vertcat" process).
I have a 2-D matrix A whose size is (N*P x N). This is a vertically concatenated matrix of (N x N) small matrices. Namely, ...

6 years ago | 1 answer | 0

1

answer

Question


How can I apply arrayfun with 2D matrix inputs?
I want to accelerate the following code. B=zeros(N,M,M); for n=1:N B(n,:,:)=inv(A(n,:,:)); end where the size o...

7 years ago | 1 answer | 0

1

answer