Metadata-Version: 2.1
Name: vedic-math-lib
Version: 0.1.0
Summary: A Python library implementing Vedic Mathematics Sutras
Home-page: https://github.com/knarsing/vedic-math-lib/tree/main/vedic-math-lib
Author: knarsing
Author-email: narsing.pimple@gmail.com
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown

# Vedic Math Lib

Vedic Math Lib is a Python library implementing the principles of Vedic Mathematics, a system of mathematics based on ancient Sanskrit sutras (formulas).

## Installation

You can install this library using pip:


## Usage

### Ekadhikena Purvena

This sutra is used for squaring numbers ending in 5.

from vedic_math_lib import sutras

result = sutras.ekadhikena_purvena(25)
print(result)  # Output: 625


result = sutras.nikhilam_navatascaramam_dasatah(7)
print(result)  # Output: 3

result = sutras.urdhva_tiryagbhyam(12, 13)
print(result)  # Output: 156
