#include "MatrixDecomposition/getrf_nopivot.hpp"
template < typename T, int NMAX, int NCU > void getrf_nopivot ( int n, T* A, int lda, int& info )
This function computes the LU decomposition (without pivoting) of matrix \(A\)
\[\begin{equation*} {A = L U}\end{equation*}\]
where \(A\) is a dense matrix of size \(n \times n\) , \(L\) is a lower triangular matrix with unit diagonal, and \(U\) is an upper triangular matrix. This function does not implement pivoting.
The maximum matrix size supported in FPGA is templated by NMAX.
Parameters:
T | data type (support float and double) |
NMAX | maximum number of rows/cols of input matrix |
NCU | number of computation unit |
n | number of rows/cols of matrix A |
A | input matrix |
lda | leading dimention of input matrix A |
info | output info (unused) |