this post was submitted on 16 Jul 2023
1660 points (96.5% liked)

Memes

44924 readers
2933 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 34 points 1 year ago (4 children)

Which makes the integral sign ∫ a non-discrete for-loop

[–] [email protected] 7 points 1 year ago (2 children)

That does not help. What does non-discrete mean?

[–] [email protected] 6 points 1 year ago* (last edited 1 year ago)

Short answer: Imagine that the integer used in the for loop is a float instead.

Longer, a bit more precise answer: An integer can only have discrete values (i.e. -1, 0, 1, 2, ..., 69, ... etc.)

A real number (~float with infinite precision) can have an infinite amount of values between two discrete values.

An integral is, to put it simpy, a sum of all the results of taking those infinite values between two discrete values (an interval) and feeding them to the given function.

It's a for loop over an infinite set of real numbers rather than over a finite set of integers => a non-discrete for loop

load more comments (1 replies)
load more comments (2 replies)