Meta Matrix Library
Home About FAQ Install Documentation To Do Download Related Links


Tutorial   Modules   Alphabetical List   Data Structures   File List   Data Fields   Globals   Related Pages (e.g. ToDo)  

ssml.c File Reference

Implementation of the linked list based sparse matrix format,. More...

#include <stdio.h>
#include <stdlib.h>
#include "ssml.h"

Functions

int ssml_export_LS_MATRIX2csv (LS_MATRIX *S, char dateiname[])
VECTORssml_lsv_mul (const LS_MATRIX *A, const VECTOR *vector)
void ssml_lsv_mul_f (const LS_MATRIX *A, const VECTOR *v, VECTOR *r)
void ssml_lsv_t_mul_f (const LS_MATRIX *A, const VECTOR *v, VECTOR *r)
LS_MATRIXssml_lsls_mul (LS_MATRIX *A, LS_MATRIX *B)
LS_MATRIXssml_lsls_add (LS_MATRIX *A, LS_MATRIX *B)
void ssml_lsls_add_f (const LS_MATRIX *A, LS_MATRIX *B)
void ssml_lsls_add_trans_f (const LS_MATRIX *AT, LS_MATRIX *B)
void ssml_ls_print (LS_MATRIX *A)
void ssml_ls_print_col (LS_MATRIX *A, MEML_INT col)
void ssml_ls_print_row (LS_MATRIX *A, MEML_INT row)
int ssml_ls_col_get (const LS_MATRIX *A, const MEML_INT col, MEML_FLOAT **values, MEML_INT **rows, MEML_INT *entries)
int ssml_ls_row_get (const LS_MATRIX *A, const MEML_INT row, MEML_FLOAT **values, MEML_INT **cols, MEML_INT *entries)
int ssml_f_print_element (LS_MATRIX *A, MEML_INT x, MEML_INT y)
MEML_FLOAT ssml_ls_element_get (LS_MATRIX *A, MEML_INT x, MEML_INT y)
int ssml_ls_element_set (LS_MATRIX *A, MEML_INT x, MEML_INT y, MEML_FLOAT value)
void ssml_ls_element_mul (LS_MATRIX *A, MEML_INT x, MEML_INT y, MEML_FLOAT value)
int ssml_ls_element_add (LS_MATRIX *A, MEML_INT x, MEML_INT y, MEML_FLOAT value)
int ssml_ls_free (LS_MATRIX *A)
LS_MATRIXssml_ls_new (MEML_INT row, MEML_INT col)
void ssml_ls_set_2_scaled_unit_matrix (LS_MATRIX *A, MEML_FLOAT scalar)
void ssml_ls_set_row_2_unit_vector (LS_MATRIX *A, MEML_INT row)
void ssml_ls_set_col_2_unit_vector (LS_MATRIX *A, MEML_INT col)


Detailed Description

Implementation of the linked list based sparse matrix format,.

Author:
Joerg Frochte
, based on vecl

Function Documentation

int ssml_export_LS_MATRIX2csv LS_MATRIX S,
char  dateiname[]
 

int ssml_f_print_element LS_MATRIX A,
MEML_INT  x,
MEML_INT  y
 

int ssml_ls_col_get const LS_MATRIX A,
const MEML_INT  col,
MEML_FLOAT **  values,
MEML_INT **  rows,
MEML_INT entries
 

int ssml_ls_element_add LS_MATRIX A,
MEML_INT  x,
MEML_INT  y,
MEML_FLOAT  value
 

MEML_FLOAT ssml_ls_element_get LS_MATRIX A,
MEML_INT  x,
MEML_INT  y
 

void ssml_ls_element_mul LS_MATRIX A,
MEML_INT  x,
MEML_INT  y,
MEML_FLOAT  value
 

int ssml_ls_element_set LS_MATRIX A,
MEML_INT  x,
MEML_INT  y,
MEML_FLOAT  value
 

int ssml_ls_free LS_MATRIX A  ) 
 

LS_MATRIX* ssml_ls_new MEML_INT  row,
MEML_INT  col
 

void ssml_ls_print LS_MATRIX A  ) 
 

void ssml_ls_print_col LS_MATRIX A,
MEML_INT  col
 

void ssml_ls_print_row LS_MATRIX A,
MEML_INT  row
 

int ssml_ls_row_get const LS_MATRIX A,
const MEML_INT  row,
MEML_FLOAT **  values,
MEML_INT **  cols,
MEML_INT entries
 

void ssml_ls_set_2_scaled_unit_matrix LS_MATRIX A,
MEML_FLOAT  scalar
 

void ssml_ls_set_col_2_unit_vector LS_MATRIX A,
MEML_INT  col
 

void ssml_ls_set_row_2_unit_vector LS_MATRIX A,
MEML_INT  row
 

LS_MATRIX* ssml_lsls_add LS_MATRIX A,
LS_MATRIX B
 

void ssml_lsls_add_f const LS_MATRIX A,
LS_MATRIX B
 

void ssml_lsls_add_trans_f const LS_MATRIX AT,
LS_MATRIX B
 

LS_MATRIX* ssml_lsls_mul LS_MATRIX A,
LS_MATRIX B
 

VECTOR* ssml_lsv_mul const LS_MATRIX A,
const VECTOR vector
 

void ssml_lsv_mul_f const LS_MATRIX A,
const VECTOR v,
VECTOR r
 

void ssml_lsv_t_mul_f const LS_MATRIX A,
const VECTOR v,
VECTOR r
 


Generated on Tue Mar 28 14:10:38 2006 by  doxygen 1.4.1