Skip to main content

A Python library implementing Vedic Mathematics Sutras

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vedic-math-lib-0.1.0.tar.gz (1.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vedic_math_lib-0.1.0-py3-none-any.whl (1.5 kB view details)

Uploaded Python 3

File details

Details for the file vedic-math-lib-0.1.0.tar.gz.

File metadata

  • Download URL: vedic-math-lib-0.1.0.tar.gz
  • Upload date:
  • Size: 1.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.7

File hashes

Hashes for vedic-math-lib-0.1.0.tar.gz
Algorithm Hash digest
SHA256 342fddc63eeb5573f671b0154c3a7022a8a1619878b05f8ec4b0e8cee3b9060a
MD5 fdbdff0d4489aedfe40ec1e8cc5486de
BLAKE2b-256 58da6d7c4f221a71a52ca079200836f665e0a82e86d6dbd8453e874a54031b69

See more details on using hashes here.

File details

Details for the file vedic_math_lib-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: vedic_math_lib-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 1.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.7

File hashes

Hashes for vedic_math_lib-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b0753ac2337e36709d58ece3761aed253f654e9e42c2455963777c684acc315d
MD5 680ddac8d421f003acacf43d75972b99
BLAKE2b-256 65617aaa152a4e3594d331e2b29a3c998c6b3f45ab07871f52e1879bdda368f9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page