blob: 3fbce41ee1bef8dc709de1e38be3749f58ecd11e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
/**
* linalg.h
* --------
*
* provide functionality of a sparse matrix in diagonal format
*
* @author ilhan oezgen, wahyd, ilhan.ozgen@wahyd.tu-berlin.de
* @date 15 apr 17
**/
#ifndef __LINALG_INCLUDED__
#define __LINALG_INCLUDED__
void put(struct diag*, int, int, double);
double get(struct diag*, int, int);
void multiply(struct diag*, double* v, double* av);
double dot(double*, double*, int);
double norm(double*, int);
#endif
|