<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Functional on The Final Artefact</title><link>https://www.thefinalartefact.xyz/tags/functional/</link><description>Recent content in Functional on The Final Artefact</description><generator>Hugo</generator><language>en-gb</language><lastBuildDate>Thu, 09 Dec 2021 00:00:00 +0000</lastBuildDate><atom:link href="https://www.thefinalartefact.xyz/tags/functional/index.xml" rel="self" type="application/rss+xml"/><item><title>Beauty of R and Big-O</title><link>https://www.thefinalartefact.xyz/post/beauty-of-r-and-big-o/</link><pubDate>Thu, 09 Dec 2021 00:00:00 +0000</pubDate><guid>https://www.thefinalartefact.xyz/post/beauty-of-r-and-big-o/</guid><description>&lt;script src="index_files/kePrint/kePrint.js"&gt;&lt;/script&gt;
&lt;link href="index_files/lightable/lightable.css" rel="stylesheet" /&gt;
&lt;h2 id="big-o"&gt;Big-O&lt;/h2&gt;
&lt;p&gt;The purpose of this is not to provide yet another primer on the Big-O/$\Omega$/$\Theta$ notation but to share my enduring appreciation for working with R. I will introduce Big-O only briefly to provide context but I would refer all of those who are interested to the linked materials.&lt;/p&gt;
&lt;h2 id="what-is-big-sth-notation"&gt;What is Big-sth notation&lt;/h2&gt;
&lt;p&gt;When analysing functions, we may be interested in knowing how fast a function grows. For instance, for function &lt;code&gt;\(T(n)=4n^2-2n+2\)&lt;/code&gt;, after ignoring constants, we would say that &lt;code&gt;\(T(n)\)&lt;/code&gt; grows at the order of &lt;code&gt;\(n^2\)&lt;/code&gt;. With respect to the &lt;em&gt;Big-O&lt;/em&gt; notation we would write &lt;code&gt;\(T(n)=O(n^2)\)&lt;/code&gt;^[MIT. (2021, December 9). Big O notation. Introduction to Computers and Programming. Retrieved December 26, 2021, from &lt;a href="https://web.mit.edu/16.070/www/lecture/big_o.pdf"&gt;https://web.mit.edu/16.070/www/lecture/big_o.pdf&lt;/a&gt;]. Most commonly, in computer science, we would differentiate between Big O, Big Theta &lt;code&gt;\((\Theta)\)&lt;/code&gt; and Big Omega &lt;code&gt;\((\Omega)\)&lt;/code&gt;. In a nutshell, the differences between those common notations can be summarised as follows:&lt;/p&gt;</description></item></channel></rss>