文件名称:lincon
介绍说明--下载内容均来自于网络,请自行研究使用
X = LINCON(A,B,N)解决线性同余的系统
A(1)* X== B(1)(MOD N(1))
A(2)* X== B(2)(MOD N(2))
...
A(M)* X== B(M)(N模(M))
的溶液中,X,将给出作为载体[X1 X2]代表的一般的解决方案
点ˉx== X1(MOD X2)
任何具体的答案可以通过让X = X1+ X2* K为k的任何整数值被发现。
如果没有解[无穷小 无穷小]将被退回。
标量输入功能相同的尺寸其他输入的恒定向量。-X = LINCON(A,B,N) solves the system of linear congruences
A(1)* X == B(1) (mod N(1))
A(2)* X == B(2) (mod N(2))
...
A(m)* X == B(m) (mod N(m))
The solution, X, will be given as a vector [x1 x2] representing the general solution
X == x1 (mod x2)
Any specific answer can be found by letting X = x1+ x2* k for any integer value of k.
If no solution exists [NaN NaN] will be returned.
A scalar input functions as a constant vector of the same size as the other inputs.
Program is compatible with Variable Precision Integer Arithmetic Toolbox available on File Exchange (#22725) Use of VPI is recommended for large magnitude inputs or outputs. If VPI is not used and internal calculations exceed largest consecutive flint a warning will be given that results may be inaccurate, along with [NaN NaN].
A(1)* X== B(1)(MOD N(1))
A(2)* X== B(2)(MOD N(2))
...
A(M)* X== B(M)(N模(M))
的溶液中,X,将给出作为载体[X1 X2]代表的一般的解决方案
点ˉx== X1(MOD X2)
任何具体的答案可以通过让X = X1+ X2* K为k的任何整数值被发现。
如果没有解[无穷小 无穷小]将被退回。
标量输入功能相同的尺寸其他输入的恒定向量。-X = LINCON(A,B,N) solves the system of linear congruences
A(1)* X == B(1) (mod N(1))
A(2)* X == B(2) (mod N(2))
...
A(m)* X == B(m) (mod N(m))
The solution, X, will be given as a vector [x1 x2] representing the general solution
X == x1 (mod x2)
Any specific answer can be found by letting X = x1+ x2* k for any integer value of k.
If no solution exists [NaN NaN] will be returned.
A scalar input functions as a constant vector of the same size as the other inputs.
Program is compatible with Variable Precision Integer Arithmetic Toolbox available on File Exchange (#22725) Use of VPI is recommended for large magnitude inputs or outputs. If VPI is not used and internal calculations exceed largest consecutive flint a warning will be given that results may be inaccurate, along with [NaN NaN].
(系统自动生成,下载前可以参看下载内容)
下载文件列表
lincon.m
license.txt