Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #8162 > unrolled thread

calculating with vectors of variable length

Started byBenjamin Hell <hell@exoneon.de>
First post2012-01-25 12:13 +0000
Last post2012-01-25 12:13 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  calculating with vectors of variable length Benjamin Hell <hell@exoneon.de> - 2012-01-25 12:13 +0000

#8162 — calculating with vectors of variable length

FromBenjamin Hell <hell@exoneon.de>
Date2012-01-25 12:13 +0000
Subjectcalculating with vectors of variable length
Message-ID<jform5$6d0$1@smc.vnet.net>
Hi,
I'd like to work with vectors of variable length. A short example would 
be this:
a = {a1,...,an}
f[x_]:=a.x
The vector x should be treated as a vector {x1,...,xn} and n should be 
variable and not be specified prior to any calculations.
One possible calculation would be:
D[f,x3]
which should give a3 according to the definition of f above.

How can I implement that in mathematica?

Thanks in advance,
Benjamin

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web