ValidationLength

ValidationLength
is an option to FindSequenceFunction and related functions that specifies the number of elements in the input sequence that should be used to validate a potential representation found.

DetailsDetails

  • With the setting ValidationLength->p, the last p elements of the input sequence are used to validate the correctness of the candidate representation.
  • The last p elements are not used in the search for possible representations.

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Use the last two values to validate candidate representations:

In[1]:=
Click for copyable input
Out[1]=

Use the last three values for validation:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2008
(7.0)