Optimal ET sequence: Difference between revisions

m Oops
Update to reflect how you're supposed to use this script since v1.14.0
 
Line 7: Line 7:


<syntaxhighlight lang="python">
<syntaxhighlight lang="python">
import te_common as te
from te_equal import et_sequence
import numpy as np
import numpy as np
from lib.te_common import Subgroup
from lib.te_equal import et_sequence


et_sequence(np.column_stack([[7, -1, -1, -1, 1], [-4, 1, -1, 0, 1]]), subgroup=te.Subgroup ([2, 11, 13, 17, 19]))
et_sequence(np.column_stack([[7, -1, -1, -1, 1], [-4, 1, -1, 0, 1]]), subgroup=Subgroup ([2, 11, 13, 17, 19]))
</syntaxhighlight>
</syntaxhighlight>