Tag Info

Hot answers tagged

8

The documentation you linked to is more about how Infix is used to define output formats. You can find more information on how to use functions in infix form in the tutorials Special Ways to Input Expressions and Operator Input Forms. If you really want to use Partition in the infix form with an offset, you can use samplelist ~Partition~ Sequence[3, 2] ...


4

As commented by Szabolcs ~infix~ syntax works only with two arguments. Karsten's clever use of Sequence does not change this fact. As a leading proponent of ~infix~ syntax around here I believe that that binary nature is one of two primary benefits this notation has, the other being reduction of stacked [[[ brackets ]]]. One can at a glance tell from ...


1

Questions 1 and 2: Solve[x == 3 y + e && Mod[y, 2] == 0 && 0 <= e <= 1, {x, y}, Integers] {{x -> ConditionalExpression[1 + 2 (3 C[1] - 3 C[2]), (C[1] | C[2]) ∈ Integers && C[1] >= 0 && C[2] >= 0 && e == 1], y -> ConditionalExpression[2 (C[1] - C[2]), (C[1] | C[2]) ∈ Integers ...



Only top voted, non community-wiki answers of a minimum length are eligible