MtxExpr.AddDiag Method

Matrix AddDiag(TMtx Mtx, TVec DiagMtx)

Add diagonal to dense matrix.

#NameTypeDescription
1MtxTMtxsource TMtx
2DiagMtxTVecsource TVec

Returns: Matrix

Remarks:

Internally calls Dew.Math.Matrix.AddDiag