source: issm/trunk/src/mex/SparseToVector/SparseToVector.h@ 4748

Last change on this file since 4748 was 4748, checked in by Eric.Larour, 15 years ago

Preliminary version of SparseToVector mex module

File size: 812 bytes
Line 
1/*
2 SparseToVector.h
3*/
4
5#ifndef _SPARSETOVECTOR_H
6#define _SPARSETOVECTOR_H
7
8/* local prototypes: */
9void SparseToVectorUsage(void);
10
11#include <stdio.h>
12#include <string.h> /* strcasecmp */
13#include <time.h> /* clock,time,difftime */
14
15#include "../../c/modules/modules.h"
16#include "../../c/Container/Container.h"
17#include "../../c/shared/shared.h"
18
19#undef __FUNCT__
20#define __FUNCT__ "SparseToVector"
21
22/* serial input macros: */
23#define A_IN prhs[0]
24
25/* serial output macros: */
26#define IR_OUT plhs[0]
27#define JC_OUT plhs[1]
28#define PR_OUT plhs[2]
29#define M_OUT plhs[3]
30#define N_OUT plhs[4]
31#define NZMAX_OUT plhs[5]
32
33/* serial arg counts: */
34#undef NLHS
35#define NLHS 1
36#undef NRHS
37#define NRHS 6
38
39#endif /* _SPARSETOVECTOR_H */
Note: See TracBrowser for help on using the repository browser.