- Pidgin code
In
computer programming , pidgin code is a mixture of severalprogramming language s in the same program, orpseudocode that is a mixture of a programming language withnatural language descriptions. Hence the name: the mixture is a programming language analogy to apidgin innatural language s.In
numerical computation , mathematical stylepseudocode is sometimes called pidgin code, for example "pidginALGOL " (the origin of the concept), "pidginFortran ", "pidginBASIC ", "pidgin Pascal", and "pidgin C". It is a compact and often informal notation that blendssyntax taken from a conventionalprogramming language with mathematicalnotation , typically usingset theory and matrix operations, and perhaps alsonatural language descriptions.It can be understood by a wide range of mathematically trained people, and is used as a way to describe
algorithm s where thecontrol structure is made explicit at a rather high level of detail, while some data structures are still left at an abstract level, independent of any specific programming language.Normally non-ascii
typesetting is used for the mathematical equations, for example by means ofTeX orMathML markup, or proprietaryFormula editor formats.These are examples of articles that contain mathematical style pseudo code:
*Algorithm
*Conjugate gradient method
*Ford-Fulkerson algorithm
*Gauss–Seidel method
*Generalized minimal residual method
*Hopcroft-Karp algorithm
*Jacobi eigenvalue algorithm
*Jacobi method
*Karmarkar's algorithm
*Particle swarm optimization
*Stone method
*Successive over-relaxation
*Symbolic Cholesky decomposition
*Tridiagonal matrix algorithm ee also
*
Pseudocode
* - Wikipedia guidelines for mathematical style pseudo code.
Wikimedia Foundation. 2010.