- MapdlMath.mgs(mat, thresh='', **kwargs)¶
Apply Modified Gram-Schmidt algorithm to a matrix.
The MGS algorithm is only applicable to dense matrices. Columns that are linearly dependent on others are removed, leaving the independent or basis vectors. The matrix is resized according to the new size determined by the algorithm.
Apply MGS on an existing Dense Rectangular Matrix, using default threshold. The mat matrix is modified in-situ.