Re: [fricas-devel] Re: What is Fricas equivalent to Maple op command (extract operands from expression)

2023-12-23 Thread Ralf Hemmecke
On 12/23/23 21:53, 'Nasser M. Abbasi' via FriCAS - computer algebra system wrote: What I meant to say, the lists in Fricas have to be same type, else it will not work with concat. Here is an example 20) -> L1:=[1,2,3] (23) -> L2:=["D","E","F"] (24) -> concat(L1,L2) gives error. Yes. And

Re: [fricas-devel] Re: What is Fricas equivalent to Maple op command (extract operands from expression)

2023-12-23 Thread Grégory Vanuxem
Le sam. 23 déc. 2023 à 21:53, 'Nasser M. Abbasi' via FriCAS - computer algebra system a écrit : > > What I meant to say, the lists in Fricas have to be same type, else it will > not work with concat. Here is an example > > 20) -> L1:=[1,2,3] > (23) -> L2:=["D","E","F"] > (24) -> concat(L1,L2) >

[fricas-devel] Re: What is Fricas equivalent to Maple op command (extract operands from expression)

2023-12-23 Thread 'Nasser M. Abbasi' via FriCAS - computer algebra system
What I meant to say, the lists in Fricas have to be same type, else it will not work with concat. Here is an example 20) -> L1:=[1,2,3] (23) -> L2:=["D","E","F"] (24) -> concat(L1,L2) gives error. But in Maple using op() L1:=[1,2,3]; L2:=["E","F","G"]; L3:=[ op(L1) , op(L2) ];