enow.com Web Search

Search results

  1. Results from the WOW.Com Content Network
  2. Fold (higher-order function) - Wikipedia

    en.wikipedia.org/wiki/Fold_(higher-order_function)

    Folds can be regarded as consistently replacing the structural components of a data structure with functions and values. Lists, for example, are built up in many functional languages from two primitives: any list is either an empty list, commonly called nil ([]), or is constructed by prefixing an element in front of another list, creating what is called a cons node ( Cons(X1,Cons(X2,Cons ...

  3. Map (higher-order function) - Wikipedia

    en.wikipedia.org/wiki/Map_(higher-order_function)

    Map functions can be and often are defined in terms of a fold such as foldr, which means one can do a map-fold fusion: foldr f z . map g is equivalent to foldr (f . g) z. The implementation of map above on singly linked lists is not tail-recursive, so it may build up a lot of frames on the stack when called with a large list. Many languages ...

  4. Map folding - Wikipedia

    en.wikipedia.org/wiki/Map_folding

    The map folding and stamp folding problems are related to a problem in the mathematics of origami of whether a square with a crease pattern can be folded to a flat figure. If a folding direction (either a mountain fold or a valley fold ) is assigned to each crease of a strip of stamps, it is possible to test whether the result can be folded ...

  5. Logistic map - Wikipedia

    en.wikipedia.org/wiki/Logistic_map

    A common source of such sensitivity to initial conditions is that the map represents a repeated folding and stretching of the space on which it is defined. In the case of the logistic map, the quadratic difference equation describing it may be thought of as a stretching-and-folding operation on the interval (0,1) .

  6. Code folding - Wikipedia

    en.wikipedia.org/wiki/Code_folding

    Code folding example on PHP code with Vim. Code or text folding, or less commonly holophrasting, [1] is a feature of some graphical user interfaces that allows the user to selectively hide ("fold") or display ("unfold") parts of a document. This allows the user to manage large amounts of text while viewing only those subsections that are ...

  7. Functional programming - Wikipedia

    en.wikipedia.org/wiki/Functional_programming

    The Scheme language standard requires implementations to support proper tail recursion, meaning they must allow an unbounded number of active tail calls. [60] [61] Proper tail recursion is not simply an optimization; it is a language feature that assures users that they can use recursion to express a loop and doing so would be safe-for-space. [62]

  8. Self-organizing map - Wikipedia

    en.wikipedia.org/wiki/Self-organizing_map

    Each node in the map space is associated with a "weight" vector, which is the position of the node in the input space. While nodes in the map space stay fixed, training consists in moving weight vectors toward the input data (reducing a distance metric such as Euclidean distance) without spoiling the topology induced from the map space. After ...

  9. Mathematics of paper folding - Wikipedia

    en.wikipedia.org/wiki/Mathematics_of_paper_folding

    For example, the Miura map fold is a rigid fold that has been used to deploy large solar panel arrays for space satellites. The napkin folding problem is the problem of whether a square or rectangle of paper can be folded so the perimeter of the flat figure is greater than that of the original square.