文件名称:HigherArithmetics:数论与整数数学
文件大小:32KB
文件格式:ZIP
更新时间:2024-05-07 22:01:29
C#
离散数学库 该.Net例程使用System.Numerics.BigInteger 例子: using HigherArithmetics ; using HigherArithmetics . Numerics ; using HigherArithmetics . Primes ; using System . Numerics ; ... // Cached prime numbers KnownPrimes . MaxKnownPrime = 1500 ; // 80 Console . WriteLine ( DiscreteMath . Totient ( 123 )); // 1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30, 60 Console . WriteLine ( string . Join ( " , " , Divisors . A
【文件预览】:
HigherArithmetics-master
----.github()
--------ISSUE_TEMPLATE()
----HigherArithmetics.sln(1KB)
----Numerics()
--------HigherArithmetics.Numerics.BigMath.cs(2KB)
--------HigherArithmetics.Numerics.RationalMatrix.cs(19KB)
--------HigherArithmetics.Numerics.BigRational.cs(14KB)
--------HigherArithmetics.Numerics.Modulo.cs(6KB)
--------HigherArithmetics.Numerics.RationalPolynom.cs(16KB)
--------HigherArithmetics.Numerics.MatrixLowLevel.cs(11KB)
----HigherArithmetics.csproj(1KB)
----LICENSE(1KB)
----HigherArithmetics.NumericCodes.cs(1017B)
----HigherArithmetics.Numbers.cs(5KB)
----Primes()
--------HigherArithmetics.Primes.KnownPrimes.cs(3KB)
--------HigherArithmetics.Primes.Divisors.cs(4KB)
--------HigherArithmetics.Primes.PrimeNumbers.cs(6KB)
----HigherArithmetics.DiscreteMath.cs(11KB)
----.gitignore(6KB)
----README.md(755B)
----HigherArithmetics.snk(596B)
----HigherArithmetics.Core.cs(82B)
----.gitattributes(2KB)