vector representation

*To*: mathgroup at smc.vnet.net*Subject*: [mg82748] vector representation*From*: Vlad Luca <vldluca at yahoo.com>*Date*: Tue, 30 Oct 2007 03:32:53 -0500 (EST)

Hi, Having the vector r(a,b,c) = {a i, b j, c k} where i, j, k are the unit vectors and a, b, c arbitrary coefficients, I want to calculate, for example r(1,2,1) etc. Also I want to be able to add 2 or more of such vectors trough their indexes, for example: r(0,0,1) + r(1,2,3) and the sum to be expressed like this r(1,2,4) and not like {1i, 2j, 4k}. Thank You in advance!