semvec/pypi-packages huggingface dataset:
GoldenSectionSearch 0.0.6
This package is to print and plot Golden Section Algorithm
Requires Python: >=3.0

## Installation and Usage on Github Pages 
[See Documentation](https://github.com/Vishalpandey1247/GoldenSectionSearch) 


## Requirements
```
 python >= 3.6
```

## Dependencies
```
 numpy
 matplotlib
 IPython
 time
```

## Installation

Run the following to install:
```python
pip install GoldenSectionSearch
```

## Usage

```python
 from GoldenSectionSearch import GoldenSectionAlg

 search = GoldenSectionAlg() 
```

### Get solution of Golden Section Search
```python
 x=np.linspace(0,6,100)
 gss = GoldenSectionAlg(x)
 gss.golden_search(0,6,'max',0.05)
```
Output:
```
Iteration:  1
Error: 100.0
Iteration:  2
Error: 99.99999999999999
Iteration:  3
Error: 30.901699437494738
Iteration:  4
Error: 27.639320225002106
Iteration:  5
Error: 13.383054136359812
Iteration:  6
Error: 7.868932583326327
.
.
.
.
```

### Above All Points will have graphs according to input
Kartik-pkg 1.0
A simple Python package kkkk
Requires Python: >=3.6

MIT License

Copyright (c) [2021] [Kartik Soni]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.