help classUnderlying
classUnderlying - Class of elements within gpuArray or distributed array
This MATLAB function returns the name of the class of the elements contained
within the gpuArray or distributed array D.
C = classUnderlying(D)
显示的是gpuArray矩阵类型中的元素的类型
help RCOND
rcond - Reciprocal condition number
This MATLAB function returns an estimate for the reciprocal condition of A in
1-norm.
这表示矩阵的条件数;矩阵A的条件数等于A的范数与A的逆的范数的乘积,即cond(A)=‖A‖・‖A^(-1)‖,对应矩阵的3种范数,相应地可以定义3种条件数。 函数 cond(A,1)、cond(A)或cond(A inf) 是判断矩阵病态与否的一种度量,条件数越大矩阵越病态。;如果矩阵好也就是求解稳定,则其条件数大概为1;如果病态矩阵则其条件数接近EPS.条件数事实上表示了矩阵计算对于误差的敏感性。对于线性方程组Ax=b,如果A的条件数大,b的微小改变就能引起解x较大的改变,数值稳定性差。如果A的条件数小,b有微小的改变,x的改变也很微小,数值稳定性好。一个极端的例子,当A奇异时,条件数为无穷,这时即使不改变b,x也可以改变。奇异的本质原因在于矩阵有0特征值,x在对应特征向量的方向上运动不改变Ax的值。
gather - Transfer distributed array data or gpuArray to local workspace
This MATLAB function can operate inside an spmd statement, pmode, or
communicating job to gather together the data of a codistributed array, or
outside an spmd statement to gather the data of a distributed array.
这是将gpuArray类型的转化为matlabworkspace空间的类型的函数。也就是将gpu上运行的数据转化到cpu上。