Skip to main content

Questions tagged [localization]

4 votes
3 answers
306 views

Assume you have created the code for control Manipulate variables and the name thereof somewhere: iter = {{a1, 1, 2}, {a2, 1, 2}}; var = {a1, a2}; Now you want to ...
Daniel Huber's user avatar
  • 60.8k
4 votes
1 answer
151 views

I'm trying to understand Mathematica's behavior when creating a Table based on a given list of variables. I'm using a dummy variable to iterate through the list, and I want to make sure that ...
Māris Ozols's user avatar
2 votes
0 answers
168 views

Sorry if this is kind of a noob question but I'm wondering what the best-performing approach is to the following: I'd like to define several local constants in the body of a function, each of which ...
max's user avatar
  • 111
1 vote
1 answer
140 views

After reading this, I found that Mathematica could be a useful tool to analyse GPS data from a navigating vessel at sea. But this example is for land-based fixed positions, i.e. the position of a lake ...
Superunknown's user avatar
5 votes
1 answer
121 views

I'd like to write a function whose arguments contains symbols that are automatically localized, just like some built-in functions, like Sum. Even better, I'd like to see the symbols' color change, to ...
Ben's user avatar
  • 53
5 votes
1 answer
319 views

If I use a Block with variables already used and ask it to Solve an equation inside the Block...
RoberRM's user avatar
  • 339
3 votes
1 answer
136 views

I wrote a simple solver to solve an equation with two parameters a and b. At the same time, ...
Enter's user avatar
  • 1,257
1 vote
1 answer
255 views

I would like to use a local variable within Dynamic, but that may not work, and the front end will show the local variable in red to give a warning. However, if I ...
Russ Lyons's user avatar
3 votes
1 answer
420 views

When I provide a list of local variables to Module, it complains that it is not a list: v = {x, y}; Module[v, x = 2] ... Module: Local variable specification v is not a List. So my question is how do ...
pion's user avatar
  • 31
0 votes
1 answer
100 views

Below is a piece of my code I have trouble with: ...
user45937's user avatar
  • 1,331
11 votes
1 answer
298 views

For the case of Block and Module one can choose to define values in the body for the variable names being scoped. So there is no ...
user13892's user avatar
  • 10.4k
0 votes
0 answers
54 views

I have noticed that there are functions in Mathematica that are ignoring already set parameters. I.e. Plot: ...
Lars H.'s user avatar
0 votes
2 answers
83 views

I'm sure this has been asked, but I can't seem to find the correct terms to find it. I have a function that looks something like this ...
mikemtnbikes's user avatar
8 votes
0 answers
136 views

Mathematica 11 features multilingual code captions for built-in symbols. How do I define code captions in different languages for my own functions which may go into a Mathematica application/package?
QuantumDot's user avatar
  • 19.9k
8 votes
1 answer
320 views

I thought when we type a symbol without specifying its Context, it will search all the Context in ...
vapor's user avatar
  • 7,961

15 30 50 per page