Tag: variable-definitions

234 What are the use cases for different scoping constructs? 2012-01-23T21:54:58.367

99 How do I clear all user defined symbols? 2012-01-28T11:40:21.090

54 Is there an equivalent of MATLAB's Workspace window in Mathematica? 2012-11-28T22:28:33.520

41 Why modules with no variables? 2012-07-12T11:12:56.007

40 Clear complains that a subscripted variable is not a symbol or a string? 2012-01-20T16:01:02.367

40 How to tell Mathematica that certain variables are real/imaginary, integer-valued, etc 2014-11-21T22:50:06.807

38 How to differentiate formally? 2012-12-15T15:17:57.667

34 Best practice of passing a large number of parameters to functions 2014-07-25T10:23:28.763

31 How to make Mathematica variables declarative instead of just-in-time? 2017-02-02T18:51:35.987

26 Module with "local functions" 2013-02-27T16:49:59.707

24 Create an adaptive amount of local variables for error propagation 2012-12-21T21:20:04.900

24 Why x = x doesn't cause an infinite loop, but f[x_] := f[x] does? 2014-01-07T13:38:23.027

23 Making a symbol's new definitions be tried before all previously defined ones 2012-03-10T22:16:51.110

23 Elegant manipulation of the variables list 2012-09-07T08:14:08.740

23 The dangers of SaveDefinitions --- should this really happen? 2013-09-09T19:38:08.287

23 How can one manually change the rule ordering 2016-02-10T11:21:22.407

22 What is $ sign in Mathematica? 2013-05-14T12:56:36.017

21 How to define a global variable when giving each notebook its own Context? 2012-05-24T13:33:10.437

21 How to clear all variables except one? 2012-09-22T17:43:24.030

20 Variable scope similar to other languages 2013-09-05T04:47:59.303

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

19 How to Set parts of indexed lists? 2012-06-22T09:27:50.550

18 Define a mathematical set 2012-05-08T11:57:57.087

18 Is it possible to Clear all variables (but not functions)? 2012-09-26T21:50:32.787

18 Different strategies to get a clean Kernel. Quit, Exit, ClearAll, Remove, CleanSlate? 2018-06-20T08:36:48.637

17 Preventing Superscript from being interpreted as Power when using Ctrl+^ shortcut? 2013-10-08T17:22:34.447

17 When to name a variable with $ 2018-07-02T00:51:27.860

16 Why can't I define vector v as having subscripted elements v_1, v_2, v_3...? 2012-03-15T11:03:19.897

16 Table of Variables 2013-11-12T14:52:14.503

16 Another difference between Set and SetDelayed. Evaluation shortcut? 2014-01-10T16:19:39.053

16 Orderless pattern matching 2015-01-10T15:27:49.430

15 Subscripts - Why do I see the error "only assignments to symbols are allowed" when using a Module and not otherwise? 2012-01-28T15:36:17.033

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

15 Is it possible to define custom compound assignment operators like ⊕= similar to built-ins +=, *= etc? 2013-06-16T04:51:46.070

14 Using a built-in symbol as a variable 2012-06-22T10:32:24.893

14 Refering to global variables inside modules 2013-12-21T16:36:16.410

14 Character to replace _ in symbol names? 2016-03-29T12:39:25.673

14 When is a symbol a Symbol? Is there an easy Mathematica way to test if an object is a symbol sort of like a SymbolQ? 2020-07-12T20:21:26.220

13 Is garbage collection broken in version 10.0.0? 2014-08-28T15:58:05.657

13 Context of localised (dynamic) symbols 2015-02-18T15:36:25.227

13 Working with DynamicModule: SetDelayed + OwnValues 2016-07-27T08:17:31.570

12 Variable variable names 2012-08-31T23:43:23.920

12 Specifying optional arguments with variables 2013-07-22T20:40:28.063

12 How to take derivative of parameterized coordinate? 2014-02-07T20:23:57.967

12 Find all heads a function is defined on 2014-09-17T17:56:33.867

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

12 Do Table iteration variables need to be localized using Module? 2015-09-06T02:24:37.613

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

12 How can I make assignments persist across sessions? 2019-03-15T06:58:31.870

11 How can I hold UpValues but evaluate other expressions? 2012-07-21T09:17:06.513

11 How to use pattern matching to assign values to Subscript[f,x_]? 2012-08-16T19:52:00.020

11 Obtaining the name of a variable as a string 2013-09-13T01:58:24.013

11 Copy Built-in function to new name 2015-02-07T08:34:46.260

10 Problem when defining variable in Mathematica 2012-02-28T13:22:07.743

10 Setting a variable equal to the output of FindRoot 2012-07-13T20:05:52.203

10 Better solution than returning a list of 3 values? 2012-10-26T22:57:24.277

10 Proper use of arbitrary number of variables 2013-02-25T10:50:56.623

10 Is it possible to use the global definition of a symbol as part of its new local definition set in a Block? 2013-06-17T23:41:43.620

10 Defining my own invisible operator 2014-02-13T10:38:00.840

10 Using up-values and down-values 2015-02-01T15:48:24.510

10 Attempts at backwards compatibility 2018-07-06T00:14:32.160

10 How to clear all definitions matching f[1, ...] but not f[2, ...]? 2020-05-16T18:41:16.247

9 How to use local variables with indices in a Mathematica Block environment? 2012-04-05T15:09:27.503

9 Why doesn't DumpSave work for elements created within a local notebook context? 2013-04-09T03:07:37.067

9 Forcing Mathematica to recognize a symbol without defining it 2014-01-06T23:55:04.897

9 How to define a matrix with all elements 0? 2014-05-11T09:57:14.907

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

9 Why does the global variable exist here, where it was declared only in Module? 2016-05-28T05:47:46.560

9 How do I insert OwnValues inside a held expression without evaluating it? 2016-06-09T12:02:12.540

9 Finding a variable name given its numerical value 2018-02-16T22:51:05.180

8 Representing a value in an output as a self defined variable 2012-05-11T23:38:19.350

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

8 Distribute and analyze large datasets 2013-05-24T10:49:20.630

8 Protecting function definitions only for particular inputs 2013-09-10T21:20:19.510

8 How to Clear variables represented as a list of strings? 2013-11-25T10:21:55.993

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

8 Difference between variables and functions 2016-09-27T16:05:32.457

8 Fitting multiple data with model and NDSolve with different initial conditions, and other shared parameters 2019-05-24T10:05:34.487

8 Local variables in sums and tables - best practices? 2020-05-04T08:00:32.170

7 Context "Unique to This Notebook" makes variables black even if they're not defined? 2012-10-26T19:47:12.070

7 How to Clear variables with apostrophe? 2012-12-03T13:55:30.537

7 Using external variable as a variable inside WhenEvent & NDSolve 2012-12-13T02:06:27.293

7 How to linearize an expression automatically? 2013-06-03T13:48:55.067

7 Injecting list of controls into manipulate 2014-11-23T23:52:34.497

7 Why my cloud application failed to display manipulate element correctly? 2016-01-24T08:49:06.340

7 Cannot get determinant of matrix 2017-06-13T09:09:58.983

7 Create local alias for variable 2018-05-09T00:42:25.253

7 Is there something wrong with DistributeDefinitions? 2020-06-29T18:49:34.997

6 How to choose variables from a list for a function and then use the solution in a subsequent function? 2012-06-05T20:31:15.100

6 What's reliable way of finding declared but undefined functions/symbols in several interrelated packages? 2012-10-26T15:21:50.430

6 Can I redefine a list as a set of variables? 2012-12-21T19:56:29.963

6 How to create a Table of Tables with indexed variables 2012-12-25T00:11:55.993

6 Global variable initialization in packages 2013-01-18T10:45:54.160

6 Put local variables for Block in a variable 2013-04-25T19:59:17.237

6 What does it mean when a function is defined with two pairs of brackets 2013-12-31T03:19:34.317

6 How can I define a ⊕ operator? 2014-01-08T03:45:35.137

6 When to use indexed variables 2014-05-26T19:07:08.887

6 Naming conflicts with Dummy variables in several packages conflicts 2015-05-28T10:39:32.180

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