1:
val variables : x : Expression -> HashSet<Expression>
Возвращает переменные полинома
1: 2: 3: 4: 5: 6: 7: 8: 9:
let print = Infix.format >> printfn "%s" let expr = "2 + 3*x - 4*x^2 + 5*a*x^3" |> Infix.parseOrUndefined print expr expr |> Polynomial.variables |> Seq.iter(print)
1: 2: 3:
2 + 3*x - 4*x^2 + 5*a*x^3 x a