|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
How to adopt a Fortran routine?Dear Octave Community
Since there is a bug [1] in tzero.m (or in one of its subroutines from the control package) and I have absolutely no idea how to fix it, I was looking for another - working - implementation. I found a Fortran file named sszer.f in Scilab 5.2 which has no clear license information in it, but I assume it's distributed under the terms of CeCILL 2 (a French open-source license) like Scilab itself and therefore free. It's an implementation of the algorithm described in [2] and I wish to create an oct-file out of it. Unfortunately, I only have basic c++ knowledge and I don't understand Fortran code at all. Does anybody knows how to create an oct-file out of Fortran code [3] and how the function is used (especially the passed/returned arguments) ? Thanks for any help in advance! Regards, Lukas [1] http://octave.svn.sourceforge.net/viewvc/octave/trunk/octave-forge/extra/control-oo/inst/ocst/__test_tzero__.m?view=markup [2] Emami-Naeini, A. and P. Van Dooren, "Computation of Zeros of Linear Multivariable Systems," Automatica, 18 (1982), pp. 415-430 [3] http://www.gnu.org/software/octave/doc/interpreter/Calling-External-Code-from-Oct_002dFiles.html#Calling-External-Code-from-Oct_002dFiles ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Octave-dev mailing list Octave-dev@... https://lists.sourceforge.net/lists/listinfo/octave-dev |
|
|
Re: How to adopt a Fortran routine?> From: lukas.reichlin@... > Date: Tue, 10 Nov 2009 17:59:55 +0100 > To: octave-dev@... > Subject: [OctDev] How to adopt a Fortran routine? > > Dear Octave Community > > Since there is a bug [1] in tzero.m (or in one of its subroutines from the control package) and I have absolutely no idea how to fix it, I was looking for another - working - implementation. I found a Fortran file named sszer.f in Scilab 5.2 which has no clear license information in it, but I assume it's distributed under the terms of CeCILL 2 (a French open-source license) like Scilab itself and therefore free. It's an implementation of the algorithm described in [2] and I wish to create an oct-file out of it. Unfortunately, I only have basic c++ knowledge and I don't understand Fortran code at all. Does anybody knows how to create an oct-file out of Fortran code [3] and how the function is used (especially the passed/returned arguments) ? > > Thanks for any help in advance! > > Regards, > Lukas > > [1] > http://octave.svn.sourceforge.net/viewvc/octave/trunk/octave-forge/extra/control-oo/inst/ocst/__test_tzero__.m?view=markup > > [2] > Emami-Naeini, A. and P. Van Dooren, "Computation of Zeros of Linear Multivariable Systems," Automatica, 18 (1982), pp. 415-430 > > [3] > http://www.gnu.org/software/octave/doc/interpreter/Calling-External-Code-from-Oct_002dFiles.html#Calling-External-Code-from-Oct_002dFiles > > I was going to look at and try to fix tzero.m Doug ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Octave-dev mailing list Octave-dev@... https://lists.sourceforge.net/lists/listinfo/octave-dev |
| Free embeddable forum powered by Nabble | Forum Help |