Mathcad Custom Functions - This plugin will help you to connect Mathcad custom functions - Messages

I think you mean to prepare some package to load within virtualbox or alike ?

http://www.jetbrains.com/decompiler/
http://msdn.microsoft.com/en-us/library/f7dy01k1(v=vs.80).aspx
http://filegenreflector.codeplex.com/
http://reflectoraddins.codeplex.com/
WroteExamples of user libraries using EFI:
1. C (С++): test
2. OPascal (Delphi7): NumericalRecipesPascal
3. Assembler (RadAsm): test2 (not finished)
4. Fortran 2003 (IVFC XE 12): TestFortran (not finished)
uni, could you explain please in few words, what does this actually mean? What is the connection between, say, Fortran 2003 (IVFC XE 12) and EFI plugin?
Cheers,
Radovan
WroteThis means that you can write a function in any of these languages. You can use the compilers of these languages to create extensions for SMath Studio. Unmanaged code runs much faster. You can use the EFI interface as a wrapper for the old code. You can write an extension for SMath Studio directly on Fortran.
We mentioned such a possibility here and there on the Forum. I also nagged about this few times. If there could be a way to make some SMath packages
using any of older Fortran/C/C++ libraries, and use them within SMath...to be honest, it seems to me like a science fiction

I remember there was such a possibility in Mathcad long time ago. As I remember, the EFI thing was in case (USEREFI mechanism). As I remember, there were some preferred compilers at that time (Fortran/C/C++, than Fortran was abandoned). From my point of view (as an average user) it was a bit complicated. Therefore, I've never tried myself to make a user defined DLL in Mathcad. I just know that some Mathcad Handbook writers used this and expanded Mathcad with their own functions packaged into DLLs. I actually am not aware that anyone made any DLLs from some old and well established Fortran or C/C++ libraries (I might be wrong regarding this).
Regards,
Radovan
Thank for all of your nice plugins.
I like to give a hint for using the mcadefi plugin with windows 64.
I found an article about the dll issue:
http://blogs.technet.com/b/sbs/archive/2010/07/19/case-in-the-corner-series-x64-framework-not-working.aspx
I followed the instructions and now the efiplugin works fine with windows 7 ultimate 64
best regards
matthias
In the Developer's Guide (in the Mathcad Help) is used a workaround to use Fortran libraries. They use a wrapper in C to call functions from Fortran library. I do this directly.
Wrote
I like to give a hint for using the mcadefi plugin with windows 64.
I found an article about the dll issue:
http://blogs.technet.com/b/sbs/archive/2010/07/19/case-in-the-corner-series-x64-framework-not-working.aspx
I followed the instructions and now the efiplugin works fine with windows 7 ultimate 64
This one does not work for me. Still in the efi.txt
6/21/2013 2:51:32 PM [Error] is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)
Regards,
Radovan
WroteI did it for myself. Such libraries are much faster than SMath Studio plugins. You can use the Fortran code, just rewriting it under the Fortran 2003 standard. Fortran is still used. I wrote a simple fortran library in Visual Studio 2010 (with IVFC XE 12). This dll works in Mathcad too.
In the Developer's Guide (in the Mathcad Help) is used a workaround to use Fortran libraries. They use a wrapper in C to call functions from Fortran library. I do this directly.
You said that you wrote a simple fortran library which works both in SMath and Mathcad. That is very interesting. It seems very easy to accomplish this, when you explained this

Regards,
Radovan


Regards,
Radovan
using System;
using System.Reflection;
using Imsl.Math;
public class Sample
{
public static void Main(String[] args)
{
try
{
Console.WriteLine("Sample IMSL C# Numerical Library application." );
double result = Imsl.Math.Sfun.Gamma(5.0);
Console.WriteLine("The Gamma function at 5.0 is " + result);
}
catch {}
}
}
The program requires some additional files: ImslCS.dll, LicenseFlexLM.dll and license.dat

WroteWrote
I like to give a hint for using the mcadefi plugin with windows 64.
I found an article about the dll issue:
http://blogs.technet.com/b/sbs/archive/2010/07/19/case-in-the-corner-series-x64-framework-not-working.aspx
I followed the instructions and now the efiplugin works fine with windows 7 ultimate 64
This one does not work for me. Still in the efi.txt
6/21/2013 2:51:32 PM [Error] is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)
Regards,
Radovan
Try this assembly with the 32BIT flag.
SMathStudio_Desktop_0.96.4909_32bit.zip (195 KiB) downloaded 134 time(s).


Thank you uni,
Regards,
Radovan
P.S. As I unpacked the entire archive OKAWSP6.dll error appeared. Explained here
I made this suggestion last year:
http://en.smath.info/forum/yaf_postsm5715_ODE-solvers.aspx#post5715
Edit:
This opensource program has an embedded compiler, Johns Hope's FPlot
http://en.smath.info/forum/yaf_postsm9935_XYPlot-plugin.aspx#post9935
BTW, read the "Download" section on the original site, that approach could be of help for Andrey in order to make the new portable builds without including.NET2.0
http://wiki.scipy.org/F2py
http://www.ucs.cam.ac.uk/docs/course-notes/unix-courses/pythonfortran
https://github.com/thehackerwithin/PyTrieste/wiki/F2Py
-
New Posts
-
No New Posts