enow.com Web Search

Search results

  1. Results from the WOW.Com Content Network
  2. 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 ...

  3. Fold (higher-order function) - Wikipedia

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

    R supports right folding and left or right folding with or without an initial value through the right and init arguments to the Reduce function. Racket (foldl func initval list) (foldr func initval list) Ruby: enum.inject(initval, &block) enum.reduce(initval, &block) enum.reverse_each.inject(initval, &block) enum.reverse_each.reduce(initval ...

  4. Map folding - Wikipedia

    en.wikipedia.org/wiki/Map_folding

    In the stamp folding problem, the paper is a strip of stamps with creases between them, and the folds must lie on the creases. In the map folding problem, the paper is a map, divided by creases into rectangles, and the folds must again lie only along these creases. Lucas (1891) credits the invention of the stamp folding problem to Émile ...

  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. 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 ...

  7. Mathematics of paper folding - Wikipedia

    en.wikipedia.org/wiki/Mathematics_of_paper_folding

    The fold-and-cut problem asks what shapes can be obtained by folding a piece of paper flat, and making a single straight complete cut. The solution, known as the fold-and-cut theorem, states that any shape with straight sides can be obtained. A practical problem is how to fold a map so that it may be manipulated with minimal effort or movements.

  8. Code folding - Wikipedia

    en.wikipedia.org/wiki/Code_folding

    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 currently of interest.

  9. Constant folding - Wikipedia

    en.wikipedia.org/wiki/Constant_folding

    Constant folding is the process of recognizing and evaluating constant expressions at compile time rather than computing them at runtime. Terms in constant expressions are typically simple literals, such as the integer literal 2, but they may also be variables whose values are known at compile time.