[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Alternative Matlab/Octave compiler
From: |
Shmuel Safonov |
Subject: |
Re: Alternative Matlab/Octave compiler |
Date: |
Sat, 22 Aug 2015 15:18:30 -0700 (PDT) |
This software includes a code generator and a library. The code generator
translate the m-code to sequence of calls to runtime library that
implements basic operations and to other functions that are written with
fixed prototype like this
void tmcMyFunc(int nargout, int nargin, /* outputs */ tmsMatrix *a ,
tmsMatrix *b, /*inputs */ tmsMatrix *c) ;
If you have you own functions written in C, you should provide to the
compiler the configuration file with the definitions that include the number
of inputs and outputs like this
MyFunc,1,2,x;
If the called functions are written in ML/Octave then compiler automatically
generates their prototype provided that the path to the function code is
passed to the compiler call.
I should check how easy it may be integrated with such procedures as ode45
that work with evaluation callbacks.
--
View this message in context:
http://octave.1599824.n4.nabble.com/Alternative-Matlab-Octave-compiler-tp4672195p4672232.html
Sent from the Octave - General mailing list archive at Nabble.com.