<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Thoughts</title>
	<atom:link href="http://aravinthan.in/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://aravinthan.in/blog</link>
	<description>When neurons respond to a stimuli</description>
	<lastBuildDate>Wed, 01 Jul 2009 06:27:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Marriage</title>
		<link>http://aravinthan.in/blog/2009/05/25/marriage/</link>
		<comments>http://aravinthan.in/blog/2009/05/25/marriage/#comments</comments>
		<pubDate>Mon, 25 May 2009 10:20:54 +0000</pubDate>
		<dc:creator>aravinthan</dc:creator>
				<category><![CDATA[Marriage]]></category>
		<category><![CDATA[Relationship]]></category>
		<category><![CDATA[Successful Marriage Series]]></category>
		<category><![CDATA[bride]]></category>
		<category><![CDATA[groom]]></category>
		<category><![CDATA[How to Solver Troubled Relationship]]></category>
		<category><![CDATA[India]]></category>
		<category><![CDATA[indian marriages]]></category>
		<category><![CDATA[Newly web]]></category>

		<guid isPermaLink="false">http://aravinthan.in/blog/?p=110</guid>
		<description><![CDATA[Technorati Tags: Wedding,Marriage,RelationShip,Thoughts,India,Brides,Grooms,Successful Marriage Series,Planning phase Introduction: This is the series of post that i am planning to write on the basics of successful Indian marriages. This series would also highlight the basic misconceptions in Indian mindset which needs to deal with the emerging reality that a bride /groom needs to face in their marriage [...]]]></description>
			<content:encoded><![CDATA[</p>
<div class="wlWriterEditableSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:99a9fb6a-8600-413b-a949-5d139889e8ea" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px">Technorati Tags: <a href="http://technorati.com/tags/Wedding" rel="tag">Wedding</a>,<a href="http://technorati.com/tags/Marriage" rel="tag">Marriage</a>,<a href="http://technorati.com/tags/RelationShip" rel="tag">RelationShip</a>,<a href="http://technorati.com/tags/Thoughts" rel="tag">Thoughts</a>,<a href="http://technorati.com/tags/India" rel="tag">India</a>,<a href="http://technorati.com/tags/Brides" rel="tag">Brides</a>,<a href="http://technorati.com/tags/Grooms" rel="tag">Grooms</a>,<a href="http://technorati.com/tags/Successful+Marriage+Series" rel="tag">Successful Marriage Series</a>,<a href="http://technorati.com/tags/Planning+phase" rel="tag">Planning phase</a></div>
</p>
<p><strong>Introduction:</strong></p>
<p>This is the series of post that i am planning to write on the basics of successful Indian marriages. This series would also highlight the basic misconceptions in Indian mindset which needs to deal with the emerging reality that a bride /groom needs to face in their marriage life. The series would emphasis on and would get you a real perspective and the basic understanding of how a family would work in India.</p>
<p>Believe me as a groom I had a different perspective of what a marriage is and once i made some small but determined changes, my issues just got submerged into a blissful marriage life.</p>
<p><strong>Objective:</strong></p>
<p>The sole aim of the series of posts is to help a couple lead a peaceful and blissful life. </p>
<p>Though the series of posts are targeted to a newly wed or person intending to get wedded soon, this would also help already married couples with certain revelations that might transform their existing relationship;</p>
<p><strong>Indian Marriages:</strong></p>
<p>Indian Marriages are generally perceived to be not just a marriage of Individuals but of two families and their traditions. But in 20th century, reality is its about the two persons involved in the marriage unless you have a joint family.</p>
<p><strong>Choosing your partner:</strong></p>
<p>I am planning to list some of the basic guidelines which if followed in an arranged marriage would make married life much easier <img src='http://aravinthan.in/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<ul>
<li>Choose your partner with common values and family system. Eg: Eating habits; Educational backgrounds, etc.</li>
<li>Partners should have completely different hobbies or passions. This provides a lot of excitement in your life and variety to learn from each other and discuss.</li>
<li>Basic traits of your partner should mirror you. Eg:&#160; if you are a straight forward person who doesn’t like politics your partner should have similar traits to that. (This you can find out during your first meeting before your engagement, and plan your questions targeting your behavior you would want to find with your partner..).</li>
<li>Share your expectations of your marriage life and seek to get your partner’s approval.</li>
</ul>
<p>&#160;</p>
<p>My next post would deal with specific Todos and Donts before and after marriage;</p>
]]></content:encoded>
			<wfw:commentRss>http://aravinthan.in/blog/2009/05/25/marriage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VIT Engineering Entrance Examination-2009 Results</title>
		<link>http://aravinthan.in/blog/2009/05/03/vit-engineering-entrance-examination-2009-results/</link>
		<comments>http://aravinthan.in/blog/2009/05/03/vit-engineering-entrance-examination-2009-results/#comments</comments>
		<pubDate>Sun, 03 May 2009 04:27:40 +0000</pubDate>
		<dc:creator>aravinthan</dc:creator>
				<category><![CDATA[Exam Results]]></category>

		<guid isPermaLink="false">http://aravinthan.in/blog/?p=108</guid>
		<description><![CDATA[Vellore Institute of Technology Engineering Entrance Examination 2009 (VITEEE-2009) Results declared today (02.05.2009). Link 1 : VITEEE-2009 Results Link 2 : VITEEE-2009 Results For more Information your can contact : VIT (Vellore Institute of Technology) University Vellore0632014, Tamil Nadu, India Email : admission@vit.ac.in Website : http://www.vit.ac.in/ Tel : 91-416-2243091/93]]></description>
			<content:encoded><![CDATA[<div><span>Vellore <span class="IL_SPAN">Institute of Technology</span> Engineering Entrance Examination 2009 (</span><a href="http://aravinthan.in/">VITEEE-2009</a>) Results declared today (02.05.2009).</div>
<div>Link 1 : <a href="http://www.vit.ac.in/results/viteee09/index.asp" target="_blank">VITEEE-2009 Results</a></div>
<div>Link 2 : <a href="http://www.indiaresults.com/TamilNadu/VITEEE-2009/default.htm" target="_blank">VITEEE-2009 Results</a></div>
<div><em>For more Information your can contact :</em><br />
<strong>VIT (<a href="http://aravinthan.in/">Vellore Institute of Technology</a>) University</strong><br />
Vellore0632014, Tamil Nadu, India<br />
Email : admission@vit.ac.in<br />
Website : <a href="http://www.vit.ac.in/" target="_blank">http://www.vit.ac.in/</a><br />
Tel : 91-416-2243091/93</div>
]]></content:encoded>
			<wfw:commentRss>http://aravinthan.in/blog/2009/05/03/vit-engineering-entrance-examination-2009-results/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Claiming my blog in technorati</title>
		<link>http://aravinthan.in/blog/2009/04/24/claiming-my-blog-in-technorati/</link>
		<comments>http://aravinthan.in/blog/2009/04/24/claiming-my-blog-in-technorati/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 18:47:47 +0000</pubDate>
		<dc:creator>aravinthan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://aravinthan.in/blog/?p=103</guid>
		<description><![CDATA[This would be my Technorati Profile :)]]></description>
			<content:encoded><![CDATA[<p>This would be my <a rel="me" href="http://technorati.com/claim/g5d4ecyvig">Technorati Profile</a> :)</p>
]]></content:encoded>
			<wfw:commentRss>http://aravinthan.in/blog/2009/04/24/claiming-my-blog-in-technorati/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blogging using my own wordpress :)</title>
		<link>http://aravinthan.in/blog/2009/04/22/blogging-using-my-own-wordpress/</link>
		<comments>http://aravinthan.in/blog/2009/04/22/blogging-using-my-own-wordpress/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 16:39:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://aravinthan.in/blog/?p=100</guid>
		<description><![CDATA[After some initial deliberations, i have started to blog on my own domain and my own wordpress. Feels great.]]></description>
			<content:encoded><![CDATA[<p>After some initial deliberations, i have started to blog on my own domain and my own wordpress. Feels great.</p>
]]></content:encoded>
			<wfw:commentRss>http://aravinthan.in/blog/2009/04/22/blogging-using-my-own-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Find Nth Largest number in an Array</title>
		<link>http://aravinthan.in/blog/2008/08/12/find-nth-largest-number-in-an-array/</link>
		<comments>http://aravinthan.in/blog/2008/08/12/find-nth-largest-number-in-an-array/#comments</comments>
		<pubDate>Tue, 12 Aug 2008 06:38:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://aravinthan.wordpress.com/2008/08/12/find-nth-largest-number-in-an-array/</guid>
		<description><![CDATA[The below is my implementation of finding the nth largest(whichmax)number in the given array of integers. This would work for both positive and negative integers. This also&#160; affects the given array by manipulating the values of the source array. Hence if you want an non-manipulative algo, this is NOT the one. &#160; #include &#8220;stdafx.h&#8221; class [...]]]></description>
			<content:encoded><![CDATA[<div class="csharpcode">
<p>The below is my implementation of finding the nth largest(whichmax)number in the given array of integers.</p>
<p>This would work for both positive and negative integers. This also&nbsp; affects the given array by manipulating the values of the source array. Hence if you want an non-manipulative algo, this is NOT the one.</p>
<p>&nbsp;</p>
</div>
<p>#include &#8220;stdafx.h&#8221;
<p>class Program
<p>{
<p>public:&nbsp;&nbsp;&nbsp;&nbsp;
<p>int GetNthLargestOptimized(int **intArray,int Length, int whichMax);
<p>};
<p>int Program::GetNthLargestOptimized(int **intArray,int Length, int whichMax)
<p>{
<p>int MaxIndex =0;
<p>int MinIndex =0;
<p>bool minFound = false;
<p>for(int nth=0;nth&lt;whichMax;nth++)
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {
<p>for(int index=0;index&lt;Length;index++)
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {
<p>if((*intArray)[MaxIndex]&lt; (*intArray)[index])
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {&nbsp;&nbsp;&nbsp;&nbsp;
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MaxIndex = index;
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }
<p>if(!minFound &amp;&amp; (*intArray)[MinIndex] &gt; (*intArray)[index])
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MinIndex = index;
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }
<p>if(!minFound)
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; minFound = true;
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }
<p>if(&nbsp;&nbsp; nth != whichMax -1)
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (*intArray)[MaxIndex]= (*intArray)[MinIndex];
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }
<p>return (*intArray)[MaxIndex];
<p>}
<p>int _tmain(int argc, _TCHAR* argv[])
<p>{
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Program m;
<p>int intNegativeArray[10]={-1,-2,-3,-4,-5,-6,-7,-8,-9,-10};
<p>int intArray[10]={23,345,345,12,45,23,34,4,6,555};
<p>int *intNegativePtr = intNegativeArray;
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; printf(&#8220;4th Largest in Negative array:%d\n&#8221;,m.GetNthLargestOptimized(&amp;intNegativePtr,10,4));
<p>int *intPtr = intArray;
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; printf(&#8220;4th Largest in Positive array:%d\n&#8221;,m.GetNthLargestOptimized(&amp;intPtr,10,4));
<p>return 0;
<p>}</p>
]]></content:encoded>
			<wfw:commentRss>http://aravinthan.in/blog/2008/08/12/find-nth-largest-number-in-an-array/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>FireFox 3.0 and WordPress Just wont Work?</title>
		<link>http://aravinthan.in/blog/2008/06/19/firefox-30-and-wordpress-just-wont-work/</link>
		<comments>http://aravinthan.in/blog/2008/06/19/firefox-30-and-wordpress-just-wont-work/#comments</comments>
		<pubDate>Thu, 19 Jun 2008 08:31:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[FireFox]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://aravinthan.wordpress.com/2008/06/19/firefox-30-and-wordpress-just-wont-work/</guid>
		<description><![CDATA[  I am not able to login to my WordPress login through Firefox, dont know what fire fox doesn&#8217;t like about the WordPress.I recently upgraded the Firefox to 3.0 version from where this problem started Am I All alone or is any one with me?         Technorati Tags: Firefox,WordPress]]></description>
			<content:encoded><![CDATA[<p> <a href="http://aravinthan.files.wordpress.com/2008/06/firefox30.jpg"><img style="border-width:0;" src="http://aravinthan.files.wordpress.com/2008/06/firefox30-thumb.jpg" border="0" alt="Firefox30" width="166" height="244" align="left" /></a> I am not able to login to my WordPress login through Firefox, dont know what fire fox doesn&#8217;t like about the WordPress.I recently upgraded the Firefox to 3.0 version from where this problem started <img src='http://aravinthan.in/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Am I All alone or is any one with me?</p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<div id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:197ab0f5-94f1-4aca-b99d-737e2b2251b0" class="wlWriterSmartContent" style="display:inline;margin:0;padding:0;">Technorati Tags: <a rel="tag" href="http://technorati.com/tags/Firefox">Firefox</a>,<a rel="tag" href="http://technorati.com/tags/WordPress">WordPress</a></div>
]]></content:encoded>
			<wfw:commentRss>http://aravinthan.in/blog/2008/06/19/firefox-30-and-wordpress-just-wont-work/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to Stop Forced Reboot of Windows Vista After Software Updates</title>
		<link>http://aravinthan.in/blog/2008/06/17/how-to-stop-forced-reboot-of-windows-vista-after-software-updates/</link>
		<comments>http://aravinthan.in/blog/2008/06/17/how-to-stop-forced-reboot-of-windows-vista-after-software-updates/#comments</comments>
		<pubDate>Tue, 17 Jun 2008 12:27:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Hack]]></category>
		<category><![CDATA[Registry]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://aravinthan.wordpress.com/2008/06/17/how-to-stop-forced-reboot-of-windows-vista-after-software-updates/</guid>
		<description><![CDATA[Sometimes it would be very frustrating to see our machine rebooted due to software updates. There would be instances when we would have started a long process to start and would have aborted abruptly due to the software updates from the Vista. I found a nice article from How To Geek where he has explained [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://aravinthan.files.wordpress.com/2008/06/noforcedreboot.jpg"><img style="border-width:0;" height="151" alt="NoForcedReboot" src="http://aravinthan.files.wordpress.com/2008/06/noforcedreboot-thumb.jpg" width="366" align="left" border="0"></a> Sometimes it would be very frustrating to see our machine rebooted due to software updates. There would be instances when we would have started a long process to start and would have aborted abruptly due to the software updates from the Vista. I found a nice article from <a href="http://www.howtogeek.com">How To Geek</a> where he has explained the above process to disable Vista from forcibly rebooting the machine. All we need to do is this:</p>
<p>Open up regedit.exe through the start menu search box or run dialog, and navigate down to the following key, creating new keys if they don&#8217;t exist. </p>
<p>&nbsp;
<p>HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows
<p>\WindowsUpdate\AU\
<p>Create a new 32-bit DWORD value named NoAutoRebootWithLoggedOnUsers and give it a value of 1 to prevent automatic reboot while users are logged on. Delete the value to put things back to the way they were.</p>
<div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:0a960625-d227-4e6f-9f56-008f620fa6ba" style="display:inline;margin:0;padding:0;">Technorati Tags: <a href="http://technorati.com/tags/Windows" rel="tag">Windows</a>,<a href="http://technorati.com/tags/Vista" rel="tag">Vista</a>,<a href="http://technorati.com/tags/Hack" rel="tag">Hack</a>,<a href="http://technorati.com/tags/Registry" rel="tag">Registry</a></div>
]]></content:encoded>
			<wfw:commentRss>http://aravinthan.in/blog/2008/06/17/how-to-stop-forced-reboot-of-windows-vista-after-software-updates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zoomii</title>
		<link>http://aravinthan.in/blog/2008/06/17/zoomii/</link>
		<comments>http://aravinthan.in/blog/2008/06/17/zoomii/#comments</comments>
		<pubDate>Tue, 17 Jun 2008 10:05:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Amazon]]></category>
		<category><![CDATA[ECommerce]]></category>
		<category><![CDATA[Zoomii]]></category>

		<guid isPermaLink="false">http://aravinthan.wordpress.com/2008/06/17/zoomii/</guid>
		<description><![CDATA[Zoomi, this&#160; one really caught my attention. This is what technology would do as it matures. The shopping experiences would soon become to mature from a 2D to a 3D experience. This web is a book store who get the books catalogue from Amazon and presents it in a 3D format for a pleasant experience [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://aravinthan.files.wordpress.com/2008/06/zoomi.jpg"><img height="147" alt="zoomi" src="http://aravinthan.files.wordpress.com/2008/06/zoomi-thumb.jpg" width="232" align="left"></a> </p>
<p><a href="http://zoomii.com">Zoomi</a>, this&nbsp; one really caught my attention. This is what technology would do as it matures. The shopping experiences would soon become to mature from a 2D to a 3D experience.</p>
<p>This web is a book store who get the books catalogue from Amazon and presents it in a 3D format for a pleasant experience of the user. The user would use the Amazon payment gateway for the payments. Zoomii does not even store the shipping information or any other information about the user except his email address; I guess this one is going to be a sure hit <img src='http://aravinthan.in/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class="wlWriterSmartContent" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:b6ba3f61-febd-44d6-802f-59298fa1c2e7" style="display:inline;margin:0;padding:0;">Technorati Tags: <a href="http://technorati.com/tags/Zoomi" rel="tag">Zoomi</a>,<a href="http://technorati.com/tags/ECommerce" rel="tag">ECommerce</a>,<a href="http://technorati.com/tags/Amazon" rel="tag">Amazon</a></div>
]]></content:encoded>
			<wfw:commentRss>http://aravinthan.in/blog/2008/06/17/zoomii/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sphenic number</title>
		<link>http://aravinthan.in/blog/2008/06/12/sphenic-number/</link>
		<comments>http://aravinthan.in/blog/2008/06/12/sphenic-number/#comments</comments>
		<pubDate>Thu, 12 Jun 2008 09:30:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Mathematics]]></category>
		<category><![CDATA[Number]]></category>

		<guid isPermaLink="false">http://aravinthan.wordpress.com/?p=85</guid>
		<description><![CDATA[In Mathematics Sphenic number is a postive integer which is a product of three distinct  prime numbers. All sphenic numbers have exactly eight divisors. If we express the sphenic number as n=p.q.r, where p, q, and r are distinct primes, then the set of divisors of n will be:  {1,p,q,r,pq,pr,qr, n}. Refer to Sphenic Number in [...]]]></description>
			<content:encoded><![CDATA[<p>In Mathematics <a href="http://en.wikipedia.org/wiki/Sphenic_number">Sphenic number</a> is a postive integer which is a product of three distinct  prime numbers.</p>
<p>All sphenic numbers have exactly eight divisors. If we express the sphenic number as n=p.q.r, where <em>p</em>, <em>q</em>, and <em>r</em> are distinct primes, then the set of divisors of <em>n</em> will be:  {1,p,q,r,pq,pr,qr, n}.</p>
<p>Refer to <a href="http://en.wikipedia.org/wiki/Sphenic_number">Sphenic Number in Wiki</a> for more details.</p>
<dl>
<dd> </dd>
</dl>
]]></content:encoded>
			<wfw:commentRss>http://aravinthan.in/blog/2008/06/12/sphenic-number/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Selection Sort</title>
		<link>http://aravinthan.in/blog/2008/06/10/selection-sort/</link>
		<comments>http://aravinthan.in/blog/2008/06/10/selection-sort/#comments</comments>
		<pubDate>Tue, 10 Jun 2008 09:05:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Algorithms]]></category>
		<category><![CDATA[CLR]]></category>
		<category><![CDATA[Selection Sort]]></category>
		<category><![CDATA[Sorting]]></category>

		<guid isPermaLink="false">http://aravinthan.wordpress.com/?p=84</guid>
		<description><![CDATA[Selection sort is a sorting algorithm, specifically an in-place comparison sort. It has O(n2) complexity, making it inefficient on large lists, and generally performs worse than the similar insertion sort. Selection sort is noted for its simplicity, and also has performance advantages over more complicated algorithms in certain situations. The following is my implementation of [...]]]></description>
			<content:encoded><![CDATA[<p>Selection sort is a sorting algorithm, specifically an in-place comparison sort. It has O(n2) complexity, making it inefficient on large lists, and generally performs worse than the similar insertion sort. Selection sort is noted for its simplicity, and also has performance advantages over more complicated algorithms in certain situations.</p>
<p>The following is my implementation of the selection sort in C# programming language <img src='http://aravinthan.in/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Consider sorting <em>n</em> numbers stored in array <em>A</em> by first finding the smallest element of <em>A</em> and exchanging it with the element in <em>A</em>[1]. Then find the second smallest element of <em>A</em>, and exchange it with <em>A</em>[2]. Continue in this manner for the first <em>n</em> &#8211; 1 elements of <em>A</em>.<br />
using System;<br />
using System.Collections.Generic;<br />
using System.Text;</p>
<p>namespace Sorting<br />
{<br />
    class Sort<br />
    {<br />
        static void Main(string[] args)<br />
        {<br />
            List&lt;Int32&gt; nums = new List&lt;int&gt;();<br />
            nums.Add(30);<br />
            nums.Add(10);<br />
            nums.Add(20);<br />
            nums.Add(40);<br />
            nums.Add(5);<br />
            nums.Add(8);<br />
            nums.Add(3);<br />
            Sort sort = new Sort();<br />
            //sort.DoInsertionSort(ref nums);<br />
            sort.DoSelectionSort(ref nums);<br />
           <br />
            foreach(int i in nums)<br />
            {<br />
                Console.WriteLine(i);<br />
            }<br />
           <br />
        }</p>
<p>        /// &lt;summary&gt;<br />
        /// Selection sort algorithm involves primarily, traversing the list<br />
        /// and then finding the least element in the array.<br />
        /// Swapping that element with the first element of the array.<br />
        /// We continue this process untill we hit the pen-ultimate element<br />
        /// of the array.<br />
        /// &lt;/summary&gt;<br />
        /// &lt;param name=&#8221;numbersToBeSorted&#8221;&gt;&lt;/param&gt;<br />
        public void DoSelectionSort(ref List&lt;Int32&gt; numbersToBeSorted)<br />
        {<br />
            for (int index = 0; index &lt; numbersToBeSorted.Count-1; index++)<br />
            {<br />
                int min = index;</p>
<p>                for (int secondSearch = index + 1; secondSearch &lt; numbersToBeSorted.Count; secondSearch++)<br />
                {<br />
                    if (numbersToBeSorted[secondSearch] &lt; numbersToBeSorted[min])<br />
                    {<br />
                        min = secondSearch;<br />
                    }<br />
                }<br />
                //simple swapping of the least element with appropriate<br />
                //key element.<br />
                int temp = numbersToBeSorted[index];<br />
                numbersToBeSorted[index] = numbersToBeSorted[min];<br />
                numbersToBeSorted[min] = temp;</p>
<p>            }<br />
        }<br />
}</p>
<p> /*<br />
         *<br />
         *  Out put would be:<br />
            3<br />
            5<br />
            8<br />
            10<br />
            20<br />
            30<br />
            40<br />
            Press any key to continue . . .<br />
         */</p>
]]></content:encoded>
			<wfw:commentRss>http://aravinthan.in/blog/2008/06/10/selection-sort/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
