LIBDSP Version 4.1.9
LIBDSP Software Library
Loading...
Searching...
No Matches
tpt_lup_decompose_f32.c File Reference
#include "tpt_math.h"
Include dependency graph for tpt_lup_decompose_f32.c:

Functions

tpt_status tpt_lup_decompose_f32 (uint32_t *aPermMat, f32_t *aInPlaceMat, uint32_t aN)
 LU decomposition with partial pivoting.

Function Documentation

◆ tpt_lup_decompose_f32()

tpt_status tpt_lup_decompose_f32 ( uint32_t * aPermMat,
f32_t * aInPlaceMat,
uint32_t aN )

LU decomposition with partial pivoting.

Parameters
[out]aPermMatpermutation vector
[in,out]aInPlaceMatmatrix to decompose in place
[in]aNorder of the square matrix
Returns
TPT_MATH_SINGULAR if the matrix is singular, otherwise success