About 383,000 results
Open links in new tab
  1. math - Representing code algebraically - Stack Overflow

    Jan 29, 2010 · A symbol for general loops does not exist; usually you will use the summation operator. "if" is represented using implications, and to "add a tuple to a list" you would use union.

  2. math - Writing a loop as an mathematical Equation - Stack Overflow

    Jan 15, 2018 · For Documentation purposes I need to write a simple loop as a mathematical equation. But there is one thing I can't wrap my head around. Sadly I can't write it as a simple …

    Missing:

    • Code Loops

    Must include:

  3. How to write for / while loop in mathematical notation

    Aug 3, 2018 · To talk about the effects of code purely mathematically, you effectively need to find a way to express it without directly talking about 'time'. The easiest way to do this is to use a …

  4. math - How do you represent code as a mathematical algorithm …

    Mar 5, 2018 · The triple loop you wrote directly comes from the definition of matrix multiplication in linear algebra, which itself is the result of composition of linear applications.

  5. Experience-Monks/math-as-code - GitHub

    In code, we typically just assign the variable a more descriptive name, like transformedPosition. For a mathematical function, the prime symbol often describes the derivative of that function.

  6. Math to Code - camtsmith.com

    Dec 27, 2017 · When I’m trying to decipher some hairy math formula, I find it helpful to translate the equation into code. In my experience, it’s often easier to follow the logical flow of a …

  7. Correct Notation for Loop - Mathematics Stack Exchange

    Apr 14, 2013 · What is the proper mathematical notation for a loop structure such as the following? I am a programmer, but prefer to work on paper and so I am slowly teaching myself …

  8. How did you get used to converting math formulas/pseudocode into loops ...

    Jul 3, 2021 · Most math formulas can be translated almost 1:1 aside from any syntax differences. I'm studying a bachelor of maths but I'm interested in developing the skills to convert formulas …

  9. Sigmas and for loops | Thomas Ward's website

    Feb 3, 2021 · Sums and products of sequences, represented with "∑" and "∏", respectively, can be thought of as for loops, and vice versa. For those of us who program more than we …

  10. While Loops — Python Numerical Methods

    A while loop or indefinite loop is a set of instructions that is repeated as long as the associated logical expression is true. The following is the abstract syntax of a while loop block. …

  11. Some results have been removed
Refresh