Subject: getting a matrix element without brackets?
From: Iai Masafumi ax
Date: Mon, 19 Aug 2013 14:42:39 +0900
Hello,
How can I get "yy+uu" instead of "[yy+uu]" in my example below? I need
to remove brackets. They become problematic when going to more complex
calculations.
(%i185) func(a,b) := a[1]+b[1];
(%o185) func(a,b):=a[1]+b[1]
(%i188) a:matrix([yy], [zz]);
b:matrix([uu], [ww]);
(%o188) matrix([yy],[zz])
(%o189) matrix([uu],[ww])
(%i190) func(a,b);
(%o190) [yy+uu]
Thank you,
Iai