Question: Were Nasir al-Din al-Tusi and Al-Ghazali both mathematicians?
Context: Sharh al-isharat (شرح الإشارات ) is a philosophical commentary on Avicenna's book "Al-isharat wa al-tanbihat" ("Remarks and Admonitions") .  this commentary has been written by Nasir al-Din al-Tusi in defense of philosophy in front of Fakhr Razi. Muhammad ibn Muhammad ibn al-Hassan al-Tūsī (Persian: محمد بن محمد بن الحسن الطوسی‎ ‎ ; 18 February 1201 – 26 June 1274), better known as Nasir al-Din Tusi (Persian: نصیر الدین طوسی‎ ‎ ; or simply Tusi in the West), was a Persian polymath, architect, philosopher, physician, scientist, and theologian. The Ordubadi family (also spelled Urdubadi), otherwise known as the Nasiri family, was an Iranian noble-family, which was descended from the medieval philosopher and polymath Nasir al-Din al-Tusi.  The family was from Ordubad, a town which lay on the banks of the Araxes river, and is first mentioned during the Mongol invasions and conquests.  The family thereafter disappears from sources, and is first mentioned several decades later when the Safavid dynasty conquered Iran and its surroundings in the 15th-century.  The leader of the family Bahram Khan Ordubadi, began serving the Safavid king (shah) Ismail I (r. 1501–1524), who appointed him as the civil administrator ("kalantar") of Ordubad. Abū Ḥāmid Muḥammad ibn Muḥammad al-Ghazālī ( ; Arabic: أبو حامد محمد بن محمد الغزالي‎ ‎ ;  1058 – 19 December 1111), shortened as Al-Ghazali in Arabic or Ghazali in Persian and known as Algazelus or Algazel to the Western medieval world, was a Persian theologian, jurist, philosopher, and mystic. Ibn Abī al‐Shukr (Arabic: ابن ابي الشكر‎ ‎ ; died 1283 CE) was an Andalusī astronomer, astrologer and mathematician of the Islamic Golden Age.  He belonged to the group of astronomers associated with the Maragheh observatory, most notably Nasir al-Din al-Tusi.  In astronomy, Ibn Abi al-Shukr carried out a large‐scale project of systematic planetary observations, which led to the development of several new astronomical parameters. ʿAlī ibn Aḥmad al-Nasawī (c. 1011 possibly in Nasa, Khurasan – c. 1075 in Baghdad) was a Persian mathematician from Khurasan, Iran.  He flourished under the Buwayhid sultan Majd al-dowleh, who died in 1029-30AD, and under his successor.  He wrote a book on arithmetic in Persian, and then Arabic, entitled the "Satisfying (or Convincing) on Hindu Calculation" ("al-muqni fi-l-hisab al Hindi").  He also wrote on Archimedes's lemmata and Menelaus's theorem ("Kitab al-ishba", or "satiation"), where he made corrections to "The Lemmata" as translated into Arabic by Thabit ibn Qurra, which was last revised by Nasir al-Din al-Tusi. Many early Islamic philosophers and logicians discussed the liar paradox.  Their work on the subject began in the 10th century and continued to Athīr al-Dīn al-Abharī and Nasir al-Din al-Tusi of the middle 13th century and beyond.  Although the Liar paradox has been well known in Greek and Latin traditions, the works of Arabic scholars have only recently been translated into English. Zīj-i Īlkhānī (Persian: زیجِ ایلخانی‎ ‎ ) or Ilkhanic Tables (literal translation: "The Ilkhan Stars", after ilkhan Hulagu, who was the patron of the author at that time) is a "Zij" book with astronomical tables of planetary movements.  It was compiled by the Persian astronomer Nasir al-Din al-Tusi in collaboration with his research team of astronomers at the Maragha observatory.  It was written in Persian and later translated into Arabic. Maragheh observatory (Persian: رصدخانه مراغه‎ ‎ ), was an institutionalized astronomical observatory which was established in 1259 CE under the patronage of the Ilkhanid Hulagu and the directorship of Nasir al-Din al-Tusi, a Persian scientist and astronomer.  Located in the heights west of Maragheh, which is today situated in the East Azerbaijan Province of Iran, it was once considered one of the most prestigious observatories in the world. Tajrīd al-iʿtiqād (عربی: تجرید الاعتقاد), is one of Nasir al-Din al-Tusi's works that is about Islamic theology which is concerned about Shia beliefs.Tajrid is the most famous scholastic text in Shiite theology and most effective work in history of apologetic written by Nasir addin Tousi.
Answer: no