gematrixinverse - 2023.2 English

Vitis Libraries

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

This function computes the inverse matrix of \(A\)

\[\begin{equation*} {A}^{-1}\end{equation*}\]

where \(A\) is a dense general matrix of size \(m \times m\) . 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 \(n \times n\)
lda leading dimention of input matrix A
info output info (unused)