MtxExpr.AddDiag Method

function AddDiag(const Mtx: TMtx; const DiagMtx: TVec): Matrix;

Add diagonal to dense matrix.

#NameTypeDescription
1MtxTMtx
2DiagMtxTVec

Returns: Matrix

Remarks:

Internally calls Matrix.AddDiag