Saturday, October 10, 2015

THE ALGORITHM GIVEN BY NARAYANA PANDIT (1325-1400 AD)

IS USED IN THE COMMAND next_permutation IN C++ PROGRAMMING LANGUAGE.
 
Nārāyana Pandit was the first who gave a non-recursive algorithm for expansion of partitions of a number. He demonstrated his algorithm which is based on finding the next permutation in lexicographical order. In this algorithm, one has to start by sorting the sequence in increasing order to get its lexicographically minimal solution and repeat advancing to the next permutation as long as one is found. 
 
The algorithm applied by Nārāyana Pandit is:
Step 1 : Find largest index k such a[k] < a[k+1] that ;
Step 2 : Find largest index 1 such that a[k] < a[1]
Step 3 : Swap a[k] and a[1]
Step 4 : Reverse the range a[k+1] to a[n-1]


Two examples given by Narayana Pandit are shown in images enclosed.
-Vedveer Arya ,Indian History Real Truth

Shree Jagannath Das ji

Jagannath Das ji became sadhu in 1944. Traveled all over India and for last four decades staying in his Ashram on the banks of Narmada in Garudeshwar.

At this age he his perfectly self reliant. He walks at good speed with youngsters. Wakes up at 4.00 am daily and is ready for informal interactions with his disciples at 7.00 am. His sharp memory is miracle.

I am currently helping him with some herbal & natural treatment for temporary leg pain. The treatment includes use of medicated mud. And it's giving good results.

All 100+ person's I have met are spiritual people following perfect yogic & ayurvedic lifestyle. Importantly their knowledge doesn't come from books but learnt through experiences and knowledge passed by earlier conscoius generations. Unwavering devotion to god is a common factor in them.

I have been eagerly trying to pass on such knowledge, tips to my beloved friends, people in general. But the acceptance levels are low. Influence of illusion is so powerful. They would like to make their life choices based on opinion of doctors, advertisements, western life patterns. Unfortunately all these have commercial motive.

Institution of conscious health keepers needs to be preserved & promoted.

Salaam to Jagannath Das ji. And the supreme institution of 'sadhus'.

__Shree Yogi Arwind