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 | RSS feed

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.

Source Distribution

minimum-1.0.tar.gz (2.1 kB view hashes)

Uploaded Source

Built Distributions

minimum-1.0-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

minimum-1.0-py2.7.egg (3.3 kB view hashes)

Uploaded Source

Supported by

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