Cephes Math Library

Cephes Math Library - Adds 78 special functions (Cephes Math Library 2.4, CALGO). - Сообщения

#21 Опубликовано: 18.08.2013 12:45:21
Radovan Omorjan

Radovan Omorjan

325 сообщений из 2052 понравились пользователям.

Группа: Moderator

Wrote

Wrote

Updated. Well, the last time. I compiled plugin in the release configuration. Maybe this version will work. And show me the log file.



Much better now, yet still problems. Part of the functions now work and no side effenct so far.
Thank you for keep fighting!


Just to join Martin and to thank uni for his efforts

Here is my log file. It seems it is the same like Martin's. Unfortunately, some functions do not work, they are present in the list (like Bessel, Hankel, Airy) but they do not work.

Regards,
Radovan

log.txt (32 КиБ) скачан 84 раз(а).
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
1 пользователям понравился этот пост
#22 Опубликовано: 18.08.2013 13:53:53
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Thank you Martin, thank you Radovan.

It looks like the case was in the debug version of the plugin. Some functions do not work due to the fact that I have modified the code. Earlier, I used already compiled library. This is the first time I compiled it myself.

I will look for errors and make corrections. Please try 64bit version too.
Russia ☭ forever, Viacheslav N. Mezentsev
#23 Опубликовано: 18.08.2013 16:20:52
Martin Kraska

Martin Kraska

1222 сообщений из 2150 понравились пользователям.

Группа: Moderator

Wrote

Please try 64bit version too.



I had to remove the EFI plugin in order to run the 64bit version, here is the cephes log

18.08.2013 22:03:49 [ERROR] [Plugin.Initialize()] ist keine zulässige Win32-Anwendung. (Ausnahme von HRESULT: 0x800700C1)
18.08.2013 22:03:49 [INFO ] [Plugin.Initialize()] Successfully. 0 functions loaded.

This is what the error message says:

Informationen über das Aufrufen von JIT-Debuggen
anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

************** Ausnahmetext **************
System.BadImageFormatException: Die Datei oder Assembly "file:///D:\Programme\SMath\SMathStudio_Desktop.exe" oder eine Abhängigkeit davon wurde nicht gefunden. Es wurde versucht, eine Datei mit einem falschen Format zu laden.
Dateiname: "file:///D:\Programme\SMath\SMathStudio_Desktop.exe"
bei System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
bei System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
bei System.Reflection.Assembly.LoadFrom(String assemblyFile)
bei ..(String , String )
bei ..(Object , EventArgs )
bei System.Windows.Forms.Timer.OnTick(EventArgs e)
bei System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

WRN: Protokollierung der Assemblybindung ist AUS.
Sie können die Protokollierung der Assemblybindungsfehler aktivieren, indem Sie den Registrierungswert [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) auf 1 festlegen.
Hinweis: Die Protokollierung der Assemblybindungsfehler führt zu einer gewissen Leistungseinbuße.
Sie können dieses Feature deaktivieren, indem Sie den Registrierungswert [HKLM\Software\Microsoft\Fusion!EnableLog] entfernen.



************** Geladene Assemblys **************
mscorlib
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.5472 (Win7SP1GDR.050727-5400).
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll.

SMathStudio_Desktop
Assembly-Version: 0.96.4909.6806.
Win32-Version: 1.1.26.0.
CodeBase: file:///D:/Programme/SMath/SMathStudio_Desktop_64.exe.

System.Windows.Forms
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.5468 (Win7SP1GDR.050727-5400).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.

System
Assembly-Version: 2.0.0.0.
Win32-Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400).
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll.

Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 пользователям понравился этот пост
#24 Опубликовано: 18.08.2013 22:55:36
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Martin, try to remove mathlib.dll from the plugin folder. When the plugin is loading it tries to find the library. If not found, then it unloads library from the resources depending on the type of platform.
Russia ☭ forever, Viacheslav N. Mezentsev
1 пользователям понравился этот пост
Martin Kraska 19.08.2013 10:40:00
#25 Опубликовано: 19.08.2013 10:39:19
Martin Kraska

Martin Kraska

1222 сообщений из 2150 понравились пользователям.

Группа: Moderator

Ok, I did this (and removed EFI).

Upon start of the 64bit version I get an error message.

Показать спойлер



and the log file has the contents:

Показать спойлер


I can recover from the error message with the button [continue].
Doing something simple like abs(i)= leads to german yellow error box saying something like "not a valid Win32 application, exception HRESULT: 0x800700C1"

Loading the cephes test sheet leads to a new error message, saying:

Показать спойлер


When I recover via [continue], then SMath tries to display the plugin loader, but fails to list what plugin would be required and then freezes (kill by Program manager required).

In order to go back to normal use of the 32bit version I have to remove the mathlib.dll again. Thus, for the normal user (unaware of plugin dirs and dlls) it is not safe to switch versions from time to time.
Also, you cannot run instances of SMath with different bitness at a time if they have the same settings directory.

Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 пользователям понравился этот пост
#26 Опубликовано: 11.09.2016 14:02:10
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Updated (project now can be build using Release Manager), but something wrong with Release Manager. Plugin can't load functions from the mathlib. Local version works fine.
Russia ☭ forever, Viacheslav N. Mezentsev
#27 Опубликовано: 12.09.2016 06:14:28
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Updated (Release Manager corrected, thanks to Andrey). Seems x64 version works.

Cephes Math Library. Functions.pdf (41 КиБ) скачан 316 раз(а).
Russia ☭ forever, Viacheslav N. Mezentsev
1 пользователям понравился этот пост
frapuano 12.09.2016 08:26:00
#28 Опубликовано: 15.09.2016 09:54:01
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Updated. At last both versions (x32 and x64) work well.
Russia ☭ forever, Viacheslav N. Mezentsev
1 пользователям понравился этот пост
Davide Carpi 15.09.2016 10:16:00
#29 Опубликовано: 19.06.2020 03:47:30
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

Updated.

Changes:

- fixed error when freeing resources;
- refactored.
Russia ☭ forever, Viacheslav N. Mezentsev
1 пользователям понравился этот пост
frapuano 19.06.2020 09:35:00
#30 Опубликовано: 09.07.2021 23:42:23
overlord

overlord

554 сообщений из 1333 понравились пользователям.

Группа: Moderator

Plugin doesn't seem to evaluate functions.
Gives "domain: [#]" error, don't know the meaning.

Regards

cephes.png
#31 Опубликовано: 10.07.2021 01:26:36
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 сообщений из 1708 понравились пользователям.

Группа: Moderator

SMath Studio compatibility

Plugin updated.

Changes:
- refactored.

This error means that the second argument was out of bounds. The function checks the value of the arguments before calling.

2021-07-10_09-25-56.png

Файл не найден. Файл не найден.

Computing elliptic integrals by duplication (Carlson).pdf (672 КиБ) скачан 69 раз(а).

Links:

1. Algorithm 577: Algorithms for Incomplete Elliptic Integrals (B. C. Carlson, Elaine M. Notis)
Russia ☭ forever, Viacheslav N. Mezentsev
1 пользователям понравился этот пост
sergio 10.07.2021 04:57:00
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений