Robotran C Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Macros | Functions
rank_lapack.c File Reference
#include <stdio.h>
#include "mbs_matrix.h"
#include "mbs_lapack.h"
#include "mbs_message.h"
#include "mbs_1D_array.h"
#include "mbs_errors_names.h"

Macros

#define MSG_ERR   ">> RANK LPK>> "
 
#define MSG_PRE   " >> "
 

Functions

int mbs_rank_0 (double **A, int m, int n)
 Compute the rank of a matrix. More...
 

Macro Definition Documentation

◆ MSG_ERR

#define MSG_ERR   ">> RANK LPK>> "

◆ MSG_PRE

#define MSG_PRE   " >> "

Function Documentation

◆ mbs_rank_0()

int mbs_rank_0 ( double **  A,
int  m,
int  n 
)

Compute the rank of a matrix.

It uses the Lapack libraries, without needing the LapackE interface.

Parameters
[in]Amatrix for the rank computation
[in]mmatrix first dimension
[in]nmatrix second dimension