1页(10条)
Big Integer Arithmetics - Functions for big integer calculations - 消息
Extension can be install via Plugin Manager in SMath.
At first I had coded my own calculation algorithms which were slow, obviously.
Then I had implemented GNU Multiple Precision Library, which require a lot of work and extra download.
At last I have noticed there is a numerics library within visual studio if I use Net Framework 4.
So here is compiled DLL, which should be extracted to "%AppData%\SMath\extensions\plugins\".
Compiled dll should work out of box if there is Net Framework > 4 is installed on your system.
Source code to check and recompile, system.numerics file if you have not installed .Net4 framework.
If there is no Net4, just copy "system.numerics.dll" file under the folder of "BigIntegerArtihmetics.dll".
It also works under Linux with Monoif you copy files to "/home//.config/SMath".
If you use linux you would know where to copy extension.
Regards
biginteger_compiled.7z (4.4 KiB)已下载 997 次。
source_code.7z (6 KiB)已下载 1036 次。
System.Numerics.7z (43.65 KiB)已下载 1009 次。
At first I had coded my own calculation algorithms which were slow, obviously.
Then I had implemented GNU Multiple Precision Library, which require a lot of work and extra download.
At last I have noticed there is a numerics library within visual studio if I use Net Framework 4.
Compiled dll should work out of box if there is Net Framework > 4 is installed on your system.
Source code to check and recompile, system.numerics file if you have not installed .Net4 framework.
If there is no Net4, just copy "system.numerics.dll" file under the folder of "BigIntegerArtihmetics.dll".
It also works under Linux with Mono
If you use linux you would know where to copy extension.
Regards
1位用户喜欢此帖子
Alvaro 2021/1/10 16:15:00
Thanks to Andrey, I have uploaded plugin in to repository.
Now you don't have to manually install it.
Plugin can be added into SMath via plugins download page.
If you have this added into your SMath, please remove this plugin directory.
After removal, plugin can be available to download in SMath.
Regards
Now you don't have to manually install it.
Plugin can be added into SMath via plugins download page.
If you have this added into your SMath, please remove this plugin directory.
After removal, plugin can be available to download in SMath.
Regards
3位用户喜欢此帖子
Hi. Arbitrary precission algebra, but with rationals, extending the big integers operations and introducing continued fractions expansions.

bigRationals.sm (212.6 KiB)已下载 1779 次。
bigRationals.pdf (378.28 KiB)已下载 1127 次。
Best regards.
Alvaro.

bigRationals.sm (212.6 KiB)已下载 1779 次。
bigRationals.pdf (378.28 KiB)已下载 1127 次。
Best regards.
Alvaro.
WroteHi. Arbitrary precission algebra, but with rationals, extending the big integers operations and introducing continued fractions expansions.
bigRationals.sm (212.6 KiB)已下载 1779 次。
bigRationals.pdf (378.28 KiB)已下载 1127 次。
Best regards.
Alvaro.
This is very nice. Good job Alvaro.
Very beautiful, elegant and elaborated document.
I was writing some functions for this purpose too.
I think I will complete what I have started.
I am going to write a Big Number Plugin for SMath.
With mixed functions/ideas of yours and mine, it can be done.
Regards

1位用户喜欢此帖子
Alvaro 2021/11/11 05:05:00
Hi overlord. A plugin is definitely needed. This version also generates the rational approximation of any real with arbitrary precision without any plugin, but its efficiency is minimal.

ContFrac_Figures.sm (54.99 KiB)已下载 1705 次。
ContFrac_Figures.pdf (139.1 KiB)已下载 1044 次。
Best regards.
Alvaro.

ContFrac_Figures.sm (54.99 KiB)已下载 1705 次。
ContFrac_Figures.pdf (139.1 KiB)已下载 1044 次。
Best regards.
Alvaro.
1位用户喜欢此帖子
sergio 2021/11/11 05:57:00
Wrote...but its efficiency is minimal.
When (If) I complete the Big Number plugin, it will be much faster.
I know this because I witnessed first hand while programming Big Integer plugin.
Same algorithms shall execute faster on C# than internal SMath programming.
1位用户喜欢此帖子
Alvaro 2021/11/11 17:24:00
Hi. Improved version. Newton-raphson method and row reduced echelon form were also added, both with arbitrary arithmetic precision.
bigRationals.sm (276.04 KiB)已下载 1761 次。
bigRationals.pdf (458.26 KiB)已下载 1112 次。
Best regards.
Alvaro.
bigRationals.sm (276.04 KiB)已下载 1761 次。
bigRationals.pdf (458.26 KiB)已下载 1112 次。
Best regards.
Alvaro.
1位用户喜欢此帖子
Davide Carpi 2022/1/19 18:44:00
Hola Alvaro,
Great piece of work.
For pi, you may want to check Simon Plouffe
to avoid continued fraction ... timing ?
Take care ... Jean.
Pi for Alvaro BigNumber.sm (4.54 KiB)已下载 1728 次。
Great piece of work.
For pi, you may want to check Simon Plouffe
to avoid continued fraction ... timing ?
Take care ... Jean.
Pi for Alvaro BigNumber.sm (4.54 KiB)已下载 1728 次。
▲▲▲▲▲Wroteyou may want to check Simon Plouffe
Don't bother Alvaro, just a regular pi series calculation.
Not related with arbitrary precision results.
Well, promise is a promise.
I shall release the Big Rational Library when finished very soon.
Just a couple of essential functions remained.
Then I will try to add complex ones.
Big rationals has a niche and limited usage.
Though sometimes it is necessary for floating point precision.
Near none CAS including SMath is not capable such calculations.
It is due to electronic hardware and IEEE74 design.
Regards

I shall release the Big Rational Library when finished very soon.
Just a couple of essential functions remained.
Then I will try to add complex ones.
Big rationals has a niche and limited usage.
Though sometimes it is necessary for floating point precision.
Near none CAS including SMath is not capable such calculations.
It is due to electronic hardware and IEEE74 design.
Regards

1位用户喜欢此帖子
Davide Carpi 2022/1/19 18:43:00
1页(10条)
- 有新帖
- 无新帖