potrf - 2023.2 English

Vitis Libraries

Release Date
2023-12-20
Version
2023.2 English
#include "MatrixDecomposition/potrf.hpp"
template <
    typename T,
    int NMAX,
    int NCU
    >
void potrf (
    int m,
    T* A,
    int lda,
    int& info
    )

This function computes the Cholesky decomposition of matrix \(A\)

\[\begin{equation*} {A = L {L}^T}\end{equation*}\]

where \(A\) is a dense symmetric positive-definite matrix of size \(m \times m\) , \(L\) is a lower triangular matrix, and \({L}^T\) is the transposed matrix of \(L\) .

The maximum matrix size supported in FPGA is templated by NMAX.

Parameters:

T data type (support float and double)
NMAX maximum number of rows/columns of input matrix
NCU number of computation unit
m number of rows/cols of matrix A
A input matrix of size \(m \times m\)
lda leading dimention of input matrix A
info output info (unused)