Skip to main content
5 events
when toggle format what by license comment
Dec 2, 2023 at 0:08 comment added Cameron Hudson While OP's function might be deterministic, "deterministic" is not the name for a function that produces no further changes after its first invocation. For example, print("hello world") is deterministic but not idempotent.
Mar 5, 2019 at 5:59 comment added mckenzm That the same result is produced by repetition is not the same as saying the same result is produced by nesting or chaining. Deterministic functions are important for caching results, more so than for indexing/hashing.
Mar 4, 2019 at 22:17 comment added Draco18s no longer trusts SE The asker's func2 is deterministic (there are no random effects involved), but already declared as violating the property he is looking for.
Mar 4, 2019 at 21:17 history edited Stephen Quan CC BY-SA 4.0
added 902 characters in body; added 4 characters in body; deleted 158 characters in body
Mar 4, 2019 at 21:12 history answered Stephen Quan CC BY-SA 4.0