.. index:: pair: namespace; gpr::linalg::fixed .. _doxid-namespacegpr_1_1linalg_1_1fixed: namespace gpr::linalg::fixed ============================ .. toctree:: :hidden: Overview ~~~~~~~~ .. ref-code-block:: cpp :class: doxyrest-overview-code-block namespace fixed { // global functions bool :ref:`choleskyLower`(double* a, std::int64_t lda, std::int64_t n); void :ref:`solveRightLowerTranspose`(const double* l, std::int64_t ldl, std::int64_t n, double* x, std::int64_t ldx, std::int64_t rows); void :ref:`solveLeftTriangular`(const double* t, std::int64_t ldt, std::int64_t n, bool lower, double* b, std::int64_t ldb, std::int64_t cols); void :ref:`subtractProduct`(const double* a, std::int64_t lda, bool transpose_a, const double* b, std::int64_t ldb, double* c, std::int64_t ldc, std::int64_t m, std::int64_t n, std::int64_t k); void :ref:`subtractProductTransposed`(const double* a, std::int64_t lda, const double* bt, std::int64_t ldbt, double* c, std::int64_t ldc, std::int64_t m, std::int64_t n, std::int64_t k); } // namespace fixed .. _details-namespacegpr_1_1linalg_1_1fixed: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Global Functions ---------------- .. index:: pair: function; choleskyLower .. _doxid-namespacegpr_1_1linalg_1_1fixed_1ad14d3f0963ae7b40bbfc846f3b8542d8: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool choleskyLower(double* a, std::int64_t lda, std::int64_t n) Cholesky factor of the lower triangle of the n x n block a (column-major, leading dimension lda), in place. Left-looking: column j receives a(j:, j) -= a(j:, l) a(j, l) for l = 0 .. j-1 in ascending order, then is scaled by its pivot. Returns false at the first pivot that is not positive and finite; the block is then partly overwritten. .. index:: pair: function; solveRightLowerTranspose .. _doxid-namespacegpr_1_1linalg_1_1fixed_1a164393d85c44e87f73af3964f333d35b: .. ref-code-block:: cpp :class: doxyrest-title-code-block void solveRightLowerTranspose(const double* l, std::int64_t ldl, std::int64_t n, double* x, std::int64_t ldx, std::int64_t rows) X := X L^-T for X (rows x n, leading dimension ldx) and the lower triangle of L (n x n). Column c of X is (X(:, c) - sum\_{l