MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / Lzero

Function Lzero

bayes/src/UdU.cpp:684–699  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

682
683
684void Lzero (RowMatrix& M)
685/* Zero strict lower triangle of Matrix
686 */
687{
688 std::size_t i,j;
689 const std::size_t n = M.size1();
690 assert (n == M.size2());
691 for (i = 1; i < n; ++i)
692 {
693 RowMatrix::Row Ui(M,i);
694 for (j = 0; j < i; ++j)
695 {
696 Ui[j] = 0;
697 }
698 }
699}
700
701void Uzero (RowMatrix& M)
702/* Zero strict upper triangle of Matrix

Callers 1

UdUfactorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected