kececinumbers 0.6.0__py3-none-any.whl → 0.6.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- kececinumbers/__init__.py +1 -1
- kececinumbers/_version.py +1 -1
- kececinumbers/kececinumbers.py +3 -3
- {kececinumbers-0.6.0.dist-info → kececinumbers-0.6.2.dist-info}/METADATA +31 -9
- kececinumbers-0.6.2.dist-info/RECORD +10 -0
- kececinumbers-0.6.0.dist-info/RECORD +0 -10
- {kececinumbers-0.6.0.dist-info → kececinumbers-0.6.2.dist-info}/WHEEL +0 -0
- {kececinumbers-0.6.0.dist-info → kececinumbers-0.6.2.dist-info}/licenses/LICENSE +0 -0
- {kececinumbers-0.6.0.dist-info → kececinumbers-0.6.2.dist-info}/top_level.txt +0 -0
kececinumbers/__init__.py
CHANGED
kececinumbers/_version.py
CHANGED
kececinumbers/kececinumbers.py
CHANGED
@@ -479,7 +479,7 @@ def get_random_type(num_iterations: int, fixed_start_raw: str = "0", fixed_add_b
|
|
479
479
|
kececi_type_choice=random_type_choice,
|
480
480
|
iterations=num_iterations,
|
481
481
|
start_value_raw=fixed_start_raw,
|
482
|
-
|
482
|
+
add_value_raw=fixed_add_base_scalar
|
483
483
|
)
|
484
484
|
|
485
485
|
def generate_kececi_vectorial(q0_str, c_str, u_str, iterations):
|
@@ -794,7 +794,7 @@ def get_interactive() -> Tuple[List[Any], Dict[str, Any]]:
|
|
794
794
|
kececi_type_choice=type_choice,
|
795
795
|
iterations=num_kececi_steps,
|
796
796
|
start_value_raw=start_input_val_raw,
|
797
|
-
add_value_raw=add_input_val_raw
|
797
|
+
add_value_raw=add_input_val_raw,
|
798
798
|
include_intermediate_steps=show_details
|
799
799
|
)
|
800
800
|
|
@@ -803,7 +803,7 @@ def get_interactive() -> Tuple[List[Any], Dict[str, Any]]:
|
|
803
803
|
"type_choice": type_choice,
|
804
804
|
"start_val": start_input_val_raw,
|
805
805
|
"add_val": add_input_val_raw,
|
806
|
-
"steps": num_kececi_steps
|
806
|
+
"steps": num_kececi_steps,
|
807
807
|
"detailed_view": show_details
|
808
808
|
}
|
809
809
|
return sequence, params
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: kececinumbers
|
3
|
-
Version: 0.6.
|
3
|
+
Version: 0.6.2
|
4
4
|
Summary: Keçeci Numbers: An Exploration of a Dynamic Sequence Across Diverse Number Sets
|
5
5
|
Home-page: https://github.com/WhiteSymmetry/kececinumbers
|
6
6
|
Author: Mehmet Keçeci
|
@@ -180,20 +180,40 @@ pip install kececinumbers
|
|
180
180
|
|
181
181
|
The following example creates and visualizes a Keçeci sequence with POSITIVE_REAL numbers.
|
182
182
|
|
183
|
+
```python
|
184
|
+
import kececinumbers as kn
|
185
|
+
import matplotlib.pyplot as plt
|
186
|
+
from typing import Any, Dict, List, Tuple
|
187
|
+
|
188
|
+
if __name__ == "__main__":
|
189
|
+
# Call the interactive function from the Keçeci Numbers module
|
190
|
+
generated_sequence, used_params = kn.get_interactive()
|
191
|
+
|
192
|
+
# If a sequence was successfully generated, print the results and plot the graph
|
193
|
+
if generated_sequence:
|
194
|
+
print("\n--- Results ---")
|
195
|
+
print(f"Parameters Used: {used_params}")
|
196
|
+
print(f"Generated Sequence (first 30 elements): {generated_sequence[:30]}")
|
197
|
+
|
198
|
+
# Optionally, plot the graph
|
199
|
+
kn.plot_numbers(generated_sequence)
|
200
|
+
plt.show()
|
201
|
+
```
|
202
|
+
|
203
|
+
or
|
204
|
+
|
183
205
|
```python
|
184
206
|
import matplotlib.pyplot as plt
|
185
207
|
import kececinumbers as kn
|
186
208
|
|
187
|
-
# Generate a Keçeci sequence with specific parameters
|
188
|
-
# FIX: Renamed 'add_value_base_scalar' to 'add_value_raw' and converted the value to a string.
|
189
209
|
sequence = kn.get_with_params(
|
190
210
|
kececi_type_choice=kn.TYPE_POSITIVE_REAL,
|
191
|
-
iterations=
|
192
|
-
start_value_raw="
|
193
|
-
add_value_raw="9.0"
|
211
|
+
iterations=30,
|
212
|
+
start_value_raw="0",
|
213
|
+
add_value_raw="9.0",
|
214
|
+
include_intermediate_steps=True
|
194
215
|
)
|
195
216
|
|
196
|
-
# If the sequence was generated successfully, plot it
|
197
217
|
if sequence:
|
198
218
|
kn.plot_numbers(sequence, title="My First POSITIVE_REAL Keçeci Sequence")
|
199
219
|
plt.show()
|
@@ -220,7 +240,8 @@ sequence = kn.get_with_params(
|
|
220
240
|
kececi_type_choice=kn.TYPE_COMPLEX,
|
221
241
|
iterations=60,
|
222
242
|
start_value_raw="1+2j",
|
223
|
-
|
243
|
+
add_value_raw=3.0,
|
244
|
+
include_intermediate_steps=True
|
224
245
|
)
|
225
246
|
|
226
247
|
# If the sequence was generated successfully, plot it
|
@@ -439,7 +460,8 @@ seq_fixed = kn.get_with_params(
|
|
439
460
|
kececi_type_choice=kn.TYPE_COMPLEX,
|
440
461
|
iterations=60,
|
441
462
|
start_value_raw="1+2j",
|
442
|
-
|
463
|
+
add_value_raw=3.0,
|
464
|
+
include_intermediate_steps=True
|
443
465
|
)
|
444
466
|
if seq_fixed:
|
445
467
|
kn.plot_numbers(seq_fixed, "Fixed Params (Complex) Keçeci Numbers")
|
@@ -0,0 +1,10 @@
|
|
1
|
+
docs/conf.py,sha256=jkpH_TchRJcC_EspKeY1E_rml2ODmIWhWoqvyCPu_ok,1116
|
2
|
+
kececinumbers/__init__.py,sha256=KHcN6319skV59XLnwHYF81Zp_zWE7Qd2GY1dMR8_rAs,3758
|
3
|
+
kececinumbers/_version.py,sha256=2yOdX83UEE1xKM05_TIk_8kq4KsgaNT_xz-IdSOmVUU,453
|
4
|
+
kececinumbers/kececinumbers.py,sha256=K5uqbHWiMC53qG7n7RNbqMN5ib6LSP3YSjKdMgROxcU,44565
|
5
|
+
kececinumbers-0.6.2.dist-info/licenses/LICENSE,sha256=NJZsJEbQuKzxn1mWPWCbRx8jRUqGS22thl8wwuRQJ9c,1071
|
6
|
+
tests/test_sample.py,sha256=qMWUBGQtlF1gZHZ_e6Gye1vHtyNnUWH7iXK72a1y6VQ,9728
|
7
|
+
kececinumbers-0.6.2.dist-info/METADATA,sha256=GZT6jrCAydT_8LV_v5OuMILxD22U37QvCIyu2_vC1ZY,33659
|
8
|
+
kececinumbers-0.6.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
9
|
+
kececinumbers-0.6.2.dist-info/top_level.txt,sha256=ABQEKRH9iYb4sWnFdx7gIx7Hg899YktRkQpbRlSSqwU,25
|
10
|
+
kececinumbers-0.6.2.dist-info/RECORD,,
|
@@ -1,10 +0,0 @@
|
|
1
|
-
docs/conf.py,sha256=jkpH_TchRJcC_EspKeY1E_rml2ODmIWhWoqvyCPu_ok,1116
|
2
|
-
kececinumbers/__init__.py,sha256=Dw9Mk29xgGSAxzlcY6EIvfD90FCCJFJUZ5_aJjYXDCc,3758
|
3
|
-
kececinumbers/_version.py,sha256=nFvkY57bniwMc6V9AO4xkeFuxB5gJg0a1JLuWjCkORA,453
|
4
|
-
kececinumbers/kececinumbers.py,sha256=0sWik7-d1yz5v0XCIOEp01tR2ohiFUIfuB5wIeSwQ3I,44571
|
5
|
-
kececinumbers-0.6.0.dist-info/licenses/LICENSE,sha256=NJZsJEbQuKzxn1mWPWCbRx8jRUqGS22thl8wwuRQJ9c,1071
|
6
|
-
tests/test_sample.py,sha256=qMWUBGQtlF1gZHZ_e6Gye1vHtyNnUWH7iXK72a1y6VQ,9728
|
7
|
-
kececinumbers-0.6.0.dist-info/METADATA,sha256=SWb_RZnQT9gkclGM88AwZOnk0Fgu2GumzCzj9gbSvqc,33125
|
8
|
-
kececinumbers-0.6.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
9
|
-
kececinumbers-0.6.0.dist-info/top_level.txt,sha256=ABQEKRH9iYb4sWnFdx7gIx7Hg899YktRkQpbRlSSqwU,25
|
10
|
-
kececinumbers-0.6.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|