Re: Re: Unevaluated a[[1]]*a[[2]]
- To: mathgroup at smc.vnet.net
- Subject: [mg65187] Re: [mg65174] Re: Unevaluated a[[1]]*a[[2]]
- From: "Alexandre Costa" <amscosta at uem.br>
- Date: Fri, 17 Mar 2006 00:13:30 -0500 (EST)
- References: <dvasti$c7q$1@smc.vnet.net> <200603161122.GAA18256@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Thanks, that is a very simple way. But suppose I want to extend that NonCommutativeMultiply operator (**) to others operations: +, -, / . Does anybody have a clue how to do this ? Suppose I have the expression for the roots of the quadratic equation: - b[[a]]^2 + Sqrt[delta]/2*a[[j]] How can I see at once all the numeric values unevaluated on that expression. In short words, I have lenghtly expressions(with sums,subtraction,divisions and multiplications and powers) and I want to check each numeric value of each term in the original unevaluated formula. I was thinking in a operator or function to solve all this issue. Any help is very welcome, Thanks, Alex ----- Original Message ----- From: "Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de> To: mathgroup at smc.vnet.net Subject: [mg65187] [mg65174] Re: Unevaluated a[[1]]*a[[2]] > Hi, > > and why nor use an operation that does not > evaluate a*b > i.e. > a = {0.1245, 0.543}; > a[[1]] ** a[[2]] > > Regards > > Jens > > "Alexandre Costa" <amscosta at uem.br> schrieb im > Newsbeitrag news:dvasti$c7q$1 at smc.vnet.net... > | Dear Group, > | Suppose I have a = {0.1245, 0.543}; > | I want to check the values of the product: > | a[[1]]*a[[2]]. So I just want to see the product > unevaluated as output: > | 0.1245*0.543. > | Thanks, > | Alex > | > | > >
- References:
- Re: Unevaluated a[[1]]*a[[2]]
- From: "Jens-Peer Kuska" <kuska@informatik.uni-leipzig.de>
- Re: Unevaluated a[[1]]*a[[2]]