Talk:Algorithms for calculating variance: Difference between revisions

Content deleted Content added
Line 530:
There are algorithms in the article which appear to be in some computer language or logical/mathematical notation. What is the language? Its syntax differs from programming languages I studied back in the day. It is not self-evident and self-explanatory. A link to some article dealing with the conventions and assumptions of the language would be helpful. None of the examples in [[Algorithm]] or in [[Algorithm examples]] are quite like the ones here, whose syntax appears to require they start with "DEF" and end with "RETURN." These algorithms have "do loops" which do not include an index telling it how many times to execute the statement in the loop (such as "for i = 1 to n", or a test at the end of each loop execution to determine if all the data items have been processed. [[User:Edison|Edison]] ([[User talk:Edison|talk]]) 18:01, 26 May 2014 (UTC)
: Looks like [[Python_(programming_language)]] to me -- [[User:RoySmith|RoySmith]] [[User Talk:RoySmith|(talk)]] 00:56, 30 May 2014 (UTC)
:: Python - style [[pseudocode]]. The details you mention are omitted here to highlight the main points, and are omitted in practice in many programming languages. --[[User:Hro%C3%B0ulf|Hroðulf]] (or Hrothulf) ([[User talk:Hro%C3%B0ulf|Talk]]) 13:32, 23 July 2014 (UTC)
 
==Why "naive?"==