Sankaranarayana (c. 840 â c. 900) was an Indian astronomer-mathematician in the court of Sthanu Ravi Kulasekhara (c. 844 â c. 870) of the early medieval Chera kingdom in Kerala. He is celebrated as the author of Laghubhaskariyavivarana or Laghubhaskariyavyakha, a detailed commentary on astronomical treatise Laghubhaskariya by 7th century mathematician Bhaskara I (which in turn was based on the works of the 5th century polymath Aryabhata).
Sankaranarayana is known to have established an astronomical observatory at the port of Mahodayapuram, present-day Kodungallur, in central Kerala. Laghubhaskariyavivarana (Chapter VII) explicitly states that it was composed in Saka Year 791 (corresponding to 869/70 AD). In the second verse of the commentary Sankaranarayana remembers five major predecessors in the field of mathematics (Aryabhata, Varahamihira, Bhaskara I, Govinda and Haridatta), including his possible master Govinda (c. 800 â c. 860 AD).
The commentary notably mentions an expert astronomer who had travelled to the mleccha country.
According to the commentary, Sankaranarayana installed an astronomical observatory at the Chera capital Mahodayapuram (on the Malabar Coast).
Laghubhaskariyavivarana describes "great mansions" in the city of the Mahodayapuram. He marks out the city of Mahodayapuram as a "senamukha". King Ravi Varma had planned to construct an assembly hall in his capital (he had asked the astronomers to fix the purvapararekha and enjoined craftsmen for the construction). A number of specific locations in the capital were also mentioned (such as "Gotramallesvara" â where the royal residence was located â and the "Balakridesvara Ganapati Temple" near to it). Gotramallesvara is identifiable with present-day Lokamallesvaram in Kodungallur.
Sankaranarayana says that he was patronized by king Ravi, who had the title Kulasekhara (and thus helps in the identification of Chera ruler Sthanu Ravi with Kulasekhara). The opening verse of the commentary gives an indirect invocation or praise to the lord called "Sthanu" (carefully composed to be applicable to god Siva and the ruling king).
Laghubhaskariyavivarana, according to the commentary itself, was composed in the 25th regnal year of king Ravi Kulasekhara.
Laghubhaskariyavivarana is dated by the author in three methods.