Convert object to tuple

tuplify(x)

Arguments

x

Object

Examples

if (has_sympy()) {
  x <- as_sym("Matrix([[b1*x1/(b2 + x1)], [b1*x2/(b2 + x2)], [b1*x3/(b2 + x3)]])")
  tuplify(x)
}
#> c: ⎛ b₁⋅x₁    b₁⋅x₂    b₁⋅x₃ ⎞
#>    ⎜───────, ───────, ───────⎟
#>    ⎝b₂ + x₁  b₂ + x₂  b₂ + x₃⎠