Questions tagged [nested-function]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
73 views

Map list of strings to appropriately nested functions

I have a list of strings consisting of sequences of "+" or "-"'s. For example, let's take the list ...
AG1123's user avatar
  • 561
7 votes
6 answers
484 views

Apply function to all first arguments of a nested list of rules

Currently, I have a nested list of rules of the form lst1={1->a,2->{3->c,4->d,5->{6->f,7->{8->h,...}}}} (where I don't know the length of ...
cstover's user avatar
  • 323
0 votes
0 answers
34 views

Integration and extraction of nested lists

I'm not explaining it well and I think it's a long explanation leading up to the key question, sorry. There is order[x] consisting of randomly selected number {a,b} elements. ...
hare's user avatar
  • 294
2 votes
2 answers
128 views

Nested radical implementation

I am attempting to code $$F(x,n)=\sqrt{x+\sqrt{x+2\sqrt{x+\cdots +n\sqrt{x}}}}.$$ For example, $$F(x,1)=\sqrt{x+\sqrt x},$$ $$F(x,2)=\sqrt{x+\sqrt{x+2\sqrt x}},$$ and so on. I found the ...
Aaron Hendrickson's user avatar
0 votes
1 answer
53 views

Delayed evaluation of nested functions

i am new to Mathematica. Here is the situation: I have a exponential function of n,t that I want to calculate integral over t ...
Amin Gholizad's user avatar
3 votes
2 answers
133 views

Updating multiple columns based on a nested value in an association, create a nested function?

I have a dataset that looks like this and I sorted them by ts since that corresponds to the values of when the data was taken. After reading the primer on associations and keys, and this question, I ...
atomic-muclei's user avatar
4 votes
2 answers
251 views

Enumeration of a nested list

My problem is consisting of following: I have a nested list of following form: {{B, v ** v, b ** B}, {b, B ** b}, {b ** B, v ** v}, {}} And I want to enumerate ...
George's user avatar
  • 69
2 votes
0 answers
34 views

Use FoldList to successively ImageAdd regular polygons with between 3 and 8 sides, and with opacity 0.2 [closed]

This question is from Section 29 of "An Elementary Introduction to the Wolfram Language". The objective is to successively add regular polygons with between 3 and 8 sides, and with opacity 0....
QC123_367's user avatar
  • 481
0 votes
0 answers
40 views

Nested NIntegrate with Matrix Exponential

I wish to perform a numerical integration which involves a matrix exponential. Here's the following code ...
kowalski's user avatar
  • 375
1 vote
1 answer
110 views

Numerical solution of simple nested integral equations

I want to solve the following two equations: $$q(h,T)=\int_{-\infty}^{\infty} \frac{1}{2\pi}e^{-\frac{z^2}{2}}\,\mbox{tanh}^2\left(\frac{z\sqrt{q(h,T)}+h}{T}\right) dz$$ and $$T^2=\int_{-\infty}^{\...
saverio palazzi's user avatar
-1 votes
1 answer
100 views

Wolfram Alpha simplifying $\sqrt{1+x^\sqrt{1+x^\sqrt{1+...}}}$ incorrectly [closed]

I am pretty new to Wolfram Alpha. I want Wolfram Alpha to find the derivative of $\sqrt{1+x^\sqrt{1+x^\sqrt{1+...}}}$. At the moment, I am having trouble with Wolfram Alpha simplifying it incorrectly. ...
Dylan Levine's user avatar
1 vote
1 answer
54 views

Nested sequence evaluation seems to fail [closed]

I tried do define two OIES Sequences like that: ...
Raphael J.F. Berger's user avatar
1 vote
0 answers
65 views

How to use FunctionCompile and Compile as external definition?

Let's consider the following functions (in $Version: 12.3.0 for Linux x86 (64-bit) (May 10, 2021)) ...
csk 7's user avatar
  • 403