 According to Karel Werner,
Robert Thurman writes that Patañjali was influenced by the success of the Buddhist monastic system to formulate his own matrix for the version of thought he considered orthodox.However, the Yoga Sutra, especially the fourth segment of Kaivalya Pada, contains several polemical verses critical of Buddhism, particularly the Vijñānavāda school of Vasubandhu.Samadhi is oneness with the object of meditation.