Tag selecting the lower-triangular view (entries strictly above the diagonal read as zero) for Math::TriangularAdapter.
More...
#include <MatrixAdapter.hpp>
|
| template<typename M > |
| static M::ConstReference | get (const M &m, typename M::SizeType i, typename M::SizeType j) |
| | Returns element (i, j) of m under the lower-triangular policy (zero above the diagonal). More...
|
| |
Tag selecting the lower-triangular view (entries strictly above the diagonal read as zero) for Math::TriangularAdapter.
◆ get()
template<typename M >
| static M::ConstReference CDPL::Math::Lower::get |
( |
const M & |
m, |
|
|
typename M::SizeType |
i, |
|
|
typename M::SizeType |
j |
|
) |
| |
|
inlinestatic |
Returns element (i, j) of m under the lower-triangular policy (zero above the diagonal).
- Template Parameters
-
- Parameters
-
| m | The adapter providing access to the underlying matrix and the zero/one fill values. |
| i | The zero-based row index. |
| j | The zero-based column index. |
- Returns
- The matrix element if \( i \ge j \), and the zero fill value otherwise.
The documentation for this struct was generated from the following file: