Robotran C Documentation
Macros | Functions
inverse_lapack.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include "mbs_message.h"
#include "mbs_errors_names.h"
#include "mbs_1D_array.h"
#include "mbs_matrix.h"
#include "mbs_lapack.h"

Macros

#define MSG_ERR   ">> INV.LAPACK>> "
 
#define MSG_PRE   " >> "
 

Functions

int mbs_invLU_0 (double **A, double **Am1, int n)
 Inverse the square matrix A using a LU decomposition. More...
 

Macro Definition Documentation

◆ MSG_ERR

#define MSG_ERR   ">> INV.LAPACK>> "

◆ MSG_PRE

#define MSG_PRE   " >> "

Function Documentation

◆ mbs_invLU_0()

int mbs_invLU_0 ( double **  A,
double **  Am1,
int  n 
)

Inverse the square matrix A using a LU decomposition.

Parameters
[in]A: the matrix to inverse
[out]Am1: the inverse of the matrix A
[in]n: size of the matrix A
Returns
0 for successful exit.