# Questions tagged [functional]

Questions related to functional methods, e.g. functional differentiation and integration.

22 questions
Filter by
Sorted by
Tagged with
1answer
50 views

### Could not able to set up a differential equations using EulerEquations command

I have a constructed the Lagrangian of a mechanical system by finding the kinetic and potential energy of the system. Then I tried using EulerEquations to set up a differential equation by taking the ...
1answer
50 views

### How do I compute the infinity-norm of a function? [closed]

I have a technical question on Mathematica 11. I have to compute the $\infty$ norm of q function, $f(x,y)$, on a rectangular domain $[a, b] \times [c,d]$. How can I do this with Mathematica?
1answer
267 views

### Symbolic Legendre transform

Is it possible to compute symbolically the Legendre transform of a function in Mathematica? I find no LegendreTransform function.
1answer
251 views

### Non-trivial functional derivatives

Looking for ways to calculate functional derivatives in Mathematica, I found this question. The answer by Jens points to a documented application of DiracDelta ...
2answers
92 views

### Define a functional and nest it with its arguments

I'm looking for a definition of a functional f which works correctly with varying arguments t while it will be nested. For ...
1answer
92 views

### How to call a function with an arbitrary list as its arguments inside a functional? [duplicate]

I have the following functional defined (i.e. a function of another function) where variableList contains the variable (arguments if you wish) of the ...
2answers
96 views

### Select Only Positive Values and Prepend a Title

I have the following list: ...
1answer
110 views

### Using functionals in Mathematica [duplicate]

I recently installed Mathematica and I wanted to define a functional in it. This is what I did: ...
1answer
734 views

### Using NDSolve initial conditions as parameters for a function and then a replacement rule

I am trying to make a function based on two initial conditions of a set of differential equations: ...
1answer
144 views

### Transpose four lists of data into two lists for use in List Plot [closed]

I have four lists of data x1 = {1,3,5,7} y1 = {0,2,4,6} x2 = {10,12,14,16} y2 = {8,10,12,14} In one line is it possible to use transpose to get two lists which ...
0answers
108 views

### How to implement time dependence in the DoFun package?

DoFun is a very usefull mathematica package that helps to write Dyson-Schwinger and FRG flow equations when these are to complex to write down by hand. You can download it here and read it's manual ...
1answer
72 views

### Folding 3-variate function with 2 iterator

I have a function say $f$ and some initial point $x$ and pairs of iterators $\{\{a_1,b_1\},\{a_2,b_2\},...\}$ I want to foldlist as follows: $\{x,f[x,a_1,b_1],f[f[x,a_1,b_1],a_2,b_2],...\}$ can ...
1answer
105 views

1answer
674 views

### Functional programming Style & Performance

Hello i have been spending time to convert my R tools into Mathematica Packages mainly because i like the functional programming style in Mathematica. In doing so it seems that i run into one ...
2answers
449 views

### Writing Fold in terms of Map or MapThread?

Consider Fold[f,z,{a,b,c}] ==> f[f[f[z,a],b,c]] I'm looking for a way to write this (in general) using Map or ...
6answers
3k views

### Looking for a way to insert multiple elements into multiple positions simultaneously in a list

I would like to take the following data: insertValues = {r, x}; insertPositions = {{1}, {5}}; originalList = {a, b, c, d, e, f, g}; and generate output that ...