Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.0.1 - 日本語

Change language to:
English - Français - Português - Русский

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Scilabヘルプ >> Polynomials > diophant

diophant

ダイオファンタイン (べズー) 方程式

呼び出し手順

[x,err]=diophant(p1p2,b)

パラメータ

p1p2

多項式ベクトル p1p2 = [p1 p2]

b

多項式

x

多項式ベクトル [x1;x2]

説明

diophant は以下のべズー方程式を解きます:

多項式ベクトルp1p2で指定した p1*x1+p2*x2=b

この方程式が可解の場合: err=0

s=poly(0,'s');p1=(s+3)^2;p2=(1+s);
x1=s;x2=(2+s);
[x,err]=diophant([p1,p2],p1*x1+p2*x2);
p1*x1+p2*x2-p1*x(1)-p2*x(2)
Report an issue
<< detr Polynomials factors >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Feb 12 23:12:40 CET 2018