For direct matrix inversion by GPU INPUTS: - A: full matrix [n,m] - X: full vector [n,1] OUTPUTS: - Y: full vector [1,m] by Yves Peysson <yves.peysson@cea.fr> (CEA-IRFM) and Joan Decker <joan.decker@cea.fr> (CEA-IRFM)
0001 function [Y] = invmatGPU(A,X) 0002 % 0003 % For direct matrix inversion by GPU 0004 % 0005 % INPUTS: 0006 % 0007 % - A: full matrix [n,m] 0008 % - X: full vector [n,1] 0009 % 0010 % OUTPUTS: 0011 % 0012 % - Y: full vector [1,m] 0013 % 0014 % by Yves Peysson <yves.peysson@cea.fr> (CEA-IRFM) and Joan Decker <joan.decker@cea.fr> (CEA-IRFM) 0015 % 0016 Y = A\X; 0017