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.

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

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