Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #6891
| From | Ralph Dratman <ralph.dratman@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | A matrix element specified by a vector? |
| Date | 2011-12-02 12:25 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <jbag3k$1v9$1@smc.vnet.net> (permalink) |
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. Thank you. Ralph Dratman
Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread
A matrix element specified by a vector? Ralph Dratman <ralph.dratman@gmail.com> - 2011-12-02 12:25 +0000 Re: A matrix element specified by a vector? A Retey <awnl@gmx-topmail.de> - 2011-12-03 09:14 +0000 Re: A matrix element specified by a vector? "Oleksandr Rasputinov" <oleksandr_rasputinov@hmamail.com> - 2011-12-03 10:12 +0000
csiph-web