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 py3

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

Uploaded 2 7

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page