Spracherkennung für: .tst vermutete Sprache: Lisp {Lisp[35] Masm[35] Apollo[23]} [Methode: maximale Elemente, drei Dimensionen]
# InterpolatedPolynomial should always return a polynomial.
# Reported by István Szöllősi during GAP Days 2025.
#
gap> f:=InterpolatedPolynomial( Integers, [ 1, 2, 3 ], [ 5, 5, 5 ] );
5
gap> IsInt(f);
false
gap> IsPolynomial(f);
true
#
gap> f:=InterpolatedPolynomial( Integers, [ 1 ], [ 5 ] );
5
gap> IsInt(f);
false
gap> IsPolynomial(f);
true
[Dauer der Verarbeitung: 0.3 Sekunden, vorverarbeitet 2026-10-24]