The tag has no wiki summary.

learn more… | top users | synonyms

8
votes
3answers
186 views

Functions that creates symbol in a specific context

I'm trying to make a function f that takes a symbol, a value, and a context, and creates the symbol in the requested context and assigns it the passed value. The ...
5
votes
1answer
266 views

Proper use of arbitrary number of variables

So, I'm working on a project where the number of independent variables is not fixed. Consider a problem of $N$ independent variables, $\boldsymbol{r}$. I want to perform different things with them. ...
1
vote
0answers
71 views

Defining a Function, := versus = [duplicate]

Consider: ...
4
votes
1answer
404 views

Behavior of expression evaluation in Plot

I'm confused with Mathematica's way of parsing expressions. I've been struggling with this for a while and never found an exhaustive answer, sometimes things don't parse the way I think they would ...
9
votes
2answers
2k views

What does # mean in Mathematica?

I asked Mathematica to compute the following Solve[c (1-x)^2-x^(1/4) == 0, x] and it returned this: x = Root[#1^8 c^4 - 8 #1^7 c^4 + 28 #1^6 c^4 - 56 #1^5 ...
1
vote
2answers
69 views

Factor inside argument

How do you use Factor so that it will factor expressions inside the arguments of some bigger expression. For example Factor[ Cos[t w - t z]] gives ...
16
votes
3answers
312 views

What does None mean in a control specification for Manipulate?

I am now struggling to understand code that contains the following (simplified) Manipulate structure. ...
0
votes
0answers
63 views

Mathematica Workspace [duplicate]

Possible Duplicate: Is there equivalence within Mathematica to view currently used variables similar to Matlab? In Matlab, I can type: ...
13
votes
3answers
339 views

Make mathematica treat $e_i^2$ as numeric

With NumericQ[symbol] = True, I can declare that a symbol is numeric. I want the expressions matching: $$e_{\text{i$\_$}?\text{IntegerQ}}^2$$ to be treated as ...
18
votes
1answer
422 views

Using Transpose with a list as the second argument

I'm having difficulty understanding the Transpose function. I know what the transpose of a matrix is, not a problem, and I see that applying the ...
2
votes
1answer
132 views

Difference between function definitions [duplicate]

Possible Duplicate: Functions vs. patterns I thought about describing the context in which I faced this problem, but I figured it is general enough and clear enough to pose it as it is. ...