Tag selecting the unit-lower-triangular view (zero above the diagonal, one on the diagonal) 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 unit-lower-triangular policy (one on the diagonal, zero above). More...
|
| |
Tag selecting the unit-lower-triangular view (zero above the diagonal, one on the diagonal) for Math::TriangularAdapter.
◆ get()
template<typename M >
| static M::ConstReference CDPL::Math::UnitLower::get |
( |
const M & |
m, |
|
|
typename M::SizeType |
i, |
|
|
typename M::SizeType |
j |
|
) |
| |
|
inlinestatic |
Returns element (i, j) of m under the unit-lower-triangular policy (one on the diagonal, zero above).
- 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 one fill value if \( i = j \), the matrix element if \( i > j \), and the zero fill value otherwise.
The documentation for this struct was generated from the following file: