Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #6914 > unrolled thread
| Started by | Sseziwa Mukasa <mukasa@gmail.com> |
|---|---|
| First post | 2011-12-03 10:09 +0000 |
| Last post | 2011-12-03 10:09 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: A matrix element specified by a vector? Sseziwa Mukasa <mukasa@gmail.com> - 2011-12-03 10:09 +0000
| From | Sseziwa Mukasa <mukasa@gmail.com> |
|---|---|
| Date | 2011-12-03 10:09 +0000 |
| Subject | Re: A matrix element specified by a vector? |
| Message-ID | <jbcsfu$bvs$1@smc.vnet.net> |
On Dec 2, 2011, at 7:21 AM, Ralph Dratman wrote: > I am wondering if there is a more compact way to express the following idea: > > myMatrix[[ myVector[[1]], myVector[[2]] ]] = myScalar > > This keeps coming up. Did I miss the quick and easy way to do it? Of > course it looks even uglier in 3 dimensions. myMatrix[[Sequence@@myVector]] = myScalar Regards, Sseziwa=
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web