Classes | Defines | Functions | Variables
egsl.c File Reference
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_blas.h>
#include <gsl/gsl_linalg.h>
#include <assert.h>
#include <math.h>
#include <string.h>
#include "egsl.h"
#include "egsl_imp.h"
Include dependency graph for egsl.c:

Go to the source code of this file.

Classes

struct  egsl_context
struct  egsl_variable

Defines

#define MAX_CONTEXTS   1024
#define MAX_VALS   1024

Functions

val assemble_val (int cid, int index, gsl_matrix *m)
void check_valid_val (val v)
val egsl_alloc (size_t rows, size_t columns)
val egsl_alloc_in_context (int context, size_t rows, size_t columns)
double egsl_atm (val v1, size_t i, size_t j)
double * egsl_atmp (val v, size_t i, size_t j)
double egsl_atv (val v1, size_t i)
void egsl_error (void)
void egsl_expect_size (val v, size_t rows, size_t cols)
void egsl_free (void)
gsl_matrix * egsl_gslm (val v)
double egsl_norm (val v1)
void egsl_pop ()
void egsl_pop_named (const char *name)
void egsl_print (const char *str, val v)
void egsl_print_stats ()
val egsl_promote (val v)
void egsl_push ()
void egsl_push_named (const char *name)
int its_context (val v)
int its_var_index (val v)

Variables

int cid = 0
int egsl_cache_hits = 0
static struct egsl_context egsl_contexts [MAX_CONTEXTS]
int egsl_first_time = 1
int egsl_total_allocations = 0
int max_cid = 0

Define Documentation

#define MAX_CONTEXTS   1024

Definition at line 12 of file egsl.c.

#define MAX_VALS   1024

Definition at line 11 of file egsl.c.


Function Documentation

val assemble_val ( int  cid,
int  index,
gsl_matrix *  m 
)

Definition at line 48 of file egsl.c.

void check_valid_val ( val  v)

Definition at line 68 of file egsl.c.

val egsl_alloc ( size_t  rows,
size_t  columns 
)

Definition at line 159 of file egsl.c.

val egsl_alloc_in_context ( int  context,
size_t  rows,
size_t  columns 
)

Definition at line 192 of file egsl.c.

double egsl_atm ( val  v1,
size_t  i,
size_t  j 
)

Definition at line 298 of file egsl.c.

double* egsl_atmp ( val  v,
size_t  i,
size_t  j 
)

Definition at line 276 of file egsl.c.

double egsl_atv ( val  v1,
size_t  i 
)

Definition at line 294 of file egsl.c.

void egsl_error ( void  )

Definition at line 40 of file egsl.c.

void egsl_expect_size ( val  v,
size_t  rows,
size_t  cols 
)

Private implementations things

Definition at line 238 of file egsl.c.

void egsl_free ( void  )

Definition at line 302 of file egsl.c.

gsl_matrix* egsl_gslm ( val  v)

Definition at line 83 of file egsl.c.

double egsl_norm ( val  v1)

Definition at line 282 of file egsl.c.

void egsl_pop ( )

Definition at line 89 of file egsl.c.

void egsl_pop_named ( const char *  name)

Definition at line 117 of file egsl.c.

void egsl_print ( const char *  str,
val  v 
)

Definition at line 251 of file egsl.c.

void egsl_print_stats ( void  )

Definition at line 147 of file egsl.c.

Creates a copy of v in the previous context.

Definition at line 223 of file egsl.c.

void egsl_push ( )

Definition at line 88 of file egsl.c.

void egsl_push_named ( const char *  name)

Definition at line 91 of file egsl.c.

int its_context ( val  v)

Definition at line 56 of file egsl.c.

int its_var_index ( val  v)

Definition at line 60 of file egsl.c.


Variable Documentation

int cid = 0

Definition at line 29 of file egsl.c.

int egsl_cache_hits = 0

Definition at line 38 of file egsl.c.

Definition at line 32 of file egsl.c.

int egsl_first_time = 1

Definition at line 35 of file egsl.c.

Definition at line 37 of file egsl.c.

int max_cid = 0

Definition at line 31 of file egsl.c.



csm_ros
Author(s): Gaƫl Ecorchard , Ivan Dryanovski, William Morris, Andrea Censi
autogenerated on Sat Jun 8 2019 19:52:42