Anonymous-recursion is recursion which does not explicitly call a function by name. This is usually done by calling the current function from within itself or by passing the current function as a callback to an other (named) function. Use this tag for questions directly related to this type of recursion only.
Questions tagged [anonymous-recursion]
17 questions
0
votes
1 answer
How to create a big array of Func's representing a Vandermonde system in C#?
I am trying to create a big Vandermonde array of Func's. I can create a 4x3 system like this:
Func[] vandermondeSystem =
{
x => x[0]*Math.Pow(1, 0) + x[1]*Math.Pow(1, 1) + x[2]*Math.Pow(1, 2),
x => x[0]*Math.Pow(2, 0) +…
![](../../users/profiles/1079908.webp)
ferit
- 4,937
- 3
- 27
- 49
0
votes
2 answers
Recursion function failed in CodeIgniter
I am using a recursion function to convert my menus in a tree. The array I got from the database is:
array (
[0] => stdClass Object (
[nav_group_id] => 1
[entity_id] => 1
[parent] => 0
[name] => Meter Reading
[link] => #…
user1431803