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

Classes

struct  complex_float
 Implementation of eig function using lapacke without using the lapackE interface. More...
 
struct  complex_double
 

Macros

#define lapack_complex_float   struct complex_float
 
#define lapack_complex_double   struct complex_double
 

Functions

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

Macro Definition Documentation

◆ lapack_complex_double

#define lapack_complex_double   struct complex_double

◆ lapack_complex_float

#define lapack_complex_float   struct complex_float

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.