summaryrefslogtreecommitdiffstats
path: root/scilab/modules/intersci/includes/libinter.h
blob: e465ef36f65aeb0e65708fe352758aca417565e5 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
 * Copyright (C) ????-2008 - INRIA
 * Copyright (C) 2008-2008 - INRIA - Bruno JOFRET
 *
 * This file must be used under the terms of the CeCILL.
 * This source file is licensed as described in the file COPYING, which
 * you should have received as part of this distribution.  The terms
 * are also available at
 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
 *
 */

#ifndef __LIBINTER_H__
#define __LIBINTER_H__

#include "machine.h" /* C2F */

#include "scisparse.h" /* SciSparse struct */

void C2F(out) (char *str,unsigned int);
void C2F(ccharf) ( int *n, char **ip, int *op);
void C2F(cchar) ( int *n, char **ip, int *op);
void C2F(cdoublef) ( int *n, double *ip[], double *op);
void C2F(cintf) ( int *n, int *ip[], double *op);
void C2F(cfloatf) ( int *n, float *ip[], double *op);
void C2F(cboolf) ( int *n, int *ip[], int *op);
void Cout (char *str);
void C2F(dbl2cdbl)(int *n,double *ip[], double *op);
void C2F(int2cint)( int *n, int *ip[], int *op);

int C2F(csparsef)(SciSparse **x,int *mnel,int *icol,double *R,double *I);
SciSparse *NewSparse(int *,int *,int *,int *);
void FreeSparse(SciSparse *x);
void FreeRhsSVar(char **ptrStr);

#endif /* !__LIBINTER_H__ */