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
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 details)
Built Distributions
minimum-1.0-py3-none-any.whl
(3.3 kB
view details)
minimum-1.0-py2.7.egg
(3.3 kB
view details)
File details
Details for the file minimum-1.0.tar.gz
.
File metadata
- Download URL: minimum-1.0.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30b09614f3f15b07d49abd795f2ed2c26f3773fdf4e846fa3d93c626d6e85528 |
|
MD5 | b8c7f64232545a2d46f84068f3d5a27b |
|
BLAKE2b-256 | f7ee2dfb94f41b8356f0483edadfe2b57a29fa8a82fca472c3c19f350f01200e |
File details
Details for the file minimum-1.0-py3-none-any.whl
.
File metadata
- Download URL: minimum-1.0-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6a54301da9526e7c16a26bdcc21f45aa0874c0a474b5a97f0341a129d53f98f |
|
MD5 | 19ad6498efd66bf299443ae5af3e997f |
|
BLAKE2b-256 | 5cff440a66611af5a5d7589adca8558f2ce4251d2b12d0abe13de73e825541ec |
File details
Details for the file minimum-1.0-py2.7.egg
.
File metadata
- Download URL: minimum-1.0-py2.7.egg
- Upload date:
- Size: 3.3 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24233ba02cb4270239ffb1658d83633b9ea1d5ea565bf82c2e3b097ddb4b970e |
|
MD5 | 8f667f876ac0f3cb5723a96729ff5e30 |
|
BLAKE2b-256 | 98b9e511a6bd650a3f107cebb806deeb25488d610897e49387f50182042df019 |