Defines | Functions
gpc_utils.h File Reference
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_blas.h>
#include <gsl/gsl_linalg.h>
#include <gsl/gsl_poly.h>
Include dependency graph for gpc_utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define gmg   gsl_matrix_get
#define gms   gsl_matrix_set

Functions

void m_add (const gsl_matrix *A, const gsl_matrix *B, gsl_matrix *ApB)
void m_add_to (const gsl_matrix *A, gsl_matrix *B)
double m_det (const gsl_matrix *A)
void m_display (const char *str, gsl_matrix *m)
double m_dot (const gsl_matrix *A, const gsl_matrix *B)
void m_inv (const gsl_matrix *A, gsl_matrix *invA)
void m_mult (const gsl_matrix *A, const gsl_matrix *B, gsl_matrix *AB)
void m_scale (double m, gsl_matrix *A)
void m_trans (const gsl_matrix *A, gsl_matrix *A_t)
int poly_greatest_real_root (unsigned int n, const double *a, double *root)
int poly_real_roots (unsigned int n, const double *a, double *roots)

Define Documentation

#define gmg   gsl_matrix_get

Definition at line 12 of file gpc_utils.h.

#define gms   gsl_matrix_set

Definition at line 13 of file gpc_utils.h.


Function Documentation

void m_add ( const gsl_matrix *  A,
const gsl_matrix *  B,
gsl_matrix *  ApB 
)

Definition at line 20 of file gpc_utils.c.

void m_add_to ( const gsl_matrix *  A,
gsl_matrix *  B 
)

Definition at line 12 of file gpc_utils.c.

double m_det ( const gsl_matrix *  A)

Definition at line 39 of file gpc_utils.c.

void m_display ( const char *  str,
gsl_matrix *  m 
)

Definition at line 124 of file gpc_utils.c.

double m_dot ( const gsl_matrix *  A,
const gsl_matrix *  B 
)

Definition at line 53 of file gpc_utils.c.

void m_inv ( const gsl_matrix *  A,
gsl_matrix *  invA 
)

Definition at line 25 of file gpc_utils.c.

void m_mult ( const gsl_matrix *  A,
const gsl_matrix *  B,
gsl_matrix *  AB 
)

Definition at line 8 of file gpc_utils.c.

void m_scale ( double  m,
gsl_matrix *  A 
)

Definition at line 16 of file gpc_utils.c.

void m_trans ( const gsl_matrix *  A,
gsl_matrix *  A_t 
)

Definition at line 4 of file gpc_utils.c.

int poly_greatest_real_root ( unsigned int  n,
const double *  a,
double *  root 
)

Definition at line 77 of file gpc_utils.c.

int poly_real_roots ( unsigned int  n,
const double *  a,
double *  roots 
)

Definition at line 61 of file gpc_utils.c.



csm
Author(s): Andrea Censi
autogenerated on Mon Jan 16 2017 03:48:29