In file DMatrix.cpp:

DIVAMatrixExport void CDMatrix::TriU( CDMatrix &matrix, const int K ) const

Extract upper triangular part of matrix.

Documentation

Extracts the elements on and above the K-th diagonal. K = 0 is the main diagonal, K > 0 is above the main diagonal and K < 0 is below the main diagonal.

Returns:
Nothing.
Author:
Lars Pedersen
Version:
5-12-2000


Back DIVA Reference Manual The DIVA-Site