Tag: assignment

203 What is the distinction between DownValues, UpValues, SubValues, and OwnValues? 2012-01-18T02:40:48.673

56 Assign the results from a Solve to variable(s) 2012-06-11T13:13:19.977

52 Changing Values in an Association using Map 2014-07-21T21:47:45.513

49 How do you set attributes on SubValues? 2012-01-23T17:45:14.290

47 ++ is dangerous for C programmers 2016-02-17T20:34:34.953

40 What is the story with Removed symbols? 2012-04-30T14:07:32.597

39 What is the difference between Set and SetDelayed? 2012-07-29T12:53:44.333

37 How to augment the realm of functions Mathematica thinks it knows how to integrate symbolically 2012-05-29T02:24:58.580

29 Assign a randomly generated list to variable 2014-10-12T10:28:48.087

25 How to pass a symbol name to a function with any of the Hold attributes? 2012-03-06T21:39:16.347

25 Why does list assignment with a packed array result in unpacked values? 2013-07-22T14:16:48.150

23 Nested definition: How can I define a function with a passed-in expression? 2012-08-31T09:00:44.903

22 Reassign values to symbols 2012-01-19T14:44:54.347

22 Does Set vs. SetDelayed have any effect after the definition was done? 2012-06-02T18:17:03.480

20 How to implement the Observer design pattern? 2014-05-11T17:23:47.360

19 How to make a function like Set, but with a Block construct for the pattern names 2012-02-19T02:59:30.617

18 How can I randomly generate a unique, unused symbol? 2012-01-18T00:36:14.630

17 Clearing a specific definition 2012-01-18T00:25:10.267

17 Setting parts of a list 2012-03-22T23:38:33.763

16 How to make use of NumericQ[x] = True (and use it safely)? 2012-09-02T17:05:34.133

16 Why is the first argument of the SetDelayed evaluated? 2015-09-26T14:54:50.473

15 Assigning values to a list of variable names 2012-04-03T17:12:05.087

14 Scoping in assigning a derivative 2012-06-11T11:09:53.433

13 Why can AppendTo modify a referenced list in-place but Part cannot? 2015-01-27T19:08:47.143

12 Triggering actions when a variable is set 2013-04-24T19:20:36.937

12 How to ignore list elements when extracting with pattern matching 2013-08-09T10:06:20.387

12 Assign output of solve to variables 2014-09-19T17:20:54.527

12 How to pass variables by reference and by value 2017-09-22T08:04:02.500

11 MapThread gives different results from ToExpression when trying to assign variables from a list 2012-03-14T04:16:10.467

11 Modifying parameters: Set::setps in the part assignment is not a symbol 2014-09-25T09:59:44.313

11 Is there a convention on which name to use for a throwaway variable? (Like underscore in Python) 2017-03-09T10:39:53.093

11 Can't understand one paragraph in Power Programming with Mathematica 2018-03-19T14:17:01.677

10 How to write a function-defining function which stores the function arguments in a stack? 2012-02-23T16:04:57.133

10 Why does ++++x return an increment of 2 when the value of x is only incremented by 1? 2012-02-24T23:38:38.300

10 Unset variable by its name given as a string 2013-05-07T12:23:10.193

10 Generate list of strings from a list of assigned variables 2014-01-18T02:37:28.870

10 How do I randomly divide individuals into groups? 2016-02-24T19:49:13.320

10 Duplicate the swap function 2017-02-07T20:52:11.573

9 Assignment rule to distribute matrix-multiplication over custom notation 2012-04-23T21:23:35.027

9 Clear and Unset doesn't free memory 2013-08-17T17:10:15.663

9 How to name a variable with the value of another variable? 2014-08-01T18:50:23.270

9 DownValue assignment using Apply 2014-10-13T13:06:34.473

9 How is LHS = RHS; ... ; LHS (nontrivially) different from ... ; RHS 2015-04-10T08:51:41.150

9 Passing an unevaluated part of an association to a function 2015-07-16T22:57:43.977

9 Looping through 3 million elements of a list to 'Set' values is slow 2015-09-02T02:19:35.927

9 Part not behaving the way I expect it to 2017-06-15T01:13:21.333

9 Confusion about HoldFirst attribute of Set 2017-06-23T17:05:29.840

9 Why Optional in Set is not held by the HoldFirst attribute? 2020-02-29T13:45:16.417

8 Different behaviours of Default Argument 2013-05-19T02:56:30.813

8 How to replace a variable that was assigned a value before 2013-05-22T10:00:29.333

8 Maximum number of literal values for SetDelayed? 2014-05-22T10:53:56.417

8 How do I SetDelayed $Assumptions 2016-05-12T15:16:31.607

8 Problem with function inside brackets. Bug? 2016-11-10T20:27:40.003

8 Error Message when nothing should be evaluated 2019-09-21T20:53:34.203

7 Delayed evaluation of assignment 2012-04-03T12:14:26.980

7 Is this a good way to assign a Solve result to a function? 2012-08-12T08:39:52.963

7 Implementing key-value associations in Mathematica 9 with inexact numbers for keys 2014-07-03T00:46:32.733

7 Problem with Simplify, Sqrt, and Set: What's going on? 2015-02-27T22:54:17.177

7 Assignments in ParallelDo when using indexed variables 2015-04-19T22:13:24.863

7 What's wrong with the Sum function? 2016-10-12T13:48:12.973

7 Apply ToString to a list of variables 2017-03-12T23:16:20.990

7 How would you explain Nothing[] weirdness? 2020-03-04T13:29:10.300

6 Understanding Function and Variable in Mathematica for beginner 2013-12-21T22:06:40.317

6 Is there any way to assign multiple values? 2014-10-01T18:44:25.483

6 Altering values in Manipulate with dynamically generated controls 2014-10-24T11:16:09.600

6 Force evaluation of the right-hand side of a local variable definition 2015-08-10T21:57:15.387

6 Association matching still not working perfectly? 2016-06-28T20:14:02.057

6 Different Plot's output defining a function 2016-10-09T08:03:13.227

6 unexpected result from augmented assignment to association 2018-11-12T23:43:46.880

6 Assigning a string to variables names 2020-04-09T19:22:18.883

5 Assign variables automatically to a function 2013-05-29T10:33:51.040

5 Edit built in symbol 2014-08-13T15:00:06.627

5 Turning an expression into a function inside another function 2015-08-04T12:25:39.380

5 Using delayed evaluation on module variables called through an association 2016-06-08T21:12:45.353

5 clear variables on parallel kernel 2016-11-05T14:08:10.323

5 Vectorized AssociateTo 2017-04-01T21:05:12.273

5 Set on symbol with OwnValues skips UpValues 2017-09-11T07:06:01.493

5 How to set parts of Associations "named with" SubValues 2018-02-13T18:28:06.790

5 Setting options of object after defining it 2020-01-06T01:17:28.563

4 How to store value in a For loop 2012-08-15T11:36:50.490

4 why set values in this way doesn't work? 2013-05-02T08:42:09.653

4 Choosing an initializer list in With 2013-07-01T16:31:18.390

4 Integral of Lorentzian yields different results depending on when parameter assigments are made 2013-11-15T07:30:45.877

4 Unset while running recursion 2014-02-08T15:42:14.010

4 How to get Symbol["x"]=3 to work 2014-08-28T16:39:37.247

4 Why is it not allowed to define vectors of variables in a scoping construct? 2014-09-15T18:23:17.203

4 Using Block with a list of variables 2015-02-19T16:49:39.263

4 Initializing several values of a function 2015-06-30T05:46:41.760

4 Append fixed value to random selection of list 2016-01-07T03:57:10.027

4 Assigning values to association in DownValues 2017-02-07T03:35:26.740

4 Define function of a list from a function of its elements (Set) 2017-03-01T17:00:49.483

4 Combining SetDelayed, Set and Options 2017-04-24T18:44:46.513

4 Assignment via iteration over list of variables to be assigned values 2017-05-10T09:58:16.843

4 Wrongly assigning a value to an expression 2017-06-07T10:41:19.103

4 Multiple variable assignment from a list 2017-11-10T14:52:00.867

4 Transferring DownValues 2018-10-16T20:57:01.790

4 Scoping of pattern variables 2018-12-12T21:04:04.350

4 Is it possible to create lookups on temporary symbols that still allow the symbols to be automatically removed? 2019-05-20T13:43:40.787

4 Using module to define a function that calls another function: Should i use set-delayed (:=) or set (=) 2020-02-24T17:39:15.943