The Stack Overflow podcast is back! Listen to an interview with our new CEO.

# Questions tagged [assignment]

For questions relating to assignments to symbols, patterns, or expressions.

13 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
217 views

### Why is it not allowed to define vectors of variables in a scoping construct?

The following command assigns 1 to a, 2 to b and 3 to c: ...
468 views

### Multiple variable assignment from a list

For example in Python, if we have a list of 3 elements, say ls = [1,2,3] and we want to assign a variable to each value (from left to right), one can do as follows: ...
49 views

### Variable assignment/replacement issues

I have three questions about variable assignment. Module[{z}, z = y; p'[y] /. p -> Function[y, Evaluate[z]]] When I run the above code, it outputs 0. 1) If I ...
33 views

### Mathematica: Remove argument from object with flat attribute

I have an object in mathematica with the attributes Flat and OneIdentity. I also defined the following substitutions: ...
32 views

### Programmatically Inject Logical Vector into Manipulate Checkboxes or Vice-Versa

I am building a large Manipulate application with about 50-60 checkboxes through which the user can select entities to be drawn on a main canvas. The main drawing routine, called from within ...
65 views

### Matrix as function manipulation

Consider matrix mat[x_] := {{1, 2}, {3, x}} with mat[x][[1]] giving {1, 2} I wanna ...
95 views

### How do I assign a value to a[1,2][[3]]?

How do I assign a value, say 7 or "t", to a[1, 2][[3]]? a[1, 2][[3]] = 7 and ...
29 views

In my StyleSheet, I would like to assign to the environment Subchapter the Key Alt+2 (via MenuCommandKey. However, this is ...
67 views

### Set-generating macro unexpectedly reaches recursion limit

One moment I decided to assign symbolic names to all special spaces since they all look the same when put literally in FrontEnd editor, more or less like "" or <...
26 views

### Defining a function from an evaluated function stored in a variable

I have the evaluation of a function b, stored in appo. Now I want to define a new function f ...
35 views

### Assign a Derivate to a new fuction variable

I'm having a new problem. I'm trying to create a new function from a Derivate of another function, but i'm can't getting it. Someone could help me? I'm thinking that is something in the syntax of the ...