Skip to main content
7 events
when toggle format what by license comment
Oct 20, 2022 at 16:36 comment added Curious Cat Thanks. It seems the problem is the indexing [[ ]] due to a__ is CirclePlus[...] and cannot be indexed.
Oct 20, 2022 at 11:13 comment added Daniel Huber This leads to an infinite recursion. with: (a[[1 ;;-2]][CirclePlus]a[[-1]]) evaluated over and over.
Oct 20, 2022 at 10:27 vote accept Curious Cat
Oct 20, 2022 at 10:27 comment added Curious Cat Thanks @Daniel! I overlooked the 2 blanks! I still have one question: why a__\[CirclePlus]b_ := (a[[1 ;;-2]]\[CirclePlus]a[[-1]])\[CirclePlus]b; doesn't work?
Oct 20, 2022 at 7:24 comment added Daniel Huber Why you do not try it out? Note that c__ has 2 blanks
Oct 19, 2022 at 22:53 comment added Curious Cat But what if I want to calculate a\[CirclePlus]b\[CirclePlus]c\[CirclePlus]d or even more variables?
Oct 19, 2022 at 19:49 history answered Daniel Huber CC BY-SA 4.0