Question: Combining lists without evalm

  [1,2] + [3,4]*x
  [1+3*x, 2+4*x] as a list

Right now I do the following:
  >  combined := evalm([1,2] + [3,4]*x);

combined := [1 + 3*x, 2 + 4*x]

  >  combined := convert(combined, 'list');

combined := [1 + 3*x, 2 + 4*x]

The reason I need to use convert is because the output of evalm has type 'array'. Is there a nicer way to do this? I don't want to use evalm because it is deprecated.

Please Wait...