Yes, this "immutability" seems sometime difficult to accept, but since
it is easy to convert back and forth to Vector and use setelt! from
there, it's not a big deal. Perhaps it it sometimes costs more copying
than you wish to have.

Ralf

On 10/31/20 3:00 PM, Bill Page wrote:
> The elements of DirectProduct are intended to be immutable
> mathematical values, i.e a "tuple" in a n-tuple product, not a data
> container.
> 
> On Sat, Oct 31, 2020 at 9:29 AM Neven Sajko <[email protected]> wrote:
>>
>> Thank you for your insight, Bill.
>>
>> Does somebody know why does DirectProduct not have setelt! and qsetelt! ?
>>
>> Thanks,
>> Neven
> 

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/70be1fb2-c2f8-de4e-34ed-5add1032774b%40hemmecke.org.

Reply via email to