1 | /*
|
---|
2 | * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
|
---|
3 | * Copyright (C) 2009 - DIGITEO - Allan CORNET
|
---|
4 | *
|
---|
5 | * This file must be used under the terms of the CeCILL.
|
---|
6 | * This source file is licensed as described in the file COPYING, which
|
---|
7 | * you should have received as part of this distribution. The terms
|
---|
8 | * are also available at
|
---|
9 | * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
|
---|
10 | *
|
---|
11 | */
|
---|
12 | //=============================================================================
|
---|
13 | /* Please notice that it is only a example and not a full C# wrapper */
|
---|
14 | //=============================================================================
|
---|
15 | using System;
|
---|
16 | using System.Threading;
|
---|
17 | //=============================================================================
|
---|
18 | namespace DotNetScilab {
|
---|
19 | /* Scilab Types */
|
---|
20 | public enum ScilabType {
|
---|
21 | sci_matrix = 1,
|
---|
22 | sci_poly = 2,
|
---|
23 | sci_boolean = 4,
|
---|
24 | sci_sparse = 5,
|
---|
25 | sci_boolean_sparse = 6,
|
---|
26 | sci_matlab_sparse = 7,
|
---|
27 | sci_ints = 8,
|
---|
28 | sci_handles = 9,
|
---|
29 | sci_strings = 10,
|
---|
30 | sci_u_function = 11,
|
---|
31 | sci_c_function = 13,
|
---|
32 | sci_lib = 14,
|
---|
33 | sci_list = 15,
|
---|
34 | sci_tlist = 16,
|
---|
35 | sci_mlist = 17,
|
---|
36 | sci_pointer = 128,
|
---|
37 | sci_implicit_poly = 129,
|
---|
38 | sci_intrinsic_function = 130
|
---|
39 | };
|
---|
40 |
|
---|
41 | public sealed class Scilab {
|
---|
42 | //=============================================================================
|
---|
43 | static Scilab instance = null;
|
---|
44 | static readonly object padlock = new object();
|
---|
45 | private Boolean withGraphics = false;
|
---|
46 | //=============================================================================
|
---|
47 | /// <summary>
|
---|
48 | /// Constructor, initialize scilab engine.
|
---|
49 | /// </summary>
|
---|
50 | public Scilab() {
|
---|
51 | // Disable TCL/TK and Java graphic interfaces
|
---|
52 | Scilab_cs_wrapper.DisableInteractiveMode();
|
---|
53 | withGraphics = false;
|
---|
54 |
|
---|
55 | // start Scilab engine configurated without java
|
---|
56 | Scilab_cs_wrapper.StartScilab(null, null, null);
|
---|
57 | }
|
---|
58 | //=============================================================================
|
---|
59 | public Scilab(Boolean _bWithGraphics) {
|
---|
60 | // Disable TCL/TK and Java graphic interfaces
|
---|
61 | if (_bWithGraphics == false) {
|
---|
62 | Scilab_cs_wrapper.DisableInteractiveMode();
|
---|
63 | withGraphics = false;
|
---|
64 | } else {
|
---|
65 | withGraphics = true;
|
---|
66 | }
|
---|
67 |
|
---|
68 | // start Scilab engine
|
---|
69 | Scilab_cs_wrapper.StartScilab(null, null, null);
|
---|
70 | }
|
---|
71 | //=============================================================================
|
---|
72 | /// <summary>
|
---|
73 | /// Singleton
|
---|
74 | /// Only one instance of Scilab can be launch
|
---|
75 | /// thread safe
|
---|
76 | /// </summary>
|
---|
77 | public static Scilab Instance {
|
---|
78 | get {
|
---|
79 | lock (padlock) {
|
---|
80 | if (instance == null) {
|
---|
81 | instance = new Scilab();
|
---|
82 | }
|
---|
83 | return instance;
|
---|
84 | }
|
---|
85 | }
|
---|
86 | }
|
---|
87 | //=============================================================================
|
---|
88 | /// <summary>
|
---|
89 | /// Destructor
|
---|
90 | /// </summary>
|
---|
91 | ~Scilab() {
|
---|
92 | // freed by O.S
|
---|
93 | //Scilab_cs_wrapper.TerminateScilab(null);
|
---|
94 | }
|
---|
95 | //=============================================================================
|
---|
96 | /// <summary>
|
---|
97 | /// Send a job to scilab
|
---|
98 | /// </summary>
|
---|
99 | /// <param name="command">command to send to scilab</param>
|
---|
100 | /// <returns>error code operation, 0 : OK</returns>
|
---|
101 | public int SendScilabJob(string command) {
|
---|
102 | return Scilab_cs_wrapper.SendScilabJob(command);
|
---|
103 | }
|
---|
104 | //=============================================================================
|
---|
105 | /// <summary>
|
---|
106 | /// get last error code
|
---|
107 | /// </summary>
|
---|
108 | /// <returns>last error code</returns>
|
---|
109 | public int GetLastErrorCode() {
|
---|
110 | return Scilab_cs_wrapper.GetLastErrorCode();
|
---|
111 | }
|
---|
112 | //=============================================================================
|
---|
113 | /// <summary>
|
---|
114 | /// Write a named matrix of double in Scilab
|
---|
115 | /// </summary>
|
---|
116 | /// <param name="matrixName"> variable name</param>
|
---|
117 | /// <param name="iRows"> Number of row</param>
|
---|
118 | /// <param name="iCols"> Number of column</param>
|
---|
119 | /// <param name="matrixDouble"> pointer on data</param>
|
---|
120 | /// <returns> if the operation successes (0) or not ( !0 )</returns>
|
---|
121 | public int createNamedMatrixOfDouble(string matrixName, int iRows, int iCols, double[] matrixDouble) {
|
---|
122 | System.IntPtr ptrEmpty = new System.IntPtr();
|
---|
123 | Scilab_cs_wrapper.api_Err SciErr = Scilab_cs_wrapper.createNamedMatrixOfDouble(ptrEmpty, matrixName, iRows, iCols, matrixDouble);
|
---|
124 | return SciErr.iErr;
|
---|
125 | }
|
---|
126 | //=============================================================================
|
---|
127 | /// <summary>
|
---|
128 | /// Write a named matrix of string in scilab
|
---|
129 | /// </summary>
|
---|
130 | /// <param name="matrixName"> variable name</param>
|
---|
131 | /// <param name="iRows"> Number of row</param>
|
---|
132 | /// <param name="iCols"> Number of column</param>
|
---|
133 | /// <param name="matrixDouble"> pointer on data</param>
|
---|
134 | /// <returns> if the operation successes (0) or not ( !0 )</returns>
|
---|
135 | public int createNamedMatrixOfString(string matrixName, int iRows, int iCols, string[] matrixString) {
|
---|
136 | System.IntPtr ptrEmpty = new System.IntPtr();
|
---|
137 | Scilab_cs_wrapper.api_Err SciErr = Scilab_cs_wrapper.createNamedMatrixOfString(ptrEmpty, matrixName, iRows, iCols, matrixString);
|
---|
138 | return SciErr.iErr;
|
---|
139 | }
|
---|
140 | //=============================================================================
|
---|
141 | /// <summary>
|
---|
142 | /// Write a named matrix of boolean in Scilab
|
---|
143 | /// </summary>
|
---|
144 | /// <param name="matrixName"> variable name</param>
|
---|
145 | /// <param name="iRows"> Number of row</param>
|
---|
146 | /// <param name="iCols"> Number of column</param>
|
---|
147 | /// <param name="matrixBoolean"> pointer on data</param>
|
---|
148 | /// <returns> if the operation successes (0) or not ( !0 )</returns>
|
---|
149 | public int createNamedMatrixOfBoolean(string matrixName, int iRows, int iCols, Boolean[] matrixBoolean) {
|
---|
150 | int[] matrixInt = new int[matrixBoolean.Length];
|
---|
151 | for (int i = 0; i < matrixBoolean.Length; i++) {
|
---|
152 | if (matrixBoolean[i] == true) {
|
---|
153 | matrixInt[i] = 1;
|
---|
154 | } else {
|
---|
155 | matrixInt[i] = 0;
|
---|
156 | }
|
---|
157 | }
|
---|
158 | System.IntPtr ptrEmpty = new System.IntPtr();
|
---|
159 | Scilab_cs_wrapper.api_Err SciErr = Scilab_cs_wrapper.createNamedMatrixOfBoolean(ptrEmpty, matrixName, iRows, iCols, matrixInt);
|
---|
160 | return SciErr.iErr;
|
---|
161 | }
|
---|
162 | //=============================================================================
|
---|
163 | /// <summary>
|
---|
164 | /// Write a named matrix of int(32) in Scilab
|
---|
165 | /// </summary>
|
---|
166 | /// <param name="matrixName"> variable name</param>
|
---|
167 | /// <param name="iRows"> Number of row</param>
|
---|
168 | /// <param name="iCols"> Number of column</param>
|
---|
169 | /// <param name="matrixInt"> pointer on data</param>
|
---|
170 | public int createNamedMatrixOfInt32(string matrixName, int iRows, int iCols, int[] matrixInt) {
|
---|
171 | System.IntPtr ptrEmpty = new System.IntPtr();
|
---|
172 | Scilab_cs_wrapper.api_Err SciErr = Scilab_cs_wrapper.createNamedMatrixOfInteger32(ptrEmpty, matrixName, iRows, iCols, matrixInt);
|
---|
173 | return SciErr.iErr;
|
---|
174 | }
|
---|
175 | //=============================================================================
|
---|
176 | /// <summary>
|
---|
177 | /// Write a named matrix of complex double in Scilab
|
---|
178 | /// </summary>
|
---|
179 | /// <param name="matrixName"> variable name</param>
|
---|
180 | /// <param name="iRows">Number of row</param>
|
---|
181 | /// <param name="iCols">Number of column</param>
|
---|
182 | /// <param name="matrixRealPart">real part</param>
|
---|
183 | /// <param name="matrixImagPart">imag part</param>
|
---|
184 | /// <returns></returns>
|
---|
185 | public int createNamedComplexMatrixOfDouble(string matrixName,
|
---|
186 | int iRows, int iCols,
|
---|
187 | double[] matrixRealPart,
|
---|
188 | double[] matrixImagPart) {
|
---|
189 | System.IntPtr ptrEmpty = new System.IntPtr();
|
---|
190 | Scilab_cs_wrapper.api_Err SciErr = Scilab_cs_wrapper.createNamedComplexMatrixOfDouble(ptrEmpty, matrixName,
|
---|
191 | iRows, iCols,
|
---|
192 | matrixRealPart,
|
---|
193 | matrixImagPart);
|
---|
194 | return SciErr.iErr;
|
---|
195 | }
|
---|
196 | //=============================================================================
|
---|
197 | /// <summary>
|
---|
198 | /// Read a named matrix of double from Scilab
|
---|
199 | /// </summary>
|
---|
200 | /// <param name="matrixName"> variable name</param>
|
---|
201 | /// <returns>a matrix of double from scilab. If Variable name does not exist returns null</returns>
|
---|
202 | public unsafe double[] readNamedMatrixOfDouble(string matrixName) {
|
---|
203 | int iRows = 0;
|
---|
204 | int iCols = 0;
|
---|
205 |
|
---|
206 | System.IntPtr ptrEmpty = new System.IntPtr();
|
---|
207 | Scilab_cs_wrapper.api_Err SciErr = Scilab_cs_wrapper.readNamedMatrixOfDouble(ptrEmpty, matrixName, &iRows, &iCols, null);
|
---|
208 |
|
---|
209 | if (iRows * iCols > 0) {
|
---|
210 | double[] matrixDouble = new double[iRows * iCols];
|
---|
211 |
|
---|
212 | // get values in matrixDouble
|
---|
213 | SciErr = Scilab_cs_wrapper.readNamedMatrixOfDouble(ptrEmpty, matrixName, &iRows, &iCols, matrixDouble);
|
---|
214 | if (SciErr.iErr != 0) return null;
|
---|
215 | return matrixDouble;
|
---|
216 | }
|
---|
217 | return null;
|
---|
218 | }
|
---|
219 | //=============================================================================
|
---|
220 | /// <summary>
|
---|
221 | /// Get dimensions of a named matrix in scilab
|
---|
222 | /// </summary>
|
---|
223 | /// <returns>a int array.
|
---|
224 | /// if variable name does not exist dimensions are null </returns>
|
---|
225 | public unsafe int[] getNamedVarDimension(string matrixName) {
|
---|
226 | int[] iDim = null;
|
---|
227 | int iRows = 0;
|
---|
228 | int iCols = 0;
|
---|
229 |
|
---|
230 | System.IntPtr ptrEmpty = new System.IntPtr();
|
---|
231 | Scilab_cs_wrapper.api_Err SciErr = Scilab_cs_wrapper.getNamedVarDimension(ptrEmpty, matrixName, &iRows, &iCols);
|
---|
232 | if (SciErr.iErr == 0) {
|
---|
233 | iDim = new int[2];
|
---|
234 | iDim[0] = iRows;
|
---|
235 | iDim[1] = iCols;
|
---|
236 | }
|
---|
237 | return iDim;
|
---|
238 | }
|
---|
239 | //=============================================================================
|
---|
240 | /// <summary>
|
---|
241 | /// Read a named matrix of string from scilab
|
---|
242 | /// </summary>
|
---|
243 | /// <param name="matrixName"> variable name</param>
|
---|
244 | /// <returns>a matrix of string from scilab. If Variable name does not exist returns null</returns>
|
---|
245 | public unsafe string[] readNamedMatrixOfString(string matrixName) {
|
---|
246 | string[] matrixString = null;
|
---|
247 |
|
---|
248 | int[] iDim = getNamedVarDimension(matrixName);
|
---|
249 |
|
---|
250 | if (iDim != null) {
|
---|
251 | int iRows = iDim[0];
|
---|
252 | int iCols = iDim[1];
|
---|
253 |
|
---|
254 | // we allocate lengthmatrixString
|
---|
255 | int[] lengthmatrixString = new int[iRows * iCols];
|
---|
256 |
|
---|
257 | System.IntPtr ptrEmpty = new System.IntPtr();
|
---|
258 |
|
---|
259 | // we get length of strings
|
---|
260 | Scilab_cs_wrapper.api_Err SciErr = Scilab_cs_wrapper.readNamedMatrixOfString(ptrEmpty, matrixName,
|
---|
261 | &iRows, &iCols,
|
---|
262 | lengthmatrixString, null);
|
---|
263 |
|
---|
264 | // we allocate each string
|
---|
265 | matrixString = new string[iRows * iCols];
|
---|
266 | for (int i = 0; i < iRows * iCols; i++) {
|
---|
267 | matrixString[i] = new string(' ', lengthmatrixString[i]);
|
---|
268 | }
|
---|
269 |
|
---|
270 | // we get strings from scilab
|
---|
271 | SciErr = Scilab_cs_wrapper.readNamedMatrixOfString(ptrEmpty, matrixName,
|
---|
272 | &iRows, &iCols,
|
---|
273 | lengthmatrixString,
|
---|
274 | matrixString);
|
---|
275 | }
|
---|
276 | return matrixString;
|
---|
277 | }
|
---|
278 | //=============================================================================
|
---|
279 | /// <summary>
|
---|
280 | /// Read a named matrix of boolean from Scilab
|
---|
281 | /// </summary>
|
---|
282 | /// <param name="matrixName"> variable name</param>
|
---|
283 | /// <returns>a matrix of boolean from scilab. If Variable name does not exist returns null</returns>
|
---|
284 | public unsafe Boolean[] getNamedMatrixOfBoolean(string matrixName) {
|
---|
285 | Boolean[] matrixBoolean = null;
|
---|
286 | int[] iDim = getNamedVarDimension(matrixName);
|
---|
287 |
|
---|
288 | if (iDim != null) {
|
---|
289 | int iRows = iDim[0];
|
---|
290 | int iCols = iDim[1];
|
---|
291 | int[] matrixInt = new int[iRows * iCols];
|
---|
292 |
|
---|
293 | System.IntPtr ptrEmpty = new System.IntPtr();
|
---|
294 |
|
---|
295 | // get values in matrixDouble
|
---|
296 | Scilab_cs_wrapper.api_Err SciErr = Scilab_cs_wrapper.readNamedMatrixOfBoolean(ptrEmpty, matrixName,
|
---|
297 | &iRows, &iCols,
|
---|
298 | matrixInt);
|
---|
299 |
|
---|
300 | if (matrixInt != null) {
|
---|
301 | matrixBoolean = new Boolean[iRows * iCols];
|
---|
302 | for (int i = 0; i < iRows * iCols; i++) {
|
---|
303 | if (matrixInt[i] == 1) {
|
---|
304 | matrixBoolean[i] = true;
|
---|
305 | } else {
|
---|
306 | matrixBoolean[i] = false;
|
---|
307 | }
|
---|
308 | }
|
---|
309 | }
|
---|
310 | }
|
---|
311 | return matrixBoolean;
|
---|
312 | }
|
---|
313 | //=============================================================================
|
---|
314 | /// <summary>
|
---|
315 | /// Read a named matrix of complex double in Scilab (Real part)
|
---|
316 | /// </summary>
|
---|
317 | /// <param name="matrixName">variable name</param>
|
---|
318 | /// <returns> real part. If Variable name does not exist returns null</returns>
|
---|
319 | public unsafe double[] readNamedComplexMatrixOfDoubleRealPart(string matrixName) {
|
---|
320 | double[] dRealPart = null;
|
---|
321 | int[] iDim = getNamedVarDimension(matrixName);
|
---|
322 | if (iDim != null) {
|
---|
323 | int iRows = iDim[0];
|
---|
324 | int iCols = iDim[1];
|
---|
325 |
|
---|
326 | double[] dImagPart = new double[iRows * iCols];
|
---|
327 | dRealPart = new double[iRows * iCols];
|
---|
328 |
|
---|
329 | System.IntPtr ptrEmpty = new System.IntPtr();
|
---|
330 |
|
---|
331 | Scilab_cs_wrapper.api_Err SciErr = Scilab_cs_wrapper.readNamedComplexMatrixOfDouble(ptrEmpty, matrixName,
|
---|
332 | &iRows, &iCols,
|
---|
333 | dRealPart,
|
---|
334 | dImagPart);
|
---|
335 | }
|
---|
336 | return dRealPart;
|
---|
337 | }
|
---|
338 | //=============================================================================
|
---|
339 | /// <summary>
|
---|
340 | /// Read a named matrix of complex double in Scilab (Imag part)
|
---|
341 | /// </summary>
|
---|
342 | /// <param name="matrixName">variable name</param>
|
---|
343 | /// <returns> img part. If Variable name does not exist returns null</returns>
|
---|
344 | public unsafe double[] readNamedComplexMatrixOfDoubleImgPart(string matrixName) {
|
---|
345 | double[] dImagPart = null;
|
---|
346 | int[] iDim = getNamedVarDimension(matrixName);
|
---|
347 | if (iDim != null) {
|
---|
348 | int iRows = iDim[0];
|
---|
349 | int iCols = iDim[1];
|
---|
350 |
|
---|
351 | double[] dRealPart = new double[iRows * iCols];
|
---|
352 | dImagPart = new double[iRows * iCols];
|
---|
353 |
|
---|
354 | System.IntPtr ptrEmpty = new System.IntPtr();
|
---|
355 |
|
---|
356 | Scilab_cs_wrapper.api_Err SciErr = Scilab_cs_wrapper.readNamedComplexMatrixOfDouble(ptrEmpty, matrixName,
|
---|
357 | &iRows, &iCols,
|
---|
358 | dRealPart,
|
---|
359 | dImagPart);
|
---|
360 | }
|
---|
361 | return dImagPart;
|
---|
362 | }
|
---|
363 | //=============================================================================
|
---|
364 | /// <summary>
|
---|
365 | /// Read a named matrix of int(32) in Scilab
|
---|
366 | /// </summary>
|
---|
367 | /// <param name="matrixName"> variable name</param>
|
---|
368 | /// <returns>a matrix of int(32) from scilab. If Variable name does not exist returns null</returns>
|
---|
369 | public unsafe int[] readNamedMatrixOfInt32(string matrixName) {
|
---|
370 | int[] matrixInt = null;
|
---|
371 | int[] iDim = getNamedVarDimension(matrixName);
|
---|
372 | if (iDim != null) {
|
---|
373 | int iRows = iDim[0];
|
---|
374 | int iCols = iDim[1];
|
---|
375 |
|
---|
376 | // we allocate matrixInt array
|
---|
377 | matrixInt = new int[iRows * iCols];
|
---|
378 |
|
---|
379 | System.IntPtr ptrEmpty = new System.IntPtr();
|
---|
380 |
|
---|
381 | // get values in matrixInt
|
---|
382 | Scilab_cs_wrapper.api_Err SciErr = Scilab_cs_wrapper.readNamedMatrixOfInteger32(ptrEmpty, matrixName, &iRows, &iCols, matrixInt);
|
---|
383 | }
|
---|
384 | return matrixInt;
|
---|
385 | }
|
---|
386 | //=============================================================================
|
---|
387 | /// <summary>
|
---|
388 | /// get scilab type of named matrix
|
---|
389 | /// </summary>
|
---|
390 | /// <param name="matrixName"> variable name</param>
|
---|
391 | /// <returns>scilab type (see enum ScilabType)</returns>
|
---|
392 | public unsafe int getNamedVarType(string matrixName) {
|
---|
393 | int iType = 0;
|
---|
394 | System.IntPtr ptrEmpty = new System.IntPtr();
|
---|
395 |
|
---|
396 | Scilab_cs_wrapper.api_Err SciErr = Scilab_cs_wrapper.getNamedVarType(ptrEmpty, matrixName, &iType);
|
---|
397 | if (SciErr.iErr == 0) return iType;
|
---|
398 | return 0;
|
---|
399 | }
|
---|
400 | //=============================================================================
|
---|
401 | /// <summary>
|
---|
402 | /// Detect if a variable name exists in Scilab
|
---|
403 | /// </summary>
|
---|
404 | /// <param name="matrixName"> variable name</param>
|
---|
405 | /// <returns> true if exists</returns>
|
---|
406 | public unsafe Boolean existNamedVariable(string matrixName) {
|
---|
407 | int* piAdress = null;
|
---|
408 | System.IntPtr ptrEmpty = new System.IntPtr();
|
---|
409 |
|
---|
410 | Scilab_cs_wrapper.api_Err SciErr = Scilab_cs_wrapper.getVarAddressFromName(ptrEmpty, matrixName, &piAdress);
|
---|
411 | if (SciErr.iErr == 0) return true;
|
---|
412 | return false;
|
---|
413 | }
|
---|
414 | //=============================================================================
|
---|
415 | /// <summary>
|
---|
416 | /// Execute a scilab script .sce
|
---|
417 | /// </summary>
|
---|
418 | /// <param name="scriptFilename">the path to the .sce file</param>
|
---|
419 | /// <returns>error code operation, 0 : OK</returns>
|
---|
420 | public int execScilabScript(String scriptFilename) {
|
---|
421 | return Scilab_cs_wrapper.SendScilabJob("exec('" + scriptFilename + "');");
|
---|
422 | }
|
---|
423 | //=============================================================================
|
---|
424 | /// <summary>
|
---|
425 | /// Detect if a Scilab graphic window is opened
|
---|
426 | /// </summary>
|
---|
427 | /// <returns>true or false</returns>
|
---|
428 | public Boolean HaveAGraph() {
|
---|
429 | if (withGraphics) {
|
---|
430 | int ierr = Scilab_cs_wrapper.sciHasFigures();
|
---|
431 | if (ierr == 1) return true;
|
---|
432 | }
|
---|
433 | return false;
|
---|
434 | }
|
---|
435 | //=============================================================================
|
---|
436 | /// <summary>
|
---|
437 | /// do a scilab event
|
---|
438 | /// parser need to run to do a event
|
---|
439 | /// </summary>
|
---|
440 | /// <returns>error code operation, 0 : OK</returns>
|
---|
441 | public int doEvent() {
|
---|
442 | // do a pause (we do not want 100% CPU used)
|
---|
443 | // ugly but it works ...
|
---|
444 | Thread.Sleep(1);
|
---|
445 | // do a loop of parser
|
---|
446 | return SendScilabJob("");
|
---|
447 | }
|
---|
448 | //=============================================================================
|
---|
449 | /// <summary>
|
---|
450 | /// get scilab type of named matrix
|
---|
451 | /// </summary>
|
---|
452 | /// <param name="matrixName"> variable name</param>
|
---|
453 | /// <returns>scilab type (see enum ScilabType)</returns>
|
---|
454 | public int isNamedVarComplex(string matrixName) {
|
---|
455 | System.IntPtr ptrEmpty = new System.IntPtr();
|
---|
456 | return Scilab_cs_wrapper.isNamedVarComplex(ptrEmpty, matrixName);
|
---|
457 | }
|
---|
458 | //=============================================================================
|
---|
459 | }
|
---|
460 | }
|
---|
461 | //=============================================================================
|
---|