Skip to main content

A package which find minimum from given vector

Project description

Documentation

Installation!

Python module can be installed using Python pip. The package is hosted on PYPI and PYPI-test.

pip install minimum 

PYPI-test

python3 -m pip install --index-url https://test.pypi.org/simple/ minimum 

PYPI

pip install minimum 

Usage

Follow these steps after succssefully installing the package.
1. python3
2. import minimum
3. from minimum import findmin
4. findmin.find_minimum([10, 9, 8, 7, 6, 5, 1, 2, 3, 4])
# output:  INPUT: [10, 9, 8, 7, 6, 5, 1, 2, 3, 4]
            OUTPUT: 1

Examples

findmin.find_minimum([10, 9, 8, 7, 6, 5, 1, 2, 3, 4])
# output:  INPUT: [10, 9, 8, 7, 6, 5, 1, 2, 3, 4]
            OUTPUT: 1
findmin.find_minimum([4, 3, 2, 1.34, 6, 7, 8.5])
# output:  INPUT: [4, 3, 2, 1.34, 6, 7, 8.5]
            OUTPUT: 1.34
findmin.find_minimum([10, 9, 8, 5, 6, 7, 8, 0, 3, 4])
# output:  INPUT: [10, 9, 8, 5, 6, 7, 8, 0, 3, 4]
            OUTPUT: INVALID INPUT

Project details


Release history Release notifications

This version

1.0

Download files

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

Files for minimum, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size minimum-1.0-py2.7.egg (3.3 kB) File type Egg Python version 2.7 Upload date Hashes View hashes
Filename, size minimum-1.0-py3-none-any.whl (3.3 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size minimum-1.0.tar.gz (2.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page