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)  

sdml.c File Reference

Implementation of a lapack compatible dense matrix format. More...

#include "sdml.h"

Functions

ND_MATRIXsdml_nd_new (MEML_INT row, MEML_INT col)
 Initialisieren einer n*n-Matrix.
void sdml_nd_free (ND_MATRIX *A)
 Free's the memory used by the matrix A.
int sdml_nd_element_set (ND_MATRIX *A, MEML_INT x, MEML_INT y, MEML_FLOAT value)
int sdml_nd_element_add (ND_MATRIX *A, MEML_INT x, MEML_INT y, MEML_FLOAT value)
MEML_FLOAT sdml_nd_element_get (const ND_MATRIX *A, MEML_INT x, MEML_INT y)
int sdml_nd_element_print (const ND_MATRIX *A, const MEML_INT x, const MEML_INT y)
void sdml_nd_print (const ND_MATRIX *A)
VECTORsdml_ndv_mul (ND_MATRIX *A, VECTOR *x)
 Fuehrt eine Matrix-Vektor-Multiplikation y=A*x durch.
int sdml_nd_rank_one_update (MEML_FLOAT alpha, const VECTOR *x, const VECTOR *y, ND_MATRIX *A)
void sdml_ndv_mul_f (const ND_MATRIX *A, const VECTOR *x, VECTOR *y)
 Fuehrt eine Matrix-Vektor-Multiplikation y=A*x durch.
void sdml_ndv_t_mul_f (const ND_MATRIX *A, const VECTOR *x, VECTOR *y)
 Fuehrt eine Matrix-Vektor-Multiplikation y=A^t*x durch.
ND_MATRIXsdml_ndnd_mul (ND_MATRIX *A, ND_MATRIX *B)
 Fuehrt eine Matrix-Matrix Multiplikation durch.
void sdml_ndnd_mul_f (const ND_MATRIX *A, ND_MATRIX *B)
 Fuehrt eine Matrix-Matrix Multiplikation durch.
void sdml_ndnd_mul_ff (MEML_FLOAT alpha, const ND_MATRIX *A, const ND_MATRIX *B, MEML_FLOAT beta, ND_MATRIX *C)
 $ C := alpha A * B + beta C $
void sdml_ndnd_add_f (const ND_MATRIX *A, ND_MATRIX *B)
 Fuehrt eine Matrix-Matrix Addition durch.


Detailed Description

Implementation of a lapack compatible dense matrix format.

Author:
Joerg Frochte
, based on vecl

Function Documentation

int sdml_nd_element_add ND_MATRIX A,
MEML_INT  x,
MEML_INT  y,
MEML_FLOAT  value
 

MEML_FLOAT sdml_nd_element_get const ND_MATRIX A,
MEML_INT  x,
MEML_INT  y
 

int sdml_nd_element_print const ND_MATRIX A,
const MEML_INT  x,
const MEML_INT  y
 

int sdml_nd_element_set ND_MATRIX A,
MEML_INT  x,
MEML_INT  y,
MEML_FLOAT  value
 

void sdml_nd_free ND_MATRIX A  ) 
 

Free's the memory used by the matrix A.

ND_MATRIX* sdml_nd_new MEML_INT  col,
MEML_INT  row
 

Initialisieren einer n*n-Matrix.

Die Funktion sdml_nd_new allociert den Speicher fuer eine sdml_d_nn Matrix.

void sdml_nd_print const ND_MATRIX A  ) 
 

int sdml_nd_rank_one_update MEML_FLOAT  alpha,
const VECTOR x,
const VECTOR y,
ND_MATRIX A
 

void sdml_ndnd_add_f const ND_MATRIX A,
ND_MATRIX B
 

Fuehrt eine Matrix-Matrix Addition durch.

ND_MATRIX* sdml_ndnd_mul ND_MATRIX A,
ND_MATRIX B
 

Fuehrt eine Matrix-Matrix Multiplikation durch.

void sdml_ndnd_mul_f const ND_MATRIX A,
ND_MATRIX B
 

Fuehrt eine Matrix-Matrix Multiplikation durch.

void sdml_ndnd_mul_ff MEML_FLOAT  alpha,
const ND_MATRIX A,
const ND_MATRIX B,
MEML_FLOAT  beta,
ND_MATRIX C
 

$ C := alpha A * B + beta C $

VECTOR* sdml_ndv_mul ND_MATRIX A,
VECTOR x
 

Fuehrt eine Matrix-Vektor-Multiplikation y=A*x durch.

Parameters:
A initialisierte ND_MATRIX
x initialisierter VECTOR

void sdml_ndv_mul_f const ND_MATRIX A,
const VECTOR x,
VECTOR y
 

Fuehrt eine Matrix-Vektor-Multiplikation y=A*x durch.

Parameters:
A initialisierte ND_MATRIX
x initialisierter VECTOR
y initialisierter VECTOR , in den das Resultat gespeichert wird

void sdml_ndv_t_mul_f const ND_MATRIX A,
const VECTOR x,
VECTOR y
 

Fuehrt eine Matrix-Vektor-Multiplikation y=A^t*x durch.

Parameters:
A initialisierte ND_MATRIX
x initialisierter VECTOR
y initialisierter VECTOR , in den das Resultat gespeichert wird


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