blob: e152514bfc756868a7aa70e7d16029f98b0abd73 (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
|
//
// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) 2009-2009 - DIGITEO - 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
//
//
function allHeaders = getAllHeaders(OutFormat)
//Header files common to all types of output format.
Standalone_headers = [
"includes/blas.h"
"includes/lapack.h"
"includes/constant.h"
"includes/f2c.h"
"includes/notFound.h"
"includes/sci2clib.h"
"src/c/auxiliaryFunctions/includes/abs.h"
"src/c/auxiliaryFunctions/includes/max.h"
"src/c/auxiliaryFunctions/includes/min.h"
"src/c/auxiliaryFunctions/includes/dynlib_auxiliaryfunctions.h"
"src/c/auxiliaryFunctions/includes/find2d.h"
"src/c/auxiliaryFunctions/includes/length.h"
"src/c/auxiliaryFunctions/includes/conj.h"
"src/c/auxiliaryFunctions/includes/find.h"
"src/c/auxiliaryFunctions/includes/frexp.h"
"src/c/auxiliaryFunctions/includes/rand.h"
"src/c/auxiliaryFunctions/includes/sign.h"
"src/c/auxiliaryFunctions/includes/size.h"
"src/c/auxiliaryFunctions/includes/type.h"
"src/c/auxiliaryFunctions/includes/pythag.h"
"src/c/auxiliaryFunctions/includes/isempty.h"
"src/c/auxiliaryFunctions/includes/isnan.h"
"src/c/type/doubleComplex.h"
"src/c/type/dynlib_type.h"
"src/c/type/floatComplex.h"
"src/c/type/types.h"
"src/c/matrixOperations/includes/cat.h"
"src/c/matrixOperations/includes/hilb.h"
"src/c/matrixOperations/includes/eye.h"
"src/c/matrixOperations/includes/matrixTrace.h"
"src/c/matrixOperations/includes/matrixExponential.h"
"src/c/matrixOperations/includes/matrixInversion.h"
"src/c/matrixOperations/includes/infiniteNorm.h"
"src/c/matrixOperations/includes/zeros.h"
"src/c/matrixOperations/includes/matrixMagnitude.h"
"src/c/matrixOperations/includes/chol.h"
"src/c/matrixOperations/includes/dist.h"
"src/c/matrixOperations/includes/fill.h"
"src/c/matrixOperations/includes/dynlib_matrixoperations.h"
"src/c/matrixOperations/includes/matrixPow.h"
"src/c/matrixOperations/includes/matrixDivision.h"
"src/c/matrixOperations/includes/jmat.h"
"src/c/matrixOperations/includes/logm.h"
"src/c/matrixOperations/includes/ones.h"
"src/c/matrixOperations/includes/matrixSquaredMagnitude.h"
"src/c/matrixOperations/includes/spec.h"
"src/c/matrixOperations/includes/matrixTranspose.h"
"src/c/matrixOperations/includes/determ.h"
"src/c/matrixOperations/includes/matrixMultiplication.h"
"src/c/elementaryFunctions/includes/cos.h"
"src/c/elementaryFunctions/includes/fix.h"
"src/c/elementaryFunctions/includes/exp.h"
"src/c/elementaryFunctions/includes/int.h"
"src/c/elementaryFunctions/includes/log.h"
"src/c/elementaryFunctions/includes/pow.h"
"src/c/elementaryFunctions/includes/sin.h"
"src/c/elementaryFunctions/includes/tan.h"
"src/c/elementaryFunctions/includes/round.h"
"src/c/elementaryFunctions/includes/log10.h"
"src/c/elementaryFunctions/includes/log1p.h"
"src/c/elementaryFunctions/includes/acos.h"
"src/c/elementaryFunctions/includes/asin.h"
"src/c/elementaryFunctions/includes/atan.h"
"src/c/elementaryFunctions/includes/floor.h"
"src/c/elementaryFunctions/includes/ceil.h"
"src/c/elementaryFunctions/includes/exp10.h"
"src/c/elementaryFunctions/includes/cosh.h"
"src/c/elementaryFunctions/includes/dynlib_elementaryfunctions.h"
"src/c/elementaryFunctions/includes/acosh.h"
"src/c/elementaryFunctions/includes/sinh.h"
"src/c/elementaryFunctions/includes/lnp1m1.h"
"src/c/elementaryFunctions/includes/tanh.h"
"src/c/elementaryFunctions/includes/sqrt.h"
"src/c/elementaryFunctions/includes/asinh.h"
"src/c/elementaryFunctions/includes/atan2.h"
"src/c/elementaryFunctions/includes/atanh.h"
"src/c/elementaryFunctions/includes/uint8.h"
"src/c/elementaryFunctions/includes/int8.h"
"src/c/elementaryFunctions/includes/uint16.h"
"src/c/elementaryFunctions/includes/int16.h"
"src/c/statisticsFunctions/includes/variance.h"
"src/c/statisticsFunctions/includes/sum.h"
"src/c/statisticsFunctions/includes/mean.h"
"src/c/statisticsFunctions/includes/meanf.h"
"src/c/statisticsFunctions/includes/stdevf.h"
"src/c/statisticsFunctions/includes/prod.h"
"src/c/statisticsFunctions/includes/dynlib_statisticsfunctions.h"
"src/c/statisticsFunctions/includes/statMax.h"
"src/c/statisticsFunctions/includes/statMin.h"
"src/c/operations/includes/subtraction.h"
"src/c/operations/includes/addition.h"
"src/c/operations/includes/dynlib_operations.h"
"src/c/operations/includes/division.h"
"src/c/operations/includes/multiplication.h"
"src/c/string/includes/dynlib_string.h"
"src/c/string/includes/disp.h"
"src/c/string/includes/str.h"
"src/c/signalProcessing/fft/fft_internal.h"
"src/c/signalProcessing/ifft/ifft_internal.h"
"src/c/signalProcessing/levin/levinUtils.h"
"src/c/signalProcessing/includes/hilbert.h"
"src/c/signalProcessing/includes/fft.h"
"src/c/signalProcessing/includes/lev.h"
"src/c/signalProcessing/includes/levin.h"
"src/c/signalProcessing/includes/conv.h"
"src/c/signalProcessing/includes/conv2d.h"
"src/c/signalProcessing/includes/ifft.h"
"src/c/signalProcessing/includes/fftshift.h"
"src/c/signalProcessing/includes/lpc2cep.h"
"src/c/signalProcessing/includes/dynlib_signalprocessing.h"
"src/c/signalProcessing/includes/crossCorr.h"
"src/c/implicitList/dynlib_implicitlist.h"
"src/c/implicitList/implicitList.h"];
//Header files required for "Arduino" output
Arduino_headers = [
"src/c/scilab-arduino/includes/cmd_digital_out.h"
"src/c/scilab-arduino/includes/cmd_digital_in.h"
"src/c/scilab-arduino/includes/cmd_analog_out.h"
"src/c/scilab-arduino/includes/cmd_analog_in.h"
"src/c/scilab-arduino/includes/sleep.h"];
if OutFormat == "StandAlone"
allHeaders = Standalone_headers;
elseif OutFormat == "Arduino"
allHeaders = cat(1,Standalone_headers, Arduino_headers);
end
endfunction
|