Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Questions about applying functions or operators to expressions, especially constructs that take advantage of Map (/@) functionality.
0
votes
0
answers
149
views
How to give a function multiple variables in a mapped and nested list?
This is a basic version of what i wanted to implement:
Ni = 5
Na = 2
(mtrix = {{a, b, c}, {d, e, f}, {g, h, i}}) // MatrixForm
mr = Flatten[Table[Mr[i, j, 0] = M0, {i, 1, Ni}, {j, 1, Na}], 1]
NestList[Map … Δω, Δt]];
Δω[G_, r_] := γ G r;
α = 90;
γ = 2 π 42.56 10^6;
ms = 10^-3;
mTm = 10^-3;
Δx = 0.1 mm;
τ = 0.01 ms;
[i_] := (i - Round[Ni/2] - 1) Δx;
Grd = 0.5 mTm;
So, something like this:
NestList[Map …