From 1bed547904bdff901fa45b2364a3836002467a7f Mon Sep 17 00:00:00 2001 From: Duan Juanyong Date: Fri, 29 Mar 2024 17:03:46 +0800 Subject: [PATCH] Optimize installation process (#46) * resolve cython issue * update ci * refactor * update repo structure * refactor build process * refine build and release pipeline * update pipeline * lazily import numpy * fix error * fix setup.py * add setup requires * fix env * change project name * update critical table * update version * update github-release rule * update to v0.2.3 * update release pipeline * update ci/cd yml * add more os and set workding dir for testing * fix circular import * fix gitignore --- .github/workflows/cd.yml | 122 +- .github/workflows/ci.yml | 75 +- .gitignore | 3 +- MANIFEST.in | 11 +- README.md | 18 +- anomaly-detector/README.md | 0 .../univariate/util/critical_table.txt | 1 - anomaly-detector/build.py | 63 - anomaly-detector/poetry.lock | 2222 - anomaly-detector/pyproject.toml | 33 - pyproject.toml | 50 + requirements.txt | 16 - setup.py | 116 +- .../anomaly_detector/__init__.py | 0 .../anomaly_detector/base.py | 0 .../anomaly_detector/common/__init__.py | 0 .../anomaly_detector/common/constants.py | 0 .../anomaly_detector/common/data_processor.py | 0 .../anomaly_detector/common/error_code.py | 0 .../anomaly_detector/common/exception.py | 0 .../anomaly_detector/common/time_util.py | 0 .../anomaly_detector/multivariate/__init__.py | 0 .../anomaly_detector/multivariate/contract.py | 0 .../anomaly_detector/multivariate/dataset.py | 0 .../anomaly_detector/multivariate/model.py | 0 .../anomaly_detector/multivariate/module.py | 0 .../anomaly_detector/multivariate/util.py | 0 .../anomaly_detector/univariate/__init__.py | 0 .../univariate/_anomaly_kernel_cython.c | 41536 ++++++++++++++++ .../univariate/_anomaly_kernel_cython.pyx | 0 .../univariate/detectors/__init__.py | 0 .../univariate/detectors/detector.py | 0 .../univariate/detectors/dynamic_filter.py | 0 .../univariate/detectors/esd_filter.py | 0 .../univariate/detectors/spectral_residual.py | 0 .../univariate/detectors/z_score.py | 0 .../univariate/filling_up/__init__.py | 0 .../univariate/filling_up/fill_up.py | 0 .../univariate/filling_up/fill_up_methods.py | 0 .../univariate/model}/__init__.py | 0 .../univariate/model/detect.py | 0 .../univariate/model/detect_model.py | 0 .../univariate/model/dynamic_threshold.py | 0 .../univariate/model/hbos_detection.py | 0 .../univariate/model/seasonal_series.py | 0 .../model/series_compete_processor.py | 0 .../model/spectral_residual_model.py | 0 .../univariate/period/__init__.py | 0 .../univariate/period/period_detect.py | 0 .../univariate/period/simple.py | 0 .../univariate/period/spectrum.py | 0 .../univariate/resource}/__init__.py | 0 .../univariate/resource/error_message.py | 0 .../univariate_anomaly_detection.py | 0 .../univariate/util/__init__.py | 2 +- .../univariate/util/boundary_utils.py | 0 .../univariate/util/critical_table_values.py | 1 + .../univariate/util/date_utils.py | 0 .../anomaly_detector/univariate/util/enum.py | 0 .../univariate/util/fields.py | 0 .../univariate/util/helpers.py | 8 +- .../anomaly_detector/univariate/util/r_stl.py | 0 .../univariate/util/refine.py | 0 .../univariate/util/stl_helpers.py | 0 .../univariate/model => tests}/__init__.py | 1 - ..._test.test_entire_need_fill_request_0.json | 0 ..._test.test_entire_need_fill_request_1.json | 0 ..._test.test_entire_need_fill_request_2.json | 0 ..._test.test_entire_need_fill_request_3.json | 0 ..._test.test_entire_need_fill_request_4.json | 0 ..._test.test_entire_need_fill_request_5.json | 0 ..._test.test_entire_need_fill_request_6.json | 0 ..._test.test_entire_need_fill_request_7.json | 0 ..._test.test_entire_need_fill_request_8.json | 0 ..._test.test_entire_need_fill_request_9.json | 0 ...ion_module_test.test_entire_request_0.json | 0 ...ion_module_test.test_entire_request_1.json | 0 ...on_module_test.test_entire_request_10.json | 0 ...on_module_test.test_entire_request_11.json | 0 ...on_module_test.test_entire_request_12.json | 0 ...ion_module_test.test_entire_request_2.json | 0 ...ion_module_test.test_entire_request_3.json | 0 ...ion_module_test.test_entire_request_4.json | 0 ...ion_module_test.test_entire_request_5.json | 0 ...ion_module_test.test_entire_request_6.json | 0 ...ion_module_test.test_entire_request_7.json | 0 ...ion_module_test.test_entire_request_8.json | 0 ...ion_module_test.test_entire_request_9.json | 0 ...ction_module_test.test_extreme_data_0.json | 0 ...ction_module_test.test_extreme_data_1.json | 0 ...ction_module_test.test_extreme_data_2.json | 0 ...ction_module_test.test_extreme_data_3.json | 0 ...ction_module_test.test_last_request_0.json | 0 ...ction_module_test.test_last_request_1.json | 0 ...tion_module_test.test_last_request_10.json | 0 ...tion_module_test.test_last_request_11.json | 0 ...tion_module_test.test_last_request_12.json | 0 ...tion_module_test.test_last_request_13.json | 0 ...tion_module_test.test_last_request_14.json | 0 ...tion_module_test.test_last_request_15.json | 0 ...tion_module_test.test_last_request_17.json | 0 ...tion_module_test.test_last_request_18.json | 0 ...tion_module_test.test_last_request_19.json | 0 ...ction_module_test.test_last_request_2.json | 0 ...tion_module_test.test_last_request_20.json | 0 ...tion_module_test.test_last_request_21.json | 0 ...tion_module_test.test_last_request_22.json | 0 ...tion_module_test.test_last_request_23.json | 0 ...tion_module_test.test_last_request_24.json | 0 ...tion_module_test.test_last_request_25.json | 0 ...ction_module_test.test_last_request_3.json | 0 ...ction_module_test.test_last_request_4.json | 0 ...ction_module_test.test_last_request_5.json | 0 ...ction_module_test.test_last_request_6.json | 0 ...ction_module_test.test_last_request_7.json | 0 ...ction_module_test.test_last_request_8.json | 0 ...ction_module_test.test_last_request_9.json | 0 .../json_dsat_test.cases.dsat_case10_0.json | 0 .../json_dsat_test.cases.dsat_case11_0.json | 0 .../json_dsat_test.cases.dsat_case12_0.json | 0 .../json_dsat_test.cases.dsat_case13_0.json | 0 .../json_dsat_test.cases.dsat_case14_0.json | 0 .../json_dsat_test.cases.dsat_case15_0.json | 0 .../json_dsat_test.cases.dsat_case16_0.json | 0 .../json_dsat_test.cases.dsat_case17_0.json | 0 .../json_dsat_test.cases.dsat_case18_0.json | 0 .../json_dsat_test.cases.dsat_case19_0.json | 0 .../json_dsat_test.cases.dsat_case1_0.json | 0 .../json_dsat_test.cases.dsat_case20_0.json | 0 .../json_dsat_test.cases.dsat_case21_0.json | 0 .../json_dsat_test.cases.dsat_case22_0.json | 0 .../json_dsat_test.cases.dsat_case23_0.json | 0 .../json_dsat_test.cases.dsat_case24_0.json | 0 .../json_dsat_test.cases.dsat_case25_0.json | 0 .../json_dsat_test.cases.dsat_case26_0.json | 0 .../json_dsat_test.cases.dsat_case27_0.json | 0 .../json_dsat_test.cases.dsat_case28_0.json | 0 .../json_dsat_test.cases.dsat_case29_0.json | 0 .../json_dsat_test.cases.dsat_case2_0.json | 0 .../json_dsat_test.cases.dsat_case30_0.json | 0 .../json_dsat_test.cases.dsat_case31_0.json | 0 .../json_dsat_test.cases.dsat_case3_0.json | 0 .../json_dsat_test.cases.dsat_case4_0.json | 0 .../json_dsat_test.cases.dsat_case5_0.json | 0 .../json_dsat_test.cases.dsat_case6_0.json | 0 .../json_dsat_test.cases.dsat_case7_0.json | 0 .../json_dsat_test.cases.dsat_case8_0.json | 0 .../json_dsat_test.cases.dsat_case9_0.json | 0 ...ases.period_fix_data_hourly_yahoo_154.json | 0 ..._cases.period_fix_data_hourly_yahoo_2.json | 0 ...cases.period_fix_data_hourly_yahoo_60.json | 0 .../cases/json_entire_cases.test_a_0.json | 0 .../cases/json_entire_cases.test_b_0.json | 0 .../cases/json_entire_cases.test_c_0.json | 0 .../cases/json_entire_cases.test_d_0.json | 0 .../cases/json_last_cases.test_a_0.json | 0 .../cases/json_last_cases.test_b_0.json | 0 .../cases/json_last_cases.test_c_0.json | 0 .../cases/json_last_cases.test_d_0.json | 0 .../cases/json_last_cases.test_e_0.json | 0 .../cases/json_profiling_cases.case_0.json | 0 .../cases/json_profiling_cases.case_1.json | 0 .../cases/json_profiling_cases.case_2.json | 0 .../cases/json_profiling_cases.case_3.json | 0 .../cases/json_profiling_cases.case_4.json | 0 .../cases/json_profiling_cases.case_5.json | 0 .../cases/json_profiling_cases.case_6.json | 0 .../cases/json_profiling_cases.case_7.json | 0 .../cases/json_profiling_cases.case_8.json | 0 .../cases/json_profiling_cases.case_9.json | 0 .../json_profiling_cases.test_profile_0.json | 0 .../cases/json_spectrum_period.entire_0.json | 0 .../cases/json_spectrum_period.last_0.json | 0 .../tests => tests}/e2e_test_mvad.py | 0 .../tests => tests}/e2e_test_uvad.py | 0 .../testCase/testCase_10000_20/config.yaml | 0 .../inference_data_smaller_than_window.csv | 0 .../testCase_10000_20/invalid_timestamp.csv | 0 .../testCase_10000_20/invalid_value.csv | 0 .../testCase/testCase_10000_20/model.pkl | Bin .../testCase_10000_20/no_timestamp.csv | 0 .../testCase_10000_20/normal_data.csv | 0 .../tests => tests}/test_demo.py | 0 .../tests => tests}/uvad_test.py | 4 +- 184 files changed, 41697 insertions(+), 2585 deletions(-) delete mode 100644 anomaly-detector/README.md delete mode 100644 anomaly-detector/anomaly_detector/univariate/util/critical_table.txt delete mode 100644 anomaly-detector/build.py delete mode 100644 anomaly-detector/poetry.lock delete mode 100644 anomaly-detector/pyproject.toml create mode 100644 pyproject.toml delete mode 100644 requirements.txt rename {anomaly-detector => src}/anomaly_detector/__init__.py (100%) rename {anomaly-detector => src}/anomaly_detector/base.py (100%) rename {anomaly-detector => src}/anomaly_detector/common/__init__.py (100%) rename {anomaly-detector => src}/anomaly_detector/common/constants.py (100%) rename {anomaly-detector => src}/anomaly_detector/common/data_processor.py (100%) rename {anomaly-detector => src}/anomaly_detector/common/error_code.py (100%) rename {anomaly-detector => src}/anomaly_detector/common/exception.py (100%) rename {anomaly-detector => src}/anomaly_detector/common/time_util.py (100%) rename {anomaly-detector => src}/anomaly_detector/multivariate/__init__.py (100%) rename {anomaly-detector => src}/anomaly_detector/multivariate/contract.py (100%) rename {anomaly-detector => src}/anomaly_detector/multivariate/dataset.py (100%) rename {anomaly-detector => src}/anomaly_detector/multivariate/model.py (100%) rename {anomaly-detector => src}/anomaly_detector/multivariate/module.py (100%) rename {anomaly-detector => src}/anomaly_detector/multivariate/util.py (100%) rename {anomaly-detector => src}/anomaly_detector/univariate/__init__.py (100%) create mode 100644 src/anomaly_detector/univariate/_anomaly_kernel_cython.c rename {anomaly-detector => src}/anomaly_detector/univariate/_anomaly_kernel_cython.pyx (100%) rename {anomaly-detector => src}/anomaly_detector/univariate/detectors/__init__.py (100%) rename {anomaly-detector => src}/anomaly_detector/univariate/detectors/detector.py (100%) rename {anomaly-detector => src}/anomaly_detector/univariate/detectors/dynamic_filter.py (100%) rename {anomaly-detector => src}/anomaly_detector/univariate/detectors/esd_filter.py (100%) rename {anomaly-detector => src}/anomaly_detector/univariate/detectors/spectral_residual.py (100%) rename {anomaly-detector => src}/anomaly_detector/univariate/detectors/z_score.py (100%) rename {anomaly-detector => src}/anomaly_detector/univariate/filling_up/__init__.py (100%) rename {anomaly-detector => src}/anomaly_detector/univariate/filling_up/fill_up.py (100%) rename {anomaly-detector => src}/anomaly_detector/univariate/filling_up/fill_up_methods.py (100%) rename {anomaly-detector/anomaly_detector/univariate/resource => src/anomaly_detector/univariate/model}/__init__.py (100%) rename {anomaly-detector => src}/anomaly_detector/univariate/model/detect.py (100%) rename {anomaly-detector => src}/anomaly_detector/univariate/model/detect_model.py (100%) rename {anomaly-detector => src}/anomaly_detector/univariate/model/dynamic_threshold.py (100%) rename {anomaly-detector => src}/anomaly_detector/univariate/model/hbos_detection.py (100%) rename {anomaly-detector => src}/anomaly_detector/univariate/model/seasonal_series.py (100%) rename {anomaly-detector => src}/anomaly_detector/univariate/model/series_compete_processor.py (100%) rename {anomaly-detector => src}/anomaly_detector/univariate/model/spectral_residual_model.py (100%) rename {anomaly-detector => src}/anomaly_detector/univariate/period/__init__.py (100%) rename {anomaly-detector => src}/anomaly_detector/univariate/period/period_detect.py (100%) rename {anomaly-detector => src}/anomaly_detector/univariate/period/simple.py (100%) rename {anomaly-detector => src}/anomaly_detector/univariate/period/spectrum.py (100%) rename {anomaly-detector/tests => src/anomaly_detector/univariate/resource}/__init__.py (100%) rename {anomaly-detector => src}/anomaly_detector/univariate/resource/error_message.py (100%) rename {anomaly-detector => src}/anomaly_detector/univariate/univariate_anomaly_detection.py (100%) rename {anomaly-detector => src}/anomaly_detector/univariate/util/__init__.py (93%) rename {anomaly-detector => src}/anomaly_detector/univariate/util/boundary_utils.py (100%) create mode 100644 src/anomaly_detector/univariate/util/critical_table_values.py rename {anomaly-detector => src}/anomaly_detector/univariate/util/date_utils.py (100%) rename {anomaly-detector => src}/anomaly_detector/univariate/util/enum.py (100%) rename {anomaly-detector => src}/anomaly_detector/univariate/util/fields.py (100%) rename {anomaly-detector => src}/anomaly_detector/univariate/util/helpers.py (97%) rename {anomaly-detector => src}/anomaly_detector/univariate/util/r_stl.py (100%) rename {anomaly-detector => src}/anomaly_detector/univariate/util/refine.py (100%) rename {anomaly-detector => src}/anomaly_detector/univariate/util/stl_helpers.py (100%) rename {anomaly-detector/anomaly_detector/univariate/model => tests}/__init__.py (99%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_entire_need_fill_request_0.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_entire_need_fill_request_1.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_entire_need_fill_request_2.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_entire_need_fill_request_3.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_entire_need_fill_request_4.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_entire_need_fill_request_5.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_entire_need_fill_request_6.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_entire_need_fill_request_7.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_entire_need_fill_request_8.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_entire_need_fill_request_9.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_entire_request_0.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_entire_request_1.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_entire_request_10.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_entire_request_11.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_entire_request_12.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_entire_request_2.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_entire_request_3.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_entire_request_4.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_entire_request_5.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_entire_request_6.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_entire_request_7.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_entire_request_8.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_entire_request_9.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_extreme_data_0.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_extreme_data_1.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_extreme_data_2.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_extreme_data_3.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_last_request_0.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_last_request_1.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_last_request_10.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_last_request_11.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_last_request_12.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_last_request_13.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_last_request_14.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_last_request_15.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_last_request_17.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_last_request_18.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_last_request_19.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_last_request_2.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_last_request_20.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_last_request_21.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_last_request_22.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_last_request_23.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_last_request_24.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_last_request_25.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_last_request_3.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_last_request_4.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_last_request_5.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_last_request_6.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_last_request_7.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_last_request_8.json (100%) rename {anomaly-detector/tests => tests}/cases/function_module_test.test_last_request_9.json (100%) rename {anomaly-detector/tests => tests}/cases/json_dsat_test.cases.dsat_case10_0.json (100%) rename {anomaly-detector/tests => tests}/cases/json_dsat_test.cases.dsat_case11_0.json (100%) rename {anomaly-detector/tests => tests}/cases/json_dsat_test.cases.dsat_case12_0.json (100%) rename {anomaly-detector/tests => tests}/cases/json_dsat_test.cases.dsat_case13_0.json (100%) rename {anomaly-detector/tests => tests}/cases/json_dsat_test.cases.dsat_case14_0.json (100%) rename {anomaly-detector/tests => tests}/cases/json_dsat_test.cases.dsat_case15_0.json (100%) rename {anomaly-detector/tests => tests}/cases/json_dsat_test.cases.dsat_case16_0.json (100%) rename {anomaly-detector/tests => tests}/cases/json_dsat_test.cases.dsat_case17_0.json (100%) rename {anomaly-detector/tests => tests}/cases/json_dsat_test.cases.dsat_case18_0.json (100%) rename {anomaly-detector/tests => tests}/cases/json_dsat_test.cases.dsat_case19_0.json (100%) rename {anomaly-detector/tests => tests}/cases/json_dsat_test.cases.dsat_case1_0.json (100%) rename {anomaly-detector/tests => tests}/cases/json_dsat_test.cases.dsat_case20_0.json (100%) rename {anomaly-detector/tests => tests}/cases/json_dsat_test.cases.dsat_case21_0.json (100%) rename {anomaly-detector/tests => tests}/cases/json_dsat_test.cases.dsat_case22_0.json (100%) rename {anomaly-detector/tests => tests}/cases/json_dsat_test.cases.dsat_case23_0.json (100%) rename {anomaly-detector/tests => tests}/cases/json_dsat_test.cases.dsat_case24_0.json (100%) rename {anomaly-detector/tests => tests}/cases/json_dsat_test.cases.dsat_case25_0.json (100%) rename {anomaly-detector/tests => tests}/cases/json_dsat_test.cases.dsat_case26_0.json (100%) rename {anomaly-detector/tests => tests}/cases/json_dsat_test.cases.dsat_case27_0.json (100%) rename {anomaly-detector/tests => tests}/cases/json_dsat_test.cases.dsat_case28_0.json (100%) rename {anomaly-detector/tests => tests}/cases/json_dsat_test.cases.dsat_case29_0.json (100%) rename {anomaly-detector/tests => tests}/cases/json_dsat_test.cases.dsat_case2_0.json (100%) rename {anomaly-detector/tests => tests}/cases/json_dsat_test.cases.dsat_case30_0.json (100%) rename {anomaly-detector/tests => tests}/cases/json_dsat_test.cases.dsat_case31_0.json (100%) rename {anomaly-detector/tests => tests}/cases/json_dsat_test.cases.dsat_case3_0.json (100%) rename {anomaly-detector/tests => tests}/cases/json_dsat_test.cases.dsat_case4_0.json (100%) rename {anomaly-detector/tests => tests}/cases/json_dsat_test.cases.dsat_case5_0.json (100%) rename {anomaly-detector/tests => tests}/cases/json_dsat_test.cases.dsat_case6_0.json (100%) rename {anomaly-detector/tests => tests}/cases/json_dsat_test.cases.dsat_case7_0.json (100%) rename {anomaly-detector/tests => tests}/cases/json_dsat_test.cases.dsat_case8_0.json (100%) rename {anomaly-detector/tests => tests}/cases/json_dsat_test.cases.dsat_case9_0.json (100%) rename {anomaly-detector/tests => tests}/cases/json_entire_cases.period_fix_data_hourly_yahoo_154.json (100%) rename {anomaly-detector/tests => tests}/cases/json_entire_cases.period_fix_data_hourly_yahoo_2.json (100%) rename {anomaly-detector/tests => tests}/cases/json_entire_cases.period_fix_data_hourly_yahoo_60.json (100%) rename {anomaly-detector/tests => tests}/cases/json_entire_cases.test_a_0.json (100%) rename {anomaly-detector/tests => tests}/cases/json_entire_cases.test_b_0.json (100%) rename {anomaly-detector/tests => tests}/cases/json_entire_cases.test_c_0.json (100%) rename {anomaly-detector/tests => tests}/cases/json_entire_cases.test_d_0.json (100%) rename {anomaly-detector/tests => tests}/cases/json_last_cases.test_a_0.json (100%) rename {anomaly-detector/tests => tests}/cases/json_last_cases.test_b_0.json (100%) rename {anomaly-detector/tests => tests}/cases/json_last_cases.test_c_0.json (100%) rename {anomaly-detector/tests => tests}/cases/json_last_cases.test_d_0.json (100%) rename {anomaly-detector/tests => tests}/cases/json_last_cases.test_e_0.json (100%) rename {anomaly-detector/tests => tests}/cases/json_profiling_cases.case_0.json (100%) rename {anomaly-detector/tests => tests}/cases/json_profiling_cases.case_1.json (100%) rename {anomaly-detector/tests => tests}/cases/json_profiling_cases.case_2.json (100%) rename {anomaly-detector/tests => tests}/cases/json_profiling_cases.case_3.json (100%) rename {anomaly-detector/tests => tests}/cases/json_profiling_cases.case_4.json (100%) rename {anomaly-detector/tests => tests}/cases/json_profiling_cases.case_5.json (100%) rename {anomaly-detector/tests => tests}/cases/json_profiling_cases.case_6.json (100%) rename {anomaly-detector/tests => tests}/cases/json_profiling_cases.case_7.json (100%) rename {anomaly-detector/tests => tests}/cases/json_profiling_cases.case_8.json (100%) rename {anomaly-detector/tests => tests}/cases/json_profiling_cases.case_9.json (100%) rename {anomaly-detector/tests => tests}/cases/json_profiling_cases.test_profile_0.json (100%) rename {anomaly-detector/tests => tests}/cases/json_spectrum_period.entire_0.json (100%) rename {anomaly-detector/tests => tests}/cases/json_spectrum_period.last_0.json (100%) rename {anomaly-detector/tests => tests}/e2e_test_mvad.py (100%) rename {anomaly-detector/tests => tests}/e2e_test_uvad.py (100%) rename {anomaly-detector/tests => tests}/testCase/testCase_10000_20/config.yaml (100%) rename {anomaly-detector/tests => tests}/testCase/testCase_10000_20/inference_data_smaller_than_window.csv (100%) rename {anomaly-detector/tests => tests}/testCase/testCase_10000_20/invalid_timestamp.csv (100%) rename {anomaly-detector/tests => tests}/testCase/testCase_10000_20/invalid_value.csv (100%) rename {anomaly-detector/tests => tests}/testCase/testCase_10000_20/model.pkl (100%) rename {anomaly-detector/tests => tests}/testCase/testCase_10000_20/no_timestamp.csv (100%) rename {anomaly-detector/tests => tests}/testCase/testCase_10000_20/normal_data.csv (100%) rename {anomaly-detector/tests => tests}/test_demo.py (100%) rename {anomaly-detector/tests => tests}/uvad_test.py (99%) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 7ec6866..c418463 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -1,72 +1,94 @@ -name: Build and Release -on: - push: - tags: - - 'v*' - workflow_dispatch: - inputs: - branch: - description: 'Name of the branch to build and release' - required: true +name: Publish Python 🐍 distribution 📦 to PyPI and TestPyPI + +on: push jobs: build: - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [windows-latest, ubuntu-latest, macos-latest] - python-version: ['3.9', '3.10.8', '3.11'] + name: Build distribution 📦 + runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: - python-version: ${{ matrix.python-version }} - - - name: Install dependencies + python-version: "3.x" + - name: Install pypa/build run: | python -m pip install --upgrade pip - pip install setuptools wheel twine cython numpy - + pip install setuptools wheel twine - name: Build a binary wheel and a source tarball - run: | - python setup.py bdist_wheel sdist + run: python3 setup.py build sdist + - name: Store the distribution packages + uses: actions/upload-artifact@v3 + with: + name: python-package-distributions + path: dist/ - - name: Rename wheel for manylinux compatibility (Ubuntu only) - if: runner.os == 'Linux' - run: | - for file in *.whl; do - if [[ $file == *linux* ]]; then - mv "$file" "${file/-linux/-manylinux1}" - fi - done + publish-to-testpypi: + name: Publish Python 🐍 distribution 📦 to TestPyPI + if: startsWith(github.ref, 'refs/tags/') + needs: + - build + runs-on: ubuntu-latest + + environment: + name: release + url: https://test.pypi.org/p/time-series-anomaly-detector - - name: Publish artifacts - uses: actions/upload-artifact@v2 + permissions: + id-token: write # IMPORTANT: mandatory for trusted publishing + + steps: + - name: Download all the dists + uses: actions/download-artifact@v3 with: - name: dist + name: python-package-distributions path: dist/ + - name: Publish distribution 📦 to TestPyPI + uses: pypa/gh-action-pypi-publish@release/v1 + with: + repository-url: https://test.pypi.org/legacy/ - release: - needs: build + github-release: + name: >- + Sign the Python 🐍 distribution 📦 with Sigstore + and upload them to GitHub Release + needs: + - publish-to-testpypi runs-on: ubuntu-latest + permissions: - contents: write + contents: write # IMPORTANT: mandatory for making GitHub Releases + id-token: write # IMPORTANT: mandatory for sigstore + steps: - - name: Download artifacts - uses: actions/download-artifact@v2 + - name: Download all the dists + uses: actions/download-artifact@v3 with: - name: dist + name: python-package-distributions path: dist/ - - - name: Publish to GitHub Releases + - name: Sign the dists with Sigstore + uses: sigstore/gh-action-sigstore-python@v1.2.3 + with: + inputs: >- + ./dist/*.tar.gz + ./dist/*.whl + - name: Create GitHub Release + env: + GITHUB_TOKEN: ${{ github.token }} + run: >- + gh release create + '${{ github.ref_name }}' + --repo '${{ github.repository }}' + --notes "" + - name: Upload artifact signatures to GitHub Release env: - GITHUB_TOKEN: ${{ secrets.RELEASE_KEY }} + GITHUB_TOKEN: ${{ github.token }} + # Upload to GitHub Release using the `gh` CLI. + # `dist/` contains the built packages, and the + # sigstore-produced signatures and certificates. run: >- - pwd && ls -lh && ls -lh dist/ && - gh release create ${{ github.ref_name }} ./dist/* - "release binary and source artifacts" - --generate-notes - --title "Version ${{ github.ref_name }}" \ No newline at end of file + gh release upload + '${{ github.ref_name }}' dist/** + --repo '${{ github.repository }}' \ No newline at end of file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a961549..ba04c49 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,9 +18,10 @@ jobs: # This workflow contains a single job called "build" test: # The type of runner that the job will run on - runs-on: ubuntu-latest + runs-on: ${{matrix.os}} strategy: matrix: + os: ["ubuntu-latest", "windows", "macos"] python-version: ["3.9", "3.10.8", "3.11"] # Steps represent a sequence of tasks that will be executed as part of the job @@ -28,83 +29,23 @@ jobs: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v4 - - name: Install poetry - run: pipx install poetry - - name: setup python ${{matrix.python-version}} uses: actions/setup-python@v4 with: python-version: ${{matrix.python-version}} - cache: "poetry" - - - name: install dependence - working-directory: anomaly-detector - run: | - poetry env use ${{matrix.python-version}} - poetry lock --no-update - poetry install - - name: compile .pyx file + - name: install package run: | - pip install Cython - pip install numpy - python setup.py build_ext --inplace + python -m pip install -e . - name: run the test script - working-directory: anomaly-detector/tests + working-directory: tests run: | pip install pytest - poetry run pytest test_demo.py - poetry run python uvad_test.py + pytest test_demo.py + python uvad_test.py - name: Analyze code with pylint run: | pip install pylint - pylint --exit-zero $(git ls-files '*.py') - - test_on_setup_whl: - runs-on: ubuntu-latest - strategy: - matrix: - python-version: ["3.9", "3.10.8", "3.11"] - steps: - - uses: actions/checkout@v4 - - - name: setup python ${{matrix.python-version}} - uses: actions/setup-python@v4 - with: - python-version: ${{matrix.python-version}} - cache: "pip" - - - name: gen .whl file by setup - run: | - pip install Cython numpy setuptools wheel - python setup.py sdist bdist_wheel - - - name: install .whl file - run: pip install ./dist/*.whl - - - name: run the test script - working-directory: anomaly-detector/tests - run: | - pip install pytest - python test_demo.py - python uvad_test.py - - test_on_setup: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - name: install package by setup.py - run: | - pip install Cython - pip install numpy - pip install . - - - name: run the test script - working-directory: anomaly-detector/tests - run: | - pip install pytest - python test_demo.py - python uvad_test.py + pylint --exit-zero $(git ls-files '*.py') \ No newline at end of file diff --git a/.gitignore b/.gitignore index c1edabe..f05722f 100644 --- a/.gitignore +++ b/.gitignore @@ -399,13 +399,12 @@ FodyWeavers.xsd mlruns/ mlartifacts/ -model/ venv/ dist/ temp/ build/ time_series_anomaly_detector.egg-info/ -anomaly-detector/anomaly_detector/univariate/_anomaly_kernel_cython.c +#anomaly-detector/anomaly_detector/univariate/_anomaly_kernel_cython.c .idea/ *.so *.pyd diff --git a/MANIFEST.in b/MANIFEST.in index 342befa..4b8510f 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,10 +1 @@ -recursive-include ./anomaly-detector/*.pyx -recursive-include ./anomaly-detector/*.c -recursive-include ./anomaly-detector/*.h -recursive-include ./anomaly-detector/*.py -recursive-include ./anomaly-detector/*.txt -recursive-include ./anomaly-detector/anomaly_detector/univariate * -include ./README.md -include ./LICENSE -include ./requirements.txt -include ./setup.py \ No newline at end of file +recursive-include ./src/anomaly_detector/univariate * diff --git a/README.md b/README.md index e2749cf..ba920d0 100644 --- a/README.md +++ b/README.md @@ -11,11 +11,8 @@ Tested on ## Installing from pip ```bash -# install dependencies -pip install numpy>=1.23.5 Cython - -# then install time-series-anomaly-detector -pip install time-series-anomaly-detector +# install time-series-anomaly-detector +pip install time-series-anomaly-detector==0.2.3 ``` ## Installing from Source @@ -23,18 +20,9 @@ pip install time-series-anomaly-detector ```bash git clone https://github.com/microsoft/anomaly-detector.git -cd anomaly-detector +pip install -e . ``` - - - -```bash -pip install -r requirements.txt -python setup.py sdist bdist_wheel -pip install ./dist/*.whl -``` - ## Test ```bash diff --git a/anomaly-detector/README.md b/anomaly-detector/README.md deleted file mode 100644 index e69de29..0000000 diff --git a/anomaly-detector/anomaly_detector/univariate/util/critical_table.txt b/anomaly-detector/anomaly_detector/univariate/util/critical_table.txt deleted file mode 100644 index 22b60b5..0000000 --- a/anomaly-detector/anomaly_detector/univariate/util/critical_table.txt +++ /dev/null @@ -1 +0,0 @@ -[4.541395664215088, 4.541383743286133, 4.541372299194336, 4.541360378265381, 4.541348457336426, 4.541337013244629, 4.541325092315674, 4.541313171386719, 4.541301727294922, 4.541289806365967, 4.541277885437012, 4.541265964508057, 4.54125452041626, 4.541242599487305, 4.54123067855835, 4.541219234466553, 4.541207313537598, 4.541195392608643, 4.541183948516846, 4.541172027587891, 4.5411601066589355, 4.5411481857299805, 4.541136741638184, 4.5411248207092285, 4.541112899780273, 4.541101455688477, 4.5410895347595215, 4.541077613830566, 4.5410661697387695, 4.5410542488098145, 4.541042327880859, 4.541030406951904, 4.541018962860107, 4.541007041931152, 4.540995121002197, 4.540983200073242, 4.540971755981445, 4.54095983505249, 4.540947914123535, 4.540936470031738, 4.540924549102783, 4.540912628173828, 4.540900707244873, 4.540889263153076, 4.540877342224121, 4.540865421295166, 4.540853500366211, 4.540842056274414, 4.540830135345459, 4.540818214416504, 4.540806293487549, 4.540794849395752, 4.540782928466797, 4.540771007537842, 4.540759086608887, 4.54074764251709, 4.540735721588135, 4.54072380065918, 4.540711879730225, 4.540700435638428, 4.540688514709473, 4.540676593780518, 4.5406646728515625, 4.540653228759766, 4.5406413078308105, 4.5406293869018555, 4.5406174659729, 4.540605545043945, 4.540594100952148, 4.540582180023193, 4.540570259094238, 4.540558338165283, 4.540546894073486, 4.540534973144531, 4.540523052215576, 4.540511131286621, 4.540499210357666, 4.540487766265869, 4.540475845336914, 4.540463924407959, 4.540452003479004, 4.540440559387207, 4.540428638458252, 4.540416717529297, 4.540404796600342, 4.540392875671387, 4.54038143157959, 4.540369510650635, 4.54035758972168, 4.540345668792725, 4.5403337478637695, 4.540322303771973, 4.540310382843018, 4.5402984619140625, 4.540286540985107, 4.540274620056152, 4.540262699127197, 4.5402512550354, 4.540239334106445, 4.54022741317749, 4.540215492248535, 4.54020357131958, 4.540192127227783, 4.540180206298828, 4.540168285369873, 4.540156364440918, 4.540144443511963, 4.540132522583008, 4.540121078491211, 4.540109157562256, 4.540097236633301, 4.540085315704346, 4.540073394775391, 4.5400614738464355, 4.540050029754639, 4.540038108825684, 4.5400261878967285, 4.540014266967773, 4.540002346038818, 4.539990425109863, 4.539978981018066, 4.539967060089111, 4.539955139160156, 4.539943218231201, 4.539931297302246, 4.539919376373291, 4.539907455444336, 4.539896011352539, 4.539884090423584, 4.539872169494629, 4.539860248565674, 4.539848327636719, 4.539836406707764, 4.539824485778809, 4.5398125648498535, 4.539801120758057, 4.539789199829102, 4.5397772789001465, 4.539765357971191, 4.539753437042236, 4.539741516113281, 4.539729595184326, 4.539717674255371, 4.539706230163574, 4.539694309234619, 4.539682388305664, 4.539670467376709, 4.539658546447754, 4.539646625518799, 4.539634704589844, 4.539622783660889, 4.539610862731934, 4.539599418640137, 4.539587497711182, 4.539575576782227, 4.5395636558532715, 4.539551734924316, 4.539539813995361, 4.539527893066406, 4.539515972137451, 4.539504051208496, 4.539492130279541, 4.539480686187744, 4.539468765258789, 4.539456844329834, 4.539444923400879, 4.539433002471924, 4.539421081542969, 4.539409160614014, 4.539397239685059, 4.5393853187561035, 4.539373397827148, 4.539361476898193, 4.539349555969238, 4.539338111877441, 4.539326190948486, 4.539314270019531, 4.539302349090576, 4.539290428161621, 4.539278507232666, 4.539266586303711, 4.539254665374756, 4.539242744445801, 4.539230823516846, 4.539218902587891, 4.5392069816589355, 4.5391950607299805, 4.539183139801025, 4.53917121887207, 4.539159297943115, 4.53914737701416, 4.539135932922363, 4.539124011993408, 4.539112091064453, 4.539100170135498, 4.539088249206543, 4.539076328277588, 4.539064407348633, 4.539052486419678, 4.539040565490723, 4.539028644561768, 4.5390167236328125, 4.539004802703857, 4.538992881774902, 4.538980960845947, 4.538969039916992, 4.538957118988037, 4.538945198059082, 4.538933277130127, 4.538921356201172, 4.538909435272217, 4.538897514343262, 4.538885593414307, 4.538873672485352, 4.5388617515563965, 4.538849830627441, 4.538837909698486, 4.538825988769531, 4.538814067840576, 4.538802146911621, 4.538790225982666, 4.538778305053711, 4.538766384124756, 4.538754463195801, 4.538742542266846, 4.538730621337891, 4.5387187004089355, 4.5387067794799805, 4.538694858551025, 4.53868293762207, 4.538671016693115, 4.53865909576416, 4.538647174835205, 4.53863525390625, 4.538623332977295, 4.53861141204834, 4.538599491119385, 4.53858757019043, 4.538575649261475, 4.5385637283325195, 4.5385518074035645, 4.538539886474609, 4.538527965545654, 4.538516044616699, 4.538504123687744, 4.538492202758789, 4.538480281829834, 4.538468360900879, 4.538456439971924, 4.538444519042969, 4.538432598114014, 4.538420677185059, 4.5384087562561035, 4.538396835327148, 4.538384914398193, 4.538372993469238, 4.538360595703125, 4.53834867477417, 4.538336753845215, 4.53832483291626, 4.538312911987305, 4.53830099105835, 4.5382890701293945, 4.5382771492004395, 4.538265228271484, 4.538253307342529, 4.538241386413574, 4.538229465484619, 4.538217544555664, 4.538205623626709, 4.538193702697754, 4.538181781768799, 4.538169860839844, 4.5381574630737305, 4.538145542144775, 4.53813362121582, 4.538121700286865, 4.53810977935791, 4.538097858428955, 4.5380859375, 4.538074016571045, 4.53806209564209, 4.538050174713135, 4.53803825378418, 4.538026332855225, 4.538013935089111, 4.538002014160156, 4.537990093231201, 4.537978172302246, 4.537966251373291, 4.537954330444336, 4.537942409515381, 4.537930488586426, 4.537918567657471, 4.537906646728516, 4.537894248962402, 4.537882328033447, 4.537870407104492, 4.537858486175537, 4.537846565246582, 4.537834644317627, 4.537822723388672, 4.537810802459717, 4.537798881530762, 4.537786483764648, 4.537774562835693, 4.537762641906738, 4.537750720977783, 4.537738800048828, 4.537726879119873, 4.537714958190918, 4.537703037261963, 4.53769063949585, 4.5376787185668945, 4.5376667976379395, 4.537654876708984, 4.537642955780029, 4.537631034851074, 4.537619113922119, 4.537606716156006, 4.537594795227051, 4.537582874298096, 4.537570953369141, 4.5375590324401855, 4.5375471115112305, 4.537535190582275, 4.537522792816162, 4.537510871887207, 4.537498950958252, 4.537487030029297, 4.537475109100342, 4.537463188171387, 4.537451267242432, 4.537438869476318, 4.537426948547363, 4.537415027618408, 4.537403106689453, 4.537391185760498, 4.537379264831543, 4.53736686706543, 4.537354946136475, 4.5373430252075195, 4.5373311042785645, 4.537319183349609, 4.537306785583496, 4.537294864654541, 4.537282943725586, 4.537271022796631, 4.537259101867676, 4.537247180938721, 4.537234783172607, 4.537222862243652, 4.537210941314697, 4.537199020385742, 4.537187099456787, 4.537174701690674, 4.537162780761719, 4.537150859832764, 4.537138938903809, 4.5371270179748535, 4.53711462020874, 4.537102699279785, 4.53709077835083, 4.537078857421875, 4.53706693649292, 4.537054538726807, 4.537042617797852, 4.5370306968688965, 4.537018775939941, 4.537006855010986, 4.536994457244873, 4.536982536315918, 4.536970615386963, 4.536958694458008, 4.5369462966918945, 4.5369343757629395, 4.536922454833984, 4.536910533905029, 4.536898612976074, 4.536886215209961, 4.536874294281006, 4.536862373352051, 4.536850452423096, 4.536838054656982, 4.536826133728027, 4.536814212799072, 4.536802291870117, 4.536789894104004, 4.536777973175049, 4.536766052246094, 4.536754131317139, 4.536741733551025, 4.53672981262207, 4.536717891693115, 4.53670597076416, 4.536693572998047, 4.536681652069092, 4.536669731140137, 4.536657810211182, 4.536645412445068, 4.536633491516113, 4.536621570587158, 4.536609649658203, 4.53659725189209, 4.536585330963135, 4.53657341003418, 4.536561012268066, 4.536549091339111, 4.536537170410156, 4.536525249481201, 4.536512851715088, 4.536500930786133, 4.536489009857178, 4.536477088928223, 4.536464691162109, 4.536452770233154, 4.536440849304199, 4.536428451538086, 4.536416530609131, 4.536404609680176, 4.536392688751221, 4.536380290985107, 4.536368370056152, 4.536356449127197, 4.536344051361084, 4.536332130432129, 4.536320209503174, 4.5363078117370605, 4.5362958908081055, 4.53628396987915, 4.536272048950195, 4.536259651184082, 4.536247730255127, 4.536235809326172, 4.536223411560059, 4.5362114906311035, 4.536199569702148, 4.536187171936035, 4.53617525100708, 4.536163330078125, 4.536150932312012, 4.536139011383057, 4.536127090454102, 4.536114692687988, 4.536102771759033, 4.536090850830078, 4.536078453063965, 4.53606653213501, 4.536054611206055, 4.536042213439941, 4.536030292510986, 4.536018371582031, 4.536005973815918, 4.535994052886963, 4.535982131958008, 4.5359697341918945, 4.5359578132629395, 4.535945892333984, 4.535933494567871, 4.535921573638916, 4.535909652709961, 4.535897254943848, 4.535885334014893, 4.5358734130859375, 4.535861015319824, 4.535849094390869, 4.535836696624756, 4.535824775695801, 4.535812854766846, 4.535800457000732, 4.535788536071777, 4.535776615142822, 4.535764217376709, 4.535752296447754, 4.535739898681641, 4.5357279777526855, 4.5357160568237305, 4.535703659057617, 4.535691738128662, 4.535679817199707, 4.535667419433594, 4.535655498504639, 4.535643100738525, 4.53563117980957, 4.535619258880615, 4.535606861114502, 4.535594940185547, 4.535582542419434, 4.5355706214904785, 4.535558700561523, 4.53554630279541, 4.535534381866455, 4.535521984100342, 4.535510063171387, 4.535498142242432, 4.535485744476318, 4.535473823547363, 4.53546142578125, 4.535449504852295, 4.53543758392334, 4.535425186157227, 4.5354132652282715, 4.535400867462158, 4.535388946533203, 4.535377025604248, 4.535364627838135, 4.53535270690918, 4.535340309143066, 4.535328388214111, 4.535315990447998, 4.535304069519043, 4.535292148590088, 4.535279750823975, 4.5352678298950195, 4.535255432128906, 4.535243511199951, 4.535231113433838, 4.535219192504883, 4.535207271575928, 4.5351948738098145, 4.535182952880859, 4.535170555114746, 4.535158634185791, 4.535146236419678, 4.535134315490723, 4.535121917724609, 4.535109996795654, 4.535097599029541, 4.535085678100586, 4.535073757171631, 4.535061359405518, 4.5350494384765625, 4.535037040710449, 4.535025119781494, 4.535012722015381, 4.535000801086426, 4.5349884033203125, 4.534976482391357, 4.534964084625244, 4.534952163696289, 4.534939765930176, 4.534927845001221, 4.534915447235107, 4.534903526306152, 4.534891605377197, 4.534879207611084, 4.534867286682129, 4.534854888916016, 4.5348429679870605, 4.534830570220947, 4.534818649291992, 4.534806251525879, 4.534794330596924, 4.5347819328308105, 4.5347700119018555, 4.534757614135742, 4.534745693206787, 4.534733295440674, 4.534721374511719, 4.5347089767456055, 4.53469705581665, 4.534684658050537, 4.534672737121582, 4.534660339355469, 4.534648418426514, 4.5346360206604, 4.534624099731445, 4.534611701965332, 4.534599781036377, 4.534587383270264, 4.53457498550415, 4.534563064575195, 4.534550666809082, 4.534538745880127, 4.534526348114014, 4.534514427185059, 4.534502029418945, 4.53449010848999, 4.534477710723877, 4.534465789794922, 4.534453392028809, 4.5344414710998535, 4.53442907333374, 4.534417152404785, 4.534404754638672, 4.534392356872559, 4.5343804359436035, 4.53436803817749, 4.534356117248535, 4.534343719482422, 4.534331798553467, 4.5343194007873535, 4.534307479858398, 4.534295082092285, 4.53428316116333, 4.534270763397217, 4.5342583656311035, 4.534246444702148, 4.534234046936035, 4.53422212600708, 4.534209728240967, 4.534197807312012, 4.534185409545898, 4.534173011779785, 4.53416109085083, 4.534148693084717, 4.534136772155762, 4.534124374389648, 4.534112453460693, 4.53410005569458, 4.534087657928467, 4.534075736999512, 4.534063339233398, 4.534051418304443, 4.53403902053833, 4.534026622772217, 4.534014701843262, 4.534002304077148, 4.533990383148193, 4.53397798538208, 4.533965587615967, 4.533953666687012, 4.533941268920898, 4.533929347991943, 4.53391695022583, 4.533904552459717, 4.533892631530762, 4.533880233764648, 4.533868312835693, 4.53385591506958, 4.533843517303467, 4.533831596374512, 4.533819198608398, 4.533807277679443, 4.53379487991333, 4.533782482147217, 4.533770561218262, 4.533758163452148, 4.533745765686035, 4.53373384475708, 4.533721446990967, 4.533709526062012, 4.533697128295898, 4.533684730529785, 4.53367280960083, 4.533660411834717, 4.5336480140686035, 4.533636093139648, 4.533623695373535, 4.533611297607422, 4.533599376678467, 4.5335869789123535, 4.533575057983398, 4.533562660217285, 4.533550262451172, 4.533538341522217, 4.5335259437561035, 4.53351354598999, 4.533501625061035, 4.533489227294922, 4.533476829528809, 4.5334649085998535, 4.53345251083374, 4.533440113067627, 4.533428192138672, 4.533415794372559, 4.533403396606445, 4.53339147567749, 4.533379077911377, 4.533366680145264, 4.533354759216309, 4.533342361450195, 4.533329963684082, 4.533318042755127, 4.533305644989014, 4.5332932472229, 4.533281326293945, 4.533268928527832, 4.533256530761719, 4.533244609832764, 4.53323221206665, 4.533219814300537, 4.533207416534424, 4.533195495605469, 4.5331830978393555, 4.533170700073242, 4.533158779144287, 4.533146381378174, 4.5331339836120605, 4.5331220626831055, 4.533109664916992, 4.533097267150879, 4.533084869384766, 4.5330729484558105, 4.533060550689697, 4.533048152923584, 4.533036231994629, 4.533023834228516, 4.533011436462402, 4.532999038696289, 4.532987117767334, 4.532974720001221, 4.532962322235107, 4.532950401306152, 4.532938003540039, 4.532925605773926, 4.5329132080078125, 4.532901287078857, 4.532888889312744, 4.532876491546631, 4.532864093780518, 4.5328521728515625, 4.532839775085449, 4.532827377319336, 4.532814979553223, 4.532803058624268, 4.532790660858154, 4.532778263092041, 4.532765865325928, 4.532753944396973, 4.532741546630859, 4.532729148864746, 4.532716751098633, 4.532704830169678, 4.5326924324035645, 4.532680034637451, 4.532667636871338, 4.532655715942383, 4.5326433181762695, 4.532630920410156, 4.532618522644043, 4.532606601715088, 4.532594203948975, 4.532581806182861, 4.532569408416748, 4.532557010650635, 4.53254508972168, 4.532532691955566, 4.532520294189453, 4.53250789642334, 4.532495975494385, 4.5324835777282715, 4.532471179962158, 4.532458782196045, 4.532446384429932, 4.532434463500977, 4.532422065734863, 4.53240966796875, 4.532397270202637, 4.532384872436523, 4.532372951507568, 4.532360553741455, 4.532348155975342, 4.5323357582092285, 4.532323360443115, 4.53231143951416, 4.532299041748047, 4.532286643981934, 4.53227424621582, 4.532261848449707, 4.532249927520752, 4.532237529754639, 4.532225131988525, 4.532212734222412, 4.532200336456299, 4.5321879386901855, 4.5321760177612305, 4.532163619995117, 4.532151222229004, 4.532138824462891, 4.532126426696777, 4.532114028930664, 4.532102108001709, 4.532089710235596, 4.532077312469482, 4.532064914703369, 4.532052516937256, 4.532040119171143, 4.5320281982421875, 4.532015800476074, 4.532003402709961, 4.531991004943848, 4.531978607177734, 4.531966209411621, 4.531954288482666, 4.531941890716553, 4.5319294929504395, 4.531917095184326, 4.531904697418213, 4.5318922996521, 4.531879901885986, 4.531867980957031, 4.531855583190918, 4.531843185424805, 4.531830787658691, 4.531818389892578, 4.531805992126465, 4.531793594360352, 4.531781196594238, 4.531769275665283, 4.53175687789917, 4.531744480133057, 4.531732082366943, 4.53171968460083, 4.531707286834717, 4.5316948890686035, 4.53168249130249, 4.531670093536377, 4.531658172607422, 4.531645774841309, 4.531633377075195, 4.531620979309082, 4.531608581542969, 4.5315961837768555, 4.531583786010742, 4.531571388244629, 4.531558990478516, 4.5315470695495605, 4.531534671783447, 4.531522274017334, 4.531509876251221, 4.531497478485107, 4.531485080718994, 4.531472682952881, 4.531460285186768, 4.531447887420654, 4.531435489654541, 4.531423091888428, 4.5314106941223145, 4.531398773193359, 4.531386375427246, 4.531373977661133, 4.5313615798950195, 4.531349182128906, 4.531336784362793, 4.53132438659668, 4.531311988830566, 4.531299591064453, 4.53128719329834, 4.531274795532227, 4.531262397766113, 4.53125, 4.531237602233887, 4.531225204467773, 4.53121280670166, 4.531200885772705, 4.531188488006592, 4.5311760902404785, 4.531163692474365, 4.531151294708252, 4.531138896942139, 4.531126499176025, 4.531114101409912, 4.531101703643799, 4.5310893058776855, 4.531076908111572, 4.531064510345459, 4.531052112579346, 4.531039714813232, 4.531027317047119, 4.531014919281006, 4.531002521514893, 4.530990123748779, 4.530977725982666, 4.530965328216553, 4.5309529304504395, 4.530940532684326, 4.530928134918213, 4.5309157371521, 4.530903339385986, 4.530890941619873, 4.53087854385376, 4.5308661460876465, 4.530853748321533, 4.53084135055542, 4.530828952789307, 4.530816555023193, 4.53080415725708, 4.530791759490967, 4.5307793617248535, 4.53076696395874, 4.530754566192627, 4.530742168426514, 4.5307297706604, 4.530717372894287, 4.530704975128174, 4.5306925773620605, 4.530680179595947, 4.530667781829834, 4.530655384063721, 4.530642986297607, 4.530630588531494, 4.530618190765381, 4.530605792999268, 4.530593395233154, 4.530580997467041, 4.530568599700928, 4.5305562019348145, 4.530543804168701, 4.530531406402588, 4.530519008636475, 4.530506610870361, 4.530494213104248, 4.530481815338135, 4.5304694175720215, 4.530457019805908, 4.530444622039795, 4.530432224273682, 4.530419826507568, 4.530407428741455, 4.530394554138184, 4.53038215637207, 4.530369758605957, 4.530357360839844, 4.5303449630737305, 4.530332565307617, 4.530320167541504, 4.530307769775391, 4.530295372009277, 4.530282974243164, 4.530270576477051, 4.5302581787109375, 4.530245780944824, 4.530233383178711, 4.530220985412598, 4.530208110809326, 4.530195713043213, 4.5301833152771, 4.530170917510986, 4.530158519744873, 4.53014612197876, 4.5301337242126465, 4.530121326446533, 4.53010892868042, 4.530096530914307, 4.530084133148193, 4.53007173538208, 4.530058860778809, 4.530046463012695, 4.530034065246582, 4.530021667480469, 4.5300092697143555, 4.529996871948242, 4.529984474182129, 4.529972076416016, 4.529959678649902, 4.529947280883789, 4.529934406280518, 4.529922008514404, 4.529909610748291, 4.529897212982178, 4.5298848152160645, 4.529872417449951, 4.529860019683838, 4.529847621917725, 4.529834747314453, 4.52982234954834, 4.529809951782227, 4.529797554016113, 4.52978515625, 4.529772758483887, 4.529760360717773, 4.52974796295166, 4.529735088348389, 4.529722690582275, 4.529710292816162, 4.529697895050049, 4.5296854972839355, 4.529673099517822, 4.529660701751709, 4.5296478271484375, 4.529635429382324, 4.529623031616211, 4.529610633850098, 4.529598236083984, 4.529585838317871, 4.5295729637146, 4.529560565948486, 4.529548168182373, 4.52953577041626, 4.5295233726501465, 4.529510974884033, 4.529498100280762, 4.529485702514648, 4.529473304748535, 4.529460906982422, 4.529448509216309, 4.529436111450195, 4.529423236846924, 4.5294108390808105, 4.529398441314697, 4.529386043548584, 4.529373645782471, 4.529361248016357, 4.529348373413086, 4.529335975646973, 4.529323577880859, 4.529311180114746, 4.529298782348633, 4.529285907745361, 4.529273509979248, 4.529261112213135, 4.5292487144470215, 4.529236316680908, 4.529223442077637, 4.529211044311523, 4.52919864654541, 4.529186248779297, 4.529173851013184, 4.529160976409912, 4.529148578643799, 4.5291361808776855, 4.529123783111572, 4.529110908508301, 4.5290985107421875, 4.529086112976074, 4.529073715209961, 4.529061317443848, 4.529048442840576, 4.529036045074463, 4.52902364730835, 4.529011249542236, 4.528998374938965, 4.528985977172852, 4.528973579406738, 4.528961181640625, 4.528948783874512, 4.52893590927124, 4.528923511505127, 4.528911113739014, 4.5288987159729, 4.528885841369629, 4.528873443603516, 4.528861045837402, 4.528848648071289, 4.528835773468018, 4.528823375701904, 4.528810977935791, 4.528798580169678, 4.528785705566406, 4.528773307800293, 4.52876091003418, 4.528748035430908, 4.528735637664795, 4.528723239898682, 4.528710842132568, 4.528697967529297, 4.528685569763184, 4.52867317199707, 4.528660774230957, 4.5286478996276855, 4.528635501861572, 4.528623104095459, 4.5286102294921875, 4.528597831726074, 4.528585433959961, 4.528573036193848, 4.528560161590576, 4.528547763824463, 4.52853536605835, 4.528522491455078, 4.528510093688965, 4.528497695922852, 4.528485298156738, 4.528472423553467, 4.5284600257873535, 4.52844762802124, 4.528434753417969, 4.5284223556518555, 4.528409957885742, 4.528397083282471, 4.528384685516357, 4.528372287750244, 4.528359413146973, 4.528347015380859, 4.528334617614746, 4.528322219848633, 4.528309345245361, 4.528296947479248, 4.528284549713135, 4.528271675109863, 4.52825927734375, 4.528246879577637, 4.528234004974365, 4.528221607208252, 4.528209209442139, 4.528196334838867, 4.528183937072754, 4.528171539306641, 4.528158664703369, 4.528146266937256, 4.528133869171143, 4.528120994567871, 4.528108596801758, 4.528095722198486, 4.528083324432373, 4.52807092666626, 4.528058052062988, 4.528045654296875, 4.528033256530762, 4.52802038192749, 4.528007984161377, 4.527995586395264, 4.527982711791992, 4.527970314025879, 4.527957916259766, 4.527945041656494, 4.527932643890381, 4.527919769287109, 4.527907371520996, 4.527894973754883, 4.527882099151611, 4.527869701385498, 4.527857303619385, 4.527844429016113, 4.52783203125, 4.5278191566467285, 4.527806758880615, 4.527794361114502, 4.5277814865112305, 4.527769088745117, 4.527756214141846, 4.527743816375732, 4.527731418609619, 4.527718544006348, 4.527706146240234, 4.527693271636963, 4.52768087387085, 4.527668476104736, 4.527655601501465, 4.527643203735352, 4.52763032913208, 4.527617931365967, 4.5276055335998535, 4.527592658996582, 4.527580261230469, 4.527567386627197, 4.527554988861084, 4.5275421142578125, 4.527529716491699, 4.527517318725586, 4.5275044441223145, 4.527492046356201, 4.52747917175293, 4.527466773986816, 4.527453899383545, 4.527441501617432, 4.527429103851318, 4.527416229248047, 4.527403831481934, 4.527390956878662, 4.527378559112549, 4.527365684509277, 4.527353286743164, 4.527340888977051, 4.527328014373779, 4.527315616607666, 4.5273027420043945, 4.527290344238281, 4.52727746963501, 4.5272650718688965, 4.527252197265625, 4.527239799499512, 4.52722692489624, 4.527214527130127, 4.5272016525268555, 4.527189254760742, 4.527176856994629, 4.527163982391357, 4.527151584625244, 4.527138710021973, 4.527126312255859, 4.527113437652588, 4.527101039886475, 4.527088165283203, 4.52707576751709, 4.527062892913818, 4.527050495147705, 4.527037620544434, 4.52702522277832, 4.527012348175049, 4.5269999504089355, 4.526987075805664, 4.526974678039551, 4.526961803436279, 4.526949405670166, 4.5269365310668945, 4.526924133300781, 4.52691125869751, 4.5268988609313965, 4.526885986328125, 4.526873588562012, 4.52686071395874, 4.526848316192627, 4.5268354415893555, 4.526823043823242, 4.526810169219971, 4.526797771453857, 4.526784896850586, 4.526772499084473, 4.526759624481201, 4.526747226715088, 4.526734352111816, 4.526721954345703, 4.526709079742432, 4.526696681976318, 4.526683807373047, 4.526670932769775, 4.526658535003662, 4.526645660400391, 4.526633262634277, 4.526620388031006, 4.526607990264893, 4.526595115661621, 4.526582717895508, 4.526569843292236, 4.526557445526123, 4.526544570922852, 4.52653169631958, 4.526519298553467, 4.526506423950195, 4.526494026184082, 4.5264811515808105, 4.526468753814697, 4.526455879211426, 4.5264434814453125, 4.526430606842041, 4.5264177322387695, 4.526405334472656, 4.526392459869385, 4.5263800621032715, 4.5263671875, 4.526354789733887, 4.526341915130615, 4.526329040527344, 4.5263166427612305, 4.526303768157959, 4.526291370391846, 4.526278495788574, 4.526265621185303, 4.5262532234191895, 4.526240348815918, 4.526227951049805, 4.526215076446533, 4.526202201843262, 4.526189804077148, 4.526176929473877, 4.526164531707764, 4.526151657104492, 4.526138782501221, 4.526126384735107, 4.526113510131836, 4.526101112365723, 4.526088237762451, 4.52607536315918, 4.526062965393066, 4.526050090789795, 4.526037693023682, 4.52602481842041, 4.526011943817139, 4.525999546051025, 4.525986671447754, 4.525973796844482, 4.525961399078369, 4.525948524475098, 4.525936126708984, 4.525923252105713, 4.525910377502441, 4.525897979736328, 4.525885105133057, 4.525872230529785, 4.525859832763672, 4.5258469581604, 4.525834083557129, 4.525821685791016, 4.525808811187744, 4.525796413421631, 4.525783538818359, 4.525770664215088, 4.525758266448975, 4.525745391845703, 4.525732517242432, 4.525720119476318, 4.525707244873047, 4.525694370269775, 4.525681972503662, 4.525669097900391, 4.525656223297119, 4.525643825531006, 4.525630950927734, 4.525618076324463, 4.52560567855835, 4.525592803955078, 4.525579929351807, 4.525567531585693, 4.525554656982422, 4.52554178237915, 4.525528907775879, 4.525516510009766, 4.525503635406494, 4.525490760803223, 4.525478363037109, 4.525465488433838, 4.525452613830566, 4.525440216064453, 4.525427341461182, 4.52541446685791, 4.525402069091797, 4.525389194488525, 4.525376319885254, 4.525363445281982, 4.525351047515869, 4.525338172912598, 4.525325298309326, 4.525312900543213, 4.525300025939941, 4.52528715133667, 4.525274276733398, 4.525261878967285, 4.525249004364014, 4.525236129760742, 4.525223731994629, 4.525210857391357, 4.525197982788086, 4.5251851081848145, 4.525172710418701, 4.52515983581543, 4.525146961212158, 4.525134086608887, 4.525121688842773, 4.525108814239502, 4.5250959396362305, 4.525083065032959, 4.525070667266846, 4.525057792663574, 4.525044918060303, 4.525032043457031, 4.525019645690918, 4.5250067710876465, 4.524993896484375, 4.5249810218811035, 4.52496862411499, 4.524955749511719, 4.524942874908447, 4.524930000305176, 4.5249176025390625, 4.524904727935791, 4.5248918533325195, 4.524878978729248, 4.524866580963135, 4.524853706359863, 4.524840831756592, 4.52482795715332, 4.524815082550049, 4.5248026847839355, 4.524789810180664, 4.524776935577393, 4.524764060974121, 4.524751663208008, 4.524738788604736, 4.524725914001465, 4.524713039398193, 4.524700164794922, 4.524687767028809, 4.524674892425537, 4.524662017822266, 4.524649143218994, 4.524636268615723, 4.524623870849609, 4.524610996246338, 4.524598121643066, 4.524585247039795, 4.524572372436523, 4.52455997467041, 4.524547100067139, 4.524534225463867, 4.524521350860596, 4.524508476257324, 4.524495601654053, 4.5244832038879395, 4.524470329284668, 4.5244574546813965, 4.524444580078125, 4.5244317054748535, 4.524418830871582, 4.524406433105469, 4.524393558502197, 4.524380683898926, 4.524367809295654, 4.524354934692383, 4.524342060089111, 4.524329662322998, 4.524316787719727, 4.524303913116455, 4.524291038513184, 4.524278163909912, 4.524265289306641, 4.524252891540527, 4.524240016937256, 4.524227142333984, 4.524214267730713, 4.524201393127441, 4.52418851852417, 4.524175643920898, 4.524163246154785, 4.524150371551514, 4.524137496948242, 4.524124622344971, 4.524111747741699, 4.524098873138428, 4.524085998535156, 4.524073123931885, 4.5240607261657715, 4.5240478515625, 4.5240349769592285, 4.524022102355957, 4.5240092277526855, 4.523996353149414, 4.523983478546143, 4.523970603942871, 4.5239577293396, 4.523945331573486, 4.523932456970215, 4.523919582366943, 4.523906707763672, 4.5238938331604, 4.523880958557129, 4.523868083953857, 4.523855209350586, 4.5238423347473145, 4.523829460144043, 4.52381706237793, 4.523804187774658, 4.523791313171387, 4.523778438568115, 4.523765563964844, 4.523752689361572, 4.523739814758301, 4.523726940155029, 4.523714065551758, 4.523701190948486, 4.523688316345215, 4.523675441741943, 4.523662567138672, 4.523650169372559, 4.523637294769287, 4.523624420166016, 4.523611545562744, 4.523598670959473, 4.523585796356201, 4.52357292175293, 4.523560047149658, 4.523547172546387, 4.523534297943115, 4.523521423339844, 4.523508548736572, 4.523495674133301, 4.523482799530029, 4.523469924926758, 4.523457050323486, 4.523444175720215, 4.523431301116943, 4.523418426513672, 4.5234055519104, 4.523393154144287, 4.523380279541016, 4.523367404937744, 4.523354530334473, 4.523341655731201, 4.52332878112793, 4.523315906524658, 4.523303031921387, 4.523290157318115, 4.523277282714844, 4.523264408111572, 4.523251533508301, 4.523238658905029, 4.523225784301758, 4.523212909698486, 4.523200035095215, 4.523187160491943, 4.523174285888672, 4.5231614112854, 4.523148536682129, 4.523135662078857, 4.523122787475586, 4.5231099128723145, 4.523097038269043, 4.5230841636657715, 4.5230712890625, 4.5230584144592285, 4.523045539855957, 4.5230326652526855, 4.523019790649414, 4.523006916046143, 4.522994041442871, 4.5229811668396, 4.522968292236328, 4.522955417633057, 4.522942543029785, 4.522929668426514, 4.522916793823242, 4.522903919219971, 4.522890567779541, 4.5228776931762695, 4.522864818572998, 4.522851943969727, 4.522839069366455, 4.522826194763184, 4.522813320159912, 4.522800445556641, 4.522787570953369, 4.522774696350098, 4.522761821746826, 4.522748947143555, 4.522736072540283, 4.522723197937012, 4.52271032333374, 4.522697448730469, 4.522684574127197, 4.522671699523926, 4.522658824920654, 4.522645950317383, 4.522632598876953, 4.522619724273682, 4.52260684967041, 4.522593975067139, 4.522581100463867, 4.522568225860596, 4.522555351257324, 4.522542476654053, 4.522529602050781, 4.52251672744751, 4.522503852844238, 4.522490978240967, 4.522477626800537, 4.522464752197266, 4.522451877593994, 4.522439002990723, 4.522426128387451, 4.52241325378418, 4.522400379180908, 4.522387504577637, 4.522374629974365, 4.522361755371094, 4.522348880767822, 4.522335529327393, 4.522322654724121, 4.52230978012085, 4.522296905517578, 4.522284030914307, 4.522271156311035, 4.522258281707764, 4.522245407104492, 4.5222320556640625, 4.522219181060791, 4.5222063064575195, 4.522193431854248, 4.522180557250977, 4.522167682647705, 4.522154808044434, 4.522141933441162, 4.522128582000732, 4.522115707397461, 4.5221028327941895, 4.522089958190918, 4.5220770835876465, 4.522064208984375, 4.5220513343811035, 4.522037982940674, 4.522025108337402, 4.522012233734131, 4.521999359130859, 4.521986484527588, 4.521973609924316, 4.521960735321045, 4.521947383880615, 4.521934509277344, 4.521921634674072, 4.521908760070801, 4.521895885467529, 4.521883010864258, 4.521869659423828, 4.521856784820557, 4.521843910217285, 4.521831035614014, 4.521818161010742, 4.5218048095703125, 4.521791934967041, 4.5217790603637695, 4.521766185760498, 4.521753311157227, 4.521740436553955, 4.521727085113525, 4.521714210510254, 4.521701335906982, 4.521688461303711, 4.5216755867004395, 4.52166223526001, 4.521649360656738, 4.521636486053467, 4.521623611450195, 4.521610736846924, 4.521597385406494, 4.521584510803223, 4.521571636199951, 4.52155876159668, 4.521545886993408, 4.5215325355529785, 4.521519660949707, 4.5215067863464355, 4.521493911743164, 4.521480560302734, 4.521467685699463, 4.521454811096191, 4.52144193649292, 4.521429061889648, 4.521415710449219, 4.521402835845947, 4.521389961242676, 4.521377086639404, 4.521363735198975, 4.521350860595703, 4.521337985992432, 4.52132511138916, 4.5213117599487305, 4.521298885345459, 4.5212860107421875, 4.521273136138916, 4.521259784698486, 4.521246910095215, 4.521234035491943, 4.521221160888672, 4.521207809448242, 4.521194934844971, 4.521182060241699, 4.521169185638428, 4.521155834197998, 4.521142959594727, 4.521130084991455, 4.521117210388184, 4.521103858947754, 4.521090984344482, 4.521078109741211, 4.521064758300781, 4.52105188369751, 4.521039009094238, 4.521026134490967, 4.521012783050537, 4.520999908447266, 4.520987033843994, 4.5209736824035645, 4.520960807800293, 4.5209479331970215, 4.52093505859375, 4.52092170715332, 4.520908832550049, 4.520895957946777, 4.520882606506348, 4.520869731903076, 4.520856857299805, 4.520843505859375, 4.5208306312561035, 4.520817756652832, 4.5208048820495605, 4.520791530609131, 4.520778656005859, 4.520765781402588, 4.520752429962158, 4.520739555358887, 4.520726680755615, 4.5207133293151855, 4.520700454711914, 4.520687580108643, 4.520674228668213, 4.520661354064941, 4.52064847946167, 4.52063512802124, 4.520622253417969, 4.520609378814697, 4.520596027374268, 4.520583152770996, 4.520570278167725, 4.520556926727295, 4.520544052124023, 4.520531177520752, 4.520517826080322, 4.520504951477051, 4.520491600036621, 4.52047872543335, 4.520465850830078, 4.520452499389648, 4.520439624786377, 4.5204267501831055, 4.520413398742676, 4.520400524139404, 4.520387649536133, 4.520374298095703, 4.520361423492432, 4.520348072052002, 4.5203351974487305, 4.520322322845459, 4.520308971405029, 4.520296096801758, 4.520283222198486, 4.520269870758057, 4.520256996154785, 4.5202436447143555, 4.520230770111084, 4.5202178955078125, 4.520204544067383, 4.520191669464111, 4.520178318023682, 4.52016544342041, 4.520152568817139, 4.520139217376709, 4.5201263427734375, 4.520112991333008, 4.520100116729736, 4.520087242126465, 4.520073890686035, 4.520061016082764, 4.520047664642334, 4.5200347900390625, 4.520021915435791, 4.520008563995361, 4.51999568939209, 4.51998233795166, 4.519969463348389, 4.519956111907959, 4.5199432373046875, 4.519930362701416, 4.519917011260986, 4.519904136657715, 4.519890785217285, 4.519877910614014, 4.519864559173584, 4.5198516845703125, 4.519838333129883, 4.519825458526611, 4.51981258392334, 4.51979923248291, 4.519786357879639, 4.519773006439209, 4.5197601318359375, 4.519746780395508, 4.519733905792236, 4.519720554351807, 4.519707679748535, 4.519694805145264, 4.519681453704834, 4.5196685791015625, 4.519655227661133, 4.519642353057861, 4.519629001617432, 4.51961612701416, 4.5196027755737305, 4.519589900970459, 4.519576549530029, 4.519563674926758, 4.519550323486328, 4.519537448883057, 4.519524097442627, 4.5195112228393555, 4.519497871398926, 4.519484996795654, 4.519471645355225, 4.519458770751953, 4.519445419311523, 4.519432544708252, 4.519419193267822, 4.519406318664551, 4.519392967224121, 4.51938009262085, 4.51936674118042, 4.519353866577148, 4.519340515136719, 4.519327640533447, 4.519314289093018, 4.519301414489746, 4.519288063049316, 4.519275188446045, 4.519261837005615, 4.519248962402344, 4.519235610961914, 4.519222736358643, 4.519209384918213, 4.519196510314941, 4.519183158874512, 4.51917028427124, 4.5191569328308105, 4.519143581390381, 4.519130706787109, 4.51911735534668, 4.519104480743408, 4.5190911293029785, 4.519078254699707, 4.519064903259277, 4.519052028656006, 4.519038677215576, 4.519025802612305, 4.519012451171875, 4.518999099731445, 4.518986225128174, 4.518972873687744, 4.518959999084473, 4.518946647644043, 4.5189337730407715, 4.518920421600342, 4.51890754699707, 4.518894195556641, 4.518880844116211, 4.5188679695129395, 4.51885461807251, 4.518841743469238, 4.518828392028809, 4.518815040588379, 4.518802165985107, 4.518788814544678, 4.518775939941406, 4.518762588500977, 4.518749713897705, 4.518736362457275, 4.518723011016846, 4.518710136413574, 4.5186967849731445, 4.518683910369873, 4.518670558929443, 4.518657207489014, 4.518644332885742, 4.5186309814453125, 4.518618106842041, 4.518604755401611, 4.518591403961182, 4.51857852935791, 4.5185651779174805, 4.518551826477051, 4.518538951873779, 4.51852560043335, 4.518512725830078, 4.518499374389648, 4.518486022949219, 4.518473148345947, 4.518459796905518, 4.518446445465088, 4.518433570861816, 4.518420219421387, 4.518407344818115, 4.5183939933776855, 4.518380641937256, 4.518367767333984, 4.518354415893555, 4.518341064453125, 4.5183281898498535, 4.518314838409424, 4.518301486968994, 4.518288612365723, 4.518275260925293, 4.518261909484863, 4.518249034881592, 4.518235683441162, 4.518222332000732, 4.518209457397461, 4.518196105957031, 4.518182754516602, 4.51816987991333, 4.5181565284729, 4.518143177032471, 4.518130302429199, 4.5181169509887695, 4.51810359954834, 4.518090724945068, 4.518077373504639, 4.518064022064209, 4.5180511474609375, 4.518037796020508, 4.518024444580078, 4.518011569976807, 4.517998218536377, 4.517984867095947, 4.517971992492676, 4.517958641052246, 4.517945289611816, 4.517931938171387, 4.517919063568115, 4.5179057121276855, 4.517892360687256, 4.517879486083984, 4.517866134643555, 4.517852783203125, 4.517839431762695, 4.517826557159424, 4.517813205718994, 4.5177998542785645, 4.517786979675293, 4.517773628234863, 4.517760276794434, 4.517746925354004, 4.517734050750732, 4.517720699310303, 4.517707347869873, 4.517693996429443, 4.517681121826172, 4.517667770385742, 4.5176544189453125, 4.517641544342041, 4.517628192901611, 4.517614841461182, 4.517601490020752, 4.5175886154174805, 4.517575263977051, 4.517561912536621, 4.517548561096191, 4.51753568649292, 4.51752233505249, 4.5175089836120605, 4.517495632171631, 4.517482757568359, 4.51746940612793, 4.5174560546875, 4.51744270324707, 4.517429351806641, 4.517416477203369, 4.5174031257629395, 4.51738977432251, 4.51737642288208, 4.517363548278809, 4.517350196838379, 4.517336845397949, 4.5173234939575195, 4.51731014251709, 4.517297267913818, 4.517283916473389, 4.517270565032959, 4.517257213592529, 4.5172438621521, 4.517230987548828, 4.517217636108398, 4.517204284667969, 4.517190933227539, 4.517177581787109, 4.517164707183838, 4.517151355743408, 4.5171380043029785, 4.517124652862549, 4.517111301422119, 4.517098426818848, 4.517085075378418, 4.517071723937988, 4.517058372497559, 4.517045021057129, 4.517031669616699, 4.517018795013428, 4.517005443572998, 4.516992092132568, 4.516978740692139, 4.516965389251709, 4.516952037811279, 4.516939163208008, 4.516925811767578, 4.516912460327148, 4.516899108886719, 4.516885757446289, 4.516872406005859, 4.516859531402588, 4.516846179962158, 4.5168328285217285, 4.516819477081299, 4.516806125640869, 4.5167927742004395, 4.51677942276001, 4.516766548156738, 4.516753196716309, 4.516739845275879, 4.516726493835449, 4.5167131423950195, 4.51669979095459, 4.51668643951416, 4.516673564910889, 4.516660213470459, 4.516646862030029, 4.5166335105896, 4.51662015914917, 4.51660680770874, 4.5165934562683105, 4.516580104827881, 4.516566753387451, 4.51655387878418, 4.51654052734375, 4.51652717590332, 4.516513824462891, 4.516500473022461, 4.516487121582031, 4.516473770141602, 4.516460418701172, 4.516447067260742, 4.5164337158203125, 4.516420841217041, 4.516407489776611, 4.516394138336182, 4.516380786895752, 4.516367435455322, 4.516354084014893, 4.516340732574463, 4.516327381134033, 4.5163140296936035, 4.516300678253174, 4.516287326812744, 4.5162739753723145, 4.516261100769043, 4.516247749328613, 4.516234397888184, 4.516221046447754, 4.516207695007324, 4.5161943435668945, 4.516180992126465, 4.516167640686035, 4.5161542892456055, 4.516140937805176, 4.516127586364746, 4.516114234924316, 4.516100883483887, 4.516087532043457, 4.516074180603027, 4.516060829162598, 4.516047477722168, 4.516034126281738, 4.516020774841309, 4.516007900238037, 4.515994548797607, 4.515981197357178, 4.515967845916748, 4.515954494476318, 4.515941143035889, 4.515927791595459, 4.515914440155029, 4.5159010887146, 4.51588773727417, 4.51587438583374, 4.5158610343933105, 4.515847682952881, 4.515834331512451, 4.5158209800720215, 4.515807628631592, 4.515794277191162, 4.515780925750732, 4.515767574310303, 4.515754222869873, 4.515740871429443, 4.515727519989014, 4.515714168548584, 4.515700817108154, 4.515687465667725, 4.515674114227295, 4.515660762786865, 4.5156474113464355, 4.515634059906006, 4.515620708465576, 4.5156073570251465, 4.515594005584717, 4.515580654144287, 4.515567302703857, 4.515553951263428, 4.515540599822998, 4.515527248382568, 4.515513896942139, 4.515500068664551, 4.515486717224121, 4.515473365783691, 4.515460014343262, 4.515446662902832, 4.515433311462402, 4.515419960021973, 4.515406608581543, 4.515393257141113, 4.515379905700684, 4.515366554260254, 4.515353202819824, 4.5153398513793945, 4.515326499938965, 4.515313148498535, 4.5152997970581055, 4.515286445617676, 4.515273094177246, 4.515259742736816, 4.5152459144592285, 4.515232563018799, 4.515219211578369, 4.5152058601379395, 4.51519250869751, 4.51517915725708, 4.51516580581665, 4.515152454376221, 4.515139102935791, 4.515125751495361, 4.515112400054932, 4.515099048614502, 4.515085220336914, 4.515071868896484, 4.515058517456055, 4.515045166015625, 4.515031814575195, 4.515018463134766, 4.515005111694336, 4.514991760253906, 4.514978408813477, 4.514965057373047, 4.514951229095459, 4.514937877655029, 4.5149245262146, 4.51491117477417, 4.51489782333374, 4.5148844718933105, 4.514871120452881, 4.514857769012451, 4.5148444175720215, 4.514830589294434, 4.514817237854004, 4.514803886413574, 4.5147905349731445, 4.514777183532715, 4.514763832092285, 4.5147504806518555, 4.514736652374268, 4.514723300933838, 4.514709949493408, 4.5146965980529785, 4.514683246612549, 4.514669895172119, 4.5146565437316895, 4.514642715454102, 4.514629364013672, 4.514616012573242, 4.5146026611328125, 4.514589309692383, 4.514575958251953, 4.514562129974365, 4.5145487785339355, 4.514535427093506, 4.514522075653076, 4.5145087242126465, 4.514495372772217, 4.514481544494629, 4.514468193054199, 4.5144548416137695, 4.51444149017334, 4.51442813873291, 4.5144147872924805, 4.514400959014893, 4.514387607574463, 4.514374256134033, 4.5143609046936035, 4.514347553253174, 4.514333724975586, 4.514320373535156, 4.514307022094727, 4.514293670654297, 4.514280319213867, 4.514266490936279, 4.51425313949585, 4.51423978805542, 4.51422643661499, 4.5142130851745605, 4.514199256896973, 4.514185905456543, 4.514172554016113, 4.514159202575684, 4.514145374298096, 4.514132022857666, 4.514118671417236, 4.514105319976807, 4.514091968536377, 4.514078140258789, 4.514064788818359, 4.51405143737793, 4.5140380859375, 4.514024257659912, 4.514010906219482, 4.513997554779053, 4.513984203338623, 4.513970375061035, 4.5139570236206055, 4.513943672180176, 4.513930320739746, 4.513916492462158, 4.5139031410217285, 4.513889789581299, 4.513876438140869, 4.513862609863281, 4.513849258422852, 4.513835906982422, 4.513822555541992, 4.513808727264404, 4.513795375823975, 4.513782024383545, 4.513768196105957, 4.513754844665527, 4.513741493225098, 4.513728141784668, 4.51371431350708, 4.51370096206665, 4.513687610626221, 4.513673782348633, 4.513660430908203, 4.513647079467773, 4.513633728027344, 4.513619899749756, 4.513606548309326, 4.5135931968688965, 4.513579368591309, 4.513566017150879, 4.513552665710449, 4.513538837432861, 4.513525485992432, 4.513512134552002, 4.513498783111572, 4.513484954833984, 4.513471603393555, 4.513458251953125, 4.513444423675537, 4.513431072235107, 4.513417720794678, 4.51340389251709, 4.51339054107666, 4.5133771896362305, 4.513363361358643, 4.513350009918213, 4.513336658477783, 4.513322830200195, 4.513309478759766, 4.513296127319336, 4.513282299041748, 4.513268947601318, 4.513255596160889, 4.513241767883301, 4.513228416442871, 4.513215065002441, 4.5132012367248535, 4.513187885284424, 4.513174057006836, 4.513160705566406, 4.513147354125977, 4.513133525848389, 4.513120174407959, 4.513106822967529, 4.513092994689941, 4.513079643249512, 4.513066291809082, 4.513052463531494, 4.5130391120910645, 4.513025283813477, 4.513011932373047, 4.512998580932617, 4.512984752655029, 4.5129714012146, 4.51295804977417, 4.512944221496582, 4.512930870056152, 4.5129170417785645, 4.512903690338135, 4.512890338897705, 4.512876510620117, 4.5128631591796875, 4.5128493309021, 4.51283597946167, 4.51282262802124, 4.512808799743652, 4.512795448303223, 4.512781620025635, 4.512768268585205, 4.512754440307617, 4.5127410888671875, 4.512727737426758, 4.51271390914917, 4.51270055770874, 4.512686729431152, 4.512673377990723, 4.512659549713135, 4.512646198272705, 4.512632846832275, 4.5126190185546875, 4.512605667114258, 4.51259183883667, 4.51257848739624, 4.512564659118652, 4.512551307678223, 4.512537956237793, 4.512524127960205, 4.512510776519775, 4.5124969482421875, 4.512483596801758, 4.51246976852417, 4.51245641708374, 4.512442588806152, 4.512429237365723, 4.512415409088135, 4.512402057647705, 4.512388706207275, 4.5123748779296875, 4.512361526489258, 4.51234769821167, 4.51233434677124, 4.512320518493652, 4.512307167053223, 4.512293338775635, 4.512279987335205, 4.512266159057617, 4.5122528076171875, 4.5122389793396, 4.51222562789917, 4.512211799621582, 4.512198448181152, 4.5121846199035645, 4.512171268463135, 4.512157440185547, 4.512144088745117, 4.512130260467529, 4.5121169090271, 4.512103080749512, 4.512089729309082, 4.512075901031494, 4.5120625495910645, 4.512048721313477, 4.512035369873047, 4.512021541595459, 4.512008190155029, 4.511994361877441, 4.511981010437012, 4.511967182159424, 4.511953830718994, 4.511940002441406, 4.511926651000977, 4.511912822723389, 4.511898994445801, 4.511885643005371, 4.511871814727783, 4.5118584632873535, 4.511844635009766, 4.511831283569336, 4.511817455291748, 4.511804103851318, 4.5117902755737305, 4.511776924133301, 4.511763095855713, 4.511749267578125, 4.511735916137695, 4.511722087860107, 4.511708736419678, 4.51169490814209, 4.51168155670166, 4.511667728424072, 4.511653900146484, 4.511640548706055, 4.511626720428467, 4.511613368988037, 4.511599540710449, 4.5115861892700195, 4.511572360992432, 4.511558532714844, 4.511545181274414, 4.511531352996826, 4.5115180015563965, 4.511504173278809, 4.511490345001221, 4.511476993560791, 4.511463165283203, 4.511449813842773, 4.5114359855651855, 4.511422157287598, 4.511408805847168, 4.51139497756958, 4.51138162612915, 4.5113677978515625, 4.511353969573975, 4.511340618133545, 4.511326789855957, 4.511313438415527, 4.5112996101379395, 4.511285781860352, 4.511272430419922, 4.511258602142334, 4.511244773864746, 4.511231422424316, 4.5112175941467285, 4.511204242706299, 4.511190414428711, 4.511176586151123, 4.511163234710693, 4.5111494064331055, 4.511135578155518, 4.511122226715088, 4.5111083984375, 4.511094570159912, 4.511081218719482, 4.5110673904418945, 4.511053562164307, 4.511040210723877, 4.511026382446289, 4.511013031005859, 4.5109992027282715, 4.510985374450684, 4.510972023010254, 4.510958194732666, 4.510944366455078, 4.510931015014648, 4.5109171867370605, 4.510903358459473, 4.510889530181885, 4.510876178741455, 4.510862350463867, 4.510848522186279, 4.51083517074585, 4.510821342468262, 4.510807514190674, 4.510794162750244, 4.510780334472656, 4.510766506195068, 4.510753154754639, 4.510739326477051, 4.510725498199463, 4.510711669921875, 4.510698318481445, 4.510684490203857, 4.5106706619262695, 4.51065731048584, 4.510643482208252, 4.510629653930664, 4.510616302490234, 4.5106024742126465, 4.510588645935059, 4.510574817657471, 4.510561466217041, 4.510547637939453, 4.510533809661865, 4.510519981384277, 4.510506629943848, 4.51049280166626, 4.510478973388672, 4.510465621948242, 4.510451793670654, 4.510437965393066, 4.5104241371154785, 4.510410785675049, 4.510396957397461, 4.510383129119873, 4.510369300842285, 4.5103559494018555, 4.510342121124268, 4.51032829284668, 4.510314464569092, 4.510301113128662, 4.510287284851074, 4.510273456573486, 4.510259628295898, 4.5102458000183105, 4.510232448577881, 4.510218620300293, 4.510204792022705, 4.510190963745117, 4.5101776123046875, 4.5101637840271, 4.510149955749512, 4.510136127471924, 4.510122299194336, 4.510108947753906, 4.510095119476318, 4.5100812911987305, 4.510067462921143, 4.510053634643555, 4.510040283203125, 4.510026454925537, 4.510012626647949, 4.509998798370361, 4.509984970092773, 4.509971618652344, 4.509957790374756, 4.509943962097168, 4.50993013381958, 4.509916305541992, 4.5099029541015625, 4.509889125823975, 4.509875297546387, 4.509861469268799, 4.509847640991211, 4.509833812713623, 4.509820461273193, 4.5098066329956055, 4.509792804718018, 4.50977897644043, 4.509765148162842, 4.509751319885254, 4.509737968444824, 4.509724140167236, 4.509710311889648, 4.5096964836120605, 4.509682655334473, 4.509668827056885, 4.509655475616455, 4.509641647338867, 4.509627819061279, 4.509613990783691, 4.5096001625061035, 4.509586334228516, 4.509572505950928, 4.509559154510498, 4.50954532623291, 4.509531497955322, 4.509517669677734, 4.5095038414001465, 4.509490013122559, 4.509476184844971, 4.509462356567383, 4.509449005126953, 4.509435176849365, 4.509421348571777, 4.5094075202941895, 4.509393692016602, 4.509379863739014, 4.509366035461426, 4.509352207183838, 4.50933837890625, 4.50932502746582, 4.509311199188232, 4.5092973709106445, 4.509283542633057, 4.509269714355469, 4.509255886077881, 4.509242057800293, 4.509228229522705, 4.509214401245117, 4.509200572967529, 4.509186744689941, 4.509173393249512, 4.509159564971924, 4.509145736694336, 4.509131908416748, 4.50911808013916, 4.509104251861572, 4.509090423583984, 4.5090765953063965, 4.509062767028809, 4.509048938751221, 4.509035110473633, 4.509021282196045, 4.509007453918457, 4.508993625640869, 4.508979797363281, 4.508965969085693, 4.508952617645264, 4.508938789367676, 4.508924961090088, 4.5089111328125, 4.508897304534912, 4.508883476257324, 4.508869647979736, 4.508855819702148, 4.5088419914245605, 4.508828163146973, 4.508814334869385, 4.508800506591797, 4.508786678314209, 4.508772850036621, 4.508759021759033, 4.508745193481445, 4.508731365203857, 4.5087175369262695, 4.508703708648682, 4.508689880371094, 4.508676052093506, 4.508662223815918, 4.50864839553833, 4.508634567260742, 4.508620738983154, 4.508606910705566, 4.5085930824279785, 4.508579254150391, 4.508565425872803, 4.508551597595215, 4.508537769317627, 4.508523941040039, 4.508510112762451, 4.508496284484863, 4.508482456207275, 4.5084686279296875, 4.5084547996521, 4.508440971374512, 4.508427143096924, 4.508413314819336, 4.508399486541748, 4.50838565826416, 4.508371829986572, 4.508358001708984, 4.5083441734313965, 4.508330345153809, 4.508316516876221, 4.508302688598633, 4.508288860321045, 4.508274555206299, 4.508260726928711, 4.508246898651123, 4.508233070373535, 4.508219242095947, 4.508205413818359, 4.5081915855407715, 4.508177757263184, 4.508163928985596, 4.508150100708008, 4.50813627243042, 4.508122444152832, 4.508108615875244, 4.508094787597656, 4.508080959320068, 4.5080671310424805, 4.508052825927734, 4.5080389976501465, 4.508025169372559, 4.508011341094971, 4.507997512817383, 4.507983684539795, 4.507969856262207, 4.507956027984619, 4.507942199707031, 4.507928371429443, 4.5079145431518555, 4.507900238037109, 4.5078864097595215, 4.507872581481934, 4.507858753204346, 4.507844924926758, 4.50783109664917, 4.507817268371582, 4.507803440093994, 4.507789611816406, 4.50777530670166, 4.507761478424072, 4.507747650146484, 4.5077338218688965, 4.507719993591309, 4.507706165313721, 4.507692337036133, 4.507678508758545, 4.507664203643799, 4.507650375366211, 4.507636547088623, 4.507622718811035, 4.507608890533447, 4.507595062255859, 4.5075812339782715, 4.507566928863525, 4.5075531005859375, 4.50753927230835, 4.507525444030762, 4.507511615753174, 4.507497787475586, 4.50748348236084, 4.507469654083252, 4.507455825805664, 4.507441997528076, 4.507428169250488, 4.5074143409729, 4.507400035858154, 4.507386207580566, 4.5073723793029785, 4.507358551025391, 4.507344722747803, 4.507330894470215, 4.507316589355469, 4.507302761077881, 4.507288932800293, 4.507275104522705, 4.507261276245117, 4.507246971130371, 4.507233142852783, 4.507219314575195, 4.507205486297607, 4.5071916580200195, 4.507177352905273, 4.5071635246276855, 4.507149696350098, 4.50713586807251, 4.507122039794922, 4.507107734680176, 4.507093906402588, 4.507080078125, 4.507066249847412, 4.507051944732666, 4.507038116455078, 4.50702428817749, 4.507010459899902, 4.5069966316223145, 4.506982326507568, 4.5069684982299805, 4.506954669952393, 4.506940841674805, 4.506926536560059, 4.506912708282471, 4.506898880004883, 4.506885051727295, 4.506870746612549, 4.506856918334961, 4.506843090057373, 4.506829261779785, 4.506814956665039, 4.506801128387451, 4.506787300109863, 4.506773471832275, 4.506759166717529, 4.506745338439941, 4.5067315101623535, 4.506717681884766, 4.5067033767700195, 4.506689548492432, 4.506675720214844, 4.506661415100098, 4.50664758682251, 4.506633758544922, 4.506619930267334, 4.506605625152588, 4.506591796875, 4.506577968597412, 4.506563663482666, 4.506549835205078, 4.50653600692749, 4.506521701812744, 4.506507873535156, 4.506494045257568, 4.5064802169799805, 4.506465911865234, 4.5064520835876465, 4.506438255310059, 4.5064239501953125, 4.506410121917725, 4.506396293640137, 4.506381988525391, 4.506368160247803, 4.506354331970215, 4.506340026855469, 4.506326198577881, 4.506312370300293, 4.506298065185547, 4.506284236907959, 4.506270408630371, 4.506256103515625, 4.506242275238037, 4.506228446960449, 4.506214141845703, 4.506200313568115, 4.506186485290527, 4.506172180175781, 4.506158351898193, 4.5061445236206055, 4.506130218505859, 4.5061163902282715, 4.506102561950684, 4.5060882568359375, 4.50607442855835, 4.5060601234436035, 4.506046295166016, 4.506032466888428, 4.506018161773682, 4.506004333496094, 4.505990505218506, 4.50597620010376, 4.505962371826172, 4.505948066711426, 4.505934238433838, 4.50592041015625, 4.505906105041504, 4.505892276763916, 4.505878448486328, 4.505864143371582, 4.505850315093994, 4.505836009979248, 4.50582218170166, 4.505808353424072, 4.505794048309326, 4.505780220031738, 4.505765914916992, 4.505752086639404, 4.505738258361816, 4.50572395324707, 4.505710124969482, 4.505695819854736, 4.505681991577148, 4.505667686462402, 4.5056538581848145, 4.505640029907227, 4.5056257247924805, 4.505611896514893, 4.5055975914001465, 4.505583763122559, 4.5055694580078125, 4.505555629730225, 4.505541801452637, 4.505527496337891, 4.505513668060303, 4.505499362945557, 4.505485534667969, 4.505471229553223, 4.505457401275635, 4.505443096160889, 4.505429267883301, 4.505414962768555, 4.505401134490967, 4.505387306213379, 4.505373001098633, 4.505359172821045, 4.505344867706299, 4.505331039428711, 4.505316734313965, 4.505302906036377, 4.505288600921631, 4.505274772644043, 4.505260467529297, 4.505246639251709, 4.505232334136963, 4.505218505859375, 4.505204200744629, 4.505190372467041, 4.505176067352295, 4.505162239074707, 4.505147933959961, 4.505134105682373, 4.505119800567627, 4.505105972290039, 4.505091667175293, 4.505077838897705, 4.505063533782959, 4.505049705505371, 4.505035400390625, 4.505021572113037, 4.505007266998291, 4.504993438720703, 4.504979133605957, 4.504965305328369, 4.504951000213623, 4.504937171936035, 4.504922866821289, 4.504909038543701, 4.504894733428955, 4.504880905151367, 4.504866600036621, 4.504852294921875, 4.504838466644287, 4.504824161529541, 4.504810333251953, 4.504796028137207, 4.504782199859619, 4.504767894744873, 4.504754066467285, 4.504739761352539, 4.504725456237793, 4.504711627960205, 4.504697322845459, 4.504683494567871, 4.504669189453125, 4.504655361175537, 4.504641056060791, 4.504627227783203, 4.504612922668457, 4.504598617553711, 4.504584789276123, 4.504570484161377, 4.504556655883789, 4.504542350769043, 4.504528045654297, 4.504514217376709, 4.504499912261963, 4.504486083984375, 4.504471778869629, 4.504457473754883, 4.504443645477295, 4.504429340362549, 4.504415512084961, 4.504401206970215, 4.504386901855469, 4.504373073577881, 4.504358768463135, 4.504344940185547, 4.504330635070801, 4.504316329956055, 4.504302501678467, 4.504288196563721, 4.504274368286133, 4.504260063171387, 4.504245758056641, 4.504231929779053, 4.504217624664307, 4.5042033195495605, 4.504189491271973, 4.504175186157227, 4.5041608810424805, 4.504147052764893, 4.5041327476501465, 4.504118919372559, 4.5041046142578125, 4.504090309143066, 4.5040764808654785, 4.504062175750732, 4.504047870635986, 4.504034042358398, 4.504019737243652, 4.504005432128906, 4.503991603851318, 4.503977298736572, 4.503962993621826, 4.503949165344238, 4.503934860229492, 4.503920555114746, 4.503906726837158, 4.503892421722412, 4.503878116607666, 4.503864288330078, 4.503849983215332, 4.503835678100586, 4.50382137298584, 4.503807544708252, 4.503793239593506, 4.50377893447876, 4.503765106201172, 4.503750801086426, 4.50373649597168, 4.503722667694092, 4.503708362579346, 4.5036940574646, 4.5036797523498535, 4.503665924072266, 4.5036516189575195, 4.503637313842773, 4.5036234855651855, 4.5036091804504395, 4.503594875335693, 4.503580570220947, 4.503566741943359, 4.503552436828613, 4.503538131713867, 4.503523826599121, 4.503509998321533, 4.503495693206787, 4.503481388092041, 4.503467559814453, 4.503453254699707, 4.503438949584961, 4.503424644470215, 4.503410816192627, 4.503396511077881, 4.503382205963135, 4.503367900848389, 4.503354072570801, 4.503339767456055, 4.503325462341309, 4.5033111572265625, 4.503296852111816, 4.5032830238342285, 4.503268718719482, 4.503254413604736, 4.50324010848999, 4.503226280212402, 4.503211975097656, 4.50319766998291, 4.503183364868164, 4.503169059753418, 4.50315523147583, 4.503140926361084, 4.503126621246338, 4.503112316131592, 4.503098487854004, 4.503084182739258, 4.503069877624512, 4.503055572509766, 4.5030412673950195, 4.503027439117432, 4.5030131340026855, 4.5029988288879395, 4.502984523773193, 4.502970218658447, 4.502955913543701, 4.502942085266113, 4.502927780151367, 4.502913475036621, 4.502899169921875, 4.502884864807129, 4.502870559692383, 4.502856731414795, 4.502842426300049, 4.502828121185303, 4.502813816070557, 4.5027995109558105, 4.5027852058410645, 4.502771377563477, 4.5027570724487305, 4.502742767333984, 4.502728462219238, 4.502714157104492, 4.502699851989746, 4.502686023712158, 4.502671718597412, 4.502657413482666, 4.50264310836792, 4.502628803253174, 4.502614498138428, 4.502600193023682, 4.5025858879089355, 4.502572059631348, 4.502557754516602, 4.5025434494018555, 4.502529144287109, 4.502514839172363, 4.502500534057617, 4.502486228942871, 4.502471923828125, 4.502458095550537, 4.502443790435791, 4.502429485321045, 4.502415180206299, 4.502400875091553, 4.502386569976807, 4.5023722648620605, 4.5023579597473145, 4.502343654632568, 4.502329349517822, 4.502315521240234, 4.502301216125488, 4.502286911010742, 4.502272605895996, 4.50225830078125, 4.502243995666504, 4.502229690551758, 4.502215385437012, 4.502201080322266, 4.5021867752075195, 4.502172470092773, 4.502158164978027, 4.502143859863281, 4.502130031585693, 4.502115726470947, 4.502101421356201, 4.502087116241455, 4.502072811126709, 4.502058506011963, 4.502044200897217, 4.502029895782471, 4.502015590667725, 4.5020012855529785, 4.501986980438232, 4.501972675323486, 4.50195837020874, 4.501944065093994, 4.501929759979248, 4.501915454864502, 4.501901149749756, 4.50188684463501, 4.501872539520264, 4.501858234405518, 4.5018439292907715, 4.501829624176025, 4.501815319061279, 4.501801013946533, 4.501786708831787, 4.501772403717041, 4.501758098602295, 4.501743793487549, 4.501729488372803, 4.501715183258057, 4.5017008781433105, 4.5016865730285645, 4.501672267913818, 4.501657962799072, 4.501643657684326, 4.50162935256958, 4.501615047454834, 4.501600742340088, 4.501586437225342, 4.501572132110596, 4.50155782699585, 4.5015435218811035, 4.501529216766357, 4.501514911651611, 4.501500606536865, 4.501486301422119, 4.501471996307373, 4.501457691192627, 4.501443386077881, 4.501429080963135, 4.501414775848389, 4.501400470733643, 4.5013861656188965, 4.50137186050415, 4.501357555389404, 4.501343250274658, 4.501328945159912, 4.501314640045166, 4.50130033493042, 4.501285552978516, 4.5012712478637695, 4.501256942749023, 4.501242637634277, 4.501228332519531, 4.501214027404785, 4.501199722290039, 4.501185417175293, 4.501171112060547, 4.501156806945801, 4.501142501831055, 4.501128196716309, 4.5011138916015625, 4.501099109649658, 4.501084804534912, 4.501070499420166, 4.50105619430542, 4.501041889190674, 4.501027584075928, 4.501013278961182, 4.5009989738464355, 4.5009846687316895, 4.500970363616943, 4.500955581665039, 4.500941276550293, 4.500926971435547, 4.500912666320801, 4.500898361206055, 4.500884056091309, 4.5008697509765625, 4.500855445861816, 4.500840663909912, 4.500826358795166, 4.50081205368042, 4.500797748565674, 4.500783443450928, 4.500769138336182, 4.5007548332214355, 4.5007405281066895, 4.500725746154785, 4.500711441040039, 4.500697135925293, 4.500682830810547, 4.500668525695801, 4.500654220581055, 4.50063943862915, 4.500625133514404, 4.500610828399658, 4.500596523284912, 4.500582218170166, 4.50056791305542, 4.500553607940674, 4.5005388259887695, 4.500524520874023, 4.500510215759277, 4.500495910644531, 4.500481605529785, 4.500466823577881, 4.500452518463135, 4.500438213348389, 4.500423908233643, 4.5004096031188965, 4.500394821166992, 4.500380516052246, 4.5003662109375, 4.500351905822754, 4.500337600708008, 4.5003228187561035, 4.500308513641357, 4.500294208526611, 4.500279903411865, 4.500265598297119, 4.500250816345215, 4.500236511230469, 4.500222206115723, 4.500207901000977, 4.5001935958862305, 4.500178813934326, 4.50016450881958, 4.500150203704834, 4.500135898590088, 4.500121116638184, 4.5001068115234375, 4.500092506408691, 4.500078201293945, 4.500063419342041, 4.500049114227295, 4.500034809112549, 4.500020503997803, 4.500005722045898, 4.499991416931152, 4.499977111816406, 4.49996280670166, 4.499948024749756, 4.49993371963501, 4.499919414520264, 4.499905109405518, 4.499890327453613, 4.499876022338867, 4.499861717224121, 4.499847412109375, 4.499832630157471, 4.499818325042725, 4.4998040199279785, 4.499789237976074, 4.499774932861328, 4.499760627746582, 4.499746322631836, 4.499731540679932, 4.4997172355651855, 4.4997029304504395, 4.499688148498535, 4.499673843383789, 4.499659538269043, 4.499644756317139, 4.499630451202393, 4.4996161460876465, 4.4996018409729, 4.499587059020996, 4.49957275390625, 4.499558448791504, 4.4995436668396, 4.4995293617248535, 4.499515056610107, 4.499500274658203, 4.499485969543457, 4.499471664428711, 4.499456882476807, 4.4994425773620605, 4.4994282722473145, 4.49941349029541, 4.499399185180664, 4.499384880065918, 4.499370098114014, 4.499355792999268, 4.4993414878845215, 4.499326705932617, 4.499312400817871, 4.499298095703125, 4.499283313751221, 4.499269008636475, 4.49925422668457, 4.499239921569824, 4.499225616455078, 4.499210834503174, 4.499196529388428, 4.499182224273682, 4.499167442321777, 4.499153137207031, 4.499138355255127, 4.499124050140381, 4.499109745025635, 4.4990949630737305, 4.499080657958984, 4.499066352844238, 4.499051570892334, 4.499037265777588, 4.499022483825684, 4.4990081787109375, 4.498993873596191, 4.498979091644287, 4.498964786529541, 4.498950004577637, 4.498935699462891, 4.4989213943481445, 4.49890661239624, 4.498892307281494, 4.49887752532959, 4.498863220214844, 4.4988484382629395, 4.498834133148193, 4.498819828033447, 4.498805046081543, 4.498790740966797, 4.498775959014893, 4.4987616539001465, 4.498746871948242, 4.498732566833496, 4.49871826171875, 4.498703479766846, 4.4986891746521, 4.498674392700195, 4.498660087585449, 4.498645305633545, 4.498631000518799, 4.4986162185668945, 4.498601913452148, 4.498587131500244, 4.498572826385498, 4.498558044433594, 4.498543739318848, 4.498529434204102, 4.498514652252197, 4.498500347137451, 4.498485565185547, 4.498471260070801, 4.4984564781188965, 4.49844217300415, 4.498427391052246, 4.4984130859375, 4.498398303985596, 4.49838399887085, 4.498369216918945, 4.498354911804199, 4.498340129852295, 4.498325824737549, 4.4983110427856445, 4.498296737670898, 4.498281955718994, 4.498267650604248, 4.498252868652344, 4.498238563537598, 4.498223781585693, 4.498209476470947, 4.498194694519043, 4.498180389404297, 4.498165607452393, 4.4981513023376465, 4.498136520385742, 4.498121738433838, 4.498107433319092, 4.4980926513671875, 4.498078346252441, 4.498063564300537, 4.498049259185791, 4.498034477233887, 4.498020172119141, 4.498005390167236, 4.49799108505249, 4.497976303100586, 4.497961521148682, 4.4979472160339355, 4.497932434082031, 4.497918128967285, 4.497903347015381, 4.497889041900635, 4.4978742599487305, 4.497859954833984, 4.49784517288208, 4.497830390930176, 4.49781608581543, 4.497801303863525, 4.497786998748779, 4.497772216796875, 4.497757434844971, 4.497743129730225, 4.49772834777832, 4.497714042663574, 4.49769926071167, 4.497684955596924, 4.4976701736450195, 4.497655391693115, 4.497641086578369, 4.497626304626465, 4.4976115226745605, 4.4975972175598145, 4.49758243560791, 4.497568130493164, 4.49755334854126, 4.4975385665893555, 4.497524261474609, 4.497509479522705, 4.497495174407959, 4.497480392456055, 4.49746561050415, 4.497451305389404, 4.4974365234375, 4.497421741485596, 4.49740743637085, 4.497392654418945, 4.497377872467041, 4.497363567352295, 4.497348785400391, 4.4973344802856445, 4.49731969833374, 4.497304916381836, 4.49729061126709, 4.4972758293151855, 4.497261047363281, 4.497246742248535, 4.497231960296631, 4.497217178344727, 4.4972028732299805, 4.497188091278076, 4.497173309326172, 4.497159004211426, 4.4971442222595215, 4.497129440307617, 4.497115135192871, 4.497100353240967, 4.4970855712890625, 4.497070789337158, 4.497056484222412, 4.497041702270508, 4.4970269203186035, 4.497012615203857, 4.496997833251953, 4.496983051300049, 4.496968746185303, 4.496953964233398, 4.496939182281494, 4.49692440032959, 4.496910095214844, 4.4968953132629395, 4.496880531311035, 4.496866226196289, 4.496851444244385, 4.4968366622924805, 4.496821880340576, 4.49680757522583, 4.496792793273926, 4.4967780113220215, 4.496763229370117, 4.496748924255371, 4.496734142303467, 4.4967193603515625, 4.496704578399658, 4.496690273284912, 4.496675491333008, 4.4966607093811035, 4.496645927429199, 4.496631622314453, 4.496616840362549, 4.4966020584106445, 4.49658727645874, 4.496572971343994, 4.49655818939209, 4.4965434074401855, 4.496528625488281, 4.496514320373535, 4.496499538421631, 4.496484756469727, 4.496469974517822, 4.496455669403076, 4.496440887451172, 4.496426105499268, 4.496411323547363, 4.496396541595459, 4.496382236480713, 4.496367454528809, 4.496352672576904, 4.496337890625, 4.496323108673096, 4.49630880355835, 4.496294021606445, 4.496279239654541, 4.496264457702637, 4.496249675750732, 4.496235370635986, 4.496220588684082, 4.496205806732178, 4.496191024780273, 4.496176242828369, 4.496161460876465, 4.496147155761719, 4.4961323738098145, 4.49611759185791, 4.496102809906006, 4.496088027954102, 4.496073246002197, 4.496058940887451, 4.496044158935547, 4.496029376983643, 4.496014595031738, 4.495999813079834, 4.49598503112793, 4.495970249176025, 4.495955944061279, 4.495941162109375, 4.495926380157471, 4.495911598205566, 4.495896816253662, 4.495882034301758, 4.4958672523498535, 4.495852947235107, 4.495838165283203, 4.495823383331299, 4.4958086013793945, 4.49579381942749, 4.495779037475586, 4.495764255523682, 4.495749473571777, 4.495734691619873, 4.495720386505127, 4.495705604553223, 4.495690822601318, 4.495676040649414, 4.49566125869751, 4.4956464767456055, 4.495631694793701, 4.495616912841797, 4.495602130889893, 4.495587348937988, 4.495573043823242, 4.495558261871338, 4.495543479919434, 4.495528697967529, 4.495513916015625, 4.495499134063721, 4.495484352111816, 4.495469570159912, 4.495454788208008, 4.4954400062561035, 4.495425224304199, 4.495410442352295, 4.495395660400391, 4.495380878448486, 4.495366096496582, 4.495351791381836, 4.495337009429932, 4.495322227478027, 4.495307445526123, 4.495292663574219, 4.4952778816223145, 4.49526309967041, 4.495248317718506, 4.495233535766602, 4.495218753814697, 4.495203971862793, 4.495189189910889, 4.495174407958984, 4.49515962600708, 4.495144844055176, 4.4951300621032715, 4.495115280151367, 4.495100498199463, 4.495085716247559, 4.495070934295654, 4.49505615234375, 4.495041370391846, 4.495026588439941, 4.495011806488037, 4.494997024536133, 4.4949822425842285, 4.494967460632324, 4.49495267868042, 4.494937896728516, 4.494923114776611, 4.494908332824707, 4.494893550872803, 4.494878768920898, 4.494863986968994, 4.49484920501709, 4.4948344230651855, 4.494819641113281, 4.494804859161377, 4.494790077209473, 4.494775295257568, 4.494760513305664, 4.49474573135376, 4.4947309494018555, 4.494716167449951, 4.494701385498047, 4.494686126708984, 4.49467134475708, 4.494656562805176, 4.4946417808532715, 4.494626998901367, 4.494612216949463, 4.494597434997559, 4.494582653045654, 4.49456787109375, 4.494553089141846, 4.494538307189941, 4.494523525238037, 4.494508743286133, 4.4944939613342285, 4.494479179382324, 4.494463920593262, 4.494449138641357, 4.494434356689453, 4.494419574737549, 4.4944047927856445, 4.49439001083374, 4.494375228881836, 4.494360446929932, 4.494345664978027, 4.494330883026123, 4.4943156242370605, 4.494300842285156, 4.494286060333252, 4.494271278381348, 4.494256496429443, 4.494241714477539, 4.494226932525635, 4.4942121505737305, 4.494197368621826, 4.494182109832764, 4.494167327880859, 4.494152545928955, 4.494137763977051, 4.4941229820251465, 4.494108200073242, 4.494093418121338, 4.494078159332275, 4.494063377380371, 4.494048595428467, 4.4940338134765625, 4.494019031524658, 4.494004249572754, 4.49398946762085, 4.493974208831787, 4.493959426879883, 4.4939446449279785, 4.493929862976074, 4.49391508102417, 4.493900299072266, 4.493885040283203, 4.493870258331299, 4.4938554763793945, 4.49384069442749, 4.493825912475586, 4.493811130523682, 4.493795871734619, 4.493781089782715, 4.4937663078308105, 4.493751525878906, 4.493736743927002, 4.4937214851379395, 4.493706703186035, 4.493691921234131, 4.493677139282227, 4.493662357330322, 4.49364709854126, 4.4936323165893555, 4.493617534637451, 4.493602752685547, 4.493587970733643, 4.49357271194458, 4.493557929992676, 4.4935431480407715, 4.493528366088867, 4.493513107299805, 4.4934983253479, 4.493483543395996, 4.493468761444092, 4.493453502655029, 4.493438720703125, 4.493423938751221, 4.493409156799316, 4.493393898010254, 4.49337911605835, 4.493364334106445, 4.493349552154541, 4.4933342933654785, 4.493319511413574, 4.49330472946167, 4.493289947509766, 4.493274688720703, 4.493259906768799, 4.4932451248168945, 4.49323034286499, 4.493215084075928, 4.493200302124023, 4.493185520172119, 4.493170261383057, 4.493155479431152, 4.493140697479248, 4.493125915527344, 4.493110656738281, 4.493095874786377, 4.493081092834473, 4.49306583404541, 4.493051052093506, 4.493036270141602, 4.493021488189697, 4.493006229400635, 4.4929914474487305, 4.492976665496826, 4.492961406707764, 4.492946624755859, 4.492931842803955, 4.492916584014893, 4.492901802062988, 4.492887020111084, 4.4928717613220215, 4.492856979370117, 4.492842197418213, 4.49282693862915, 4.492812156677246, 4.492797374725342, 4.492782115936279, 4.492767333984375, 4.492752552032471, 4.492737293243408, 4.492722511291504, 4.4927077293396, 4.492692470550537, 4.492677688598633, 4.4926629066467285, 4.492647647857666, 4.492632865905762, 4.492617607116699, 4.492602825164795, 4.492588043212891, 4.492572784423828, 4.492558002471924, 4.4925432205200195, 4.492527961730957, 4.492513179779053, 4.49249792098999, 4.492483139038086, 4.492468357086182, 4.492453098297119, 4.492438316345215, 4.492423057556152, 4.492408275604248, 4.492393493652344, 4.492378234863281, 4.492363452911377, 4.4923481941223145, 4.49233341217041, 4.492318630218506, 4.492303371429443, 4.492288589477539, 4.492273330688477, 4.492258548736572, 4.492243766784668, 4.4922285079956055, 4.492213726043701, 4.492198467254639, 4.492183685302734, 4.492168426513672, 4.492153644561768, 4.492138862609863, 4.492123603820801, 4.4921088218688965, 4.492093563079834, 4.49207878112793, 4.492063522338867, 4.492048740386963, 4.4920334815979, 4.492018699645996, 4.492003440856934, 4.491988658905029, 4.491973876953125, 4.4919586181640625, 4.491943836212158, 4.491928577423096, 4.491913795471191, 4.491898536682129, 4.491883754730225, 4.491868495941162, 4.491853713989258, 4.491838455200195, 4.491823673248291, 4.4918084144592285, 4.491793632507324, 4.491778373718262, 4.491763591766357, 4.491748332977295, 4.491733551025391, 4.491718292236328, 4.491703510284424, 4.491688251495361, 4.491673469543457, 4.4916582107543945, 4.49164342880249, 4.491628170013428, 4.491613388061523, 4.491598129272461, 4.491583347320557, 4.491568088531494, 4.49155330657959, 4.491538047790527, 4.491523265838623, 4.4915080070495605, 4.491492748260498, 4.491477966308594, 4.491462707519531, 4.491447925567627, 4.4914326667785645, 4.49141788482666, 4.491402626037598, 4.491387844085693, 4.491372585296631, 4.491357326507568, 4.491342544555664, 4.491327285766602, 4.491312503814697, 4.491297245025635, 4.4912824630737305, 4.491267204284668, 4.4912519454956055, 4.491237163543701, 4.491221904754639, 4.491207122802734, 4.491191864013672, 4.491177082061768, 4.491161823272705, 4.491146564483643, 4.491131782531738, 4.491116523742676, 4.4911017417907715, 4.491086483001709, 4.4910712242126465, 4.491056442260742, 4.49104118347168, 4.491026401519775, 4.491011142730713, 4.49099588394165, 4.490981101989746, 4.490965843200684, 4.490950584411621, 4.490935802459717, 4.490920543670654, 4.49090576171875, 4.4908905029296875, 4.490875244140625, 4.490860462188721, 4.490845203399658, 4.490829944610596, 4.490815162658691, 4.490799903869629, 4.490784645080566, 4.490769863128662, 4.4907546043396, 4.490739345550537, 4.490724563598633, 4.49070930480957, 4.490694522857666, 4.4906792640686035, 4.490664005279541, 4.490649223327637, 4.490633964538574, 4.490618705749512, 4.490603446960449, 4.490588665008545, 4.490573406219482, 4.49055814743042, 4.490543365478516, 4.490528106689453, 4.490512847900391, 4.490498065948486, 4.490482807159424, 4.490467548370361, 4.490452766418457, 4.4904375076293945, 4.490422248840332, 4.4904069900512695, 4.490392208099365, 4.490376949310303, 4.49036169052124, 4.490346908569336, 4.490331649780273, 4.490316390991211, 4.490301132202148, 4.490286350250244, 4.490271091461182, 4.490255832672119, 4.490241050720215, 4.490225791931152, 4.49021053314209, 4.490195274353027, 4.490180492401123, 4.4901652336120605, 4.490149974822998, 4.4901347160339355, 4.490119934082031, 4.490104675292969, 4.490089416503906, 4.490074157714844, 4.4900593757629395, 4.490044116973877, 4.4900288581848145, 4.490013599395752, 4.4899983406066895, 4.489983558654785, 4.489968299865723, 4.48995304107666, 4.489937782287598, 4.489923000335693, 4.489907741546631, 4.489892482757568, 4.489877223968506, 4.489861965179443, 4.489847183227539, 4.489831924438477, 4.489816665649414, 4.489801406860352, 4.489786148071289, 4.489771366119385, 4.489756107330322, 4.48974084854126, 4.489725589752197, 4.489710330963135, 4.4896955490112305, 4.489680290222168, 4.4896650314331055, 4.489649772644043, 4.4896345138549805, 4.489619255065918, 4.489604473114014, 4.489589214324951, 4.489573955535889, 4.489558696746826, 4.489543437957764, 4.489528179168701, 4.489513397216797, 4.489498138427734, 4.489482879638672, 4.489467620849609, 4.489452362060547, 4.489437103271484, 4.489421844482422, 4.489407062530518, 4.489391803741455, 4.489376544952393, 4.48936128616333, 4.489346027374268, 4.489330768585205, 4.489315509796143, 4.48930025100708, 4.489285469055176, 4.489270210266113, 4.489254951477051, 4.489239692687988, 4.489224433898926, 4.489209175109863, 4.489193916320801, 4.489178657531738, 4.489163398742676, 4.4891486167907715, 4.489133358001709, 4.4891180992126465, 4.489102840423584, 4.4890875816345215, 4.489072322845459, 4.4890570640563965, 4.489041805267334, 4.4890265464782715, 4.489011287689209, 4.4889960289001465, 4.488980770111084, 4.48896598815918, 4.488950729370117, 4.488935470581055, 4.488920211791992, 4.48890495300293, 4.488889694213867, 4.488874435424805, 4.488859176635742, 4.48884391784668, 4.488828659057617, 4.488813400268555, 4.488798141479492, 4.48878288269043, 4.488767623901367, 4.488752365112305, 4.488737106323242, 4.48872184753418, 4.488706588745117, 4.488691329956055, 4.488676071166992, 4.48866081237793, 4.488645553588867, 4.488630294799805, 4.488615036010742, 4.48859977722168, 4.488584518432617, 4.488569259643555, 4.488554000854492, 4.48853874206543, 4.488523483276367, 4.488508224487305, 4.488492965698242, 4.48847770690918, 4.488462448120117, 4.488447189331055, 4.488431930541992, 4.48841667175293, 4.488401412963867, 4.488386154174805, 4.488370895385742, 4.48835563659668, 4.488340377807617, 4.488325119018555, 4.488309860229492, 4.48829460144043, 4.488279342651367, 4.488264083862305, 4.488248825073242, 4.48823356628418, 4.488218307495117, 4.488203048706055, 4.488187789916992, 4.48817253112793, 4.488157272338867, 4.488142013549805, 4.488126754760742, 4.48811149597168, 4.488095760345459, 4.4880805015563965, 4.488065242767334, 4.4880499839782715, 4.488034725189209, 4.4880194664001465, 4.488004207611084, 4.4879889488220215, 4.487973690032959, 4.4879584312438965, 4.487943172454834, 4.4879279136657715, 4.487912178039551, 4.487896919250488, 4.487881660461426, 4.487866401672363, 4.487851142883301, 4.487835884094238, 4.487820625305176, 4.487805366516113, 4.487790107727051, 4.48777437210083, 4.487759113311768, 4.487743854522705, 4.487728595733643, 4.48771333694458, 4.487698078155518, 4.487682819366455, 4.487667560577393, 4.487651824951172, 4.487636566162109, 4.487621307373047, 4.487606048583984, 4.487590789794922, 4.487575531005859, 4.487560272216797, 4.487544536590576, 4.487529277801514, 4.487514019012451, 4.487498760223389, 4.487483501434326, 4.487468242645264, 4.487452507019043, 4.4874372482299805, 4.487421989440918, 4.4874067306518555, 4.487391471862793, 4.4873762130737305, 4.48736047744751, 4.487345218658447, 4.487329959869385, 4.487314701080322, 4.48729944229126, 4.487283706665039, 4.487268447875977, 4.487253189086914, 4.487237930297852, 4.487222671508789, 4.487206935882568, 4.487191677093506, 4.487176418304443, 4.487161159515381, 4.487145900726318, 4.487130165100098, 4.487114906311035, 4.487099647521973, 4.48708438873291, 4.4870686531066895, 4.487053394317627, 4.4870381355285645, 4.487022876739502, 4.487007141113281, 4.486991882324219, 4.486976623535156, 4.486961364746094, 4.486946105957031, 4.4869303703308105, 4.486915111541748, 4.4868998527526855, 4.486884117126465, 4.486868858337402, 4.48685359954834, 4.486838340759277, 4.486822605133057, 4.486807346343994, 4.486792087554932, 4.486776828765869, 4.486761093139648, 4.486745834350586, 4.486730575561523, 4.486714839935303, 4.48669958114624, 4.486684322357178, 4.486669063568115, 4.4866533279418945, 4.486638069152832, 4.4866228103637695, 4.486607074737549, 4.486591815948486, 4.486576557159424, 4.486560821533203, 4.486545562744141, 4.486530303955078, 4.486515045166016, 4.486499309539795, 4.486484050750732, 4.48646879196167, 4.486453056335449, 4.486437797546387, 4.486422538757324, 4.4864068031311035, 4.486391544342041, 4.4863762855529785, 4.486360549926758, 4.486345291137695, 4.486330032348633, 4.486314296722412, 4.48629903793335, 4.486283302307129, 4.486268043518066, 4.486252784729004, 4.486237049102783, 4.486221790313721, 4.486206531524658, 4.4861907958984375, 4.486175537109375, 4.4861602783203125, 4.486144542694092, 4.486129283905029, 4.486113548278809, 4.486098289489746, 4.486083030700684, 4.486067295074463, 4.4860520362854, 4.486036777496338, 4.486021041870117, 4.486005783081055, 4.485990047454834, 4.4859747886657715, 4.485959529876709, 4.485943794250488, 4.485928535461426, 4.485912799835205, 4.485897541046143, 4.485881805419922, 4.485866546630859, 4.485851287841797, 4.485835552215576, 4.485820293426514, 4.485804557800293, 4.4857892990112305, 4.48577356338501, 4.485758304595947, 4.485743045806885, 4.485727310180664, 4.485712051391602, 4.485696315765381, 4.485681056976318, 4.485665321350098, 4.485650062561035, 4.4856343269348145, 4.485619068145752, 4.4856038093566895, 4.485588073730469, 4.485572814941406, 4.4855570793151855, 4.485541820526123, 4.485526084899902, 4.48551082611084, 4.485495090484619, 4.485479831695557, 4.485464096069336, 4.485448837280273, 4.485433101654053, 4.48541784286499, 4.4854021072387695, 4.485386848449707, 4.485371112823486, 4.485355854034424, 4.485340118408203, 4.485324859619141, 4.48530912399292, 4.485293865203857, 4.485278129577637, 4.485262870788574, 4.4852471351623535, 4.485231876373291, 4.48521614074707, 4.485200881958008, 4.485185146331787, 4.485169887542725, 4.485154151916504, 4.485138893127441, 4.485123157501221, 4.485107421875, 4.4850921630859375, 4.485076427459717, 4.485061168670654, 4.485045433044434, 4.485030174255371, 4.48501443862915, 4.484999179840088, 4.484983444213867, 4.4849677085876465, 4.484952449798584, 4.484936714172363, 4.484921455383301, 4.48490571975708, 4.484890460968018, 4.484874725341797, 4.484858989715576, 4.484843730926514, 4.484827995300293, 4.4848127365112305, 4.48479700088501, 4.484781742095947, 4.484766006469727, 4.484750270843506, 4.484735012054443, 4.484719276428223, 4.48470401763916, 4.4846882820129395, 4.484672546386719, 4.484657287597656, 4.4846415519714355, 4.484625816345215, 4.484610557556152, 4.484594821929932, 4.484579563140869, 4.484563827514648, 4.484548091888428, 4.484532833099365, 4.4845170974731445, 4.484501361846924, 4.484486103057861, 4.484470367431641, 4.484455108642578, 4.484439373016357, 4.484423637390137, 4.484408378601074, 4.4843926429748535, 4.484376907348633, 4.48436164855957, 4.48434591293335, 4.484330177307129, 4.484314918518066, 4.484299182891846, 4.484283447265625, 4.4842681884765625, 4.484252452850342, 4.484236717224121, 4.484221458435059, 4.484205722808838, 4.484189987182617, 4.484174728393555, 4.484158992767334, 4.484143257141113, 4.484127521514893, 4.48411226272583, 4.484096527099609, 4.484080791473389, 4.484065532684326, 4.4840497970581055, 4.484034061431885, 4.484018802642822, 4.484003067016602, 4.483987331390381, 4.48397159576416, 4.483956336975098, 4.483940601348877, 4.483924865722656, 4.4839091300964355, 4.483893871307373, 4.483878135681152, 4.483862400054932, 4.483846664428711, 4.483831405639648, 4.483815670013428, 4.483799934387207, 4.483784198760986, 4.483768939971924, 4.483753204345703, 4.483737468719482, 4.483721733093262, 4.483706474304199, 4.4836907386779785, 4.483675003051758, 4.483659267425537, 4.483644008636475, 4.483628273010254, 4.483612537384033, 4.4835968017578125, 4.48358154296875, 4.483565807342529, 4.483550071716309, 4.483534336090088, 4.483518600463867, 4.483503341674805, 4.483487606048584, 4.483471870422363, 4.483456134796143, 4.483440399169922, 4.483425140380859, 4.483409404754639, 4.483393669128418, 4.483377933502197, 4.483362197875977, 4.483346462249756, 4.483331203460693, 4.483315467834473, 4.483299732208252, 4.483283996582031, 4.4832682609558105, 4.48325252532959, 4.483237266540527, 4.483221530914307, 4.483205795288086, 4.483190059661865, 4.4831743240356445, 4.483158588409424, 4.483143329620361, 4.483127593994141, 4.48311185836792, 4.483096122741699, 4.4830803871154785, 4.483064651489258, 4.483048915863037, 4.483033180236816, 4.483017921447754, 4.483002185821533, 4.4829864501953125, 4.482970714569092, 4.482954978942871, 4.48293924331665, 4.48292350769043, 4.482907772064209, 4.4828925132751465, 4.482876777648926, 4.482861042022705, 4.482845306396484, 4.482829570770264, 4.482813835144043, 4.482798099517822, 4.482782363891602, 4.482766628265381, 4.48275089263916, 4.4827351570129395, 4.482719898223877, 4.482704162597656, 4.4826884269714355, 4.482672691345215, 4.482656955718994, 4.482641220092773, 4.482625484466553, 4.482609748840332, 4.482594013214111, 4.482578277587891, 4.48256254196167, 4.482546806335449, 4.4825310707092285, 4.482515335083008, 4.482499599456787, 4.482483863830566, 4.482468128204346, 4.482452392578125, 4.482436656951904, 4.482421398162842, 4.482405662536621, 4.4823899269104, 4.48237419128418, 4.482358455657959, 4.482342720031738, 4.482326984405518, 4.482311248779297, 4.482295513153076, 4.4822797775268555, 4.482264041900635, 4.482248306274414, 4.482232570648193, 4.482216835021973, 4.482201099395752, 4.482185363769531, 4.4821696281433105, 4.48215389251709, 4.482138156890869, 4.482122421264648, 4.482106685638428, 4.482090950012207, 4.482075214385986, 4.482059478759766, 4.482043266296387, 4.482027530670166, 4.482011795043945, 4.481996059417725, 4.481980323791504, 4.481964588165283, 4.4819488525390625, 4.481933116912842, 4.481917381286621, 4.4819016456604, 4.48188591003418, 4.481870174407959, 4.481854438781738, 4.481838703155518, 4.481822967529297, 4.481807231903076, 4.4817914962768555, 4.481775760650635, 4.481759548187256, 4.481743812561035, 4.4817280769348145, 4.481712341308594, 4.481696605682373, 4.481680870056152, 4.481665134429932, 4.481649398803711, 4.48163366317749, 4.4816179275512695, 4.481602191925049, 4.48158597946167, 4.481570243835449, 4.4815545082092285, 4.481538772583008, 4.481523036956787, 4.481507301330566, 4.481491565704346, 4.481475830078125, 4.481460094451904, 4.481443881988525, 4.481428146362305, 4.481412410736084, 4.481396675109863, 4.481380939483643, 4.481365203857422, 4.481349468231201, 4.481333255767822, 4.481317520141602, 4.481301784515381, 4.48128604888916, 4.4812703132629395, 4.481254577636719, 4.481238842010498, 4.481222629547119, 4.481206893920898, 4.481191158294678, 4.481175422668457, 4.481159687042236, 4.481143474578857, 4.481127738952637, 4.481112003326416, 4.481096267700195, 4.481080532073975, 4.481064796447754, 4.481048583984375, 4.481032848358154, 4.481017112731934, 4.481001377105713, 4.480985641479492, 4.480969429016113, 4.480953693389893, 4.480937957763672, 4.480922222137451, 4.4809064865112305, 4.480890274047852, 4.480874538421631, 4.48085880279541, 4.4808430671691895, 4.4808268547058105, 4.48081111907959, 4.480795383453369, 4.480779647827148, 4.4807634353637695, 4.480747699737549, 4.480731964111328, 4.480716228485107, 4.480700492858887, 4.480684280395508, 4.480668544769287, 4.480652809143066, 4.4806365966796875, 4.480620861053467, 4.480605125427246, 4.480589389801025, 4.4805731773376465, 4.480557441711426, 4.480541706085205, 4.480525970458984, 4.4805097579956055, 4.480494022369385, 4.480478286743164, 4.480462074279785, 4.4804463386535645, 4.480430603027344, 4.480414867401123, 4.480398654937744, 4.480382919311523, 4.480367183685303, 4.480350971221924, 4.480335235595703, 4.480319499969482, 4.4803032875061035, 4.480287551879883, 4.480271816253662, 4.480256080627441, 4.4802398681640625, 4.480224132537842, 4.480208396911621, 4.480192184448242, 4.4801764488220215, 4.480160713195801, 4.480144500732422, 4.480128765106201, 4.4801130294799805, 4.480096817016602, 4.480081081390381, 4.480064868927002, 4.480049133300781, 4.4800333976745605, 4.480017185211182, 4.480001449584961, 4.47998571395874, 4.479969501495361, 4.479953765869141, 4.47993803024292, 4.479921817779541, 4.47990608215332, 4.479889869689941, 4.479874134063721, 4.4798583984375, 4.479842185974121, 4.4798264503479, 4.4798102378845215, 4.479794502258301, 4.47977876663208, 4.479762554168701, 4.4797468185424805, 4.479730606079102, 4.479714870452881, 4.47969913482666, 4.479682922363281, 4.4796671867370605, 4.479650974273682, 4.479635238647461, 4.47961950302124, 4.479603290557861, 4.479587554931641, 4.479571342468262, 4.479555606842041, 4.479539394378662, 4.479523658752441, 4.479507923126221, 4.479491710662842, 4.479475975036621, 4.479459762573242, 4.4794440269470215, 4.479427814483643, 4.479412078857422, 4.479395866394043, 4.479380130767822, 4.479363918304443, 4.479348182678223, 4.479331970214844, 4.479316234588623, 4.479300498962402, 4.479284286499023, 4.479268550872803, 4.479252338409424, 4.479236602783203, 4.479220390319824, 4.4792046546936035, 4.479188442230225, 4.479172706604004, 4.479156494140625, 4.479140758514404, 4.479124546051025, 4.479108810424805, 4.479092597961426, 4.479076862335205, 4.479060649871826, 4.4790449142456055, 4.479028701782227, 4.479012489318848, 4.478996753692627, 4.478980541229248, 4.478964805603027, 4.478948593139648, 4.478932857513428, 4.478916645050049, 4.478900909423828, 4.478884696960449, 4.4788689613342285, 4.47885274887085, 4.478837013244629, 4.47882080078125, 4.478804588317871, 4.47878885269165, 4.4787726402282715, 4.478756904602051, 4.478740692138672, 4.478724956512451, 4.478708744049072, 4.478692531585693, 4.478676795959473, 4.478660583496094, 4.478644847869873, 4.478628635406494, 4.478612899780273, 4.4785966873168945, 4.478580474853516, 4.478564739227295, 4.478548526763916, 4.478532791137695, 4.478516578674316, 4.4785003662109375, 4.478484630584717, 4.478468418121338, 4.478452682495117, 4.478436470031738, 4.478420257568359, 4.478404521942139, 4.47838830947876, 4.478372097015381, 4.47835636138916, 4.478340148925781, 4.478323936462402, 4.478308200836182, 4.478291988372803, 4.478276252746582, 4.478260040283203, 4.478243827819824, 4.4782280921936035, 4.478211879730225, 4.478195667266846, 4.478179931640625, 4.478163719177246, 4.478147506713867, 4.4781317710876465, 4.478115558624268, 4.478099346160889, 4.478083610534668, 4.478067398071289, 4.47805118560791, 4.4780354499816895, 4.4780192375183105, 4.478003025054932, 4.477987289428711, 4.477971076965332, 4.477954864501953, 4.477938652038574, 4.4779229164123535, 4.477906703948975, 4.477890491485596, 4.477874755859375, 4.477858543395996, 4.477842330932617, 4.477826118469238, 4.477810382843018, 4.477794170379639, 4.47777795791626, 4.477762222290039, 4.47774600982666, 4.477729797363281, 4.477713584899902, 4.477697849273682, 4.477681636810303, 4.477665424346924, 4.477649211883545, 4.477633476257324, 4.477617263793945, 4.477601051330566, 4.4775848388671875, 4.477569103240967, 4.477552890777588, 4.477536678314209, 4.47752046585083, 4.477504730224609, 4.4774885177612305, 4.477472305297852, 4.477456092834473, 4.477439880371094, 4.477424144744873, 4.477407932281494, 4.477391719818115, 4.477375507354736, 4.477359294891357, 4.477343559265137, 4.477327346801758, 4.477311134338379, 4.477294921875, 4.477278709411621, 4.4772629737854, 4.4772467613220215, 4.477230548858643, 4.477214336395264, 4.477198123931885, 4.477182388305664, 4.477166175842285, 4.477149963378906, 4.477133750915527, 4.477117538452148, 4.4771013259887695, 4.477085590362549, 4.47706937789917, 4.477053165435791, 4.477036952972412, 4.477020740509033, 4.477004528045654, 4.476988315582275, 4.476972579956055, 4.476956367492676, 4.476940155029297, 4.476923942565918, 4.476907730102539, 4.47689151763916, 4.476875305175781, 4.476859092712402, 4.476843357086182, 4.476827144622803, 4.476810932159424, 4.476794719696045, 4.476778507232666, 4.476762294769287, 4.476746082305908, 4.476729869842529, 4.47671365737915, 4.47669792175293, 4.476681709289551, 4.476665496826172, 4.476649284362793, 4.476633071899414, 4.476616859436035, 4.476600646972656, 4.476584434509277, 4.476568222045898, 4.4765520095825195, 4.476535797119141, 4.476519584655762, 4.476503372192383, 4.476487636566162, 4.476471424102783, 4.476455211639404, 4.476438999176025, 4.4764227867126465, 4.476406574249268, 4.476390361785889, 4.47637414932251, 4.476357936859131, 4.476341724395752, 4.476325511932373, 4.476309299468994, 4.476293087005615, 4.476276874542236, 4.476260662078857, 4.4762444496154785, 4.4762282371521, 4.476212024688721, 4.476195812225342, 4.476179599761963, 4.476163387298584, 4.476147174835205, 4.476130962371826, 4.476114749908447, 4.476098537445068, 4.4760823249816895, 4.4760661125183105, 4.476049900054932, 4.476033687591553, 4.476017475128174, 4.476001262664795, 4.475985050201416, 4.475968837738037, 4.475952625274658, 4.475936412811279, 4.4759202003479, 4.4759039878845215, 4.475887775421143, 4.475871562957764, 4.475855350494385, 4.475839138031006, 4.475822925567627, 4.475806713104248, 4.475790500640869, 4.47577428817749, 4.475757598876953, 4.475741386413574, 4.475725173950195, 4.475708961486816, 4.4756927490234375, 4.475676536560059, 4.47566032409668, 4.475644111633301, 4.475627899169922, 4.475611686706543, 4.475595474243164, 4.475579261779785, 4.475563049316406, 4.475546360015869, 4.47553014755249, 4.475513935089111, 4.475497722625732, 4.4754815101623535, 4.475465297698975, 4.475449085235596, 4.475432872772217, 4.475416660308838, 4.475399971008301, 4.475383758544922, 4.475367546081543, 4.475351333618164, 4.475335121154785, 4.475318908691406, 4.475302696228027, 4.475286483764648, 4.475269794464111, 4.475253582000732, 4.4752373695373535, 4.475221157073975, 4.475204944610596, 4.475188732147217, 4.475172519683838, 4.475155830383301, 4.475139617919922, 4.475123405456543, 4.475107192993164, 4.475090980529785, 4.475074768066406, 4.475058078765869, 4.47504186630249, 4.475025653839111, 4.475009441375732, 4.4749932289123535, 4.474976539611816, 4.4749603271484375, 4.474944114685059, 4.47492790222168, 4.474911689758301, 4.474895000457764, 4.474878787994385, 4.474862575531006, 4.474846363067627, 4.474830150604248, 4.474813461303711, 4.474797248840332, 4.474781036376953, 4.474764823913574, 4.474748134613037, 4.474731922149658, 4.474715709686279, 4.4746994972229, 4.4746832847595215, 4.474666595458984, 4.4746503829956055, 4.474634170532227, 4.474617958068848, 4.4746012687683105, 4.474585056304932, 4.474568843841553, 4.474552154541016, 4.474535942077637, 4.474519729614258, 4.474503517150879, 4.474486827850342, 4.474470615386963, 4.474454402923584, 4.474438190460205, 4.474421501159668, 4.474405288696289, 4.47438907623291, 4.474372386932373, 4.474356174468994, 4.474339962005615, 4.474323749542236, 4.474307060241699, 4.47429084777832, 4.474274635314941, 4.474257946014404, 4.474241733551025, 4.4742255210876465, 4.474208831787109, 4.4741926193237305, 4.474176406860352, 4.4741597175598145, 4.4741435050964355, 4.474127292633057, 4.4741106033325195, 4.474094390869141, 4.474078178405762, 4.474061489105225, 4.474045276641846, 4.474029064178467, 4.47401237487793, 4.473996162414551, 4.473979949951172, 4.473963260650635, 4.473947048187256, 4.473930835723877, 4.47391414642334, 4.473897933959961, 4.473881244659424, 4.473865032196045, 4.473848819732666, 4.473832130432129, 4.47381591796875, 4.473799705505371, 4.473783016204834, 4.473766803741455, 4.473750114440918, 4.473733901977539, 4.47371768951416, 4.473701000213623, 4.473684787750244, 4.473668098449707, 4.473651885986328, 4.473635196685791, 4.473618984222412, 4.473602771759033, 4.473586082458496, 4.473569869995117, 4.47355318069458, 4.473536968231201, 4.473520755767822, 4.473504066467285, 4.473487854003906, 4.473471164703369, 4.47345495223999, 4.473438262939453, 4.473422050476074, 4.473405361175537, 4.473389148712158, 4.473372459411621, 4.473356246948242, 4.473340034484863, 4.473323345184326, 4.473307132720947, 4.47329044342041, 4.473274230957031, 4.473257541656494, 4.473241329193115, 4.473224639892578, 4.473208427429199, 4.473191738128662, 4.473175525665283, 4.473158836364746, 4.473142623901367, 4.47312593460083, 4.473109722137451, 4.473093032836914, 4.473076820373535, 4.473060131072998, 4.473043918609619, 4.473027229309082, 4.473011016845703, 4.472994327545166, 4.472978115081787, 4.47296142578125, 4.472945213317871, 4.472928524017334, 4.472911834716797, 4.472895622253418, 4.472878932952881, 4.472862720489502, 4.472846031188965, 4.472829818725586, 4.472813129425049, 4.47279691696167, 4.472780227661133, 4.472764015197754, 4.472747325897217, 4.47273063659668, 4.472714424133301, 4.472697734832764, 4.472681522369385, 4.472664833068848, 4.472648620605469, 4.472631931304932, 4.4726152420043945, 4.472599029541016, 4.4725823402404785, 4.4725661277771, 4.4725494384765625, 4.472532749176025, 4.4725165367126465, 4.472499847412109, 4.4724836349487305, 4.472466945648193, 4.472450256347656, 4.472434043884277, 4.47241735458374, 4.472400665283203, 4.472384452819824, 4.472367763519287, 4.472351551055908, 4.472334861755371, 4.472318172454834, 4.472301959991455, 4.472285270690918, 4.472268581390381, 4.472252368927002, 4.472235679626465, 4.472218990325928, 4.472202777862549, 4.472186088562012, 4.472169399261475, 4.472153186798096, 4.472136497497559, 4.4721198081970215, 4.472103595733643, 4.4720869064331055, 4.472070217132568, 4.4720540046691895, 4.472037315368652, 4.472020626068115, 4.472004413604736, 4.471987724304199, 4.471971035003662, 4.471954822540283, 4.471938133239746, 4.471921443939209, 4.471904754638672, 4.471888542175293, 4.471871852874756, 4.471855163574219, 4.47183895111084, 4.471822261810303, 4.471805572509766, 4.4717888832092285, 4.47177267074585, 4.4717559814453125, 4.471739292144775, 4.4717230796813965, 4.471706390380859, 4.471689701080322, 4.471673011779785, 4.471656799316406, 4.471640110015869, 4.471623420715332, 4.471606731414795, 4.471590518951416, 4.471573829650879, 4.471557140350342, 4.471540451049805, 4.471523761749268, 4.471507549285889, 4.471490859985352, 4.4714741706848145, 4.471457481384277, 4.471441268920898, 4.471424579620361, 4.471407890319824, 4.471391201019287, 4.47137451171875, 4.471358299255371, 4.471341609954834, 4.471324920654297, 4.47130823135376, 4.471291542053223, 4.471275329589844, 4.471258640289307, 4.4712419509887695, 4.471225261688232, 4.471208572387695, 4.471191883087158, 4.471175670623779, 4.471158981323242, 4.471142292022705, 4.471125602722168, 4.471108913421631, 4.471092224121094, 4.471076011657715, 4.471059322357178, 4.471042633056641, 4.4710259437561035, 4.471009254455566, 4.470992565155029, 4.470975875854492, 4.470959663391113, 4.470942974090576, 4.470926284790039, 4.470909595489502, 4.470892906188965, 4.470876216888428, 4.470859527587891, 4.4708428382873535, 4.470826625823975, 4.4708099365234375, 4.4707932472229, 4.470776557922363, 4.470759868621826, 4.470743179321289, 4.470726490020752, 4.470709800720215, 4.470693111419678, 4.470676422119141, 4.4706597328186035, 4.470643520355225, 4.4706268310546875, 4.47061014175415, 4.470593452453613, 4.470576763153076, 4.470560073852539, 4.470543384552002, 4.470526695251465, 4.470510005950928, 4.470493316650391, 4.4704766273498535, 4.470459938049316, 4.470443248748779, 4.470426559448242, 4.470409870147705, 4.470393180847168, 4.470376491546631, 4.470359802246094, 4.470343112945557, 4.470326900482178, 4.470310211181641, 4.4702935218811035, 4.470276832580566, 4.470260143280029, 4.470243453979492, 4.470226764678955, 4.470210075378418, 4.470193386077881, 4.470176696777344, 4.470160007476807, 4.4701433181762695, 4.470126628875732, 4.470109939575195, 4.470093250274658, 4.470076560974121, 4.470059871673584, 4.470042705535889, 4.470026016235352, 4.4700093269348145, 4.469992637634277, 4.46997594833374, 4.469959259033203, 4.469942569732666, 4.469925880432129, 4.469909191131592, 4.469892501831055, 4.469875812530518, 4.4698591232299805, 4.469842433929443, 4.469825744628906, 4.469809055328369, 4.469792366027832, 4.469775676727295, 4.469758987426758, 4.469742298126221, 4.469725608825684, 4.469708442687988, 4.469691753387451, 4.469675064086914, 4.469658374786377, 4.46964168548584, 4.469624996185303, 4.469608306884766, 4.4695916175842285, 4.469574928283691, 4.469558238983154, 4.469541072845459, 4.469524383544922, 4.469507694244385, 4.469491004943848, 4.4694743156433105, 4.469457626342773, 4.469440937042236, 4.469424247741699, 4.469407081604004, 4.469390392303467, 4.46937370300293, 4.469357013702393, 4.4693403244018555, 4.469323635101318, 4.469306945800781, 4.469289779663086, 4.469273090362549, 4.469256401062012, 4.469239711761475, 4.4692230224609375, 4.4692063331604, 4.469189643859863, 4.469172477722168, 4.469155788421631, 4.469139099121094, 4.469122409820557, 4.4691057205200195, 4.469088554382324, 4.469071865081787, 4.46905517578125, 4.469038486480713, 4.469021797180176, 4.4690046310424805, 4.468987941741943, 4.468971252441406, 4.468954563140869, 4.468937873840332, 4.468920707702637, 4.4689040184021, 4.4688873291015625, 4.468870639801025, 4.468853950500488, 4.468836784362793, 4.468820095062256, 4.468803405761719, 4.468786716461182, 4.468769550323486, 4.468752861022949, 4.468736171722412, 4.468719482421875, 4.46870231628418, 4.468685626983643, 4.4686689376831055, 4.468652248382568, 4.468635082244873, 4.468618392944336, 4.468601703643799, 4.468585014343262, 4.468567848205566, 4.468551158905029, 4.468534469604492, 4.468517303466797, 4.46850061416626, 4.468483924865723, 4.4684672355651855, 4.46845006942749, 4.468433380126953, 4.468416690826416, 4.468399524688721, 4.468382835388184, 4.4683661460876465, 4.468348979949951, 4.468332290649414, 4.468315601348877, 4.468298435211182, 4.4682817459106445, 4.468265056610107, 4.468247890472412, 4.468231201171875, 4.468214511871338, 4.468197345733643, 4.4681806564331055, 4.468163967132568, 4.468146800994873, 4.468130111694336, 4.468113422393799, 4.4680962562561035, 4.468079566955566, 4.468062877655029, 4.468045711517334, 4.468029022216797, 4.46801233291626, 4.4679951667785645, 4.467978477478027, 4.467961311340332, 4.467944622039795, 4.467927932739258, 4.4679107666015625, 4.467894077301025, 4.46787691116333, 4.467860221862793, 4.467843532562256, 4.4678263664245605, 4.467809677124023, 4.467792510986328, 4.467775821685791, 4.467759132385254, 4.467741966247559, 4.4677252769470215, 4.467708110809326, 4.467691421508789, 4.467674255371094, 4.467657566070557, 4.4676408767700195, 4.467623710632324, 4.467607021331787, 4.467589855194092, 4.467573165893555, 4.467555999755859, 4.467539310455322, 4.467522144317627, 4.46750545501709, 4.467488765716553, 4.467471599578857, 4.46745491027832, 4.467437744140625, 4.467421054840088, 4.467403888702393, 4.4673871994018555, 4.46737003326416, 4.467353343963623, 4.467336177825928, 4.467319488525391, 4.467302322387695, 4.467285633087158, 4.467268466949463, 4.467251777648926, 4.4672346115112305, 4.467217922210693, 4.467200756072998, 4.467184066772461, 4.467166900634766, 4.4671502113342285, 4.467133045196533, 4.467116355895996, 4.467099189758301, 4.467082500457764, 4.467065334320068, 4.467048645019531, 4.467031478881836, 4.467014312744141, 4.4669976234436035, 4.466980457305908, 4.466963768005371, 4.466946601867676, 4.466929912567139, 4.466912746429443, 4.466896057128906, 4.466878890991211, 4.466861724853516, 4.4668450355529785, 4.466827869415283, 4.466811180114746, 4.466794013977051, 4.4667768478393555, 4.466760158538818, 4.466742992401123, 4.466726303100586, 4.466709136962891, 4.4666924476623535, 4.466675281524658, 4.466658115386963, 4.466641426086426, 4.4666242599487305, 4.466607093811035, 4.466590404510498, 4.466573238372803, 4.466556549072266, 4.46653938293457, 4.466522216796875, 4.466505527496338, 4.466488361358643, 4.466471195220947, 4.46645450592041, 4.466437339782715, 4.466420650482178, 4.466403484344482, 4.466386318206787, 4.46636962890625, 4.466352462768555, 4.466335296630859, 4.466318607330322, 4.466301441192627, 4.466284275054932, 4.4662675857543945, 4.466250419616699, 4.466233253479004, 4.466216564178467, 4.4661993980407715, 4.466182231903076, 4.466165065765381, 4.466148376464844, 4.466131210327148, 4.466114044189453, 4.466097354888916, 4.466080188751221, 4.466063022613525, 4.466046333312988, 4.466029167175293, 4.466012001037598, 4.465994834899902, 4.465978145599365, 4.46596097946167, 4.465943813323975, 4.465926647186279, 4.465909957885742, 4.465892791748047, 4.465875625610352, 4.4658589363098145, 4.465841770172119, 4.465824604034424, 4.4658074378967285, 4.465790748596191, 4.465773582458496, 4.465756416320801, 4.4657392501831055, 4.46572208404541, 4.465705394744873, 4.465688228607178, 4.465671062469482, 4.465653896331787, 4.46563720703125, 4.465620040893555, 4.465602874755859, 4.465585708618164, 4.465568542480469, 4.465551853179932, 4.465534687042236, 4.465517520904541, 4.465500354766846, 4.46548318862915, 4.465466499328613, 4.465449333190918, 4.465432167053223, 4.465415000915527, 4.465397834777832, 4.465380668640137, 4.4653639793396, 4.465346813201904, 4.465329647064209, 4.465312480926514, 4.465295314788818, 4.465278148651123, 4.465261459350586, 4.465244293212891, 4.465227127075195, 4.4652099609375, 4.465192794799805, 4.465175628662109, 4.465158462524414, 4.465141773223877, 4.465124607086182, 4.465107440948486, 4.465090274810791, 4.465073108673096, 4.4650559425354, 4.465038776397705, 4.46502161026001, 4.4650044441223145, 4.464987754821777, 4.464970588684082, 4.464953422546387, 4.464936256408691, 4.464919090270996, 4.464901924133301, 4.4648847579956055, 4.46486759185791, 4.464850425720215, 4.4648332595825195, 4.464816093444824, 4.464799404144287, 4.464782238006592, 4.4647650718688965, 4.464747905731201, 4.464730739593506, 4.4647135734558105, 4.464696407318115, 4.46467924118042, 4.464662075042725, 4.464644908905029, 4.464627742767334, 4.464610576629639, 4.464593410491943, 4.464576244354248, 4.464559078216553, 4.464541912078857, 4.464524745941162, 4.464507579803467, 4.4644904136657715, 4.464473247528076, 4.464456081390381, 4.4644389152526855, 4.46442174911499, 4.464404582977295, 4.4643874168396, 4.464370250701904, 4.464353084564209, 4.464335918426514, 4.464318752288818, 4.464301586151123, 4.464284420013428, 4.464267253875732, 4.464250087738037, 4.464232921600342, 4.4642157554626465, 4.464198589324951, 4.464181423187256, 4.4641642570495605, 4.464147090911865, 4.46412992477417, 4.464112758636475, 4.464095592498779, 4.464078426361084, 4.464061260223389, 4.464044094085693, 4.464026927947998, 4.464009761810303, 4.463992118835449, 4.463974952697754, 4.463957786560059, 4.463940620422363, 4.463923454284668, 4.463906288146973, 4.463889122009277, 4.463871955871582, 4.463854789733887, 4.463837623596191, 4.463820457458496, 4.463802814483643, 4.463785648345947, 4.463768482208252, 4.463751316070557, 4.463734149932861, 4.463716983795166, 4.463699817657471, 4.463682651519775, 4.46366548538208, 4.463647842407227, 4.463630676269531, 4.463613510131836, 4.463596343994141, 4.463579177856445, 4.46356201171875, 4.463544845581055, 4.463527202606201, 4.463510036468506, 4.4634928703308105, 4.463475704193115, 4.46345853805542, 4.463441371917725, 4.463423728942871, 4.463406562805176, 4.4633893966674805, 4.463372230529785, 4.46335506439209, 4.4633378982543945, 4.463320255279541, 4.463303089141846, 4.46328592300415, 4.463268756866455, 4.46325159072876, 4.463233947753906, 4.463216781616211, 4.463199615478516, 4.46318244934082, 4.463164806365967, 4.4631476402282715, 4.463130474090576, 4.463113307952881, 4.4630961418151855, 4.463078498840332, 4.463061332702637, 4.463044166564941, 4.463027000427246, 4.463009357452393, 4.462992191314697, 4.462975025177002, 4.462957859039307, 4.462940216064453, 4.462923049926758, 4.4629058837890625, 4.462888717651367, 4.462871074676514, 4.462853908538818, 4.462836742401123, 4.462819576263428, 4.462801933288574, 4.462784767150879, 4.462767601013184, 4.46274995803833, 4.462732791900635, 4.4627156257629395, 4.462697982788086, 4.462680816650391, 4.462663650512695, 4.462646484375, 4.4626288414001465, 4.462611675262451, 4.462594509124756, 4.462576866149902, 4.462559700012207, 4.462542533874512, 4.462524890899658, 4.462507724761963, 4.462490558624268, 4.462472915649414, 4.462455749511719, 4.462438583374023, 4.46242094039917, 4.462403774261475, 4.462386608123779, 4.462368965148926, 4.4623517990112305, 4.462334632873535, 4.462316989898682, 4.462299823760986, 4.462282180786133, 4.4622650146484375, 4.462247848510742, 4.462230205535889, 4.462213039398193, 4.46219539642334, 4.4621782302856445, 4.462161064147949, 4.462143421173096, 4.4621262550354, 4.462108612060547, 4.462091445922852, 4.462074279785156, 4.462056636810303, 4.462039470672607, 4.462021827697754, 4.462004661560059, 4.461987495422363, 4.46196985244751, 4.4619526863098145, 4.461935043334961, 4.461917877197266, 4.461900234222412, 4.461883068084717, 4.4618659019470215, 4.461848258972168, 4.461831092834473, 4.461813449859619, 4.461796283721924, 4.46177864074707, 4.461761474609375, 4.4617438316345215, 4.461726665496826, 4.461709022521973, 4.461691856384277, 4.461674213409424, 4.4616570472717285, 4.461639404296875, 4.46162223815918, 4.461604595184326, 4.461587429046631, 4.461569786071777, 4.461552619934082, 4.4615349769592285, 4.461517810821533, 4.46150016784668, 4.461483001708984, 4.461465358734131, 4.4614481925964355, 4.461430549621582, 4.461413383483887, 4.461395740509033, 4.461378574371338, 4.461360931396484, 4.461343765258789, 4.4613261222839355, 4.46130895614624, 4.461291313171387, 4.461274147033691, 4.461256504058838, 4.461238861083984, 4.461221694946289, 4.4612040519714355, 4.46118688583374, 4.461169242858887, 4.461152076721191, 4.461134433746338, 4.461116790771484, 4.461099624633789, 4.4610819816589355, 4.46106481552124, 4.461047172546387, 4.461029529571533, 4.461012363433838, 4.460994720458984, 4.460977554321289, 4.4609599113464355, 4.460942268371582, 4.460925102233887, 4.460907459259033, 4.460890293121338, 4.460872650146484, 4.460855007171631, 4.4608378410339355, 4.460820198059082, 4.4608025550842285, 4.460785388946533, 4.46076774597168, 4.460750579833984, 4.460732936859131, 4.460715293884277, 4.460698127746582, 4.4606804847717285, 4.460662841796875, 4.46064567565918, 4.460628032684326, 4.460610389709473, 4.460593223571777, 4.460575580596924, 4.46055793762207, 4.460540771484375, 4.4605231285095215, 4.460505485534668, 4.4604878425598145, 4.460470676422119, 4.460453033447266, 4.460435390472412, 4.460418224334717, 4.460400581359863, 4.46038293838501, 4.4603657722473145, 4.460348129272461, 4.460330486297607, 4.460312843322754, 4.460295677185059, 4.460278034210205, 4.460260391235352, 4.460242748260498, 4.460225582122803, 4.460207939147949, 4.460190296173096, 4.4601731300354, 4.460155487060547, 4.460137844085693, 4.46012020111084, 4.460102558135986, 4.460085391998291, 4.4600677490234375, 4.460050106048584, 4.4600324630737305, 4.460015296936035, 4.459997653961182, 4.459980010986328, 4.459962368011475, 4.459945201873779, 4.459927558898926, 4.459909915924072, 4.459892272949219, 4.459874629974365, 4.45985746383667, 4.459839820861816, 4.459822177886963, 4.459804534912109, 4.459786891937256, 4.459769248962402, 4.459752082824707, 4.4597344398498535, 4.459716796875, 4.4596991539001465, 4.459681510925293, 4.4596638679504395, 4.459646701812744, 4.459629058837891, 4.459611415863037, 4.459593772888184, 4.45957612991333, 4.459558486938477, 4.459540843963623, 4.459523677825928, 4.459506034851074, 4.459488391876221, 4.459470748901367, 4.459453105926514, 4.45943546295166, 4.459417819976807, 4.459400177001953, 4.459383010864258, 4.459365367889404, 4.459347724914551, 4.459330081939697, 4.459312438964844, 4.45929479598999, 4.459277153015137, 4.459259510040283, 4.45924186706543, 4.459224224090576, 4.459207057952881, 4.459189414978027, 4.459171772003174, 4.45915412902832, 4.459136486053467, 4.459118843078613, 4.45910120010376, 4.459083557128906, 4.459065914154053, 4.459048271179199, 4.459030628204346, 4.459012985229492, 4.458995342254639, 4.458977699279785, 4.458960056304932, 4.458942413330078, 4.458924770355225, 4.458907127380371, 4.458889484405518, 4.458871841430664, 4.4588541984558105, 4.458836555480957, 4.4588189125061035, 4.45880126953125, 4.4587836265563965, 4.458765983581543, 4.4587483406066895, 4.458730697631836, 4.458713054656982, 4.458695411682129, 4.458677768707275, 4.458660125732422, 4.458642482757568, 4.458624839782715, 4.458607196807861, 4.458589553833008, 4.458571910858154, 4.458554267883301, 4.458536624908447, 4.458518981933594, 4.45850133895874, 4.458483695983887, 4.458466053009033, 4.45844841003418, 4.458430767059326, 4.458413124084473, 4.458395481109619, 4.458377838134766, 4.458360195159912, 4.458342552185059, 4.458324432373047, 4.458306789398193, 4.45828914642334, 4.458271503448486, 4.458253860473633, 4.458236217498779, 4.458218574523926, 4.458200931549072, 4.458183288574219, 4.458165645599365, 4.4581475257873535, 4.4581298828125, 4.4581122398376465, 4.458094596862793, 4.4580769538879395, 4.458059310913086, 4.458041667938232, 4.458024024963379, 4.458005905151367, 4.457988262176514, 4.45797061920166, 4.457952976226807, 4.457935333251953, 4.4579176902771, 4.457900047302246, 4.457881927490234, 4.457864284515381, 4.457846641540527, 4.457828998565674, 4.45781135559082, 4.457793712615967, 4.457775592803955, 4.457757949829102, 4.457740306854248, 4.4577226638793945, 4.457705020904541, 4.457686901092529, 4.457669258117676, 4.457651615142822, 4.457633972167969, 4.457616329193115, 4.4575982093811035, 4.45758056640625, 4.4575629234313965, 4.457545280456543, 4.4575276374816895, 4.457509517669678, 4.457491874694824, 4.457474231719971, 4.457456588745117, 4.4574384689331055, 4.457420825958252, 4.457403182983398, 4.457385540008545, 4.457367420196533, 4.45734977722168, 4.457332134246826, 4.457314491271973, 4.457296371459961, 4.457278728485107, 4.457261085510254, 4.4572434425354, 4.457225322723389, 4.457207679748535, 4.457190036773682, 4.45717191696167, 4.457154273986816, 4.457136631011963, 4.457118988037109, 4.457100868225098, 4.457083225250244, 4.457065582275391, 4.457047462463379, 4.457029819488525, 4.457012176513672, 4.45699405670166, 4.456976413726807, 4.456958770751953, 4.456940650939941, 4.456923007965088, 4.456905364990234, 4.456887245178223, 4.456869602203369, 4.456851959228516, 4.456833839416504, 4.45681619644165, 4.456798553466797, 4.456780433654785, 4.456762790679932, 4.456745147705078, 4.456727027893066, 4.456709384918213, 4.456691265106201, 4.456673622131348, 4.456655979156494, 4.456637859344482, 4.456620216369629, 4.456602096557617, 4.456584453582764, 4.45656681060791, 4.456548690795898, 4.456531047821045, 4.456512928009033, 4.45649528503418, 4.456477642059326, 4.4564595222473145, 4.456441879272461, 4.456423759460449, 4.456406116485596, 4.456388473510742, 4.4563703536987305, 4.456352710723877, 4.456334590911865, 4.456316947937012, 4.456298828125, 4.4562811851501465, 4.456263065338135, 4.456245422363281, 4.456227779388428, 4.456209659576416, 4.4561920166015625, 4.456173896789551, 4.456156253814697, 4.4561381340026855, 4.456120491027832, 4.45610237121582, 4.456084728240967, 4.456066608428955, 4.456048965454102, 4.45603084564209, 4.456013202667236, 4.455995082855225, 4.455977439880371, 4.455959320068359, 4.455941677093506, 4.455923557281494, 4.455905914306641, 4.455887794494629, 4.455870151519775, 4.455852031707764, 4.45583438873291, 4.455816268920898, 4.455798625946045, 4.455780506134033, 4.4557623863220215, 4.455744743347168, 4.455726623535156, 4.455708980560303, 4.455690860748291, 4.4556732177734375, 4.455655097961426, 4.455637454986572, 4.4556193351745605, 4.455601215362549, 4.455583572387695, 4.455565452575684, 4.45554780960083, 4.455529689788818, 4.455511569976807, 4.455493927001953, 4.455475807189941, 4.455458164215088, 4.455440044403076, 4.4554219245910645, 4.455404281616211, 4.455386161804199, 4.455368518829346, 4.455350399017334, 4.455332279205322, 4.455314636230469, 4.455296516418457, 4.455278396606445, 4.455260753631592, 4.45524263381958, 4.455224990844727, 4.455206871032715, 4.455188751220703, 4.45517110824585, 4.455152988433838, 4.455134868621826, 4.455117225646973, 4.455099105834961, 4.455080986022949, 4.455063343048096, 4.455045223236084, 4.455027103424072, 4.455009460449219, 4.454991340637207, 4.454973220825195, 4.454955577850342, 4.45493745803833, 4.454919338226318, 4.454901218414307, 4.454883575439453, 4.454865455627441, 4.45484733581543, 4.454829692840576, 4.4548115730285645, 4.454793453216553, 4.454775333404541, 4.4547576904296875, 4.454739570617676, 4.454721450805664, 4.4547038078308105, 4.454685688018799, 4.454667568206787, 4.454649448394775, 4.454631805419922, 4.45461368560791, 4.454595565795898, 4.454577445983887, 4.454559326171875, 4.4545416831970215, 4.45452356338501, 4.454505443572998, 4.454487323760986, 4.454469680786133, 4.454451560974121, 4.454433441162109, 4.454415321350098, 4.454397201538086, 4.454379558563232, 4.454361438751221, 4.454343318939209, 4.454325199127197, 4.4543070793151855, 4.454289436340332, 4.45427131652832, 4.454253196716309, 4.454235076904297, 4.454216957092285, 4.454198837280273, 4.45418119430542, 4.454163074493408, 4.4541449546813965, 4.454126834869385, 4.454108715057373, 4.454090595245361, 4.454072952270508, 4.454054832458496, 4.454036712646484, 4.454018592834473, 4.454000473022461, 4.453982353210449, 4.4539642333984375, 4.453946590423584, 4.453928470611572, 4.4539103507995605, 4.453892230987549, 4.453874111175537, 4.453855991363525, 4.453837871551514, 4.453819751739502, 4.45380163192749, 4.4537835121154785, 4.453765869140625, 4.453747749328613, 4.453729629516602, 4.45371150970459, 4.453693389892578, 4.453675270080566, 4.453657150268555, 4.453639030456543, 4.453620910644531, 4.4536027908325195, 4.453584671020508, 4.453566551208496, 4.453548431396484, 4.453530311584473, 4.453512191772461, 4.453494071960449, 4.453476428985596, 4.453458309173584, 4.453440189361572, 4.4534220695495605, 4.453403949737549, 4.453385829925537, 4.453367710113525, 4.453349590301514, 4.453331470489502, 4.45331335067749, 4.4532952308654785, 4.453277111053467, 4.453258991241455, 4.453240871429443, 4.453222751617432, 4.45320463180542, 4.453186511993408, 4.4531683921813965, 4.453150272369385, 4.453132152557373, 4.453114032745361, 4.45309591293335, 4.45307731628418, 4.453059196472168, 4.453041076660156, 4.4530229568481445, 4.453004837036133, 4.452986717224121, 4.452968597412109, 4.452950477600098, 4.452932357788086, 4.452914237976074, 4.4528961181640625, 4.452877998352051, 4.452859878540039, 4.452841758728027, 4.452823638916016, 4.452805519104004, 4.452786922454834, 4.452768802642822, 4.4527506828308105, 4.452732563018799, 4.452714443206787, 4.452696323394775, 4.452678203582764, 4.452660083770752, 4.45264196395874, 4.45262336730957, 4.452605247497559, 4.452587127685547, 4.452569007873535, 4.452550888061523, 4.452532768249512, 4.4525146484375, 4.452496528625488, 4.452477931976318, 4.452459812164307, 4.452441692352295, 4.452423572540283, 4.4524054527282715, 4.45238733291626, 4.45236873626709, 4.452350616455078, 4.452332496643066, 4.452314376831055, 4.452296257019043, 4.452278137207031, 4.452259540557861, 4.45224142074585, 4.452223300933838, 4.452205181121826, 4.4521870613098145, 4.4521684646606445, 4.452150344848633, 4.452132225036621, 4.452114105224609, 4.4520955085754395, 4.452077388763428, 4.452059268951416, 4.452041149139404, 4.452023029327393, 4.452004432678223, 4.451986312866211, 4.451968193054199, 4.4519500732421875, 4.451931476593018, 4.451913356781006, 4.451895236968994, 4.451877117156982, 4.4518585205078125, 4.451840400695801, 4.451822280883789, 4.451803684234619, 4.451785564422607, 4.451767444610596, 4.451749324798584, 4.451730728149414, 4.451712608337402, 4.451694488525391, 4.451675891876221, 4.451657772064209, 4.451639652252197, 4.4516215324401855, 4.451602935791016, 4.451584815979004, 4.451566696166992, 4.451548099517822, 4.4515299797058105, 4.451511859893799, 4.451493263244629, 4.451475143432617, 4.4514570236206055, 4.4514384269714355, 4.451420307159424, 4.451402187347412, 4.451383590698242, 4.4513654708862305, 4.451347351074219, 4.451328754425049, 4.451310634613037, 4.451292037963867, 4.4512739181518555, 4.451255798339844, 4.451237201690674, 4.451219081878662, 4.45120096206665, 4.4511823654174805, 4.451164245605469, 4.451145648956299, 4.451127529144287, 4.451109409332275, 4.4510908126831055, 4.451072692871094, 4.451054096221924, 4.451035976409912, 4.4510178565979, 4.4509992599487305, 4.450981140136719, 4.450962543487549, 4.450944423675537, 4.450925827026367, 4.4509077072143555, 4.4508891105651855, 4.450870990753174, 4.450852870941162, 4.450834274291992, 4.4508161544799805, 4.4507975578308105, 4.450779438018799, 4.450760841369629, 4.450742721557617, 4.450724124908447, 4.4507060050964355, 4.450687408447266, 4.450669288635254, 4.450650691986084, 4.450632572174072, 4.450613975524902, 4.450595855712891, 4.450577259063721, 4.450559139251709, 4.450540542602539, 4.450522422790527, 4.450503826141357, 4.450485706329346, 4.450467109680176, 4.450448989868164, 4.450430393218994, 4.450412273406982, 4.4503936767578125, 4.450375556945801, 4.450356960296631, 4.450338840484619, 4.450320243835449, 4.450301647186279, 4.450283527374268, 4.450264930725098, 4.450246810913086, 4.450228214263916, 4.450210094451904, 4.450191497802734, 4.4501729011535645, 4.450154781341553, 4.450136184692383, 4.450118064880371, 4.450099468231201, 4.4500813484191895, 4.4500627517700195, 4.45004415512085, 4.450026035308838, 4.450007438659668, 4.449989318847656, 4.449970722198486, 4.449952125549316, 4.449934005737305, 4.449915409088135, 4.449896812438965, 4.449878692626953, 4.449860095977783, 4.449841499328613, 4.449823379516602, 4.449804782867432, 4.44978666305542, 4.44976806640625, 4.44974946975708, 4.449731349945068, 4.449712753295898, 4.4496941566467285, 4.449676036834717, 4.449657440185547, 4.449638843536377, 4.449620723724365, 4.449602127075195, 4.449583530426025, 4.4495649337768555, 4.449546813964844, 4.449528217315674, 4.449509620666504, 4.449491500854492, 4.449472904205322, 4.449454307556152, 4.449436187744141, 4.449417591094971, 4.449398994445801, 4.449380397796631, 4.449362277984619, 4.449343681335449, 4.449325084686279, 4.449306488037109, 4.449288368225098, 4.449269771575928, 4.449251174926758, 4.449232578277588, 4.449214458465576, 4.449195861816406, 4.449177265167236, 4.449158668518066, 4.449140548706055, 4.449121952056885, 4.449103355407715, 4.449084758758545, 4.449066162109375, 4.449048042297363, 4.449029445648193, 4.449010848999023, 4.4489922523498535, 4.448973655700684, 4.448955535888672, 4.448936939239502, 4.448918342590332, 4.448899745941162, 4.448881149291992, 4.4488630294799805, 4.4488444328308105, 4.448825836181641, 4.448807239532471, 4.448788642883301, 4.448770046234131, 4.448751926422119, 4.448733329772949, 4.448714733123779, 4.448696136474609, 4.4486775398254395, 4.4486589431762695, 4.4486403465271, 4.448622226715088, 4.448603630065918, 4.448585033416748, 4.448566436767578, 4.448547840118408, 4.448529243469238, 4.448510646820068, 4.448492050170898, 4.4484734535217285, 4.448455333709717, 4.448436737060547, 4.448418140411377, 4.448399543762207, 4.448380947113037, 4.448362350463867, 4.448343753814697, 4.448325157165527, 4.448306560516357, 4.4482879638671875, 4.448269367218018, 4.448250770568848, 4.448232650756836, 4.448214054107666, 4.448195457458496, 4.448176860809326, 4.448158264160156, 4.448139667510986, 4.448121070861816, 4.4481024742126465, 4.448083877563477, 4.448065280914307, 4.448046684265137, 4.448028087615967, 4.448009490966797, 4.447990894317627, 4.447972297668457, 4.447953701019287, 4.447935104370117, 4.447916507720947, 4.447897911071777, 4.447879314422607, 4.4478607177734375, 4.447842121124268, 4.447823524475098, 4.447804927825928, 4.447786331176758, 4.447767734527588, 4.447749137878418, 4.447730541229248, 4.447711944580078, 4.447693347930908, 4.447674751281738, 4.447656154632568, 4.44763708114624, 4.44761848449707, 4.4475998878479, 4.4475812911987305, 4.4475626945495605, 4.447544097900391, 4.447525501251221, 4.447506904602051, 4.447488307952881, 4.447469711303711, 4.447451114654541, 4.447432518005371, 4.447413921356201, 4.447394847869873, 4.447376251220703, 4.447357654571533, 4.447339057922363, 4.447320461273193, 4.447301864624023, 4.4472832679748535, 4.447264671325684, 4.4472455978393555, 4.4472270011901855, 4.447208404541016, 4.447189807891846, 4.447171211242676, 4.447152614593506, 4.447134017944336, 4.447114944458008, 4.447096347808838, 4.447077751159668, 4.447059154510498, 4.447040557861328, 4.447021961212158, 4.44700288772583, 4.44698429107666, 4.44696569442749, 4.44694709777832, 4.44692850112915, 4.4469099044799805, 4.446890830993652, 4.446872234344482, 4.4468536376953125, 4.446835041046143, 4.446816444396973, 4.4467973709106445, 4.446778774261475, 4.446760177612305, 4.446741580963135, 4.446722507476807, 4.446703910827637, 4.446685314178467, 4.446666717529297, 4.446647644042969, 4.446629047393799, 4.446610450744629, 4.446591854095459, 4.446572780609131, 4.446554183959961, 4.446535587310791, 4.446516990661621, 4.446497917175293, 4.446479320526123, 4.446460723876953, 4.446442127227783, 4.446423053741455, 4.446404457092285, 4.446385860443115, 4.446366786956787, 4.446348190307617, 4.446329593658447, 4.446310520172119, 4.446291923522949, 4.446273326873779, 4.446254730224609, 4.446235656738281, 4.446217060089111, 4.446198463439941, 4.446179389953613, 4.446160793304443, 4.446142196655273, 4.446123123168945, 4.446104526519775, 4.446085453033447, 4.446066856384277, 4.446048259735107, 4.446029186248779, 4.446010589599609, 4.4459919929504395, 4.445972919464111, 4.445954322814941, 4.4459357261657715, 4.445916652679443, 4.445898056030273, 4.445878982543945, 4.445860385894775, 4.4458417892456055, 4.445822715759277, 4.445804119110107, 4.445785045623779, 4.445766448974609, 4.4457478523254395, 4.445728778839111, 4.445710182189941, 4.445691108703613, 4.445672512054443, 4.445653438568115, 4.445634841918945, 4.445616245269775, 4.445597171783447, 4.445578575134277, 4.445559501647949, 4.445540904998779, 4.445521831512451, 4.445503234863281, 4.445484161376953, 4.445465564727783, 4.445446491241455, 4.445427894592285, 4.445408821105957, 4.445390224456787, 4.445371150970459, 4.445352554321289, 4.445333480834961, 4.445314884185791, 4.445295810699463, 4.445277214050293, 4.445258140563965, 4.445239543914795, 4.445220470428467, 4.445201873779297, 4.445182800292969, 4.445164203643799, 4.445145130157471, 4.445126533508301, 4.445107460021973, 4.445088863372803, 4.445069789886475, 4.445051193237305, 4.445032119750977, 4.445013523101807, 4.4449944496154785, 4.44497537612915, 4.4449567794799805, 4.444937705993652, 4.444919109344482, 4.444900035858154, 4.444881439208984, 4.444862365722656, 4.444843292236328, 4.444824695587158, 4.44480562210083, 4.44478702545166, 4.444767951965332, 4.444748878479004, 4.444730281829834, 4.444711208343506, 4.444692611694336, 4.444673538208008, 4.44465446472168, 4.44463586807251, 4.444616794586182, 4.4445977210998535, 4.444579124450684, 4.4445600509643555, 4.444540977478027, 4.444522380828857, 4.444503307342529, 4.444484233856201, 4.444465637207031, 4.444446563720703, 4.444427490234375, 4.444408893585205, 4.444389820098877, 4.444370746612549, 4.444352149963379, 4.444333076477051, 4.444314002990723, 4.444295406341553, 4.444276332855225, 4.4442572593688965, 4.444238662719727, 4.444219589233398, 4.44420051574707, 4.444181442260742, 4.444162845611572, 4.444143772125244, 4.444124698638916, 4.444106101989746, 4.444087028503418, 4.44406795501709, 4.444048881530762, 4.444030284881592, 4.444011211395264, 4.4439921379089355, 4.443973064422607, 4.4439544677734375, 4.443935394287109, 4.443916320800781, 4.443897247314453, 4.443878650665283, 4.443859577178955, 4.443840503692627, 4.443821430206299, 4.443802356719971, 4.443783760070801, 4.443764686584473, 4.4437456130981445, 4.443726539611816, 4.443707466125488, 4.443688869476318, 4.44366979598999, 4.443650722503662, 4.443631649017334, 4.443612575531006, 4.443593502044678, 4.443574905395508, 4.44355583190918, 4.443536758422852, 4.443517684936523, 4.443498611450195, 4.443479537963867, 4.443460941314697, 4.443441867828369, 4.443422794342041, 4.443403720855713, 4.443384647369385, 4.443365573883057, 4.4433465003967285, 4.4433274269104, 4.4433088302612305, 4.443289756774902, 4.443270683288574, 4.443251609802246, 4.443232536315918, 4.44321346282959, 4.443194389343262, 4.443175315856934, 4.4431562423706055, 4.443137168884277, 4.443118572235107, 4.443099498748779, 4.443080425262451, 4.443061351776123, 4.443042278289795, 4.443023204803467, 4.443004131317139, 4.4429850578308105, 4.442965984344482, 4.442946910858154, 4.442927837371826, 4.442908763885498, 4.44288969039917, 4.442870616912842, 4.442851543426514, 4.4428324699401855, 4.442813396453857, 4.442794322967529, 4.442775249481201, 4.442756175994873, 4.442737102508545, 4.442718029022217, 4.442698955535889, 4.4426798820495605, 4.442660808563232, 4.442641735076904, 4.442622661590576, 4.442603588104248, 4.44258451461792, 4.442565441131592, 4.442546367645264, 4.4425272941589355, 4.442508220672607, 4.442489147186279, 4.442470073699951, 4.442451000213623, 4.442431926727295, 4.442412853240967, 4.442393779754639, 4.4423747062683105, 4.442355632781982, 4.442336559295654, 4.442317008972168, 4.44229793548584, 4.442278861999512, 4.442259788513184, 4.4422407150268555, 4.442221641540527, 4.442202568054199, 4.442183494567871, 4.442164421081543, 4.442145347595215, 4.442126274108887, 4.4421067237854, 4.442087650299072, 4.442068576812744, 4.442049503326416, 4.442030429840088, 4.44201135635376, 4.441992282867432, 4.441972732543945, 4.441953659057617, 4.441934585571289, 4.441915512084961, 4.441896438598633, 4.441877365112305, 4.441858291625977, 4.44183874130249, 4.441819667816162, 4.441800594329834, 4.441781520843506, 4.441762447357178, 4.441742897033691, 4.441723823547363, 4.441704750061035, 4.441685676574707, 4.441666603088379, 4.441647052764893, 4.4416279792785645, 4.441608905792236, 4.441589832305908, 4.44157075881958, 4.441551208496094, 4.441532135009766, 4.4415130615234375, 4.441493988037109, 4.441474437713623, 4.441455364227295, 4.441436290740967, 4.441417217254639, 4.441397666931152, 4.441378593444824, 4.441359519958496, 4.441340446472168, 4.441320896148682, 4.4413018226623535, 4.441282749176025, 4.441263675689697, 4.441244125366211, 4.441225051879883, 4.441205978393555, 4.441186428070068, 4.44116735458374, 4.441148281097412, 4.441128730773926, 4.441109657287598, 4.4410905838012695, 4.441071510314941, 4.441051959991455, 4.441032886505127, 4.441013813018799, 4.4409942626953125, 4.440975189208984, 4.440956115722656, 4.44093656539917, 4.440917491912842, 4.4408979415893555, 4.440878868103027, 4.440859794616699, 4.440840244293213, 4.440821170806885, 4.440802097320557, 4.44078254699707, 4.440763473510742, 4.440743923187256, 4.440724849700928, 4.4407057762146, 4.440686225891113, 4.440667152404785, 4.440648078918457, 4.440628528594971, 4.440609455108643, 4.440589904785156, 4.440570831298828, 4.440551280975342, 4.440532207489014, 4.4405131340026855, 4.440493583679199, 4.440474510192871, 4.440454959869385, 4.440435886383057, 4.44041633605957, 4.440397262573242, 4.440377712249756, 4.440358638763428, 4.4403395652771, 4.440320014953613, 4.440300941467285, 4.440281391143799, 4.440262317657471, 4.440242767333984, 4.440223693847656, 4.44020414352417, 4.440185070037842, 4.4401655197143555, 4.440146446228027, 4.440126895904541, 4.440107822418213, 4.440088272094727, 4.440069198608398, 4.440049648284912, 4.440030574798584, 4.440011024475098, 4.4399919509887695, 4.439972400665283, 4.439953327178955, 4.439933776855469, 4.439914226531982, 4.439895153045654, 4.439875602722168, 4.43985652923584, 4.4398369789123535, 4.439817905426025, 4.439798355102539, 4.439778804779053, 4.439759731292725, 4.439740180969238, 4.43972110748291, 4.439701557159424, 4.439682483673096, 4.439662933349609, 4.439643383026123, 4.439624309539795, 4.439604759216309, 4.4395856857299805, 4.439566135406494, 4.439546585083008, 4.43952751159668, 4.439507961273193, 4.439488410949707, 4.439469337463379, 4.439449787139893, 4.4394307136535645, 4.439411163330078, 4.439391613006592, 4.439372539520264, 4.439352989196777, 4.439333438873291, 4.439314365386963, 4.439294815063477, 4.43927526473999, 4.439256191253662, 4.439236640930176, 4.4392170906066895, 4.439198017120361, 4.439178466796875, 4.439158916473389, 4.439139366149902, 4.439120292663574, 4.439100742340088, 4.439081192016602, 4.439062118530273, 4.439042568206787, 4.439023017883301, 4.4390034675598145, 4.438984394073486, 4.43896484375, 4.438945293426514, 4.4389262199401855, 4.438906669616699, 4.438887119293213, 4.438867568969727, 4.438848495483398, 4.438828945159912, 4.438809394836426, 4.4387898445129395, 4.438770294189453, 4.438751220703125, 4.438731670379639, 4.438712120056152, 4.438692569732666, 4.438673496246338, 4.438653945922852, 4.438634395599365, 4.438614845275879, 4.438595294952393, 4.4385762214660645, 4.438556671142578, 4.438537120819092, 4.4385175704956055, 4.438498020172119, 4.438478469848633, 4.438459396362305, 4.438439846038818, 4.438420295715332, 4.438400745391846, 4.438381195068359, 4.438361644744873, 4.438342571258545, 4.438323020935059, 4.438303470611572, 4.438283920288086, 4.4382643699646, 4.438244819641113, 4.438225269317627, 4.438205718994141, 4.4381866455078125, 4.438167095184326, 4.43814754486084, 4.4381279945373535, 4.438108444213867, 4.438088893890381, 4.4380693435668945, 4.438049793243408, 4.438030242919922, 4.4380106925964355, 4.437991142272949, 4.437972068786621, 4.437952518463135, 4.437932968139648, 4.437913417816162, 4.437893867492676, 4.4378743171691895, 4.437854766845703, 4.437835216522217, 4.4378156661987305, 4.437796115875244, 4.437776565551758, 4.4377570152282715, 4.437737464904785, 4.437717914581299, 4.4376983642578125, 4.437678813934326, 4.43765926361084, 4.4376397132873535, 4.437620162963867, 4.437600612640381, 4.4375810623168945, 4.437561511993408, 4.437541961669922, 4.4375224113464355, 4.437502861022949, 4.437483310699463, 4.437463760375977, 4.43744421005249, 4.437424659729004, 4.437405109405518, 4.437385559082031, 4.437366008758545, 4.437346458435059, 4.437326908111572, 4.437307357788086, 4.4372878074646, 4.437267780303955, 4.437248229980469, 4.437228679656982, 4.437209129333496, 4.43718957901001, 4.437170028686523, 4.437150478363037, 4.437130928039551, 4.4371113777160645, 4.437091827392578, 4.437072277069092, 4.437052249908447, 4.437032699584961, 4.437013149261475, 4.436993598937988, 4.436974048614502, 4.436954498291016, 4.436934947967529, 4.436915397644043, 4.436895370483398, 4.436875820159912, 4.436856269836426, 4.4368367195129395, 4.436817169189453, 4.436797618865967, 4.436777591705322, 4.436758041381836, 4.43673849105835, 4.436718940734863, 4.436699390411377, 4.436679840087891, 4.436659812927246, 4.43664026260376, 4.436620712280273, 4.436601161956787, 4.436581611633301, 4.436561584472656, 4.43654203414917, 4.436522483825684, 4.436502933502197, 4.436482906341553, 4.436463356018066, 4.43644380569458, 4.436424255371094, 4.436404705047607, 4.436384677886963, 4.436365127563477, 4.43634557723999, 4.436326026916504, 4.436305999755859, 4.436286449432373, 4.436266899108887, 4.436246871948242, 4.436227321624756, 4.4362077713012695, 4.436188220977783, 4.436168193817139, 4.436148643493652, 4.436129093170166, 4.4361090660095215, 4.436089515686035, 4.436069965362549, 4.4360504150390625, 4.436030387878418, 4.436010837554932, 4.435991287231445, 4.435971260070801, 4.4359517097473145, 4.435932159423828, 4.435912132263184, 4.435892581939697, 4.435873031616211, 4.435853004455566, 4.43583345413208, 4.4358134269714355, 4.435793876647949, 4.435774326324463, 4.435754299163818, 4.435734748840332, 4.435715198516846, 4.435695171356201, 4.435675621032715, 4.43565559387207, 4.435636043548584, 4.435616493225098, 4.435596466064453, 4.435576915740967, 4.435556888580322, 4.435537338256836, 4.43551778793335, 4.435497760772705, 4.435478210449219, 4.435458183288574, 4.435438632965088, 4.435418605804443, 4.435399055480957, 4.435379505157471, 4.435359477996826, 4.43533992767334, 4.435319900512695, 4.435300350189209, 4.4352803230285645, 4.435260772705078, 4.435240745544434, 4.435221195220947, 4.435201168060303, 4.435181617736816, 4.435161590576172, 4.4351420402526855, 4.435122013092041, 4.435102462768555, 4.43508243560791, 4.435062885284424, 4.435042858123779, 4.435023307800293, 4.435003280639648, 4.434983730316162, 4.434963703155518, 4.434944152832031, 4.434924125671387, 4.4349045753479, 4.434884548187256, 4.4348649978637695, 4.434844970703125, 4.4348249435424805, 4.434805393218994, 4.43478536605835, 4.434765815734863, 4.434745788574219, 4.434726238250732, 4.434706211090088, 4.434686183929443, 4.434666633605957, 4.4346466064453125, 4.434627056121826, 4.434607028961182, 4.434587001800537, 4.434567451477051, 4.434547424316406, 4.43452787399292, 4.434507846832275, 4.434487819671631, 4.4344682693481445, 4.4344482421875, 4.4344282150268555, 4.434408664703369, 4.434388637542725, 4.43436861038208, 4.434349060058594, 4.434329032897949, 4.434309482574463, 4.434289455413818, 4.434269428253174, 4.434249401092529, 4.434229850769043, 4.434209823608398, 4.434189796447754, 4.434170246124268, 4.434150218963623, 4.4341301918029785, 4.434110641479492, 4.434090614318848, 4.434070587158203, 4.434051036834717, 4.434031009674072, 4.434010982513428, 4.433990955352783, 4.433971405029297, 4.433951377868652, 4.433931350708008, 4.433911323547363, 4.433891773223877, 4.433871746063232, 4.433851718902588, 4.433831691741943, 4.433812141418457, 4.4337921142578125, 4.433772087097168, 4.433752059936523, 4.433732509613037, 4.433712482452393, 4.433692455291748, 4.4336724281311035, 4.433652400970459, 4.433632850646973, 4.433612823486328, 4.433592796325684, 4.433572769165039, 4.4335527420043945, 4.433533191680908, 4.433513164520264, 4.433493137359619, 4.433473110198975, 4.43345308303833, 4.4334330558776855, 4.433413505554199, 4.433393478393555, 4.43337345123291, 4.433353424072266, 4.433333396911621, 4.433313369750977, 4.433293342590332, 4.433273792266846, 4.433253765106201, 4.433233737945557, 4.433213710784912, 4.433193683624268, 4.433173656463623, 4.4331536293029785, 4.433133602142334, 4.4331135749816895, 4.433094024658203, 4.433073997497559, 4.433053970336914, 4.4330339431762695, 4.433013916015625, 4.4329938888549805, 4.432973861694336, 4.432953834533691, 4.432933807373047, 4.432913780212402, 4.432893753051758, 4.432873725891113, 4.432853698730469, 4.432833671569824, 4.43281364440918, 4.432793617248535, 4.432773590087891, 4.432753562927246, 4.432733535766602, 4.432713985443115, 4.432693958282471, 4.432673931121826, 4.432653903961182, 4.432633876800537, 4.432613849639893, 4.432593822479248, 4.432573318481445, 4.432553291320801, 4.432533264160156, 4.432513236999512, 4.432493209838867, 4.432473182678223, 4.432453155517578, 4.432433128356934, 4.432413101196289, 4.4323930740356445, 4.432373046875, 4.4323530197143555, 4.432332992553711, 4.432312965393066, 4.432292938232422, 4.432272911071777, 4.432252883911133, 4.432232856750488, 4.432212829589844, 4.432192325592041, 4.4321722984313965, 4.432152271270752, 4.432132244110107, 4.432112216949463, 4.432092189788818, 4.432072162628174, 4.432052135467529, 4.432032108306885, 4.432011604309082, 4.4319915771484375, 4.431971549987793, 4.431951522827148, 4.431931495666504, 4.431911468505859, 4.431891441345215, 4.431870937347412, 4.431850910186768, 4.431830883026123, 4.4318108558654785, 4.431790828704834, 4.4317708015441895, 4.431750297546387, 4.431730270385742, 4.431710243225098, 4.431690216064453, 4.431670188903809, 4.431649684906006, 4.431629657745361, 4.431609630584717, 4.431589603424072, 4.431569576263428, 4.431549072265625, 4.4315290451049805, 4.431509017944336, 4.431488990783691, 4.431468486785889, 4.431448459625244, 4.4314284324646, 4.431408405303955, 4.431387901306152, 4.431367874145508, 4.431347846984863, 4.431327819824219, 4.431307315826416, 4.4312872886657715, 4.431267261505127, 4.431247234344482, 4.43122673034668, 4.431206703186035, 4.431186676025391, 4.431166172027588, 4.431146144866943, 4.431126117706299, 4.431105613708496, 4.431085586547852, 4.431065559387207, 4.431045055389404, 4.43102502822876, 4.431005001068115, 4.4309844970703125, 4.430964469909668, 4.430944442749023, 4.430923938751221, 4.430903911590576, 4.430883884429932, 4.430863380432129, 4.430843353271484, 4.43082332611084, 4.430802822113037, 4.430782794952393, 4.430762767791748, 4.430742263793945, 4.430722236633301, 4.430701732635498, 4.4306817054748535, 4.430661678314209, 4.430641174316406, 4.430621147155762, 4.430600643157959, 4.4305806159973145, 4.430560111999512, 4.430540084838867, 4.430520057678223, 4.43049955368042, 4.430479526519775, 4.430459022521973, 4.430438995361328, 4.430418491363525, 4.430398464202881, 4.430377960205078, 4.430357933044434, 4.430337429046631, 4.430317401885986, 4.430297374725342, 4.430276870727539, 4.4302568435668945, 4.430236339569092, 4.430216312408447, 4.4301958084106445, 4.43017578125, 4.430155277252197, 4.430135250091553, 4.43011474609375, 4.4300947189331055, 4.430074214935303, 4.4300537109375, 4.4300336837768555, 4.430013179779053, 4.429993152618408, 4.4299726486206055, 4.429952621459961, 4.429932117462158, 4.429912090301514, 4.429891586303711, 4.429871559143066, 4.429851055145264, 4.429830551147461, 4.429810523986816, 4.429790019989014, 4.429769992828369, 4.429749488830566, 4.429728984832764, 4.429708957672119, 4.429688453674316, 4.429668426513672, 4.429647922515869, 4.429627418518066, 4.429607391357422, 4.429586887359619, 4.429566860198975, 4.429546356201172, 4.429525852203369, 4.429505825042725, 4.429485321044922, 4.429464817047119, 4.429444789886475, 4.429424285888672, 4.429403781890869, 4.429383754730225, 4.429363250732422, 4.429342746734619, 4.429322719573975, 4.429302215576172, 4.429281711578369, 4.429261684417725, 4.429241180419922, 4.429220676422119, 4.429200172424316, 4.429180145263672, 4.429159641265869, 4.429139137268066, 4.429119110107422, 4.429098606109619, 4.429078102111816, 4.429057598114014, 4.429037570953369, 4.429017066955566, 4.428996562957764, 4.428976058959961, 4.428956031799316, 4.428935527801514, 4.428915023803711, 4.428894519805908, 4.428874492645264, 4.428853988647461, 4.428833484649658, 4.4288129806518555, 4.428792953491211, 4.428772449493408, 4.4287519454956055, 4.428731441497803, 4.4287109375, 4.4286909103393555, 4.428670406341553, 4.42864990234375, 4.428629398345947, 4.4286088943481445, 4.428588390350342, 4.428568363189697, 4.4285478591918945, 4.428527355194092, 4.428506851196289, 4.428486347198486, 4.428465843200684, 4.428445339202881, 4.428425312042236, 4.428404808044434, 4.428384304046631, 4.428363800048828, 4.428343296051025, 4.428322792053223, 4.42830228805542, 4.428281784057617, 4.428261756896973, 4.42824125289917, 4.428220748901367, 4.4282002449035645, 4.428179740905762, 4.428159236907959, 4.428138732910156, 4.4281182289123535, 4.428097724914551, 4.428077220916748, 4.428056716918945, 4.428036212921143, 4.42801570892334, 4.427995204925537, 4.427974700927734, 4.42795467376709, 4.427934169769287, 4.427913665771484, 4.427893161773682, 4.427872657775879, 4.427852153778076, 4.427831649780273, 4.427811145782471, 4.427790641784668, 4.427770137786865, 4.4277496337890625, 4.42772912979126, 4.427708625793457, 4.427688121795654, 4.427667617797852, 4.427647113800049, 4.427626609802246, 4.427606105804443, 4.427585124969482, 4.42756462097168, 4.427544116973877, 4.427523612976074, 4.4275031089782715, 4.427482604980469, 4.427462100982666, 4.427441596984863, 4.4274210929870605, 4.427400588989258, 4.427380084991455, 4.427359580993652, 4.42733907699585, 4.427318572998047, 4.427297592163086, 4.427277088165283, 4.4272565841674805, 4.427236080169678, 4.427215576171875, 4.427195072174072, 4.4271745681762695, 4.427154064178467, 4.427133560180664, 4.427112579345703, 4.4270920753479, 4.427071571350098, 4.427051067352295, 4.427030563354492, 4.4270100593566895, 4.4269890785217285, 4.426968574523926, 4.426948070526123, 4.42692756652832, 4.426907062530518, 4.426886558532715, 4.426865577697754, 4.426845073699951, 4.426824569702148, 4.426804065704346, 4.426783561706543, 4.426762580871582, 4.426742076873779, 4.426721572875977, 4.426701068878174, 4.426680088043213, 4.42665958404541, 4.426639080047607, 4.426618576049805, 4.426598072052002, 4.426577091217041, 4.426556587219238, 4.4265360832214355, 4.426515579223633, 4.426494598388672, 4.426474094390869, 4.426453590393066, 4.4264326095581055, 4.426412105560303, 4.4263916015625, 4.426371097564697, 4.426350116729736, 4.426329612731934, 4.426309108734131, 4.42628812789917, 4.426267623901367, 4.4262471199035645, 4.4262261390686035, 4.426205635070801, 4.426185131072998, 4.426164150238037, 4.426143646240234, 4.426123142242432, 4.426102161407471, 4.426081657409668, 4.426061153411865, 4.426040172576904, 4.426019668579102, 4.425999164581299, 4.425978183746338, 4.425957679748535, 4.425936698913574, 4.4259161949157715, 4.425895690917969, 4.425874710083008, 4.425854206085205, 4.425833225250244, 4.425812721252441, 4.425792217254639, 4.425771236419678, 4.425750732421875, 4.425729751586914, 4.425709247589111, 4.42568826675415, 4.425667762756348, 4.425647258758545, 4.425626277923584, 4.425605773925781, 4.42558479309082, 4.425564289093018, 4.425543308258057, 4.425522804260254, 4.425501823425293, 4.42548131942749, 4.425460338592529, 4.425439834594727, 4.425418853759766, 4.425398349761963, 4.425377368927002, 4.425356864929199, 4.425335884094238, 4.4253153800964355, 4.425294399261475, 4.425273895263672, 4.425252914428711, 4.425232410430908, 4.425211429595947, 4.4251909255981445, 4.425169944763184, 4.425149440765381, 4.42512845993042, 4.425107479095459, 4.425086975097656, 4.425065994262695, 4.425045490264893, 4.425024509429932, 4.425004005432129, 4.424983024597168, 4.424962043762207, 4.424941539764404, 4.424920558929443, 4.424900054931641, 4.42487907409668, 4.424858093261719, 4.424837589263916, 4.424816608428955, 4.424796104431152, 4.424775123596191, 4.4247541427612305, 4.424733638763428, 4.424712657928467, 4.424691677093506, 4.424671173095703, 4.424650192260742, 4.424629211425781, 4.4246087074279785, 4.424587726593018, 4.424566745758057, 4.424546241760254, 4.424525260925293, 4.424504280090332, 4.424483776092529, 4.424462795257568, 4.424441814422607, 4.424421310424805, 4.424400329589844, 4.424379348754883, 4.424358367919922, 4.424337863922119, 4.424316883087158, 4.424295902252197, 4.4242753982543945, 4.424254417419434, 4.424233436584473, 4.424212455749512, 4.424191951751709, 4.424170970916748, 4.424149990081787, 4.424129009246826, 4.424108505249023, 4.4240875244140625, 4.424066543579102, 4.424045562744141, 4.42402458190918, 4.424004077911377, 4.423983097076416, 4.423962116241455, 4.423941135406494, 4.423920154571533, 4.4238996505737305, 4.4238786697387695, 4.423857688903809, 4.423836708068848, 4.423815727233887, 4.423795223236084, 4.423774242401123, 4.423753261566162, 4.423732280731201, 4.42371129989624, 4.423690319061279, 4.423669338226318, 4.423648834228516, 4.423627853393555, 4.423606872558594, 4.423585891723633, 4.423564910888672, 4.423543930053711, 4.42352294921875, 4.423501968383789, 4.423480987548828, 4.423460483551025, 4.4234395027160645, 4.4234185218811035, 4.423397541046143, 4.423376560211182, 4.423355579376221, 4.42333459854126, 4.423313617706299, 4.423292636871338, 4.423271656036377, 4.423250675201416, 4.423229694366455, 4.423208713531494, 4.423187732696533, 4.423166751861572, 4.423145771026611, 4.42312479019165, 4.4231038093566895, 4.4230828285217285, 4.423061847686768, 4.423040866851807, 4.423019886016846, 4.422998905181885, 4.422977924346924, 4.422956943511963, 4.422935962677002, 4.422914981842041, 4.42289400100708, 4.422873020172119, 4.422852039337158, 4.422831058502197, 4.422810077667236, 4.422789096832275, 4.4227681159973145, 4.4227471351623535, 4.422726154327393, 4.422705173492432, 4.422684192657471, 4.42266321182251, 4.422642230987549, 4.422621250152588, 4.422600269317627, 4.422578811645508, 4.422557830810547, 4.422536849975586, 4.422515869140625, 4.422494888305664, 4.422473907470703, 4.422452926635742, 4.422431945800781, 4.42241096496582, 4.422389507293701, 4.42236852645874, 4.422347545623779, 4.422326564788818, 4.422305583953857, 4.4222846031188965, 4.4222636222839355, 4.422242164611816, 4.4222211837768555, 4.4222002029418945, 4.422179222106934, 4.422158241271973, 4.4221367835998535, 4.422115802764893, 4.422094821929932, 4.422073841094971, 4.42205286026001, 4.422031402587891, 4.42201042175293, 4.421989440917969, 4.421968460083008, 4.421947479248047, 4.421926021575928, 4.421905040740967, 4.421884059906006, 4.421863079071045, 4.421841621398926, 4.421820640563965, 4.421799659729004, 4.421778678894043, 4.421757221221924, 4.421736240386963, 4.421715259552002, 4.421694278717041, 4.421672821044922, 4.421651840209961, 4.421630859375, 4.421609401702881, 4.42158842086792, 4.421567440032959, 4.42154598236084, 4.421525001525879, 4.421504020690918, 4.421482563018799, 4.421461582183838, 4.421440601348877, 4.421419143676758, 4.421398162841797, 4.421377182006836, 4.421355724334717, 4.421334743499756, 4.421313762664795, 4.421292304992676, 4.421271324157715, 4.421250343322754, 4.421228885650635, 4.421207904815674, 4.421186447143555, 4.421165466308594, 4.421144485473633, 4.421123027801514, 4.421102046966553, 4.421080589294434, 4.421059608459473, 4.421038627624512, 4.421017169952393, 4.420996189117432, 4.4209747314453125, 4.420953750610352, 4.420932292938232, 4.4209113121032715, 4.420889854431152, 4.420868873596191, 4.4208478927612305, 4.420826435089111, 4.42080545425415, 4.420783996582031, 4.42076301574707, 4.420741558074951, 4.42072057723999, 4.420699119567871, 4.42067813873291, 4.420656681060791, 4.42063570022583, 4.420614242553711, 4.42059326171875, 4.420571804046631, 4.42055082321167, 4.420529365539551, 4.420507907867432, 4.420486927032471, 4.420465469360352, 4.420444488525391, 4.4204230308532715, 4.4204020500183105, 4.420380592346191, 4.4203596115112305, 4.420338153839111, 4.420316696166992, 4.420295715332031, 4.420274257659912, 4.420253276824951, 4.420231819152832, 4.420210361480713, 4.420189380645752, 4.420167922973633, 4.420146942138672, 4.420125484466553, 4.420104026794434, 4.420083045959473, 4.4200615882873535, 4.420040607452393, 4.420019149780273, 4.419997692108154, 4.419976711273193, 4.419955253601074, 4.419933795928955, 4.419912815093994, 4.419891357421875, 4.419869899749756, 4.419848918914795, 4.419827461242676, 4.419806003570557, 4.419785022735596, 4.419763565063477, 4.419742107391357, 4.419720649719238, 4.419699668884277, 4.419678211212158, 4.419656753540039, 4.419635772705078, 4.419614315032959, 4.41959285736084, 4.419571399688721, 4.41955041885376, 4.419528961181641, 4.4195075035095215, 4.419486045837402, 4.419465065002441, 4.419443607330322, 4.419422149658203, 4.419400691986084, 4.419379234313965, 4.419358253479004, 4.419336795806885, 4.419315338134766, 4.4192938804626465, 4.4192728996276855, 4.419251441955566, 4.419229984283447, 4.419208526611328, 4.419187068939209, 4.41916561126709, 4.419144630432129, 4.41912317276001, 4.419101715087891, 4.4190802574157715, 4.419058799743652, 4.419037342071533, 4.419016361236572, 4.418994903564453, 4.418973445892334, 4.418951988220215, 4.418930530548096, 4.418909072875977, 4.418887615203857, 4.418866157531738, 4.418845176696777, 4.418823719024658, 4.418802261352539, 4.41878080368042, 4.418759346008301, 4.418737888336182, 4.4187164306640625, 4.418694972991943, 4.418673515319824, 4.418652057647705, 4.418630599975586, 4.418609142303467, 4.418587684631348, 4.4185662269592285, 4.418544769287109, 4.418523788452148, 4.418502330780029, 4.41848087310791, 4.418459415435791, 4.418437957763672, 4.418416500091553, 4.418395042419434, 4.4183735847473145, 4.418352127075195, 4.418330669403076, 4.418309211730957, 4.418287754058838, 4.418266296386719, 4.4182448387146, 4.4182233810424805, 4.418201446533203, 4.418179988861084, 4.418158531188965, 4.418137073516846, 4.418115615844727, 4.418094158172607, 4.418072700500488, 4.418051242828369, 4.41802978515625, 4.418008327484131, 4.417986869812012, 4.417965412139893, 4.417943954467773, 4.417922496795654, 4.417901039123535, 4.417879104614258, 4.417857646942139, 4.4178361892700195, 4.4178147315979, 4.417793273925781, 4.417771816253662, 4.417750358581543, 4.417728900909424, 4.4177069664001465, 4.417685508728027, 4.417664051055908, 4.417642593383789, 4.41762113571167, 4.417599678039551, 4.417577743530273, 4.417556285858154, 4.417534828186035, 4.417513370513916, 4.417491912841797, 4.417470455169678, 4.4174485206604, 4.417427062988281, 4.417405605316162, 4.417384147644043, 4.417362213134766, 4.4173407554626465, 4.417319297790527, 4.417297840118408, 4.417276382446289, 4.417254447937012, 4.417232990264893, 4.417211532592773, 4.417190074920654, 4.417168140411377, 4.417146682739258, 4.417125225067139, 4.417103290557861, 4.417081832885742, 4.417060375213623, 4.417038917541504, 4.417016983032227, 4.416995525360107, 4.416974067687988, 4.416952133178711, 4.416930675506592, 4.416909217834473, 4.416887283325195, 4.416865825653076, 4.416844367980957, 4.416822910308838, 4.4168009757995605, 4.416779518127441, 4.416757583618164, 4.416736125946045, 4.416714668273926, 4.416692733764648, 4.416671276092529, 4.41664981842041, 4.416627883911133, 4.416606426239014, 4.4165849685668945, 4.416563034057617, 4.416541576385498, 4.416519641876221, 4.416498184204102, 4.416476249694824, 4.416454792022705, 4.416433334350586, 4.416411399841309, 4.4163899421691895, 4.416368007659912, 4.416346549987793, 4.416324615478516, 4.4163031578063965, 4.416281700134277, 4.416259765625, 4.416238307952881, 4.4162163734436035, 4.416194915771484, 4.416172981262207, 4.416151523590088, 4.4161295890808105, 4.416108131408691, 4.416086196899414, 4.416064739227295, 4.416042804718018, 4.416021347045898, 4.415999412536621, 4.415977954864502, 4.415956020355225, 4.4159345626831055, 4.415912628173828, 4.415891170501709, 4.415869235992432, 4.4158477783203125, 4.415825843811035, 4.415803909301758, 4.415782451629639, 4.415760517120361, 4.415739059448242, 4.415717124938965, 4.415695667266846, 4.415673732757568, 4.415651798248291, 4.415630340576172, 4.4156084060668945, 4.415586948394775, 4.415565013885498, 4.415543079376221, 4.415521621704102, 4.415499687194824, 4.415477752685547, 4.415456295013428, 4.41543436050415, 4.415412902832031, 4.415390968322754, 4.415369033813477, 4.415347576141357, 4.41532564163208, 4.415303707122803, 4.415282249450684, 4.415260314941406, 4.415238380432129, 4.415216445922852, 4.415194988250732, 4.415173053741455, 4.415151119232178, 4.415129661560059, 4.415107727050781, 4.415085792541504, 4.415064334869385, 4.415042400360107, 4.41502046585083, 4.414998531341553, 4.414977073669434, 4.414955139160156, 4.414933204650879, 4.414911270141602, 4.414889812469482, 4.414867877960205, 4.414845943450928, 4.41482400894165, 4.414802551269531, 4.414780616760254, 4.414758682250977, 4.414736747741699, 4.414714813232422, 4.414693355560303, 4.414671421051025, 4.414649486541748, 4.414627552032471, 4.414605617523193, 4.414583683013916, 4.414562225341797, 4.4145402908325195, 4.414518356323242, 4.414496421813965, 4.4144744873046875, 4.41445255279541, 4.414431095123291, 4.414409160614014, 4.414387226104736, 4.414365291595459, 4.414343357086182, 4.414321422576904, 4.414299488067627, 4.41427755355835, 4.414255619049072, 4.414234161376953, 4.414212226867676, 4.414190292358398, 4.414168357849121, 4.414146423339844, 4.414124488830566, 4.414102554321289, 4.414080619812012, 4.414058685302734, 4.414036750793457, 4.41401481628418, 4.413992881774902, 4.413970947265625, 4.413949012756348, 4.41392707824707, 4.413905143737793, 4.413883209228516, 4.413861274719238, 4.413839340209961, 4.413817405700684, 4.413795471191406, 4.413773536682129, 4.413751602172852, 4.413729667663574, 4.413707733154297, 4.4136857986450195, 4.413663864135742, 4.413641929626465, 4.4136199951171875, 4.41359806060791, 4.413576126098633, 4.4135541915893555, 4.413532257080078, 4.413510322570801, 4.413488388061523, 4.413466453552246, 4.413444519042969, 4.413422584533691, 4.413400650024414, 4.4133782386779785, 4.413356304168701, 4.413334369659424, 4.4133124351501465, 4.413290500640869, 4.413268566131592, 4.4132466316223145, 4.413224697113037, 4.41320276260376, 4.413180351257324, 4.413158416748047, 4.4131364822387695, 4.413114547729492, 4.413092613220215, 4.4130706787109375, 4.413048267364502, 4.413026332855225, 4.413004398345947, 4.41298246383667, 4.412960529327393, 4.412938594818115, 4.41291618347168, 4.412894248962402, 4.412872314453125, 4.412850379943848, 4.41282844543457, 4.412806034088135, 4.412784099578857, 4.41276216506958, 4.412740230560303, 4.412717819213867, 4.41269588470459, 4.4126739501953125, 4.412652015686035, 4.4126296043396, 4.412607669830322, 4.412585735321045, 4.412563800811768, 4.412541389465332, 4.412519454956055, 4.412497520446777, 4.412475109100342, 4.4124531745910645, 4.412431240081787, 4.412408828735352, 4.412386894226074, 4.412364959716797, 4.412342548370361, 4.412320613861084, 4.412298679351807, 4.412276268005371, 4.412254333496094, 4.412232398986816, 4.412209987640381, 4.4121880531311035, 4.412166118621826, 4.412143707275391, 4.412121772766113, 4.412099838256836, 4.4120774269104, 4.412055492401123, 4.4120330810546875, 4.41201114654541, 4.411989212036133, 4.411966800689697, 4.41194486618042, 4.411922454833984, 4.411900520324707, 4.41187858581543, 4.411856174468994, 4.411834239959717, 4.411811828613281, 4.411789894104004, 4.411767482757568, 4.411745548248291, 4.4117231369018555, 4.411701202392578, 4.411678791046143, 4.411656856536865, 4.41163444519043, 4.411612510681152, 4.411590099334717, 4.4115681648254395, 4.411545753479004, 4.411523818969727, 4.411501407623291, 4.411479473114014, 4.411457061767578, 4.411435127258301, 4.411412715911865, 4.411390781402588, 4.411368370056152, 4.411346435546875, 4.4113240242004395, 4.411302089691162, 4.411279678344727, 4.411257266998291, 4.411235332489014, 4.411212921142578, 4.411190986633301, 4.411168575286865, 4.411146640777588, 4.411124229431152, 4.411101818084717, 4.4110798835754395, 4.411057472229004, 4.411035537719727, 4.411013126373291, 4.4109907150268555, 4.410968780517578, 4.410946369171143, 4.410923957824707, 4.41090202331543, 4.410879611968994, 4.410857200622559, 4.410835266113281, 4.410812854766846, 4.41079044342041, 4.410768508911133, 4.410746097564697, 4.410723686218262, 4.410701751708984, 4.410679340362549, 4.410656929016113, 4.410634994506836, 4.4106125831604, 4.410590171813965, 4.410567760467529, 4.410545825958252, 4.410523414611816, 4.410501003265381, 4.410478591918945, 4.410456657409668, 4.410434246063232, 4.410411834716797, 4.410389423370361, 4.410367488861084, 4.410345077514648, 4.410322666168213, 4.410300254821777, 4.4102783203125, 4.4102559089660645, 4.410233497619629, 4.410211086273193, 4.410188674926758, 4.4101667404174805, 4.410144329071045, 4.410121917724609, 4.410099506378174, 4.410077095031738, 4.410054683685303, 4.410032749176025, 4.41001033782959, 4.409987926483154, 4.409965515136719, 4.409943103790283, 4.409920692443848, 4.409898281097412, 4.409875869750977, 4.409853935241699, 4.409831523895264, 4.409809112548828, 4.409786701202393, 4.409764289855957, 4.4097418785095215, 4.409719467163086, 4.40969705581665, 4.409674644470215, 4.409652233123779, 4.409629821777344, 4.409607887268066, 4.409585475921631, 4.409563064575195, 4.40954065322876, 4.409518241882324, 4.409495830535889, 4.409473419189453, 4.409451007843018, 4.409428596496582, 4.4094061851501465, 4.409383773803711, 4.409361362457275, 4.40933895111084, 4.409316539764404, 4.409294128417969, 4.409271717071533, 4.409249305725098, 4.409226894378662, 4.409204483032227, 4.409182071685791, 4.4091596603393555, 4.40913724899292, 4.409114837646484, 4.409092426300049, 4.409069538116455, 4.4090471267700195, 4.409024715423584, 4.409002304077148, 4.408979892730713, 4.408957481384277, 4.408935070037842, 4.408912658691406, 4.408890247344971, 4.408867835998535, 4.4088454246521, 4.408822536468506, 4.40880012512207, 4.408777713775635, 4.408755302429199, 4.408732891082764, 4.408710479736328, 4.408688068389893, 4.408665180206299, 4.408642768859863, 4.408620357513428, 4.408597946166992, 4.408575534820557, 4.408553123474121, 4.408530235290527, 4.408507823944092, 4.408485412597656, 4.408463001251221, 4.408440589904785, 4.408417701721191, 4.408395290374756, 4.40837287902832, 4.408350467681885, 4.408328056335449, 4.4083051681518555, 4.40828275680542, 4.408260345458984, 4.408237934112549, 4.408215045928955, 4.4081926345825195, 4.408170223236084, 4.408147811889648, 4.408124923706055, 4.408102512359619, 4.408080101013184, 4.40805721282959, 4.408034801483154, 4.408012390136719, 4.407989501953125, 4.4079670906066895, 4.407944679260254, 4.407922267913818, 4.407899379730225, 4.407876968383789, 4.4078545570373535, 4.40783166885376, 4.407809257507324, 4.4077863693237305, 4.407763957977295, 4.407741546630859, 4.407718658447266, 4.40769624710083, 4.4076738357543945, 4.407650947570801, 4.407628536224365, 4.4076056480407715, 4.407583236694336, 4.4075608253479, 4.407537937164307, 4.407515525817871, 4.407492637634277, 4.407470226287842, 4.407447814941406, 4.4074249267578125, 4.407402515411377, 4.407379627227783, 4.407357215881348, 4.407334327697754, 4.407311916351318, 4.407289028167725, 4.407266616821289, 4.407243728637695, 4.40722131729126, 4.407198429107666, 4.4071760177612305, 4.407153129577637, 4.407130718231201, 4.407107830047607, 4.407085418701172, 4.407062530517578, 4.407040119171143, 4.407017230987549, 4.406994819641113, 4.4069719314575195, 4.406949520111084, 4.40692663192749, 4.406904220581055, 4.406881332397461, 4.406858921051025, 4.406836032867432, 4.406813144683838, 4.406790733337402, 4.406767845153809, 4.406745433807373, 4.406722545623779, 4.4066996574401855, 4.40667724609375, 4.406654357910156, 4.406631946563721, 4.406609058380127, 4.406586170196533, 4.406563758850098, 4.406540870666504, 4.40651798248291, 4.406495571136475, 4.406472682952881, 4.406449794769287, 4.406427383422852, 4.406404495239258, 4.406381607055664, 4.4063591957092285, 4.406336307525635, 4.406313419342041, 4.4062910079956055, 4.406268119812012, 4.406245231628418, 4.406222820281982, 4.406199932098389, 4.406177043914795, 4.406154155731201, 4.406131744384766, 4.406108856201172, 4.406085968017578, 4.406063079833984, 4.406040668487549, 4.406017780303955, 4.405994892120361, 4.405972003936768, 4.405949592590332, 4.405926704406738, 4.4059038162231445, 4.405880928039551, 4.405858516693115, 4.4058356285095215, 4.405812740325928, 4.405789852142334, 4.40576696395874, 4.4057440757751465, 4.405721664428711, 4.405698776245117, 4.405675888061523, 4.40565299987793, 4.405630111694336, 4.405607223510742, 4.405584812164307, 4.405561923980713, 4.405539035797119, 4.405516147613525, 4.405493259429932, 4.405470371246338, 4.405447483062744, 4.40542459487915, 4.405402183532715, 4.405379295349121, 4.405356407165527, 4.405333518981934, 4.40531063079834, 4.405287742614746, 4.405264854431152, 4.405241966247559, 4.405219078063965, 4.405196189880371, 4.405173301696777, 4.405150413513184, 4.40512752532959, 4.405104637145996, 4.405081748962402, 4.405058860778809, 4.405035972595215, 4.405013084411621, 4.404990196228027, 4.404967308044434, 4.40494441986084, 4.404921531677246, 4.404898643493652, 4.404875755310059, 4.404852867126465, 4.404829978942871, 4.404807090759277, 4.404784202575684, 4.40476131439209, 4.404738426208496, 4.404715538024902, 4.404692649841309, 4.404669761657715, 4.404646873474121, 4.404623985290527, 4.404601097106934, 4.40457820892334, 4.404554843902588, 4.404531955718994, 4.4045090675354, 4.404486179351807, 4.404463291168213, 4.404440402984619, 4.404417514801025, 4.404394626617432, 4.404371738433838, 4.404348373413086, 4.404325485229492, 4.404302597045898, 4.404279708862305, 4.404256820678711, 4.404233932495117, 4.404210567474365, 4.4041876792907715, 4.404164791107178, 4.404141902923584, 4.40411901473999, 4.404095649719238, 4.4040727615356445, 4.404049873352051, 4.404026985168457, 4.404004096984863, 4.403980731964111, 4.403957843780518, 4.403934955596924, 4.40391206741333, 4.403888702392578, 4.403865814208984, 4.403842926025391, 4.403820037841797, 4.403796672821045, 4.403773784637451, 4.403750896453857, 4.4037275314331055, 4.403704643249512, 4.403681755065918, 4.403658866882324, 4.403635501861572, 4.4036126136779785, 4.403589725494385, 4.403566360473633, 4.403543472290039, 4.403520584106445, 4.403497219085693, 4.4034743309021, 4.403451442718506, 4.403428077697754, 4.40340518951416, 4.403382301330566, 4.4033589363098145, 4.403336048126221, 4.403312683105469, 4.403289794921875, 4.403266906738281, 4.403243541717529, 4.4032206535339355, 4.403197288513184, 4.40317440032959, 4.403151512145996, 4.403128147125244, 4.40310525894165, 4.403081893920898, 4.403059005737305, 4.403035640716553, 4.403012752532959, 4.402989387512207, 4.402966499328613, 4.4029436111450195, 4.402920246124268, 4.402897357940674, 4.402873992919922, 4.402851104736328, 4.402827739715576, 4.402804851531982, 4.4027814865112305, 4.402758598327637, 4.402735233306885, 4.402712345123291, 4.402688980102539, 4.402665615081787, 4.402642726898193, 4.402619361877441, 4.402596473693848, 4.402573108673096, 4.402550220489502, 4.40252685546875, 4.402503967285156, 4.402480602264404, 4.402457237243652, 4.402434349060059, 4.402410984039307, 4.402388095855713, 4.402364730834961, 4.402341365814209, 4.402318477630615, 4.402295112609863, 4.4022722244262695, 4.402248859405518, 4.402225494384766, 4.402202606201172, 4.40217924118042, 4.402155876159668, 4.402132987976074, 4.402109622955322, 4.40208625793457, 4.402063369750977, 4.402040004730225, 4.402016639709473, 4.401993751525879, 4.401970386505127, 4.401947021484375, 4.401923656463623, 4.401900768280029, 4.401877403259277, 4.401854038238525, 4.401831150054932, 4.40180778503418, 4.401784420013428, 4.401761054992676, 4.401738166809082, 4.40171480178833, 4.401691436767578, 4.401668071746826, 4.401645183563232, 4.4016218185424805, 4.4015984535217285, 4.401575088500977, 4.401551723480225, 4.401528835296631, 4.401505470275879, 4.401482105255127, 4.401458740234375, 4.401435375213623, 4.401412487030029, 4.401389122009277, 4.401365756988525, 4.401342391967773, 4.4013190269470215, 4.4012956619262695, 4.401272296905518, 4.401249408721924, 4.401226043701172, 4.40120267868042, 4.401179313659668, 4.401155948638916, 4.401132583618164, 4.401109218597412, 4.40108585357666, 4.401062488555908, 4.4010396003723145, 4.4010162353515625, 4.4009928703308105, 4.400969505310059, 4.400946140289307, 4.400922775268555, 4.400899410247803, 4.400876045227051, 4.400852680206299, 4.400829315185547, 4.400805950164795, 4.400782585144043, 4.400759220123291, 4.400735855102539, 4.400712490081787, 4.400689125061035, 4.400665760040283, 4.400642395019531, 4.400619029998779, 4.400595664978027, 4.400572299957275, 4.400548934936523, 4.4005255699157715, 4.4005022048950195, 4.400478839874268, 4.400455474853516, 4.400432109832764, 4.400408744812012, 4.40038537979126, 4.400362014770508, 4.400338172912598, 4.400314807891846, 4.400291442871094, 4.400268077850342, 4.40024471282959, 4.400221347808838, 4.400197982788086, 4.400174617767334, 4.400151252746582, 4.400127410888672, 4.40010404586792, 4.400080680847168, 4.400057315826416, 4.400033950805664, 4.400010585784912, 4.39998722076416, 4.39996337890625, 4.399940013885498, 4.399916648864746, 4.399893283843994, 4.399869918823242, 4.399846076965332, 4.39982271194458, 4.399799346923828, 4.399775981903076, 4.399752616882324, 4.399728775024414, 4.399705410003662, 4.39968204498291, 4.399658679962158, 4.399634838104248, 4.399611473083496, 4.399588108062744, 4.399564743041992, 4.399540901184082, 4.39951753616333, 4.399494171142578, 4.399470806121826, 4.399446964263916, 4.399423599243164, 4.399400234222412, 4.399376392364502, 4.39935302734375, 4.399329662322998, 4.399305820465088, 4.399282455444336, 4.399259090423584, 4.399235248565674, 4.399211883544922, 4.39918851852417, 4.39916467666626, 4.399141311645508, 4.399117946624756, 4.399094104766846, 4.399070739746094, 4.399046897888184, 4.399023532867432, 4.39900016784668, 4.3989763259887695, 4.398952960968018, 4.398929119110107, 4.3989057540893555, 4.3988823890686035, 4.398858547210693, 4.398835182189941, 4.398811340332031, 4.398787975311279, 4.398764133453369, 4.398740768432617, 4.398716926574707, 4.398693561553955, 4.398669719696045, 4.398646354675293, 4.398622989654541, 4.398599147796631, 4.398575782775879, 4.398551940917969, 4.398528575897217, 4.398504734039307, 4.3984808921813965, 4.3984575271606445, 4.398433685302734, 4.398410320281982, 4.398386478424072, 4.39836311340332, 4.39833927154541, 4.398315906524658, 4.398292064666748, 4.398268699645996, 4.398244857788086, 4.398221015930176, 4.398197650909424, 4.398173809051514, 4.398150444030762, 4.398126602172852, 4.398102760314941, 4.3980793952941895, 4.398055553436279, 4.398031711578369, 4.398008346557617, 4.397984504699707, 4.397961139678955, 4.397937297821045, 4.397913455963135, 4.397890090942383, 4.397866249084473, 4.3978424072265625, 4.3978190422058105, 4.3977952003479, 4.39777135848999, 4.397747993469238, 4.397724151611328, 4.397700309753418, 4.397676467895508, 4.397653102874756, 4.397629261016846, 4.3976054191589355, 4.397581577301025, 4.397558212280273, 4.397534370422363, 4.397510528564453, 4.397486686706543, 4.397463321685791, 4.397439479827881, 4.397415637969971, 4.3973917961120605, 4.397368431091309, 4.397344589233398, 4.397320747375488, 4.397296905517578, 4.397273063659668, 4.397249698638916, 4.397225856781006, 4.397202014923096, 4.3971781730651855, 4.397154331207275, 4.397130489349365, 4.397107124328613, 4.397083282470703, 4.397059440612793, 4.397035598754883, 4.397011756896973, 4.3969879150390625, 4.396964073181152, 4.396940231323242, 4.39691686630249, 4.39689302444458, 4.39686918258667, 4.39684534072876, 4.39682149887085, 4.3967976570129395, 4.396773815155029, 4.396749973297119, 4.396726131439209, 4.396702289581299, 4.396678447723389, 4.3966546058654785, 4.396630764007568, 4.396606922149658, 4.396583080291748, 4.396559238433838, 4.396535396575928, 4.396511554718018, 4.396487712860107, 4.396463871002197, 4.396440029144287, 4.396416187286377, 4.396392345428467, 4.396368503570557, 4.3963446617126465, 4.396320819854736, 4.396296977996826, 4.396273136138916, 4.396249294281006, 4.396225452423096, 4.3962016105651855, 4.396177768707275, 4.396153926849365, 4.396130084991455, 4.396106243133545, 4.396082401275635, 4.396058559417725, 4.396034240722656, 4.396010398864746, 4.395986557006836, 4.395962715148926, 4.395938873291016, 4.3959150314331055, 4.395891189575195, 4.395867347717285, 4.395843029022217, 4.395819187164307, 4.3957953453063965, 4.395771503448486, 4.395747661590576, 4.395723819732666, 4.395699501037598, 4.3956756591796875, 4.395651817321777, 4.395627975463867, 4.395604133605957, 4.395579814910889, 4.3955559730529785, 4.395532131195068, 4.395508289337158, 4.39548397064209, 4.39546012878418, 4.3954362869262695, 4.395412445068359, 4.395388126373291, 4.395364284515381, 4.395340442657471, 4.3953166007995605, 4.395292282104492, 4.395268440246582, 4.395244598388672, 4.3952202796936035, 4.395196437835693, 4.395172595977783, 4.395148277282715, 4.395124435424805, 4.3951005935668945, 4.395076274871826, 4.395052433013916, 4.395028591156006, 4.3950042724609375, 4.394980430603027, 4.394956588745117, 4.394932270050049, 4.394908428192139, 4.39488410949707, 4.39486026763916, 4.39483642578125, 4.394812107086182, 4.3947882652282715, 4.394763946533203, 4.394740104675293, 4.394716262817383, 4.3946919441223145, 4.394668102264404, 4.394643783569336, 4.394619941711426, 4.394595623016357, 4.394571781158447, 4.394547462463379, 4.394523620605469, 4.394499778747559, 4.39447546005249, 4.39445161819458, 4.394427299499512, 4.394403457641602, 4.394379138946533, 4.394355297088623, 4.394330978393555, 4.3943071365356445, 4.394282817840576, 4.394258499145508, 4.394234657287598, 4.394210338592529, 4.394186496734619, 4.394162178039551, 4.394138336181641, 4.394114017486572, 4.394090175628662, 4.394065856933594, 4.394041538238525, 4.394017696380615, 4.393993377685547, 4.393969535827637, 4.393945217132568, 4.3939208984375, 4.39389705657959, 4.3938727378845215, 4.393848419189453, 4.393824577331543, 4.393800258636475, 4.393775939941406, 4.393752098083496, 4.393727779388428, 4.393703460693359, 4.393679618835449, 4.393655300140381, 4.3936309814453125, 4.393607139587402, 4.393582820892334, 4.393558502197266, 4.3935346603393555, 4.393510341644287, 4.393486022949219, 4.39346170425415, 4.39343786239624, 4.393413543701172, 4.3933892250061035, 4.393364906311035, 4.393341064453125, 4.393316745758057, 4.393292427062988, 4.39326810836792, 4.39324426651001, 4.393219947814941, 4.393195629119873, 4.393171310424805, 4.393146991729736, 4.393123149871826, 4.393098831176758, 4.3930745124816895, 4.393050193786621, 4.393025875091553, 4.393001556396484, 4.392977714538574, 4.392953395843506, 4.3929290771484375, 4.392904758453369, 4.392880439758301, 4.392856121063232, 4.392831802368164, 4.392807483673096, 4.3927836418151855, 4.392759323120117, 4.392735004425049, 4.3927106857299805, 4.392686367034912, 4.392662048339844, 4.392637729644775, 4.392613410949707, 4.392589092254639, 4.39256477355957, 4.392540454864502, 4.392516136169434, 4.392491817474365, 4.392467498779297, 4.3924431800842285, 4.39241886138916, 4.392394542694092, 4.392370223999023, 4.392345905303955, 4.392321586608887, 4.392297267913818, 4.39227294921875, 4.392248630523682, 4.392224311828613, 4.392199993133545, 4.392175674438477, 4.392151355743408, 4.39212703704834, 4.3921027183532715, 4.392078399658203, 4.392054080963135, 4.392029762268066, 4.392005443572998, 4.39198112487793, 4.391956806182861, 4.391932487487793, 4.391907691955566, 4.391883373260498, 4.39185905456543, 4.391834735870361, 4.391810417175293, 4.391786098480225, 4.391761779785156, 4.39173698425293, 4.391712665557861, 4.391688346862793, 4.391664028167725, 4.391639709472656, 4.391615390777588, 4.391590595245361, 4.391566276550293, 4.391541957855225, 4.391517639160156, 4.391493320465088, 4.391468524932861, 4.391444206237793, 4.391419887542725, 4.391395568847656, 4.39137077331543, 4.391346454620361, 4.391322135925293, 4.391297817230225, 4.391273021697998, 4.39124870300293, 4.391224384307861, 4.391200065612793, 4.391175270080566, 4.391150951385498, 4.39112663269043, 4.391101837158203, 4.391077518463135, 4.391053199768066, 4.39102840423584, 4.3910040855407715, 4.390979766845703, 4.390954971313477, 4.390930652618408, 4.39090633392334, 4.390881538391113, 4.390857219696045, 4.390832901000977, 4.39080810546875, 4.390783786773682, 4.390758991241455, 4.390734672546387, 4.390710353851318, 4.390685558319092, 4.390661239624023, 4.390636444091797, 4.3906121253967285, 4.39058780670166, 4.390563011169434, 4.390538692474365, 4.390513896942139, 4.39048957824707, 4.390464782714844, 4.390440464019775, 4.390415668487549, 4.3903913497924805, 4.390366554260254, 4.3903422355651855, 4.390317440032959, 4.390293121337891, 4.390268325805664, 4.390244007110596, 4.390219211578369, 4.390194892883301, 4.390170097351074, 4.390145778656006, 4.390120983123779, 4.390096664428711, 4.390071868896484, 4.390047073364258, 4.3900227546691895, 4.389997959136963, 4.3899736404418945, 4.389948844909668, 4.3899245262146, 4.389899730682373, 4.3898749351501465, 4.389850616455078, 4.389825820922852, 4.389801025390625, 4.389776706695557, 4.38975191116333, 4.3897271156311035, 4.389702796936035, 4.389678001403809, 4.38965368270874, 4.389628887176514, 4.389604091644287, 4.3895792961120605, 4.389554977416992, 4.389530181884766, 4.389505386352539, 4.389481067657471, 4.389456272125244, 4.389431476593018, 4.389407157897949, 4.389382362365723, 4.389357566833496, 4.3893327713012695, 4.389308452606201, 4.389283657073975, 4.389258861541748, 4.3892340660095215, 4.389209270477295, 4.389184951782227, 4.38916015625, 4.389135360717773, 4.389110565185547, 4.3890862464904785, 4.389061450958252, 4.389036655426025, 4.389011859893799, 4.388987064361572, 4.388962268829346, 4.388937950134277, 4.388913154602051, 4.388888359069824, 4.388863563537598, 4.388838768005371, 4.3888139724731445, 4.388789176940918, 4.388764381408691, 4.388740062713623, 4.3887152671813965, 4.38869047164917, 4.388665676116943, 4.388640880584717, 4.38861608505249, 4.388591289520264, 4.388566493988037, 4.3885416984558105, 4.388516902923584, 4.388492107391357, 4.388467311859131, 4.388442516326904, 4.388417720794678, 4.388392925262451, 4.388368129730225, 4.388343334197998, 4.3883185386657715, 4.388293743133545, 4.388268947601318, 4.388244152069092, 4.388219356536865, 4.388194561004639, 4.388169765472412, 4.3881449699401855, 4.388120174407959, 4.388095378875732, 4.388070583343506, 4.388045787811279, 4.388020992279053, 4.387996196746826, 4.3879714012146, 4.387946605682373, 4.3879218101501465, 4.38789701461792, 4.387871742248535, 4.387846946716309, 4.387822151184082, 4.3877973556518555, 4.387772560119629, 4.387747764587402, 4.387722969055176, 4.387697696685791, 4.3876729011535645, 4.387648105621338, 4.387623310089111, 4.387598514556885, 4.387573719024658, 4.387548446655273, 4.387523651123047, 4.38749885559082, 4.387474060058594, 4.387449264526367, 4.387423992156982, 4.387399196624756, 4.387374401092529, 4.387349605560303, 4.387324333190918, 4.387299537658691, 4.387274742126465, 4.387249946594238, 4.3872246742248535, 4.387199878692627, 4.3871750831604, 4.387150287628174, 4.387125015258789, 4.3871002197265625, 4.387075424194336, 4.387050151824951, 4.387025356292725, 4.387000560760498, 4.386975288391113, 4.386950492858887, 4.38692569732666, 4.386900424957275, 4.386875629425049, 4.386850833892822, 4.3868255615234375, 4.386800765991211, 4.386775493621826, 4.3867506980896, 4.386725902557373, 4.386700630187988, 4.386675834655762, 4.386650562286377, 4.38662576675415, 4.386600971221924, 4.386575698852539, 4.3865509033203125, 4.386525630950928, 4.386500835418701, 4.386475563049316, 4.38645076751709, 4.386425495147705, 4.3864006996154785, 4.386375427246094, 4.386350631713867, 4.386325359344482, 4.386300563812256, 4.386275291442871, 4.3862504959106445, 4.38622522354126, 4.386200428009033, 4.386175155639648, 4.386150360107422, 4.386125087738037, 4.3861002922058105, 4.386075019836426, 4.386050224304199, 4.3860249519348145, 4.38599967956543, 4.385974884033203, 4.385949611663818, 4.385924816131592, 4.385899543762207, 4.385874271392822, 4.385849475860596, 4.385824203491211, 4.385799407958984, 4.3857741355896, 4.385748863220215, 4.385724067687988, 4.3856987953186035, 4.385673522949219, 4.385648727416992, 4.385623455047607, 4.385598182678223, 4.385573387145996, 4.385548114776611, 4.385522842407227, 4.385497570037842, 4.385472774505615, 4.3854475021362305, 4.385422229766846, 4.385397434234619, 4.385372161865234, 4.38534688949585, 4.385321617126465, 4.385296821594238, 4.3852715492248535, 4.385246276855469, 4.385221004486084, 4.385196208953857, 4.385170936584473, 4.385145664215088, 4.385120391845703, 4.385095119476318, 4.385070323944092, 4.385045051574707, 4.385019779205322, 4.3849945068359375, 4.384969234466553, 4.384943962097168, 4.384918689727783, 4.384893894195557, 4.384868621826172, 4.384843349456787, 4.384818077087402, 4.384792804718018, 4.384767532348633, 4.384742259979248, 4.384716987609863, 4.384692192077637, 4.384666919708252, 4.384641647338867, 4.384616374969482, 4.384591102600098, 4.384565830230713, 4.384540557861328, 4.384515285491943, 4.384490013122559, 4.384464740753174, 4.384439468383789, 4.384414196014404, 4.3843889236450195, 4.384363651275635, 4.38433837890625, 4.384313106536865, 4.3842878341674805, 4.384262561798096, 4.384237289428711, 4.384212017059326, 4.384186744689941, 4.384161472320557, 4.384136199951172, 4.384110927581787, 4.384085655212402, 4.384060382843018, 4.384035110473633, 4.384009838104248, 4.383984088897705, 4.38395881652832, 4.3839335441589355, 4.383908271789551, 4.383882999420166, 4.383857727050781, 4.3838324546813965, 4.383807182312012, 4.383781433105469, 4.383756160736084, 4.383730888366699, 4.3837056159973145, 4.38368034362793, 4.383655071258545, 4.38362979888916, 4.383604049682617, 4.383578777313232, 4.383553504943848, 4.383528232574463, 4.383502960205078, 4.383477210998535, 4.38345193862915, 4.383426666259766, 4.383401393890381, 4.383375644683838, 4.383350372314453, 4.383325099945068, 4.383299827575684, 4.383274078369141, 4.383248805999756, 4.383223533630371, 4.383197784423828, 4.383172512054443, 4.383147239685059, 4.383121967315674, 4.383096218109131, 4.383070945739746, 4.383045673370361, 4.383019924163818, 4.382994651794434, 4.382969379425049, 4.382943630218506, 4.382918357849121, 4.382892608642578, 4.382867336273193, 4.382842063903809, 4.382816314697266, 4.382791042327881, 4.382765769958496, 4.382740020751953, 4.382714748382568, 4.382688999176025, 4.382663726806641, 4.382637977600098, 4.382612705230713, 4.382587432861328, 4.382561683654785, 4.3825364112854, 4.382510662078857, 4.382485389709473, 4.38245964050293, 4.382434368133545, 4.382408618927002, 4.382383346557617, 4.382357597351074, 4.3823323249816895, 4.3823065757751465, 4.382281303405762, 4.382255554199219, 4.382230281829834, 4.382204532623291, 4.382179260253906, 4.382153511047363, 4.38212776184082, 4.3821024894714355, 4.382076740264893, 4.382051467895508, 4.382025718688965, 4.381999969482422, 4.381974697113037, 4.381948947906494, 4.381923675537109, 4.381897926330566, 4.381872177124023, 4.381846904754639, 4.381821155548096, 4.381795406341553, 4.381770133972168, 4.381744384765625, 4.381718635559082, 4.381693363189697, 4.381667613983154, 4.381641864776611, 4.381616592407227, 4.381590843200684, 4.381565093994141, 4.381539821624756, 4.381514072418213, 4.38148832321167, 4.381462574005127, 4.381437301635742, 4.381411552429199, 4.381385803222656, 4.381360054016113, 4.3813347816467285, 4.3813090324401855, 4.381283283233643, 4.3812575340271, 4.381231784820557, 4.381206512451172, 4.381180763244629, 4.381155014038086, 4.381129264831543, 4.381103515625, 4.381078243255615, 4.381052494049072, 4.381026744842529, 4.381000995635986, 4.380975246429443, 4.3809494972229, 4.380923748016357, 4.380898475646973, 4.38087272644043, 4.380846977233887, 4.380821228027344, 4.380795478820801, 4.380769729614258, 4.380743980407715, 4.380718231201172, 4.380692481994629, 4.380666732788086, 4.380640983581543, 4.380615234375, 4.380589485168457, 4.380564212799072, 4.380538463592529, 4.380512714385986, 4.380486965179443, 4.3804612159729, 4.380435466766357, 4.3804097175598145, 4.3803839683532715, 4.3803582191467285, 4.3803324699401855, 4.380306243896484, 4.380280494689941, 4.380254745483398, 4.3802289962768555, 4.3802032470703125, 4.3801774978637695, 4.380151748657227, 4.380125999450684, 4.380100250244141, 4.380074501037598, 4.380048751831055, 4.380023002624512, 4.379997253417969, 4.379971027374268, 4.379945278167725, 4.379919528961182, 4.379893779754639, 4.379868030548096, 4.379842281341553, 4.37981653213501, 4.379790306091309, 4.379764556884766, 4.379738807678223, 4.37971305847168, 4.379687309265137, 4.3796610832214355, 4.379635334014893, 4.37960958480835, 4.379583835601807, 4.379558086395264, 4.3795318603515625, 4.3795061111450195, 4.379480361938477, 4.379454612731934, 4.379428386688232, 4.3794026374816895, 4.3793768882751465, 4.3793511390686035, 4.379324913024902, 4.379299163818359, 4.379273414611816, 4.379247188568115, 4.379221439361572, 4.379195690155029, 4.379169464111328, 4.379143714904785, 4.379117965698242, 4.379091739654541, 4.379065990447998, 4.379040241241455, 4.379014015197754, 4.378988265991211, 4.378962516784668, 4.378936290740967, 4.378910541534424, 4.378884315490723, 4.37885856628418, 4.3788323402404785, 4.3788065910339355, 4.378780841827393, 4.378754615783691, 4.378728866577148, 4.378702640533447, 4.378676891326904, 4.378650665283203, 4.37862491607666, 4.378598690032959, 4.378572940826416, 4.378546714782715, 4.378520965576172, 4.378494739532471, 4.378468990325928, 4.378442764282227, 4.378417015075684, 4.378390789031982, 4.3783650398254395, 4.378338813781738, 4.378313064575195, 4.378286838531494, 4.378261089324951, 4.37823486328125, 4.378208637237549, 4.378182888031006, 4.378156661987305, 4.378130912780762, 4.3781046867370605, 4.378078460693359, 4.378052711486816, 4.378026485443115, 4.378000736236572, 4.377974510192871, 4.37794828414917, 4.377922534942627, 4.377896308898926, 4.377870082855225, 4.377844333648682, 4.3778181076049805, 4.377791881561279, 4.377766132354736, 4.377739906311035, 4.377713680267334, 4.377687454223633, 4.37766170501709, 4.377635478973389, 4.3776092529296875, 4.3775835037231445, 4.377557277679443, 4.377531051635742, 4.377504825592041, 4.37747859954834, 4.377452850341797, 4.377426624298096, 4.3774003982543945, 4.377374172210693, 4.37734842300415, 4.377322196960449, 4.377295970916748, 4.377269744873047, 4.377243518829346, 4.3772172927856445, 4.377191543579102, 4.3771653175354, 4.377139091491699, 4.377112865447998, 4.377086639404297, 4.377060413360596, 4.3770341873168945, 4.377007961273193, 4.37698221206665, 4.376955986022949, 4.376929759979248, 4.376903533935547, 4.376877307891846, 4.3768510818481445, 4.376824855804443, 4.376798629760742, 4.376772403717041, 4.37674617767334, 4.376719951629639, 4.3766937255859375, 4.376667499542236, 4.376641273498535, 4.376615047454834, 4.376588821411133, 4.376562595367432, 4.3765363693237305, 4.376510143280029, 4.376483917236328, 4.376457691192627, 4.376431465148926, 4.376405239105225, 4.376379013061523, 4.376352787017822, 4.376326560974121, 4.37630033493042, 4.376274108886719, 4.376247882843018, 4.376221179962158, 4.376194953918457, 4.376168727874756, 4.376142501831055, 4.3761162757873535, 4.376090049743652, 4.376063823699951, 4.37603759765625, 4.376010894775391, 4.3759846687316895, 4.375958442687988, 4.375932216644287, 4.375905990600586, 4.375879764556885, 4.375853061676025, 4.375826835632324, 4.375800609588623, 4.375774383544922, 4.3757476806640625, 4.375721454620361, 4.37569522857666, 4.375669002532959, 4.3756422996521, 4.375616073608398, 4.375589847564697, 4.375563621520996, 4.375536918640137, 4.3755106925964355, 4.375484466552734, 4.375457763671875, 4.375431537628174, 4.375405311584473, 4.3753790855407715, 4.375352382659912, 4.375326156616211, 4.37529993057251, 4.37527322769165, 4.375247001647949, 4.37522029876709, 4.375194072723389, 4.3751678466796875, 4.375141143798828, 4.375114917755127, 4.375088691711426, 4.375061988830566, 4.375035762786865, 4.375009059906006, 4.374982833862305, 4.374956130981445, 4.374929904937744, 4.374903678894043, 4.374876976013184, 4.374850749969482, 4.374824047088623, 4.374797821044922, 4.3747711181640625, 4.374744892120361, 4.374718189239502, 4.374691963195801, 4.374665260314941, 4.37463903427124, 4.374612331390381, 4.37458610534668, 4.37455940246582, 4.374533176422119, 4.37450647354126, 4.3744797706604, 4.374453544616699, 4.37442684173584, 4.374400615692139, 4.374373912811279, 4.37434720993042, 4.374320983886719, 4.374294281005859, 4.374268054962158, 4.374241352081299, 4.3742146492004395, 4.374188423156738, 4.374161720275879, 4.3741350173950195, 4.374108791351318, 4.374082088470459, 4.3740553855896, 4.374029159545898, 4.374002456665039, 4.37397575378418, 4.3739495277404785, 4.373922824859619, 4.37389612197876, 4.373869895935059, 4.373843193054199, 4.37381649017334, 4.3737897872924805, 4.373763561248779, 4.37373685836792, 4.3737101554870605, 4.373683452606201, 4.373656749725342, 4.373630523681641, 4.373603820800781, 4.373577117919922, 4.3735504150390625, 4.373523712158203, 4.373497486114502, 4.373470783233643, 4.373444080352783, 4.373417377471924, 4.3733906745910645, 4.373363971710205, 4.373337745666504, 4.3733110427856445, 4.373284339904785, 4.373257637023926, 4.373230934143066, 4.373204231262207, 4.373177528381348, 4.373150825500488, 4.373124122619629, 4.3730974197387695, 4.373071193695068, 4.373044490814209, 4.37301778793335, 4.37299108505249, 4.372964382171631, 4.3729376792907715, 4.372910976409912, 4.372884273529053, 4.372857570648193, 4.372830867767334, 4.372804164886475, 4.372777462005615, 4.372750759124756, 4.3727240562438965, 4.372697353363037, 4.372670650482178, 4.372643947601318, 4.372616767883301, 4.372590065002441, 4.372563362121582, 4.372536659240723, 4.372509956359863, 4.372483253479004, 4.3724565505981445, 4.372429847717285, 4.372403144836426, 4.372376441955566, 4.372349262237549, 4.3723225593566895, 4.37229585647583, 4.372269153594971, 4.372242450714111, 4.372215747833252, 4.372189044952393, 4.372161865234375, 4.372135162353516, 4.372108459472656, 4.372081756591797, 4.3720550537109375, 4.37202787399292, 4.3720011711120605, 4.371974468231201, 4.371947765350342, 4.371920585632324, 4.371893882751465, 4.3718671798706055, 4.371840476989746, 4.3718132972717285, 4.371786594390869, 4.37175989151001, 4.37173318862915, 4.371706008911133, 4.371679306030273, 4.371652603149414, 4.3716254234313965, 4.371598720550537, 4.371572017669678, 4.37154483795166, 4.371518135070801, 4.371491432189941, 4.371464252471924, 4.3714375495910645, 4.371410369873047, 4.3713836669921875, 4.371356964111328, 4.3713297843933105, 4.371303081512451, 4.371275901794434, 4.371249198913574, 4.371222019195557, 4.371195316314697, 4.371168613433838, 4.37114143371582, 4.371114730834961, 4.371087551116943, 4.371060848236084, 4.371033668518066, 4.371006965637207, 4.3709797859191895, 4.37095308303833, 4.3709259033203125, 4.370899200439453, 4.3708720207214355, 4.370845317840576, 4.370818138122559, 4.370791435241699, 4.370764255523682, 4.370737075805664, 4.370710372924805, 4.370683193206787, 4.370656490325928, 4.37062931060791, 4.370602607727051, 4.370575428009033, 4.370548248291016, 4.370521545410156, 4.370494365692139, 4.370467185974121, 4.370440483093262, 4.370413303375244, 4.370386123657227, 4.370359420776367, 4.37033224105835, 4.370305061340332, 4.370278358459473, 4.370251178741455, 4.3702239990234375, 4.370197296142578, 4.3701701164245605, 4.370142936706543, 4.370115756988525, 4.370089054107666, 4.370061874389648, 4.370034694671631, 4.370007514953613, 4.369980812072754, 4.369953632354736, 4.369926452636719, 4.369899272918701, 4.369872093200684, 4.369845390319824, 4.369818210601807, 4.369791030883789, 4.3697638511657715, 4.369736671447754, 4.3697099685668945, 4.369682788848877, 4.369655609130859, 4.369628429412842, 4.369601249694824, 4.369574069976807, 4.369546890258789, 4.3695197105407715, 4.369493007659912, 4.3694658279418945, 4.369438648223877, 4.369411468505859, 4.369384288787842, 4.369357109069824, 4.369329929351807, 4.369302749633789, 4.3692755699157715, 4.369248390197754, 4.369221210479736, 4.369194030761719, 4.369166851043701, 4.369139671325684, 4.369112491607666, 4.369085311889648, 4.369058132171631, 4.369030952453613, 4.369003772735596, 4.368976593017578, 4.3689494132995605, 4.368922233581543, 4.368895053863525, 4.368867874145508, 4.36884069442749, 4.368813514709473, 4.368785858154297, 4.368758678436279, 4.368731498718262, 4.368704319000244, 4.368677139282227, 4.368649959564209, 4.368622779846191, 4.368595600128174, 4.368567943572998, 4.3685407638549805, 4.368513584136963, 4.368486404418945, 4.368459224700928, 4.36843204498291, 4.368404388427734, 4.368377208709717, 4.368350028991699, 4.368322849273682, 4.368295192718506, 4.368268013000488, 4.368240833282471, 4.368213653564453, 4.3681864738464355, 4.36815881729126, 4.368131637573242, 4.368104457855225, 4.368076801300049, 4.368049621582031, 4.368022441864014, 4.367994785308838, 4.36796760559082, 4.367940425872803, 4.367913246154785, 4.367885589599609, 4.367858409881592, 4.367830753326416, 4.367803573608398, 4.367776393890381, 4.367748737335205, 4.3677215576171875, 4.36769437789917, 4.367666721343994, 4.367639541625977, 4.367611885070801, 4.367584705352783, 4.367557048797607, 4.36752986907959, 4.367502689361572, 4.3674750328063965, 4.367447853088379, 4.367420196533203, 4.3673930168151855, 4.36736536026001, 4.367338180541992, 4.367310523986816, 4.367283344268799, 4.367255687713623, 4.3672285079956055, 4.36720085144043, 4.367173671722412, 4.367146015167236, 4.367118835449219, 4.367091178894043, 4.367063522338867, 4.36703634262085, 4.367008686065674, 4.366981506347656, 4.3669538497924805, 4.366926193237305, 4.366899013519287, 4.366871356964111, 4.366844177246094, 4.366816520690918, 4.366788864135742, 4.366761684417725, 4.366734027862549, 4.366706371307373, 4.3666791915893555, 4.36665153503418, 4.366623878479004, 4.366596698760986, 4.3665690422058105, 4.366541385650635, 4.366514205932617, 4.366486549377441, 4.366458892822266, 4.36643123626709, 4.366404056549072, 4.3663763999938965, 4.366348743438721, 4.366321086883545, 4.366293907165527, 4.366266250610352, 4.366238594055176, 4.3662109375, 4.366183280944824, 4.366155624389648, 4.366128444671631, 4.366100788116455, 4.366073131561279, 4.3660454750061035, 4.366017818450928, 4.365990161895752, 4.365962982177734, 4.365935325622559, 4.365907669067383, 4.365880012512207, 4.365852355957031, 4.3658246994018555, 4.36579704284668, 4.365769386291504, 4.365741729736328, 4.365714073181152, 4.365686416625977, 4.365658760070801, 4.365631580352783, 4.365603923797607, 4.365576267242432, 4.365548610687256, 4.36552095413208, 4.365493297576904, 4.3654656410217285, 4.365437984466553, 4.365410327911377, 4.365382671356201, 4.365354537963867, 4.365326881408691, 4.365299224853516, 4.36527156829834, 4.365243911743164, 4.365216255187988, 4.3651885986328125, 4.365160942077637, 4.365133285522461, 4.365105628967285, 4.365077972412109, 4.365050315856934, 4.3650221824646, 4.364994525909424, 4.364966869354248, 4.364939212799072, 4.3649115562438965, 4.364883899688721, 4.364855766296387, 4.364828109741211, 4.364800453186035, 4.364772796630859, 4.364745140075684, 4.36471700668335, 4.364689350128174, 4.364661693572998, 4.364634037017822, 4.3646063804626465, 4.3645782470703125, 4.364550590515137, 4.364522933959961, 4.364494800567627, 4.364467144012451, 4.364439487457275, 4.3644118309021, 4.364383697509766, 4.36435604095459, 4.364328384399414, 4.36430025100708, 4.364272594451904, 4.3642449378967285, 4.3642168045043945, 4.364189147949219, 4.364161491394043, 4.364133358001709, 4.364105701446533, 4.364077568054199, 4.364049911499023, 4.364022254943848, 4.363994121551514, 4.363966464996338, 4.363938331604004, 4.363910675048828, 4.363882541656494, 4.363854885101318, 4.363827228546143, 4.363799095153809, 4.363771438598633, 4.363743305206299, 4.363715648651123, 4.363687515258789, 4.363659858703613, 4.363631725311279, 4.3636040687561035, 4.3635759353637695, 4.3635478019714355, 4.36352014541626, 4.363492012023926, 4.36346435546875, 4.363436222076416, 4.36340856552124, 4.363380432128906, 4.363352298736572, 4.3633246421813965, 4.3632965087890625, 4.363268852233887, 4.363240718841553, 4.363212585449219, 4.363184928894043, 4.363156795501709, 4.363128662109375, 4.363101005554199, 4.363072872161865, 4.363044738769531, 4.3630170822143555, 4.3629889488220215, 4.3629608154296875, 4.362933158874512, 4.362905025482178, 4.362876892089844, 4.36284875869751, 4.362821102142334, 4.36279296875, 4.362764835357666, 4.362736701965332, 4.362709045410156, 4.362680912017822, 4.362652778625488, 4.362624645233154, 4.36259651184082, 4.3625688552856445, 4.3625407218933105, 4.362512588500977, 4.362484455108643, 4.362456321716309, 4.362428188323975, 4.362400531768799, 4.362372398376465, 4.362344264984131, 4.362316131591797, 4.362287998199463, 4.362259864807129, 4.362231731414795, 4.362203598022461, 4.362175464630127, 4.362147331237793, 4.362119197845459, 4.362091541290283, 4.362063407897949, 4.362035274505615, 4.362007141113281, 4.361979007720947, 4.361950874328613, 4.361922740936279, 4.361894607543945, 4.361866474151611, 4.361838340759277, 4.361810207366943, 4.361782073974609, 4.361753940582275, 4.361725330352783, 4.361697196960449, 4.361669063568115, 4.361640930175781, 4.361612796783447, 4.361584663391113, 4.361556529998779, 4.361528396606445, 4.361500263214111, 4.361472129821777, 4.361443519592285, 4.361415386199951, 4.361387252807617, 4.361359119415283, 4.361330986022949, 4.361302852630615, 4.361274719238281, 4.361246109008789, 4.361217975616455, 4.361189842224121, 4.361161708831787, 4.361133575439453, 4.361104965209961, 4.361076831817627, 4.361048698425293, 4.361020565032959, 4.360991954803467, 4.360963821411133, 4.360935688018799, 4.360907077789307, 4.360878944396973, 4.360850811004639, 4.360822677612305, 4.3607940673828125, 4.3607659339904785, 4.3607378005981445, 4.360709190368652, 4.360681056976318, 4.360652923583984, 4.360624313354492, 4.360596179962158, 4.360567569732666, 4.360539436340332, 4.360511302947998, 4.360482692718506, 4.360454559326172, 4.36042594909668, 4.360397815704346, 4.360369682312012, 4.3603410720825195, 4.3603129386901855, 4.360284328460693, 4.360256195068359, 4.360227584838867, 4.360199451446533, 4.360170841217041, 4.360142707824707, 4.360114097595215, 4.360085964202881, 4.360057353973389, 4.360029220581055, 4.3600006103515625, 4.3599724769592285, 4.359943866729736, 4.359915256500244, 4.35988712310791, 4.359858512878418, 4.359830379486084, 4.359801769256592, 4.359773635864258, 4.359745025634766, 4.359716415405273, 4.3596882820129395, 4.359659671783447, 4.359631061553955, 4.359602928161621, 4.359574317932129, 4.359545707702637, 4.359517574310303, 4.3594889640808105, 4.359460353851318, 4.359432220458984, 4.359403610229492, 4.359375, 4.359346866607666, 4.359318256378174, 4.359289646148682, 4.3592610359191895, 4.3592329025268555, 4.359204292297363, 4.359175682067871, 4.359147071838379, 4.359118461608887, 4.359090328216553, 4.3590617179870605, 4.359033107757568, 4.359004497528076, 4.358975887298584, 4.358947277069092, 4.358919143676758, 4.358890533447266, 4.358861923217773, 4.358833312988281, 4.358804702758789, 4.358776092529297, 4.358747482299805, 4.3587188720703125, 4.3586907386779785, 4.358662128448486, 4.358633518218994, 4.358604907989502, 4.35857629776001, 4.358547687530518, 4.358519077301025, 4.358490467071533, 4.358461856842041, 4.358433246612549, 4.358404636383057, 4.3583760261535645, 4.358347415924072, 4.35831880569458, 4.358290195465088, 4.358261585235596, 4.3582329750061035, 4.358204364776611, 4.358175754547119, 4.358147144317627, 4.358118534088135, 4.358089447021484, 4.358060836791992, 4.3580322265625, 4.358003616333008, 4.357975006103516, 4.357946395874023, 4.357917785644531, 4.357889175415039, 4.357860088348389, 4.3578314781188965, 4.357802867889404, 4.357774257659912, 4.35774564743042, 4.357717037200928, 4.357687950134277, 4.357659339904785, 4.357630729675293, 4.357602119445801, 4.357573509216309, 4.357544422149658, 4.357515811920166, 4.357487201690674, 4.357458591461182, 4.357429504394531, 4.357400894165039, 4.357372283935547, 4.3573431968688965, 4.357314586639404, 4.357285976409912, 4.357256889343262, 4.3572282791137695, 4.357199668884277, 4.357170581817627, 4.357141971588135, 4.357113361358643, 4.357084274291992, 4.3570556640625, 4.357027053833008, 4.356997966766357, 4.356969356536865, 4.356940269470215, 4.356911659240723, 4.356882572174072, 4.35685396194458, 4.356825351715088, 4.3567962646484375, 4.356767654418945, 4.356738567352295, 4.356709957122803, 4.356680870056152, 4.35665225982666, 4.35662317276001, 4.356594562530518, 4.356565475463867, 4.356536865234375, 4.356507778167725, 4.356479167938232, 4.356450080871582, 4.356420993804932, 4.3563923835754395, 4.356363296508789, 4.356334686279297, 4.3563055992126465, 4.356276512145996, 4.356247901916504, 4.3562188148498535, 4.356190204620361, 4.356161117553711, 4.3561320304870605, 4.356103420257568, 4.356074333190918, 4.356045246124268, 4.356016635894775, 4.355987548828125, 4.355958461761475, 4.355929851531982, 4.355900764465332, 4.355871677398682, 4.355842590332031, 4.355813980102539, 4.355784893035889, 4.355755805969238, 4.355726718902588, 4.355698108673096, 4.355669021606445, 4.355639934539795, 4.3556108474731445, 4.355581760406494, 4.355553150177002, 4.355524063110352, 4.355494976043701, 4.355465888977051, 4.3554368019104, 4.35540771484375, 4.3553786277771, 4.355350017547607, 4.355320930480957, 4.355291843414307, 4.355262756347656, 4.355233669281006, 4.3552045822143555, 4.355175495147705, 4.355146408081055, 4.355117321014404, 4.355088233947754, 4.3550591468811035, 4.355030059814453, 4.355000972747803, 4.354971885681152, 4.354942798614502, 4.354913711547852, 4.354884624481201, 4.354855537414551, 4.3548264503479, 4.35479736328125, 4.3547682762146, 4.354739189147949, 4.354710102081299, 4.354681015014648, 4.354651927947998, 4.354622840881348, 4.354593753814697, 4.354564666748047, 4.3545355796813965, 4.354506492614746, 4.3544769287109375, 4.354447841644287, 4.354418754577637, 4.354389667510986, 4.354360580444336, 4.3543314933776855, 4.354301929473877, 4.354272842407227, 4.354243755340576, 4.354214668273926, 4.354185581207275, 4.354156017303467, 4.354126930236816, 4.354097843170166, 4.354068756103516, 4.354039192199707, 4.354010105133057, 4.353981018066406, 4.353951930999756, 4.353922367095947, 4.353893280029297, 4.3538641929626465, 4.353834629058838, 4.3538055419921875, 4.353776454925537, 4.3537468910217285, 4.353717803955078, 4.353688716888428, 4.353659152984619, 4.353630065917969, 4.353600978851318, 4.35357141494751, 4.353542327880859, 4.353512763977051, 4.3534836769104, 4.35345458984375, 4.353425025939941, 4.353395938873291, 4.353366374969482, 4.353337287902832, 4.353307723999023, 4.353278636932373, 4.3532490730285645, 4.353219985961914, 4.3531904220581055, 4.353161334991455, 4.3531317710876465, 4.353102684020996, 4.3530731201171875, 4.353044033050537, 4.3530144691467285, 4.352985382080078, 4.3529558181762695, 4.352926254272461, 4.3528971672058105, 4.352867603302002, 4.352838516235352, 4.352808952331543, 4.352779388427734, 4.352750301361084, 4.352720737457275, 4.352691173553467, 4.352662086486816, 4.352632522583008, 4.352602958679199, 4.352573871612549, 4.35254430770874, 4.352514743804932, 4.352485656738281, 4.352456092834473, 4.352426528930664, 4.3523969650268555, 4.352367877960205, 4.3523383140563965, 4.352308750152588, 4.352279186248779, 4.352250099182129, 4.35222053527832, 4.352190971374512, 4.352161407470703, 4.3521318435668945, 4.352102756500244, 4.3520731925964355, 4.352043628692627, 4.352014064788818, 4.35198450088501, 4.351954936981201, 4.351925373077393, 4.351896286010742, 4.351866722106934, 4.351837158203125, 4.351807594299316, 4.351778030395508, 4.351748466491699, 4.351718902587891, 4.351689338684082, 4.351659774780273, 4.351630210876465, 4.351600646972656, 4.351571083068848, 4.351541519165039, 4.3515119552612305, 4.351482391357422, 4.351452827453613, 4.351423263549805, 4.351393699645996, 4.3513641357421875, 4.351334571838379, 4.35130500793457, 4.351275444030762, 4.351245880126953, 4.3512163162231445, 4.351186752319336, 4.351157188415527, 4.3511271476745605, 4.351097583770752, 4.351068019866943, 4.351038455963135, 4.351008892059326, 4.350979328155518, 4.350949764251709, 4.350919723510742, 4.350890159606934, 4.350860595703125, 4.350831031799316, 4.350801467895508, 4.350771427154541, 4.350741863250732, 4.350712299346924, 4.350682735443115, 4.350652694702148, 4.35062313079834, 4.350593566894531, 4.350564002990723, 4.350533962249756, 4.350504398345947, 4.350474834442139, 4.350444793701172, 4.350415229797363, 4.350385665893555, 4.350355625152588, 4.350326061248779, 4.350296497344971, 4.350266456604004, 4.350236892700195, 4.350207328796387, 4.35017728805542, 4.350147724151611, 4.3501176834106445, 4.350088119506836, 4.350058555603027, 4.3500285148620605, 4.349998950958252, 4.349968910217285, 4.349939346313477, 4.34990930557251, 4.349879741668701, 4.349849700927734, 4.349820137023926, 4.349790096282959, 4.34976053237915, 4.349730491638184, 4.349700927734375, 4.349670886993408, 4.3496413230896, 4.349611282348633, 4.349581718444824, 4.349551677703857, 4.349521636962891, 4.349492073059082, 4.349462032318115, 4.349432468414307, 4.34940242767334, 4.349372386932373, 4.3493428230285645, 4.349312782287598, 4.349282741546631, 4.349253177642822, 4.3492231369018555, 4.349193096160889, 4.34916353225708, 4.349133491516113, 4.3491034507751465, 4.34907341003418, 4.349043846130371, 4.349013805389404, 4.3489837646484375, 4.348953723907471, 4.348924160003662, 4.348894119262695, 4.3488640785217285, 4.348834037780762, 4.348804473876953, 4.348774433135986, 4.3487443923950195, 4.348714351654053, 4.348684310913086, 4.348654270172119, 4.3486247062683105, 4.348594665527344, 4.348564624786377, 4.34853458404541, 4.348504543304443, 4.348474502563477, 4.34844446182251, 4.348414421081543, 4.348384380340576, 4.348354339599609, 4.348324298858643, 4.348294734954834, 4.348264694213867, 4.3482346534729, 4.348204612731934, 4.348174571990967, 4.34814453125, 4.348114490509033, 4.348084449768066, 4.3480544090271, 4.348024368286133, 4.347993850708008, 4.347963809967041, 4.347933769226074, 4.347903728485107, 4.347873687744141, 4.347843647003174, 4.347813606262207, 4.34778356552124, 4.347753524780273, 4.347723484039307, 4.34769344329834, 4.347662925720215, 4.347632884979248, 4.347602844238281, 4.3475728034973145, 4.347542762756348, 4.347512722015381, 4.347482204437256, 4.347452163696289, 4.347422122955322, 4.3473920822143555, 4.3473615646362305, 4.347331523895264, 4.347301483154297, 4.34727144241333, 4.347240924835205, 4.347210884094238, 4.3471808433532715, 4.347150802612305, 4.34712028503418, 4.347090244293213, 4.347060203552246, 4.347029685974121, 4.346999645233154, 4.3469696044921875, 4.3469390869140625, 4.346909046173096, 4.346878528594971, 4.346848487854004, 4.346818447113037, 4.346787929534912, 4.346757888793945, 4.34672737121582, 4.3466973304748535, 4.346667289733887, 4.346636772155762, 4.346606731414795, 4.34657621383667, 4.346546173095703, 4.346515655517578, 4.346485614776611, 4.346455097198486, 4.3464250564575195, 4.3463945388793945, 4.346364498138428, 4.346333980560303, 4.346303462982178, 4.346273422241211, 4.346242904663086, 4.346212863922119, 4.346182346343994, 4.346152305603027, 4.346121788024902, 4.346091270446777, 4.3460612297058105, 4.3460307121276855, 4.3460001945495605, 4.345970153808594, 4.345939636230469, 4.345909118652344, 4.345879077911377, 4.345848560333252, 4.345818042755127, 4.34578800201416, 4.345757484436035, 4.34572696685791, 4.345696449279785, 4.345666408538818, 4.345635890960693, 4.345605373382568, 4.345574855804443, 4.345544815063477, 4.345514297485352, 4.345483779907227, 4.345453262329102, 4.345422744750977, 4.34539270401001, 4.345362186431885, 4.34533166885376, 4.345301151275635, 4.34527063369751, 4.345240116119385, 4.34520959854126, 4.345179080963135, 4.345149040222168, 4.345118522644043, 4.345088005065918, 4.345057487487793, 4.345026969909668, 4.344996452331543, 4.344965934753418, 4.344935417175293, 4.344904899597168, 4.344874382019043, 4.344843864440918, 4.344813346862793, 4.344782829284668, 4.344752311706543, 4.344721794128418, 4.344691276550293, 4.344660758972168, 4.344630241394043, 4.344599723815918, 4.344569206237793, 4.344538688659668, 4.344507694244385, 4.34447717666626, 4.344446659088135, 4.34441614151001, 4.344385623931885, 4.34435510635376, 4.344324588775635, 4.344293594360352, 4.344263076782227, 4.344232559204102, 4.344202041625977, 4.344171524047852, 4.344141006469727, 4.344110012054443, 4.344079494476318, 4.344048976898193, 4.344018459320068, 4.343987464904785, 4.34395694732666, 4.343926429748535, 4.34389591217041, 4.343864917755127, 4.343834400177002, 4.343803882598877, 4.343772888183594, 4.343742370605469, 4.343711853027344, 4.3436808586120605, 4.3436503410339355, 4.3436198234558105, 4.343588829040527, 4.343558311462402, 4.343527317047119, 4.343496799468994, 4.343466281890869, 4.343435287475586, 4.343404769897461, 4.343373775482178, 4.343343257904053, 4.3433122634887695, 4.3432817459106445, 4.343250751495361, 4.343220233917236, 4.343189239501953, 4.343158721923828, 4.343127727508545, 4.34309720993042, 4.343066215515137, 4.343035697937012, 4.3430047035217285, 4.3429741859436035, 4.34294319152832, 4.342912197113037, 4.342881679534912, 4.342850685119629, 4.342820167541504, 4.342789173126221, 4.3427581787109375, 4.3427276611328125, 4.342696666717529, 4.342665672302246, 4.342635154724121, 4.342604160308838, 4.342573165893555, 4.34254264831543, 4.3425116539001465, 4.342480659484863, 4.34244966506958, 4.342419147491455, 4.342388153076172, 4.342357158660889, 4.3423261642456055, 4.3422956466674805, 4.342264652252197, 4.342233657836914, 4.342202663421631, 4.342171669006348, 4.342141151428223, 4.3421101570129395, 4.342079162597656, 4.342048168182373, 4.34201717376709, 4.341986179351807, 4.341955184936523, 4.341924667358398, 4.341893672943115, 4.341862678527832, 4.341831684112549, 4.341800689697266, 4.341769695281982, 4.341738700866699, 4.341707706451416, 4.341676712036133, 4.34164571762085, 4.341614723205566, 4.341583728790283, 4.341552734375, 4.341521739959717, 4.341490745544434, 4.34145975112915, 4.341428756713867, 4.341397762298584, 4.341366767883301, 4.341335773468018, 4.341304779052734, 4.341273784637451, 4.341242790222168, 4.341211318969727, 4.341180324554443, 4.34114933013916, 4.341118335723877, 4.341087341308594, 4.3410563468933105, 4.341025352478027, 4.340993881225586, 4.340962886810303, 4.3409318923950195, 4.340900897979736, 4.340869903564453, 4.340838432312012, 4.3408074378967285, 4.340776443481445, 4.340745449066162, 4.340713977813721, 4.3406829833984375, 4.340651988983154, 4.340620517730713, 4.34058952331543, 4.3405585289001465, 4.340527534484863, 4.340496063232422, 4.340465068817139, 4.340433597564697, 4.340402603149414, 4.340371608734131, 4.3403401374816895, 4.340309143066406, 4.340278148651123, 4.340246677398682, 4.340215682983398, 4.340184211730957, 4.340153217315674, 4.340121746063232, 4.340090751647949, 4.340059757232666, 4.340028285980225, 4.339997291564941, 4.3399658203125, 4.339934825897217, 4.339903354644775, 4.339871883392334, 4.339840888977051, 4.339809417724609, 4.339778423309326, 4.339746952056885, 4.339715957641602, 4.33968448638916, 4.339653491973877, 4.3396220207214355, 4.339590549468994, 4.339559555053711, 4.3395280838012695, 4.339496612548828, 4.339465618133545, 4.3394341468811035, 4.339402675628662, 4.339371681213379, 4.3393402099609375, 4.339308738708496, 4.339277744293213, 4.3392462730407715, 4.33921480178833, 4.339183330535889, 4.3391523361206055, 4.339120864868164, 4.339089393615723, 4.339057922363281, 4.339026927947998, 4.338995456695557, 4.338963985443115, 4.338932514190674, 4.338901042938232, 4.338869571685791, 4.338838577270508, 4.338807106018066, 4.338775634765625, 4.338744163513184, 4.338712692260742, 4.338681221008301, 4.338649749755859, 4.338618278503418, 4.338586807250977, 4.338555812835693, 4.338524341583252, 4.3384928703308105, 4.338461399078369, 4.338429927825928, 4.338398456573486, 4.338366985321045, 4.3383355140686035, 4.338304042816162, 4.338272571563721, 4.338241100311279, 4.338209629058838, 4.338177680969238, 4.338146209716797, 4.3381147384643555, 4.338083267211914, 4.338051795959473, 4.338020324707031, 4.33798885345459, 4.337957382202148, 4.337925910949707, 4.337894439697266, 4.337862491607666, 4.337831020355225, 4.337799549102783, 4.337768077850342, 4.3377366065979, 4.337704658508301, 4.337673187255859, 4.337641716003418, 4.337610244750977, 4.337578773498535, 4.3375468254089355, 4.337515354156494, 4.337483882904053, 4.337451934814453, 4.337420463562012, 4.33738899230957, 4.337357521057129, 4.337325572967529, 4.337294101715088, 4.3372626304626465, 4.337230682373047, 4.3371992111206055, 4.337167263031006, 4.3371357917785645, 4.337104320526123, 4.337072372436523, 4.337040901184082, 4.337008953094482, 4.336977481842041, 4.3369460105896, 4.3369140625, 4.336882591247559, 4.336850643157959, 4.336819171905518, 4.336787223815918, 4.336755752563477, 4.336723804473877, 4.3366923332214355, 4.336660385131836, 4.3366289138793945, 4.336596965789795, 4.336565017700195, 4.336533546447754, 4.336501598358154, 4.336470127105713, 4.336438179016113, 4.336406230926514, 4.336374759674072, 4.336342811584473, 4.336311340332031, 4.336279392242432, 4.336247444152832, 4.336215972900391, 4.336184024810791, 4.336152076721191, 4.336120128631592, 4.33608865737915, 4.336056709289551, 4.336024761199951, 4.33599328994751, 4.33596134185791, 4.3359293937683105, 4.335897445678711, 4.335865497589111, 4.33583402633667, 4.33580207824707, 4.335770130157471, 4.335738182067871, 4.3357062339782715, 4.33567476272583, 4.3356428146362305, 4.335610866546631, 4.335578918457031, 4.335546970367432, 4.335515022277832, 4.335483074188232, 4.335451126098633, 4.335419178009033, 4.335387229919434, 4.335355758666992, 4.335323810577393, 4.335291862487793, 4.335259914398193, 4.335227966308594, 4.335196018218994, 4.3351640701293945, 4.335132122039795, 4.335100173950195, 4.335068225860596, 4.335035800933838, 4.335003852844238, 4.334971904754639, 4.334939956665039, 4.3349080085754395, 4.33487606048584, 4.33484411239624, 4.334812164306641, 4.334780216217041, 4.334748268127441, 4.334715843200684, 4.334683895111084, 4.334651947021484, 4.334619998931885, 4.334588050842285, 4.3345561027526855, 4.334523677825928, 4.334491729736328, 4.3344597816467285, 4.334427833557129, 4.334395408630371, 4.3343634605407715, 4.334331512451172, 4.334299564361572, 4.3342671394348145, 4.334235191345215, 4.334203243255615, 4.334170818328857, 4.334138870239258, 4.334106922149658, 4.3340744972229, 4.334042549133301, 4.334010124206543, 4.333978176116943, 4.333946228027344, 4.333913803100586, 4.333881855010986, 4.3338494300842285, 4.333817481994629, 4.333785533905029, 4.3337531089782715, 4.333721160888672, 4.333688735961914, 4.3336567878723145, 4.333624362945557, 4.333592414855957, 4.333559989929199, 4.3335280418396, 4.333495616912842, 4.333463668823242, 4.333431243896484, 4.333398818969727, 4.333366870880127, 4.333334445953369, 4.3333024978637695, 4.333270072937012, 4.333237648010254, 4.333205699920654, 4.3331732749938965, 4.333140850067139, 4.333108901977539, 4.333076477050781, 4.333044052124023, 4.333012104034424, 4.332979679107666, 4.332947254180908, 4.332915306091309, 4.332882881164551, 4.332850456237793, 4.332818031311035, 4.3327860832214355, 4.332753658294678, 4.33272123336792, 4.332688808441162, 4.332656383514404, 4.332624435424805, 4.332592010498047, 4.332559585571289, 4.332527160644531, 4.332494735717773, 4.332462310791016, 4.332429885864258, 4.332397937774658, 4.3323655128479, 4.332333087921143, 4.332300662994385, 4.332268238067627, 4.332235813140869, 4.332203388214111, 4.3321709632873535, 4.332138538360596, 4.332106113433838, 4.33207368850708, 4.332041263580322, 4.3320088386535645, 4.331976413726807, 4.331943988800049, 4.331911563873291, 4.331879138946533, 4.331846714019775, 4.331814289093018, 4.33178186416626, 4.331748962402344, 4.331716537475586, 4.331684112548828, 4.33165168762207, 4.3316192626953125, 4.331586837768555, 4.331554412841797, 4.331521511077881, 4.331489086151123, 4.331456661224365, 4.331424236297607, 4.33139181137085, 4.331358909606934, 4.331326484680176, 4.331294059753418, 4.33126163482666, 4.331228733062744, 4.331196308135986, 4.3311638832092285, 4.3311309814453125, 4.331098556518555, 4.331066131591797, 4.331033229827881, 4.331000804901123, 4.330968379974365, 4.330935478210449, 4.330903053283691, 4.330870628356934, 4.330837726593018, 4.33080530166626, 4.330772399902344, 4.330739974975586, 4.330707550048828, 4.330674648284912, 4.330642223358154, 4.330609321594238, 4.3305768966674805, 4.3305439949035645, 4.330511569976807, 4.330478668212891, 4.330446243286133, 4.330413341522217, 4.330380916595459, 4.330348014831543, 4.330315113067627, 4.330282688140869, 4.330249786376953, 4.330217361450195, 4.330184459686279, 4.330151557922363, 4.3301191329956055, 4.3300862312316895, 4.330053806304932, 4.330020904541016, 4.3299880027771, 4.329955577850342, 4.329922676086426, 4.32988977432251, 4.329856872558594, 4.329824447631836, 4.32979154586792, 4.329758644104004, 4.329725742340088, 4.32969331741333, 4.329660415649414, 4.329627513885498, 4.329594612121582, 4.329561710357666, 4.329529285430908, 4.329496383666992, 4.329463481903076, 4.32943058013916, 4.329397678375244, 4.329364776611328, 4.329331874847412, 4.329299449920654, 4.329266548156738, 4.329233646392822, 4.329200744628906, 4.32916784286499, 4.329134941101074, 4.329102039337158, 4.329069137573242, 4.329036235809326, 4.32900333404541, 4.328970432281494, 4.328937530517578, 4.328904628753662, 4.328871726989746, 4.32883882522583, 4.328805923461914, 4.328773021697998, 4.328740119934082, 4.328707218170166, 4.328673839569092, 4.328640937805176, 4.32860803604126, 4.328575134277344, 4.328542232513428, 4.328509330749512, 4.328476428985596, 4.3284430503845215, 4.3284101486206055, 4.3283772468566895, 4.328344345092773, 4.328311443328857, 4.328278064727783, 4.328245162963867, 4.328212261199951, 4.328179359436035, 4.328145980834961, 4.328113079071045, 4.328080177307129, 4.328046798706055, 4.328013896942139, 4.327980995178223, 4.327947616577148, 4.327914714813232, 4.327881813049316, 4.327848434448242, 4.327815532684326, 4.32778263092041, 4.327749252319336, 4.32771635055542, 4.327682971954346, 4.32765007019043, 4.3276166915893555, 4.3275837898254395, 4.327550411224365, 4.327517509460449, 4.327484607696533, 4.327451229095459, 4.327417850494385, 4.327384948730469, 4.3273515701293945, 4.3273186683654785, 4.327285289764404, 4.327252388000488, 4.327219009399414, 4.327186107635498, 4.327152729034424, 4.32711935043335, 4.327086448669434, 4.327053070068359, 4.327019691467285, 4.326986789703369, 4.326953411102295, 4.326920032501221, 4.326887130737305, 4.3268537521362305, 4.326820373535156, 4.32678747177124, 4.326754093170166, 4.326720714569092, 4.326687335968018, 4.326654434204102, 4.326621055603027, 4.326587677001953, 4.326554298400879, 4.326520919799805, 4.326488018035889, 4.3264546394348145, 4.32642126083374, 4.326387882232666, 4.326354503631592, 4.326321125030518, 4.326287746429443, 4.326254844665527, 4.326221466064453, 4.326188087463379, 4.326154708862305, 4.3261213302612305, 4.326087951660156, 4.326054573059082, 4.326021194458008, 4.325987815856934, 4.325954437255859, 4.325921058654785, 4.325887680053711, 4.325854301452637, 4.3258209228515625, 4.325787544250488, 4.325754165649414, 4.32572078704834, 4.325687408447266, 4.325653553009033, 4.325620174407959, 4.325586795806885, 4.3255534172058105, 4.325520038604736, 4.325486660003662, 4.325453281402588, 4.3254194259643555, 4.325386047363281, 4.325352668762207, 4.325319290161133, 4.325285911560059, 4.325252056121826, 4.325218677520752, 4.325185298919678, 4.3251519203186035, 4.325118064880371, 4.325084686279297, 4.325051307678223, 4.32501745223999, 4.324984073638916, 4.324950695037842, 4.324916839599609, 4.324883460998535, 4.324850082397461, 4.3248162269592285, 4.324782848358154, 4.32474946975708, 4.324715614318848, 4.324682235717773, 4.324648380279541, 4.324615001678467, 4.324581146240234, 4.32454776763916, 4.324513912200928, 4.3244805335998535, 4.324446678161621, 4.324413299560547, 4.3243794441223145, 4.32434606552124, 4.324312210083008, 4.324278831481934, 4.324244976043701, 4.324211597442627, 4.3241777420043945, 4.324143886566162, 4.324110507965088, 4.3240766525268555, 4.324043273925781, 4.324009418487549, 4.323975563049316, 4.323942184448242, 4.32390832901001, 4.323874473571777, 4.323840618133545, 4.323807239532471, 4.323773384094238, 4.323739528656006, 4.323706150054932, 4.323672294616699, 4.323638439178467, 4.323604583740234, 4.323570728302002, 4.323537349700928, 4.323503494262695, 4.323469638824463, 4.3234357833862305, 4.323401927947998, 4.323368072509766, 4.323334693908691, 4.323300838470459, 4.323266983032227, 4.323233127593994, 4.323199272155762, 4.323165416717529, 4.323131561279297, 4.3230977058410645, 4.323063850402832, 4.3230299949646, 4.322996139526367, 4.322962284088135, 4.322928428649902, 4.32289457321167, 4.3228607177734375, 4.322826862335205, 4.322793006896973, 4.32275915145874, 4.322725296020508, 4.322691440582275, 4.322657585144043, 4.3226237297058105, 4.32258939743042, 4.3225555419921875, 4.322521686553955, 4.322487831115723, 4.32245397567749, 4.322420120239258, 4.322385787963867, 4.322351932525635, 4.322318077087402, 4.32228422164917, 4.3222503662109375, 4.322216033935547, 4.3221821784973145, 4.322148323059082, 4.32211446762085, 4.322080135345459, 4.322046279907227, 4.322012424468994, 4.3219780921936035, 4.321944236755371, 4.321910381317139, 4.321876049041748, 4.321842193603516, 4.321807861328125, 4.321774005889893, 4.32174015045166, 4.3217058181762695, 4.321671962738037, 4.3216376304626465, 4.321603775024414, 4.321569442749023, 4.321535587310791, 4.3215012550354, 4.321467399597168, 4.321433067321777, 4.321399211883545, 4.321364879608154, 4.321331024169922, 4.321296691894531, 4.321262836456299, 4.321228504180908, 4.321194648742676, 4.321160316467285, 4.3211259841918945, 4.321092128753662, 4.3210577964782715, 4.321023464202881, 4.320989608764648, 4.320955276489258, 4.320920944213867, 4.320887088775635, 4.320852756500244, 4.3208184242248535, 4.320784091949463, 4.3207502365112305, 4.32071590423584, 4.320681571960449, 4.320647239685059, 4.320613384246826, 4.3205790519714355, 4.320544719696045, 4.320510387420654, 4.320476055145264, 4.320441722869873, 4.320407867431641, 4.32037353515625, 4.320339202880859, 4.320304870605469, 4.320270538330078, 4.3202362060546875, 4.320201873779297, 4.320167541503906, 4.320133209228516, 4.320098876953125, 4.320064544677734, 4.320030212402344, 4.319995880126953, 4.3199615478515625, 4.319927215576172, 4.319892883300781, 4.319858551025391, 4.31982421875, 4.319789886474609, 4.319755554199219, 4.319721221923828, 4.3196868896484375, 4.319652557373047, 4.319618225097656, 4.319583415985107, 4.319549083709717, 4.319514751434326, 4.3194804191589355, 4.319446086883545, 4.319411754608154, 4.3193769454956055, 4.319342613220215, 4.319308280944824, 4.319273948669434, 4.319239139556885, 4.319204807281494, 4.3191704750061035, 4.319136142730713, 4.319101333618164, 4.319067001342773, 4.319032669067383, 4.318997859954834, 4.318963527679443, 4.3189287185668945, 4.318894386291504, 4.318860054016113, 4.3188252449035645, 4.318790912628174, 4.318756103515625, 4.318721771240234, 4.318687438964844, 4.318652629852295, 4.318618297576904, 4.3185834884643555, 4.318549156188965, 4.318514347076416, 4.318480014801025, 4.318445205688477, 4.318410873413086, 4.318376064300537, 4.318341255187988, 4.318306922912598, 4.318272113800049, 4.318237781524658, 4.318202972412109, 4.3181681632995605, 4.31813383102417, 4.318099021911621, 4.318064212799072, 4.318029880523682, 4.317995071411133, 4.317960262298584, 4.317925930023193, 4.3178911209106445, 4.317856311798096, 4.317821502685547, 4.317787170410156, 4.317752361297607, 4.317717552185059, 4.31768274307251, 4.317648410797119, 4.31761360168457, 4.3175787925720215, 4.317543983459473, 4.317509174346924, 4.317474365234375, 4.317439556121826, 4.3174052238464355, 4.317370414733887, 4.317335605621338, 4.317300796508789, 4.31726598739624, 4.317231178283691, 4.317196369171143, 4.317161560058594, 4.317126750946045, 4.317091941833496, 4.317057132720947, 4.317022323608398, 4.31698751449585, 4.316952705383301, 4.316917896270752, 4.316883087158203, 4.316848278045654, 4.3168134689331055, 4.316778659820557, 4.31674337387085, 4.316708564758301, 4.316673755645752, 4.316638946533203, 4.316604137420654, 4.3165693283081055, 4.316534042358398, 4.31649923324585, 4.316464424133301, 4.316429615020752, 4.316394805908203, 4.316359519958496, 4.316324710845947, 4.316289901733398, 4.316254615783691, 4.316219806671143, 4.316184997558594, 4.316150188446045, 4.316114902496338, 4.316080093383789, 4.316044807434082, 4.316009998321533, 4.315975189208984, 4.315939903259277, 4.3159050941467285, 4.31587028503418, 4.315834999084473, 4.315800189971924, 4.315764904022217, 4.315730094909668, 4.315694808959961, 4.315659999847412, 4.315624713897705, 4.315589904785156, 4.315554618835449, 4.3155198097229, 4.315484523773193, 4.3154497146606445, 4.3154144287109375, 4.3153791427612305, 4.315344333648682, 4.315309047698975, 4.315273761749268, 4.315238952636719, 4.315203666687012, 4.315168857574463, 4.315133571624756, 4.315098285675049, 4.315062999725342, 4.315028190612793, 4.314992904663086, 4.314957618713379, 4.31492280960083, 4.314887523651123, 4.314852237701416, 4.314816951751709, 4.314781665802002, 4.314746856689453, 4.314711570739746, 4.314676284790039, 4.314640998840332, 4.314605712890625, 4.314570426940918, 4.314535140991211, 4.314500331878662, 4.314465045928955, 4.314429759979248, 4.314394474029541, 4.314359188079834, 4.314323902130127, 4.31428861618042, 4.314253330230713, 4.314218044281006, 4.314182758331299, 4.314147472381592, 4.314112186431885, 4.314076900482178, 4.314041614532471, 4.314006328582764, 4.313971042633057, 4.31393575668335, 4.313899993896484, 4.313864707946777, 4.31382942199707, 4.313794136047363, 4.313758850097656, 4.313723564147949, 4.313688278198242, 4.313652515411377, 4.31361722946167, 4.313581943511963, 4.313546657562256, 4.313510894775391, 4.313475608825684, 4.313440322875977, 4.3134050369262695, 4.313369274139404, 4.313333988189697, 4.31329870223999, 4.313262939453125, 4.313227653503418, 4.313192367553711, 4.313156604766846, 4.313121318817139, 4.313086032867432, 4.313050270080566, 4.313014984130859, 4.312979221343994, 4.312943935394287, 4.312908172607422, 4.312872886657715, 4.31283712387085, 4.312801837921143, 4.312766075134277, 4.31273078918457, 4.312695026397705, 4.312659740447998, 4.312623977661133, 4.312588691711426, 4.3125529289245605, 4.3125176429748535, 4.312481880187988, 4.312446117401123, 4.312410831451416, 4.312375068664551, 4.3123393058776855, 4.3123040199279785, 4.312268257141113, 4.312232494354248, 4.312197208404541, 4.312161445617676, 4.3121256828308105, 4.312089920043945, 4.312054634094238, 4.312018871307373, 4.311983108520508, 4.311947345733643, 4.311911582946777, 4.31187629699707, 4.311840534210205, 4.31180477142334, 4.311769008636475, 4.311733245849609, 4.311697483062744, 4.311661720275879, 4.311626434326172, 4.311590671539307, 4.311554908752441, 4.311519145965576, 4.311483383178711, 4.311447620391846, 4.3114118576049805, 4.311376094818115, 4.31134033203125, 4.311304569244385, 4.3112688064575195, 4.311233043670654, 4.311197280883789, 4.311161518096924, 4.311125755310059, 4.311089515686035, 4.31105375289917, 4.311017990112305, 4.3109822273254395, 4.310946464538574, 4.310910701751709, 4.310874938964844, 4.31083869934082, 4.310802936553955, 4.31076717376709, 4.310731410980225, 4.310695648193359, 4.310659408569336, 4.310623645782471, 4.3105878829956055, 4.310551643371582, 4.310515880584717, 4.310480117797852, 4.310443878173828, 4.310408115386963, 4.310372352600098, 4.310336112976074, 4.310300350189209, 4.310264587402344, 4.31022834777832, 4.310192584991455, 4.310156345367432, 4.310120582580566, 4.310084819793701, 4.310048580169678, 4.3100128173828125, 4.309976577758789, 4.309940814971924, 4.3099045753479, 4.309868812561035, 4.309832572937012, 4.309796333312988, 4.309760570526123, 4.3097243309021, 4.309688568115234, 4.309652328491211, 4.3096160888671875, 4.309580326080322, 4.309544086456299, 4.309507846832275, 4.30947208404541, 4.309435844421387, 4.309399604797363, 4.309363842010498, 4.309327602386475, 4.309291362762451, 4.309255123138428, 4.3092193603515625, 4.309183120727539, 4.309146881103516, 4.309110641479492, 4.309074878692627, 4.3090386390686035, 4.30900239944458, 4.308966159820557, 4.308929920196533, 4.30889368057251, 4.308857440948486, 4.308821201324463, 4.308785438537598, 4.308749198913574, 4.308712959289551, 4.308676719665527, 4.308640480041504, 4.3086042404174805, 4.308568000793457, 4.308531761169434, 4.30849552154541, 4.308459281921387, 4.308423042297363, 4.30838680267334, 4.308350086212158, 4.308313846588135, 4.308277606964111, 4.308241367340088, 4.3082051277160645, 4.308168888092041, 4.308132648468018, 4.308096408843994, 4.3080596923828125, 4.308023452758789, 4.307987213134766, 4.307950973510742, 4.307914733886719, 4.307878017425537, 4.307841777801514, 4.30780553817749, 4.307768821716309, 4.307732582092285, 4.307696342468262, 4.307660102844238, 4.307623386383057, 4.307587146759033, 4.30755090713501, 4.307514190673828, 4.307477951049805, 4.307441234588623, 4.3074049949646, 4.307368278503418, 4.3073320388793945, 4.307295799255371, 4.3072590827941895, 4.307222843170166, 4.307186126708984, 4.307149887084961, 4.307113170623779, 4.307076930999756, 4.307040214538574, 4.307003498077393, 4.306967258453369, 4.3069305419921875, 4.306894302368164, 4.306857585906982, 4.306820869445801, 4.306784629821777, 4.306747913360596, 4.306711673736572, 4.306674957275391, 4.306638240814209, 4.306601524353027, 4.306565284729004, 4.306528568267822, 4.306491851806641, 4.306455135345459, 4.3064188957214355, 4.306382179260254, 4.306345462799072, 4.306308746337891, 4.306272029876709, 4.3062357902526855, 4.306199073791504, 4.306162357330322, 4.306125640869141, 4.306088924407959, 4.306052207946777, 4.306015491485596, 4.305978775024414, 4.305942058563232, 4.305905342102051, 4.305869102478027, 4.305832386016846, 4.305795669555664, 4.305758953094482, 4.305722236633301, 4.305685043334961, 4.305648326873779, 4.305611610412598, 4.305574893951416, 4.305538177490234, 4.305501461029053, 4.305464744567871, 4.3054280281066895, 4.305391311645508, 4.305354595184326, 4.305317401885986, 4.305280685424805, 4.305243968963623, 4.305207252502441, 4.30517053604126, 4.30513334274292, 4.305096626281738, 4.305059909820557, 4.305022716522217, 4.304986000061035, 4.3049492835998535, 4.304912567138672, 4.304875373840332, 4.30483865737915, 4.304801940917969, 4.304764747619629, 4.304728031158447, 4.304690837860107, 4.304654121398926, 4.304617404937744, 4.304580211639404, 4.304543495178223, 4.304506301879883, 4.304469585418701, 4.304432392120361, 4.30439567565918, 4.30435848236084, 4.304321765899658, 4.304284572601318, 4.3042473793029785, 4.304210662841797, 4.304173469543457, 4.304136753082275, 4.3040995597839355, 4.304062366485596, 4.304025650024414, 4.303988456726074, 4.303951263427734, 4.303914546966553, 4.303877353668213, 4.303840160369873, 4.303803443908691, 4.303766250610352, 4.303729057312012, 4.303691864013672, 4.30365514755249, 4.30361795425415, 4.3035807609558105, 4.303543567657471, 4.303506374359131, 4.303469657897949, 4.303432464599609, 4.3033952713012695, 4.30335807800293, 4.30332088470459, 4.30328369140625, 4.30324649810791, 4.30320930480957, 4.3031721115112305, 4.303134918212891, 4.303097724914551, 4.303060531616211, 4.303023338317871, 4.302986145019531, 4.302948951721191, 4.302911758422852, 4.302874565124512, 4.302837371826172, 4.302800178527832, 4.302762985229492, 4.302725791931152, 4.3026885986328125, 4.3026509284973145, 4.302613735198975, 4.302576541900635, 4.302539348602295, 4.302502155303955, 4.302464485168457, 4.302427291870117, 4.302390098571777, 4.3023529052734375, 4.3023152351379395, 4.3022780418396, 4.30224084854126, 4.30220365524292, 4.302165985107422, 4.302128791809082, 4.302091598510742, 4.302053928375244, 4.302016735076904, 4.301979064941406, 4.301941871643066, 4.301904678344727, 4.3018670082092285, 4.301829814910889, 4.301792144775391, 4.301754951477051, 4.301717281341553, 4.301680088043213, 4.301642417907715, 4.301605224609375, 4.301567554473877, 4.301530361175537, 4.301492691040039, 4.301455020904541, 4.301417827606201, 4.301380157470703, 4.301342964172363, 4.301305294036865, 4.301267623901367, 4.301230430603027, 4.301192760467529, 4.301155090332031, 4.301117420196533, 4.301080226898193, 4.301042556762695, 4.301004886627197, 4.300967216491699, 4.300930023193359, 4.300892353057861, 4.300854682922363, 4.300817012786865, 4.300779342651367, 4.300742149353027, 4.300704479217529, 4.300666809082031, 4.300629138946533, 4.300591468811035, 4.300553798675537, 4.300516128540039, 4.300478458404541, 4.300440788269043, 4.300403118133545, 4.300365447998047, 4.300327777862549, 4.300290107727051, 4.300252437591553, 4.300214767456055, 4.300177097320557, 4.300139427185059, 4.3001017570495605, 4.3000640869140625, 4.3000264167785645, 4.299988269805908, 4.29995059967041, 4.299912929534912, 4.299875259399414, 4.299837589263916, 4.299799919128418, 4.299761772155762, 4.299724102020264, 4.299686431884766, 4.299648761749268, 4.299610614776611, 4.299572944641113, 4.299535274505615, 4.299497127532959, 4.299459457397461, 4.299421787261963, 4.299383640289307, 4.299345970153809, 4.2993083000183105, 4.299270153045654, 4.299232482910156, 4.2991943359375, 4.299156665802002, 4.299118518829346, 4.299080848693848, 4.299042701721191, 4.299005031585693, 4.298966884613037, 4.298929214477539, 4.298891067504883, 4.298853397369385, 4.2988152503967285, 4.2987775802612305, 4.298739433288574, 4.298701286315918, 4.29866361618042, 4.298625469207764, 4.298587322235107, 4.298549652099609, 4.298511505126953, 4.298473358154297, 4.298435688018799, 4.298397541046143, 4.298359394073486, 4.29832124710083, 4.298283576965332, 4.298245429992676, 4.2982072830200195, 4.298169136047363, 4.298130989074707, 4.298093318939209, 4.298055171966553, 4.2980170249938965, 4.29797887802124, 4.297940731048584, 4.297902584075928, 4.2978644371032715, 4.297826290130615, 4.297788143157959, 4.297749996185303, 4.2977118492126465, 4.29767370223999, 4.297635555267334, 4.297597408294678, 4.2975592613220215, 4.297521114349365, 4.297482967376709, 4.297444820404053, 4.2974066734313965, 4.29736852645874, 4.297330379486084, 4.297292232513428, 4.297253608703613, 4.297215461730957, 4.297177314758301, 4.2971391677856445, 4.297101020812988, 4.297062397003174, 4.297024250030518, 4.296986103057861, 4.296947956085205, 4.296909332275391, 4.296871185302734, 4.296833038330078, 4.296794414520264, 4.296756267547607, 4.296718120574951, 4.296679496765137, 4.2966413497924805, 4.296602725982666, 4.29656457901001, 4.2965264320373535, 4.296487808227539, 4.296449661254883, 4.296411037445068, 4.296372890472412, 4.296334266662598, 4.296296119689941, 4.296257495880127, 4.296219348907471, 4.296180725097656, 4.296142101287842, 4.2961039543151855, 4.296065330505371, 4.296027183532715, 4.2959885597229, 4.295949935913086, 4.29591178894043, 4.295873165130615, 4.295834541320801, 4.295795917510986, 4.29575777053833, 4.295719146728516, 4.295680522918701, 4.295641899108887, 4.2956037521362305, 4.295565128326416, 4.295526504516602, 4.295487880706787, 4.295449256896973, 4.295411109924316, 4.295372486114502, 4.2953338623046875, 4.295295238494873, 4.295256614685059, 4.295217990875244, 4.29517936706543, 4.295140743255615, 4.295102119445801, 4.295063495635986, 4.295024871826172, 4.294986248016357, 4.294947624206543, 4.2949090003967285, 4.294870376586914, 4.2948317527771, 4.294793128967285, 4.294754505157471, 4.294715881347656, 4.294676780700684, 4.294638156890869, 4.294599533081055, 4.29456090927124, 4.294522285461426, 4.294483184814453, 4.294444561004639, 4.294405937194824, 4.29436731338501, 4.294328212738037, 4.294289588928223, 4.294250965118408, 4.294212341308594, 4.294173240661621, 4.294134616851807, 4.294095516204834, 4.2940568923950195, 4.294018268585205, 4.293979167938232, 4.293940544128418, 4.293901443481445, 4.293862819671631, 4.293824195861816, 4.293785095214844, 4.293746471405029, 4.293707370758057, 4.293668746948242, 4.2936296463012695, 4.293590545654297, 4.293551921844482, 4.29351282119751, 4.293474197387695, 4.293435096740723, 4.29339599609375, 4.2933573722839355, 4.293318271636963, 4.29327917098999, 4.293240547180176, 4.293201446533203, 4.2931623458862305, 4.293123722076416, 4.293084621429443, 4.293045520782471, 4.293006420135498, 4.292967319488525, 4.292928695678711, 4.292889595031738, 4.292850494384766, 4.292811393737793, 4.29277229309082, 4.292733192443848, 4.292694091796875, 4.2926554679870605, 4.292616367340088, 4.292577266693115, 4.292538166046143, 4.29249906539917, 4.292459964752197, 4.292420864105225, 4.292381763458252, 4.292342662811279, 4.292303562164307, 4.292264461517334, 4.292225360870361, 4.2921857833862305, 4.292146682739258, 4.292107582092285, 4.2920684814453125, 4.29202938079834, 4.291990280151367, 4.2919511795043945, 4.291911602020264, 4.291872501373291, 4.291833400726318, 4.291794300079346, 4.291754722595215, 4.291715621948242, 4.2916765213012695, 4.291636943817139, 4.291597843170166, 4.291558742523193, 4.2915191650390625, 4.29148006439209, 4.291440963745117, 4.291401386260986, 4.291362285614014, 4.291322708129883, 4.29128360748291, 4.2912445068359375, 4.291204929351807, 4.291165828704834, 4.291126251220703, 4.2910871505737305, 4.2910475730896, 4.291007995605469, 4.290968894958496, 4.290929317474365, 4.290890216827393, 4.290850639343262, 4.290811061859131, 4.290771961212158, 4.290732383728027, 4.2906928062438965, 4.290653705596924, 4.290614128112793, 4.290574550628662, 4.2905354499816895, 4.290495872497559, 4.290456295013428, 4.290416717529297, 4.290377616882324, 4.290338039398193, 4.2902984619140625, 4.290258884429932, 4.290219306945801, 4.29017972946167, 4.290140151977539, 4.290100574493408, 4.2900614738464355, 4.290021896362305, 4.289982318878174, 4.289942741394043, 4.289903163909912, 4.289863586425781, 4.28982400894165, 4.2897844314575195, 4.289744853973389, 4.289705276489258, 4.289665222167969, 4.289625644683838, 4.289586067199707, 4.289546489715576, 4.289506912231445, 4.2894673347473145, 4.289427757263184, 4.289388179779053, 4.289348125457764, 4.289308547973633, 4.289268970489502, 4.289229393005371, 4.289189338684082, 4.289149761199951, 4.28911018371582, 4.289070129394531, 4.2890305519104, 4.2889909744262695, 4.2889509201049805, 4.28891134262085, 4.288871765136719, 4.28883171081543, 4.288792133331299, 4.28875207901001, 4.288712501525879, 4.288672924041748, 4.288632869720459, 4.288593292236328, 4.288553237915039, 4.288513660430908, 4.288473606109619, 4.28843355178833, 4.288393974304199, 4.28835391998291, 4.288314342498779, 4.28827428817749, 4.288234233856201, 4.28819465637207, 4.288154602050781, 4.288114547729492, 4.288074970245361, 4.288034915924072, 4.287994861602783, 4.287955284118652, 4.287915229797363, 4.287875175476074, 4.287835121154785, 4.287795066833496, 4.287755489349365, 4.287715435028076, 4.287675380706787, 4.287635326385498, 4.287595272064209, 4.28755521774292, 4.287515163421631, 4.287475109100342, 4.287435054779053, 4.287395000457764, 4.287354946136475, 4.2873148918151855, 4.2872748374938965, 4.287234783172607, 4.287194728851318, 4.287154674530029, 4.28711462020874, 4.287074565887451, 4.287034511566162, 4.286994457244873, 4.286954402923584, 4.286914348602295, 4.286873817443848, 4.286833763122559, 4.2867937088012695, 4.2867536544799805, 4.286713600158691, 4.286673069000244, 4.286633014678955, 4.286592960357666, 4.286552429199219, 4.28651237487793, 4.286472320556641, 4.286431789398193, 4.286391735076904, 4.286351680755615, 4.286311149597168, 4.286271095275879, 4.286230564117432, 4.286190509796143, 4.2861504554748535, 4.286109924316406, 4.286069869995117, 4.28602933883667, 4.285989284515381, 4.285948753356934, 4.285908222198486, 4.285868167877197, 4.28582763671875, 4.285787582397461, 4.285747051239014, 4.285706520080566, 4.285666465759277, 4.28562593460083, 4.285585403442383, 4.285545349121094, 4.2855048179626465, 4.285464286804199, 4.28542423248291, 4.285383701324463, 4.285343170166016, 4.285302639007568, 4.285262107849121, 4.285222053527832, 4.285181522369385, 4.2851409912109375, 4.28510046005249, 4.285059928894043, 4.285019397735596, 4.284978866577148, 4.284938335418701, 4.284897804260254, 4.284857273101807, 4.284816741943359, 4.284776210784912, 4.284735679626465, 4.284695148468018, 4.28465461730957, 4.284614086151123, 4.284573554992676, 4.2845330238342285, 4.284492492675781, 4.284451961517334, 4.284411430358887, 4.284370422363281, 4.284329891204834, 4.284289360046387, 4.2842488288879395, 4.284208297729492, 4.284167289733887, 4.2841267585754395, 4.284086227416992, 4.284045219421387, 4.2840046882629395, 4.283964157104492, 4.283923149108887, 4.2838826179504395, 4.283842086791992, 4.283801078796387, 4.2837605476379395, 4.283719539642334, 4.283679008483887, 4.2836384773254395, 4.283597469329834, 4.283556938171387, 4.283515930175781, 4.283475399017334, 4.2834343910217285, 4.283393383026123, 4.283352851867676, 4.28331184387207, 4.283271312713623, 4.283230304718018, 4.283189296722412, 4.283148765563965, 4.283107757568359, 4.283066749572754, 4.283026218414307, 4.282985210418701, 4.282944202423096, 4.28290319442749, 4.282862663269043, 4.2828216552734375, 4.282780647277832, 4.282739639282227, 4.282698631286621, 4.282658100128174, 4.282617092132568, 4.282576084136963, 4.282535076141357, 4.282494068145752, 4.2824530601501465, 4.282412052154541, 4.2823710441589355, 4.28233003616333, 4.282289028167725, 4.282248020172119, 4.282207012176514, 4.282166004180908, 4.282124996185303, 4.282083988189697, 4.282042980194092, 4.282001972198486, 4.281960487365723, 4.281919479370117, 4.281878471374512, 4.281837463378906, 4.281796455383301, 4.281754970550537, 4.281713962554932, 4.281672954559326, 4.281631946563721, 4.281590461730957, 4.281549453735352, 4.281508445739746, 4.281466960906982, 4.281425952911377, 4.2813849449157715, 4.281343460083008, 4.281302452087402, 4.281260967254639, 4.281219959259033, 4.281178951263428, 4.281137466430664, 4.281096458435059, 4.281054973602295, 4.2810139656066895, 4.280972480773926, 4.28093147277832, 4.280889987945557, 4.280848503112793, 4.2808074951171875, 4.280766010284424, 4.28072452545166, 4.280683517456055, 4.280642032623291, 4.280600547790527, 4.280559539794922, 4.280518054962158, 4.2804765701293945, 4.280435562133789, 4.280394077301025, 4.280352592468262, 4.280311107635498, 4.280269622802734, 4.280228137969971, 4.280187129974365, 4.280145645141602, 4.280104160308838, 4.280062675476074, 4.2800211906433105, 4.279979705810547, 4.279938220977783, 4.2798967361450195, 4.279855251312256, 4.279813766479492, 4.2797722816467285, 4.279730796813965, 4.279689311981201, 4.2796478271484375, 4.279606342315674, 4.27956485748291, 4.2795233726501465, 4.279481410980225, 4.279439926147461, 4.279398441314697, 4.279356956481934, 4.27931547164917, 4.279273509979248, 4.279232025146484, 4.279190540313721, 4.279149055480957, 4.279107093811035, 4.2790656089782715, 4.279024124145508, 4.278982162475586, 4.278940677642822, 4.278899192810059, 4.278857231140137, 4.278815746307373, 4.278773784637451, 4.2787322998046875, 4.278690338134766, 4.278648853302002, 4.27860689163208, 4.278565406799316, 4.2785234451293945, 4.278481960296631, 4.278439998626709, 4.278398513793945, 4.278356552124023, 4.278314590454102, 4.278273105621338, 4.278231143951416, 4.278189182281494, 4.2781476974487305, 4.278105735778809, 4.278063774108887, 4.278022289276123, 4.277980327606201, 4.277938365936279, 4.277896404266357, 4.2778544425964355, 4.277812957763672, 4.27777099609375, 4.277729034423828, 4.277687072753906, 4.277645111083984, 4.2776031494140625, 4.277561187744141, 4.277519226074219, 4.277477264404297, 4.277435302734375, 4.277393341064453, 4.277351379394531, 4.277309417724609, 4.2772674560546875, 4.277225494384766, 4.277183532714844, 4.277141571044922, 4.277099609375, 4.277057647705078, 4.277015209197998, 4.276973247528076, 4.276931285858154, 4.276889324188232, 4.2768473625183105, 4.2768049240112305, 4.276762962341309, 4.276721000671387, 4.276679039001465, 4.276636600494385, 4.276594638824463, 4.276552677154541, 4.276510238647461, 4.276468276977539, 4.276425838470459, 4.276383876800537, 4.276341915130615, 4.276299476623535, 4.276257514953613, 4.276215076446533, 4.276173114776611, 4.276130676269531, 4.276088714599609, 4.276046276092529, 4.276003837585449, 4.275961875915527, 4.275919437408447, 4.275877475738525, 4.275835037231445, 4.275792598724365, 4.275750637054443, 4.275708198547363, 4.275665760040283, 4.275623321533203, 4.275581359863281, 4.275538921356201, 4.275496482849121, 4.275454044342041, 4.275411605834961, 4.275369644165039, 4.275327205657959, 4.275284767150879, 4.275242328643799, 4.275199890136719, 4.275157451629639, 4.275115013122559, 4.2750725746154785, 4.275030136108398, 4.274987697601318, 4.274945259094238, 4.274902820587158, 4.274860382080078, 4.274817943572998, 4.274775505065918, 4.274733066558838, 4.274690628051758, 4.274648189544678, 4.2746052742004395, 4.274562835693359, 4.274520397186279, 4.274477958679199, 4.274435520172119, 4.274392604827881, 4.274350166320801, 4.274307727813721, 4.274264812469482, 4.274222373962402, 4.274179935455322, 4.274137020111084, 4.274094581604004, 4.274052143096924, 4.2740092277526855, 4.2739667892456055, 4.273923873901367, 4.273881435394287, 4.273838520050049, 4.273796081542969, 4.2737531661987305, 4.27371072769165, 4.273667812347412, 4.273625373840332, 4.273582458496094, 4.273540019989014, 4.273497104644775, 4.273454189300537, 4.273411750793457, 4.273368835449219, 4.2733259201049805, 4.273283004760742, 4.273240566253662, 4.273197650909424, 4.2731547355651855, 4.273111820220947, 4.273069381713867, 4.273026466369629, 4.272983551025391, 4.272940635681152, 4.272897720336914, 4.272854804992676, 4.2728118896484375, 4.272768974304199, 4.272726535797119, 4.272683620452881, 4.272640705108643, 4.272597789764404, 4.272554874420166, 4.2725114822387695, 4.272468566894531, 4.272425651550293, 4.272382736206055, 4.272339820861816, 4.272296905517578, 4.27225399017334, 4.272211074829102, 4.272168159484863, 4.272124767303467, 4.2720818519592285, 4.27203893661499, 4.271996021270752, 4.2719526290893555, 4.271909713745117, 4.271866798400879, 4.271823406219482, 4.271780490875244, 4.271737575531006, 4.271694183349609, 4.271651268005371, 4.271607875823975, 4.271564960479736, 4.271522045135498, 4.271478652954102, 4.271435737609863, 4.271392345428467, 4.27134895324707, 4.271306037902832, 4.2712626457214355, 4.271219730377197, 4.271176338195801, 4.2711334228515625, 4.271090030670166, 4.2710466384887695, 4.271003723144531, 4.270960330963135, 4.270916938781738, 4.270873546600342, 4.2708306312561035, 4.270787239074707, 4.2707438468933105, 4.270700454711914, 4.270657062530518, 4.270614147186279, 4.270570755004883, 4.270527362823486, 4.27048397064209, 4.270440578460693, 4.270397186279297, 4.2703537940979, 4.270310401916504, 4.270267009735107, 4.270223617553711, 4.2701802253723145, 4.270136833190918, 4.2700934410095215, 4.270050048828125, 4.2700066566467285, 4.269963264465332, 4.2699198722839355, 4.269876003265381, 4.269832611083984, 4.269789218902588, 4.269745826721191, 4.269702434539795, 4.26965856552124, 4.269615173339844, 4.269571781158447, 4.269527912139893, 4.269484519958496, 4.2694411277771, 4.269397258758545, 4.269353866577148, 4.269310474395752, 4.269266605377197, 4.269223213195801, 4.269179344177246, 4.26913595199585, 4.269092082977295, 4.269048690795898, 4.269004821777344, 4.268961429595947, 4.268917560577393, 4.268874168395996, 4.268830299377441, 4.268786430358887, 4.26874303817749, 4.2686991691589355, 4.268655300140381, 4.268611907958984, 4.26856803894043, 4.268524169921875, 4.26848030090332, 4.268436908721924, 4.268393039703369, 4.2683491706848145, 4.26830530166626, 4.268261432647705, 4.26821756362915, 4.268174171447754, 4.268130302429199, 4.2680864334106445, 4.26804256439209, 4.267998695373535, 4.2679548263549805, 4.267910957336426, 4.267867088317871, 4.267823219299316, 4.267779350280762, 4.267735481262207, 4.267691612243652, 4.2676472663879395, 4.267603397369385, 4.26755952835083, 4.267515659332275, 4.267471790313721, 4.267427921295166, 4.267383575439453, 4.267339706420898, 4.267295837402344, 4.267251968383789, 4.267207622528076, 4.2671637535095215, 4.267119884490967, 4.267075538635254, 4.267031669616699, 4.266987323760986, 4.266943454742432, 4.266899585723877, 4.266855239868164, 4.266811370849609, 4.2667670249938965, 4.266723155975342, 4.266678810119629, 4.266634941101074, 4.266590595245361, 4.266546249389648, 4.266502380371094, 4.266458034515381, 4.266413688659668, 4.266369819641113, 4.2663254737854, 4.2662811279296875, 4.266237258911133, 4.26619291305542, 4.266148567199707, 4.266104221343994, 4.2660603523254395, 4.266016006469727, 4.265971660614014, 4.265927314758301, 4.265882968902588, 4.265838623046875, 4.265794277191162, 4.265749931335449, 4.265705585479736, 4.265661239624023, 4.2656168937683105, 4.265572547912598, 4.265528202056885, 4.265483856201172, 4.265439510345459, 4.265395164489746, 4.265350818634033, 4.26530647277832, 4.265262126922607, 4.2652177810668945, 4.265172958374023, 4.2651286125183105, 4.265084266662598, 4.265039920806885, 4.264995574951172, 4.264950752258301, 4.264906406402588, 4.264862060546875, 4.264817237854004, 4.264772891998291, 4.264728546142578, 4.264683723449707, 4.264639377593994, 4.264594554901123, 4.26455020904541, 4.264505386352539, 4.264461040496826, 4.264416217803955, 4.264371871948242, 4.264327049255371, 4.264282703399658, 4.264237880706787, 4.264193058013916, 4.264148712158203, 4.264103889465332, 4.264059066772461, 4.264014720916748, 4.263969898223877, 4.263925075531006, 4.263880729675293, 4.263835906982422, 4.263791084289551, 4.26374626159668, 4.263701438903809, 4.2636566162109375, 4.263612270355225, 4.2635674476623535, 4.263522624969482, 4.263477802276611, 4.26343297958374, 4.263388156890869, 4.263343334197998, 4.263298511505127, 4.263253688812256, 4.263208866119385, 4.263164043426514, 4.263119220733643, 4.2630743980407715, 4.263029098510742, 4.262984275817871, 4.262939453125, 4.262894630432129, 4.262849807739258, 4.262804985046387, 4.262759685516357, 4.262714862823486, 4.262670040130615, 4.262624740600586, 4.262579917907715, 4.262535095214844, 4.2624897956848145, 4.262444972991943, 4.262400150299072, 4.262354850769043, 4.262310028076172, 4.262264728546143, 4.2622199058532715, 4.262174606323242, 4.262129783630371, 4.262084484100342, 4.262039661407471, 4.261994361877441, 4.261949062347412, 4.261904239654541, 4.261858940124512, 4.261813640594482, 4.261768817901611, 4.261723518371582, 4.261678218841553, 4.261633396148682, 4.261588096618652, 4.261542797088623, 4.261497497558594, 4.2614521980285645, 4.261407375335693, 4.261362075805664, 4.261316776275635, 4.2612714767456055, 4.261226177215576, 4.261180877685547, 4.261135578155518, 4.261090278625488, 4.261044979095459, 4.26099967956543, 4.2609543800354, 4.260909080505371, 4.260863780975342, 4.2608184814453125, 4.260773181915283, 4.260727882385254, 4.260682106018066, 4.260636806488037, 4.260591506958008, 4.2605462074279785, 4.260500431060791, 4.260455131530762, 4.260409832000732, 4.260364532470703, 4.260318756103516, 4.260273456573486, 4.260228157043457, 4.2601823806762695, 4.26013708114624, 4.260091304779053, 4.260046005249023, 4.260000228881836, 4.259954929351807, 4.259909152984619, 4.25986385345459, 4.259818077087402, 4.259772777557373, 4.2597270011901855, 4.259681701660156, 4.259635925292969, 4.259590148925781, 4.259544849395752, 4.2594990730285645, 4.259453296661377, 4.2594075202941895, 4.25936222076416, 4.259316444396973, 4.259270668029785, 4.259224891662598, 4.25917911529541, 4.259133815765381, 4.259088039398193, 4.259042263031006, 4.258996486663818, 4.258950710296631, 4.258904933929443, 4.258859157562256, 4.258813381195068, 4.258767604827881, 4.258721828460693, 4.258676052093506, 4.258630275726318, 4.258584499359131, 4.258538722991943, 4.258492469787598, 4.25844669342041, 4.258400917053223, 4.258355140686035, 4.258309364318848, 4.258263111114502, 4.2582173347473145, 4.258171558380127, 4.2581257820129395, 4.258079528808594, 4.258033752441406, 4.2579874992370605, 4.257941722869873, 4.2578959465026855, 4.25784969329834, 4.257803916931152, 4.257757663726807, 4.257711887359619, 4.257665634155273, 4.257619857788086, 4.25757360458374, 4.257527828216553, 4.257481575012207, 4.257435321807861, 4.257389545440674, 4.257343292236328, 4.257297039031982, 4.257251262664795, 4.257205009460449, 4.2571587562561035, 4.257112503051758, 4.25706672668457, 4.257020473480225, 4.256974220275879, 4.256927967071533, 4.2568817138671875, 4.256835460662842, 4.256789207458496, 4.256743431091309, 4.256697177886963, 4.256650924682617, 4.2566046714782715, 4.256558418273926, 4.25651216506958, 4.256465911865234, 4.2564191818237305, 4.256372928619385, 4.256326675415039, 4.256280422210693, 4.256234169006348, 4.256187915802002, 4.256141185760498, 4.256094932556152, 4.256048679351807, 4.256002426147461, 4.255955696105957, 4.255909442901611, 4.255863189697266, 4.255816459655762, 4.255770206451416, 4.25572395324707, 4.255677223205566, 4.255630970001221, 4.255584239959717, 4.255537986755371, 4.255491256713867, 4.2554450035095215, 4.255398273468018, 4.255352020263672, 4.255305290222168, 4.255259037017822, 4.255212306976318, 4.2551655769348145, 4.255119323730469, 4.255072593688965, 4.255025863647461, 4.254979133605957, 4.254932880401611, 4.254886150360107, 4.2548394203186035, 4.2547926902771, 4.254745960235596, 4.25469970703125, 4.254652976989746, 4.254606246948242, 4.254559516906738, 4.254512786865234, 4.2544660568237305, 4.254419326782227, 4.254372596740723, 4.254325866699219, 4.254279136657715, 4.254232406616211, 4.254185676574707, 4.254138946533203, 4.254091739654541, 4.254045009613037, 4.253998279571533, 4.253951549530029, 4.253904819488525, 4.253857612609863, 4.253810882568359, 4.2537641525268555, 4.253716945648193, 4.2536702156066895, 4.2536234855651855, 4.253576278686523, 4.2535295486450195, 4.253482818603516, 4.2534356117248535, 4.25338888168335, 4.2533416748046875, 4.253294944763184, 4.2532477378845215, 4.253201007843018, 4.2531538009643555, 4.253106594085693, 4.2530598640441895, 4.253012657165527, 4.252965927124023, 4.252918720245361, 4.252871513366699, 4.252824306488037, 4.252777576446533, 4.252730369567871, 4.252683162689209, 4.252635955810547, 4.252588748931885, 4.252542018890381, 4.252494812011719, 4.252447605133057, 4.2524003982543945, 4.252353191375732, 4.25230598449707, 4.252258777618408, 4.252211570739746, 4.252164363861084, 4.252117156982422, 4.25206995010376, 4.252022743225098, 4.2519755363464355, 4.251928329467773, 4.251880645751953, 4.251833438873291, 4.251786231994629, 4.251739025115967, 4.251691818237305, 4.251644134521484, 4.251596927642822, 4.25154972076416, 4.25150203704834, 4.251454830169678, 4.251407623291016, 4.251359939575195, 4.251312732696533, 4.251265048980713, 4.251217842102051, 4.2511701583862305, 4.251122951507568, 4.251075267791748, 4.251028060913086, 4.250980377197266, 4.2509331703186035, 4.250885486602783, 4.250837802886963, 4.250790596008301, 4.2507429122924805, 4.25069522857666, 4.250648021697998, 4.250600337982178, 4.250552654266357, 4.250504970550537, 4.250457286834717, 4.250410079956055, 4.250362396240234, 4.250314712524414, 4.250267028808594, 4.250219345092773, 4.250171661376953, 4.250123977661133, 4.2500762939453125, 4.250028610229492, 4.249980926513672, 4.249933242797852, 4.249885559082031, 4.249837875366211, 4.249790191650391, 4.249742031097412, 4.249694347381592, 4.2496466636657715, 4.249598979949951, 4.249551296234131, 4.249503135681152, 4.249455451965332, 4.249407768249512, 4.249359607696533, 4.249311923980713, 4.249264240264893, 4.249216079711914, 4.249168395996094, 4.249120235443115, 4.249072551727295, 4.249024391174316, 4.248976707458496, 4.248928546905518, 4.248880863189697, 4.248832702636719, 4.248785018920898, 4.24873685836792, 4.248688697814941, 4.248641014099121, 4.248592853546143, 4.248544692993164, 4.248497009277344, 4.248448848724365, 4.248400688171387, 4.248352527618408, 4.24830436706543, 4.248256683349609, 4.248208522796631, 4.248160362243652, 4.248112201690674, 4.248064041137695, 4.248015880584717, 4.247967720031738, 4.24791955947876, 4.247871398925781, 4.247823238372803, 4.247775077819824, 4.247726917266846, 4.247678756713867, 4.2476301193237305, 4.247581958770752, 4.247533798217773, 4.247485637664795, 4.247437477111816, 4.24738883972168, 4.247340679168701, 4.247292518615723, 4.247243881225586, 4.247195720672607, 4.247147560119629, 4.247098922729492, 4.247050762176514, 4.247002124786377, 4.246953964233398, 4.246905326843262, 4.246857166290283, 4.2468085289001465, 4.246760368347168, 4.246711730957031, 4.246663570404053, 4.246614933013916, 4.246566295623779, 4.246518135070801, 4.246469497680664, 4.246420860290527, 4.246372699737549, 4.246324062347412, 4.246275424957275, 4.246226787567139, 4.246178150177002, 4.246129989624023, 4.246081352233887, 4.24603271484375, 4.245984077453613, 4.245935440063477, 4.24588680267334, 4.245838165283203, 4.245789527893066, 4.24574089050293, 4.245692253112793, 4.245643615722656, 4.2455949783325195, 4.245546340942383, 4.245497226715088, 4.245448589324951, 4.2453999519348145, 4.245351314544678, 4.245302677154541, 4.245253562927246, 4.245204925537109, 4.245156288146973, 4.245107173919678, 4.245058536529541, 4.245009899139404, 4.244960784912109, 4.244912147521973, 4.244863033294678, 4.244814395904541, 4.244765281677246, 4.244716644287109, 4.2446675300598145, 4.244618892669678, 4.244569778442383, 4.244520664215088, 4.244472026824951, 4.244422912597656, 4.244373798370361, 4.244325160980225, 4.24427604675293, 4.244226932525635, 4.24417781829834, 4.244129180908203, 4.244080066680908, 4.244030952453613, 4.243981838226318, 4.243932723999023, 4.2438836097717285, 4.243834495544434, 4.243785381317139, 4.243736267089844, 4.243687152862549, 4.243638038635254, 4.243588924407959, 4.243539810180664, 4.243490695953369, 4.243441581726074, 4.243392467498779, 4.243342876434326, 4.243293762207031, 4.243244647979736, 4.243195533752441, 4.243145942687988, 4.243096828460693, 4.243047714233398, 4.242998123168945, 4.24294900894165, 4.2428998947143555, 4.242850303649902, 4.242801189422607, 4.242751598358154, 4.242702484130859, 4.242652893066406, 4.242603778839111, 4.242554187774658, 4.242505073547363, 4.24245548248291, 4.242405891418457, 4.242356777191162, 4.242307186126709, 4.242257595062256, 4.242208480834961, 4.242158889770508, 4.242109298706055, 4.242059707641602, 4.242010116577148, 4.2419610023498535, 4.2419114112854, 4.241861820220947, 4.241812229156494, 4.241762638092041, 4.241713047027588, 4.241663455963135, 4.241613864898682, 4.2415642738342285, 4.241514682769775, 4.241465091705322, 4.241415500640869, 4.241365432739258, 4.241315841674805, 4.241266250610352, 4.241216659545898, 4.241167068481445, 4.241117000579834, 4.241067409515381, 4.241017818450928, 4.240967750549316, 4.240918159484863, 4.24086856842041, 4.240818500518799, 4.240768909454346, 4.240718841552734, 4.240669250488281, 4.24061918258667, 4.240569591522217, 4.2405195236206055, 4.240469932556152, 4.240419864654541, 4.240370273590088, 4.240320205688477, 4.240270137786865, 4.240220546722412, 4.240170478820801, 4.2401204109191895, 4.240070343017578, 4.240020751953125, 4.239970684051514, 4.239920616149902, 4.239870548248291, 4.23982048034668, 4.239770412445068, 4.239720344543457, 4.239670276641846, 4.239620208740234, 4.239570140838623, 4.239520072937012, 4.2394700050354, 4.239419937133789, 4.239369869232178, 4.239319801330566, 4.239269733428955, 4.239219665527344, 4.239169120788574, 4.239119052886963, 4.239068984985352, 4.23901891708374, 4.238968372344971, 4.238918304443359, 4.238868236541748, 4.2388176918029785, 4.238767623901367, 4.238717079162598, 4.238667011260986, 4.238616466522217, 4.2385663986206055, 4.238515853881836, 4.238465785980225, 4.238415241241455, 4.238365173339844, 4.238314628601074, 4.238264083862305, 4.238214015960693, 4.238163471221924, 4.238112926483154, 4.238062381744385, 4.238012313842773, 4.237961769104004, 4.237911224365234, 4.237860679626465, 4.237810134887695, 4.237759590148926, 4.237709045410156, 4.237658977508545, 4.237608432769775, 4.237557888031006, 4.237507343292236, 4.237456321716309, 4.237405776977539, 4.2373552322387695, 4.2373046875, 4.2372541427612305, 4.237203598022461, 4.237153053283691, 4.237102031707764, 4.237051486968994, 4.237000942230225, 4.236950397491455, 4.236899375915527, 4.236848831176758, 4.236798286437988, 4.2367472648620605, 4.236696720123291, 4.236645698547363, 4.236595153808594, 4.236544132232666, 4.2364935874938965, 4.236442565917969, 4.236392021179199, 4.2363409996032715, 4.236289978027344, 4.236239433288574, 4.2361884117126465, 4.236137390136719, 4.236086845397949, 4.2360358238220215, 4.235984802246094, 4.235933780670166, 4.235882759094238, 4.235832214355469, 4.235781192779541, 4.235730171203613, 4.2356791496276855, 4.235628128051758, 4.23557710647583, 4.235526084899902, 4.235475063323975, 4.235424041748047, 4.235373020172119, 4.235321998596191, 4.2352705001831055, 4.235219478607178, 4.23516845703125, 4.235117435455322, 4.2350664138793945, 4.235014915466309, 4.234963893890381, 4.234912872314453, 4.234861373901367, 4.2348103523254395, 4.234759330749512, 4.234707832336426, 4.234656810760498, 4.234605312347412, 4.234554290771484, 4.234502792358398, 4.234451770782471, 4.234400272369385, 4.234349250793457, 4.234297752380371, 4.234246253967285, 4.234195232391357, 4.2341437339782715, 4.2340922355651855, 4.234041213989258, 4.233989715576172, 4.233938217163086, 4.23388671875, 4.233835220336914, 4.233783721923828, 4.2337327003479, 4.2336812019348145, 4.2336297035217285, 4.233578205108643, 4.233526706695557, 4.233475208282471, 4.233423709869385, 4.233371734619141, 4.233320236206055, 4.233268737792969, 4.233217239379883, 4.233165740966797, 4.233114242553711, 4.233062267303467, 4.233010768890381, 4.232959270477295, 4.232907772064209, 4.232855796813965, 4.232804298400879, 4.232752323150635, 4.232700824737549, 4.232649326324463, 4.232597351074219, 4.232545852661133, 4.232493877410889, 4.232442378997803, 4.232390403747559, 4.2323384284973145, 4.2322869300842285, 4.232234954833984, 4.23218297958374, 4.232131481170654, 4.23207950592041, 4.232027530670166, 4.231975555419922, 4.231924057006836, 4.231872081756592, 4.231820106506348, 4.2317681312561035, 4.231716156005859, 4.231664180755615, 4.231612205505371, 4.231560230255127, 4.231508255004883, 4.231456279754639, 4.2314043045043945, 4.23135232925415, 4.231300354003906, 4.231248378753662, 4.23119592666626, 4.231143951416016, 4.2310919761657715, 4.231040000915527, 4.230987548828125, 4.230935573577881, 4.230883598327637, 4.230831146240234, 4.23077917098999, 4.230727195739746, 4.230674743652344, 4.2306227684021, 4.230570316314697, 4.230518341064453, 4.230465888977051, 4.230413436889648, 4.230361461639404, 4.230309009552002, 4.230257034301758, 4.2302045822143555, 4.230152130126953, 4.230099678039551, 4.230047702789307, 4.229995250701904, 4.229942798614502, 4.2298903465271, 4.229837894439697, 4.229785442352295, 4.229732990264893, 4.229681015014648, 4.229628562927246, 4.229576110839844, 4.229523181915283, 4.229470729827881, 4.2294182777404785, 4.229365825653076, 4.229313373565674, 4.2292609214782715, 4.229208469390869, 4.229155540466309, 4.229103088378906, 4.229050636291504, 4.228998184204102, 4.228945255279541, 4.228892803192139, 4.228840351104736, 4.228787422180176, 4.228734970092773, 4.228682041168213, 4.2286295890808105, 4.22857666015625, 4.228524208068848, 4.228471279144287, 4.228418827056885, 4.228365898132324, 4.228312969207764, 4.228260517120361, 4.228207588195801, 4.22815465927124, 4.22810173034668, 4.228049278259277, 4.227996349334717, 4.227943420410156, 4.227890491485596, 4.227837562561035, 4.227784633636475, 4.227731704711914, 4.2276787757873535, 4.227625846862793, 4.227572917938232, 4.227519989013672, 4.227467060089111, 4.227414131164551, 4.22736120223999, 4.22730827331543, 4.227254867553711, 4.22720193862915, 4.22714900970459, 4.227096080780029, 4.2270426750183105, 4.22698974609375, 4.2269368171691895, 4.226883411407471, 4.22683048248291, 4.226777076721191, 4.226724147796631, 4.226670742034912, 4.226617813110352, 4.226564407348633, 4.226511478424072, 4.2264580726623535, 4.226405143737793, 4.226351737976074, 4.2262983322143555, 4.226244926452637, 4.226191997528076, 4.226138591766357, 4.226085186004639, 4.22603178024292, 4.225978374481201, 4.225925445556641, 4.225872039794922, 4.225818634033203, 4.225765228271484, 4.225711822509766, 4.225658416748047, 4.225605010986328, 4.225551605224609, 4.225497722625732, 4.225444316864014, 4.225390911102295, 4.225337505340576, 4.225284099578857, 4.2252302169799805, 4.225176811218262, 4.225123405456543, 4.225069999694824, 4.225016117095947, 4.2249627113342285, 4.224908828735352, 4.224855422973633, 4.224801540374756, 4.224748134613037, 4.22469425201416, 4.224640846252441, 4.2245869636535645, 4.224533557891846, 4.224479675292969, 4.224425792694092, 4.224372386932373, 4.224318504333496, 4.224264621734619, 4.224210739135742, 4.224157333374023, 4.2241034507751465, 4.2240495681762695, 4.223995685577393, 4.223941802978516, 4.223887920379639, 4.223834037780762, 4.223780155181885, 4.223726272583008, 4.223672389984131, 4.223618507385254, 4.223564624786377, 4.2235107421875, 4.223456382751465, 4.223402500152588, 4.223348617553711, 4.223294734954834, 4.223240852355957, 4.223186492919922, 4.223132610321045, 4.22307825088501, 4.223024368286133, 4.222970485687256, 4.222916126251221, 4.222862243652344, 4.222807884216309, 4.222754001617432, 4.2226996421813965, 4.222645282745361, 4.222591400146484, 4.222537040710449, 4.222482681274414, 4.222428798675537, 4.222374439239502, 4.222320079803467, 4.222265720367432, 4.222211837768555, 4.2221574783325195, 4.222103118896484, 4.222048759460449, 4.221994400024414, 4.221940040588379, 4.221885681152344, 4.221831321716309, 4.221776962280273, 4.221722602844238, 4.221668243408203, 4.221613883972168, 4.221559047698975, 4.2215046882629395, 4.221450328826904, 4.221395969390869, 4.221341133117676, 4.221286773681641, 4.2212324142456055, 4.221177577972412, 4.221123218536377, 4.221068382263184, 4.221014022827148, 4.220959663391113, 4.22090482711792, 4.220849990844727, 4.220795631408691, 4.220740795135498, 4.220686435699463, 4.2206315994262695, 4.220576763153076, 4.220521926879883, 4.220467567443848, 4.220412731170654, 4.220357894897461, 4.220303058624268, 4.220248222351074, 4.220193862915039, 4.220139026641846, 4.220084190368652, 4.220029354095459, 4.219974517822266, 4.219919681549072, 4.219864368438721, 4.219809532165527, 4.219754695892334, 4.219699859619141, 4.219645023345947, 4.219590187072754, 4.219534873962402, 4.219480037689209, 4.219425201416016, 4.219369888305664, 4.219315052032471, 4.219260215759277, 4.219204902648926, 4.219150066375732, 4.219094753265381, 4.2190399169921875, 4.218984603881836, 4.218929767608643, 4.218874454498291, 4.2188191413879395, 4.218764305114746, 4.2187089920043945, 4.218653678894043, 4.21859884262085, 4.218543529510498, 4.2184882164001465, 4.218432903289795, 4.218377590179443, 4.218322277069092, 4.21826696395874, 4.218211650848389, 4.218156814575195, 4.2181010246276855, 4.218045711517334, 4.217990398406982, 4.217935085296631, 4.217879772186279, 4.217824459075928, 4.217769145965576, 4.217713832855225, 4.217658042907715, 4.217602729797363, 4.217547416687012, 4.217491626739502, 4.21743631362915, 4.217380523681641, 4.217325210571289, 4.2172698974609375, 4.217214107513428, 4.217158794403076, 4.217103004455566, 4.217047214508057, 4.216991901397705, 4.216936111450195, 4.2168803215026855, 4.216825008392334, 4.216769218444824, 4.2167134284973145, 4.216657638549805, 4.216602325439453, 4.216546535491943, 4.216490745544434, 4.216434955596924, 4.216379165649414, 4.216323375701904, 4.2162675857543945, 4.216211795806885, 4.216156005859375, 4.216100215911865, 4.2160444259643555, 4.2159881591796875, 4.215932369232178, 4.215876579284668, 4.215820789337158, 4.215764999389648, 4.2157087326049805, 4.215652942657471, 4.215597152709961, 4.215540885925293, 4.215485095977783, 4.215428829193115, 4.2153730392456055, 4.2153167724609375, 4.215260982513428, 4.21520471572876, 4.215148448944092, 4.215092658996582, 4.215036392211914, 4.214980125427246, 4.214924335479736, 4.214868068695068, 4.2148118019104, 4.214755535125732, 4.2146992683410645, 4.2146430015563965, 4.214587211608887, 4.214530944824219, 4.214474678039551, 4.214418411254883, 4.214362144470215, 4.214305400848389, 4.214249134063721, 4.214192867279053, 4.214136600494385, 4.214080333709717, 4.214024066925049, 4.213967323303223, 4.213911056518555, 4.213854789733887, 4.2137980461120605, 4.213741779327393, 4.213685512542725, 4.213628768920898, 4.2135725021362305, 4.213515758514404, 4.213459491729736, 4.21340274810791, 4.213346004486084, 4.213289737701416, 4.21323299407959, 4.213176250457764, 4.213119983673096, 4.2130632400512695, 4.213006496429443, 4.212949752807617, 4.212893009185791, 4.212836742401123, 4.212779998779297, 4.212723255157471, 4.2126665115356445, 4.212609767913818, 4.212553024291992, 4.212496280670166, 4.212439060211182, 4.2123823165893555, 4.212325572967529, 4.212268829345703, 4.212212085723877, 4.212155342102051, 4.212098121643066, 4.21204137802124, 4.211984634399414, 4.21192741394043, 4.2118706703186035, 4.211813449859619, 4.211756706237793, 4.211699485778809, 4.211642742156982, 4.211585521697998, 4.211528778076172, 4.2114715576171875, 4.211414337158203, 4.211357593536377, 4.211300373077393, 4.211243152618408, 4.211185932159424, 4.2111287117004395, 4.211071968078613, 4.211014747619629, 4.2109575271606445, 4.21090030670166, 4.210843086242676, 4.210785865783691, 4.210728645324707, 4.210671424865723, 4.210614204406738, 4.210556507110596, 4.210499286651611, 4.210442066192627, 4.210384845733643, 4.210327625274658, 4.210269927978516, 4.210212707519531, 4.210155487060547, 4.210097789764404, 4.21004056930542, 4.209982872009277, 4.209925651550293, 4.20986795425415, 4.209810733795166, 4.209753036499023, 4.209695339202881, 4.2096381187438965, 4.209580421447754, 4.209522724151611, 4.209465503692627, 4.209407806396484, 4.209350109100342, 4.209292411804199, 4.209234714508057, 4.209177017211914, 4.2091193199157715, 4.209061622619629, 4.209003925323486, 4.208946228027344, 4.208888530731201, 4.208830833435059, 4.208773136138916, 4.208715438842773, 4.208657741546631, 4.20859956741333, 4.2085418701171875, 4.208484172821045, 4.208426475524902, 4.208368301391602, 4.208310604095459, 4.208252429962158, 4.208194732666016, 4.208136558532715, 4.208078861236572, 4.2080206871032715, 4.207962989807129, 4.207904815673828, 4.207846641540527, 4.207788944244385, 4.207730770111084, 4.207672595977783, 4.207614421844482, 4.20755672454834, 4.207498550415039, 4.207440376281738, 4.2073822021484375, 4.207324028015137, 4.207265853881836, 4.207207679748535, 4.207149505615234, 4.207091331481934, 4.207033157348633, 4.206974983215332, 4.206916332244873, 4.206858158111572, 4.2067999839782715, 4.206741809844971, 4.206683158874512, 4.206624984741211, 4.20656681060791, 4.206508159637451, 4.20644998550415, 4.206391334533691, 4.206333160400391, 4.206274509429932, 4.206216335296631, 4.206157684326172, 4.206099033355713, 4.206040859222412, 4.205982208251953, 4.205923557281494, 4.205864906311035, 4.205806732177734, 4.205748081207275, 4.205689430236816, 4.205630779266357, 4.205572128295898, 4.2055134773254395, 4.2054548263549805, 4.2053961753845215, 4.2053375244140625, 4.2052788734436035, 4.2052202224731445, 4.2051615715026855, 4.205102443695068, 4.205043792724609, 4.20498514175415, 4.204926013946533, 4.204867362976074, 4.204808712005615, 4.204749584197998, 4.204690933227539, 4.204631805419922, 4.204573154449463, 4.204514026641846, 4.204455375671387, 4.2043962478637695, 4.2043375968933105, 4.204278469085693, 4.204219341278076, 4.204160213470459, 4.2041015625, 4.204042434692383, 4.203983306884766, 4.203924179077148, 4.203865051269531, 4.203805923461914, 4.203746795654297, 4.20368766784668, 4.2036285400390625, 4.203569412231445, 4.203510284423828, 4.203451156616211, 4.203392028808594, 4.203332424163818, 4.203273296356201, 4.203214168548584, 4.203154563903809, 4.203095436096191, 4.203036308288574, 4.202976703643799, 4.202917575836182, 4.202857971191406, 4.202798843383789, 4.202739238739014, 4.2026801109313965, 4.202620506286621, 4.202560901641846, 4.2025017738342285, 4.202442169189453, 4.202382564544678, 4.202322959899902, 4.202263355255127, 4.20220422744751, 4.202144622802734, 4.202085018157959, 4.202025413513184, 4.201965808868408, 4.201906204223633, 4.201846599578857, 4.201786994934082, 4.201726913452148, 4.201667308807373, 4.201607704162598, 4.201548099517822, 4.201488018035889, 4.201428413391113, 4.201368808746338, 4.201308727264404, 4.201249122619629, 4.201189041137695, 4.20112943649292, 4.201069355010986, 4.201009750366211, 4.200949668884277, 4.200890064239502, 4.200829982757568, 4.200769901275635, 4.200710296630859, 4.200650215148926, 4.200590133666992, 4.200530052185059, 4.200469970703125, 4.200409889221191, 4.200349807739258, 4.200289726257324, 4.200229644775391, 4.200169563293457, 4.200109481811523, 4.20004940032959, 4.199989318847656, 4.199929237365723, 4.199869155883789, 4.199808597564697, 4.199748516082764, 4.19968843460083, 4.199627876281738, 4.199567794799805, 4.199507236480713, 4.199447154998779, 4.1993865966796875, 4.199326515197754, 4.199265956878662, 4.1992058753967285, 4.199145317077637, 4.199084758758545, 4.199024677276611, 4.1989641189575195, 4.198903560638428, 4.198843002319336, 4.198782444000244, 4.1987223625183105, 4.198661804199219, 4.198601245880127, 4.198540687561035, 4.198480129241943, 4.198419570922852, 4.198358535766602, 4.19829797744751, 4.198237419128418, 4.198176860809326, 4.198116302490234, 4.198055267333984, 4.197994709014893, 4.197934150695801, 4.197873115539551, 4.197812557220459, 4.197751522064209, 4.197690963745117, 4.197629928588867, 4.197569370269775, 4.197508335113525, 4.197447776794434, 4.197386741638184, 4.197325706481934, 4.197264671325684, 4.197204113006592, 4.197143077850342, 4.197082042694092, 4.197021007537842, 4.196959972381592, 4.196898937225342, 4.196837902069092, 4.196776866912842, 4.196715831756592, 4.196654796600342, 4.196593761444092, 4.196532726287842, 4.196471214294434, 4.196410179138184, 4.196349143981934, 4.196287631988525, 4.196226596832275, 4.196165561676025, 4.196104049682617, 4.196043014526367, 4.195981502532959, 4.195920467376709, 4.195858955383301, 4.195797920227051, 4.195736408233643, 4.195674896240234, 4.195613384246826, 4.195552349090576, 4.195490837097168, 4.19542932510376, 4.195367813110352, 4.195306301116943, 4.195244789123535, 4.195183277130127, 4.195121765136719, 4.1950602531433105, 4.194998741149902, 4.194937229156494, 4.194875717163086, 4.194814205169678, 4.194752216339111, 4.194690704345703, 4.194629192352295, 4.194567680358887, 4.19450569152832, 4.194444179534912, 4.194382190704346, 4.1943206787109375, 4.194258689880371, 4.194197177886963, 4.1941351890563965, 4.19407320022583, 4.194011688232422, 4.1939496994018555, 4.193887710571289, 4.193825721740723, 4.1937642097473145, 4.193702220916748, 4.193640232086182, 4.193578243255615, 4.193516254425049, 4.193454265594482, 4.193392276763916, 4.19333028793335, 4.193268299102783, 4.193205833435059, 4.193143844604492, 4.193081855773926, 4.193019866943359, 4.192957401275635, 4.192895412445068, 4.192833423614502, 4.192770957946777, 4.192708969116211, 4.192646503448486, 4.19258451461792, 4.192522048950195, 4.192460060119629, 4.192397594451904, 4.19233512878418, 4.192273139953613, 4.192210674285889, 4.192148208618164, 4.1920857429504395, 4.192023277282715, 4.19196081161499, 4.191898345947266, 4.191835880279541, 4.191773414611816, 4.191710948944092, 4.191648483276367, 4.191586017608643, 4.191523551940918, 4.191461086273193, 4.1913981437683105, 4.191335678100586, 4.191273212432861, 4.1912102699279785, 4.191147804260254, 4.191085338592529, 4.1910223960876465, 4.190959930419922, 4.190896987915039, 4.190834045410156, 4.190771579742432, 4.190708637237549, 4.190645694732666, 4.190583229064941, 4.190520286560059, 4.190457344055176, 4.190394401550293, 4.19033145904541, 4.190268516540527, 4.1902055740356445, 4.190142631530762, 4.190079689025879, 4.190016746520996, 4.189953804016113, 4.1898908615112305, 4.189827919006348, 4.189764499664307, 4.189701557159424, 4.189638614654541, 4.189575672149658, 4.189512252807617, 4.189449310302734, 4.189385890960693, 4.1893229484558105, 4.1892595291137695, 4.189196586608887, 4.189133167266846, 4.189069747924805, 4.189006805419922, 4.188943386077881, 4.18887996673584, 4.188816547393799, 4.188753128051758, 4.188689708709717, 4.188626289367676, 4.188563346862793, 4.188499450683594, 4.188436031341553, 4.188372611999512, 4.188309192657471, 4.18824577331543, 4.188182353973389, 4.188118934631348, 4.188055038452148, 4.187991619110107, 4.187928199768066, 4.187864303588867, 4.187800884246826, 4.187736988067627, 4.187673568725586, 4.187609672546387, 4.187546253204346, 4.1874823570251465, 4.187418460845947, 4.187355041503906, 4.187291145324707, 4.187227249145508, 4.187163352966309, 4.187099456787109, 4.18703556060791, 4.186971664428711, 4.186907768249512, 4.1868438720703125, 4.186779975891113, 4.186716079711914, 4.186652183532715, 4.186588287353516, 4.186524391174316, 4.186460018157959, 4.18639612197876, 4.1863322257995605, 4.186267852783203, 4.186203956604004, 4.1861395835876465, 4.186075687408447, 4.18601131439209, 4.185947418212891, 4.185883045196533, 4.185818672180176, 4.185754776000977, 4.185690402984619, 4.185626029968262, 4.185561656951904, 4.185497283935547, 4.185433387756348, 4.18536901473999, 4.185304641723633, 4.185240268707275, 4.185175895690918, 4.185111045837402, 4.185046672821045, 4.1849822998046875, 4.18491792678833, 4.184853553771973, 4.184788703918457, 4.1847243309021, 4.184659957885742, 4.184595108032227, 4.184530735015869, 4.1844658851623535, 4.184401512145996, 4.1843366622924805, 4.184271812438965, 4.184207439422607, 4.184142589569092, 4.184077739715576, 4.1840128898620605, 4.183948516845703, 4.1838836669921875, 4.183818817138672, 4.183753967285156, 4.183689117431641, 4.183624267578125, 4.183559417724609, 4.183494567871094, 4.183429718017578, 4.183364391326904, 4.183299541473389, 4.183234691619873, 4.183169841766357, 4.183104515075684, 4.183039665222168, 4.182974338531494, 4.1829094886779785, 4.182844161987305, 4.182779312133789, 4.182713985443115, 4.182648658752441, 4.182583808898926, 4.182518482208252, 4.182453155517578, 4.182387828826904, 4.182322978973389, 4.182257652282715, 4.182192325592041, 4.182126998901367, 4.182061672210693, 4.1819963455200195, 4.181931018829346, 4.181865692138672, 4.18179988861084, 4.181734561920166, 4.181669235229492, 4.181603908538818, 4.181538105010986, 4.1814727783203125, 4.1814069747924805, 4.181341648101807, 4.181275844573975, 4.181210517883301, 4.181144714355469, 4.181079387664795, 4.181013584136963, 4.180947780609131, 4.180881977081299, 4.180816650390625, 4.180750846862793, 4.180685043334961, 4.180619239807129, 4.180553436279297, 4.180487632751465, 4.180421829223633, 4.180356025695801, 4.180290222167969, 4.180224418640137, 4.1801581382751465, 4.1800923347473145, 4.180026531219482, 4.179960250854492, 4.17989444732666, 4.179828643798828, 4.179762363433838, 4.179696559906006, 4.179630279541016, 4.179564476013184, 4.179498195648193, 4.179431915283203, 4.179365634918213, 4.179299831390381, 4.179233551025391, 4.1791672706604, 4.17910099029541, 4.17903470993042, 4.17896842956543, 4.1789021492004395, 4.178835868835449, 4.178769588470459, 4.178703308105469, 4.1786370277404785, 4.17857027053833, 4.17850399017334, 4.17843770980835, 4.178371429443359, 4.178304672241211, 4.178238391876221, 4.178171634674072, 4.178105354309082, 4.178038597106934, 4.177971839904785, 4.177905559539795, 4.1778388023376465, 4.177772045135498, 4.177705764770508, 4.177639007568359, 4.177572250366211, 4.1775054931640625, 4.177438735961914, 4.177371978759766, 4.177305221557617, 4.177238464355469, 4.17717170715332, 4.177104949951172, 4.177037715911865, 4.176970958709717, 4.176904201507568, 4.176836967468262, 4.176770210266113, 4.176703453063965, 4.176636219024658, 4.17656946182251, 4.176502227783203, 4.176435470581055, 4.176368236541748, 4.176301002502441, 4.176233768463135, 4.176167011260986, 4.17609977722168, 4.176032543182373, 4.175965309143066, 4.17589807510376, 4.175830841064453, 4.1757636070251465, 4.17569637298584, 4.175629138946533, 4.175561904907227, 4.17549467086792, 4.175426959991455, 4.175359725952148, 4.175292491912842, 4.175224781036377, 4.17515754699707, 4.1750898361206055, 4.175022602081299, 4.174954891204834, 4.174887657165527, 4.1748199462890625, 4.174752235412598, 4.174685001373291, 4.174617290496826, 4.174549579620361, 4.1744818687438965, 4.174414157867432, 4.174346446990967, 4.174278736114502, 4.174211025238037, 4.174143314361572, 4.174075603485107, 4.174007892608643, 4.173940181732178, 4.173871994018555, 4.17380428314209, 4.173736572265625, 4.173668384552002, 4.173600673675537, 4.173532485961914, 4.173464775085449, 4.173396587371826, 4.173328876495361, 4.173260688781738, 4.173192501068115, 4.173124313354492, 4.173056602478027, 4.172988414764404, 4.172920227050781, 4.172852039337158, 4.172783851623535, 4.172715663909912, 4.172647476196289, 4.172579288482666, 4.172511100769043, 4.172442436218262, 4.172374248504639, 4.172306060791016, 4.172237396240234, 4.172169208526611, 4.172101020812988, 4.172032356262207, 4.171964168548584, 4.171895503997803, 4.17182731628418, 4.171758651733398, 4.171689987182617, 4.171621322631836, 4.171553134918213, 4.171484470367432, 4.17141580581665, 4.171347141265869, 4.171278476715088, 4.171209812164307, 4.171141147613525, 4.171072483062744, 4.171003818511963, 4.170934677124023, 4.170866012573242, 4.170797348022461, 4.17072868347168, 4.17065954208374, 4.170590877532959, 4.1705217361450195, 4.170453071594238, 4.170383930206299, 4.170315265655518, 4.170246124267578, 4.170176982879639, 4.170108318328857, 4.170039176940918, 4.1699700355529785, 4.169900894165039, 4.1698317527771, 4.16976261138916, 4.169693470001221, 4.169624328613281, 4.169555187225342, 4.169486045837402, 4.169416904449463, 4.169347286224365, 4.169278144836426, 4.169209003448486, 4.169139385223389, 4.169070243835449, 4.169000625610352, 4.168931484222412, 4.1688618659973145, 4.168792724609375, 4.168723106384277, 4.16865348815918, 4.16858434677124, 4.168514728546143, 4.168445110321045, 4.168375492095947, 4.16830587387085, 4.168236255645752, 4.168166637420654, 4.168097019195557, 4.168027400970459, 4.167957782745361, 4.1678876876831055, 4.167818069458008, 4.16774845123291, 4.167678356170654, 4.167608737945557, 4.167539119720459, 4.167469024658203, 4.167398929595947, 4.16732931137085, 4.167259216308594, 4.167189598083496, 4.16711950302124, 4.167049407958984, 4.1669793128967285, 4.166909217834473, 4.166839122772217, 4.166769027709961, 4.166698932647705, 4.166628837585449, 4.166558742523193, 4.1664886474609375, 4.166418552398682, 4.166348457336426, 4.166277885437012, 4.166207790374756, 4.166137218475342, 4.166067123413086, 4.16599702835083, 4.165926456451416, 4.165855884552002, 4.165785789489746, 4.165715217590332, 4.165644645690918, 4.165574550628662, 4.165503978729248, 4.165433406829834, 4.16536283493042, 4.165292263031006, 4.165221691131592, 4.165151119232178, 4.165080547332764, 4.16500997543335, 4.164938926696777, 4.164868354797363, 4.164797782897949, 4.164726734161377, 4.164656162261963, 4.164585590362549, 4.164514541625977, 4.164443492889404, 4.16437292098999, 4.164301872253418, 4.164231300354004, 4.164160251617432, 4.164089202880859, 4.164018154144287, 4.163947105407715, 4.163876056671143, 4.16380500793457, 4.163733959197998, 4.163662910461426, 4.1635918617248535, 4.163520812988281, 4.163449764251709, 4.1633782386779785, 4.163307189941406, 4.163236141204834, 4.1631646156311035, 4.163093566894531, 4.163022041320801, 4.1629509925842285, 4.162879467010498, 4.162807941436768, 4.162736892700195, 4.162665367126465, 4.162593841552734, 4.162522315979004, 4.162450790405273, 4.162379264831543, 4.1623077392578125, 4.162236213684082, 4.162164688110352, 4.162093162536621, 4.162021636962891, 4.16195011138916, 4.1618781089782715, 4.161806583404541, 4.161734580993652, 4.161663055419922, 4.161591529846191, 4.161519527435303, 4.161447525024414, 4.161375999450684, 4.161303997039795, 4.161231994628906, 4.161159992218018, 4.161088466644287, 4.161016464233398, 4.16094446182251, 4.160872459411621, 4.160800457000732, 4.160728454589844, 4.160655975341797, 4.160583972930908, 4.1605119705200195, 4.160439968109131, 4.160367488861084, 4.160295486450195, 4.160223484039307, 4.16015100479126, 4.160078525543213, 4.160006523132324, 4.159934043884277, 4.159862041473389, 4.159789562225342, 4.159717082977295, 4.159644603729248, 4.159572124481201, 4.159499645233154, 4.159427165985107, 4.1593546867370605, 4.159282207489014, 4.159209728240967, 4.15913724899292, 4.159064292907715, 4.158991813659668, 4.158919334411621, 4.158846378326416, 4.158773899078369, 4.158700942993164, 4.158628463745117, 4.158555507659912, 4.158483028411865, 4.15841007232666, 4.158337116241455, 4.15826416015625, 4.158191204071045, 4.158118724822998, 4.158045768737793, 4.157972812652588, 4.157899856567383, 4.1578264236450195, 4.1577534675598145, 4.157680511474609, 4.157607555389404, 4.157534122467041, 4.157461166381836, 4.157388210296631, 4.157314777374268, 4.1572418212890625, 4.157168388366699, 4.157094955444336, 4.157021999359131, 4.156948566436768, 4.156875133514404, 4.156801700592041, 4.156728267669678, 4.156655311584473, 4.156581878662109, 4.156507968902588, 4.156434535980225, 4.156361103057861, 4.156287670135498, 4.156214237213135, 4.156140327453613, 4.15606689453125, 4.155993461608887, 4.155919551849365, 4.155846118927002, 4.1557722091674805, 4.155698776245117, 4.155624866485596, 4.155550956726074, 4.155477046966553, 4.1554036140441895, 4.155329704284668, 4.1552557945251465, 4.155181884765625, 4.1551079750061035, 4.155034065246582, 4.1549601554870605, 4.154885768890381, 4.154811859130859, 4.154737949371338, 4.154663562774658, 4.154589653015137, 4.154515743255615, 4.1544413566589355, 4.154367446899414, 4.154293060302734, 4.154218673706055, 4.154144763946533, 4.1540703773498535, 4.153995990753174, 4.153921604156494, 4.1538472175598145, 4.153772830963135, 4.153698444366455, 4.153624057769775, 4.153549671173096, 4.153475284576416, 4.153400421142578, 4.153326034545898, 4.153251647949219, 4.153176784515381, 4.153102397918701, 4.153027534484863, 4.152953147888184, 4.152878284454346, 4.152803897857666, 4.152729034423828, 4.15265417098999, 4.152579307556152, 4.1525044441223145, 4.152429580688477, 4.152354717254639, 4.152279853820801, 4.152204990386963, 4.152130126953125, 4.152055263519287, 4.151980400085449, 4.151905059814453, 4.151830196380615, 4.151754856109619, 4.151679992675781, 4.151604652404785, 4.151529788970947, 4.151454448699951, 4.151379108428955, 4.151304244995117, 4.151228904724121, 4.151153564453125, 4.151078224182129, 4.151002883911133, 4.150927543640137, 4.150852203369141, 4.1507768630981445, 4.150701522827148, 4.150626182556152, 4.150550365447998, 4.150475025177002, 4.150399208068848, 4.150323867797852, 4.150248050689697, 4.150172710418701, 4.150096893310547, 4.150021553039551, 4.1499457359313965, 4.149869918823242, 4.149794101715088, 4.149718284606934, 4.149642467498779, 4.149566650390625, 4.149490833282471, 4.149415016174316, 4.149339199066162, 4.149263381958008, 4.1491875648498535, 4.149111270904541, 4.149035453796387, 4.148959159851074, 4.14888334274292, 4.148807048797607, 4.148731231689453, 4.148654937744141, 4.148578643798828, 4.148502349853516, 4.148426532745361, 4.148350238800049, 4.148273944854736, 4.148197650909424, 4.148121356964111, 4.148045063018799, 4.147968292236328, 4.147891998291016, 4.147815704345703, 4.147739410400391, 4.14766263961792, 4.147586345672607, 4.147509574890137, 4.147433280944824, 4.1473565101623535, 4.147279739379883, 4.14720344543457, 4.1471266746521, 4.147049903869629, 4.146973133087158, 4.1468963623046875, 4.146819591522217, 4.146742820739746, 4.146666049957275, 4.146589279174805, 4.146512508392334, 4.146435260772705, 4.146358489990234, 4.1462812423706055, 4.146204471588135, 4.146127223968506, 4.146050453186035, 4.145973205566406, 4.1458964347839355, 4.145819187164307, 4.145741939544678, 4.145664691925049, 4.14558744430542, 4.145510196685791, 4.145432949066162, 4.145355701446533, 4.145278453826904, 4.145201206207275, 4.145123481750488, 4.145046234130859, 4.1449689865112305, 4.144891262054443, 4.1448140144348145, 4.144736289978027, 4.144659042358398, 4.144581317901611, 4.144503593444824, 4.144426345825195, 4.144348621368408, 4.144270896911621, 4.144193172454834, 4.144115447998047, 4.14403772354126, 4.143959999084473, 4.143881797790527, 4.14380407333374, 4.143726348876953, 4.143648624420166, 4.143570423126221, 4.143492698669434, 4.143414497375488, 4.143336772918701, 4.143258571624756, 4.1431803703308105, 4.143102169036865, 4.143024444580078, 4.142946243286133, 4.1428680419921875, 4.142789840698242, 4.142711639404297, 4.142633438110352, 4.142554759979248, 4.142476558685303, 4.142398357391357, 4.142319679260254, 4.142241477966309, 4.142163276672363, 4.14208459854126, 4.142005920410156, 4.141927719116211, 4.141849040985107, 4.141770362854004, 4.141692161560059, 4.141613483428955, 4.141534805297852, 4.141456127166748, 4.1413774490356445, 4.141298770904541, 4.141219615936279, 4.141140937805176, 4.141062259674072, 4.1409831047058105, 4.140904426574707, 4.1408257484436035, 4.140746593475342, 4.14066743850708, 4.140588760375977, 4.140509605407715, 4.140430450439453, 4.140351295471191, 4.140272617340088, 4.140193462371826, 4.1401143074035645, 4.140035152435303, 4.139955520629883, 4.139876365661621, 4.139797210693359, 4.139718055725098, 4.139638423919678, 4.139559268951416, 4.139479637145996, 4.139400482177734, 4.1393208503723145, 4.139241695404053, 4.139162063598633, 4.139082431793213, 4.139002799987793, 4.138923168182373, 4.138843536376953, 4.138763904571533, 4.138684272766113, 4.138604640960693, 4.138525009155273, 4.138444900512695, 4.138365268707275, 4.1382856369018555, 4.138205528259277, 4.138125896453857, 4.138045787811279, 4.137966156005859, 4.137886047363281, 4.137805938720703, 4.137725830078125, 4.137645721435547, 4.137565612792969, 4.137485504150391, 4.1374053955078125, 4.137325286865234, 4.137245178222656, 4.137165069580078, 4.137084484100342, 4.137004375457764, 4.1369242668151855, 4.136843681335449, 4.136763095855713, 4.136682987213135, 4.136602401733398, 4.136521816253662, 4.136441707611084, 4.136361122131348, 4.136280536651611, 4.136199951171875, 4.136119365692139, 4.136038780212402, 4.135957717895508, 4.1358771324157715, 4.135796546936035, 4.135715961456299, 4.135634899139404, 4.135554313659668, 4.135473251342773, 4.135392189025879, 4.135311603546143, 4.135230541229248, 4.1351494789123535, 4.135068416595459, 4.1349873542785645, 4.13490629196167, 4.134825229644775, 4.134744167327881, 4.134663105010986, 4.134582042694092, 4.134500503540039, 4.1344194412231445, 4.13433837890625, 4.134256839752197, 4.134175777435303, 4.13409423828125, 4.134012699127197, 4.133931636810303, 4.13385009765625, 4.133768558502197, 4.1336870193481445, 4.133605480194092, 4.133523941040039, 4.133442401885986, 4.133360385894775, 4.133278846740723, 4.13319730758667, 4.133115768432617, 4.133033752441406, 4.1329522132873535, 4.132870197296143, 4.132788181304932, 4.132706642150879, 4.132624626159668, 4.132542610168457, 4.132460594177246, 4.132378578186035, 4.132296562194824, 4.132214546203613, 4.132132530212402, 4.132050514221191, 4.131968021392822, 4.131886005401611, 4.1318039894104, 4.131721496582031, 4.13163948059082, 4.131556987762451, 4.131474494934082, 4.131392478942871, 4.131309986114502, 4.131227493286133, 4.131145000457764, 4.1310625076293945, 4.130980014801025, 4.130897521972656, 4.130815029144287, 4.13073205947876, 4.130649566650391, 4.1305670738220215, 4.130484104156494, 4.130401611328125, 4.130318641662598, 4.13023567199707, 4.130153179168701, 4.130070209503174, 4.1299872398376465, 4.129904270172119, 4.129821300506592, 4.1297383308410645, 4.129655361175537, 4.12957239151001, 4.129489421844482, 4.129405975341797, 4.1293230056762695, 4.129240036010742, 4.129156589508057, 4.129073619842529, 4.128990173339844, 4.128906726837158, 4.128823280334473, 4.128740310668945, 4.12865686416626, 4.128573417663574, 4.128489971160889, 4.128406524658203, 4.128322601318359, 4.128239154815674, 4.128155708312988, 4.128072261810303, 4.127988338470459, 4.127904891967773, 4.12782096862793, 4.127737045288086, 4.1276535987854, 4.127569675445557, 4.127485752105713, 4.127401828765869, 4.127317905426025, 4.127233982086182, 4.127150058746338, 4.127066135406494, 4.12698221206665, 4.126898288726807, 4.126813888549805, 4.126729965209961, 4.126645565032959, 4.126561641693115, 4.126477241516113, 4.126392841339111, 4.126308917999268, 4.126224517822266, 4.126140117645264, 4.126055717468262, 4.12597131729126, 4.125886917114258, 4.125802040100098, 4.125717639923096, 4.125633239746094, 4.125548839569092, 4.125463962554932, 4.12537956237793, 4.1252946853637695, 4.125209808349609, 4.125125408172607, 4.125040531158447, 4.124955654144287, 4.124870777130127, 4.124785900115967, 4.124701023101807, 4.1246161460876465, 4.124531269073486, 4.124445915222168, 4.124361038208008, 4.124276161193848, 4.124190807342529, 4.124105930328369, 4.124020576477051, 4.123935222625732, 4.123849868774414, 4.123764991760254, 4.1236796379089355, 4.123594284057617, 4.123508930206299, 4.1234235763549805, 4.123337745666504, 4.1232523918151855, 4.123167037963867, 4.123081684112549, 4.122995853424072, 4.122910499572754, 4.122824668884277, 4.122738838195801, 4.122653484344482, 4.122567653656006, 4.122481822967529, 4.122395992279053, 4.122310161590576, 4.1222243309021, 4.122138500213623, 4.1220526695251465, 4.121966361999512, 4.121880531311035, 4.1217942237854, 4.121708393096924, 4.121622085571289, 4.1215362548828125, 4.121449947357178, 4.121363639831543, 4.121277332305908, 4.121191024780273, 4.121104717254639, 4.121018409729004, 4.120932102203369, 4.120845794677734, 4.1207594871521, 4.120672702789307, 4.120586395263672, 4.120499610900879, 4.120413303375244, 4.120326519012451, 4.120240211486816, 4.120153427124023, 4.1200666427612305, 4.1199798583984375, 4.1198930740356445, 4.119806289672852, 4.119719505310059, 4.119632720947266, 4.1195454597473145, 4.1194586753845215, 4.1193718910217285, 4.119284629821777, 4.119197368621826, 4.119110584259033, 4.119023323059082, 4.118936061859131, 4.11884880065918, 4.118762016296387, 4.1186747550964355, 4.118587017059326, 4.118499755859375, 4.118412494659424, 4.118325233459473, 4.118237495422363, 4.118150234222412, 4.118062496185303, 4.117975234985352, 4.117887496948242, 4.117799758911133, 4.117712497711182, 4.117624759674072, 4.117537021636963, 4.1174492835998535, 4.117361545562744, 4.117273807525635, 4.117185592651367, 4.117097854614258, 4.117010116577148, 4.116921901702881, 4.1168341636657715, 4.116745948791504, 4.116657733917236, 4.116569995880127, 4.116481781005859, 4.116393566131592, 4.116305351257324, 4.116217136383057, 4.116128921508789, 4.116040229797363, 4.115952014923096, 4.115863800048828, 4.115775108337402, 4.115686893463135, 4.115598201751709, 4.115509986877441, 4.115421295166016, 4.11533260345459, 4.115243911743164, 4.115155220031738, 4.1150665283203125, 4.114977836608887, 4.114889144897461, 4.114800453186035, 4.114711284637451, 4.114622592926025, 4.1145339012146, 4.114444732666016, 4.114355564117432, 4.114266872406006, 4.114177703857422, 4.114088535308838, 4.113999366760254, 4.11391019821167, 4.113821029663086, 4.113731861114502, 4.113642692565918, 4.113553047180176, 4.113463878631592, 4.113374710083008, 4.113285064697266, 4.113195896148682, 4.1131062507629395, 4.113016605377197, 4.112926959991455, 4.112837314605713, 4.112747669219971, 4.1126580238342285, 4.112568378448486, 4.112478733062744, 4.112389087677002, 4.112298965454102, 4.112209320068359, 4.112119197845459, 4.112029552459717, 4.111939430236816, 4.111849308013916, 4.111759185791016, 4.111669540405273, 4.111579418182373, 4.111489295959473, 4.111398696899414, 4.111308574676514, 4.111218452453613, 4.111128330230713, 4.111037731170654, 4.110947608947754, 4.110857009887695, 4.110766410827637, 4.110675811767578, 4.110585689544678, 4.110495090484619, 4.1104044914245605, 4.110313892364502, 4.110223293304443, 4.110132217407227, 4.110041618347168, 4.109951019287109, 4.109859943389893, 4.109769344329834, 4.109678268432617, 4.1095871925354, 4.109496593475342, 4.109405517578125, 4.109314441680908, 4.109223365783691, 4.109132289886475, 4.109041213989258, 4.108949661254883, 4.108858585357666, 4.108767509460449, 4.108675956726074, 4.108584880828857, 4.108493328094482, 4.108401775360107, 4.108310222625732, 4.108218669891357, 4.108127593994141, 4.108035564422607, 4.107944011688232, 4.107852458953857, 4.107760906219482, 4.107669353485107, 4.107577323913574, 4.107485771179199, 4.107393741607666, 4.107301712036133, 4.107210159301758, 4.107118129730225, 4.107026100158691, 4.106934070587158, 4.106842041015625, 4.106750011444092, 4.1066575050354, 4.106565475463867, 4.106473445892334, 4.106380939483643, 4.106288909912109, 4.106196403503418, 4.106103897094727, 4.106011390686035, 4.105919361114502, 4.1058268547058105, 4.105734348297119, 4.1056413650512695, 4.105548858642578, 4.105456352233887, 4.105363845825195, 4.105270862579346, 4.105178356170654, 4.105085372924805, 4.104992389678955, 4.1048994064331055, 4.104806900024414, 4.1047139167785645, 4.104620933532715, 4.104527473449707, 4.104434490203857, 4.104341506958008, 4.104248523712158, 4.10415506362915, 4.104062080383301, 4.103968620300293, 4.103875160217285, 4.1037821769714355, 4.103688716888428, 4.10359525680542, 4.103501796722412, 4.103408336639404, 4.1033148765563965, 4.1032209396362305, 4.103127479553223, 4.103034019470215, 4.102940082550049, 4.102846145629883, 4.102752685546875, 4.102658748626709, 4.102564811706543, 4.102470874786377, 4.102376937866211, 4.102283000946045, 4.102189064025879, 4.102095127105713, 4.102000713348389, 4.101906776428223, 4.101812362670898, 4.101718425750732, 4.101624011993408, 4.101529598236084, 4.10143518447876, 4.101341247558594, 4.101246356964111, 4.101151943206787, 4.101057529449463, 4.100963115692139, 4.1008687019348145, 4.100773811340332, 4.100679397583008, 4.100584506988525, 4.100489616394043, 4.1003947257995605, 4.100300312042236, 4.100205421447754, 4.1001105308532715, 4.100015163421631, 4.099920272827148, 4.099825382232666, 4.099730491638184, 4.099635124206543, 4.0995402336120605, 4.09944486618042, 4.099349498748779, 4.099254131317139, 4.099159240722656, 4.099063873291016, 4.098968029022217, 4.098872661590576, 4.0987772941589355, 4.098681926727295, 4.098586082458496, 4.0984907150268555, 4.098394870758057, 4.098299503326416, 4.098203659057617, 4.098107814788818, 4.0980119705200195, 4.097916126251221, 4.097820281982422, 4.097724437713623, 4.097628116607666, 4.097532272338867, 4.097436428070068, 4.097340106964111, 4.097243785858154, 4.0971479415893555, 4.097051620483398, 4.096955299377441, 4.096858978271484, 4.096762657165527, 4.09666633605957, 4.096569538116455, 4.096473217010498, 4.096376895904541, 4.096280097961426, 4.096183776855469, 4.0960869789123535, 4.095990180969238, 4.095893383026123, 4.095796585083008, 4.095699787139893, 4.095602989196777, 4.095506191253662, 4.095409393310547, 4.095312118530273, 4.095215320587158, 4.095118045806885, 4.0950212478637695, 4.094923973083496, 4.094826698303223, 4.094729423522949, 4.094632148742676, 4.094534873962402, 4.094437599182129, 4.094339847564697, 4.094242572784424, 4.094144821166992, 4.094047546386719, 4.093949794769287, 4.093852519989014, 4.093754768371582, 4.09365701675415, 4.093559265136719, 4.093461513519287, 4.093363285064697, 4.093265533447266, 4.093167781829834, 4.093069553375244, 4.0929718017578125, 4.092873573303223, 4.092775344848633, 4.092677593231201, 4.092579364776611, 4.0924811363220215, 4.092382907867432, 4.092284202575684, 4.092185974121094, 4.092087745666504, 4.091989040374756, 4.091890811920166, 4.091792106628418, 4.09169340133667, 4.091594696044922, 4.091495990753174, 4.091397285461426, 4.091298580169678, 4.09119987487793, 4.091101169586182, 4.091001987457275, 4.090903282165527, 4.090804100036621, 4.090705394744873, 4.090606212615967, 4.0905070304870605, 4.090407848358154, 4.090308666229248, 4.090209484100342, 4.0901103019714355, 4.090010643005371, 4.089911460876465, 4.089812278747559, 4.089712619781494, 4.08961296081543, 4.089513301849365, 4.089414119720459, 4.0893144607543945, 4.08921480178833, 4.089114665985107, 4.089015007019043, 4.0889153480529785, 4.088815212249756, 4.088715553283691, 4.088615417480469, 4.088515281677246, 4.088415622711182, 4.088315486907959, 4.088215351104736, 4.088115215301514, 4.088014602661133, 4.08791446685791, 4.0878143310546875, 4.087713718414307, 4.087613582611084, 4.087512969970703, 4.087412357330322, 4.087311744689941, 4.0872111320495605, 4.08711051940918, 4.087009906768799, 4.086909294128418, 4.086808681488037, 4.086707592010498, 4.086606979370117, 4.086505889892578, 4.086404800415039, 4.0863037109375, 4.086203098297119, 4.086101531982422, 4.086000442504883, 4.085899353027344, 4.085798263549805, 4.085696697235107, 4.085595607757568, 4.085494041442871, 4.085392951965332, 4.085291385650635, 4.0851898193359375, 4.08508825302124, 4.084986686706543, 4.084885120391846, 4.08478307723999, 4.084681510925293, 4.084579944610596, 4.08447790145874, 4.084375858306885, 4.0842742919921875, 4.084172248840332, 4.084070205688477, 4.083968162536621, 4.083866119384766, 4.083763599395752, 4.0836615562438965, 4.083559036254883, 4.083456993103027, 4.083354473114014, 4.083251953125, 4.0831499099731445, 4.083047389984131, 4.082944869995117, 4.082841873168945, 4.082739353179932, 4.082636833190918, 4.082533836364746, 4.082431316375732, 4.0823283195495605, 4.082225322723389, 4.082122802734375, 4.082019805908203, 4.081916809082031, 4.081813335418701, 4.081710338592529, 4.081607341766357, 4.081503868103027, 4.0814008712768555, 4.081297397613525, 4.081193923950195, 4.081090927124023, 4.080987453460693, 4.080883979797363, 4.080780029296875, 4.080676555633545, 4.080573081970215, 4.080469131469727, 4.0803656578063965, 4.080261707305908, 4.08015775680542, 4.08005428314209, 4.079950332641602, 4.079846382141113, 4.079741954803467, 4.0796380043029785, 4.07953405380249, 4.079429626464844, 4.0793256759643555, 4.079221248626709, 4.0791168212890625, 4.079012393951416, 4.0789079666137695, 4.078803539276123, 4.078699111938477, 4.07859468460083, 4.078489780426025, 4.078385353088379, 4.078280448913574, 4.0781755447387695, 4.078071117401123, 4.077966213226318, 4.077861309051514, 4.077756404876709, 4.077651023864746, 4.077546119689941, 4.077441215515137, 4.077335834503174, 4.077230453491211, 4.077125549316406, 4.077020168304443, 4.0769147872924805, 4.076809406280518, 4.076704025268555, 4.076598167419434, 4.076492786407471, 4.07638692855835, 4.076281547546387, 4.076175689697266, 4.0760698318481445, 4.075963973999023, 4.075858116149902, 4.075752258300781, 4.07564640045166, 4.075540542602539, 4.07543420791626, 4.075328350067139, 4.075222015380859, 4.07511568069458, 4.075009822845459, 4.07490348815918, 4.0747971534729, 4.074690341949463, 4.074584007263184, 4.074477672576904, 4.074370861053467, 4.0742645263671875, 4.07415771484375, 4.0740509033203125, 4.073944091796875, 4.0738372802734375, 4.07373046875, 4.0736236572265625, 4.073516368865967, 4.073409557342529, 4.073302268981934, 4.073195457458496, 4.0730881690979, 4.072980880737305, 4.072873592376709, 4.072766304016113, 4.072659015655518, 4.072551250457764, 4.072443962097168, 4.072336196899414, 4.072228908538818, 4.0721211433410645, 4.0720133781433105, 4.071905612945557, 4.071797847747803, 4.071690082550049, 4.071581840515137, 4.071474075317383, 4.071365833282471, 4.071258068084717, 4.071149826049805, 4.071041584014893, 4.0709333419799805, 4.070825099945068, 4.070716857910156, 4.070608615875244, 4.070499897003174, 4.070391654968262, 4.070282936096191, 4.070174217224121, 4.070065498352051, 4.0699567794799805, 4.06984806060791, 4.06973934173584, 4.0696306228637695, 4.069521427154541, 4.069412708282471, 4.069303512573242, 4.069194316864014, 4.069085597991943, 4.068976402282715, 4.068867206573486, 4.0687575340271, 4.068648338317871, 4.068539142608643, 4.068429470062256, 4.068319797515869, 4.068210601806641, 4.068100929260254, 4.067991256713867, 4.0678815841674805, 4.0677714347839355, 4.067661762237549, 4.067552089691162, 4.067441940307617, 4.067331790924072, 4.0672221183776855, 4.067111968994141, 4.067001819610596, 4.066891670227051, 4.066781044006348, 4.066670894622803, 4.066560745239258, 4.066450119018555, 4.066339492797852, 4.066228866577148, 4.0661187171936035, 4.0660080909729, 4.065896987915039, 4.065786361694336, 4.065675735473633, 4.0655646324157715, 4.065454006195068, 4.065342903137207, 4.065231800079346, 4.065120697021484, 4.065009593963623, 4.064898490905762, 4.064786911010742, 4.064675807952881, 4.064564228057861, 4.064453125, 4.0643415451049805, 4.064229965209961, 4.064118385314941, 4.064006805419922, 4.063895225524902, 4.063783168792725, 4.063671588897705, 4.063559532165527, 4.063447952270508, 4.06333589553833, 4.063223838806152, 4.063111782073975, 4.062999248504639, 4.062887191772461, 4.062775135040283, 4.062662601470947, 4.0625505447387695, 4.062438011169434, 4.062325477600098, 4.062212944030762, 4.062100410461426, 4.061987400054932, 4.061874866485596, 4.06176233291626, 4.061649322509766, 4.0615363121032715, 4.061423301696777, 4.061310291290283, 4.061197280883789, 4.061084270477295, 4.060971260070801, 4.060857772827148, 4.060744762420654, 4.060631275177002, 4.06051778793335, 4.060404300689697, 4.060290813446045, 4.060177326202393, 4.06006383895874, 4.05994987487793, 4.059836387634277, 4.059722423553467, 4.059608459472656, 4.059494495391846, 4.059380531311035, 4.059266567230225, 4.059152603149414, 4.059038162231445, 4.058924198150635, 4.058809757232666, 4.0586957931518555, 4.058581352233887, 4.058466911315918, 4.058352470397949, 4.058237552642822, 4.0581231117248535, 4.058008193969727, 4.057893753051758, 4.057778835296631, 4.057663917541504, 4.057548999786377, 4.05743408203125, 4.057319164276123, 4.057203769683838, 4.057088851928711, 4.056973457336426, 4.056858539581299, 4.056743144989014, 4.0566277503967285, 4.056512355804443, 4.056396484375, 4.056281089782715, 4.0561652183532715, 4.056049823760986, 4.055933952331543, 4.0558180809021, 4.055702209472656, 4.055586338043213, 4.0554704666137695, 4.055354118347168, 4.055238246917725, 4.055121898651123, 4.05500602722168, 4.054889678955078, 4.054773330688477, 4.054656982421875, 4.054540157318115, 4.054423809051514, 4.054306983947754, 4.054190635681152, 4.054073810577393, 4.053956985473633, 4.053840160369873, 4.053723335266113, 4.0536065101623535, 4.0534892082214355, 4.053372383117676, 4.053255081176758, 4.05313777923584, 4.053020477294922, 4.052903175354004, 4.052785873413086, 4.052668571472168, 4.052550792694092, 4.052433490753174, 4.052315711975098, 4.0521979331970215, 4.052080154418945, 4.051962375640869, 4.051844596862793, 4.051726341247559, 4.051608562469482, 4.051490306854248, 4.051372528076172, 4.0512542724609375, 4.051136016845703, 4.051017761230469, 4.050899028778076, 4.050780773162842, 4.050662040710449, 4.050543785095215, 4.050425052642822, 4.05030632019043, 4.050187587738037, 4.0500688552856445, 4.049949645996094, 4.049830913543701, 4.04971170425415, 4.049592971801758, 4.049473762512207, 4.049354553222656, 4.0492353439331055, 4.0491156578063965, 4.048996448516846, 4.048877239227295, 4.048757553100586, 4.048637866973877, 4.048518180847168, 4.048398494720459, 4.04827880859375, 4.048159122467041, 4.048038959503174, 4.047919273376465, 4.047799110412598, 4.0476789474487305, 4.047558784484863, 4.047438621520996, 4.047318458557129, 4.0471978187561035, 4.047077655792236, 4.046957015991211, 4.0468363761901855, 4.04671573638916, 4.046595096588135, 4.046474456787109, 4.046353816986084, 4.0462327003479, 4.046111583709717, 4.045990943908691, 4.045869827270508, 4.045748710632324, 4.045627117156982, 4.045506000518799, 4.045384883880615, 4.045263290405273, 4.045141696929932, 4.045020580291748, 4.044898986816406, 4.044776916503906, 4.0446553230285645, 4.044533729553223, 4.044411659240723, 4.044289588928223, 4.044167995452881, 4.044045925140381, 4.043923377990723, 4.043801307678223, 4.043679237365723, 4.0435566902160645, 4.0434346199035645, 4.043312072753906, 4.043189525604248, 4.04306697845459, 4.042943954467773, 4.042821407318115, 4.042698860168457, 4.042575836181641, 4.042452812194824, 4.042329788208008, 4.042206764221191, 4.042083740234375, 4.0419602394104, 4.041837215423584, 4.041713714599609, 4.041590690612793, 4.041467189788818, 4.0413432121276855, 4.041219711303711, 4.041096210479736, 4.0409722328186035, 4.040848731994629, 4.040724754333496, 4.040600776672363, 4.0404767990112305, 4.040352821350098, 4.040228366851807, 4.040104389190674, 4.039979934692383, 4.039855480194092, 4.039731025695801, 4.03960657119751, 4.039482116699219, 4.039357662200928, 4.0392327308654785, 4.039107799530029, 4.038983345031738, 4.038858413696289, 4.03873348236084, 4.038608074188232, 4.038483142852783, 4.038357734680176, 4.038232803344727, 4.038107395172119, 4.037981986999512, 4.037856578826904, 4.037730693817139, 4.037605285644531, 4.037479400634766, 4.037353992462158, 4.037228107452393, 4.037102222442627, 4.036976337432861, 4.0368499755859375, 4.036724090576172, 4.036597728729248, 4.036471366882324, 4.036345481872559, 4.036218643188477, 4.036092281341553, 4.035965919494629, 4.035839080810547, 4.035712718963623, 4.035585880279541, 4.035459041595459, 4.035332202911377, 4.035205364227295, 4.035078048706055, 4.034951210021973, 4.034823894500732, 4.034696578979492, 4.034569263458252, 4.034441947937012, 4.0343146324157715, 4.034186840057373, 4.034059047698975, 4.033931732177734, 4.033803939819336, 4.0336761474609375, 4.033547878265381, 4.033420085906982, 4.033291816711426, 4.033164024353027, 4.033035755157471, 4.032907485961914, 4.032779216766357, 4.032650947570801, 4.032522201538086, 4.032393455505371, 4.0322651863098145, 4.0321364402771, 4.032007694244385, 4.031878471374512, 4.031749725341797, 4.031620979309082, 4.031491756439209, 4.031362533569336, 4.031233310699463, 4.03110408782959, 4.030974388122559, 4.0308451652526855, 4.030715465545654, 4.030586242675781, 4.03045654296875, 4.030326843261719, 4.030196666717529, 4.030066967010498, 4.029936790466309, 4.029807090759277, 4.029676914215088, 4.029546737670898, 4.029416084289551, 4.029285907745361, 4.029155731201172, 4.029025077819824, 4.028894424438477, 4.028763771057129, 4.028633117675781, 4.028502464294434, 4.028371334075928, 4.028240203857422, 4.028109550476074, 4.027978420257568, 4.0278472900390625, 4.027715682983398, 4.027584552764893, 4.0274529457092285, 4.027321815490723, 4.027190208435059, 4.0270586013793945, 4.026926517486572, 4.026794910430908, 4.026662826538086, 4.026531219482422, 4.0263991355896, 4.026267051696777, 4.026134490966797, 4.026002407073975, 4.025869846343994, 4.025737762451172, 4.025605201721191, 4.025472640991211, 4.0253400802612305, 4.025207042694092, 4.025074481964111, 4.024941444396973, 4.024808406829834, 4.024675369262695, 4.024542331695557, 4.024409294128418, 4.024275779724121, 4.024142742156982, 4.0240092277526855, 4.023875713348389, 4.023741722106934, 4.023608207702637, 4.02347469329834, 4.023340702056885, 4.02320671081543, 4.023072719573975, 4.0229387283325195, 4.0228047370910645, 4.022670269012451, 4.022535800933838, 4.022401809692383, 4.0222673416137695, 4.022132396697998, 4.021997928619385, 4.021862983703613, 4.021728515625, 4.0215935707092285, 4.021458625793457, 4.0213236808776855, 4.021188259124756, 4.021053314208984, 4.020917892456055, 4.020782470703125, 4.020647048950195, 4.020511627197266, 4.020376205444336, 4.020240306854248, 4.02010440826416, 4.019968509674072, 4.019832611083984, 4.0196967124938965, 4.019560813903809, 4.0194244384765625, 4.019288063049316, 4.01915168762207, 4.019015312194824, 4.018878936767578, 4.018742084503174, 4.018605709075928, 4.018468856811523, 4.018332004547119, 4.018195152282715, 4.018057823181152, 4.017920970916748, 4.0177836418151855, 4.017646312713623, 4.0175089836120605, 4.017371654510498, 4.0172343254089355, 4.017096519470215, 4.016959190368652, 4.016821384429932, 4.016683578491211, 4.016545295715332, 4.016407489776611, 4.016269207000732, 4.0161309242248535, 4.015992641448975, 4.015854358673096, 4.015716075897217, 4.01557731628418, 4.015439033508301, 4.015300273895264, 4.015161514282227, 4.0150227546691895, 4.014883518218994, 4.014744758605957, 4.014605522155762, 4.014466285705566, 4.014327049255371, 4.014187812805176, 4.014048099517822, 4.013908386230469, 4.013769149780273, 4.01362943649292, 4.013489246368408, 4.013349533081055, 4.013209342956543, 4.0130696296691895, 4.012929439544678, 4.012789249420166, 4.012648582458496, 4.012508392333984, 4.0123677253723145, 4.0122270584106445, 4.012086391448975, 4.011945724487305, 4.011805057525635, 4.011663913726807, 4.0115227699279785, 4.01138162612915, 4.011240482330322, 4.011099338531494, 4.010957717895508, 4.01081657409668, 4.010674953460693, 4.010533332824707, 4.0103912353515625, 4.010249614715576, 4.010107517242432, 4.009965896606445, 4.009823799133301, 4.009681224822998, 4.0095391273498535, 4.009396553039551, 4.009254455566406, 4.0091118812561035, 4.008969306945801, 4.00882625579834, 4.008683681488037, 4.008540630340576, 4.008397579193115, 4.008254528045654, 4.008111476898193, 4.007967948913574, 4.007824897766113, 4.007681369781494, 4.007537841796875, 4.007394313812256, 4.0072503089904785, 4.007106781005859, 4.006962776184082, 4.006818771362305, 4.006674766540527, 4.006530284881592, 4.0063862800598145, 4.006241798400879, 4.006097316741943, 4.005952835083008, 4.005808353424072, 4.0056633949279785, 4.005518436431885, 4.005373477935791, 4.005228519439697, 4.0050835609436035, 4.00493860244751, 4.004793167114258, 4.004647731781006, 4.004502296447754, 4.004356861114502, 4.004210948944092, 4.004065036773682, 4.0039191246032715, 4.003773212432861, 4.003627300262451, 4.003481388092041, 4.003334999084473, 4.003188610076904, 4.003042221069336, 4.002895832061768, 4.002748966217041, 4.002602577209473, 4.002455711364746, 4.0023088455200195, 4.002161502838135, 4.002014636993408, 4.001867294311523, 4.001719951629639, 4.001572608947754, 4.001425266265869, 4.001277923583984, 4.001130104064941, 4.000982284545898, 4.0008344650268555, 4.0006866455078125, 4.000538349151611, 4.000390529632568, 4.000242233276367, 4.000093936920166, 3.9999454021453857, 3.9997968673706055, 3.999648094177246, 3.9994993209838867, 3.9993505477905273, 3.999201536178589, 3.9990525245666504, 3.998903512954712, 3.9987542629241943, 3.9986050128936768, 3.99845552444458, 3.9983060359954834, 3.9981563091278076, 3.998006582260132, 3.997856855392456, 3.997706890106201, 3.9975569248199463, 3.9974069595336914, 3.9972567558288574, 3.9971063137054443, 3.9969558715820312, 3.996805429458618, 3.996654748916626, 3.996504068374634, 3.9963533878326416, 3.9962024688720703, 3.99605131149292, 3.9959001541137695, 3.995748996734619, 3.9955978393554688, 3.9954464435577393, 3.9952948093414307, 3.995143175125122, 3.9949915409088135, 3.994839668273926, 3.994687795639038, 3.9945356845855713, 3.9943835735321045, 3.9942314624786377, 3.994079113006592, 3.993926525115967, 3.993774175643921, 3.993621349334717, 3.993468761444092, 3.9933159351348877, 3.9931628704071045, 3.9930098056793213, 3.992856740951538, 3.992703437805176, 3.9925501346588135, 3.992396593093872, 3.9922430515289307, 3.9920895099639893, 3.9919357299804688, 3.991781711578369, 3.9916276931762695, 3.99147367477417, 3.991319417953491, 3.9911651611328125, 3.991010904312134, 3.990856170654297, 3.990701675415039, 3.990546941757202, 3.9903922080993652, 3.990237236022949, 3.990082263946533, 3.989927053451538, 3.989771842956543, 3.9896163940429688, 3.9894609451293945, 3.9893054962158203, 3.989149808883667, 3.9889938831329346, 3.988837957382202, 3.9886820316314697, 3.988525867462158, 3.9883697032928467, 3.988213539123535, 3.9880571365356445, 3.987900495529175, 3.987743854522705, 3.9875872135162354, 3.9874303340911865, 3.9872732162475586, 3.9871160984039307, 3.9869589805603027, 3.9868016242980957, 3.9866442680358887, 3.9864869117736816, 3.9863293170928955, 3.9861714839935303, 3.986013650894165, 3.9858558177948, 3.9856977462768555, 3.985539436340332, 3.9853811264038086, 3.985222816467285, 3.9850642681121826, 3.98490571975708, 3.9847469329833984, 3.984588146209717, 3.984429121017456, 3.9842700958251953, 3.9841110706329346, 3.9839518070220947, 3.983792304992676, 3.983632802963257, 3.983473300933838, 3.98331356048584, 3.983153820037842, 3.9829938411712646, 3.9828336238861084, 3.9826736450195312, 3.982513189315796, 3.9823527336120605, 3.982192277908325, 3.98203182220459, 3.9818708896636963, 3.981710195541382, 3.9815492630004883, 3.9813880920410156, 3.981226921081543, 3.981065511703491, 3.9809041023254395, 3.9807426929473877, 3.980581045150757, 3.980419158935547, 3.980257272720337, 3.980095386505127, 3.979933261871338, 3.9797708988189697, 3.9796085357666016, 3.9794461727142334, 3.979283571243286, 3.979120969772339, 3.9789581298828125, 3.978795289993286, 3.9786322116851807, 3.978468894958496, 3.9783058166503906, 3.978142261505127, 3.9779787063598633, 3.9778151512145996, 3.977651357650757, 3.977487564086914, 3.977323532104492, 3.9771595001220703, 3.9769952297210693, 3.9768309593200684, 3.9766664505004883, 3.976501941680908, 3.976337194442749, 3.97617244720459, 3.9760074615478516, 3.9758424758911133, 3.975677251815796, 3.9755120277404785, 3.975346565246582, 3.9751811027526855, 3.97501540184021, 3.9748497009277344, 3.9746837615966797, 3.974517822265625, 3.974351644515991, 3.9741852283477783, 3.9740190505981445, 3.9738523960113525, 3.9736857414245605, 3.9735190868377686, 3.9733521938323975, 3.9731853008270264, 3.973018169403076, 3.972850799560547, 3.9726834297180176, 3.9725160598754883, 3.97234845161438, 3.9721808433532715, 3.972012996673584, 3.9718449115753174, 3.971676826477051, 3.971508502960205, 3.9713401794433594, 3.9711718559265137, 3.971003293991089, 3.970834493637085, 3.970665693283081, 3.970496654510498, 3.970327615737915, 3.970158338546753, 3.969989061355591, 3.9698195457458496, 3.9696500301361084, 3.969480276107788, 3.9693105220794678, 3.9691405296325684, 3.96897029876709, 3.9688000679016113, 3.968629837036133, 3.968459367752075, 3.9682886600494385, 3.9681179523468018, 3.967947006225586, 3.96777606010437, 3.967604875564575, 3.9674336910247803, 3.9672622680664062, 3.9670908451080322, 3.966919183731079, 3.966747522354126, 3.9665756225585938, 3.9664034843444824, 3.966231346130371, 3.9660589694976807, 3.9658865928649902, 3.9657142162323, 3.965541362762451, 3.9653687477111816, 3.965195655822754, 3.965022563934326, 3.9648494720458984, 3.9646761417388916, 3.9645025730133057, 3.9643290042877197, 3.964155435562134, 3.9639813899993896, 3.9638075828552246, 3.9636332988739014, 3.963459014892578, 3.963284730911255, 3.9631102085113525, 3.962935447692871, 3.9627606868743896, 3.962585926055908, 3.9624106884002686, 3.962235689163208, 3.9620602130889893, 3.9618847370147705, 3.9617092609405518, 3.961533546447754, 3.961357593536377, 3.961181640625, 3.961005449295044, 3.960829257965088, 3.9606528282165527, 3.9604763984680176, 3.960299491882324, 3.96012282371521, 3.9599459171295166, 3.959768772125244, 3.9595916271209717, 3.95941424369812, 3.9592366218566895, 3.959059000015259, 3.958881139755249, 3.9587032794952393, 3.9585251808166504, 3.9583470821380615, 3.9581687450408936, 3.9579901695251465, 3.9578115940093994, 3.9576330184936523, 3.957453966140747, 3.957274913787842, 3.9570958614349365, 3.956916570663452, 3.9567370414733887, 3.956557512283325, 3.9563777446746826, 3.956197738647461, 3.9560177326202393, 3.9558377265930176, 3.955657482147217, 3.955476999282837, 3.955296277999878, 3.955115556716919, 3.95493483543396, 3.9547536373138428, 3.9545726776123047, 3.9543912410736084, 3.954209804534912, 3.9540281295776367, 3.9538464546203613, 3.953664541244507, 3.9534826278686523, 3.9533004760742188, 3.953118085861206, 3.9529356956481934, 3.9527530670166016, 3.9525704383850098, 3.9523873329162598, 3.952204465866089, 3.9520211219787598, 3.9518377780914307, 3.9516544342041016, 3.9514708518981934, 3.951287031173706, 3.9511032104492188, 3.9509189128875732, 3.950734853744507, 3.9505505561828613, 3.9503660202026367, 3.950181245803833, 3.9499964714050293, 3.9498114585876465, 3.9496264457702637, 3.9494411945343018, 3.9492557048797607, 3.9490702152252197, 3.9488844871520996, 3.9486985206604004, 3.948512554168701, 3.948326349258423, 3.9481401443481445, 3.947953701019287, 3.9477670192718506, 3.947580337524414, 3.9473934173583984, 3.9472062587738037, 3.947019100189209, 3.946831703186035, 3.9466440677642822, 3.9464564323425293, 3.9462685585021973, 3.9460806846618652, 3.945892572402954, 3.945704221725464, 3.9455156326293945, 3.945327043533325, 3.945138454437256, 3.9449493885040283, 3.944760322570801, 3.944571018218994, 3.9443817138671875, 3.9441921710968018, 3.944002389907837, 3.943812608718872, 3.943622589111328, 3.943432331085205, 3.943242073059082, 3.94305157661438, 3.9428608417510986, 3.9426701068878174, 3.942479133605957, 3.9422881603240967, 3.942096710205078, 3.9419052600860596, 3.941713809967041, 3.9415218830108643, 3.9413299560546875, 3.9411380290985107, 3.940945625305176, 3.940753221511841, 3.940560817718506, 3.9403679370880127, 3.9401750564575195, 3.9399821758270264, 3.939788818359375, 3.9395954608917236, 3.939401865005493, 3.9392082691192627, 3.939014434814453, 3.9388203620910645, 3.9386260509490967, 3.938431739807129, 3.938237190246582, 3.938042640686035, 3.93784761428833, 3.937652826309204, 3.93745756149292, 3.9372622966766357, 3.9370665550231934, 3.93687105178833, 3.9366750717163086, 3.936479091644287, 3.9362828731536865, 3.936086654663086, 3.935889959335327, 3.9356932640075684, 3.9354965686798096, 3.9352993965148926, 3.9351022243499756, 3.9349050521850586, 3.9347074031829834, 3.934509754180908, 3.934311866760254, 3.9341137409210205, 3.933915615081787, 3.9337172508239746, 3.933518648147583, 3.9333200454711914, 3.9331209659576416, 3.932921886444092, 3.932722806930542, 3.932523250579834, 3.932323694229126, 3.932123899459839, 3.9319241046905518, 3.9317238330841064, 3.931523561477661, 3.931323289871216, 3.9311225414276123, 3.930921792984009, 3.930720806121826, 3.9305195808410645, 3.9303183555603027, 3.930116653442383, 3.929915189743042, 3.929713249206543, 3.929511070251465, 3.9293088912963867, 3.9291064739227295, 3.9289040565490723, 3.928701162338257, 3.9284982681274414, 3.928295135498047, 3.9280920028686523, 3.9278883934020996, 3.927684783935547, 3.927480936050415, 3.927277088165283, 3.927072763442993, 3.926868438720703, 3.926663875579834, 3.9264590740203857, 3.9262542724609375, 3.92604923248291, 3.9258439540863037, 3.925638437271118, 3.9254326820373535, 3.925226926803589, 3.925020933151245, 3.9248147010803223, 3.9246082305908203, 3.9244017601013184, 3.9241950511932373, 3.923988103866577, 3.923780918121338, 3.9235737323760986, 3.923366069793701, 3.9231584072113037, 3.922950506210327, 3.9227426052093506, 3.922534227371216, 3.922325849533081, 3.922117233276367, 3.921908378601074, 3.9216995239257812, 3.92149019241333, 3.921280860900879, 3.9210712909698486, 3.9208614826202393, 3.92065167427063, 3.9204413890838623, 3.9202311038970947, 3.920020580291748, 3.9198098182678223, 3.9195990562438965, 3.9193878173828125, 3.9191765785217285, 3.9189651012420654, 3.9187533855438232, 3.918541431427002, 3.9183294773101807, 3.918117046356201, 3.9179046154022217, 3.917691946029663, 3.9174792766571045, 3.9172661304473877, 3.917052984237671, 3.916839361190796, 3.916625738143921, 3.916411876678467, 3.9161980152130127, 3.9159836769104004, 3.915769338607788, 3.9155545234680176, 3.915339708328247, 3.9151246547698975, 3.914909601211548, 3.91469407081604, 3.9144785404205322, 3.914262533187866, 3.9140465259552, 3.913830280303955, 3.913613796234131, 3.9133973121643066, 3.913180351257324, 3.912963390350342, 3.9127461910247803, 3.9125287532806396, 3.91231107711792, 3.912093162536621, 3.911875009536743, 3.9116568565368652, 3.911438226699829, 3.911219596862793, 3.9110007286071777, 3.9107816219329834, 3.91056227684021, 3.9103426933288574, 3.910123109817505, 3.909903049468994, 3.9096829891204834, 3.9094624519348145, 3.9092419147491455, 3.9090211391448975, 3.9088001251220703, 3.908579111099243, 3.908357620239258, 3.9081358909606934, 3.907914161682129, 3.9076921939849854, 3.9074697494506836, 3.907247304916382, 3.907024621963501, 3.906801700592041, 3.906578540802002, 3.906355381011963, 3.9061317443847656, 3.9059078693389893, 3.905683994293213, 3.9054598808288574, 3.9052352905273438, 3.90501070022583, 3.9047858715057373, 3.9045608043670654, 3.9043354988098145, 3.9041099548339844, 3.903884172439575, 3.903658390045166, 3.9034321308135986, 3.9032058715820312, 3.9029791355133057, 3.90275239944458, 3.9025251865386963, 3.9022979736328125, 3.9020705223083496, 3.9018428325653076, 3.9016149044036865, 3.9013867378234863, 3.901158332824707, 3.9009296894073486, 3.900700807571411, 3.9004716873168945, 3.900242328643799, 3.900012969970703, 3.899783134460449, 3.899553060531616, 3.899322986602783, 3.899092435836792, 3.898861885070801, 3.8986308574676514, 3.898399829864502, 3.8981683254241943, 3.8979368209838867, 3.897705078125, 3.897473096847534, 3.89724063873291, 3.897008180618286, 3.896775484085083, 3.896542549133301, 3.8963091373443604, 3.89607572555542, 3.8958420753479004, 3.8956081867218018, 3.895374059677124, 3.895139694213867, 3.8949050903320312, 3.894670009613037, 3.894434928894043, 3.8941996097564697, 3.8939640522003174, 3.893728256225586, 3.8934922218322754, 3.8932559490203857, 3.893019437789917, 3.89278244972229, 3.892545461654663, 3.892308235168457, 3.892070770263672, 3.8918330669403076, 3.8915951251983643, 3.8913567066192627, 3.891118288040161, 3.8908796310424805, 3.8906404972076416, 3.8904013633728027, 3.8901619911193848, 3.8899221420288086, 3.8896822929382324, 3.889441967010498, 3.8892016410827637, 3.888960838317871, 3.8887197971343994, 3.8884787559509277, 3.888237237930298, 3.887995481491089, 3.887753486633301, 3.8875112533569336, 3.8872687816619873, 3.887026071548462, 3.8867831230163574, 3.886539936065674, 3.886296510696411, 3.8860528469085693, 3.8858087062835693, 3.8855645656585693, 3.885319948196411, 3.885075330734253, 3.8848302364349365, 3.884584903717041, 3.8843395709991455, 3.884093761444092, 3.883847713470459, 3.883601427078247, 3.883354663848877, 3.883107900619507, 3.8828608989715576, 3.88261342048645, 3.8823659420013428, 3.882117986679077, 3.8818697929382324, 3.8816213607788086, 3.8813726902008057, 3.8811237812042236, 3.8808746337890625, 3.880625009536743, 3.880375385284424, 3.8801252841949463, 3.8798751831054688, 3.879624605178833, 3.879373788833618, 3.879122734069824, 3.878871202468872, 3.87861967086792, 3.8783676624298096, 3.878115653991699, 3.8778631687164307, 3.877610445022583, 3.8773574829101562, 3.8771040439605713, 3.8768506050109863, 3.876596689224243, 3.8763427734375, 3.8760883808135986, 3.875833749771118, 3.8755786418914795, 3.875323534011841, 3.875067949295044, 3.874812364578247, 3.874556303024292, 3.874300003051758, 3.8740432262420654, 3.873786449432373, 3.8735291957855225, 3.8732717037200928, 3.873013973236084, 3.872756004333496, 3.872497797012329, 3.872239112854004, 3.8719801902770996, 3.871721029281616, 3.8714616298675537, 3.871201753616333, 3.8709418773651123, 3.8706815242767334, 3.8704209327697754, 3.870159864425659, 3.869898796081543, 3.8696372509002686, 3.869375467300415, 3.8691134452819824, 3.8688509464263916, 3.868588447570801, 3.8683254718780518, 3.8680620193481445, 3.8677985668182373, 3.867534637451172, 3.8672704696655273, 3.8670060634613037, 3.866741418838501, 3.86647629737854, 3.8662109375, 3.865945339202881, 3.8656792640686035, 3.865413188934326, 3.8651466369628906, 3.864879608154297, 3.864612579345703, 3.864345073699951, 3.86407732963562, 3.863809108734131, 3.8635408878326416, 3.863272190093994, 3.8630030155181885, 3.862733840942383, 3.862464189529419, 3.862194299697876, 3.861923933029175, 3.8616533279418945, 3.861382484436035, 3.8611114025115967, 3.86083984375, 3.860568046569824, 3.8602957725524902, 3.8600234985351562, 3.859750509262085, 3.8594775199890137, 3.859204053878784, 3.8589303493499756, 3.858656406402588, 3.858381986618042, 3.858107328414917, 3.857832193374634, 3.8575570583343506, 3.85728120803833, 3.8570053577423096, 3.856729030609131, 3.856452465057373, 3.856175422668457, 3.855898141860962, 3.8556206226348877, 3.8553426265716553, 3.8550643920898438, 3.854785680770874, 3.854506731033325, 3.8542275428771973, 3.853947877883911, 3.853667974472046, 3.8533878326416016, 3.853107213973999, 3.8528261184692383, 3.8525447845458984, 3.8522632122039795, 3.8519814014434814, 3.851699113845825, 3.8514163494110107, 3.851133346557617, 3.8508501052856445, 3.8505663871765137, 3.8502824306488037, 3.8499982357025146, 3.8497135639190674, 3.849428415298462, 3.8491430282592773, 3.8488574028015137, 3.848571300506592, 3.848284959793091, 3.8479981422424316, 3.8477108478546143, 3.847423553466797, 3.8471357822418213, 3.8468475341796875, 3.8465590476989746, 3.8462700843811035, 3.8459808826446533, 3.845691204071045, 3.8454012870788574, 3.8451108932495117, 3.844820261001587, 3.844529390335083, 3.844237804412842, 3.8439462184906006, 3.843653917312622, 3.8433616161346436, 3.8430685997009277, 3.842775583267212, 3.842481851577759, 3.8421881198883057, 3.8418936729431152, 3.8415989875793457, 3.841304063796997, 3.8410086631774902, 3.840712785720825, 3.840416669845581, 3.8401200771331787, 3.8398232460021973, 3.8395259380340576, 3.839228391647339, 3.838930130004883, 3.8386318683624268, 3.8383331298828125, 3.83803391456604, 3.8377344608306885, 3.8374345302581787, 3.8371341228485107, 3.8368334770202637, 3.8365323543548584, 3.836230993270874, 3.8359291553497314, 3.8356268405914307, 3.835324287414551, 3.8350212574005127, 3.8347177505493164, 3.834414005279541, 3.8341097831726074, 3.8338053226470947, 3.8335001468658447, 3.8331949710845947, 3.8328890800476074, 3.832582950592041, 3.8322763442993164, 3.8319694995880127, 3.831662178039551, 3.8313543796539307, 3.8310461044311523, 3.830737590789795, 3.8304286003112793, 3.8301193714141846, 3.8298094272613525, 3.8294992446899414, 3.829188823699951, 3.8288776874542236, 3.828566312789917, 3.828254461288452, 3.827942371368408, 3.827629566192627, 3.8273165225982666, 3.827003240585327, 3.8266892433166504, 3.8263750076293945, 3.8260602951049805, 3.825745105743408, 3.8254294395446777, 3.825113534927368, 3.8247971534729004, 3.8244802951812744, 3.8241629600524902, 3.823845386505127, 3.8235273361206055, 3.8232085704803467, 3.822889804840088, 3.822570323944092, 3.8222503662109375, 3.821930170059204, 3.8216094970703125, 3.8212883472442627, 3.8209667205810547, 3.8206448554992676, 3.820322275161743, 3.8199994564056396, 3.819676160812378, 3.819352388381958, 3.81902813911438, 3.8187034130096436, 3.818378448486328, 3.8180527687072754, 3.8177268505096436, 3.8174004554748535, 3.8170735836029053, 3.816746234893799, 3.816418409347534, 3.8160901069641113, 3.8157613277435303, 3.815432071685791, 3.8151025772094727, 3.814772367477417, 3.8144419193267822, 3.8141109943389893, 3.813779354095459, 3.8134474754333496, 3.813115119934082, 3.8127822875976562, 3.8124489784240723, 3.81211519241333, 3.8117809295654297, 3.811446189880371, 3.8111109733581543, 3.8107752799987793, 3.810439109802246, 3.8101024627685547, 3.809765338897705, 3.8094277381896973, 3.809089422225952, 3.808750867843628, 3.8084118366241455, 3.808072328567505, 3.807732343673706, 3.807391881942749, 3.807050943374634, 3.8067092895507812, 3.8063673973083496, 3.8060250282287598, 3.8056819438934326, 3.8053383827209473, 3.804994583129883, 3.804650068283081, 3.804305076599121, 3.803959608078003, 3.8036136627197266, 3.803267240524292, 3.802920341491699, 3.802572727203369, 3.80222487449646, 3.8018763065338135, 3.801527261734009, 3.801177740097046, 3.800827741622925, 3.8004772663116455, 3.800126075744629, 3.799774408340454, 3.7994225025177, 3.799069881439209, 3.7987165451049805, 3.798362970352173, 3.798008680343628, 3.797653913497925, 3.7972986698150635, 3.796942949295044, 3.796586751937866, 3.796229839324951, 3.795872449874878, 3.7955145835876465, 3.7951560020446777, 3.794796943664551, 3.7944374084472656, 3.7940773963928223, 3.7937166690826416, 3.7933554649353027, 3.7929937839508057, 3.7926316261291504, 3.792268753051758, 3.791905403137207, 3.791541337966919, 3.7911767959594727, 3.790811777114868, 3.7904462814331055, 3.7900800704956055, 3.7897133827209473, 3.7893459796905518, 3.788978099822998, 3.788609743118286, 3.788240671157837, 3.7878711223602295, 3.7875008583068848, 3.787130117416382, 3.7867588996887207, 3.7863869667053223, 3.7860145568847656, 3.7856414318084717, 3.7852678298950195, 3.784893751144409, 3.7845189571380615, 3.7841434478759766, 3.7837674617767334, 3.783390998840332, 3.7830138206481934, 3.7826359272003174, 3.782257556915283, 3.781878709793091, 3.781499147415161, 3.7811191082000732, 3.780738115310669, 3.7803568840026855, 3.779974937438965, 3.779592275619507, 3.7792091369628906, 3.778825283050537, 3.7784407138824463, 3.7780556678771973, 3.77767014503479, 3.7772836685180664, 3.7768969535827637, 3.7765092849731445, 3.776121139526367, 3.7757322788238525, 3.7753429412841797, 3.7749528884887695, 3.774562120437622, 3.7741706371307373, 3.7737786769866943, 3.773386001586914, 3.7729928493499756, 3.7725989818573, 3.7722043991088867, 3.7718091011047363, 3.7714133262634277, 3.771016836166382, 3.7706196308135986, 3.770221710205078, 3.7698230743408203, 3.7694239616394043, 3.769024133682251, 3.7686235904693604, 3.7682225704193115, 3.7678205966949463, 3.767418146133423, 3.767014980316162, 3.766611099243164, 3.7662065029144287, 3.765801429748535, 3.765395402908325, 3.764988899230957, 3.7645814418792725, 3.7641735076904297, 3.7637648582458496, 3.7633554935455322, 3.7629454135894775, 3.7625346183776855, 3.7621231079101562, 3.7617108821868896, 3.7612979412078857, 3.7608845233917236, 3.760470151901245, 3.7600550651550293, 3.759639263153076, 3.759222984313965, 3.758805751800537, 3.758387804031372, 3.7579691410064697, 3.75754976272583, 3.757129669189453, 3.756708860397339, 3.7562873363494873, 3.7558648586273193, 3.755441904067993, 3.7550179958343506, 3.75459361076355, 3.7541682720184326, 3.753742218017578, 3.7533154487609863, 3.752887725830078, 3.7524595260620117, 3.752030372619629, 3.751600503921509, 3.7511699199676514, 3.7507386207580566, 3.7503063678741455, 3.749873399734497, 3.7494397163391113, 3.7490053176879883, 3.748569965362549, 3.748133897781372, 3.747697114944458, 3.7472593784332275, 3.7468209266662598, 3.7463817596435547, 3.745941638946533, 3.7455008029937744, 3.7450592517852783, 3.744616746902466, 3.744173526763916, 3.74372935295105, 3.7432844638824463, 3.7428386211395264, 3.742392063140869, 3.7419447898864746, 3.7414965629577637, 3.7410476207733154, 3.740597724914551, 3.7401468753814697, 3.7396953105926514, 3.7392430305480957, 3.7387897968292236, 3.738335609436035, 3.7378807067871094, 3.737424850463867, 3.7369682788848877, 3.736510753631592, 3.7360522747039795, 3.73559308052063, 3.735132932662964, 3.7346718311309814, 3.7342100143432617, 3.7337472438812256, 3.733283519744873, 3.732819080352783, 3.732353448867798, 3.731887102127075, 3.7314200401306152, 3.7309517860412598, 3.730482816696167, 3.730012893676758, 3.7295420169830322, 3.7290701866149902, 3.728597402572632, 3.728123903274536, 3.727649211883545, 3.7271738052368164, 3.7266974449157715, 3.72622013092041, 3.7257418632507324, 3.725262403488159, 3.7247822284698486, 3.7243010997772217, 3.7238190174102783, 3.7233359813690186, 3.7228519916534424, 3.72236704826355, 3.721881151199341, 3.7213943004608154, 3.7209062576293945, 3.7204174995422363, 3.7199275493621826, 3.7194366455078125, 3.718944787979126, 3.718451976776123, 3.7179582118988037, 3.717463254928589, 3.7169675827026367, 3.71647047996521, 3.715972661972046, 3.7154738903045654, 3.7149739265441895, 3.714473009109497, 3.713970899581909, 3.713467836380005, 3.712963819503784, 3.712458848953247, 3.7119526863098145, 3.7114453315734863, 3.710937023162842, 3.710427761077881, 3.7099173069000244, 3.7094058990478516, 3.708893299102783, 3.7083797454833984, 3.707864999771118, 3.7073493003845215, 3.7068324089050293, 3.7063143253326416, 3.7057952880859375, 3.705275058746338, 3.704753875732422, 3.7042312622070312, 3.703707695007324, 3.703183174133301, 3.702657461166382, 3.7021303176879883, 3.7016024589538574, 3.701073169708252, 3.700542688369751, 3.7000112533569336, 3.6994786262512207, 3.6989448070526123, 3.6984097957611084, 3.697873592376709, 3.697336196899414, 3.6967978477478027, 3.696258068084717, 3.6957170963287354, 3.6951749324798584, 3.694631814956665, 3.694087266921997, 3.6935415267944336, 3.6929945945739746, 3.69244647026062, 3.691896915435791, 3.6913464069366455, 3.6907944679260254, 3.6902413368225098, 3.6896870136260986, 3.689131259918213, 3.6885745525360107, 3.688016414642334, 3.6874568462371826, 3.686896324157715, 3.6863341331481934, 3.6857709884643555, 3.685206413269043, 3.684640407562256, 3.6840732097625732, 3.683504819869995, 3.6829349994659424, 3.682363986968994, 3.6817915439605713, 3.681217670440674, 3.680642604827881, 3.6800661087036133, 3.679488182067871, 3.6789090633392334, 3.678328275680542, 3.677746534347534, 3.6771631240844727, 3.6765785217285156, 3.675992250442505, 3.6754047870635986, 3.6748158931732178, 3.6742255687713623, 3.6736338138580322, 3.6730406284332275, 3.6724460124969482, 3.6718499660491943, 3.671252489089966, 3.6706535816192627, 3.670053243637085, 3.6694514751434326, 3.6688480377197266, 3.668243408203125, 3.6676371097564697, 3.66702938079834, 3.6664199829101562, 3.665809154510498, 3.6651968955993652, 3.664583206176758, 3.6639678478240967, 3.663350820541382, 3.6627323627471924, 3.6621124744415283, 3.6614909172058105, 3.660867929458618, 3.660243272781372, 3.6596169471740723, 3.6589889526367188, 3.6583595275878906, 3.657728672027588, 3.6570959091186523, 3.656461715698242, 3.655825614929199, 3.6551880836486816, 3.6545488834381104, 3.6539080142974854, 3.6532657146453857, 3.6526215076446533, 3.651975631713867, 3.6513280868530273, 3.650678873062134, 3.6500277519226074, 3.6493752002716064, 3.6487207412719727, 3.648064613342285, 3.647406816482544, 3.646747350692749, 3.6460859775543213, 3.6454226970672607, 3.6447579860687256, 3.6440913677215576, 3.643422842025757, 3.6427524089813232, 3.642080545425415, 3.641406536102295, 3.640730857849121, 3.6400532722473145, 3.639373779296875, 3.638692617416382, 3.6380093097686768, 3.637324333190918, 3.6366374492645264, 3.635948657989502, 3.6352579593658447, 3.6345653533935547, 3.6338706016540527, 3.633174180984497, 3.6324756145477295, 3.631775140762329, 3.631072759628296, 3.63036847114563, 3.629662036895752, 3.628953695297241, 3.6282432079315186, 3.627530813217163, 3.6268162727355957, 3.6260998249053955, 3.6253812313079834, 3.6246607303619385, 3.6239378452301025, 3.623213052749634, 3.622486114501953, 3.6217570304870605, 3.621025800704956, 3.6202926635742188, 3.6195571422576904, 3.61881947517395, 3.618079662322998, 3.617337465286255, 3.616593360900879, 3.615846872329712, 3.615098237991333, 3.614347219467163, 3.6135940551757812, 3.6128387451171875, 3.6120810508728027, 3.611320972442627, 3.6105587482452393, 3.6097939014434814, 3.6090269088745117, 3.60825777053833, 3.6074860095977783, 3.6067118644714355, 3.605935573577881, 3.605156660079956, 3.6043753623962402, 3.6035916805267334, 3.6028053760528564, 3.6020166873931885, 3.6012256145477295, 3.6004321575164795, 3.5996358394622803, 3.598837375640869, 3.598036050796509, 3.5972323417663574, 3.596426010131836, 3.5956170558929443, 3.5948057174682617, 3.59399151802063, 3.593174695968628, 3.592355489730835, 3.5915334224700928, 3.5907084941864014, 3.589881181716919, 3.5890510082244873, 3.5882179737091064, 3.5873823165893555, 3.5865437984466553, 3.585702657699585, 3.5848586559295654, 3.5840117931365967, 3.5831620693206787, 3.5823094844818115, 3.581454038619995, 3.5805957317352295, 3.5797343254089355, 3.5788702964782715, 3.5780029296875, 3.5771329402923584, 3.5762598514556885, 3.5753836631774902, 3.5745043754577637, 3.573622226715088, 3.572736978530884, 3.5718483924865723, 3.5709569454193115, 3.5700621604919434, 3.569164514541626, 3.568263530731201, 3.567359209060669, 3.5664517879486084, 3.5655410289764404, 3.564627170562744, 3.5637099742889404, 3.56278920173645, 3.5618653297424316, 3.5609381198883057, 3.5600075721740723, 3.5590734481811523, 3.558135986328125, 3.557194948196411, 3.55625057220459, 3.555302619934082, 3.5543510913848877, 3.553395986557007, 3.5524375438690186, 3.5514752864837646, 3.550509452819824, 3.549539804458618, 3.5485665798187256, 3.5475897789001465, 3.5466091632843018, 3.5456247329711914, 3.5446364879608154, 3.543644428253174, 3.5426483154296875, 3.5416486263275146, 3.540644884109497, 3.539637327194214, 3.538625717163086, 3.5376100540161133, 3.536590337753296, 3.535566568374634, 3.534538745880127, 3.5335068702697754, 3.532470703125, 3.53143048286438, 3.530385971069336, 3.529337167739868, 3.5282840728759766, 3.527226686477661, 3.5261647701263428, 3.5250988006591797, 3.5240280628204346, 3.5229530334472656, 3.521873712539673, 3.520789623260498, 3.5197010040283203, 3.5186076164245605, 3.517509698867798, 3.5164072513580322, 3.5152997970581055, 3.514187812805176, 3.513071060180664, 3.511949300765991, 3.5108227729797363, 3.5096912384033203, 3.508554697036743, 3.507413387298584, 3.5062668323516846, 3.505115270614624, 3.5039584636688232, 3.5027966499328613, 3.50162935256958, 3.5004570484161377, 3.499279260635376, 3.498096227645874, 3.4969077110290527, 3.495713710784912, 3.4945144653320312, 3.493309259414673, 3.492098808288574, 3.490882635116577, 3.4896605014801025, 3.4884328842163086, 3.487199306488037, 3.485960006713867, 3.4847147464752197, 3.4834635257720947, 3.482206344604492, 3.480942964553833, 3.4796736240386963, 3.478397846221924, 3.477116107940674, 3.475827932357788, 3.4745333194732666, 3.4732322692871094, 3.4719247817993164, 3.4706108570098877, 3.469290256500244, 3.4679629802703857, 3.4666287899017334, 3.4652881622314453, 3.463940382003784, 3.462585687637329, 3.46122407913208, 3.459855318069458, 3.458479404449463, 3.4570963382720947, 3.4557058811187744, 3.454308032989502, 3.4529027938842773, 3.4514901638031006, 3.4500699043273926, 3.448641777038574, 3.4472060203552246, 3.4457623958587646, 3.4443109035491943, 3.4428513050079346, 3.4413838386535645, 3.439908027648926, 3.4384241104125977, 3.436931610107422, 3.4354307651519775, 3.4339215755462646, 3.432403564453125, 3.4308769702911377, 3.4293413162231445, 3.4277970790863037, 3.426243543624878, 3.4246811866760254, 3.423109292984009, 3.4215283393859863, 3.4199378490448, 3.418337821960449, 3.4167282581329346, 3.4151089191436768, 3.4134795665740967, 3.4118404388427734, 3.410191059112549, 3.408531665802002, 3.4068617820739746, 3.405181407928467, 3.4034905433654785, 3.4017889499664307, 3.400076389312744, 3.398353099822998, 3.396618604660034, 3.3948726654052734, 3.393115520477295, 3.3913466930389404, 3.389566421508789, 3.3877742290496826, 3.385970115661621, 3.3841538429260254, 3.3823251724243164, 3.380484104156494, 3.3786303997039795, 3.3767640590667725, 3.374884843826294, 3.3729922771453857, 3.371086597442627, 3.3691673278808594, 3.367234706878662, 3.365288019180298, 3.3633272647857666, 3.3613524436950684, 3.359363079071045, 3.3573591709136963, 3.3553404808044434, 3.353306770324707, 3.351257801055908, 3.3491933345794678, 3.3471131324768066, 3.345017194747925, 3.342905044555664, 3.3407764434814453, 3.3386311531066895, 3.3364691734313965, 3.334290027618408, 3.3320934772491455, 3.3298792839050293, 3.3276469707489014, 3.325396776199341, 3.3231279850006104, 3.320840358734131, 3.3185336589813232, 3.3162076473236084, 3.3138620853424072, 3.3114962577819824, 3.309110164642334, 3.306703567504883, 3.3042757511138916, 3.3018267154693604, 3.299355983734131, 3.296863079071045, 3.2943477630615234, 3.2918097972869873, 3.28924822807312, 3.286663293838501, 3.2840542793273926, 3.2814207077026367, 3.278762102127075, 3.276078224182129, 3.2733683586120605, 3.270632266998291, 3.267869472503662, 3.2650792598724365, 3.262261390686035, 3.2594149112701416, 3.256539821624756, 3.2536349296569824, 3.2507002353668213, 3.247734785079956, 3.2447383403778076, 3.2417097091674805, 3.2386488914489746, 3.2355546951293945, 3.232426643371582, 3.2292640209198, 3.2260661125183105, 3.222832202911377, 3.2195615768432617, 3.2162532806396484, 3.2129063606262207, 3.2095203399658203, 3.2060940265655518, 3.2026267051696777, 3.1991171836853027, 3.1955649852752686, 3.1919684410095215, 3.1883270740509033, 3.1846394538879395, 3.1809048652648926, 3.177121639251709, 3.1732890605926514, 3.169405460357666, 3.1654698848724365, 3.1614809036254883, 3.1574370861053467, 3.153337001800537, 3.149179220199585, 3.1449620723724365, 3.1406843662261963, 3.1363437175750732, 3.131938934326172, 3.1274681091308594, 3.122929334640503, 3.1183204650878906, 3.1136398315429688, 3.108884811401367, 3.104053497314453, 3.0991435050964355, 3.0941522121429443, 3.0890772342681885, 3.083915948867798, 3.0786654949188232, 3.0733230113983154, 3.067885160446167, 3.0623490810394287, 3.056710958480835, 3.0509676933288574, 3.0451154708862305, 3.0391499996185303, 3.033067464828491, 3.0268633365631104, 3.0205330848693848, 3.0140717029571533, 3.007474184036255, 3.000734806060791, 2.9938483238220215, 2.9868080615997314, 2.9796078205108643, 2.972240447998047, 2.9646987915039062, 2.956974744796753, 2.9490604400634766, 2.940946340560913, 2.9326233863830566, 2.9240808486938477, 2.9153079986572266, 2.9062931537628174, 2.8970234394073486, 2.8874852657318115, 2.8776636123657227, 2.8675425052642822, 2.857104778289795, 2.8463311195373535, 2.8352015018463135, 2.82369327545166, 2.811781883239746, 2.799440383911133, 2.7866389751434326, 2.7733452320098877, 2.7595229148864746, 2.745131731033325, 2.7301270961761475, 2.714458703994751, 2.698070764541626, 2.6808993816375732, 2.6628730297088623, 2.6439099311828613, 2.6239161491394043, 2.602783679962158, 2.580387592315674, 2.5565812587738037, 2.5311927795410156, 2.5040173530578613, 2.4748096466064453, 2.4432718753814697, 2.4090383052825928, 2.3716535568237305, 2.330540180206299, 2.2849531173706055, 2.233907699584961, 2.1760683059692383, 2.1095616817474365, 2.0316519737243652, 1.9381346702575684, 1.8221195936203003, 1.671385645866394, 1.462499976158142, 1.1531180143356323, 0, 0] \ No newline at end of file diff --git a/anomaly-detector/build.py b/anomaly-detector/build.py deleted file mode 100644 index 16a9d05..0000000 --- a/anomaly-detector/build.py +++ /dev/null @@ -1,63 +0,0 @@ -# --------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# --------------------------------------------------------- - -import os -import os -import numpy as np -from distutils.errors import CCompilerError, DistutilsExecError, DistutilsPlatformError - -# See if Cython is installed -try: - from Cython.Build import cythonize -# Do nothing if Cython is not available -except ImportError: - # Got to provide this function. Otherwise, poetry will fail - def build(setup_kwargs): - pass -# Cython is installed. Compile -else: - from setuptools import Extension - from setuptools.dist import Distribution - from setuptools.command.build_ext import build_ext -# use cythonize to build the extensions -modules = ["./anomaly_detector/univariate/*.pyx"] -extensions = cythonize(modules, - language_level=3, - compiler_directives={'linetrace': True}, - ) - - -# cmdclass = {'build_ext': build_ext} -class BuildFailed(Exception): - pass - - -class ExtBuilder(build_ext): - - def run(self): - try: - build_ext.run(self) - except (DistutilsPlatformError, FileNotFoundError): - raise BuildFailed('File not found. Could not compile C extension.') - - def build_extension(self, ext): - try: - build_ext.build_extension(self, ext) - except (CCompilerError, DistutilsExecError, DistutilsPlatformError, ValueError): - raise BuildFailed('Could not compile C extension.') - - -cmdclass = {"build_ext": ExtBuilder} - - -def build(setup_kwargs): - """Needed for the poetry building interface.""" - - os.environ['CFLAGS'] = '-O3' - - setup_kwargs.update({ - 'ext_modules': extensions, - 'include_dirs': [np.get_include()], - 'cmdclass': cmdclass - }) diff --git a/anomaly-detector/poetry.lock b/anomaly-detector/poetry.lock deleted file mode 100644 index 2503049..0000000 --- a/anomaly-detector/poetry.lock +++ /dev/null @@ -1,2222 +0,0 @@ -# This file is automatically @generated by Poetry 1.7.1 and should not be changed by hand. - -[[package]] -name = "alembic" -version = "1.13.1" -description = "A database migration tool for SQLAlchemy." -optional = false -python-versions = ">=3.8" -files = [ - {file = "alembic-1.13.1-py3-none-any.whl", hash = "sha256:2edcc97bed0bd3272611ce3a98d98279e9c209e7186e43e75bbb1b2bdfdbcc43"}, - {file = "alembic-1.13.1.tar.gz", hash = "sha256:4932c8558bf68f2ee92b9bbcb8218671c627064d5b08939437af6d77dc05e595"}, -] - -[package.dependencies] -Mako = "*" -SQLAlchemy = ">=1.3.0" -typing-extensions = ">=4" - -[package.extras] -tz = ["backports.zoneinfo"] - -[[package]] -name = "arch" -version = "6.3.0" -description = "ARCH for Python" -optional = false -python-versions = ">=3.9" -files = [ - {file = "arch-6.3.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:179ea15e96d1aafdf88c470f9d4cbda867e5a379b629dde282c1d85691d66598"}, - {file = "arch-6.3.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:ecc23e58836c12073f105c4bd78efd3fb1caf335b0d3d80f5914fe01a6eaa3fc"}, - {file = "arch-6.3.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5573b4f9331993019b8fcbb2e6edf249e17a9a5f27a02c0fc2c07a1a41da9f3b"}, - {file = "arch-6.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d9cf2ddeb076e276d0f350449253d578c59df8170738727a2b5171ae9d98784b"}, - {file = "arch-6.3.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:5446d681555419cb0739006c706c69435975e93e5104a8cf114bdea88a3e841a"}, - {file = "arch-6.3.0-cp310-cp310-win_amd64.whl", hash = "sha256:92997633de472d2d1c142262d947bc4b6e7ad50e73686695cf3767942b6a6a2f"}, - {file = "arch-6.3.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:af144ec65d6a99cc1a5c06327cf1c957de7a6936e84bd4b3d7604cc0084b2f02"}, - {file = "arch-6.3.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:9a53c8b1d8f6237ebe4718451b1ef6fc5738a124e0454bdd6fabf22bdbe570da"}, - {file = "arch-6.3.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:830add5723f7491226f4a58e97c84b7bfa584255581d8f9c624fa97de5f7686d"}, - {file = "arch-6.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d1488ab7b4f15a071581e3ea2bc5199af4586558e414da539a62919ae2bcc11c"}, - {file = "arch-6.3.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:5aa8d428f6147e6f22343673c54ea4846968a5e8d37f35b39d824a0a0bf115ee"}, - {file = "arch-6.3.0-cp311-cp311-win_amd64.whl", hash = "sha256:844ab59b7fb24cd65ada9491e6e2423a6dac76f0b53e1350ec469efeb45cf617"}, - {file = "arch-6.3.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:6f406b1d2b9e07cb233779f7f737541695c04ae07caea26082c028fbe6766ca6"}, - {file = "arch-6.3.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:c67187d2bfa66c3a4e2bd67423780e88f63fc5413bf97adf765b034c8226b969"}, - {file = "arch-6.3.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:82874a0831fa13a28b3d3eb934a61ca26fd92b2e37a716147601b6d0a1292c9a"}, - {file = "arch-6.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:573913e6ee2ab703dcda2bba73ebc20dd6f4ab2622e640ac1e50367a5a99449c"}, - {file = "arch-6.3.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:35b4e480d6241691cce591950f99d688e6866761e8946e68eaae8bb4f73db00c"}, - {file = "arch-6.3.0-cp312-cp312-win_amd64.whl", hash = "sha256:10bad48b79059ae3661c7d744e0aea3c857211c1b447bdc466fd54664c2079e1"}, - {file = "arch-6.3.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:0b82d4c1c6012d5f6ce80ba85020db281658ada0af448e18fa4b5424a0e2f7c2"}, - {file = "arch-6.3.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:d0ddf235084f8ef7b396ff4eb259a03759c34daec7ab2c777d3fe7271418518e"}, - {file = "arch-6.3.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:88c61d8909971110427007fba5021c1f5fcc7cac386ca961d38a6501b76ff207"}, - {file = "arch-6.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d3c1138b80043b3179ad2fe66127fa799c5c19759c15284d70945736463ea732"}, - {file = "arch-6.3.0-cp39-cp39-win32.whl", hash = "sha256:c36b19010644dd42830fbd6bbe03f961270fb9e4af4afae24d38c1685b6e3e24"}, - {file = "arch-6.3.0-cp39-cp39-win_amd64.whl", hash = "sha256:21487863371d4d36d202f06974db5095b83339c10faeec0e67f1acc7cf7d22dc"}, - {file = "arch-6.3.0.tar.gz", hash = "sha256:6c56d8cb8a530723c68cb432bb9839490272c90614264d4ec241fe56b1fd96b7"}, -] - -[package.dependencies] -numpy = ">=1.19" -pandas = ">=1.1" -scipy = ">=1.5" -statsmodels = ">=0.12" - -[[package]] -name = "blinker" -version = "1.7.0" -description = "Fast, simple object-to-object and broadcast signaling" -optional = false -python-versions = ">=3.8" -files = [ - {file = "blinker-1.7.0-py3-none-any.whl", hash = "sha256:c3f865d4d54db7abc53758a01601cf343fe55b84c1de4e3fa910e420b438d5b9"}, - {file = "blinker-1.7.0.tar.gz", hash = "sha256:e6820ff6fa4e4d1d8e2747c2283749c3f547e4fee112b98555cdcdae32996182"}, -] - -[[package]] -name = "certifi" -version = "2023.11.17" -description = "Python package for providing Mozilla's CA Bundle." -optional = false -python-versions = ">=3.6" -files = [ - {file = "certifi-2023.11.17-py3-none-any.whl", hash = "sha256:e036ab49d5b79556f99cfc2d9320b34cfbe5be05c5871b51de9329f0603b0474"}, - {file = "certifi-2023.11.17.tar.gz", hash = "sha256:9b469f3a900bf28dc19b8cfbf8019bf47f7fdd1a65a1d4ffb98fc14166beb4d1"}, -] - -[[package]] -name = "charset-normalizer" -version = "3.3.2" -description = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet." -optional = false -python-versions = ">=3.7.0" -files = [ - {file = "charset-normalizer-3.3.2.tar.gz", hash = "sha256:f30c3cb33b24454a82faecaf01b19c18562b1e89558fb6c56de4d9118a032fd5"}, - {file = "charset_normalizer-3.3.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:25baf083bf6f6b341f4121c2f3c548875ee6f5339300e08be3f2b2ba1721cdd3"}, - {file = "charset_normalizer-3.3.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:06435b539f889b1f6f4ac1758871aae42dc3a8c0e24ac9e60c2384973ad73027"}, - {file = "charset_normalizer-3.3.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:9063e24fdb1e498ab71cb7419e24622516c4a04476b17a2dab57e8baa30d6e03"}, - {file = "charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6897af51655e3691ff853668779c7bad41579facacf5fd7253b0133308cf000d"}, - {file = "charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1d3193f4a680c64b4b6a9115943538edb896edc190f0b222e73761716519268e"}, - {file = "charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:cd70574b12bb8a4d2aaa0094515df2463cb429d8536cfb6c7ce983246983e5a6"}, - {file = "charset_normalizer-3.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8465322196c8b4d7ab6d1e049e4c5cb460d0394da4a27d23cc242fbf0034b6b5"}, - {file = "charset_normalizer-3.3.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a9a8e9031d613fd2009c182b69c7b2c1ef8239a0efb1df3f7c8da66d5dd3d537"}, - {file = "charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:beb58fe5cdb101e3a055192ac291b7a21e3b7ef4f67fa1d74e331a7f2124341c"}, - {file = "charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:e06ed3eb3218bc64786f7db41917d4e686cc4856944f53d5bdf83a6884432e12"}, - {file = "charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:2e81c7b9c8979ce92ed306c249d46894776a909505d8f5a4ba55b14206e3222f"}, - {file = "charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:572c3763a264ba47b3cf708a44ce965d98555f618ca42c926a9c1616d8f34269"}, - {file = "charset_normalizer-3.3.2-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:fd1abc0d89e30cc4e02e4064dc67fcc51bd941eb395c502aac3ec19fab46b519"}, - {file = "charset_normalizer-3.3.2-cp310-cp310-win32.whl", hash = "sha256:3d47fa203a7bd9c5b6cee4736ee84ca03b8ef23193c0d1ca99b5089f72645c73"}, - {file = "charset_normalizer-3.3.2-cp310-cp310-win_amd64.whl", hash = "sha256:10955842570876604d404661fbccbc9c7e684caf432c09c715ec38fbae45ae09"}, - {file = "charset_normalizer-3.3.2-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:802fe99cca7457642125a8a88a084cef28ff0cf9407060f7b93dca5aa25480db"}, - {file = "charset_normalizer-3.3.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:573f6eac48f4769d667c4442081b1794f52919e7edada77495aaed9236d13a96"}, - {file = "charset_normalizer-3.3.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:549a3a73da901d5bc3ce8d24e0600d1fa85524c10287f6004fbab87672bf3e1e"}, - {file = "charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f27273b60488abe721a075bcca6d7f3964f9f6f067c8c4c605743023d7d3944f"}, - {file = "charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1ceae2f17a9c33cb48e3263960dc5fc8005351ee19db217e9b1bb15d28c02574"}, - {file = "charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:65f6f63034100ead094b8744b3b97965785388f308a64cf8d7c34f2f2e5be0c4"}, - {file = "charset_normalizer-3.3.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:753f10e867343b4511128c6ed8c82f7bec3bd026875576dfd88483c5c73b2fd8"}, - {file = "charset_normalizer-3.3.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:4a78b2b446bd7c934f5dcedc588903fb2f5eec172f3d29e52a9096a43722adfc"}, - {file = "charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:e537484df0d8f426ce2afb2d0f8e1c3d0b114b83f8850e5f2fbea0e797bd82ae"}, - {file = "charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:eb6904c354526e758fda7167b33005998fb68c46fbc10e013ca97f21ca5c8887"}, - {file = "charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:deb6be0ac38ece9ba87dea880e438f25ca3eddfac8b002a2ec3d9183a454e8ae"}, - {file = "charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:4ab2fe47fae9e0f9dee8c04187ce5d09f48eabe611be8259444906793ab7cbce"}, - {file = "charset_normalizer-3.3.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:80402cd6ee291dcb72644d6eac93785fe2c8b9cb30893c1af5b8fdd753b9d40f"}, - {file = "charset_normalizer-3.3.2-cp311-cp311-win32.whl", hash = "sha256:7cd13a2e3ddeed6913a65e66e94b51d80a041145a026c27e6bb76c31a853c6ab"}, - {file = "charset_normalizer-3.3.2-cp311-cp311-win_amd64.whl", hash = "sha256:663946639d296df6a2bb2aa51b60a2454ca1cb29835324c640dafb5ff2131a77"}, - {file = "charset_normalizer-3.3.2-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:0b2b64d2bb6d3fb9112bafa732def486049e63de9618b5843bcdd081d8144cd8"}, - {file = "charset_normalizer-3.3.2-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:ddbb2551d7e0102e7252db79ba445cdab71b26640817ab1e3e3648dad515003b"}, - {file = "charset_normalizer-3.3.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:55086ee1064215781fff39a1af09518bc9255b50d6333f2e4c74ca09fac6a8f6"}, - {file = "charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8f4a014bc36d3c57402e2977dada34f9c12300af536839dc38c0beab8878f38a"}, - {file = "charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a10af20b82360ab00827f916a6058451b723b4e65030c5a18577c8b2de5b3389"}, - {file = "charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8d756e44e94489e49571086ef83b2bb8ce311e730092d2c34ca8f7d925cb20aa"}, - {file = "charset_normalizer-3.3.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:90d558489962fd4918143277a773316e56c72da56ec7aa3dc3dbbe20fdfed15b"}, - {file = "charset_normalizer-3.3.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6ac7ffc7ad6d040517be39eb591cac5ff87416c2537df6ba3cba3bae290c0fed"}, - {file = "charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:7ed9e526742851e8d5cc9e6cf41427dfc6068d4f5a3bb03659444b4cabf6bc26"}, - {file = "charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:8bdb58ff7ba23002a4c5808d608e4e6c687175724f54a5dade5fa8c67b604e4d"}, - {file = "charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:6b3251890fff30ee142c44144871185dbe13b11bab478a88887a639655be1068"}, - {file = "charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_s390x.whl", hash = "sha256:b4a23f61ce87adf89be746c8a8974fe1c823c891d8f86eb218bb957c924bb143"}, - {file = "charset_normalizer-3.3.2-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:efcb3f6676480691518c177e3b465bcddf57cea040302f9f4e6e191af91174d4"}, - {file = "charset_normalizer-3.3.2-cp312-cp312-win32.whl", hash = "sha256:d965bba47ddeec8cd560687584e88cf699fd28f192ceb452d1d7ee807c5597b7"}, - {file = "charset_normalizer-3.3.2-cp312-cp312-win_amd64.whl", hash = "sha256:96b02a3dc4381e5494fad39be677abcb5e6634bf7b4fa83a6dd3112607547001"}, - {file = "charset_normalizer-3.3.2-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:95f2a5796329323b8f0512e09dbb7a1860c46a39da62ecb2324f116fa8fdc85c"}, - {file = "charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c002b4ffc0be611f0d9da932eb0f704fe2602a9a949d1f738e4c34c75b0863d5"}, - {file = "charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:a981a536974bbc7a512cf44ed14938cf01030a99e9b3a06dd59578882f06f985"}, - {file = "charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3287761bc4ee9e33561a7e058c72ac0938c4f57fe49a09eae428fd88aafe7bb6"}, - {file = "charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:42cb296636fcc8b0644486d15c12376cb9fa75443e00fb25de0b8602e64c1714"}, - {file = "charset_normalizer-3.3.2-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0a55554a2fa0d408816b3b5cedf0045f4b8e1a6065aec45849de2d6f3f8e9786"}, - {file = "charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:c083af607d2515612056a31f0a8d9e0fcb5876b7bfc0abad3ecd275bc4ebc2d5"}, - {file = "charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:87d1351268731db79e0f8e745d92493ee2841c974128ef629dc518b937d9194c"}, - {file = "charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:bd8f7df7d12c2db9fab40bdd87a7c09b1530128315d047a086fa3ae3435cb3a8"}, - {file = "charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:c180f51afb394e165eafe4ac2936a14bee3eb10debc9d9e4db8958fe36afe711"}, - {file = "charset_normalizer-3.3.2-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:8c622a5fe39a48f78944a87d4fb8a53ee07344641b0562c540d840748571b811"}, - {file = "charset_normalizer-3.3.2-cp37-cp37m-win32.whl", hash = "sha256:db364eca23f876da6f9e16c9da0df51aa4f104a972735574842618b8c6d999d4"}, - {file = "charset_normalizer-3.3.2-cp37-cp37m-win_amd64.whl", hash = "sha256:86216b5cee4b06df986d214f664305142d9c76df9b6512be2738aa72a2048f99"}, - {file = "charset_normalizer-3.3.2-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:6463effa3186ea09411d50efc7d85360b38d5f09b870c48e4600f63af490e56a"}, - {file = "charset_normalizer-3.3.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:6c4caeef8fa63d06bd437cd4bdcf3ffefe6738fb1b25951440d80dc7df8c03ac"}, - {file = "charset_normalizer-3.3.2-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:37e55c8e51c236f95b033f6fb391d7d7970ba5fe7ff453dad675e88cf303377a"}, - {file = "charset_normalizer-3.3.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fb69256e180cb6c8a894fee62b3afebae785babc1ee98b81cdf68bbca1987f33"}, - {file = "charset_normalizer-3.3.2-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ae5f4161f18c61806f411a13b0310bea87f987c7d2ecdbdaad0e94eb2e404238"}, - {file = "charset_normalizer-3.3.2-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b2b0a0c0517616b6869869f8c581d4eb2dd83a4d79e0ebcb7d373ef9956aeb0a"}, - {file = "charset_normalizer-3.3.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:45485e01ff4d3630ec0d9617310448a8702f70e9c01906b0d0118bdf9d124cf2"}, - {file = "charset_normalizer-3.3.2-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:eb00ed941194665c332bf8e078baf037d6c35d7c4f3102ea2d4f16ca94a26dc8"}, - {file = "charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:2127566c664442652f024c837091890cb1942c30937add288223dc895793f898"}, - {file = "charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:a50aebfa173e157099939b17f18600f72f84eed3049e743b68ad15bd69b6bf99"}, - {file = "charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:4d0d1650369165a14e14e1e47b372cfcb31d6ab44e6e33cb2d4e57265290044d"}, - {file = "charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:923c0c831b7cfcb071580d3f46c4baf50f174be571576556269530f4bbd79d04"}, - {file = "charset_normalizer-3.3.2-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:06a81e93cd441c56a9b65d8e1d043daeb97a3d0856d177d5c90ba85acb3db087"}, - {file = "charset_normalizer-3.3.2-cp38-cp38-win32.whl", hash = "sha256:6ef1d82a3af9d3eecdba2321dc1b3c238245d890843e040e41e470ffa64c3e25"}, - {file = "charset_normalizer-3.3.2-cp38-cp38-win_amd64.whl", hash = "sha256:eb8821e09e916165e160797a6c17edda0679379a4be5c716c260e836e122f54b"}, - {file = "charset_normalizer-3.3.2-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:c235ebd9baae02f1b77bcea61bce332cb4331dc3617d254df3323aa01ab47bd4"}, - {file = "charset_normalizer-3.3.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:5b4c145409bef602a690e7cfad0a15a55c13320ff7a3ad7ca59c13bb8ba4d45d"}, - {file = "charset_normalizer-3.3.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:68d1f8a9e9e37c1223b656399be5d6b448dea850bed7d0f87a8311f1ff3dabb0"}, - {file = "charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:22afcb9f253dac0696b5a4be4a1c0f8762f8239e21b99680099abd9b2b1b2269"}, - {file = "charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e27ad930a842b4c5eb8ac0016b0a54f5aebbe679340c26101df33424142c143c"}, - {file = "charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:1f79682fbe303db92bc2b1136016a38a42e835d932bab5b3b1bfcfbf0640e519"}, - {file = "charset_normalizer-3.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b261ccdec7821281dade748d088bb6e9b69e6d15b30652b74cbbac25e280b796"}, - {file = "charset_normalizer-3.3.2-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:122c7fa62b130ed55f8f285bfd56d5f4b4a5b503609d181f9ad85e55c89f4185"}, - {file = "charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:d0eccceffcb53201b5bfebb52600a5fb483a20b61da9dbc885f8b103cbe7598c"}, - {file = "charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:9f96df6923e21816da7e0ad3fd47dd8f94b2a5ce594e00677c0013018b813458"}, - {file = "charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:7f04c839ed0b6b98b1a7501a002144b76c18fb1c1850c8b98d458ac269e26ed2"}, - {file = "charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:34d1c8da1e78d2e001f363791c98a272bb734000fcef47a491c1e3b0505657a8"}, - {file = "charset_normalizer-3.3.2-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:ff8fa367d09b717b2a17a052544193ad76cd49979c805768879cb63d9ca50561"}, - {file = "charset_normalizer-3.3.2-cp39-cp39-win32.whl", hash = "sha256:aed38f6e4fb3f5d6bf81bfa990a07806be9d83cf7bacef998ab1a9bd660a581f"}, - {file = "charset_normalizer-3.3.2-cp39-cp39-win_amd64.whl", hash = "sha256:b01b88d45a6fcb69667cd6d2f7a9aeb4bf53760d7fc536bf679ec94fe9f3ff3d"}, - {file = "charset_normalizer-3.3.2-py3-none-any.whl", hash = "sha256:3e4d1f6587322d2788836a99c69062fbb091331ec940e02d12d179c1d53e25fc"}, -] - -[[package]] -name = "click" -version = "8.1.7" -description = "Composable command line interface toolkit" -optional = false -python-versions = ">=3.7" -files = [ - {file = "click-8.1.7-py3-none-any.whl", hash = "sha256:ae74fb96c20a0277a1d615f1e4d73c8414f5a98db8b799a7931d1582f3390c28"}, - {file = "click-8.1.7.tar.gz", hash = "sha256:ca9853ad459e787e2192211578cc907e7594e294c7ccc834310722b41b9ca6de"}, -] - -[package.dependencies] -colorama = {version = "*", markers = "platform_system == \"Windows\""} - -[[package]] -name = "cloudpickle" -version = "3.0.0" -description = "Pickler class to extend the standard pickle.Pickler functionality" -optional = false -python-versions = ">=3.8" -files = [ - {file = "cloudpickle-3.0.0-py3-none-any.whl", hash = "sha256:246ee7d0c295602a036e86369c77fecda4ab17b506496730f2f576d9016fd9c7"}, - {file = "cloudpickle-3.0.0.tar.gz", hash = "sha256:996d9a482c6fb4f33c1a35335cf8afd065d2a56e973270364840712d9131a882"}, -] - -[[package]] -name = "colorama" -version = "0.4.6" -description = "Cross-platform colored terminal text." -optional = false -python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7" -files = [ - {file = "colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6"}, - {file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"}, -] - -[[package]] -name = "contourpy" -version = "1.2.0" -description = "Python library for calculating contours of 2D quadrilateral grids" -optional = false -python-versions = ">=3.9" -files = [ - {file = "contourpy-1.2.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:0274c1cb63625972c0c007ab14dd9ba9e199c36ae1a231ce45d725cbcbfd10a8"}, - {file = "contourpy-1.2.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:ab459a1cbbf18e8698399c595a01f6dcc5c138220ca3ea9e7e6126232d102bb4"}, - {file = "contourpy-1.2.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6fdd887f17c2f4572ce548461e4f96396681212d858cae7bd52ba3310bc6f00f"}, - {file = "contourpy-1.2.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:5d16edfc3fc09968e09ddffada434b3bf989bf4911535e04eada58469873e28e"}, - {file = "contourpy-1.2.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:1c203f617abc0dde5792beb586f827021069fb6d403d7f4d5c2b543d87edceb9"}, - {file = "contourpy-1.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b69303ceb2e4d4f146bf82fda78891ef7bcd80c41bf16bfca3d0d7eb545448aa"}, - {file = "contourpy-1.2.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:884c3f9d42d7218304bc74a8a7693d172685c84bd7ab2bab1ee567b769696df9"}, - {file = "contourpy-1.2.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:4a1b1208102be6e851f20066bf0e7a96b7d48a07c9b0cfe6d0d4545c2f6cadab"}, - {file = "contourpy-1.2.0-cp310-cp310-win32.whl", hash = "sha256:34b9071c040d6fe45d9826cbbe3727d20d83f1b6110d219b83eb0e2a01d79488"}, - {file = "contourpy-1.2.0-cp310-cp310-win_amd64.whl", hash = "sha256:bd2f1ae63998da104f16a8b788f685e55d65760cd1929518fd94cd682bf03e41"}, - {file = "contourpy-1.2.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:dd10c26b4eadae44783c45ad6655220426f971c61d9b239e6f7b16d5cdaaa727"}, - {file = "contourpy-1.2.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:5c6b28956b7b232ae801406e529ad7b350d3f09a4fde958dfdf3c0520cdde0dd"}, - {file = "contourpy-1.2.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ebeac59e9e1eb4b84940d076d9f9a6cec0064e241818bcb6e32124cc5c3e377a"}, - {file = "contourpy-1.2.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:139d8d2e1c1dd52d78682f505e980f592ba53c9f73bd6be102233e358b401063"}, - {file = "contourpy-1.2.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:1e9dc350fb4c58adc64df3e0703ab076f60aac06e67d48b3848c23647ae4310e"}, - {file = "contourpy-1.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:18fc2b4ed8e4a8fe849d18dce4bd3c7ea637758c6343a1f2bae1e9bd4c9f4686"}, - {file = "contourpy-1.2.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:16a7380e943a6d52472096cb7ad5264ecee36ed60888e2a3d3814991a0107286"}, - {file = "contourpy-1.2.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:8d8faf05be5ec8e02a4d86f616fc2a0322ff4a4ce26c0f09d9f7fb5330a35c95"}, - {file = "contourpy-1.2.0-cp311-cp311-win32.whl", hash = "sha256:67b7f17679fa62ec82b7e3e611c43a016b887bd64fb933b3ae8638583006c6d6"}, - {file = "contourpy-1.2.0-cp311-cp311-win_amd64.whl", hash = "sha256:99ad97258985328b4f207a5e777c1b44a83bfe7cf1f87b99f9c11d4ee477c4de"}, - {file = "contourpy-1.2.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:575bcaf957a25d1194903a10bc9f316c136c19f24e0985a2b9b5608bdf5dbfe0"}, - {file = "contourpy-1.2.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:9e6c93b5b2dbcedad20a2f18ec22cae47da0d705d454308063421a3b290d9ea4"}, - {file = "contourpy-1.2.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:464b423bc2a009088f19bdf1f232299e8b6917963e2b7e1d277da5041f33a779"}, - {file = "contourpy-1.2.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:68ce4788b7d93e47f84edd3f1f95acdcd142ae60bc0e5493bfd120683d2d4316"}, - {file = "contourpy-1.2.0-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3d7d1f8871998cdff5d2ff6a087e5e1780139abe2838e85b0b46b7ae6cc25399"}, - {file = "contourpy-1.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6e739530c662a8d6d42c37c2ed52a6f0932c2d4a3e8c1f90692ad0ce1274abe0"}, - {file = "contourpy-1.2.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:247b9d16535acaa766d03037d8e8fb20866d054d3c7fbf6fd1f993f11fc60ca0"}, - {file = "contourpy-1.2.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:461e3ae84cd90b30f8d533f07d87c00379644205b1d33a5ea03381edc4b69431"}, - {file = "contourpy-1.2.0-cp312-cp312-win32.whl", hash = "sha256:1c2559d6cffc94890b0529ea7eeecc20d6fadc1539273aa27faf503eb4656d8f"}, - {file = "contourpy-1.2.0-cp312-cp312-win_amd64.whl", hash = "sha256:491b1917afdd8638a05b611a56d46587d5a632cabead889a5440f7c638bc6ed9"}, - {file = "contourpy-1.2.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:5fd1810973a375ca0e097dee059c407913ba35723b111df75671a1976efa04bc"}, - {file = "contourpy-1.2.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:999c71939aad2780f003979b25ac5b8f2df651dac7b38fb8ce6c46ba5abe6ae9"}, - {file = "contourpy-1.2.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b7caf9b241464c404613512d5594a6e2ff0cc9cb5615c9475cc1d9b514218ae8"}, - {file = "contourpy-1.2.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:266270c6f6608340f6c9836a0fb9b367be61dde0c9a9a18d5ece97774105ff3e"}, - {file = "contourpy-1.2.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:dbd50d0a0539ae2e96e537553aff6d02c10ed165ef40c65b0e27e744a0f10af8"}, - {file = "contourpy-1.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:11f8d2554e52f459918f7b8e6aa20ec2a3bce35ce95c1f0ef4ba36fbda306df5"}, - {file = "contourpy-1.2.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:ce96dd400486e80ac7d195b2d800b03e3e6a787e2a522bfb83755938465a819e"}, - {file = "contourpy-1.2.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:6d3364b999c62f539cd403f8123ae426da946e142312a514162adb2addd8d808"}, - {file = "contourpy-1.2.0-cp39-cp39-win32.whl", hash = "sha256:1c88dfb9e0c77612febebb6ac69d44a8d81e3dc60f993215425b62c1161353f4"}, - {file = "contourpy-1.2.0-cp39-cp39-win_amd64.whl", hash = "sha256:78e6ad33cf2e2e80c5dfaaa0beec3d61face0fb650557100ee36db808bfa6843"}, - {file = "contourpy-1.2.0-pp39-pypy39_pp73-macosx_10_9_x86_64.whl", hash = "sha256:be16975d94c320432657ad2402f6760990cb640c161ae6da1363051805fa8108"}, - {file = "contourpy-1.2.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b95a225d4948b26a28c08307a60ac00fb8671b14f2047fc5476613252a129776"}, - {file = "contourpy-1.2.0-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:0d7e03c0f9a4f90dc18d4e77e9ef4ec7b7bbb437f7f675be8e530d65ae6ef956"}, - {file = "contourpy-1.2.0.tar.gz", hash = "sha256:171f311cb758de7da13fc53af221ae47a5877be5a0843a9fe150818c51ed276a"}, -] - -[package.dependencies] -numpy = ">=1.20,<2.0" - -[package.extras] -bokeh = ["bokeh", "selenium"] -docs = ["furo", "sphinx (>=7.2)", "sphinx-copybutton"] -mypy = ["contourpy[bokeh,docs]", "docutils-stubs", "mypy (==1.6.1)", "types-Pillow"] -test = ["Pillow", "contourpy[test-no-images]", "matplotlib"] -test-no-images = ["pytest", "pytest-cov", "pytest-xdist", "wurlitzer"] - -[[package]] -name = "cycler" -version = "0.12.1" -description = "Composable style cycles" -optional = false -python-versions = ">=3.8" -files = [ - {file = "cycler-0.12.1-py3-none-any.whl", hash = "sha256:85cef7cff222d8644161529808465972e51340599459b8ac3ccbac5a854e0d30"}, - {file = "cycler-0.12.1.tar.gz", hash = "sha256:88bb128f02ba341da8ef447245a9e138fae777f6a23943da4540077d3601eb1c"}, -] - -[package.extras] -docs = ["ipython", "matplotlib", "numpydoc", "sphinx"] -tests = ["pytest", "pytest-cov", "pytest-xdist"] - -[[package]] -name = "cython" -version = "3.0.8" -description = "The Cython compiler for writing C extensions in the Python language." -optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" -files = [ - {file = "Cython-3.0.8-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:a846e0a38e2b24e9a5c5dc74b0e54c6e29420d88d1dafabc99e0fc0f3e338636"}, - {file = "Cython-3.0.8-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:45523fdc2b78d79b32834cc1cc12dc2ca8967af87e22a3ee1bff20e77c7f5520"}, - {file = "Cython-3.0.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:baa0b7f3f841fe087410cab66778e2d3fb20ae2d2078a2be3dffe66c6574be39"}, - {file = "Cython-3.0.8-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e87294e33e40c289c77a135f491cd721bd089f193f956f7b8ed5aa2d0b8c558f"}, - {file = "Cython-3.0.8-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:a1df7a129344b1215c20096d33c00193437df1a8fcca25b71f17c23b1a44f782"}, - {file = "Cython-3.0.8-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:13c2a5e57a0358da467d97667297bf820b62a1a87ae47c5f87938b9bb593acbd"}, - {file = "Cython-3.0.8-cp310-cp310-win32.whl", hash = "sha256:96b028f044f5880e3cb18ecdcfc6c8d3ce9d0af28418d5ab464509f26d8adf12"}, - {file = "Cython-3.0.8-cp310-cp310-win_amd64.whl", hash = "sha256:8140597a8b5cc4f119a1190f5a2228a84f5ca6d8d9ec386cfce24663f48b2539"}, - {file = "Cython-3.0.8-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:aae26f9663e50caf9657148403d9874eea41770ecdd6caf381d177c2b1bb82ba"}, - {file = "Cython-3.0.8-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:547eb3cdb2f8c6f48e6865d5a741d9dd051c25b3ce076fbca571727977b28ac3"}, - {file = "Cython-3.0.8-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5a567d4b9ba70b26db89d75b243529de9e649a2f56384287533cf91512705bee"}, - {file = "Cython-3.0.8-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:51d1426263b0e82fb22bda8ea60dc77a428581cc19e97741011b938445d383f1"}, - {file = "Cython-3.0.8-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:c26daaeccda072459b48d211415fd1e5507c06bcd976fa0d5b8b9f1063467d7b"}, - {file = "Cython-3.0.8-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:289ce7838208211cd166e975865fd73b0649bf118170b6cebaedfbdaf4a37795"}, - {file = "Cython-3.0.8-cp311-cp311-win32.whl", hash = "sha256:c8aa05f5e17f8042a3be052c24f2edc013fb8af874b0bf76907d16c51b4e7871"}, - {file = "Cython-3.0.8-cp311-cp311-win_amd64.whl", hash = "sha256:000dc9e135d0eec6ecb2b40a5b02d0868a2f8d2e027a41b0fe16a908a9e6de02"}, - {file = "Cython-3.0.8-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:90d3fe31db55685d8cb97d43b0ec39ef614fcf660f83c77ed06aa670cb0e164f"}, - {file = "Cython-3.0.8-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e24791ddae2324e88e3c902a765595c738f19ae34ee66bfb1a6dac54b1833419"}, - {file = "Cython-3.0.8-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2f020fa1c0552052e0660790b8153b79e3fc9a15dbd8f1d0b841fe5d204a6ae6"}, - {file = "Cython-3.0.8-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:18bfa387d7a7f77d7b2526af69a65dbd0b731b8d941aaff5becff8e21f6d7717"}, - {file = "Cython-3.0.8-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:fe81b339cffd87c0069c6049b4d33e28bdd1874625ee515785bf42c9fdff3658"}, - {file = "Cython-3.0.8-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:80fd94c076e1e1b1ee40a309be03080b75f413e8997cddcf401a118879863388"}, - {file = "Cython-3.0.8-cp312-cp312-win32.whl", hash = "sha256:85077915a93e359a9b920280d214dc0cf8a62773e1f3d7d30fab8ea4daed670c"}, - {file = "Cython-3.0.8-cp312-cp312-win_amd64.whl", hash = "sha256:0cb2dcc565c7851f75d496f724a384a790fab12d1b82461b663e66605bec429a"}, - {file = "Cython-3.0.8-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:870d2a0a7e3cbd5efa65aecdb38d715ea337a904ea7bb22324036e78fb7068e7"}, - {file = "Cython-3.0.8-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7e8f2454128974905258d86534f4fd4f91d2f1343605657ecab779d80c9d6d5e"}, - {file = "Cython-3.0.8-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c1949d6aa7bc792554bee2b67a9fe41008acbfe22f4f8df7b6ec7b799613a4b3"}, - {file = "Cython-3.0.8-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c9f2c6e1b8f3bcd6cb230bac1843f85114780bb8be8614855b1628b36bb510e0"}, - {file = "Cython-3.0.8-cp36-cp36m-musllinux_1_1_aarch64.whl", hash = "sha256:05d7eddc668ae7993643f32c7661f25544e791edb745758672ea5b1a82ecffa6"}, - {file = "Cython-3.0.8-cp36-cp36m-musllinux_1_1_x86_64.whl", hash = "sha256:bfabe115deef4ada5d23c87bddb11289123336dcc14347011832c07db616dd93"}, - {file = "Cython-3.0.8-cp36-cp36m-win32.whl", hash = "sha256:0c38c9f0bcce2df0c3347285863621be904ac6b64c5792d871130569d893efd7"}, - {file = "Cython-3.0.8-cp36-cp36m-win_amd64.whl", hash = "sha256:6c46939c3983217d140999de7c238c3141f56b1ea349e47ca49cae899969aa2c"}, - {file = "Cython-3.0.8-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:115f0a50f752da6c99941b103b5cb090da63eb206abbc7c2ad33856ffc73f064"}, - {file = "Cython-3.0.8-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c9c0f29246734561c90f36e70ed0506b61aa3d044e4cc4cba559065a2a741fae"}, - {file = "Cython-3.0.8-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1ab75242869ff71e5665fe5c96f3378e79e792fa3c11762641b6c5afbbbbe026"}, - {file = "Cython-3.0.8-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6717c06e9cfc6c1df18543cd31a21f5d8e378a40f70c851fa2d34f0597037abc"}, - {file = "Cython-3.0.8-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:9d3f74388db378a3c6fd06e79a809ed98df3f56484d317b81ee762dbf3c263e0"}, - {file = "Cython-3.0.8-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:ae7ac561fd8253a9ae96311e91d12af5f701383564edc11d6338a7b60b285a6f"}, - {file = "Cython-3.0.8-cp37-cp37m-win32.whl", hash = "sha256:97b2a45845b993304f1799664fa88da676ee19442b15fdcaa31f9da7e1acc434"}, - {file = "Cython-3.0.8-cp37-cp37m-win_amd64.whl", hash = "sha256:9e2be2b340fea46fb849d378f9b80d3c08ff2e81e2bfbcdb656e2e3cd8c6b2dc"}, - {file = "Cython-3.0.8-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:2cde23c555470db3f149ede78b518e8274853745289c956a0e06ad8d982e4db9"}, - {file = "Cython-3.0.8-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7990ca127e1f1beedaf8fc8bf66541d066ef4723ad7d8d47a7cbf842e0f47580"}, - {file = "Cython-3.0.8-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4b983c8e6803f016146c26854d9150ddad5662960c804ea7f0c752c9266752f0"}, - {file = "Cython-3.0.8-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a973268d7ca1a2bdf78575e459a94a78e1a0a9bb62a7db0c50041949a73b02ff"}, - {file = "Cython-3.0.8-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:61a237bc9dd23c7faef0fcfce88c11c65d0c9bb73c74ccfa408b3a012073c20e"}, - {file = "Cython-3.0.8-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:3a3d67f079598af49e90ff9655bf85bd358f093d727eb21ca2708f467c489cae"}, - {file = "Cython-3.0.8-cp38-cp38-win32.whl", hash = "sha256:17a642bb01a693e34c914106566f59844b4461665066613913463a719e0dd15d"}, - {file = "Cython-3.0.8-cp38-cp38-win_amd64.whl", hash = "sha256:2cdfc32252f3b6dc7c94032ab744dcedb45286733443c294d8f909a4854e7f83"}, - {file = "Cython-3.0.8-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:fa97893d99385386925d00074654aeae3a98867f298d1e12ceaf38a9054a9bae"}, - {file = "Cython-3.0.8-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f05c0bf9d085c031df8f583f0d506aa3be1692023de18c45d0aaf78685bbb944"}, - {file = "Cython-3.0.8-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:de892422582f5758bd8de187e98ac829330ec1007bc42c661f687792999988a7"}, - {file = "Cython-3.0.8-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:314f2355a1f1d06e3c431eaad4708cf10037b5e91e4b231d89c913989d0bdafd"}, - {file = "Cython-3.0.8-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:78825a3774211e7d5089730f00cdf7f473042acc9ceb8b9eeebe13ed3a5541de"}, - {file = "Cython-3.0.8-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:df8093deabc55f37028190cf5e575c26aad23fc673f34b85d5f45076bc37ce39"}, - {file = "Cython-3.0.8-cp39-cp39-win32.whl", hash = "sha256:1aca1b97e0095b3a9a6c33eada3f661a4ed0d499067d121239b193e5ba3bb4f0"}, - {file = "Cython-3.0.8-cp39-cp39-win_amd64.whl", hash = "sha256:16873d78be63bd38ffb759da7ab82814b36f56c769ee02b1d5859560e4c3ac3c"}, - {file = "Cython-3.0.8-py2.py3-none-any.whl", hash = "sha256:171b27051253d3f9108e9759e504ba59ff06e7f7ba944457f94deaf9c21bf0b6"}, - {file = "Cython-3.0.8.tar.gz", hash = "sha256:8333423d8fd5765e7cceea3a9985dd1e0a5dfeb2734629e1a2ed2d6233d39de6"}, -] - -[[package]] -name = "databricks-cli" -version = "0.18.0" -description = "A command line interface for Databricks" -optional = false -python-versions = ">=3.7" -files = [ - {file = "databricks-cli-0.18.0.tar.gz", hash = "sha256:87569709eda9af3e9db8047b691e420b5e980c62ef01675575c0d2b9b4211eb7"}, - {file = "databricks_cli-0.18.0-py2.py3-none-any.whl", hash = "sha256:1176a5f42d3e8af4abfc915446fb23abc44513e325c436725f5898cbb9e3384b"}, -] - -[package.dependencies] -click = ">=7.0" -oauthlib = ">=3.1.0" -pyjwt = ">=1.7.0" -requests = ">=2.17.3" -six = ">=1.10.0" -tabulate = ">=0.7.7" -urllib3 = ">=1.26.7,<3" - -[[package]] -name = "docker" -version = "6.1.3" -description = "A Python library for the Docker Engine API." -optional = false -python-versions = ">=3.7" -files = [ - {file = "docker-6.1.3-py3-none-any.whl", hash = "sha256:aecd2277b8bf8e506e484f6ab7aec39abe0038e29fa4a6d3ba86c3fe01844ed9"}, - {file = "docker-6.1.3.tar.gz", hash = "sha256:aa6d17830045ba5ef0168d5eaa34d37beeb113948c413affe1d5991fc11f9a20"}, -] - -[package.dependencies] -packaging = ">=14.0" -pywin32 = {version = ">=304", markers = "sys_platform == \"win32\""} -requests = ">=2.26.0" -urllib3 = ">=1.26.0" -websocket-client = ">=0.32.0" - -[package.extras] -ssh = ["paramiko (>=2.4.3)"] - -[[package]] -name = "entrypoints" -version = "0.4" -description = "Discover and load entry points from installed packages." -optional = false -python-versions = ">=3.6" -files = [ - {file = "entrypoints-0.4-py3-none-any.whl", hash = "sha256:f174b5ff827504fd3cd97cc3f8649f3693f51538c7e4bdf3ef002c8429d42f9f"}, - {file = "entrypoints-0.4.tar.gz", hash = "sha256:b706eddaa9218a19ebcd67b56818f05bb27589b1ca9e8d797b74affad4ccacd4"}, -] - -[[package]] -name = "exceptiongroup" -version = "1.2.0" -description = "Backport of PEP 654 (exception groups)" -optional = false -python-versions = ">=3.7" -files = [ - {file = "exceptiongroup-1.2.0-py3-none-any.whl", hash = "sha256:4bfd3996ac73b41e9b9628b04e079f193850720ea5945fc96a08633c66912f14"}, - {file = "exceptiongroup-1.2.0.tar.gz", hash = "sha256:91f5c769735f051a4290d52edd0858999b57e5876e9f85937691bd4c9fa3ed68"}, -] - -[package.extras] -test = ["pytest (>=6)"] - -[[package]] -name = "flask" -version = "3.0.0" -description = "A simple framework for building complex web applications." -optional = false -python-versions = ">=3.8" -files = [ - {file = "flask-3.0.0-py3-none-any.whl", hash = "sha256:21128f47e4e3b9d597a3e8521a329bf56909b690fcc3fa3e477725aa81367638"}, - {file = "flask-3.0.0.tar.gz", hash = "sha256:cfadcdb638b609361d29ec22360d6070a77d7463dcb3ab08d2c2f2f168845f58"}, -] - -[package.dependencies] -blinker = ">=1.6.2" -click = ">=8.1.3" -importlib-metadata = {version = ">=3.6.0", markers = "python_version < \"3.10\""} -itsdangerous = ">=2.1.2" -Jinja2 = ">=3.1.2" -Werkzeug = ">=3.0.0" - -[package.extras] -async = ["asgiref (>=3.2)"] -dotenv = ["python-dotenv"] - -[[package]] -name = "fonttools" -version = "4.47.2" -description = "Tools to manipulate font files" -optional = false -python-versions = ">=3.8" -files = [ - {file = "fonttools-4.47.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:3b629108351d25512d4ea1a8393a2dba325b7b7d7308116b605ea3f8e1be88df"}, - {file = "fonttools-4.47.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:c19044256c44fe299d9a73456aabee4b4d06c6b930287be93b533b4737d70aa1"}, - {file = "fonttools-4.47.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b8be28c036b9f186e8c7eaf8a11b42373e7e4949f9e9f370202b9da4c4c3f56c"}, - {file = "fonttools-4.47.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f83a4daef6d2a202acb9bf572958f91cfde5b10c8ee7fb1d09a4c81e5d851fd8"}, - {file = "fonttools-4.47.2-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:4a5a5318ba5365d992666ac4fe35365f93004109d18858a3e18ae46f67907670"}, - {file = "fonttools-4.47.2-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:8f57ecd742545362a0f7186774b2d1c53423ed9ece67689c93a1055b236f638c"}, - {file = "fonttools-4.47.2-cp310-cp310-win32.whl", hash = "sha256:a1c154bb85dc9a4cf145250c88d112d88eb414bad81d4cb524d06258dea1bdc0"}, - {file = "fonttools-4.47.2-cp310-cp310-win_amd64.whl", hash = "sha256:3e2b95dce2ead58fb12524d0ca7d63a63459dd489e7e5838c3cd53557f8933e1"}, - {file = "fonttools-4.47.2-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:29495d6d109cdbabe73cfb6f419ce67080c3ef9ea1e08d5750240fd4b0c4763b"}, - {file = "fonttools-4.47.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:0a1d313a415eaaba2b35d6cd33536560deeebd2ed758b9bfb89ab5d97dc5deac"}, - {file = "fonttools-4.47.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:90f898cdd67f52f18049250a6474185ef6544c91f27a7bee70d87d77a8daf89c"}, - {file = "fonttools-4.47.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3480eeb52770ff75140fe7d9a2ec33fb67b07efea0ab5129c7e0c6a639c40c70"}, - {file = "fonttools-4.47.2-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:0255dbc128fee75fb9be364806b940ed450dd6838672a150d501ee86523ac61e"}, - {file = "fonttools-4.47.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:f791446ff297fd5f1e2247c188de53c1bfb9dd7f0549eba55b73a3c2087a2703"}, - {file = "fonttools-4.47.2-cp311-cp311-win32.whl", hash = "sha256:740947906590a878a4bde7dd748e85fefa4d470a268b964748403b3ab2aeed6c"}, - {file = "fonttools-4.47.2-cp311-cp311-win_amd64.whl", hash = "sha256:63fbed184979f09a65aa9c88b395ca539c94287ba3a364517698462e13e457c9"}, - {file = "fonttools-4.47.2-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:4ec558c543609e71b2275c4894e93493f65d2f41c15fe1d089080c1d0bb4d635"}, - {file = "fonttools-4.47.2-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:e040f905d542362e07e72e03612a6270c33d38281fd573160e1003e43718d68d"}, - {file = "fonttools-4.47.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6dd58cc03016b281bd2c74c84cdaa6bd3ce54c5a7f47478b7657b930ac3ed8eb"}, - {file = "fonttools-4.47.2-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:32ab2e9702dff0dd4510c7bb958f265a8d3dd5c0e2547e7b5f7a3df4979abb07"}, - {file = "fonttools-4.47.2-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:3a808f3c1d1df1f5bf39be869b6e0c263570cdafb5bdb2df66087733f566ea71"}, - {file = "fonttools-4.47.2-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:ac71e2e201df041a2891067dc36256755b1229ae167edbdc419b16da78732c2f"}, - {file = "fonttools-4.47.2-cp312-cp312-win32.whl", hash = "sha256:69731e8bea0578b3c28fdb43dbf95b9386e2d49a399e9a4ad736b8e479b08085"}, - {file = "fonttools-4.47.2-cp312-cp312-win_amd64.whl", hash = "sha256:b3e1304e5f19ca861d86a72218ecce68f391646d85c851742d265787f55457a4"}, - {file = "fonttools-4.47.2-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:254d9a6f7be00212bf0c3159e0a420eb19c63793b2c05e049eb337f3023c5ecc"}, - {file = "fonttools-4.47.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:eabae77a07c41ae0b35184894202305c3ad211a93b2eb53837c2a1143c8bc952"}, - {file = "fonttools-4.47.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a86a5ab2873ed2575d0fcdf1828143cfc6b977ac448e3dc616bb1e3d20efbafa"}, - {file = "fonttools-4.47.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:13819db8445a0cec8c3ff5f243af6418ab19175072a9a92f6cc8ca7d1452754b"}, - {file = "fonttools-4.47.2-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:4e743935139aa485fe3253fc33fe467eab6ea42583fa681223ea3f1a93dd01e6"}, - {file = "fonttools-4.47.2-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:d49ce3ea7b7173faebc5664872243b40cf88814ca3eb135c4a3cdff66af71946"}, - {file = "fonttools-4.47.2-cp38-cp38-win32.whl", hash = "sha256:94208ea750e3f96e267f394d5588579bb64cc628e321dbb1d4243ffbc291b18b"}, - {file = "fonttools-4.47.2-cp38-cp38-win_amd64.whl", hash = "sha256:0f750037e02beb8b3569fbff701a572e62a685d2a0e840d75816592280e5feae"}, - {file = "fonttools-4.47.2-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:3d71606c9321f6701642bd4746f99b6089e53d7e9817fc6b964e90d9c5f0ecc6"}, - {file = "fonttools-4.47.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:86e0427864c6c91cf77f16d1fb9bf1bbf7453e824589e8fb8461b6ee1144f506"}, - {file = "fonttools-4.47.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0a00bd0e68e88987dcc047ea31c26d40a3c61185153b03457956a87e39d43c37"}, - {file = "fonttools-4.47.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a5d77479fb885ef38a16a253a2f4096bc3d14e63a56d6246bfdb56365a12b20c"}, - {file = "fonttools-4.47.2-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:5465df494f20a7d01712b072ae3ee9ad2887004701b95cb2cc6dcb9c2c97a899"}, - {file = "fonttools-4.47.2-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:4c811d3c73b6abac275babb8aa439206288f56fdb2c6f8835e3d7b70de8937a7"}, - {file = "fonttools-4.47.2-cp39-cp39-win32.whl", hash = "sha256:5b60e3afa9635e3dfd3ace2757039593e3bd3cf128be0ddb7a1ff4ac45fa5a50"}, - {file = "fonttools-4.47.2-cp39-cp39-win_amd64.whl", hash = "sha256:7ee48bd9d6b7e8f66866c9090807e3a4a56cf43ffad48962725a190e0dd774c8"}, - {file = "fonttools-4.47.2-py3-none-any.whl", hash = "sha256:7eb7ad665258fba68fd22228a09f347469d95a97fb88198e133595947a20a184"}, - {file = "fonttools-4.47.2.tar.gz", hash = "sha256:7df26dd3650e98ca45f1e29883c96a0b9f5bb6af8d632a6a108bc744fa0bd9b3"}, -] - -[package.extras] -all = ["brotli (>=1.0.1)", "brotlicffi (>=0.8.0)", "fs (>=2.2.0,<3)", "lxml (>=4.0,<5)", "lz4 (>=1.7.4.2)", "matplotlib", "munkres", "pycairo", "scipy", "skia-pathops (>=0.5.0)", "sympy", "uharfbuzz (>=0.23.0)", "unicodedata2 (>=15.1.0)", "xattr", "zopfli (>=0.1.4)"] -graphite = ["lz4 (>=1.7.4.2)"] -interpolatable = ["munkres", "pycairo", "scipy"] -lxml = ["lxml (>=4.0,<5)"] -pathops = ["skia-pathops (>=0.5.0)"] -plot = ["matplotlib"] -repacker = ["uharfbuzz (>=0.23.0)"] -symfont = ["sympy"] -type1 = ["xattr"] -ufo = ["fs (>=2.2.0,<3)"] -unicode = ["unicodedata2 (>=15.1.0)"] -woff = ["brotli (>=1.0.1)", "brotlicffi (>=0.8.0)", "zopfli (>=0.1.4)"] - -[[package]] -name = "gitdb" -version = "4.0.11" -description = "Git Object Database" -optional = false -python-versions = ">=3.7" -files = [ - {file = "gitdb-4.0.11-py3-none-any.whl", hash = "sha256:81a3407ddd2ee8df444cbacea00e2d038e40150acfa3001696fe0dcf1d3adfa4"}, - {file = "gitdb-4.0.11.tar.gz", hash = "sha256:bf5421126136d6d0af55bc1e7c1af1c397a34f5b7bd79e776cd3e89785c2b04b"}, -] - -[package.dependencies] -smmap = ">=3.0.1,<6" - -[[package]] -name = "gitpython" -version = "3.1.41" -description = "GitPython is a Python library used to interact with Git repositories" -optional = false -python-versions = ">=3.7" -files = [ - {file = "GitPython-3.1.41-py3-none-any.whl", hash = "sha256:c36b6634d069b3f719610175020a9aed919421c87552185b085e04fbbdb10b7c"}, - {file = "GitPython-3.1.41.tar.gz", hash = "sha256:ed66e624884f76df22c8e16066d567aaa5a37d5b5fa19db2c6df6f7156db9048"}, -] - -[package.dependencies] -gitdb = ">=4.0.1,<5" - -[package.extras] -test = ["black", "coverage[toml]", "ddt (>=1.1.1,!=1.4.3)", "mock", "mypy", "pre-commit", "pytest (>=7.3.1)", "pytest-cov", "pytest-instafail", "pytest-mock", "pytest-sugar", "sumtypes"] - -[[package]] -name = "greenlet" -version = "3.0.3" -description = "Lightweight in-process concurrent programming" -optional = false -python-versions = ">=3.7" -files = [ - {file = "greenlet-3.0.3-cp310-cp310-macosx_11_0_universal2.whl", hash = "sha256:9da2bd29ed9e4f15955dd1595ad7bc9320308a3b766ef7f837e23ad4b4aac31a"}, - {file = "greenlet-3.0.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d353cadd6083fdb056bb46ed07e4340b0869c305c8ca54ef9da3421acbdf6881"}, - {file = "greenlet-3.0.3-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:dca1e2f3ca00b84a396bc1bce13dd21f680f035314d2379c4160c98153b2059b"}, - {file = "greenlet-3.0.3-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:3ed7fb269f15dc662787f4119ec300ad0702fa1b19d2135a37c2c4de6fadfd4a"}, - {file = "greenlet-3.0.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dd4f49ae60e10adbc94b45c0b5e6a179acc1736cf7a90160b404076ee283cf83"}, - {file = "greenlet-3.0.3-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:73a411ef564e0e097dbe7e866bb2dda0f027e072b04da387282b02c308807405"}, - {file = "greenlet-3.0.3-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:7f362975f2d179f9e26928c5b517524e89dd48530a0202570d55ad6ca5d8a56f"}, - {file = "greenlet-3.0.3-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:649dde7de1a5eceb258f9cb00bdf50e978c9db1b996964cd80703614c86495eb"}, - {file = "greenlet-3.0.3-cp310-cp310-win_amd64.whl", hash = "sha256:68834da854554926fbedd38c76e60c4a2e3198c6fbed520b106a8986445caaf9"}, - {file = "greenlet-3.0.3-cp311-cp311-macosx_11_0_universal2.whl", hash = "sha256:b1b5667cced97081bf57b8fa1d6bfca67814b0afd38208d52538316e9422fc61"}, - {file = "greenlet-3.0.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:52f59dd9c96ad2fc0d5724107444f76eb20aaccb675bf825df6435acb7703559"}, - {file = "greenlet-3.0.3-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:afaff6cf5200befd5cec055b07d1c0a5a06c040fe5ad148abcd11ba6ab9b114e"}, - {file = "greenlet-3.0.3-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:fe754d231288e1e64323cfad462fcee8f0288654c10bdf4f603a39ed923bef33"}, - {file = "greenlet-3.0.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2797aa5aedac23af156bbb5a6aa2cd3427ada2972c828244eb7d1b9255846379"}, - {file = "greenlet-3.0.3-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:b7f009caad047246ed379e1c4dbcb8b020f0a390667ea74d2387be2998f58a22"}, - {file = "greenlet-3.0.3-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:c5e1536de2aad7bf62e27baf79225d0d64360d4168cf2e6becb91baf1ed074f3"}, - {file = "greenlet-3.0.3-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:894393ce10ceac937e56ec00bb71c4c2f8209ad516e96033e4b3b1de270e200d"}, - {file = "greenlet-3.0.3-cp311-cp311-win_amd64.whl", hash = "sha256:1ea188d4f49089fc6fb283845ab18a2518d279c7cd9da1065d7a84e991748728"}, - {file = "greenlet-3.0.3-cp312-cp312-macosx_11_0_universal2.whl", hash = "sha256:70fb482fdf2c707765ab5f0b6655e9cfcf3780d8d87355a063547b41177599be"}, - {file = "greenlet-3.0.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d4d1ac74f5c0c0524e4a24335350edad7e5f03b9532da7ea4d3c54d527784f2e"}, - {file = "greenlet-3.0.3-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:149e94a2dd82d19838fe4b2259f1b6b9957d5ba1b25640d2380bea9c5df37676"}, - {file = "greenlet-3.0.3-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:15d79dd26056573940fcb8c7413d84118086f2ec1a8acdfa854631084393efcc"}, - {file = "greenlet-3.0.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:881b7db1ebff4ba09aaaeae6aa491daeb226c8150fc20e836ad00041bcb11230"}, - {file = "greenlet-3.0.3-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:fcd2469d6a2cf298f198f0487e0a5b1a47a42ca0fa4dfd1b6862c999f018ebbf"}, - {file = "greenlet-3.0.3-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:1f672519db1796ca0d8753f9e78ec02355e862d0998193038c7073045899f305"}, - {file = "greenlet-3.0.3-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:2516a9957eed41dd8f1ec0c604f1cdc86758b587d964668b5b196a9db5bfcde6"}, - {file = "greenlet-3.0.3-cp312-cp312-win_amd64.whl", hash = "sha256:bba5387a6975598857d86de9eac14210a49d554a77eb8261cc68b7d082f78ce2"}, - {file = "greenlet-3.0.3-cp37-cp37m-macosx_11_0_universal2.whl", hash = "sha256:5b51e85cb5ceda94e79d019ed36b35386e8c37d22f07d6a751cb659b180d5274"}, - {file = "greenlet-3.0.3-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:daf3cb43b7cf2ba96d614252ce1684c1bccee6b2183a01328c98d36fcd7d5cb0"}, - {file = "greenlet-3.0.3-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:99bf650dc5d69546e076f413a87481ee1d2d09aaaaaca058c9251b6d8c14783f"}, - {file = "greenlet-3.0.3-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2dd6e660effd852586b6a8478a1d244b8dc90ab5b1321751d2ea15deb49ed414"}, - {file = "greenlet-3.0.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e3391d1e16e2a5a1507d83e4a8b100f4ee626e8eca43cf2cadb543de69827c4c"}, - {file = "greenlet-3.0.3-cp37-cp37m-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e1f145462f1fa6e4a4ae3c0f782e580ce44d57c8f2c7aae1b6fa88c0b2efdb41"}, - {file = "greenlet-3.0.3-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:1a7191e42732df52cb5f39d3527217e7ab73cae2cb3694d241e18f53d84ea9a7"}, - {file = "greenlet-3.0.3-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:0448abc479fab28b00cb472d278828b3ccca164531daab4e970a0458786055d6"}, - {file = "greenlet-3.0.3-cp37-cp37m-win32.whl", hash = "sha256:b542be2440edc2d48547b5923c408cbe0fc94afb9f18741faa6ae970dbcb9b6d"}, - {file = "greenlet-3.0.3-cp37-cp37m-win_amd64.whl", hash = "sha256:01bc7ea167cf943b4c802068e178bbf70ae2e8c080467070d01bfa02f337ee67"}, - {file = "greenlet-3.0.3-cp38-cp38-macosx_11_0_universal2.whl", hash = "sha256:1996cb9306c8595335bb157d133daf5cf9f693ef413e7673cb07e3e5871379ca"}, - {file = "greenlet-3.0.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3ddc0f794e6ad661e321caa8d2f0a55ce01213c74722587256fb6566049a8b04"}, - {file = "greenlet-3.0.3-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:c9db1c18f0eaad2f804728c67d6c610778456e3e1cc4ab4bbd5eeb8e6053c6fc"}, - {file = "greenlet-3.0.3-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:7170375bcc99f1a2fbd9c306f5be8764eaf3ac6b5cb968862cad4c7057756506"}, - {file = "greenlet-3.0.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6b66c9c1e7ccabad3a7d037b2bcb740122a7b17a53734b7d72a344ce39882a1b"}, - {file = "greenlet-3.0.3-cp38-cp38-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:098d86f528c855ead3479afe84b49242e174ed262456c342d70fc7f972bc13c4"}, - {file = "greenlet-3.0.3-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:81bb9c6d52e8321f09c3d165b2a78c680506d9af285bfccbad9fb7ad5a5da3e5"}, - {file = "greenlet-3.0.3-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:fd096eb7ffef17c456cfa587523c5f92321ae02427ff955bebe9e3c63bc9f0da"}, - {file = "greenlet-3.0.3-cp38-cp38-win32.whl", hash = "sha256:d46677c85c5ba00a9cb6f7a00b2bfa6f812192d2c9f7d9c4f6a55b60216712f3"}, - {file = "greenlet-3.0.3-cp38-cp38-win_amd64.whl", hash = "sha256:419b386f84949bf0e7c73e6032e3457b82a787c1ab4a0e43732898a761cc9dbf"}, - {file = "greenlet-3.0.3-cp39-cp39-macosx_11_0_universal2.whl", hash = "sha256:da70d4d51c8b306bb7a031d5cff6cc25ad253affe89b70352af5f1cb68e74b53"}, - {file = "greenlet-3.0.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:086152f8fbc5955df88382e8a75984e2bb1c892ad2e3c80a2508954e52295257"}, - {file = "greenlet-3.0.3-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d73a9fe764d77f87f8ec26a0c85144d6a951a6c438dfe50487df5595c6373eac"}, - {file = "greenlet-3.0.3-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b7dcbe92cc99f08c8dd11f930de4d99ef756c3591a5377d1d9cd7dd5e896da71"}, - {file = "greenlet-3.0.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1551a8195c0d4a68fac7a4325efac0d541b48def35feb49d803674ac32582f61"}, - {file = "greenlet-3.0.3-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:64d7675ad83578e3fc149b617a444fab8efdafc9385471f868eb5ff83e446b8b"}, - {file = "greenlet-3.0.3-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:b37eef18ea55f2ffd8f00ff8fe7c8d3818abd3e25fb73fae2ca3b672e333a7a6"}, - {file = "greenlet-3.0.3-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:77457465d89b8263bca14759d7c1684df840b6811b2499838cc5b040a8b5b113"}, - {file = "greenlet-3.0.3-cp39-cp39-win32.whl", hash = "sha256:57e8974f23e47dac22b83436bdcf23080ade568ce77df33159e019d161ce1d1e"}, - {file = "greenlet-3.0.3-cp39-cp39-win_amd64.whl", hash = "sha256:c5ee858cfe08f34712f548c3c363e807e7186f03ad7a5039ebadb29e8c6be067"}, - {file = "greenlet-3.0.3.tar.gz", hash = "sha256:43374442353259554ce33599da8b692d5aa96f8976d567d4badf263371fbe491"}, -] - -[package.extras] -docs = ["Sphinx", "furo"] -test = ["objgraph", "psutil"] - -[[package]] -name = "gunicorn" -version = "21.2.0" -description = "WSGI HTTP Server for UNIX" -optional = false -python-versions = ">=3.5" -files = [ - {file = "gunicorn-21.2.0-py3-none-any.whl", hash = "sha256:3213aa5e8c24949e792bcacfc176fef362e7aac80b76c56f6b5122bf350722f0"}, - {file = "gunicorn-21.2.0.tar.gz", hash = "sha256:88ec8bff1d634f98e61b9f65bc4bf3cd918a90806c6f5c48bc5603849ec81033"}, -] - -[package.dependencies] -packaging = "*" - -[package.extras] -eventlet = ["eventlet (>=0.24.1)"] -gevent = ["gevent (>=1.4.0)"] -setproctitle = ["setproctitle"] -tornado = ["tornado (>=0.2)"] - -[[package]] -name = "idna" -version = "3.6" -description = "Internationalized Domain Names in Applications (IDNA)" -optional = false -python-versions = ">=3.5" -files = [ - {file = "idna-3.6-py3-none-any.whl", hash = "sha256:c05567e9c24a6b9faaa835c4821bad0590fbb9d5779e7caa6e1cc4978e7eb24f"}, - {file = "idna-3.6.tar.gz", hash = "sha256:9ecdbbd083b06798ae1e86adcbfe8ab1479cf864e4ee30fe4e46a003d12491ca"}, -] - -[[package]] -name = "importlib-metadata" -version = "7.0.1" -description = "Read metadata from Python packages" -optional = false -python-versions = ">=3.8" -files = [ - {file = "importlib_metadata-7.0.1-py3-none-any.whl", hash = "sha256:4805911c3a4ec7c3966410053e9ec6a1fecd629117df5adee56dfc9432a1081e"}, - {file = "importlib_metadata-7.0.1.tar.gz", hash = "sha256:f238736bb06590ae52ac1fab06a3a9ef1d8dce2b7a35b5ab329371d6c8f5d2cc"}, -] - -[package.dependencies] -zipp = ">=0.5" - -[package.extras] -docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (<7.2.5)", "sphinx (>=3.5)", "sphinx-lint"] -perf = ["ipython"] -testing = ["flufl.flake8", "importlib-resources (>=1.3)", "packaging", "pyfakefs", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-mypy (>=0.9.1)", "pytest-perf (>=0.9.2)", "pytest-ruff"] - -[[package]] -name = "importlib-resources" -version = "6.1.1" -description = "Read resources from Python packages" -optional = false -python-versions = ">=3.8" -files = [ - {file = "importlib_resources-6.1.1-py3-none-any.whl", hash = "sha256:e8bf90d8213b486f428c9c39714b920041cb02c184686a3dee24905aaa8105d6"}, - {file = "importlib_resources-6.1.1.tar.gz", hash = "sha256:3893a00122eafde6894c59914446a512f728a0c1a45f9bb9b63721b6bacf0b4a"}, -] - -[package.dependencies] -zipp = {version = ">=3.1.0", markers = "python_version < \"3.10\""} - -[package.extras] -docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (<7.2.5)", "sphinx (>=3.5)", "sphinx-lint"] -testing = ["pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-mypy (>=0.9.1)", "pytest-ruff", "zipp (>=3.17)"] - -[[package]] -name = "iniconfig" -version = "2.0.0" -description = "brain-dead simple config-ini parsing" -optional = false -python-versions = ">=3.7" -files = [ - {file = "iniconfig-2.0.0-py3-none-any.whl", hash = "sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374"}, - {file = "iniconfig-2.0.0.tar.gz", hash = "sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3"}, -] - -[[package]] -name = "itsdangerous" -version = "2.1.2" -description = "Safely pass data to untrusted environments and back." -optional = false -python-versions = ">=3.7" -files = [ - {file = "itsdangerous-2.1.2-py3-none-any.whl", hash = "sha256:2c2349112351b88699d8d4b6b075022c0808887cb7ad10069318a8b0bc88db44"}, - {file = "itsdangerous-2.1.2.tar.gz", hash = "sha256:5dbbc68b317e5e42f327f9021763545dc3fc3bfe22e6deb96aaf1fc38874156a"}, -] - -[[package]] -name = "jinja2" -version = "3.1.3" -description = "A very fast and expressive template engine." -optional = false -python-versions = ">=3.7" -files = [ - {file = "Jinja2-3.1.3-py3-none-any.whl", hash = "sha256:7d6d50dd97d52cbc355597bd845fabfbac3f551e1f99619e39a35ce8c370b5fa"}, - {file = "Jinja2-3.1.3.tar.gz", hash = "sha256:ac8bd6544d4bb2c9792bf3a159e80bba8fda7f07e81bc3aed565432d5925ba90"}, -] - -[package.dependencies] -MarkupSafe = ">=2.0" - -[package.extras] -i18n = ["Babel (>=2.7)"] - -[[package]] -name = "joblib" -version = "1.3.2" -description = "Lightweight pipelining with Python functions" -optional = false -python-versions = ">=3.7" -files = [ - {file = "joblib-1.3.2-py3-none-any.whl", hash = "sha256:ef4331c65f239985f3f2220ecc87db222f08fd22097a3dd5698f693875f8cbb9"}, - {file = "joblib-1.3.2.tar.gz", hash = "sha256:92f865e621e17784e7955080b6d042489e3b8e294949cc44c6eac304f59772b1"}, -] - -[[package]] -name = "kiwisolver" -version = "1.4.5" -description = "A fast implementation of the Cassowary constraint solver" -optional = false -python-versions = ">=3.7" -files = [ - {file = "kiwisolver-1.4.5-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:05703cf211d585109fcd72207a31bb170a0f22144d68298dc5e61b3c946518af"}, - {file = "kiwisolver-1.4.5-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:146d14bebb7f1dc4d5fbf74f8a6cb15ac42baadee8912eb84ac0b3b2a3dc6ac3"}, - {file = "kiwisolver-1.4.5-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:6ef7afcd2d281494c0a9101d5c571970708ad911d028137cd558f02b851c08b4"}, - {file = "kiwisolver-1.4.5-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:9eaa8b117dc8337728e834b9c6e2611f10c79e38f65157c4c38e9400286f5cb1"}, - {file = "kiwisolver-1.4.5-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:ec20916e7b4cbfb1f12380e46486ec4bcbaa91a9c448b97023fde0d5bbf9e4ff"}, - {file = "kiwisolver-1.4.5-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:39b42c68602539407884cf70d6a480a469b93b81b7701378ba5e2328660c847a"}, - {file = "kiwisolver-1.4.5-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:aa12042de0171fad672b6c59df69106d20d5596e4f87b5e8f76df757a7c399aa"}, - {file = "kiwisolver-1.4.5-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:2a40773c71d7ccdd3798f6489aaac9eee213d566850a9533f8d26332d626b82c"}, - {file = "kiwisolver-1.4.5-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:19df6e621f6d8b4b9c4d45f40a66839294ff2bb235e64d2178f7522d9170ac5b"}, - {file = "kiwisolver-1.4.5-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:83d78376d0d4fd884e2c114d0621624b73d2aba4e2788182d286309ebdeed770"}, - {file = "kiwisolver-1.4.5-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:e391b1f0a8a5a10ab3b9bb6afcfd74f2175f24f8975fb87ecae700d1503cdee0"}, - {file = "kiwisolver-1.4.5-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:852542f9481f4a62dbb5dd99e8ab7aedfeb8fb6342349a181d4036877410f525"}, - {file = "kiwisolver-1.4.5-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:59edc41b24031bc25108e210c0def6f6c2191210492a972d585a06ff246bb79b"}, - {file = "kiwisolver-1.4.5-cp310-cp310-win32.whl", hash = "sha256:a6aa6315319a052b4ee378aa171959c898a6183f15c1e541821c5c59beaa0238"}, - {file = "kiwisolver-1.4.5-cp310-cp310-win_amd64.whl", hash = "sha256:d0ef46024e6a3d79c01ff13801cb19d0cad7fd859b15037aec74315540acc276"}, - {file = "kiwisolver-1.4.5-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:11863aa14a51fd6ec28688d76f1735f8f69ab1fabf388851a595d0721af042f5"}, - {file = "kiwisolver-1.4.5-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:8ab3919a9997ab7ef2fbbed0cc99bb28d3c13e6d4b1ad36e97e482558a91be90"}, - {file = "kiwisolver-1.4.5-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:fcc700eadbbccbf6bc1bcb9dbe0786b4b1cb91ca0dcda336eef5c2beed37b797"}, - {file = "kiwisolver-1.4.5-cp311-cp311-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:dfdd7c0b105af050eb3d64997809dc21da247cf44e63dc73ff0fd20b96be55a9"}, - {file = "kiwisolver-1.4.5-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:76c6a5964640638cdeaa0c359382e5703e9293030fe730018ca06bc2010c4437"}, - {file = "kiwisolver-1.4.5-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:bbea0db94288e29afcc4c28afbf3a7ccaf2d7e027489c449cf7e8f83c6346eb9"}, - {file = "kiwisolver-1.4.5-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:ceec1a6bc6cab1d6ff5d06592a91a692f90ec7505d6463a88a52cc0eb58545da"}, - {file = "kiwisolver-1.4.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:040c1aebeda72197ef477a906782b5ab0d387642e93bda547336b8957c61022e"}, - {file = "kiwisolver-1.4.5-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:f91de7223d4c7b793867797bacd1ee53bfe7359bd70d27b7b58a04efbb9436c8"}, - {file = "kiwisolver-1.4.5-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:faae4860798c31530dd184046a900e652c95513796ef51a12bc086710c2eec4d"}, - {file = "kiwisolver-1.4.5-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:b0157420efcb803e71d1b28e2c287518b8808b7cf1ab8af36718fd0a2c453eb0"}, - {file = "kiwisolver-1.4.5-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:06f54715b7737c2fecdbf140d1afb11a33d59508a47bf11bb38ecf21dc9ab79f"}, - {file = "kiwisolver-1.4.5-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:fdb7adb641a0d13bdcd4ef48e062363d8a9ad4a182ac7647ec88f695e719ae9f"}, - {file = "kiwisolver-1.4.5-cp311-cp311-win32.whl", hash = "sha256:bb86433b1cfe686da83ce32a9d3a8dd308e85c76b60896d58f082136f10bffac"}, - {file = "kiwisolver-1.4.5-cp311-cp311-win_amd64.whl", hash = "sha256:6c08e1312a9cf1074d17b17728d3dfce2a5125b2d791527f33ffbe805200a355"}, - {file = "kiwisolver-1.4.5-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:32d5cf40c4f7c7b3ca500f8985eb3fb3a7dfc023215e876f207956b5ea26632a"}, - {file = "kiwisolver-1.4.5-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:f846c260f483d1fd217fe5ed7c173fb109efa6b1fc8381c8b7552c5781756192"}, - {file = "kiwisolver-1.4.5-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:5ff5cf3571589b6d13bfbfd6bcd7a3f659e42f96b5fd1c4830c4cf21d4f5ef45"}, - {file = "kiwisolver-1.4.5-cp312-cp312-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7269d9e5f1084a653d575c7ec012ff57f0c042258bf5db0954bf551c158466e7"}, - {file = "kiwisolver-1.4.5-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:da802a19d6e15dffe4b0c24b38b3af68e6c1a68e6e1d8f30148c83864f3881db"}, - {file = "kiwisolver-1.4.5-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3aba7311af82e335dd1e36ffff68aaca609ca6290c2cb6d821a39aa075d8e3ff"}, - {file = "kiwisolver-1.4.5-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:763773d53f07244148ccac5b084da5adb90bfaee39c197554f01b286cf869228"}, - {file = "kiwisolver-1.4.5-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2270953c0d8cdab5d422bee7d2007f043473f9d2999631c86a223c9db56cbd16"}, - {file = "kiwisolver-1.4.5-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:d099e745a512f7e3bbe7249ca835f4d357c586d78d79ae8f1dcd4d8adeb9bda9"}, - {file = "kiwisolver-1.4.5-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:74db36e14a7d1ce0986fa104f7d5637aea5c82ca6326ed0ec5694280942d1162"}, - {file = "kiwisolver-1.4.5-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:7e5bab140c309cb3a6ce373a9e71eb7e4873c70c2dda01df6820474f9889d6d4"}, - {file = "kiwisolver-1.4.5-cp312-cp312-musllinux_1_1_s390x.whl", hash = "sha256:0f114aa76dc1b8f636d077979c0ac22e7cd8f3493abbab152f20eb8d3cda71f3"}, - {file = "kiwisolver-1.4.5-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:88a2df29d4724b9237fc0c6eaf2a1adae0cdc0b3e9f4d8e7dc54b16812d2d81a"}, - {file = "kiwisolver-1.4.5-cp312-cp312-win32.whl", hash = "sha256:72d40b33e834371fd330fb1472ca19d9b8327acb79a5821d4008391db8e29f20"}, - {file = "kiwisolver-1.4.5-cp312-cp312-win_amd64.whl", hash = "sha256:2c5674c4e74d939b9d91dda0fae10597ac7521768fec9e399c70a1f27e2ea2d9"}, - {file = "kiwisolver-1.4.5-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:3a2b053a0ab7a3960c98725cfb0bf5b48ba82f64ec95fe06f1d06c99b552e130"}, - {file = "kiwisolver-1.4.5-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3cd32d6c13807e5c66a7cbb79f90b553642f296ae4518a60d8d76243b0ad2898"}, - {file = "kiwisolver-1.4.5-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:59ec7b7c7e1a61061850d53aaf8e93db63dce0c936db1fda2658b70e4a1be709"}, - {file = "kiwisolver-1.4.5-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:da4cfb373035def307905d05041c1d06d8936452fe89d464743ae7fb8371078b"}, - {file = "kiwisolver-1.4.5-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:2400873bccc260b6ae184b2b8a4fec0e4082d30648eadb7c3d9a13405d861e89"}, - {file = "kiwisolver-1.4.5-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl", hash = "sha256:1b04139c4236a0f3aff534479b58f6f849a8b351e1314826c2d230849ed48985"}, - {file = "kiwisolver-1.4.5-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:4e66e81a5779b65ac21764c295087de82235597a2293d18d943f8e9e32746265"}, - {file = "kiwisolver-1.4.5-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:7931d8f1f67c4be9ba1dd9c451fb0eeca1a25b89e4d3f89e828fe12a519b782a"}, - {file = "kiwisolver-1.4.5-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:b3f7e75f3015df442238cca659f8baa5f42ce2a8582727981cbfa15fee0ee205"}, - {file = "kiwisolver-1.4.5-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:bbf1d63eef84b2e8c89011b7f2235b1e0bf7dacc11cac9431fc6468e99ac77fb"}, - {file = "kiwisolver-1.4.5-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:4c380469bd3f970ef677bf2bcba2b6b0b4d5c75e7a020fb863ef75084efad66f"}, - {file = "kiwisolver-1.4.5-cp37-cp37m-win32.whl", hash = "sha256:9408acf3270c4b6baad483865191e3e582b638b1654a007c62e3efe96f09a9a3"}, - {file = "kiwisolver-1.4.5-cp37-cp37m-win_amd64.whl", hash = "sha256:5b94529f9b2591b7af5f3e0e730a4e0a41ea174af35a4fd067775f9bdfeee01a"}, - {file = "kiwisolver-1.4.5-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:11c7de8f692fc99816e8ac50d1d1aef4f75126eefc33ac79aac02c099fd3db71"}, - {file = "kiwisolver-1.4.5-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:53abb58632235cd154176ced1ae8f0d29a6657aa1aa9decf50b899b755bc2b93"}, - {file = "kiwisolver-1.4.5-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:88b9f257ca61b838b6f8094a62418421f87ac2a1069f7e896c36a7d86b5d4c29"}, - {file = "kiwisolver-1.4.5-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3195782b26fc03aa9c6913d5bad5aeb864bdc372924c093b0f1cebad603dd712"}, - {file = "kiwisolver-1.4.5-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:fc579bf0f502e54926519451b920e875f433aceb4624a3646b3252b5caa9e0b6"}, - {file = "kiwisolver-1.4.5-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:5a580c91d686376f0f7c295357595c5a026e6cbc3d77b7c36e290201e7c11ecb"}, - {file = "kiwisolver-1.4.5-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:cfe6ab8da05c01ba6fbea630377b5da2cd9bcbc6338510116b01c1bc939a2c18"}, - {file = "kiwisolver-1.4.5-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl", hash = "sha256:d2e5a98f0ec99beb3c10e13b387f8db39106d53993f498b295f0c914328b1333"}, - {file = "kiwisolver-1.4.5-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:a51a263952b1429e429ff236d2f5a21c5125437861baeed77f5e1cc2d2c7c6da"}, - {file = "kiwisolver-1.4.5-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:3edd2fa14e68c9be82c5b16689e8d63d89fe927e56debd6e1dbce7a26a17f81b"}, - {file = "kiwisolver-1.4.5-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:74d1b44c6cfc897df648cc9fdaa09bc3e7679926e6f96df05775d4fb3946571c"}, - {file = "kiwisolver-1.4.5-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:76d9289ed3f7501012e05abb8358bbb129149dbd173f1f57a1bf1c22d19ab7cc"}, - {file = "kiwisolver-1.4.5-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:92dea1ffe3714fa8eb6a314d2b3c773208d865a0e0d35e713ec54eea08a66250"}, - {file = "kiwisolver-1.4.5-cp38-cp38-win32.whl", hash = "sha256:5c90ae8c8d32e472be041e76f9d2f2dbff4d0b0be8bd4041770eddb18cf49a4e"}, - {file = "kiwisolver-1.4.5-cp38-cp38-win_amd64.whl", hash = "sha256:c7940c1dc63eb37a67721b10d703247552416f719c4188c54e04334321351ced"}, - {file = "kiwisolver-1.4.5-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:9407b6a5f0d675e8a827ad8742e1d6b49d9c1a1da5d952a67d50ef5f4170b18d"}, - {file = "kiwisolver-1.4.5-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:15568384086b6df3c65353820a4473575dbad192e35010f622c6ce3eebd57af9"}, - {file = "kiwisolver-1.4.5-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:0dc9db8e79f0036e8173c466d21ef18e1befc02de8bf8aa8dc0813a6dc8a7046"}, - {file = "kiwisolver-1.4.5-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:cdc8a402aaee9a798b50d8b827d7ecf75edc5fb35ea0f91f213ff927c15f4ff0"}, - {file = "kiwisolver-1.4.5-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:6c3bd3cde54cafb87d74d8db50b909705c62b17c2099b8f2e25b461882e544ff"}, - {file = "kiwisolver-1.4.5-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:955e8513d07a283056b1396e9a57ceddbd272d9252c14f154d450d227606eb54"}, - {file = "kiwisolver-1.4.5-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:346f5343b9e3f00b8db8ba359350eb124b98c99efd0b408728ac6ebf38173958"}, - {file = "kiwisolver-1.4.5-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b9098e0049e88c6a24ff64545cdfc50807818ba6c1b739cae221bbbcbc58aad3"}, - {file = "kiwisolver-1.4.5-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:00bd361b903dc4bbf4eb165f24d1acbee754fce22ded24c3d56eec268658a5cf"}, - {file = "kiwisolver-1.4.5-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:7b8b454bac16428b22560d0a1cf0a09875339cab69df61d7805bf48919415901"}, - {file = "kiwisolver-1.4.5-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:f1d072c2eb0ad60d4c183f3fb44ac6f73fb7a8f16a2694a91f988275cbf352f9"}, - {file = "kiwisolver-1.4.5-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:31a82d498054cac9f6d0b53d02bb85811185bcb477d4b60144f915f3b3126342"}, - {file = "kiwisolver-1.4.5-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:6512cb89e334e4700febbffaaa52761b65b4f5a3cf33f960213d5656cea36a77"}, - {file = "kiwisolver-1.4.5-cp39-cp39-win32.whl", hash = "sha256:9db8ea4c388fdb0f780fe91346fd438657ea602d58348753d9fb265ce1bca67f"}, - {file = "kiwisolver-1.4.5-cp39-cp39-win_amd64.whl", hash = "sha256:59415f46a37f7f2efeec758353dd2eae1b07640d8ca0f0c42548ec4125492635"}, - {file = "kiwisolver-1.4.5-pp37-pypy37_pp73-macosx_10_9_x86_64.whl", hash = "sha256:5c7b3b3a728dc6faf3fc372ef24f21d1e3cee2ac3e9596691d746e5a536de920"}, - {file = "kiwisolver-1.4.5-pp37-pypy37_pp73-manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:620ced262a86244e2be10a676b646f29c34537d0d9cc8eb26c08f53d98013390"}, - {file = "kiwisolver-1.4.5-pp37-pypy37_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:378a214a1e3bbf5ac4a8708304318b4f890da88c9e6a07699c4ae7174c09a68d"}, - {file = "kiwisolver-1.4.5-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:aaf7be1207676ac608a50cd08f102f6742dbfc70e8d60c4db1c6897f62f71523"}, - {file = "kiwisolver-1.4.5-pp37-pypy37_pp73-win_amd64.whl", hash = "sha256:ba55dce0a9b8ff59495ddd050a0225d58bd0983d09f87cfe2b6aec4f2c1234e4"}, - {file = "kiwisolver-1.4.5-pp38-pypy38_pp73-macosx_10_9_x86_64.whl", hash = "sha256:fd32ea360bcbb92d28933fc05ed09bffcb1704ba3fc7942e81db0fd4f81a7892"}, - {file = "kiwisolver-1.4.5-pp38-pypy38_pp73-manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:5e7139af55d1688f8b960ee9ad5adafc4ac17c1c473fe07133ac092310d76544"}, - {file = "kiwisolver-1.4.5-pp38-pypy38_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:dced8146011d2bc2e883f9bd68618b8247387f4bbec46d7392b3c3b032640126"}, - {file = "kiwisolver-1.4.5-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c9bf3325c47b11b2e51bca0824ea217c7cd84491d8ac4eefd1e409705ef092bd"}, - {file = "kiwisolver-1.4.5-pp38-pypy38_pp73-win_amd64.whl", hash = "sha256:5794cf59533bc3f1b1c821f7206a3617999db9fbefc345360aafe2e067514929"}, - {file = "kiwisolver-1.4.5-pp39-pypy39_pp73-macosx_10_9_x86_64.whl", hash = "sha256:e368f200bbc2e4f905b8e71eb38b3c04333bddaa6a2464a6355487b02bb7fb09"}, - {file = "kiwisolver-1.4.5-pp39-pypy39_pp73-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e5d706eba36b4c4d5bc6c6377bb6568098765e990cfc21ee16d13963fab7b3e7"}, - {file = "kiwisolver-1.4.5-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:85267bd1aa8880a9c88a8cb71e18d3d64d2751a790e6ca6c27b8ccc724bcd5ad"}, - {file = "kiwisolver-1.4.5-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:210ef2c3a1f03272649aff1ef992df2e724748918c4bc2d5a90352849eb40bea"}, - {file = "kiwisolver-1.4.5-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:11d011a7574eb3b82bcc9c1a1d35c1d7075677fdd15de527d91b46bd35e935ee"}, - {file = "kiwisolver-1.4.5.tar.gz", hash = "sha256:e57e563a57fb22a142da34f38acc2fc1a5c864bc29ca1517a88abc963e60d6ec"}, -] - -[[package]] -name = "mako" -version = "1.3.0" -description = "A super-fast templating language that borrows the best ideas from the existing templating languages." -optional = false -python-versions = ">=3.8" -files = [ - {file = "Mako-1.3.0-py3-none-any.whl", hash = "sha256:57d4e997349f1a92035aa25c17ace371a4213f2ca42f99bee9a602500cfd54d9"}, - {file = "Mako-1.3.0.tar.gz", hash = "sha256:e3a9d388fd00e87043edbe8792f45880ac0114e9c4adc69f6e9bfb2c55e3b11b"}, -] - -[package.dependencies] -MarkupSafe = ">=0.9.2" - -[package.extras] -babel = ["Babel"] -lingua = ["lingua"] -testing = ["pytest"] - -[[package]] -name = "markdown" -version = "3.5.2" -description = "Python implementation of John Gruber's Markdown." -optional = false -python-versions = ">=3.8" -files = [ - {file = "Markdown-3.5.2-py3-none-any.whl", hash = "sha256:d43323865d89fc0cb9b20c75fc8ad313af307cc087e84b657d9eec768eddeadd"}, - {file = "Markdown-3.5.2.tar.gz", hash = "sha256:e1ac7b3dc550ee80e602e71c1d168002f062e49f1b11e26a36264dafd4df2ef8"}, -] - -[package.dependencies] -importlib-metadata = {version = ">=4.4", markers = "python_version < \"3.10\""} - -[package.extras] -docs = ["mdx-gh-links (>=0.2)", "mkdocs (>=1.5)", "mkdocs-gen-files", "mkdocs-literate-nav", "mkdocs-nature (>=0.6)", "mkdocs-section-index", "mkdocstrings[python]"] -testing = ["coverage", "pyyaml"] - -[[package]] -name = "markupsafe" -version = "2.1.3" -description = "Safely add untrusted strings to HTML/XML markup." -optional = false -python-versions = ">=3.7" -files = [ - {file = "MarkupSafe-2.1.3-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:cd0f502fe016460680cd20aaa5a76d241d6f35a1c3350c474bac1273803893fa"}, - {file = "MarkupSafe-2.1.3-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:e09031c87a1e51556fdcb46e5bd4f59dfb743061cf93c4d6831bf894f125eb57"}, - {file = "MarkupSafe-2.1.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:68e78619a61ecf91e76aa3e6e8e33fc4894a2bebe93410754bd28fce0a8a4f9f"}, - {file = "MarkupSafe-2.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:65c1a9bcdadc6c28eecee2c119465aebff8f7a584dd719facdd9e825ec61ab52"}, - {file = "MarkupSafe-2.1.3-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:525808b8019e36eb524b8c68acdd63a37e75714eac50e988180b169d64480a00"}, - {file = "MarkupSafe-2.1.3-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:962f82a3086483f5e5f64dbad880d31038b698494799b097bc59c2edf392fce6"}, - {file = "MarkupSafe-2.1.3-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:aa7bd130efab1c280bed0f45501b7c8795f9fdbeb02e965371bbef3523627779"}, - {file = "MarkupSafe-2.1.3-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:c9c804664ebe8f83a211cace637506669e7890fec1b4195b505c214e50dd4eb7"}, - {file = "MarkupSafe-2.1.3-cp310-cp310-win32.whl", hash = "sha256:10bbfe99883db80bdbaff2dcf681dfc6533a614f700da1287707e8a5d78a8431"}, - {file = "MarkupSafe-2.1.3-cp310-cp310-win_amd64.whl", hash = "sha256:1577735524cdad32f9f694208aa75e422adba74f1baee7551620e43a3141f559"}, - {file = "MarkupSafe-2.1.3-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:ad9e82fb8f09ade1c3e1b996a6337afac2b8b9e365f926f5a61aacc71adc5b3c"}, - {file = "MarkupSafe-2.1.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:3c0fae6c3be832a0a0473ac912810b2877c8cb9d76ca48de1ed31e1c68386575"}, - {file = "MarkupSafe-2.1.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b076b6226fb84157e3f7c971a47ff3a679d837cf338547532ab866c57930dbee"}, - {file = "MarkupSafe-2.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bfce63a9e7834b12b87c64d6b155fdd9b3b96191b6bd334bf37db7ff1fe457f2"}, - {file = "MarkupSafe-2.1.3-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:338ae27d6b8745585f87218a3f23f1512dbf52c26c28e322dbe54bcede54ccb9"}, - {file = "MarkupSafe-2.1.3-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:e4dd52d80b8c83fdce44e12478ad2e85c64ea965e75d66dbeafb0a3e77308fcc"}, - {file = "MarkupSafe-2.1.3-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:df0be2b576a7abbf737b1575f048c23fb1d769f267ec4358296f31c2479db8f9"}, - {file = "MarkupSafe-2.1.3-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:5bbe06f8eeafd38e5d0a4894ffec89378b6c6a625ff57e3028921f8ff59318ac"}, - {file = "MarkupSafe-2.1.3-cp311-cp311-win32.whl", hash = "sha256:dd15ff04ffd7e05ffcb7fe79f1b98041b8ea30ae9234aed2a9168b5797c3effb"}, - {file = "MarkupSafe-2.1.3-cp311-cp311-win_amd64.whl", hash = "sha256:134da1eca9ec0ae528110ccc9e48041e0828d79f24121a1a146161103c76e686"}, - {file = "MarkupSafe-2.1.3-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:f698de3fd0c4e6972b92290a45bd9b1536bffe8c6759c62471efaa8acb4c37bc"}, - {file = "MarkupSafe-2.1.3-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:aa57bd9cf8ae831a362185ee444e15a93ecb2e344c8e52e4d721ea3ab6ef1823"}, - {file = "MarkupSafe-2.1.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ffcc3f7c66b5f5b7931a5aa68fc9cecc51e685ef90282f4a82f0f5e9b704ad11"}, - {file = "MarkupSafe-2.1.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:47d4f1c5f80fc62fdd7777d0d40a2e9dda0a05883ab11374334f6c4de38adffd"}, - {file = "MarkupSafe-2.1.3-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1f67c7038d560d92149c060157d623c542173016c4babc0c1913cca0564b9939"}, - {file = "MarkupSafe-2.1.3-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:9aad3c1755095ce347e26488214ef77e0485a3c34a50c5a5e2471dff60b9dd9c"}, - {file = "MarkupSafe-2.1.3-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:14ff806850827afd6b07a5f32bd917fb7f45b046ba40c57abdb636674a8b559c"}, - {file = "MarkupSafe-2.1.3-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:8f9293864fe09b8149f0cc42ce56e3f0e54de883a9de90cd427f191c346eb2e1"}, - {file = "MarkupSafe-2.1.3-cp312-cp312-win32.whl", hash = "sha256:715d3562f79d540f251b99ebd6d8baa547118974341db04f5ad06d5ea3eb8007"}, - {file = "MarkupSafe-2.1.3-cp312-cp312-win_amd64.whl", hash = "sha256:1b8dd8c3fd14349433c79fa8abeb573a55fc0fdd769133baac1f5e07abf54aeb"}, - {file = "MarkupSafe-2.1.3-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:8e254ae696c88d98da6555f5ace2279cf7cd5b3f52be2b5cf97feafe883b58d2"}, - {file = "MarkupSafe-2.1.3-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cb0932dc158471523c9637e807d9bfb93e06a95cbf010f1a38b98623b929ef2b"}, - {file = "MarkupSafe-2.1.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9402b03f1a1b4dc4c19845e5c749e3ab82d5078d16a2a4c2cd2df62d57bb0707"}, - {file = "MarkupSafe-2.1.3-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ca379055a47383d02a5400cb0d110cef0a776fc644cda797db0c5696cfd7e18e"}, - {file = "MarkupSafe-2.1.3-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:b7ff0f54cb4ff66dd38bebd335a38e2c22c41a8ee45aa608efc890ac3e3931bc"}, - {file = "MarkupSafe-2.1.3-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:c011a4149cfbcf9f03994ec2edffcb8b1dc2d2aede7ca243746df97a5d41ce48"}, - {file = "MarkupSafe-2.1.3-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:56d9f2ecac662ca1611d183feb03a3fa4406469dafe241673d521dd5ae92a155"}, - {file = "MarkupSafe-2.1.3-cp37-cp37m-win32.whl", hash = "sha256:8758846a7e80910096950b67071243da3e5a20ed2546e6392603c096778d48e0"}, - {file = "MarkupSafe-2.1.3-cp37-cp37m-win_amd64.whl", hash = "sha256:787003c0ddb00500e49a10f2844fac87aa6ce977b90b0feaaf9de23c22508b24"}, - {file = "MarkupSafe-2.1.3-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:2ef12179d3a291be237280175b542c07a36e7f60718296278d8593d21ca937d4"}, - {file = "MarkupSafe-2.1.3-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:2c1b19b3aaacc6e57b7e25710ff571c24d6c3613a45e905b1fde04d691b98ee0"}, - {file = "MarkupSafe-2.1.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8afafd99945ead6e075b973fefa56379c5b5c53fd8937dad92c662da5d8fd5ee"}, - {file = "MarkupSafe-2.1.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8c41976a29d078bb235fea9b2ecd3da465df42a562910f9022f1a03107bd02be"}, - {file = "MarkupSafe-2.1.3-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d080e0a5eb2529460b30190fcfcc4199bd7f827663f858a226a81bc27beaa97e"}, - {file = "MarkupSafe-2.1.3-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:69c0f17e9f5a7afdf2cc9fb2d1ce6aabdb3bafb7f38017c0b77862bcec2bbad8"}, - {file = "MarkupSafe-2.1.3-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:504b320cd4b7eff6f968eddf81127112db685e81f7e36e75f9f84f0df46041c3"}, - {file = "MarkupSafe-2.1.3-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:42de32b22b6b804f42c5d98be4f7e5e977ecdd9ee9b660fda1a3edf03b11792d"}, - {file = "MarkupSafe-2.1.3-cp38-cp38-win32.whl", hash = "sha256:ceb01949af7121f9fc39f7d27f91be8546f3fb112c608bc4029aef0bab86a2a5"}, - {file = "MarkupSafe-2.1.3-cp38-cp38-win_amd64.whl", hash = "sha256:1b40069d487e7edb2676d3fbdb2b0829ffa2cd63a2ec26c4938b2d34391b4ecc"}, - {file = "MarkupSafe-2.1.3-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:8023faf4e01efadfa183e863fefde0046de576c6f14659e8782065bcece22198"}, - {file = "MarkupSafe-2.1.3-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:6b2b56950d93e41f33b4223ead100ea0fe11f8e6ee5f641eb753ce4b77a7042b"}, - {file = "MarkupSafe-2.1.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9dcdfd0eaf283af041973bff14a2e143b8bd64e069f4c383416ecd79a81aab58"}, - {file = "MarkupSafe-2.1.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:05fb21170423db021895e1ea1e1f3ab3adb85d1c2333cbc2310f2a26bc77272e"}, - {file = "MarkupSafe-2.1.3-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:282c2cb35b5b673bbcadb33a585408104df04f14b2d9b01d4c345a3b92861c2c"}, - {file = "MarkupSafe-2.1.3-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:ab4a0df41e7c16a1392727727e7998a467472d0ad65f3ad5e6e765015df08636"}, - {file = "MarkupSafe-2.1.3-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:7ef3cb2ebbf91e330e3bb937efada0edd9003683db6b57bb108c4001f37a02ea"}, - {file = "MarkupSafe-2.1.3-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:0a4e4a1aff6c7ac4cd55792abf96c915634c2b97e3cc1c7129578aa68ebd754e"}, - {file = "MarkupSafe-2.1.3-cp39-cp39-win32.whl", hash = "sha256:fec21693218efe39aa7f8599346e90c705afa52c5b31ae019b2e57e8f6542bb2"}, - {file = "MarkupSafe-2.1.3-cp39-cp39-win_amd64.whl", hash = "sha256:3fd4abcb888d15a94f32b75d8fd18ee162ca0c064f35b11134be77050296d6ba"}, - {file = "MarkupSafe-2.1.3.tar.gz", hash = "sha256:af598ed32d6ae86f1b747b82783958b1a4ab8f617b06fe68795c7f026abbdcad"}, -] - -[[package]] -name = "matplotlib" -version = "3.7.4" -description = "Python plotting package" -optional = false -python-versions = ">=3.8" -files = [ - {file = "matplotlib-3.7.4-cp310-cp310-macosx_10_12_universal2.whl", hash = "sha256:b71079239bd866bf56df023e5146de159cb0c7294e508830901f4d79e2d89385"}, - {file = "matplotlib-3.7.4-cp310-cp310-macosx_10_12_x86_64.whl", hash = "sha256:bf91a42f6274a64cb41189120b620c02e574535ff6671fa836cade7701b06fbd"}, - {file = "matplotlib-3.7.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:f757e8b42841d6add0cb69b42497667f0d25a404dcd50bd923ec9904e38414c4"}, - {file = "matplotlib-3.7.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e4dfee00aa4bd291e08bb9461831c26ce0da85ca9781bb8794f2025c6e925281"}, - {file = "matplotlib-3.7.4-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3640f33632beb3993b698b1be9d1c262b742761d6101f3c27b87b2185d25c875"}, - {file = "matplotlib-3.7.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ff539c4a17ecdf076ed808ee271ffae4a30dcb7e157b99ccae2c837262c07db6"}, - {file = "matplotlib-3.7.4-cp310-cp310-win32.whl", hash = "sha256:24b8f28af3e766195c09b780b15aa9f6710192b415ae7866b9c03dee7ec86370"}, - {file = "matplotlib-3.7.4-cp310-cp310-win_amd64.whl", hash = "sha256:3fa193286712c3b6c3cfa5fe8a6bb563f8c52cc750006c782296e0807ce5e799"}, - {file = "matplotlib-3.7.4-cp311-cp311-macosx_10_12_universal2.whl", hash = "sha256:b167f54cb4654b210c9624ec7b54e2b3b8de68c93a14668937e7e53df60770ec"}, - {file = "matplotlib-3.7.4-cp311-cp311-macosx_10_12_x86_64.whl", hash = "sha256:7dfe6821f1944cb35603ff22e21510941bbcce7ccf96095beffaac890d39ce77"}, - {file = "matplotlib-3.7.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:3c557d9165320dff3c5f2bb99bfa0b6813d3e626423ff71c40d6bc23b83c3339"}, - {file = "matplotlib-3.7.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:08372696b3bb45c563472a552a705bfa0942f0a8ffe084db8a4e8f9153fbdf9d"}, - {file = "matplotlib-3.7.4-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:81e1a7ac818000e8ac3ca696c3fdc501bc2d3adc89005e7b4e22ee5e9d51de98"}, - {file = "matplotlib-3.7.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:390920a3949906bc4b0216198d378f2a640c36c622e3584dd0c79a7c59ae9f50"}, - {file = "matplotlib-3.7.4-cp311-cp311-win32.whl", hash = "sha256:62e094d8da26294634da9e7f1856beee3978752b1b530c8e1763d2faed60cc10"}, - {file = "matplotlib-3.7.4-cp311-cp311-win_amd64.whl", hash = "sha256:f8fc2df756105784e650605e024d36dc2d048d68e5c1b26df97ee25d1bd41f9f"}, - {file = "matplotlib-3.7.4-cp312-cp312-macosx_10_12_universal2.whl", hash = "sha256:568574756127791903604e315c11aef9f255151e4cfe20ec603a70f9dda8e259"}, - {file = "matplotlib-3.7.4-cp312-cp312-macosx_10_12_x86_64.whl", hash = "sha256:7d479aac338195e2199a8cfc03c4f2f55914e6a120177edae79e0340a6406457"}, - {file = "matplotlib-3.7.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:32183d4be84189a4c52b4b8861434d427d9118db2cec32986f98ed6c02dcfbb6"}, - {file = "matplotlib-3.7.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0037d066cca1f4bda626c507cddeb6f7da8283bc6a214da2db13ff2162933c52"}, - {file = "matplotlib-3.7.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:44856632ebce88abd8efdc0a0dceec600418dcac06b72ae77af0019d260aa243"}, - {file = "matplotlib-3.7.4-cp312-cp312-win_amd64.whl", hash = "sha256:632fc938c22117d4241411191cfb88ac264a4c0a9ac702244641ddf30f0d739c"}, - {file = "matplotlib-3.7.4-cp38-cp38-macosx_10_12_universal2.whl", hash = "sha256:ce163be048613b9d1962273708cc97e09ca05d37312e670d166cf332b80bbaff"}, - {file = "matplotlib-3.7.4-cp38-cp38-macosx_10_12_x86_64.whl", hash = "sha256:e680f49bb8052ba3b2698e370155d2b4afb49f9af1cc611a26579d5981e2852a"}, - {file = "matplotlib-3.7.4-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:0604880e4327114054199108b7390f987f4f40ee5ce728985836889e11a780ba"}, - {file = "matplotlib-3.7.4-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:1e6abcde6fc52475f9d6a12b9f1792aee171ce7818ef6df5d61cb0b82816e6e8"}, - {file = "matplotlib-3.7.4-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:f59a70e2ec3212033ef6633ed07682da03f5249379722512a3a2a26a7d9a738e"}, - {file = "matplotlib-3.7.4-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7a9981b2a2dd9da06eca4ab5855d09b54b8ce7377c3e0e3957767b83219d652d"}, - {file = "matplotlib-3.7.4-cp38-cp38-win32.whl", hash = "sha256:83859ac26839660ecd164ee8311272074250b915ac300f9b2eccc84410f8953b"}, - {file = "matplotlib-3.7.4-cp38-cp38-win_amd64.whl", hash = "sha256:7a7709796ac59fe8debde68272388be6ed449c8971362eb5b60d280eac8dadde"}, - {file = "matplotlib-3.7.4-cp39-cp39-macosx_10_12_universal2.whl", hash = "sha256:b1d70bc1ea1bf110bec64f4578de3e14947909a8887df4c1fd44492eca487955"}, - {file = "matplotlib-3.7.4-cp39-cp39-macosx_10_12_x86_64.whl", hash = "sha256:c83f49e795a5de6c168876eea723f5b88355202f9603c55977f5356213aa8280"}, - {file = "matplotlib-3.7.4-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:5c9133f230945fe10652eb33e43642e933896194ef6a4f8d5e79bb722bdb2000"}, - {file = "matplotlib-3.7.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:798ff59022eeb276380ce9a73ba35d13c3d1499ab9b73d194fd07f1b0a41c304"}, - {file = "matplotlib-3.7.4-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1707b20b25e90538c2ce8d4409e30f0ef1df4017cc65ad0439633492a973635b"}, - {file = "matplotlib-3.7.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8e6227ca8492baeef873cdd8e169a318efb5c3a25ce94e69727e7f964995b0b1"}, - {file = "matplotlib-3.7.4-cp39-cp39-win32.whl", hash = "sha256:5661c8639aded7d1bbf781373a359011cb1dd09199dee49043e9e68dd16f07ba"}, - {file = "matplotlib-3.7.4-cp39-cp39-win_amd64.whl", hash = "sha256:55eec941a4743f0bd3e5b8ee180e36b7ea8e62f867bf2613937c9f01b9ac06a2"}, - {file = "matplotlib-3.7.4-pp38-pypy38_pp73-macosx_10_12_x86_64.whl", hash = "sha256:ab16868714e5cc90ec8f7ff5d83d23bcd6559224d8e9cb5227c9f58748889fe8"}, - {file = "matplotlib-3.7.4-pp38-pypy38_pp73-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0c698b33f9a3f0b127a8e614c8fb4087563bb3caa9c9d95298722fa2400cdd3f"}, - {file = "matplotlib-3.7.4-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:be3493bbcb4d255cb71de1f9050ac71682fce21a56089eadbcc8e21784cb12ee"}, - {file = "matplotlib-3.7.4-pp38-pypy38_pp73-win_amd64.whl", hash = "sha256:f8c725d1dd2901b2e7ec6cd64165e00da2978cc23d4143cb9ef745bec88e6b04"}, - {file = "matplotlib-3.7.4-pp39-pypy39_pp73-macosx_10_12_x86_64.whl", hash = "sha256:286332f8f45f8ffde2d2119b9fdd42153dccd5025fa9f451b4a3b5c086e26da5"}, - {file = "matplotlib-3.7.4-pp39-pypy39_pp73-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:116ef0b43aa00ff69260b4cce39c571e4b8c6f893795b708303fa27d9b9d7548"}, - {file = "matplotlib-3.7.4-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c90590d4b46458677d80bc3218f3f1ac11fc122baa9134e0cb5b3e8fc3714052"}, - {file = "matplotlib-3.7.4-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:de7c07069687be64fd9d119da3122ba13a8d399eccd3f844815f0dc78a870b2c"}, - {file = "matplotlib-3.7.4.tar.gz", hash = "sha256:7cd4fef8187d1dd0d9dcfdbaa06ac326d396fb8c71c647129f0bf56835d77026"}, -] - -[package.dependencies] -contourpy = ">=1.0.1" -cycler = ">=0.10" -fonttools = ">=4.22.0" -importlib-resources = {version = ">=3.2.0", markers = "python_version < \"3.10\""} -kiwisolver = ">=1.0.1" -numpy = ">=1.20,<2" -packaging = ">=20.0" -pillow = ">=6.2.0" -pyparsing = ">=2.3.1" -python-dateutil = ">=2.7" - -[[package]] -name = "mlflow" -version = "2.10.0" -description = "MLflow: A Platform for ML Development and Productionization" -optional = false -python-versions = ">=3.8" -files = [ - {file = "mlflow-2.10.0-py3-none-any.whl", hash = "sha256:7d9740c67c3762467a5c024c2b3035a8621e6689070b09a6912de61fa6d07e7a"}, - {file = "mlflow-2.10.0.tar.gz", hash = "sha256:9a97abceae240b9831080a16afc3eb668b339b9ca4382fb3bd6a7a2fc7bd0951"}, -] - -[package.dependencies] -alembic = "<1.10.0 || >1.10.0,<2" -click = ">=7.0,<9" -cloudpickle = "<4" -databricks-cli = ">=0.8.7,<1" -docker = ">=4.0.0,<8" -entrypoints = "<1" -Flask = "<4" -gitpython = ">=2.1.0,<4" -gunicorn = {version = "<22", markers = "platform_system != \"Windows\""} -importlib-metadata = ">=3.7.0,<4.7.0 || >4.7.0,<8" -Jinja2 = [ - {version = ">=2.11,<4", markers = "platform_system != \"Windows\""}, - {version = ">=3.0,<4", markers = "platform_system == \"Windows\""}, -] -markdown = ">=3.3,<4" -matplotlib = "<4" -numpy = "<2" -packaging = "<24" -pandas = "<3" -protobuf = ">=3.12.0,<5" -pyarrow = ">=4.0.0,<16" -pytz = "<2024" -pyyaml = ">=5.1,<7" -querystring-parser = "<2" -requests = ">=2.17.3,<3" -scikit-learn = "<2" -scipy = "<2" -sqlalchemy = ">=1.4.0,<3" -sqlparse = ">=0.4.0,<1" -waitress = {version = "<3", markers = "platform_system == \"Windows\""} - -[package.extras] -aliyun-oss = ["aliyunstoreplugin"] -databricks = ["azure-storage-file-datalake (>12)", "boto3 (>1)", "botocore (>1.34)", "google-cloud-storage (>=1.30.0)"] -extras = ["azureml-core (>=1.2.0)", "boto3", "botocore", "google-cloud-storage (>=1.30.0)", "kubernetes", "mlserver (>=1.2.0,!=1.3.1)", "mlserver-mlflow (>=1.2.0,!=1.3.1)", "prometheus-flask-exporter", "pyarrow", "pysftp", "requests-auth-aws-sigv4", "virtualenv"] -gateway = ["aiohttp (<4)", "boto3 (>=1.28.56,<2)", "fastapi (<1)", "pydantic (>=1.0,<3)", "slowapi (<1)", "tiktoken (<1)", "uvicorn[standard] (<1)", "watchfiles (<1)"] -genai = ["aiohttp (<4)", "boto3 (>=1.28.56,<2)", "fastapi (<1)", "pydantic (>=1.0,<3)", "slowapi (<1)", "tiktoken (<1)", "uvicorn[standard] (<1)", "watchfiles (<1)"] -sqlserver = ["mlflow-dbstore"] -xethub = ["mlflow-xethub"] - -[[package]] -name = "numpy" -version = "1.26.3" -description = "Fundamental package for array computing in Python" -optional = false -python-versions = ">=3.9" -files = [ - {file = "numpy-1.26.3-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:806dd64230dbbfaca8a27faa64e2f414bf1c6622ab78cc4264f7f5f028fee3bf"}, - {file = "numpy-1.26.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:02f98011ba4ab17f46f80f7f8f1c291ee7d855fcef0a5a98db80767a468c85cd"}, - {file = "numpy-1.26.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6d45b3ec2faed4baca41c76617fcdcfa4f684ff7a151ce6fc78ad3b6e85af0a6"}, - {file = "numpy-1.26.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bdd2b45bf079d9ad90377048e2747a0c82351989a2165821f0c96831b4a2a54b"}, - {file = "numpy-1.26.3-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:211ddd1e94817ed2d175b60b6374120244a4dd2287f4ece45d49228b4d529178"}, - {file = "numpy-1.26.3-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:b1240f767f69d7c4c8a29adde2310b871153df9b26b5cb2b54a561ac85146485"}, - {file = "numpy-1.26.3-cp310-cp310-win32.whl", hash = "sha256:21a9484e75ad018974a2fdaa216524d64ed4212e418e0a551a2d83403b0531d3"}, - {file = "numpy-1.26.3-cp310-cp310-win_amd64.whl", hash = "sha256:9e1591f6ae98bcfac2a4bbf9221c0b92ab49762228f38287f6eeb5f3f55905ce"}, - {file = "numpy-1.26.3-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:b831295e5472954104ecb46cd98c08b98b49c69fdb7040483aff799a755a7374"}, - {file = "numpy-1.26.3-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:9e87562b91f68dd8b1c39149d0323b42e0082db7ddb8e934ab4c292094d575d6"}, - {file = "numpy-1.26.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8c66d6fec467e8c0f975818c1796d25c53521124b7cfb760114be0abad53a0a2"}, - {file = "numpy-1.26.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f25e2811a9c932e43943a2615e65fc487a0b6b49218899e62e426e7f0a57eeda"}, - {file = "numpy-1.26.3-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:af36e0aa45e25c9f57bf684b1175e59ea05d9a7d3e8e87b7ae1a1da246f2767e"}, - {file = "numpy-1.26.3-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:51c7f1b344f302067b02e0f5b5d2daa9ed4a721cf49f070280ac202738ea7f00"}, - {file = "numpy-1.26.3-cp311-cp311-win32.whl", hash = "sha256:7ca4f24341df071877849eb2034948459ce3a07915c2734f1abb4018d9c49d7b"}, - {file = "numpy-1.26.3-cp311-cp311-win_amd64.whl", hash = "sha256:39763aee6dfdd4878032361b30b2b12593fb445ddb66bbac802e2113eb8a6ac4"}, - {file = "numpy-1.26.3-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:a7081fd19a6d573e1a05e600c82a1c421011db7935ed0d5c483e9dd96b99cf13"}, - {file = "numpy-1.26.3-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:12c70ac274b32bc00c7f61b515126c9205323703abb99cd41836e8125ea0043e"}, - {file = "numpy-1.26.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7f784e13e598e9594750b2ef6729bcd5a47f6cfe4a12cca13def35e06d8163e3"}, - {file = "numpy-1.26.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5f24750ef94d56ce6e33e4019a8a4d68cfdb1ef661a52cdaee628a56d2437419"}, - {file = "numpy-1.26.3-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:77810ef29e0fb1d289d225cabb9ee6cf4d11978a00bb99f7f8ec2132a84e0166"}, - {file = "numpy-1.26.3-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:8ed07a90f5450d99dad60d3799f9c03c6566709bd53b497eb9ccad9a55867f36"}, - {file = "numpy-1.26.3-cp312-cp312-win32.whl", hash = "sha256:f73497e8c38295aaa4741bdfa4fda1a5aedda5473074369eca10626835445511"}, - {file = "numpy-1.26.3-cp312-cp312-win_amd64.whl", hash = "sha256:da4b0c6c699a0ad73c810736303f7fbae483bcb012e38d7eb06a5e3b432c981b"}, - {file = "numpy-1.26.3-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:1666f634cb3c80ccbd77ec97bc17337718f56d6658acf5d3b906ca03e90ce87f"}, - {file = "numpy-1.26.3-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:18c3319a7d39b2c6a9e3bb75aab2304ab79a811ac0168a671a62e6346c29b03f"}, - {file = "numpy-1.26.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0b7e807d6888da0db6e7e75838444d62495e2b588b99e90dd80c3459594e857b"}, - {file = "numpy-1.26.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b4d362e17bcb0011738c2d83e0a65ea8ce627057b2fdda37678f4374a382a137"}, - {file = "numpy-1.26.3-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:b8c275f0ae90069496068c714387b4a0eba5d531aace269559ff2b43655edd58"}, - {file = "numpy-1.26.3-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:cc0743f0302b94f397a4a65a660d4cd24267439eb16493fb3caad2e4389bccbb"}, - {file = "numpy-1.26.3-cp39-cp39-win32.whl", hash = "sha256:9bc6d1a7f8cedd519c4b7b1156d98e051b726bf160715b769106661d567b3f03"}, - {file = "numpy-1.26.3-cp39-cp39-win_amd64.whl", hash = "sha256:867e3644e208c8922a3be26fc6bbf112a035f50f0a86497f98f228c50c607bb2"}, - {file = "numpy-1.26.3-pp39-pypy39_pp73-macosx_10_9_x86_64.whl", hash = "sha256:3c67423b3703f8fbd90f5adaa37f85b5794d3366948efe9a5190a5f3a83fc34e"}, - {file = "numpy-1.26.3-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:46f47ee566d98849323f01b349d58f2557f02167ee301e5e28809a8c0e27a2d0"}, - {file = "numpy-1.26.3-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:a8474703bffc65ca15853d5fd4d06b18138ae90c17c8d12169968e998e448bb5"}, - {file = "numpy-1.26.3.tar.gz", hash = "sha256:697df43e2b6310ecc9d95f05d5ef20eacc09c7c4ecc9da3f235d39e71b7da1e4"}, -] - -[[package]] -name = "nvidia-cublas-cu11" -version = "11.10.3.66" -description = "CUBLAS native runtime libraries" -optional = false -python-versions = ">=3" -files = [ - {file = "nvidia_cublas_cu11-11.10.3.66-py3-none-manylinux1_x86_64.whl", hash = "sha256:d32e4d75f94ddfb93ea0a5dda08389bcc65d8916a25cb9f37ac89edaeed3bded"}, - {file = "nvidia_cublas_cu11-11.10.3.66-py3-none-win_amd64.whl", hash = "sha256:8ac17ba6ade3ed56ab898a036f9ae0756f1e81052a317bf98f8c6d18dc3ae49e"}, -] - -[package.dependencies] -setuptools = "*" -wheel = "*" - -[[package]] -name = "nvidia-cuda-nvrtc-cu11" -version = "11.7.99" -description = "NVRTC native runtime libraries" -optional = false -python-versions = ">=3" -files = [ - {file = "nvidia_cuda_nvrtc_cu11-11.7.99-2-py3-none-manylinux1_x86_64.whl", hash = "sha256:9f1562822ea264b7e34ed5930567e89242d266448e936b85bc97a3370feabb03"}, - {file = "nvidia_cuda_nvrtc_cu11-11.7.99-py3-none-manylinux1_x86_64.whl", hash = "sha256:f7d9610d9b7c331fa0da2d1b2858a4a8315e6d49765091d28711c8946e7425e7"}, - {file = "nvidia_cuda_nvrtc_cu11-11.7.99-py3-none-win_amd64.whl", hash = "sha256:f2effeb1309bdd1b3854fc9b17eaf997808f8b25968ce0c7070945c4265d64a3"}, -] - -[package.dependencies] -setuptools = "*" -wheel = "*" - -[[package]] -name = "nvidia-cuda-runtime-cu11" -version = "11.7.99" -description = "CUDA Runtime native Libraries" -optional = false -python-versions = ">=3" -files = [ - {file = "nvidia_cuda_runtime_cu11-11.7.99-py3-none-manylinux1_x86_64.whl", hash = "sha256:cc768314ae58d2641f07eac350f40f99dcb35719c4faff4bc458a7cd2b119e31"}, - {file = "nvidia_cuda_runtime_cu11-11.7.99-py3-none-win_amd64.whl", hash = "sha256:bc77fa59a7679310df9d5c70ab13c4e34c64ae2124dd1efd7e5474b71be125c7"}, -] - -[package.dependencies] -setuptools = "*" -wheel = "*" - -[[package]] -name = "nvidia-cudnn-cu11" -version = "8.5.0.96" -description = "cuDNN runtime libraries" -optional = false -python-versions = ">=3" -files = [ - {file = "nvidia_cudnn_cu11-8.5.0.96-2-py3-none-manylinux1_x86_64.whl", hash = "sha256:402f40adfc6f418f9dae9ab402e773cfed9beae52333f6d86ae3107a1b9527e7"}, - {file = "nvidia_cudnn_cu11-8.5.0.96-py3-none-manylinux1_x86_64.whl", hash = "sha256:71f8111eb830879ff2836db3cccf03bbd735df9b0d17cd93761732ac50a8a108"}, -] - -[package.dependencies] -setuptools = "*" -wheel = "*" - -[[package]] -name = "oauthlib" -version = "3.2.2" -description = "A generic, spec-compliant, thorough implementation of the OAuth request-signing logic" -optional = false -python-versions = ">=3.6" -files = [ - {file = "oauthlib-3.2.2-py3-none-any.whl", hash = "sha256:8139f29aac13e25d502680e9e19963e83f16838d48a0d71c287fe40e7067fbca"}, - {file = "oauthlib-3.2.2.tar.gz", hash = "sha256:9859c40929662bec5d64f34d01c99e093149682a3f38915dc0655d5a633dd918"}, -] - -[package.extras] -rsa = ["cryptography (>=3.0.0)"] -signals = ["blinker (>=1.4.0)"] -signedtoken = ["cryptography (>=3.0.0)", "pyjwt (>=2.0.0,<3)"] - -[[package]] -name = "packaging" -version = "23.2" -description = "Core utilities for Python packages" -optional = false -python-versions = ">=3.7" -files = [ - {file = "packaging-23.2-py3-none-any.whl", hash = "sha256:8c491190033a9af7e1d931d0b5dacc2ef47509b34dd0de67ed209b5203fc88c7"}, - {file = "packaging-23.2.tar.gz", hash = "sha256:048fb0e9405036518eaaf48a55953c750c11e1a1b68e0dd1a9d62ed0c092cfc5"}, -] - -[[package]] -name = "pandas" -version = "2.2.0" -description = "Powerful data structures for data analysis, time series, and statistics" -optional = false -python-versions = ">=3.9" -files = [ - {file = "pandas-2.2.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:8108ee1712bb4fa2c16981fba7e68b3f6ea330277f5ca34fa8d557e986a11670"}, - {file = "pandas-2.2.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:736da9ad4033aeab51d067fc3bd69a0ba36f5a60f66a527b3d72e2030e63280a"}, - {file = "pandas-2.2.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:38e0b4fc3ddceb56ec8a287313bc22abe17ab0eb184069f08fc6a9352a769b18"}, - {file = "pandas-2.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:20404d2adefe92aed3b38da41d0847a143a09be982a31b85bc7dd565bdba0f4e"}, - {file = "pandas-2.2.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:7ea3ee3f125032bfcade3a4cf85131ed064b4f8dd23e5ce6fa16473e48ebcaf5"}, - {file = "pandas-2.2.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:f9670b3ac00a387620489dfc1bca66db47a787f4e55911f1293063a78b108df1"}, - {file = "pandas-2.2.0-cp310-cp310-win_amd64.whl", hash = "sha256:5a946f210383c7e6d16312d30b238fd508d80d927014f3b33fb5b15c2f895430"}, - {file = "pandas-2.2.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:a1b438fa26b208005c997e78672f1aa8138f67002e833312e6230f3e57fa87d5"}, - {file = "pandas-2.2.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:8ce2fbc8d9bf303ce54a476116165220a1fedf15985b09656b4b4275300e920b"}, - {file = "pandas-2.2.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2707514a7bec41a4ab81f2ccce8b382961a29fbe9492eab1305bb075b2b1ff4f"}, - {file = "pandas-2.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:85793cbdc2d5bc32620dc8ffa715423f0c680dacacf55056ba13454a5be5de88"}, - {file = "pandas-2.2.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:cfd6c2491dc821b10c716ad6776e7ab311f7df5d16038d0b7458bc0b67dc10f3"}, - {file = "pandas-2.2.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:a146b9dcacc3123aa2b399df1a284de5f46287a4ab4fbfc237eac98a92ebcb71"}, - {file = "pandas-2.2.0-cp311-cp311-win_amd64.whl", hash = "sha256:fbc1b53c0e1fdf16388c33c3cca160f798d38aea2978004dd3f4d3dec56454c9"}, - {file = "pandas-2.2.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:a41d06f308a024981dcaa6c41f2f2be46a6b186b902c94c2674e8cb5c42985bc"}, - {file = "pandas-2.2.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:159205c99d7a5ce89ecfc37cb08ed179de7783737cea403b295b5eda8e9c56d1"}, - {file = "pandas-2.2.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:eb1e1f3861ea9132b32f2133788f3b14911b68102d562715d71bd0013bc45440"}, - {file = "pandas-2.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:761cb99b42a69005dec2b08854fb1d4888fdf7b05db23a8c5a099e4b886a2106"}, - {file = "pandas-2.2.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:a20628faaf444da122b2a64b1e5360cde100ee6283ae8effa0d8745153809a2e"}, - {file = "pandas-2.2.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:f5be5d03ea2073627e7111f61b9f1f0d9625dc3c4d8dda72cc827b0c58a1d042"}, - {file = "pandas-2.2.0-cp312-cp312-win_amd64.whl", hash = "sha256:a626795722d893ed6aacb64d2401d017ddc8a2341b49e0384ab9bf7112bdec30"}, - {file = "pandas-2.2.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:9f66419d4a41132eb7e9a73dcec9486cf5019f52d90dd35547af11bc58f8637d"}, - {file = "pandas-2.2.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:57abcaeda83fb80d447f28ab0cc7b32b13978f6f733875ebd1ed14f8fbc0f4ab"}, - {file = "pandas-2.2.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e60f1f7dba3c2d5ca159e18c46a34e7ca7247a73b5dd1a22b6d59707ed6b899a"}, - {file = "pandas-2.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:eb61dc8567b798b969bcc1fc964788f5a68214d333cade8319c7ab33e2b5d88a"}, - {file = "pandas-2.2.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:52826b5f4ed658fa2b729264d63f6732b8b29949c7fd234510d57c61dbeadfcd"}, - {file = "pandas-2.2.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:bde2bc699dbd80d7bc7f9cab1e23a95c4375de615860ca089f34e7c64f4a8de7"}, - {file = "pandas-2.2.0-cp39-cp39-win_amd64.whl", hash = "sha256:3de918a754bbf2da2381e8a3dcc45eede8cd7775b047b923f9006d5f876802ae"}, - {file = "pandas-2.2.0.tar.gz", hash = "sha256:30b83f7c3eb217fb4d1b494a57a2fda5444f17834f5df2de6b2ffff68dc3c8e2"}, -] - -[package.dependencies] -numpy = [ - {version = ">=1.22.4,<2", markers = "python_version < \"3.11\""}, - {version = ">=1.23.2,<2", markers = "python_version == \"3.11\""}, - {version = ">=1.26.0,<2", markers = "python_version >= \"3.12\""}, -] -python-dateutil = ">=2.8.2" -pytz = ">=2020.1" -tzdata = ">=2022.7" - -[package.extras] -all = ["PyQt5 (>=5.15.9)", "SQLAlchemy (>=2.0.0)", "adbc-driver-postgresql (>=0.8.0)", "adbc-driver-sqlite (>=0.8.0)", "beautifulsoup4 (>=4.11.2)", "bottleneck (>=1.3.6)", "dataframe-api-compat (>=0.1.7)", "fastparquet (>=2022.12.0)", "fsspec (>=2022.11.0)", "gcsfs (>=2022.11.0)", "html5lib (>=1.1)", "hypothesis (>=6.46.1)", "jinja2 (>=3.1.2)", "lxml (>=4.9.2)", "matplotlib (>=3.6.3)", "numba (>=0.56.4)", "numexpr (>=2.8.4)", "odfpy (>=1.4.1)", "openpyxl (>=3.1.0)", "pandas-gbq (>=0.19.0)", "psycopg2 (>=2.9.6)", "pyarrow (>=10.0.1)", "pymysql (>=1.0.2)", "pyreadstat (>=1.2.0)", "pytest (>=7.3.2)", "pytest-xdist (>=2.2.0)", "python-calamine (>=0.1.7)", "pyxlsb (>=1.0.10)", "qtpy (>=2.3.0)", "s3fs (>=2022.11.0)", "scipy (>=1.10.0)", "tables (>=3.8.0)", "tabulate (>=0.9.0)", "xarray (>=2022.12.0)", "xlrd (>=2.0.1)", "xlsxwriter (>=3.0.5)", "zstandard (>=0.19.0)"] -aws = ["s3fs (>=2022.11.0)"] -clipboard = ["PyQt5 (>=5.15.9)", "qtpy (>=2.3.0)"] -compression = ["zstandard (>=0.19.0)"] -computation = ["scipy (>=1.10.0)", "xarray (>=2022.12.0)"] -consortium-standard = ["dataframe-api-compat (>=0.1.7)"] -excel = ["odfpy (>=1.4.1)", "openpyxl (>=3.1.0)", "python-calamine (>=0.1.7)", "pyxlsb (>=1.0.10)", "xlrd (>=2.0.1)", "xlsxwriter (>=3.0.5)"] -feather = ["pyarrow (>=10.0.1)"] -fss = ["fsspec (>=2022.11.0)"] -gcp = ["gcsfs (>=2022.11.0)", "pandas-gbq (>=0.19.0)"] -hdf5 = ["tables (>=3.8.0)"] -html = ["beautifulsoup4 (>=4.11.2)", "html5lib (>=1.1)", "lxml (>=4.9.2)"] -mysql = ["SQLAlchemy (>=2.0.0)", "pymysql (>=1.0.2)"] -output-formatting = ["jinja2 (>=3.1.2)", "tabulate (>=0.9.0)"] -parquet = ["pyarrow (>=10.0.1)"] -performance = ["bottleneck (>=1.3.6)", "numba (>=0.56.4)", "numexpr (>=2.8.4)"] -plot = ["matplotlib (>=3.6.3)"] -postgresql = ["SQLAlchemy (>=2.0.0)", "adbc-driver-postgresql (>=0.8.0)", "psycopg2 (>=2.9.6)"] -spss = ["pyreadstat (>=1.2.0)"] -sql-other = ["SQLAlchemy (>=2.0.0)", "adbc-driver-postgresql (>=0.8.0)", "adbc-driver-sqlite (>=0.8.0)"] -test = ["hypothesis (>=6.46.1)", "pytest (>=7.3.2)", "pytest-xdist (>=2.2.0)"] -xml = ["lxml (>=4.9.2)"] - -[[package]] -name = "patsy" -version = "0.5.6" -description = "A Python package for describing statistical models and for building design matrices." -optional = false -python-versions = "*" -files = [ - {file = "patsy-0.5.6-py2.py3-none-any.whl", hash = "sha256:19056886fd8fa71863fa32f0eb090267f21fb74be00f19f5c70b2e9d76c883c6"}, - {file = "patsy-0.5.6.tar.gz", hash = "sha256:95c6d47a7222535f84bff7f63d7303f2e297747a598db89cf5c67f0c0c7d2cdb"}, -] - -[package.dependencies] -numpy = ">=1.4" -six = "*" - -[package.extras] -test = ["pytest", "pytest-cov", "scipy"] - -[[package]] -name = "pillow" -version = "10.2.0" -description = "Python Imaging Library (Fork)" -optional = false -python-versions = ">=3.8" -files = [ - {file = "pillow-10.2.0-cp310-cp310-macosx_10_10_x86_64.whl", hash = "sha256:7823bdd049099efa16e4246bdf15e5a13dbb18a51b68fa06d6c1d4d8b99a796e"}, - {file = "pillow-10.2.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:83b2021f2ade7d1ed556bc50a399127d7fb245e725aa0113ebd05cfe88aaf588"}, - {file = "pillow-10.2.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6fad5ff2f13d69b7e74ce5b4ecd12cc0ec530fcee76356cac6742785ff71c452"}, - {file = "pillow-10.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:da2b52b37dad6d9ec64e653637a096905b258d2fc2b984c41ae7d08b938a67e4"}, - {file = "pillow-10.2.0-cp310-cp310-manylinux_2_28_aarch64.whl", hash = "sha256:47c0995fc4e7f79b5cfcab1fc437ff2890b770440f7696a3ba065ee0fd496563"}, - {file = "pillow-10.2.0-cp310-cp310-manylinux_2_28_x86_64.whl", hash = "sha256:322bdf3c9b556e9ffb18f93462e5f749d3444ce081290352c6070d014c93feb2"}, - {file = "pillow-10.2.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:51f1a1bffc50e2e9492e87d8e09a17c5eea8409cda8d3f277eb6edc82813c17c"}, - {file = "pillow-10.2.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:69ffdd6120a4737710a9eee73e1d2e37db89b620f702754b8f6e62594471dee0"}, - {file = "pillow-10.2.0-cp310-cp310-win32.whl", hash = "sha256:c6dafac9e0f2b3c78df97e79af707cdc5ef8e88208d686a4847bab8266870023"}, - {file = "pillow-10.2.0-cp310-cp310-win_amd64.whl", hash = "sha256:aebb6044806f2e16ecc07b2a2637ee1ef67a11840a66752751714a0d924adf72"}, - {file = "pillow-10.2.0-cp310-cp310-win_arm64.whl", hash = "sha256:7049e301399273a0136ff39b84c3678e314f2158f50f517bc50285fb5ec847ad"}, - {file = "pillow-10.2.0-cp311-cp311-macosx_10_10_x86_64.whl", hash = "sha256:35bb52c37f256f662abdfa49d2dfa6ce5d93281d323a9af377a120e89a9eafb5"}, - {file = "pillow-10.2.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:9c23f307202661071d94b5e384e1e1dc7dfb972a28a2310e4ee16103e66ddb67"}, - {file = "pillow-10.2.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:773efe0603db30c281521a7c0214cad7836c03b8ccff897beae9b47c0b657d61"}, - {file = "pillow-10.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:11fa2e5984b949b0dd6d7a94d967743d87c577ff0b83392f17cb3990d0d2fd6e"}, - {file = "pillow-10.2.0-cp311-cp311-manylinux_2_28_aarch64.whl", hash = "sha256:716d30ed977be8b37d3ef185fecb9e5a1d62d110dfbdcd1e2a122ab46fddb03f"}, - {file = "pillow-10.2.0-cp311-cp311-manylinux_2_28_x86_64.whl", hash = "sha256:a086c2af425c5f62a65e12fbf385f7c9fcb8f107d0849dba5839461a129cf311"}, - {file = "pillow-10.2.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:c8de2789052ed501dd829e9cae8d3dcce7acb4777ea4a479c14521c942d395b1"}, - {file = "pillow-10.2.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:609448742444d9290fd687940ac0b57fb35e6fd92bdb65386e08e99af60bf757"}, - {file = "pillow-10.2.0-cp311-cp311-win32.whl", hash = "sha256:823ef7a27cf86df6597fa0671066c1b596f69eba53efa3d1e1cb8b30f3533068"}, - {file = "pillow-10.2.0-cp311-cp311-win_amd64.whl", hash = "sha256:1da3b2703afd040cf65ec97efea81cfba59cdbed9c11d8efc5ab09df9509fc56"}, - {file = "pillow-10.2.0-cp311-cp311-win_arm64.whl", hash = "sha256:edca80cbfb2b68d7b56930b84a0e45ae1694aeba0541f798e908a49d66b837f1"}, - {file = "pillow-10.2.0-cp312-cp312-macosx_10_10_x86_64.whl", hash = "sha256:1b5e1b74d1bd1b78bc3477528919414874748dd363e6272efd5abf7654e68bef"}, - {file = "pillow-10.2.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:0eae2073305f451d8ecacb5474997c08569fb4eb4ac231ffa4ad7d342fdc25ac"}, - {file = "pillow-10.2.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b7c2286c23cd350b80d2fc9d424fc797575fb16f854b831d16fd47ceec078f2c"}, - {file = "pillow-10.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1e23412b5c41e58cec602f1135c57dfcf15482013ce6e5f093a86db69646a5aa"}, - {file = "pillow-10.2.0-cp312-cp312-manylinux_2_28_aarch64.whl", hash = "sha256:52a50aa3fb3acb9cf7213573ef55d31d6eca37f5709c69e6858fe3bc04a5c2a2"}, - {file = "pillow-10.2.0-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:127cee571038f252a552760076407f9cff79761c3d436a12af6000cd182a9d04"}, - {file = "pillow-10.2.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:8d12251f02d69d8310b046e82572ed486685c38f02176bd08baf216746eb947f"}, - {file = "pillow-10.2.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:54f1852cd531aa981bc0965b7d609f5f6cc8ce8c41b1139f6ed6b3c54ab82bfb"}, - {file = "pillow-10.2.0-cp312-cp312-win32.whl", hash = "sha256:257d8788df5ca62c980314053197f4d46eefedf4e6175bc9412f14412ec4ea2f"}, - {file = "pillow-10.2.0-cp312-cp312-win_amd64.whl", hash = "sha256:154e939c5f0053a383de4fd3d3da48d9427a7e985f58af8e94d0b3c9fcfcf4f9"}, - {file = "pillow-10.2.0-cp312-cp312-win_arm64.whl", hash = "sha256:f379abd2f1e3dddb2b61bc67977a6b5a0a3f7485538bcc6f39ec76163891ee48"}, - {file = "pillow-10.2.0-cp38-cp38-macosx_10_10_x86_64.whl", hash = "sha256:8373c6c251f7ef8bda6675dd6d2b3a0fcc31edf1201266b5cf608b62a37407f9"}, - {file = "pillow-10.2.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:870ea1ada0899fd0b79643990809323b389d4d1d46c192f97342eeb6ee0b8483"}, - {file = "pillow-10.2.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b4b6b1e20608493548b1f32bce8cca185bf0480983890403d3b8753e44077129"}, - {file = "pillow-10.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3031709084b6e7852d00479fd1d310b07d0ba82765f973b543c8af5061cf990e"}, - {file = "pillow-10.2.0-cp38-cp38-manylinux_2_28_aarch64.whl", hash = "sha256:3ff074fc97dd4e80543a3e91f69d58889baf2002b6be64347ea8cf5533188213"}, - {file = "pillow-10.2.0-cp38-cp38-manylinux_2_28_x86_64.whl", hash = "sha256:cb4c38abeef13c61d6916f264d4845fab99d7b711be96c326b84df9e3e0ff62d"}, - {file = "pillow-10.2.0-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:b1b3020d90c2d8e1dae29cf3ce54f8094f7938460fb5ce8bc5c01450b01fbaf6"}, - {file = "pillow-10.2.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:170aeb00224ab3dc54230c797f8404507240dd868cf52066f66a41b33169bdbe"}, - {file = "pillow-10.2.0-cp38-cp38-win32.whl", hash = "sha256:c4225f5220f46b2fde568c74fca27ae9771536c2e29d7c04f4fb62c83275ac4e"}, - {file = "pillow-10.2.0-cp38-cp38-win_amd64.whl", hash = "sha256:0689b5a8c5288bc0504d9fcee48f61a6a586b9b98514d7d29b840143d6734f39"}, - {file = "pillow-10.2.0-cp39-cp39-macosx_10_10_x86_64.whl", hash = "sha256:b792a349405fbc0163190fde0dc7b3fef3c9268292586cf5645598b48e63dc67"}, - {file = "pillow-10.2.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:c570f24be1e468e3f0ce7ef56a89a60f0e05b30a3669a459e419c6eac2c35364"}, - {file = "pillow-10.2.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d8ecd059fdaf60c1963c58ceb8997b32e9dc1b911f5da5307aab614f1ce5c2fb"}, - {file = "pillow-10.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c365fd1703040de1ec284b176d6af5abe21b427cb3a5ff68e0759e1e313a5e7e"}, - {file = "pillow-10.2.0-cp39-cp39-manylinux_2_28_aarch64.whl", hash = "sha256:70c61d4c475835a19b3a5aa42492409878bbca7438554a1f89d20d58a7c75c01"}, - {file = "pillow-10.2.0-cp39-cp39-manylinux_2_28_x86_64.whl", hash = "sha256:b6f491cdf80ae540738859d9766783e3b3c8e5bd37f5dfa0b76abdecc5081f13"}, - {file = "pillow-10.2.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:9d189550615b4948f45252d7f005e53c2040cea1af5b60d6f79491a6e147eef7"}, - {file = "pillow-10.2.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:49d9ba1ed0ef3e061088cd1e7538a0759aab559e2e0a80a36f9fd9d8c0c21591"}, - {file = "pillow-10.2.0-cp39-cp39-win32.whl", hash = "sha256:babf5acfede515f176833ed6028754cbcd0d206f7f614ea3447d67c33be12516"}, - {file = "pillow-10.2.0-cp39-cp39-win_amd64.whl", hash = "sha256:0304004f8067386b477d20a518b50f3fa658a28d44e4116970abfcd94fac34a8"}, - {file = "pillow-10.2.0-cp39-cp39-win_arm64.whl", hash = "sha256:0fb3e7fc88a14eacd303e90481ad983fd5b69c761e9e6ef94c983f91025da869"}, - {file = "pillow-10.2.0-pp310-pypy310_pp73-macosx_10_10_x86_64.whl", hash = "sha256:322209c642aabdd6207517e9739c704dc9f9db943015535783239022002f054a"}, - {file = "pillow-10.2.0-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3eedd52442c0a5ff4f887fab0c1c0bb164d8635b32c894bc1faf4c618dd89df2"}, - {file = "pillow-10.2.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cb28c753fd5eb3dd859b4ee95de66cc62af91bcff5db5f2571d32a520baf1f04"}, - {file = "pillow-10.2.0-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:33870dc4653c5017bf4c8873e5488d8f8d5f8935e2f1fb9a2208c47cdd66efd2"}, - {file = "pillow-10.2.0-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:3c31822339516fb3c82d03f30e22b1d038da87ef27b6a78c9549888f8ceda39a"}, - {file = "pillow-10.2.0-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:a2b56ba36e05f973d450582fb015594aaa78834fefe8dfb8fcd79b93e64ba4c6"}, - {file = "pillow-10.2.0-pp38-pypy38_pp73-win_amd64.whl", hash = "sha256:d8e6aeb9201e655354b3ad049cb77d19813ad4ece0df1249d3c793de3774f8c7"}, - {file = "pillow-10.2.0-pp39-pypy39_pp73-macosx_10_10_x86_64.whl", hash = "sha256:2247178effb34a77c11c0e8ac355c7a741ceca0a732b27bf11e747bbc950722f"}, - {file = "pillow-10.2.0-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:15587643b9e5eb26c48e49a7b33659790d28f190fc514a322d55da2fb5c2950e"}, - {file = "pillow-10.2.0-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:753cd8f2086b2b80180d9b3010dd4ed147efc167c90d3bf593fe2af21265e5a5"}, - {file = "pillow-10.2.0-pp39-pypy39_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:7c8f97e8e7a9009bcacbe3766a36175056c12f9a44e6e6f2d5caad06dcfbf03b"}, - {file = "pillow-10.2.0-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:d1b35bcd6c5543b9cb547dee3150c93008f8dd0f1fef78fc0cd2b141c5baf58a"}, - {file = "pillow-10.2.0-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:fe4c15f6c9285dc54ce6553a3ce908ed37c8f3825b5a51a15c91442bb955b868"}, - {file = "pillow-10.2.0.tar.gz", hash = "sha256:e87f0b2c78157e12d7686b27d63c070fd65d994e8ddae6f328e0dcf4a0cd007e"}, -] - -[package.extras] -docs = ["furo", "olefile", "sphinx (>=2.4)", "sphinx-copybutton", "sphinx-inline-tabs", "sphinx-removed-in", "sphinxext-opengraph"] -fpx = ["olefile"] -mic = ["olefile"] -tests = ["check-manifest", "coverage", "defusedxml", "markdown2", "olefile", "packaging", "pyroma", "pytest", "pytest-cov", "pytest-timeout"] -typing = ["typing-extensions"] -xmp = ["defusedxml"] - -[[package]] -name = "pluggy" -version = "1.3.0" -description = "plugin and hook calling mechanisms for python" -optional = false -python-versions = ">=3.8" -files = [ - {file = "pluggy-1.3.0-py3-none-any.whl", hash = "sha256:d89c696a773f8bd377d18e5ecda92b7a3793cbe66c87060a6fb58c7b6e1061f7"}, - {file = "pluggy-1.3.0.tar.gz", hash = "sha256:cf61ae8f126ac6f7c451172cf30e3e43d3ca77615509771b3a984a0730651e12"}, -] - -[package.extras] -dev = ["pre-commit", "tox"] -testing = ["pytest", "pytest-benchmark"] - -[[package]] -name = "protobuf" -version = "4.25.2" -description = "" -optional = false -python-versions = ">=3.8" -files = [ - {file = "protobuf-4.25.2-cp310-abi3-win32.whl", hash = "sha256:b50c949608682b12efb0b2717f53256f03636af5f60ac0c1d900df6213910fd6"}, - {file = "protobuf-4.25.2-cp310-abi3-win_amd64.whl", hash = "sha256:8f62574857ee1de9f770baf04dde4165e30b15ad97ba03ceac65f760ff018ac9"}, - {file = "protobuf-4.25.2-cp37-abi3-macosx_10_9_universal2.whl", hash = "sha256:2db9f8fa64fbdcdc93767d3cf81e0f2aef176284071507e3ede160811502fd3d"}, - {file = "protobuf-4.25.2-cp37-abi3-manylinux2014_aarch64.whl", hash = "sha256:10894a2885b7175d3984f2be8d9850712c57d5e7587a2410720af8be56cdaf62"}, - {file = "protobuf-4.25.2-cp37-abi3-manylinux2014_x86_64.whl", hash = "sha256:fc381d1dd0516343f1440019cedf08a7405f791cd49eef4ae1ea06520bc1c020"}, - {file = "protobuf-4.25.2-cp38-cp38-win32.whl", hash = "sha256:33a1aeef4b1927431d1be780e87b641e322b88d654203a9e9d93f218ee359e61"}, - {file = "protobuf-4.25.2-cp38-cp38-win_amd64.whl", hash = "sha256:47f3de503fe7c1245f6f03bea7e8d3ec11c6c4a2ea9ef910e3221c8a15516d62"}, - {file = "protobuf-4.25.2-cp39-cp39-win32.whl", hash = "sha256:5e5c933b4c30a988b52e0b7c02641760a5ba046edc5e43d3b94a74c9fc57c1b3"}, - {file = "protobuf-4.25.2-cp39-cp39-win_amd64.whl", hash = "sha256:d66a769b8d687df9024f2985d5137a337f957a0916cf5464d1513eee96a63ff0"}, - {file = "protobuf-4.25.2-py3-none-any.whl", hash = "sha256:a8b7a98d4ce823303145bf3c1a8bdb0f2f4642a414b196f04ad9853ed0c8f830"}, - {file = "protobuf-4.25.2.tar.gz", hash = "sha256:fe599e175cb347efc8ee524bcd4b902d11f7262c0e569ececcb89995c15f0a5e"}, -] - -[[package]] -name = "psutil" -version = "5.9.8" -description = "Cross-platform lib for process and system monitoring in Python." -optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*" -files = [ - {file = "psutil-5.9.8-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:26bd09967ae00920df88e0352a91cff1a78f8d69b3ecabbfe733610c0af486c8"}, - {file = "psutil-5.9.8-cp27-cp27m-manylinux2010_i686.whl", hash = "sha256:05806de88103b25903dff19bb6692bd2e714ccf9e668d050d144012055cbca73"}, - {file = "psutil-5.9.8-cp27-cp27m-manylinux2010_x86_64.whl", hash = "sha256:611052c4bc70432ec770d5d54f64206aa7203a101ec273a0cd82418c86503bb7"}, - {file = "psutil-5.9.8-cp27-cp27mu-manylinux2010_i686.whl", hash = "sha256:50187900d73c1381ba1454cf40308c2bf6f34268518b3f36a9b663ca87e65e36"}, - {file = "psutil-5.9.8-cp27-cp27mu-manylinux2010_x86_64.whl", hash = "sha256:02615ed8c5ea222323408ceba16c60e99c3f91639b07da6373fb7e6539abc56d"}, - {file = "psutil-5.9.8-cp27-none-win32.whl", hash = "sha256:36f435891adb138ed3c9e58c6af3e2e6ca9ac2f365efe1f9cfef2794e6c93b4e"}, - {file = "psutil-5.9.8-cp27-none-win_amd64.whl", hash = "sha256:bd1184ceb3f87651a67b2708d4c3338e9b10c5df903f2e3776b62303b26cb631"}, - {file = "psutil-5.9.8-cp36-abi3-macosx_10_9_x86_64.whl", hash = "sha256:aee678c8720623dc456fa20659af736241f575d79429a0e5e9cf88ae0605cc81"}, - {file = "psutil-5.9.8-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8cb6403ce6d8e047495a701dc7c5bd788add903f8986d523e3e20b98b733e421"}, - {file = "psutil-5.9.8-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d06016f7f8625a1825ba3732081d77c94589dca78b7a3fc072194851e88461a4"}, - {file = "psutil-5.9.8-cp36-cp36m-win32.whl", hash = "sha256:7d79560ad97af658a0f6adfef8b834b53f64746d45b403f225b85c5c2c140eee"}, - {file = "psutil-5.9.8-cp36-cp36m-win_amd64.whl", hash = "sha256:27cc40c3493bb10de1be4b3f07cae4c010ce715290a5be22b98493509c6299e2"}, - {file = "psutil-5.9.8-cp37-abi3-win32.whl", hash = "sha256:bc56c2a1b0d15aa3eaa5a60c9f3f8e3e565303b465dbf57a1b730e7a2b9844e0"}, - {file = "psutil-5.9.8-cp37-abi3-win_amd64.whl", hash = "sha256:8db4c1b57507eef143a15a6884ca10f7c73876cdf5d51e713151c1236a0e68cf"}, - {file = "psutil-5.9.8-cp38-abi3-macosx_11_0_arm64.whl", hash = "sha256:d16bbddf0693323b8c6123dd804100241da461e41d6e332fb0ba6058f630f8c8"}, - {file = "psutil-5.9.8.tar.gz", hash = "sha256:6be126e3225486dff286a8fb9a06246a5253f4c7c53b475ea5f5ac934e64194c"}, -] - -[package.extras] -test = ["enum34", "ipaddress", "mock", "pywin32", "wmi"] - -[[package]] -name = "pyarrow" -version = "14.0.2" -description = "Python library for Apache Arrow" -optional = false -python-versions = ">=3.8" -files = [ - {file = "pyarrow-14.0.2-cp310-cp310-macosx_10_14_x86_64.whl", hash = "sha256:ba9fe808596c5dbd08b3aeffe901e5f81095baaa28e7d5118e01354c64f22807"}, - {file = "pyarrow-14.0.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:22a768987a16bb46220cef490c56c671993fbee8fd0475febac0b3e16b00a10e"}, - {file = "pyarrow-14.0.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2dbba05e98f247f17e64303eb876f4a80fcd32f73c7e9ad975a83834d81f3fda"}, - {file = "pyarrow-14.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a898d134d00b1eca04998e9d286e19653f9d0fcb99587310cd10270907452a6b"}, - {file = "pyarrow-14.0.2-cp310-cp310-manylinux_2_28_aarch64.whl", hash = "sha256:87e879323f256cb04267bb365add7208f302df942eb943c93a9dfeb8f44840b1"}, - {file = "pyarrow-14.0.2-cp310-cp310-manylinux_2_28_x86_64.whl", hash = "sha256:76fc257559404ea5f1306ea9a3ff0541bf996ff3f7b9209fc517b5e83811fa8e"}, - {file = "pyarrow-14.0.2-cp310-cp310-win_amd64.whl", hash = "sha256:b0c4a18e00f3a32398a7f31da47fefcd7a927545b396e1f15d0c85c2f2c778cd"}, - {file = "pyarrow-14.0.2-cp311-cp311-macosx_10_14_x86_64.whl", hash = "sha256:87482af32e5a0c0cce2d12eb3c039dd1d853bd905b04f3f953f147c7a196915b"}, - {file = "pyarrow-14.0.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:059bd8f12a70519e46cd64e1ba40e97eae55e0cbe1695edd95384653d7626b23"}, - {file = "pyarrow-14.0.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3f16111f9ab27e60b391c5f6d197510e3ad6654e73857b4e394861fc79c37200"}, - {file = "pyarrow-14.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:06ff1264fe4448e8d02073f5ce45a9f934c0f3db0a04460d0b01ff28befc3696"}, - {file = "pyarrow-14.0.2-cp311-cp311-manylinux_2_28_aarch64.whl", hash = "sha256:6dd4f4b472ccf4042f1eab77e6c8bce574543f54d2135c7e396f413046397d5a"}, - {file = "pyarrow-14.0.2-cp311-cp311-manylinux_2_28_x86_64.whl", hash = "sha256:32356bfb58b36059773f49e4e214996888eeea3a08893e7dbde44753799b2a02"}, - {file = "pyarrow-14.0.2-cp311-cp311-win_amd64.whl", hash = "sha256:52809ee69d4dbf2241c0e4366d949ba035cbcf48409bf404f071f624ed313a2b"}, - {file = "pyarrow-14.0.2-cp312-cp312-macosx_10_14_x86_64.whl", hash = "sha256:c87824a5ac52be210d32906c715f4ed7053d0180c1060ae3ff9b7e560f53f944"}, - {file = "pyarrow-14.0.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:a25eb2421a58e861f6ca91f43339d215476f4fe159eca603c55950c14f378cc5"}, - {file = "pyarrow-14.0.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5c1da70d668af5620b8ba0a23f229030a4cd6c5f24a616a146f30d2386fec422"}, - {file = "pyarrow-14.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2cc61593c8e66194c7cdfae594503e91b926a228fba40b5cf25cc593563bcd07"}, - {file = "pyarrow-14.0.2-cp312-cp312-manylinux_2_28_aarch64.whl", hash = "sha256:78ea56f62fb7c0ae8ecb9afdd7893e3a7dbeb0b04106f5c08dbb23f9c0157591"}, - {file = "pyarrow-14.0.2-cp312-cp312-manylinux_2_28_x86_64.whl", hash = "sha256:37c233ddbce0c67a76c0985612fef27c0c92aef9413cf5aa56952f359fcb7379"}, - {file = "pyarrow-14.0.2-cp312-cp312-win_amd64.whl", hash = "sha256:e4b123ad0f6add92de898214d404e488167b87b5dd86e9a434126bc2b7a5578d"}, - {file = "pyarrow-14.0.2-cp38-cp38-macosx_10_14_x86_64.whl", hash = "sha256:e354fba8490de258be7687f341bc04aba181fc8aa1f71e4584f9890d9cb2dec2"}, - {file = "pyarrow-14.0.2-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:20e003a23a13da963f43e2b432483fdd8c38dc8882cd145f09f21792e1cf22a1"}, - {file = "pyarrow-14.0.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fc0de7575e841f1595ac07e5bc631084fd06ca8b03c0f2ecece733d23cd5102a"}, - {file = "pyarrow-14.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:66e986dc859712acb0bd45601229021f3ffcdfc49044b64c6d071aaf4fa49e98"}, - {file = "pyarrow-14.0.2-cp38-cp38-manylinux_2_28_aarch64.whl", hash = "sha256:f7d029f20ef56673a9730766023459ece397a05001f4e4d13805111d7c2108c0"}, - {file = "pyarrow-14.0.2-cp38-cp38-manylinux_2_28_x86_64.whl", hash = "sha256:209bac546942b0d8edc8debda248364f7f668e4aad4741bae58e67d40e5fcf75"}, - {file = "pyarrow-14.0.2-cp38-cp38-win_amd64.whl", hash = "sha256:1e6987c5274fb87d66bb36816afb6f65707546b3c45c44c28e3c4133c010a881"}, - {file = "pyarrow-14.0.2-cp39-cp39-macosx_10_14_x86_64.whl", hash = "sha256:a01d0052d2a294a5f56cc1862933014e696aa08cc7b620e8c0cce5a5d362e976"}, - {file = "pyarrow-14.0.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:a51fee3a7db4d37f8cda3ea96f32530620d43b0489d169b285d774da48ca9785"}, - {file = "pyarrow-14.0.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:64df2bf1ef2ef14cee531e2dfe03dd924017650ffaa6f9513d7a1bb291e59c15"}, - {file = "pyarrow-14.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3c0fa3bfdb0305ffe09810f9d3e2e50a2787e3a07063001dcd7adae0cee3601a"}, - {file = "pyarrow-14.0.2-cp39-cp39-manylinux_2_28_aarch64.whl", hash = "sha256:c65bf4fd06584f058420238bc47a316e80dda01ec0dfb3044594128a6c2db794"}, - {file = "pyarrow-14.0.2-cp39-cp39-manylinux_2_28_x86_64.whl", hash = "sha256:63ac901baec9369d6aae1cbe6cca11178fb018a8d45068aaf5bb54f94804a866"}, - {file = "pyarrow-14.0.2-cp39-cp39-win_amd64.whl", hash = "sha256:75ee0efe7a87a687ae303d63037d08a48ef9ea0127064df18267252cfe2e9541"}, - {file = "pyarrow-14.0.2.tar.gz", hash = "sha256:36cef6ba12b499d864d1def3e990f97949e0b79400d08b7cf74504ffbd3eb025"}, -] - -[package.dependencies] -numpy = ">=1.16.6" - -[[package]] -name = "pyjwt" -version = "2.8.0" -description = "JSON Web Token implementation in Python" -optional = false -python-versions = ">=3.7" -files = [ - {file = "PyJWT-2.8.0-py3-none-any.whl", hash = "sha256:59127c392cc44c2da5bb3192169a91f429924e17aff6534d70fdc02ab3e04320"}, - {file = "PyJWT-2.8.0.tar.gz", hash = "sha256:57e28d156e3d5c10088e0c68abb90bfac3df82b40a71bd0daa20c65ccd5c23de"}, -] - -[package.extras] -crypto = ["cryptography (>=3.4.0)"] -dev = ["coverage[toml] (==5.0.4)", "cryptography (>=3.4.0)", "pre-commit", "pytest (>=6.0.0,<7.0.0)", "sphinx (>=4.5.0,<5.0.0)", "sphinx-rtd-theme", "zope.interface"] -docs = ["sphinx (>=4.5.0,<5.0.0)", "sphinx-rtd-theme", "zope.interface"] -tests = ["coverage[toml] (==5.0.4)", "pytest (>=6.0.0,<7.0.0)"] - -[[package]] -name = "pyparsing" -version = "3.1.1" -description = "pyparsing module - Classes and methods to define and execute parsing grammars" -optional = false -python-versions = ">=3.6.8" -files = [ - {file = "pyparsing-3.1.1-py3-none-any.whl", hash = "sha256:32c7c0b711493c72ff18a981d24f28aaf9c1fb7ed5e9667c9e84e3db623bdbfb"}, - {file = "pyparsing-3.1.1.tar.gz", hash = "sha256:ede28a1a32462f5a9705e07aea48001a08f7cf81a021585011deba701581a0db"}, -] - -[package.extras] -diagrams = ["jinja2", "railroad-diagrams"] - -[[package]] -name = "pytest" -version = "7.4.4" -description = "pytest: simple powerful testing with Python" -optional = false -python-versions = ">=3.7" -files = [ - {file = "pytest-7.4.4-py3-none-any.whl", hash = "sha256:b090cdf5ed60bf4c45261be03239c2c1c22df034fbffe691abe93cd80cea01d8"}, - {file = "pytest-7.4.4.tar.gz", hash = "sha256:2cf0005922c6ace4a3e2ec8b4080eb0d9753fdc93107415332f50ce9e7994280"}, -] - -[package.dependencies] -colorama = {version = "*", markers = "sys_platform == \"win32\""} -exceptiongroup = {version = ">=1.0.0rc8", markers = "python_version < \"3.11\""} -iniconfig = "*" -packaging = "*" -pluggy = ">=0.12,<2.0" -tomli = {version = ">=1.0.0", markers = "python_version < \"3.11\""} - -[package.extras] -testing = ["argcomplete", "attrs (>=19.2.0)", "hypothesis (>=3.56)", "mock", "nose", "pygments (>=2.7.2)", "requests", "setuptools", "xmlschema"] - -[[package]] -name = "python-dateutil" -version = "2.8.2" -description = "Extensions to the standard Python datetime module" -optional = false -python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7" -files = [ - {file = "python-dateutil-2.8.2.tar.gz", hash = "sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86"}, - {file = "python_dateutil-2.8.2-py2.py3-none-any.whl", hash = "sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9"}, -] - -[package.dependencies] -six = ">=1.5" - -[[package]] -name = "pytz" -version = "2020.5" -description = "World timezone definitions, modern and historical" -optional = false -python-versions = "*" -files = [ - {file = "pytz-2020.5-py2.py3-none-any.whl", hash = "sha256:16962c5fb8db4a8f63a26646d8886e9d769b6c511543557bc84e9569fb9a9cb4"}, - {file = "pytz-2020.5.tar.gz", hash = "sha256:180befebb1927b16f6b57101720075a984c019ac16b1b7575673bea42c6c3da5"}, -] - -[[package]] -name = "pywin32" -version = "306" -description = "Python for Window Extensions" -optional = false -python-versions = "*" -files = [ - {file = "pywin32-306-cp310-cp310-win32.whl", hash = "sha256:06d3420a5155ba65f0b72f2699b5bacf3109f36acbe8923765c22938a69dfc8d"}, - {file = "pywin32-306-cp310-cp310-win_amd64.whl", hash = "sha256:84f4471dbca1887ea3803d8848a1616429ac94a4a8d05f4bc9c5dcfd42ca99c8"}, - {file = "pywin32-306-cp311-cp311-win32.whl", hash = "sha256:e65028133d15b64d2ed8f06dd9fbc268352478d4f9289e69c190ecd6818b6407"}, - {file = "pywin32-306-cp311-cp311-win_amd64.whl", hash = "sha256:a7639f51c184c0272e93f244eb24dafca9b1855707d94c192d4a0b4c01e1100e"}, - {file = "pywin32-306-cp311-cp311-win_arm64.whl", hash = "sha256:70dba0c913d19f942a2db25217d9a1b726c278f483a919f1abfed79c9cf64d3a"}, - {file = "pywin32-306-cp312-cp312-win32.whl", hash = "sha256:383229d515657f4e3ed1343da8be101000562bf514591ff383ae940cad65458b"}, - {file = "pywin32-306-cp312-cp312-win_amd64.whl", hash = "sha256:37257794c1ad39ee9be652da0462dc2e394c8159dfd913a8a4e8eb6fd346da0e"}, - {file = "pywin32-306-cp312-cp312-win_arm64.whl", hash = "sha256:5821ec52f6d321aa59e2db7e0a35b997de60c201943557d108af9d4ae1ec7040"}, - {file = "pywin32-306-cp37-cp37m-win32.whl", hash = "sha256:1c73ea9a0d2283d889001998059f5eaaba3b6238f767c9cf2833b13e6a685f65"}, - {file = "pywin32-306-cp37-cp37m-win_amd64.whl", hash = "sha256:72c5f621542d7bdd4fdb716227be0dd3f8565c11b280be6315b06ace35487d36"}, - {file = "pywin32-306-cp38-cp38-win32.whl", hash = "sha256:e4c092e2589b5cf0d365849e73e02c391c1349958c5ac3e9d5ccb9a28e017b3a"}, - {file = "pywin32-306-cp38-cp38-win_amd64.whl", hash = "sha256:e8ac1ae3601bee6ca9f7cb4b5363bf1c0badb935ef243c4733ff9a393b1690c0"}, - {file = "pywin32-306-cp39-cp39-win32.whl", hash = "sha256:e25fd5b485b55ac9c057f67d94bc203f3f6595078d1fb3b458c9c28b7153a802"}, - {file = "pywin32-306-cp39-cp39-win_amd64.whl", hash = "sha256:39b61c15272833b5c329a2989999dcae836b1eed650252ab1b7bfbe1d59f30f4"}, -] - -[[package]] -name = "pyyaml" -version = "6.0.1" -description = "YAML parser and emitter for Python" -optional = false -python-versions = ">=3.6" -files = [ - {file = "PyYAML-6.0.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:d858aa552c999bc8a8d57426ed01e40bef403cd8ccdd0fc5f6f04a00414cac2a"}, - {file = "PyYAML-6.0.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:fd66fc5d0da6d9815ba2cebeb4205f95818ff4b79c3ebe268e75d961704af52f"}, - {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:69b023b2b4daa7548bcfbd4aa3da05b3a74b772db9e23b982788168117739938"}, - {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:81e0b275a9ecc9c0c0c07b4b90ba548307583c125f54d5b6946cfee6360c733d"}, - {file = "PyYAML-6.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ba336e390cd8e4d1739f42dfe9bb83a3cc2e80f567d8805e11b46f4a943f5515"}, - {file = "PyYAML-6.0.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:326c013efe8048858a6d312ddd31d56e468118ad4cdeda36c719bf5bb6192290"}, - {file = "PyYAML-6.0.1-cp310-cp310-win32.whl", hash = "sha256:bd4af7373a854424dabd882decdc5579653d7868b8fb26dc7d0e99f823aa5924"}, - {file = "PyYAML-6.0.1-cp310-cp310-win_amd64.whl", hash = "sha256:fd1592b3fdf65fff2ad0004b5e363300ef59ced41c2e6b3a99d4089fa8c5435d"}, - {file = "PyYAML-6.0.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:6965a7bc3cf88e5a1c3bd2e0b5c22f8d677dc88a455344035f03399034eb3007"}, - {file = "PyYAML-6.0.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:f003ed9ad21d6a4713f0a9b5a7a0a79e08dd0f221aff4525a2be4c346ee60aab"}, - {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:42f8152b8dbc4fe7d96729ec2b99c7097d656dc1213a3229ca5383f973a5ed6d"}, - {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:062582fca9fabdd2c8b54a3ef1c978d786e0f6b3a1510e0ac93ef59e0ddae2bc"}, - {file = "PyYAML-6.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d2b04aac4d386b172d5b9692e2d2da8de7bfb6c387fa4f801fbf6fb2e6ba4673"}, - {file = "PyYAML-6.0.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:e7d73685e87afe9f3b36c799222440d6cf362062f78be1013661b00c5c6f678b"}, - {file = "PyYAML-6.0.1-cp311-cp311-win32.whl", hash = "sha256:1635fd110e8d85d55237ab316b5b011de701ea0f29d07611174a1b42f1444741"}, - {file = "PyYAML-6.0.1-cp311-cp311-win_amd64.whl", hash = "sha256:bf07ee2fef7014951eeb99f56f39c9bb4af143d8aa3c21b1677805985307da34"}, - {file = "PyYAML-6.0.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:855fb52b0dc35af121542a76b9a84f8d1cd886ea97c84703eaa6d88e37a2ad28"}, - {file = "PyYAML-6.0.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:40df9b996c2b73138957fe23a16a4f0ba614f4c0efce1e9406a184b6d07fa3a9"}, - {file = "PyYAML-6.0.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a08c6f0fe150303c1c6b71ebcd7213c2858041a7e01975da3a99aed1e7a378ef"}, - {file = "PyYAML-6.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6c22bec3fbe2524cde73d7ada88f6566758a8f7227bfbf93a408a9d86bcc12a0"}, - {file = "PyYAML-6.0.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:8d4e9c88387b0f5c7d5f281e55304de64cf7f9c0021a3525bd3b1c542da3b0e4"}, - {file = "PyYAML-6.0.1-cp312-cp312-win32.whl", hash = "sha256:d483d2cdf104e7c9fa60c544d92981f12ad66a457afae824d146093b8c294c54"}, - {file = "PyYAML-6.0.1-cp312-cp312-win_amd64.whl", hash = "sha256:0d3304d8c0adc42be59c5f8a4d9e3d7379e6955ad754aa9d6ab7a398b59dd1df"}, - {file = "PyYAML-6.0.1-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:50550eb667afee136e9a77d6dc71ae76a44df8b3e51e41b77f6de2932bfe0f47"}, - {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1fe35611261b29bd1de0070f0b2f47cb6ff71fa6595c077e42bd0c419fa27b98"}, - {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:704219a11b772aea0d8ecd7058d0082713c3562b4e271b849ad7dc4a5c90c13c"}, - {file = "PyYAML-6.0.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:afd7e57eddb1a54f0f1a974bc4391af8bcce0b444685d936840f125cf046d5bd"}, - {file = "PyYAML-6.0.1-cp36-cp36m-win32.whl", hash = "sha256:fca0e3a251908a499833aa292323f32437106001d436eca0e6e7833256674585"}, - {file = "PyYAML-6.0.1-cp36-cp36m-win_amd64.whl", hash = "sha256:f22ac1c3cac4dbc50079e965eba2c1058622631e526bd9afd45fedd49ba781fa"}, - {file = "PyYAML-6.0.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:b1275ad35a5d18c62a7220633c913e1b42d44b46ee12554e5fd39c70a243d6a3"}, - {file = "PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:18aeb1bf9a78867dc38b259769503436b7c72f7a1f1f4c93ff9a17de54319b27"}, - {file = "PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:596106435fa6ad000c2991a98fa58eeb8656ef2325d7e158344fb33864ed87e3"}, - {file = "PyYAML-6.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:baa90d3f661d43131ca170712d903e6295d1f7a0f595074f151c0aed377c9b9c"}, - {file = "PyYAML-6.0.1-cp37-cp37m-win32.whl", hash = "sha256:9046c58c4395dff28dd494285c82ba00b546adfc7ef001486fbf0324bc174fba"}, - {file = "PyYAML-6.0.1-cp37-cp37m-win_amd64.whl", hash = "sha256:4fb147e7a67ef577a588a0e2c17b6db51dda102c71de36f8549b6816a96e1867"}, - {file = "PyYAML-6.0.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:1d4c7e777c441b20e32f52bd377e0c409713e8bb1386e1099c2415f26e479595"}, - {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a0cd17c15d3bb3fa06978b4e8958dcdc6e0174ccea823003a106c7d4d7899ac5"}, - {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:28c119d996beec18c05208a8bd78cbe4007878c6dd15091efb73a30e90539696"}, - {file = "PyYAML-6.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7e07cbde391ba96ab58e532ff4803f79c4129397514e1413a7dc761ccd755735"}, - {file = "PyYAML-6.0.1-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:49a183be227561de579b4a36efbb21b3eab9651dd81b1858589f796549873dd6"}, - {file = "PyYAML-6.0.1-cp38-cp38-win32.whl", hash = "sha256:184c5108a2aca3c5b3d3bf9395d50893a7ab82a38004c8f61c258d4428e80206"}, - {file = "PyYAML-6.0.1-cp38-cp38-win_amd64.whl", hash = "sha256:1e2722cc9fbb45d9b87631ac70924c11d3a401b2d7f410cc0e3bbf249f2dca62"}, - {file = "PyYAML-6.0.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:9eb6caa9a297fc2c2fb8862bc5370d0303ddba53ba97e71f08023b6cd73d16a8"}, - {file = "PyYAML-6.0.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:c8098ddcc2a85b61647b2590f825f3db38891662cfc2fc776415143f599bb859"}, - {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5773183b6446b2c99bb77e77595dd486303b4faab2b086e7b17bc6bef28865f6"}, - {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:b786eecbdf8499b9ca1d697215862083bd6d2a99965554781d0d8d1ad31e13a0"}, - {file = "PyYAML-6.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bc1bf2925a1ecd43da378f4db9e4f799775d6367bdb94671027b73b393a7c42c"}, - {file = "PyYAML-6.0.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:04ac92ad1925b2cff1db0cfebffb6ffc43457495c9b3c39d3fcae417d7125dc5"}, - {file = "PyYAML-6.0.1-cp39-cp39-win32.whl", hash = "sha256:faca3bdcf85b2fc05d06ff3fbc1f83e1391b3e724afa3feba7d13eeab355484c"}, - {file = "PyYAML-6.0.1-cp39-cp39-win_amd64.whl", hash = "sha256:510c9deebc5c0225e8c96813043e62b680ba2f9c50a08d3724c7f28a747d1486"}, - {file = "PyYAML-6.0.1.tar.gz", hash = "sha256:bfdf460b1736c775f2ba9f6a92bca30bc2095067b8a9d77876d1fad6cc3b4a43"}, -] - -[[package]] -name = "querystring-parser" -version = "1.2.4" -description = "QueryString parser for Python/Django that correctly handles nested dictionaries" -optional = false -python-versions = "*" -files = [ - {file = "querystring_parser-1.2.4-py2.py3-none-any.whl", hash = "sha256:d2fa90765eaf0de96c8b087872991a10238e89ba015ae59fedfed6bd61c242a0"}, - {file = "querystring_parser-1.2.4.tar.gz", hash = "sha256:644fce1cffe0530453b43a83a38094dbe422ccba8c9b2f2a1c00280e14ca8a62"}, -] - -[package.dependencies] -six = "*" - -[[package]] -name = "requests" -version = "2.31.0" -description = "Python HTTP for Humans." -optional = false -python-versions = ">=3.7" -files = [ - {file = "requests-2.31.0-py3-none-any.whl", hash = "sha256:58cd2187c01e70e6e26505bca751777aa9f2ee0b7f4300988b709f44e013003f"}, - {file = "requests-2.31.0.tar.gz", hash = "sha256:942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1"}, -] - -[package.dependencies] -certifi = ">=2017.4.17" -charset-normalizer = ">=2,<4" -idna = ">=2.5,<4" -urllib3 = ">=1.21.1,<3" - -[package.extras] -socks = ["PySocks (>=1.5.6,!=1.5.7)"] -use-chardet-on-py3 = ["chardet (>=3.0.2,<6)"] - -[[package]] -name = "rstl" -version = "0.1.3" -description = "A Python port of R's stl function" -optional = false -python-versions = "*" -files = [ - {file = "rstl-0.1.3-py2-none-any.whl", hash = "sha256:c778d031dfb9f8dd655f75c493e98d2e842c920b9e93675f61fa006e6878a5db"}, - {file = "rstl-0.1.3-py3-none-any.whl", hash = "sha256:1d7e5e0cf25d47d13c87f92d981d947578890c3f7de126ea6e8b3cfdf0c5785b"}, - {file = "rstl-0.1.3.tar.gz", hash = "sha256:6d8ae0ccf8d05cb8d8f02d2562a0aee1ec05f00590febd39decd7bf35a17908e"}, -] - -[package.dependencies] -numpy = "*" - -[[package]] -name = "scikit-learn" -version = "1.3.2" -description = "A set of python modules for machine learning and data mining" -optional = false -python-versions = ">=3.8" -files = [ - {file = "scikit-learn-1.3.2.tar.gz", hash = "sha256:a2f54c76accc15a34bfb9066e6c7a56c1e7235dda5762b990792330b52ccfb05"}, - {file = "scikit_learn-1.3.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:e326c0eb5cf4d6ba40f93776a20e9a7a69524c4db0757e7ce24ba222471ee8a1"}, - {file = "scikit_learn-1.3.2-cp310-cp310-macosx_12_0_arm64.whl", hash = "sha256:535805c2a01ccb40ca4ab7d081d771aea67e535153e35a1fd99418fcedd1648a"}, - {file = "scikit_learn-1.3.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1215e5e58e9880b554b01187b8c9390bf4dc4692eedeaf542d3273f4785e342c"}, - {file = "scikit_learn-1.3.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0ee107923a623b9f517754ea2f69ea3b62fc898a3641766cb7deb2f2ce450161"}, - {file = "scikit_learn-1.3.2-cp310-cp310-win_amd64.whl", hash = "sha256:35a22e8015048c628ad099da9df5ab3004cdbf81edc75b396fd0cff8699ac58c"}, - {file = "scikit_learn-1.3.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:6fb6bc98f234fda43163ddbe36df8bcde1d13ee176c6dc9b92bb7d3fc842eb66"}, - {file = "scikit_learn-1.3.2-cp311-cp311-macosx_12_0_arm64.whl", hash = "sha256:18424efee518a1cde7b0b53a422cde2f6625197de6af36da0b57ec502f126157"}, - {file = "scikit_learn-1.3.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3271552a5eb16f208a6f7f617b8cc6d1f137b52c8a1ef8edf547db0259b2c9fb"}, - {file = "scikit_learn-1.3.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:fc4144a5004a676d5022b798d9e573b05139e77f271253a4703eed295bde0433"}, - {file = "scikit_learn-1.3.2-cp311-cp311-win_amd64.whl", hash = "sha256:67f37d708f042a9b8d59551cf94d30431e01374e00dc2645fa186059c6c5d78b"}, - {file = "scikit_learn-1.3.2-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:8db94cd8a2e038b37a80a04df8783e09caac77cbe052146432e67800e430c028"}, - {file = "scikit_learn-1.3.2-cp312-cp312-macosx_12_0_arm64.whl", hash = "sha256:61a6efd384258789aa89415a410dcdb39a50e19d3d8410bd29be365bcdd512d5"}, - {file = "scikit_learn-1.3.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cb06f8dce3f5ddc5dee1715a9b9f19f20d295bed8e3cd4fa51e1d050347de525"}, - {file = "scikit_learn-1.3.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5b2de18d86f630d68fe1f87af690d451388bb186480afc719e5f770590c2ef6c"}, - {file = "scikit_learn-1.3.2-cp312-cp312-win_amd64.whl", hash = "sha256:0402638c9a7c219ee52c94cbebc8fcb5eb9fe9c773717965c1f4185588ad3107"}, - {file = "scikit_learn-1.3.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:a19f90f95ba93c1a7f7924906d0576a84da7f3b2282ac3bfb7a08a32801add93"}, - {file = "scikit_learn-1.3.2-cp38-cp38-macosx_12_0_arm64.whl", hash = "sha256:b8692e395a03a60cd927125eef3a8e3424d86dde9b2370d544f0ea35f78a8073"}, - {file = "scikit_learn-1.3.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:15e1e94cc23d04d39da797ee34236ce2375ddea158b10bee3c343647d615581d"}, - {file = "scikit_learn-1.3.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:785a2213086b7b1abf037aeadbbd6d67159feb3e30263434139c98425e3dcfcf"}, - {file = "scikit_learn-1.3.2-cp38-cp38-win_amd64.whl", hash = "sha256:64381066f8aa63c2710e6b56edc9f0894cc7bf59bd71b8ce5613a4559b6145e0"}, - {file = "scikit_learn-1.3.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:6c43290337f7a4b969d207e620658372ba3c1ffb611f8bc2b6f031dc5c6d1d03"}, - {file = "scikit_learn-1.3.2-cp39-cp39-macosx_12_0_arm64.whl", hash = "sha256:dc9002fc200bed597d5d34e90c752b74df516d592db162f756cc52836b38fe0e"}, - {file = "scikit_learn-1.3.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1d08ada33e955c54355d909b9c06a4789a729977f165b8bae6f225ff0a60ec4a"}, - {file = "scikit_learn-1.3.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:763f0ae4b79b0ff9cca0bf3716bcc9915bdacff3cebea15ec79652d1cc4fa5c9"}, - {file = "scikit_learn-1.3.2-cp39-cp39-win_amd64.whl", hash = "sha256:ed932ea780517b00dae7431e031faae6b49b20eb6950918eb83bd043237950e0"}, -] - -[package.dependencies] -joblib = ">=1.1.1" -numpy = ">=1.17.3,<2.0" -scipy = ">=1.5.0" -threadpoolctl = ">=2.0.0" - -[package.extras] -benchmark = ["matplotlib (>=3.1.3)", "memory-profiler (>=0.57.0)", "pandas (>=1.0.5)"] -docs = ["Pillow (>=7.1.2)", "matplotlib (>=3.1.3)", "memory-profiler (>=0.57.0)", "numpydoc (>=1.2.0)", "pandas (>=1.0.5)", "plotly (>=5.14.0)", "pooch (>=1.6.0)", "scikit-image (>=0.16.2)", "seaborn (>=0.9.0)", "sphinx (>=6.0.0)", "sphinx-copybutton (>=0.5.2)", "sphinx-gallery (>=0.10.1)", "sphinx-prompt (>=1.3.0)", "sphinxext-opengraph (>=0.4.2)"] -examples = ["matplotlib (>=3.1.3)", "pandas (>=1.0.5)", "plotly (>=5.14.0)", "pooch (>=1.6.0)", "scikit-image (>=0.16.2)", "seaborn (>=0.9.0)"] -tests = ["black (>=23.3.0)", "matplotlib (>=3.1.3)", "mypy (>=1.3)", "numpydoc (>=1.2.0)", "pandas (>=1.0.5)", "pooch (>=1.6.0)", "pyamg (>=4.0.0)", "pytest (>=7.1.2)", "pytest-cov (>=2.9.0)", "ruff (>=0.0.272)", "scikit-image (>=0.16.2)"] - -[[package]] -name = "scipy" -version = "1.12.0" -description = "Fundamental algorithms for scientific computing in Python" -optional = false -python-versions = ">=3.9" -files = [ - {file = "scipy-1.12.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:78e4402e140879387187f7f25d91cc592b3501a2e51dfb320f48dfb73565f10b"}, - {file = "scipy-1.12.0-cp310-cp310-macosx_12_0_arm64.whl", hash = "sha256:f5f00ebaf8de24d14b8449981a2842d404152774c1a1d880c901bf454cb8e2a1"}, - {file = "scipy-1.12.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e53958531a7c695ff66c2e7bb7b79560ffdc562e2051644c5576c39ff8efb563"}, - {file = "scipy-1.12.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5e32847e08da8d895ce09d108a494d9eb78974cf6de23063f93306a3e419960c"}, - {file = "scipy-1.12.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:4c1020cad92772bf44b8e4cdabc1df5d87376cb219742549ef69fc9fd86282dd"}, - {file = "scipy-1.12.0-cp310-cp310-win_amd64.whl", hash = "sha256:75ea2a144096b5e39402e2ff53a36fecfd3b960d786b7efd3c180e29c39e53f2"}, - {file = "scipy-1.12.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:408c68423f9de16cb9e602528be4ce0d6312b05001f3de61fe9ec8b1263cad08"}, - {file = "scipy-1.12.0-cp311-cp311-macosx_12_0_arm64.whl", hash = "sha256:5adfad5dbf0163397beb4aca679187d24aec085343755fcdbdeb32b3679f254c"}, - {file = "scipy-1.12.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c3003652496f6e7c387b1cf63f4bb720951cfa18907e998ea551e6de51a04467"}, - {file = "scipy-1.12.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8b8066bce124ee5531d12a74b617d9ac0ea59245246410e19bca549656d9a40a"}, - {file = "scipy-1.12.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:8bee4993817e204d761dba10dbab0774ba5a8612e57e81319ea04d84945375ba"}, - {file = "scipy-1.12.0-cp311-cp311-win_amd64.whl", hash = "sha256:a24024d45ce9a675c1fb8494e8e5244efea1c7a09c60beb1eeb80373d0fecc70"}, - {file = "scipy-1.12.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:e7e76cc48638228212c747ada851ef355c2bb5e7f939e10952bc504c11f4e372"}, - {file = "scipy-1.12.0-cp312-cp312-macosx_12_0_arm64.whl", hash = "sha256:f7ce148dffcd64ade37b2df9315541f9adad6efcaa86866ee7dd5db0c8f041c3"}, - {file = "scipy-1.12.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9c39f92041f490422924dfdb782527a4abddf4707616e07b021de33467f917bc"}, - {file = "scipy-1.12.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a7ebda398f86e56178c2fa94cad15bf457a218a54a35c2a7b4490b9f9cb2676c"}, - {file = "scipy-1.12.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:95e5c750d55cf518c398a8240571b0e0782c2d5a703250872f36eaf737751338"}, - {file = "scipy-1.12.0-cp312-cp312-win_amd64.whl", hash = "sha256:e646d8571804a304e1da01040d21577685ce8e2db08ac58e543eaca063453e1c"}, - {file = "scipy-1.12.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:913d6e7956c3a671de3b05ccb66b11bc293f56bfdef040583a7221d9e22a2e35"}, - {file = "scipy-1.12.0-cp39-cp39-macosx_12_0_arm64.whl", hash = "sha256:bba1b0c7256ad75401c73e4b3cf09d1f176e9bd4248f0d3112170fb2ec4db067"}, - {file = "scipy-1.12.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:730badef9b827b368f351eacae2e82da414e13cf8bd5051b4bdfd720271a5371"}, - {file = "scipy-1.12.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6546dc2c11a9df6926afcbdd8a3edec28566e4e785b915e849348c6dd9f3f490"}, - {file = "scipy-1.12.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:196ebad3a4882081f62a5bf4aeb7326aa34b110e533aab23e4374fcccb0890dc"}, - {file = "scipy-1.12.0-cp39-cp39-win_amd64.whl", hash = "sha256:b360f1b6b2f742781299514e99ff560d1fe9bd1bff2712894b52abe528d1fd1e"}, - {file = "scipy-1.12.0.tar.gz", hash = "sha256:4bf5abab8a36d20193c698b0f1fc282c1d083c94723902c447e5d2f1780936a3"}, -] - -[package.dependencies] -numpy = ">=1.22.4,<1.29.0" - -[package.extras] -dev = ["click", "cython-lint (>=0.12.2)", "doit (>=0.36.0)", "mypy", "pycodestyle", "pydevtool", "rich-click", "ruff", "types-psutil", "typing_extensions"] -doc = ["jupytext", "matplotlib (>2)", "myst-nb", "numpydoc", "pooch", "pydata-sphinx-theme (==0.9.0)", "sphinx (!=4.1.0)", "sphinx-design (>=0.2.0)"] -test = ["asv", "gmpy2", "hypothesis", "mpmath", "pooch", "pytest", "pytest-cov", "pytest-timeout", "pytest-xdist", "scikit-umfpack", "threadpoolctl"] - -[[package]] -name = "seasonal" -version = "0.3.1" -description = "Estimate trend and seasonal effects in a timeseries" -optional = false -python-versions = "*" -files = [ - {file = "seasonal-0.3.1-py2.py3-none-any.whl", hash = "sha256:d96358c7e510926ebc11a72352d8dcf6d233256da9b796c3da028190616f1d26"}, -] - -[package.dependencies] -numpy = "*" -scipy = "*" - -[package.extras] -csv = ["pandas"] -plot = ["matplotlib"] - -[[package]] -name = "setuptools" -version = "69.0.3" -description = "Easily download, build, install, upgrade, and uninstall Python packages" -optional = false -python-versions = ">=3.8" -files = [ - {file = "setuptools-69.0.3-py3-none-any.whl", hash = "sha256:385eb4edd9c9d5c17540511303e39a147ce2fc04bc55289c322b9e5904fe2c05"}, - {file = "setuptools-69.0.3.tar.gz", hash = "sha256:be1af57fc409f93647f2e8e4573a142ed38724b8cdd389706a867bb4efcf1e78"}, -] - -[package.extras] -docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "pygments-github-lexers (==0.0.5)", "rst.linker (>=1.9)", "sphinx (<7.2.5)", "sphinx (>=3.5)", "sphinx-favicon", "sphinx-inline-tabs", "sphinx-lint", "sphinx-notfound-page (>=1,<2)", "sphinx-reredirects", "sphinxcontrib-towncrier"] -testing = ["build[virtualenv]", "filelock (>=3.4.0)", "flake8-2020", "ini2toml[lite] (>=0.9)", "jaraco.develop (>=7.21)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "pip (>=19.1)", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-mypy (>=0.9.1)", "pytest-perf", "pytest-ruff", "pytest-timeout", "pytest-xdist", "tomli-w (>=1.0.0)", "virtualenv (>=13.0.0)", "wheel"] -testing-integration = ["build[virtualenv] (>=1.0.3)", "filelock (>=3.4.0)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "packaging (>=23.1)", "pytest", "pytest-enabler", "pytest-xdist", "tomli", "virtualenv (>=13.0.0)", "wheel"] - -[[package]] -name = "six" -version = "1.16.0" -description = "Python 2 and 3 compatibility utilities" -optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*" -files = [ - {file = "six-1.16.0-py2.py3-none-any.whl", hash = "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254"}, - {file = "six-1.16.0.tar.gz", hash = "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"}, -] - -[[package]] -name = "smmap" -version = "5.0.1" -description = "A pure Python implementation of a sliding window memory map manager" -optional = false -python-versions = ">=3.7" -files = [ - {file = "smmap-5.0.1-py3-none-any.whl", hash = "sha256:e6d8668fa5f93e706934a62d7b4db19c8d9eb8cf2adbb75ef1b675aa332b69da"}, - {file = "smmap-5.0.1.tar.gz", hash = "sha256:dceeb6c0028fdb6734471eb07c0cd2aae706ccaecab45965ee83f11c8d3b1f62"}, -] - -[[package]] -name = "sqlalchemy" -version = "2.0.25" -description = "Database Abstraction Library" -optional = false -python-versions = ">=3.7" -files = [ - {file = "SQLAlchemy-2.0.25-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:4344d059265cc8b1b1be351bfb88749294b87a8b2bbe21dfbe066c4199541ebd"}, - {file = "SQLAlchemy-2.0.25-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:6f9e2e59cbcc6ba1488404aad43de005d05ca56e069477b33ff74e91b6319735"}, - {file = "SQLAlchemy-2.0.25-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:84daa0a2055df9ca0f148a64fdde12ac635e30edbca80e87df9b3aaf419e144a"}, - {file = "SQLAlchemy-2.0.25-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bc8b7dabe8e67c4832891a5d322cec6d44ef02f432b4588390017f5cec186a84"}, - {file = "SQLAlchemy-2.0.25-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:f5693145220517b5f42393e07a6898acdfe820e136c98663b971906120549da5"}, - {file = "SQLAlchemy-2.0.25-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:db854730a25db7c956423bb9fb4bdd1216c839a689bf9cc15fada0a7fb2f4570"}, - {file = "SQLAlchemy-2.0.25-cp310-cp310-win32.whl", hash = "sha256:14a6f68e8fc96e5e8f5647ef6cda6250c780612a573d99e4d881581432ef1669"}, - {file = "SQLAlchemy-2.0.25-cp310-cp310-win_amd64.whl", hash = "sha256:87f6e732bccd7dcf1741c00f1ecf33797383128bd1c90144ac8adc02cbb98643"}, - {file = "SQLAlchemy-2.0.25-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:342d365988ba88ada8af320d43df4e0b13a694dbd75951f537b2d5e4cb5cd002"}, - {file = "SQLAlchemy-2.0.25-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:f37c0caf14b9e9b9e8f6dbc81bc56db06acb4363eba5a633167781a48ef036ed"}, - {file = "SQLAlchemy-2.0.25-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:aa9373708763ef46782d10e950b49d0235bfe58facebd76917d3f5cbf5971aed"}, - {file = "SQLAlchemy-2.0.25-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d24f571990c05f6b36a396218f251f3e0dda916e0c687ef6fdca5072743208f5"}, - {file = "SQLAlchemy-2.0.25-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:75432b5b14dc2fff43c50435e248b45c7cdadef73388e5610852b95280ffd0e9"}, - {file = "SQLAlchemy-2.0.25-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:884272dcd3ad97f47702965a0e902b540541890f468d24bd1d98bcfe41c3f018"}, - {file = "SQLAlchemy-2.0.25-cp311-cp311-win32.whl", hash = "sha256:e607cdd99cbf9bb80391f54446b86e16eea6ad309361942bf88318bcd452363c"}, - {file = "SQLAlchemy-2.0.25-cp311-cp311-win_amd64.whl", hash = "sha256:7d505815ac340568fd03f719446a589162d55c52f08abd77ba8964fbb7eb5b5f"}, - {file = "SQLAlchemy-2.0.25-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:0dacf67aee53b16f365c589ce72e766efaabd2b145f9de7c917777b575e3659d"}, - {file = "SQLAlchemy-2.0.25-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:b801154027107461ee992ff4b5c09aa7cc6ec91ddfe50d02bca344918c3265c6"}, - {file = "SQLAlchemy-2.0.25-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:59a21853f5daeb50412d459cfb13cb82c089ad4c04ec208cd14dddd99fc23b39"}, - {file = "SQLAlchemy-2.0.25-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:29049e2c299b5ace92cbed0c1610a7a236f3baf4c6b66eb9547c01179f638ec5"}, - {file = "SQLAlchemy-2.0.25-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:b64b183d610b424a160b0d4d880995e935208fc043d0302dd29fee32d1ee3f95"}, - {file = "SQLAlchemy-2.0.25-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:4f7a7d7fcc675d3d85fbf3b3828ecd5990b8d61bd6de3f1b260080b3beccf215"}, - {file = "SQLAlchemy-2.0.25-cp312-cp312-win32.whl", hash = "sha256:cf18ff7fc9941b8fc23437cc3e68ed4ebeff3599eec6ef5eebf305f3d2e9a7c2"}, - {file = "SQLAlchemy-2.0.25-cp312-cp312-win_amd64.whl", hash = "sha256:91f7d9d1c4dd1f4f6e092874c128c11165eafcf7c963128f79e28f8445de82d5"}, - {file = "SQLAlchemy-2.0.25-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:bb209a73b8307f8fe4fe46f6ad5979649be01607f11af1eb94aa9e8a3aaf77f0"}, - {file = "SQLAlchemy-2.0.25-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:798f717ae7c806d67145f6ae94dc7c342d3222d3b9a311a784f371a4333212c7"}, - {file = "SQLAlchemy-2.0.25-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5fdd402169aa00df3142149940b3bf9ce7dde075928c1886d9a1df63d4b8de62"}, - {file = "SQLAlchemy-2.0.25-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:0d3cab3076af2e4aa5693f89622bef7fa770c6fec967143e4da7508b3dceb9b9"}, - {file = "SQLAlchemy-2.0.25-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:74b080c897563f81062b74e44f5a72fa44c2b373741a9ade701d5f789a10ba23"}, - {file = "SQLAlchemy-2.0.25-cp37-cp37m-win32.whl", hash = "sha256:87d91043ea0dc65ee583026cb18e1b458d8ec5fc0a93637126b5fc0bc3ea68c4"}, - {file = "SQLAlchemy-2.0.25-cp37-cp37m-win_amd64.whl", hash = "sha256:75f99202324383d613ddd1f7455ac908dca9c2dd729ec8584c9541dd41822a2c"}, - {file = "SQLAlchemy-2.0.25-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:420362338681eec03f53467804541a854617faed7272fe71a1bfdb07336a381e"}, - {file = "SQLAlchemy-2.0.25-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:7c88f0c7dcc5f99bdb34b4fd9b69b93c89f893f454f40219fe923a3a2fd11625"}, - {file = "SQLAlchemy-2.0.25-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a3be4987e3ee9d9a380b66393b77a4cd6d742480c951a1c56a23c335caca4ce3"}, - {file = "SQLAlchemy-2.0.25-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f2a159111a0f58fb034c93eeba211b4141137ec4b0a6e75789ab7a3ef3c7e7e3"}, - {file = "SQLAlchemy-2.0.25-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:8b8cb63d3ea63b29074dcd29da4dc6a97ad1349151f2d2949495418fd6e48db9"}, - {file = "SQLAlchemy-2.0.25-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:736ea78cd06de6c21ecba7416499e7236a22374561493b456a1f7ffbe3f6cdb4"}, - {file = "SQLAlchemy-2.0.25-cp38-cp38-win32.whl", hash = "sha256:10331f129982a19df4284ceac6fe87353ca3ca6b4ca77ff7d697209ae0a5915e"}, - {file = "SQLAlchemy-2.0.25-cp38-cp38-win_amd64.whl", hash = "sha256:c55731c116806836a5d678a70c84cb13f2cedba920212ba7dcad53260997666d"}, - {file = "SQLAlchemy-2.0.25-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:605b6b059f4b57b277f75ace81cc5bc6335efcbcc4ccb9066695e515dbdb3900"}, - {file = "SQLAlchemy-2.0.25-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:665f0a3954635b5b777a55111ababf44b4fc12b1f3ba0a435b602b6387ffd7cf"}, - {file = "SQLAlchemy-2.0.25-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ecf6d4cda1f9f6cb0b45803a01ea7f034e2f1aed9475e883410812d9f9e3cfcf"}, - {file = "SQLAlchemy-2.0.25-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c51db269513917394faec5e5c00d6f83829742ba62e2ac4fa5c98d58be91662f"}, - {file = "SQLAlchemy-2.0.25-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:790f533fa5c8901a62b6fef5811d48980adeb2f51f1290ade8b5e7ba990ba3de"}, - {file = "SQLAlchemy-2.0.25-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:1b1180cda6df7af84fe72e4530f192231b1f29a7496951db4ff38dac1687202d"}, - {file = "SQLAlchemy-2.0.25-cp39-cp39-win32.whl", hash = "sha256:555651adbb503ac7f4cb35834c5e4ae0819aab2cd24857a123370764dc7d7e24"}, - {file = "SQLAlchemy-2.0.25-cp39-cp39-win_amd64.whl", hash = "sha256:dc55990143cbd853a5d038c05e79284baedf3e299661389654551bd02a6a68d7"}, - {file = "SQLAlchemy-2.0.25-py3-none-any.whl", hash = "sha256:a86b4240e67d4753dc3092d9511886795b3c2852abe599cffe108952f7af7ac3"}, - {file = "SQLAlchemy-2.0.25.tar.gz", hash = "sha256:a2c69a7664fb2d54b8682dd774c3b54f67f84fa123cf84dda2a5f40dcaa04e08"}, -] - -[package.dependencies] -greenlet = {version = "!=0.4.17", markers = "platform_machine == \"aarch64\" or platform_machine == \"ppc64le\" or platform_machine == \"x86_64\" or platform_machine == \"amd64\" or platform_machine == \"AMD64\" or platform_machine == \"win32\" or platform_machine == \"WIN32\""} -typing-extensions = ">=4.6.0" - -[package.extras] -aiomysql = ["aiomysql (>=0.2.0)", "greenlet (!=0.4.17)"] -aioodbc = ["aioodbc", "greenlet (!=0.4.17)"] -aiosqlite = ["aiosqlite", "greenlet (!=0.4.17)", "typing_extensions (!=3.10.0.1)"] -asyncio = ["greenlet (!=0.4.17)"] -asyncmy = ["asyncmy (>=0.2.3,!=0.2.4,!=0.2.6)", "greenlet (!=0.4.17)"] -mariadb-connector = ["mariadb (>=1.0.1,!=1.1.2,!=1.1.5)"] -mssql = ["pyodbc"] -mssql-pymssql = ["pymssql"] -mssql-pyodbc = ["pyodbc"] -mypy = ["mypy (>=0.910)"] -mysql = ["mysqlclient (>=1.4.0)"] -mysql-connector = ["mysql-connector-python"] -oracle = ["cx_oracle (>=8)"] -oracle-oracledb = ["oracledb (>=1.0.1)"] -postgresql = ["psycopg2 (>=2.7)"] -postgresql-asyncpg = ["asyncpg", "greenlet (!=0.4.17)"] -postgresql-pg8000 = ["pg8000 (>=1.29.1)"] -postgresql-psycopg = ["psycopg (>=3.0.7)"] -postgresql-psycopg2binary = ["psycopg2-binary"] -postgresql-psycopg2cffi = ["psycopg2cffi"] -postgresql-psycopgbinary = ["psycopg[binary] (>=3.0.7)"] -pymysql = ["pymysql"] -sqlcipher = ["sqlcipher3_binary"] - -[[package]] -name = "sqlparse" -version = "0.4.4" -description = "A non-validating SQL parser." -optional = false -python-versions = ">=3.5" -files = [ - {file = "sqlparse-0.4.4-py3-none-any.whl", hash = "sha256:5430a4fe2ac7d0f93e66f1efc6e1338a41884b7ddf2a350cedd20ccc4d9d28f3"}, - {file = "sqlparse-0.4.4.tar.gz", hash = "sha256:d446183e84b8349fa3061f0fe7f06ca94ba65b426946ffebe6e3e8295332420c"}, -] - -[package.extras] -dev = ["build", "flake8"] -doc = ["sphinx"] -test = ["pytest", "pytest-cov"] - -[[package]] -name = "statsmodels" -version = "0.14.1" -description = "Statistical computations and models for Python" -optional = false -python-versions = ">=3.8" -files = [ - {file = "statsmodels-0.14.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:43af9c0b07c9d72f275cf14ea54a481a3f20911f0b443181be4769def258fdeb"}, - {file = "statsmodels-0.14.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:a16975ab6ad505d837ba9aee11f92a8c5b49c4fa1ff45b60fe23780b19e5705e"}, - {file = "statsmodels-0.14.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e278fe74da5ed5e06c11a30851eda1af08ef5af6be8507c2c45d2e08f7550dde"}, - {file = "statsmodels-0.14.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c0564d92cb05b219b4538ed09e77d96658a924a691255e1f7dd23ee338df441b"}, - {file = "statsmodels-0.14.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:5385e22e72159a09c099c4fb975f350a9f3afeb57c1efce273b89dcf1fe44c0f"}, - {file = "statsmodels-0.14.1-cp310-cp310-win_amd64.whl", hash = "sha256:0a8aae75a2e08ebd990e5fa394f8e32738b55785cb70798449a3f4207085e667"}, - {file = "statsmodels-0.14.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:b69a63ad6c979a6e4cde11870ffa727c76a318c225a7e509f031fbbdfb4e416a"}, - {file = "statsmodels-0.14.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:7562cb18a90a114f39fab6f1c25b9c7b39d9cd5f433d0044b430ca9d44a8b52c"}, - {file = "statsmodels-0.14.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b3abaca4b963259a2bf349c7609cfbb0ce64ad5fb3d92d6f08e21453e4890248"}, - {file = "statsmodels-0.14.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b0f727fe697f6406d5f677b67211abe5a55101896abdfacdb3f38410405f6ad8"}, - {file = "statsmodels-0.14.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:b6838ac6bdb286daabb5e91af90fd4258f09d0cec9aace78cc441cb2b17df428"}, - {file = "statsmodels-0.14.1-cp311-cp311-win_amd64.whl", hash = "sha256:709bfcef2dbe66f705b17e56d1021abad02243ee1a5d1efdb90f9bad8b06a329"}, - {file = "statsmodels-0.14.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:f32a7cd424cf33304a54daee39d32cccf1d0265e652c920adeaeedff6d576457"}, - {file = "statsmodels-0.14.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f8c30181c084173d662aaf0531867667be2ff1bee103b84feb64f149f792dbd2"}, - {file = "statsmodels-0.14.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2de2b97413913d52ad6342dece2d653e77f78620013b7705fad291d4e4266ccb"}, - {file = "statsmodels-0.14.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c3420f88289c593ba2bca33619023059c476674c160733bd7d858564787c83d3"}, - {file = "statsmodels-0.14.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:c008e16096f24f0514e53907890ccac6589a16ad6c81c218f2ee6752fdada555"}, - {file = "statsmodels-0.14.1-cp312-cp312-win_amd64.whl", hash = "sha256:bc0351d279c4e080f0ce638a3d886d312aa29eade96042e3ba0a73771b1abdfb"}, - {file = "statsmodels-0.14.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:bf293ada63b2859d95210165ad1dfcd97bd7b994a5266d6fbeb23659d8f0bf68"}, - {file = "statsmodels-0.14.1-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:44ca8cb88fa3d3a4ffaff1fb8eb0e98bbf83fc936fcd9b9eedee258ecc76696a"}, - {file = "statsmodels-0.14.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0d5373d176239993c095b00d06036690a50309a4e00c2da553b65b840f956ae6"}, - {file = "statsmodels-0.14.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a532dfe899f8b6632cd8caa0b089b403415618f51e840d1817a1e4b97e200c73"}, - {file = "statsmodels-0.14.1-cp38-cp38-win_amd64.whl", hash = "sha256:4fe0a60695952b82139ae8750952786a700292f9e0551d572d7685070944487b"}, - {file = "statsmodels-0.14.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:04293890f153ffe577e60a227bd43babd5f6c1fc50ea56a3ab1862ae85247a95"}, - {file = "statsmodels-0.14.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:3e70a2e93d54d40b2cb6426072acbc04f35501b1ea2569f6786964adde6ca572"}, - {file = "statsmodels-0.14.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ab3a73d16c0569adbba181ebb967e5baaa74935f6d2efe86ac6fc5857449b07d"}, - {file = "statsmodels-0.14.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:eefa5bcff335440ee93e28745eab63559a20cd34eea0375c66d96b016de909b3"}, - {file = "statsmodels-0.14.1-cp39-cp39-win_amd64.whl", hash = "sha256:bc43765710099ca6a942b5ffa1bac7668965052542ba793dd072d26c83453572"}, - {file = "statsmodels-0.14.1.tar.gz", hash = "sha256:2260efdc1ef89f39c670a0bd8151b1d0843567781bcafec6cda0534eb47a94f6"}, -] - -[package.dependencies] -numpy = [ - {version = ">=1.18,<2", markers = "python_version != \"3.10\" or platform_system != \"Windows\" or platform_python_implementation == \"PyPy\""}, - {version = ">=1.22.3,<2", markers = "python_version == \"3.10\" and platform_system == \"Windows\" and platform_python_implementation != \"PyPy\""}, -] -packaging = ">=21.3" -pandas = ">=1.0,<2.1.0 || >2.1.0" -patsy = ">=0.5.4" -scipy = ">=1.4,<1.9.2 || >1.9.2" - -[package.extras] -build = ["cython (>=0.29.33)"] -develop = ["colorama", "cython (>=0.29.33)", "cython (>=0.29.33,<4.0.0)", "flake8", "isort", "joblib", "matplotlib (>=3)", "oldest-supported-numpy (>=2022.4.18)", "pytest (>=7.3.0)", "pytest-cov", "pytest-randomly", "pytest-xdist", "pywinpty", "setuptools-scm[toml] (>=8.0,<9.0)"] -docs = ["ipykernel", "jupyter-client", "matplotlib", "nbconvert", "nbformat", "numpydoc", "pandas-datareader", "sphinx"] - -[[package]] -name = "tabulate" -version = "0.9.0" -description = "Pretty-print tabular data" -optional = false -python-versions = ">=3.7" -files = [ - {file = "tabulate-0.9.0-py3-none-any.whl", hash = "sha256:024ca478df22e9340661486f85298cff5f6dcdba14f3813e8830015b9ed1948f"}, - {file = "tabulate-0.9.0.tar.gz", hash = "sha256:0095b12bf5966de529c0feb1fa08671671b3368eec77d7ef7ab114be2c068b3c"}, -] - -[package.extras] -widechars = ["wcwidth"] - -[[package]] -name = "threadpoolctl" -version = "3.2.0" -description = "threadpoolctl" -optional = false -python-versions = ">=3.8" -files = [ - {file = "threadpoolctl-3.2.0-py3-none-any.whl", hash = "sha256:2b7818516e423bdaebb97c723f86a7c6b0a83d3f3b0970328d66f4d9104dc032"}, - {file = "threadpoolctl-3.2.0.tar.gz", hash = "sha256:c96a0ba3bdddeaca37dc4cc7344aafad41cdb8c313f74fdfe387a867bba93355"}, -] - -[[package]] -name = "tomli" -version = "2.0.1" -description = "A lil' TOML parser" -optional = false -python-versions = ">=3.7" -files = [ - {file = "tomli-2.0.1-py3-none-any.whl", hash = "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc"}, - {file = "tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"}, -] - -[[package]] -name = "torch" -version = "1.13.1" -description = "Tensors and Dynamic neural networks in Python with strong GPU acceleration" -optional = false -python-versions = ">=3.7.0" -files = [ - {file = "torch-1.13.1-cp310-cp310-manylinux1_x86_64.whl", hash = "sha256:fd12043868a34a8da7d490bf6db66991108b00ffbeecb034228bfcbbd4197143"}, - {file = "torch-1.13.1-cp310-cp310-manylinux2014_aarch64.whl", hash = "sha256:d9fe785d375f2e26a5d5eba5de91f89e6a3be5d11efb497e76705fdf93fa3c2e"}, - {file = "torch-1.13.1-cp310-cp310-win_amd64.whl", hash = "sha256:98124598cdff4c287dbf50f53fb455f0c1e3a88022b39648102957f3445e9b76"}, - {file = "torch-1.13.1-cp310-none-macosx_10_9_x86_64.whl", hash = "sha256:393a6273c832e047581063fb74335ff50b4c566217019cc6ace318cd79eb0566"}, - {file = "torch-1.13.1-cp310-none-macosx_11_0_arm64.whl", hash = "sha256:0122806b111b949d21fa1a5f9764d1fd2fcc4a47cb7f8ff914204fd4fc752ed5"}, - {file = "torch-1.13.1-cp311-cp311-manylinux1_x86_64.whl", hash = "sha256:22128502fd8f5b25ac1cd849ecb64a418382ae81dd4ce2b5cebaa09ab15b0d9b"}, - {file = "torch-1.13.1-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:76024be052b659ac1304ab8475ab03ea0a12124c3e7626282c9c86798ac7bc11"}, - {file = "torch-1.13.1-cp37-cp37m-manylinux2014_aarch64.whl", hash = "sha256:ea8dda84d796094eb8709df0fcd6b56dc20b58fdd6bc4e8d7109930dafc8e419"}, - {file = "torch-1.13.1-cp37-cp37m-win_amd64.whl", hash = "sha256:2ee7b81e9c457252bddd7d3da66fb1f619a5d12c24d7074de91c4ddafb832c93"}, - {file = "torch-1.13.1-cp37-none-macosx_10_9_x86_64.whl", hash = "sha256:0d9b8061048cfb78e675b9d2ea8503bfe30db43d583599ae8626b1263a0c1380"}, - {file = "torch-1.13.1-cp37-none-macosx_11_0_arm64.whl", hash = "sha256:f402ca80b66e9fbd661ed4287d7553f7f3899d9ab54bf5c67faada1555abde28"}, - {file = "torch-1.13.1-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:727dbf00e2cf858052364c0e2a496684b9cb5aa01dc8a8bc8bbb7c54502bdcdd"}, - {file = "torch-1.13.1-cp38-cp38-manylinux2014_aarch64.whl", hash = "sha256:df8434b0695e9ceb8cc70650afc1310d8ba949e6db2a0525ddd9c3b2b181e5fe"}, - {file = "torch-1.13.1-cp38-cp38-win_amd64.whl", hash = "sha256:5e1e722a41f52a3f26f0c4fcec227e02c6c42f7c094f32e49d4beef7d1e213ea"}, - {file = "torch-1.13.1-cp38-none-macosx_10_9_x86_64.whl", hash = "sha256:33e67eea526e0bbb9151263e65417a9ef2d8fa53cbe628e87310060c9dcfa312"}, - {file = "torch-1.13.1-cp38-none-macosx_11_0_arm64.whl", hash = "sha256:eeeb204d30fd40af6a2d80879b46a7efbe3cf43cdbeb8838dd4f3d126cc90b2b"}, - {file = "torch-1.13.1-cp39-cp39-manylinux1_x86_64.whl", hash = "sha256:50ff5e76d70074f6653d191fe4f6a42fdbe0cf942fbe2a3af0b75eaa414ac038"}, - {file = "torch-1.13.1-cp39-cp39-manylinux2014_aarch64.whl", hash = "sha256:2c3581a3fd81eb1f0f22997cddffea569fea53bafa372b2c0471db373b26aafc"}, - {file = "torch-1.13.1-cp39-cp39-win_amd64.whl", hash = "sha256:0aa46f0ac95050c604bcf9ef71da9f1172e5037fdf2ebe051962d47b123848e7"}, - {file = "torch-1.13.1-cp39-none-macosx_10_9_x86_64.whl", hash = "sha256:6930791efa8757cb6974af73d4996b6b50c592882a324b8fb0589c6a9ba2ddaf"}, - {file = "torch-1.13.1-cp39-none-macosx_11_0_arm64.whl", hash = "sha256:e0df902a7c7dd6c795698532ee5970ce898672625635d885eade9976e5a04949"}, -] - -[package.dependencies] -nvidia-cublas-cu11 = {version = "11.10.3.66", markers = "platform_system == \"Linux\""} -nvidia-cuda-nvrtc-cu11 = {version = "11.7.99", markers = "platform_system == \"Linux\""} -nvidia-cuda-runtime-cu11 = {version = "11.7.99", markers = "platform_system == \"Linux\""} -nvidia-cudnn-cu11 = {version = "8.5.0.96", markers = "platform_system == \"Linux\""} -typing-extensions = "*" - -[package.extras] -opt-einsum = ["opt-einsum (>=3.3)"] - -[[package]] -name = "tqdm" -version = "4.66.1" -description = "Fast, Extensible Progress Meter" -optional = false -python-versions = ">=3.7" -files = [ - {file = "tqdm-4.66.1-py3-none-any.whl", hash = "sha256:d302b3c5b53d47bce91fea46679d9c3c6508cf6332229aa1e7d8653723793386"}, - {file = "tqdm-4.66.1.tar.gz", hash = "sha256:d88e651f9db8d8551a62556d3cff9e3034274ca5d66e93197cf2490e2dcb69c7"}, -] - -[package.dependencies] -colorama = {version = "*", markers = "platform_system == \"Windows\""} - -[package.extras] -dev = ["pytest (>=6)", "pytest-cov", "pytest-timeout", "pytest-xdist"] -notebook = ["ipywidgets (>=6)"] -slack = ["slack-sdk"] -telegram = ["requests"] - -[[package]] -name = "typing-extensions" -version = "4.9.0" -description = "Backported and Experimental Type Hints for Python 3.8+" -optional = false -python-versions = ">=3.8" -files = [ - {file = "typing_extensions-4.9.0-py3-none-any.whl", hash = "sha256:af72aea155e91adfc61c3ae9e0e342dbc0cba726d6cba4b6c72c1f34e47291cd"}, - {file = "typing_extensions-4.9.0.tar.gz", hash = "sha256:23478f88c37f27d76ac8aee6c905017a143b0b1b886c3c9f66bc2fd94f9f5783"}, -] - -[[package]] -name = "tzdata" -version = "2023.4" -description = "Provider of IANA time zone data" -optional = false -python-versions = ">=2" -files = [ - {file = "tzdata-2023.4-py2.py3-none-any.whl", hash = "sha256:aa3ace4329eeacda5b7beb7ea08ece826c28d761cda36e747cfbf97996d39bf3"}, - {file = "tzdata-2023.4.tar.gz", hash = "sha256:dd54c94f294765522c77399649b4fefd95522479a664a0cec87f41bebc6148c9"}, -] - -[[package]] -name = "urllib3" -version = "2.1.0" -description = "HTTP library with thread-safe connection pooling, file post, and more." -optional = false -python-versions = ">=3.8" -files = [ - {file = "urllib3-2.1.0-py3-none-any.whl", hash = "sha256:55901e917a5896a349ff771be919f8bd99aff50b79fe58fec595eb37bbc56bb3"}, - {file = "urllib3-2.1.0.tar.gz", hash = "sha256:df7aa8afb0148fa78488e7899b2c59b5f4ffcfa82e6c54ccb9dd37c1d7b52d54"}, -] - -[package.extras] -brotli = ["brotli (>=1.0.9)", "brotlicffi (>=0.8.0)"] -socks = ["pysocks (>=1.5.6,!=1.5.7,<2.0)"] -zstd = ["zstandard (>=0.18.0)"] - -[[package]] -name = "waitress" -version = "2.1.2" -description = "Waitress WSGI server" -optional = false -python-versions = ">=3.7.0" -files = [ - {file = "waitress-2.1.2-py3-none-any.whl", hash = "sha256:7500c9625927c8ec60f54377d590f67b30c8e70ef4b8894214ac6e4cad233d2a"}, - {file = "waitress-2.1.2.tar.gz", hash = "sha256:780a4082c5fbc0fde6a2fcfe5e26e6efc1e8f425730863c04085769781f51eba"}, -] - -[package.extras] -docs = ["Sphinx (>=1.8.1)", "docutils", "pylons-sphinx-themes (>=1.0.9)"] -testing = ["coverage (>=5.0)", "pytest", "pytest-cover"] - -[[package]] -name = "websocket-client" -version = "1.7.0" -description = "WebSocket client for Python with low level API options" -optional = false -python-versions = ">=3.8" -files = [ - {file = "websocket-client-1.7.0.tar.gz", hash = "sha256:10e511ea3a8c744631d3bd77e61eb17ed09304c413ad42cf6ddfa4c7787e8fe6"}, - {file = "websocket_client-1.7.0-py3-none-any.whl", hash = "sha256:f4c3d22fec12a2461427a29957ff07d35098ee2d976d3ba244e688b8b4057588"}, -] - -[package.extras] -docs = ["Sphinx (>=6.0)", "sphinx-rtd-theme (>=1.1.0)"] -optional = ["python-socks", "wsaccel"] -test = ["websockets"] - -[[package]] -name = "werkzeug" -version = "3.0.1" -description = "The comprehensive WSGI web application library." -optional = false -python-versions = ">=3.8" -files = [ - {file = "werkzeug-3.0.1-py3-none-any.whl", hash = "sha256:90a285dc0e42ad56b34e696398b8122ee4c681833fb35b8334a095d82c56da10"}, - {file = "werkzeug-3.0.1.tar.gz", hash = "sha256:507e811ecea72b18a404947aded4b3390e1db8f826b494d76550ef45bb3b1dcc"}, -] - -[package.dependencies] -MarkupSafe = ">=2.1.1" - -[package.extras] -watchdog = ["watchdog (>=2.3)"] - -[[package]] -name = "wheel" -version = "0.42.0" -description = "A built-package format for Python" -optional = false -python-versions = ">=3.7" -files = [ - {file = "wheel-0.42.0-py3-none-any.whl", hash = "sha256:177f9c9b0d45c47873b619f5b650346d632cdc35fb5e4d25058e09c9e581433d"}, - {file = "wheel-0.42.0.tar.gz", hash = "sha256:c45be39f7882c9d34243236f2d63cbd58039e360f85d0913425fbd7ceea617a8"}, -] - -[package.extras] -test = ["pytest (>=6.0.0)", "setuptools (>=65)"] - -[[package]] -name = "zipp" -version = "3.17.0" -description = "Backport of pathlib-compatible object wrapper for zip files" -optional = false -python-versions = ">=3.8" -files = [ - {file = "zipp-3.17.0-py3-none-any.whl", hash = "sha256:0e923e726174922dce09c53c59ad483ff7bbb8e572e00c7f7c46b88556409f31"}, - {file = "zipp-3.17.0.tar.gz", hash = "sha256:84e64a1c28cf7e91ed2078bb8cc8c259cb19b76942096c8d7b84947690cabaf0"}, -] - -[package.extras] -docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (<7.2.5)", "sphinx (>=3.5)", "sphinx-lint"] -testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-ignore-flaky", "pytest-mypy (>=0.9.1)", "pytest-ruff"] - -[metadata] -lock-version = "2.0" -python-versions = "^3.9" -content-hash = "26f900f309472caac4cf025bca06ab6b71e335b6329bc66aa9d3b27c6b6fcfcf" diff --git a/anomaly-detector/pyproject.toml b/anomaly-detector/pyproject.toml deleted file mode 100644 index 1aaade6..0000000 --- a/anomaly-detector/pyproject.toml +++ /dev/null @@ -1,33 +0,0 @@ -[tool.poetry] -name = "time-series-anomaly-detector" -version = "0.2.2" -description = "Microsoft Anomaly Detector" -authors = ["Anomaly Detector "] -license = "MIT" -readme = "README.md" -packages = [{include = "anomaly_detector"}] -build = "build.py" - -[tool.poetry.dependencies] -python = "^3.9" -numpy = "^1.26.0" -pandas = "^2.2" -seasonal = "^0.3.1" -scipy = "^1.9.3" -pytz = "^2020.1" -Cython = "^3.0.8" -rstl = "^0.1.3" -python_dateutil = "^2.8.2" -psutil = "^5.9.2" -statsmodels = "^0.14.1" -scikit-learn = "^1.3.2" -arch = "^6.3.0" -torch = "^1.13.1" -tqdm = "^4.66.1" -mlflow = "^2" -pytest = "^7.4.4" - - -[build-system] -requires = ["poetry-core>=1.0.0", "setuptools>=62.6.0", "Cython>=0.29.30", "numpy"] -build-backend = "poetry.core.masonry.api" diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..b14bac9 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,50 @@ +[build-system] +requires = ["setuptools", "wheel", "numpy"] +build-backend = "setuptools.build_meta" + +[project] +name = "time-series-anomaly-detector" +version = "0.2.3" +description = "Time Series Anomaly Detector" +readme = "README.md" +requires-python = ">=3.9.0" +license = { file = "LICENSE" } +keywords = ["machine learning", "time series", "anomaly detection"] +authors = [ + { name = "Microsoft Corporation", email = "ad-oss@microsoft.com" } +] +maintainers = [ + { name = "Microsoft Corporation", email = "ad-oss@microsoft.com" } +] +classifiers = [ + "Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "Topic :: Scientific/Engineering :: Artificial Intelligence", + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", +] + +dependencies = [ + "numpy>=1.23.5", + "pandas>=1.3.5", + "seasonal>=0.3.1", + "scipy>=1.9.3", + "pytz>=2018.9", + "rstl>=0.1.3", + "psutil>=5.9.2", + "statsmodels>=0.14.1", + "scikit-learn>=1.3.2", + "arch>=6.3.0", + "torch>=1.13.1", + "tqdm>=4.66.1", + "mlflow>=2", + "pytest>=7.4.4", +] + +[project.urls] +"Homepage" = "https://github.com/microsoft/anomaly-detector" + +[tool.setuptools.packages.find] +where = ["src"] \ No newline at end of file diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index 27aa1eb..0000000 --- a/requirements.txt +++ /dev/null @@ -1,16 +0,0 @@ -numpy>=1.23.5 -pandas>=1.3.5 -seasonal>=0.3.1 -scipy>=1.9.3 -pytz>=2018.9 -Cython>=3.0.8 -rstl>=0.1.3 -python_dateutil>=2.7.5 -psutil>=5.9.2 -statsmodels>=0.14.1 -scikit-learn>=1.3.2 -arch>=6.3.0 -torch>=1.13.1 -tqdm>=4.66.1 -mlflow>=2 -pytest>=7.4.4 \ No newline at end of file diff --git a/setup.py b/setup.py index 91d5050..eaf1dfb 100644 --- a/setup.py +++ b/setup.py @@ -2,107 +2,27 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # --------------------------------------------------------- -import os -from pathlib import Path -from Cython.Build import cythonize -from setuptools.command.sdist import sdist -from setuptools import find_packages, setup, Extension -import numpy +from setuptools import setup, Extension -if __name__ == "__main__": - import os - - with Path(Path(__file__).parent, "README.md").open(encoding="utf-8") as file: - long_description = file.read() - - def get_all_package_and_dir(directory): - all_package = {} - for path, _, filenames in os.walk(directory): - if "__init__.py" in filenames and "test" not in path: - path = "/".join(path.split("\\")) - package_name = ".".join(path.split("/")[2::]) - all_package[package_name] = path - return all_package - - - def package_files(directory): - paths = [] - for path, _, filenames in os.walk(directory): - for filename in filenames: - paths.append(os.path.join("..", path, filename)) - return paths - - - # extra_files = package_files("front/build") - - def _read_reqs(relpath): - fullpath = os.path.join(os.path.dirname(__file__), relpath) - with open(fullpath) as f: - return [ - s.strip() - for s in f.readlines() - if (s.strip() and not s.startswith("#")) - ] - try: - REQUIREMENTS = _read_reqs("requirements.txt") - except Exception: - REQUIREMENTS = _read_reqs("anomaly_detector.egg-info/requires.txt") +class GetNumpyInclude(object): + """A lazy include path for numpy. + This way numpy isn't imported until it's actually installed, + so the `install_requires` argument can handle it properly. + """ + def __str__(self): + import numpy + return numpy.get_include() - extensions = [ - Extension("anomaly_detector.univariate._anomaly_kernel_cython", - ["anomaly-detector/anomaly_detector/univariate/_anomaly_kernel_cython.pyx"], - define_macros=[('CYTHON_TRACE', '1')]) - ] - - # cmdclass = {'build_ext': build_ext} - # cmdclass.update({'build_ext': build_ext}) - - class CustomSdist(sdist): - def run(self): - # Run build_ext before sdist - build_ext_cmd = self.get_finalized_command('build_ext') - build_ext_cmd.inplace = 1 - self.run_command('build_ext') - - # Use the standard behavior of sdist from the base class - sdist.run(self) - - - cmdclass = {'sdist': CustomSdist} - - all_package = get_all_package_and_dir("./anomaly-detector") +if __name__ == "__main__": setup( - name="time-series-anomaly-detector", - packages=list(all_package.keys()), - package_dir=all_package, - ext_modules=cythonize(extensions), - include_package_data=True, - cmdclass=cmdclass, - version="0.2.2", - license="MIT", - description="Time Series Anomaly Detection", - long_description=long_description, - long_description_content_type="text/markdown", - author="Microsoft", - author_email="ad-oss@microsoft.com", - url="https://github.com/microsoft/anomaly-detector", - data_files=[ - (".", ["README.md"]), - ], - keywords=["machine learning", "time series", "anomaly detection"], - include_dirs=[numpy.get_include()], - maintainer=["Anomaly Detector Open Source", "Microsoft"], - python_requires='>=3.9.0', - install_requires=REQUIREMENTS, - classifiers=[ - "Development Status :: 4 - Beta", - "Intended Audience :: Developers", - "Topic :: Scientific/Engineering :: Artificial Intelligence", - "License :: OSI Approved :: MIT License", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - ], + setup_requires=["numpy"], + ext_modules=[ + Extension( + "anomaly_detector.univariate._anomaly_kernel_cython", + ["src/anomaly_detector/univariate/_anomaly_kernel_cython.c"], + include_dirs=[GetNumpyInclude()] + ) + ] ) diff --git a/anomaly-detector/anomaly_detector/__init__.py b/src/anomaly_detector/__init__.py similarity index 100% rename from anomaly-detector/anomaly_detector/__init__.py rename to src/anomaly_detector/__init__.py diff --git a/anomaly-detector/anomaly_detector/base.py b/src/anomaly_detector/base.py similarity index 100% rename from anomaly-detector/anomaly_detector/base.py rename to src/anomaly_detector/base.py diff --git a/anomaly-detector/anomaly_detector/common/__init__.py b/src/anomaly_detector/common/__init__.py similarity index 100% rename from anomaly-detector/anomaly_detector/common/__init__.py rename to src/anomaly_detector/common/__init__.py diff --git a/anomaly-detector/anomaly_detector/common/constants.py b/src/anomaly_detector/common/constants.py similarity index 100% rename from anomaly-detector/anomaly_detector/common/constants.py rename to src/anomaly_detector/common/constants.py diff --git a/anomaly-detector/anomaly_detector/common/data_processor.py b/src/anomaly_detector/common/data_processor.py similarity index 100% rename from anomaly-detector/anomaly_detector/common/data_processor.py rename to src/anomaly_detector/common/data_processor.py diff --git a/anomaly-detector/anomaly_detector/common/error_code.py b/src/anomaly_detector/common/error_code.py similarity index 100% rename from anomaly-detector/anomaly_detector/common/error_code.py rename to src/anomaly_detector/common/error_code.py diff --git a/anomaly-detector/anomaly_detector/common/exception.py b/src/anomaly_detector/common/exception.py similarity index 100% rename from anomaly-detector/anomaly_detector/common/exception.py rename to src/anomaly_detector/common/exception.py diff --git a/anomaly-detector/anomaly_detector/common/time_util.py b/src/anomaly_detector/common/time_util.py similarity index 100% rename from anomaly-detector/anomaly_detector/common/time_util.py rename to src/anomaly_detector/common/time_util.py diff --git a/anomaly-detector/anomaly_detector/multivariate/__init__.py b/src/anomaly_detector/multivariate/__init__.py similarity index 100% rename from anomaly-detector/anomaly_detector/multivariate/__init__.py rename to src/anomaly_detector/multivariate/__init__.py diff --git a/anomaly-detector/anomaly_detector/multivariate/contract.py b/src/anomaly_detector/multivariate/contract.py similarity index 100% rename from anomaly-detector/anomaly_detector/multivariate/contract.py rename to src/anomaly_detector/multivariate/contract.py diff --git a/anomaly-detector/anomaly_detector/multivariate/dataset.py b/src/anomaly_detector/multivariate/dataset.py similarity index 100% rename from anomaly-detector/anomaly_detector/multivariate/dataset.py rename to src/anomaly_detector/multivariate/dataset.py diff --git a/anomaly-detector/anomaly_detector/multivariate/model.py b/src/anomaly_detector/multivariate/model.py similarity index 100% rename from anomaly-detector/anomaly_detector/multivariate/model.py rename to src/anomaly_detector/multivariate/model.py diff --git a/anomaly-detector/anomaly_detector/multivariate/module.py b/src/anomaly_detector/multivariate/module.py similarity index 100% rename from anomaly-detector/anomaly_detector/multivariate/module.py rename to src/anomaly_detector/multivariate/module.py diff --git a/anomaly-detector/anomaly_detector/multivariate/util.py b/src/anomaly_detector/multivariate/util.py similarity index 100% rename from anomaly-detector/anomaly_detector/multivariate/util.py rename to src/anomaly_detector/multivariate/util.py diff --git a/anomaly-detector/anomaly_detector/univariate/__init__.py b/src/anomaly_detector/univariate/__init__.py similarity index 100% rename from anomaly-detector/anomaly_detector/univariate/__init__.py rename to src/anomaly_detector/univariate/__init__.py diff --git a/src/anomaly_detector/univariate/_anomaly_kernel_cython.c b/src/anomaly_detector/univariate/_anomaly_kernel_cython.c new file mode 100644 index 0000000..8f86a0a --- /dev/null +++ b/src/anomaly_detector/univariate/_anomaly_kernel_cython.c @@ -0,0 +1,41536 @@ +/* Generated by Cython 3.0.9 */ + +#ifndef PY_SSIZE_T_CLEAN +#define PY_SSIZE_T_CLEAN +#endif /* PY_SSIZE_T_CLEAN */ +#if defined(CYTHON_LIMITED_API) && 0 + #ifndef Py_LIMITED_API + #if CYTHON_LIMITED_API+0 > 0x03030000 + #define Py_LIMITED_API CYTHON_LIMITED_API + #else + #define Py_LIMITED_API 0x03030000 + #endif + #endif +#endif + +#include "Python.h" +#ifndef Py_PYTHON_H + #error Python headers needed to compile C extensions, please install development version of Python. +#elif PY_VERSION_HEX < 0x02070000 || (0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03030000) + #error Cython requires Python 2.7+ or Python 3.3+. +#else +#if defined(CYTHON_LIMITED_API) && CYTHON_LIMITED_API +#define __PYX_EXTRA_ABI_MODULE_NAME "limited" +#else +#define __PYX_EXTRA_ABI_MODULE_NAME "" +#endif +#define CYTHON_ABI "3_0_9" __PYX_EXTRA_ABI_MODULE_NAME +#define __PYX_ABI_MODULE_NAME "_cython_" CYTHON_ABI +#define __PYX_TYPE_MODULE_PREFIX __PYX_ABI_MODULE_NAME "." +#define CYTHON_HEX_VERSION 0x030009F0 +#define CYTHON_FUTURE_DIVISION 1 +#include +#ifndef offsetof + #define offsetof(type, member) ( (size_t) & ((type*)0) -> member ) +#endif +#if !defined(_WIN32) && !defined(WIN32) && !defined(MS_WINDOWS) + #ifndef __stdcall + #define __stdcall + #endif + #ifndef __cdecl + #define __cdecl + #endif + #ifndef __fastcall + #define __fastcall + #endif +#endif +#ifndef DL_IMPORT + #define DL_IMPORT(t) t +#endif +#ifndef DL_EXPORT + #define DL_EXPORT(t) t +#endif +#define __PYX_COMMA , +#ifndef HAVE_LONG_LONG + #define HAVE_LONG_LONG +#endif +#ifndef PY_LONG_LONG + #define PY_LONG_LONG LONG_LONG +#endif +#ifndef Py_HUGE_VAL + #define Py_HUGE_VAL HUGE_VAL +#endif +#define __PYX_LIMITED_VERSION_HEX PY_VERSION_HEX +#if defined(GRAALVM_PYTHON) + /* For very preliminary testing purposes. Most variables are set the same as PyPy. + The existence of this section does not imply that anything works or is even tested */ + #define CYTHON_COMPILING_IN_PYPY 0 + #define CYTHON_COMPILING_IN_CPYTHON 0 + #define CYTHON_COMPILING_IN_LIMITED_API 0 + #define CYTHON_COMPILING_IN_GRAAL 1 + #define CYTHON_COMPILING_IN_NOGIL 0 + #undef CYTHON_USE_TYPE_SLOTS + #define CYTHON_USE_TYPE_SLOTS 0 + #undef CYTHON_USE_TYPE_SPECS + #define CYTHON_USE_TYPE_SPECS 0 + #undef CYTHON_USE_PYTYPE_LOOKUP + #define CYTHON_USE_PYTYPE_LOOKUP 0 + #if PY_VERSION_HEX < 0x03050000 + #undef CYTHON_USE_ASYNC_SLOTS + #define CYTHON_USE_ASYNC_SLOTS 0 + #elif !defined(CYTHON_USE_ASYNC_SLOTS) + #define CYTHON_USE_ASYNC_SLOTS 1 + #endif + #undef CYTHON_USE_PYLIST_INTERNALS + #define CYTHON_USE_PYLIST_INTERNALS 0 + #undef CYTHON_USE_UNICODE_INTERNALS + #define CYTHON_USE_UNICODE_INTERNALS 0 + #undef CYTHON_USE_UNICODE_WRITER + #define CYTHON_USE_UNICODE_WRITER 0 + #undef CYTHON_USE_PYLONG_INTERNALS + #define CYTHON_USE_PYLONG_INTERNALS 0 + #undef CYTHON_AVOID_BORROWED_REFS + #define CYTHON_AVOID_BORROWED_REFS 1 + #undef CYTHON_ASSUME_SAFE_MACROS + #define CYTHON_ASSUME_SAFE_MACROS 0 + #undef CYTHON_UNPACK_METHODS + #define CYTHON_UNPACK_METHODS 0 + #undef CYTHON_FAST_THREAD_STATE + #define CYTHON_FAST_THREAD_STATE 0 + #undef CYTHON_FAST_GIL + #define CYTHON_FAST_GIL 0 + #undef CYTHON_METH_FASTCALL + #define CYTHON_METH_FASTCALL 0 + #undef CYTHON_FAST_PYCALL + #define CYTHON_FAST_PYCALL 0 + #ifndef CYTHON_PEP487_INIT_SUBCLASS + #define CYTHON_PEP487_INIT_SUBCLASS (PY_MAJOR_VERSION >= 3) + #endif + #undef CYTHON_PEP489_MULTI_PHASE_INIT + #define CYTHON_PEP489_MULTI_PHASE_INIT 1 + #undef CYTHON_USE_MODULE_STATE + #define CYTHON_USE_MODULE_STATE 0 + #undef CYTHON_USE_TP_FINALIZE + #define CYTHON_USE_TP_FINALIZE 0 + #undef CYTHON_USE_DICT_VERSIONS + #define CYTHON_USE_DICT_VERSIONS 0 + #undef CYTHON_USE_EXC_INFO_STACK + #define CYTHON_USE_EXC_INFO_STACK 0 + #ifndef CYTHON_UPDATE_DESCRIPTOR_DOC + #define CYTHON_UPDATE_DESCRIPTOR_DOC 0 + #endif +#elif defined(PYPY_VERSION) + #define CYTHON_COMPILING_IN_PYPY 1 + #define CYTHON_COMPILING_IN_CPYTHON 0 + #define CYTHON_COMPILING_IN_LIMITED_API 0 + #define CYTHON_COMPILING_IN_GRAAL 0 + #define CYTHON_COMPILING_IN_NOGIL 0 + #undef CYTHON_USE_TYPE_SLOTS + #define CYTHON_USE_TYPE_SLOTS 0 + #ifndef CYTHON_USE_TYPE_SPECS + #define CYTHON_USE_TYPE_SPECS 0 + #endif + #undef CYTHON_USE_PYTYPE_LOOKUP + #define CYTHON_USE_PYTYPE_LOOKUP 0 + #if PY_VERSION_HEX < 0x03050000 + #undef CYTHON_USE_ASYNC_SLOTS + #define CYTHON_USE_ASYNC_SLOTS 0 + #elif !defined(CYTHON_USE_ASYNC_SLOTS) + #define CYTHON_USE_ASYNC_SLOTS 1 + #endif + #undef CYTHON_USE_PYLIST_INTERNALS + #define CYTHON_USE_PYLIST_INTERNALS 0 + #undef CYTHON_USE_UNICODE_INTERNALS + #define CYTHON_USE_UNICODE_INTERNALS 0 + #undef CYTHON_USE_UNICODE_WRITER + #define CYTHON_USE_UNICODE_WRITER 0 + #undef CYTHON_USE_PYLONG_INTERNALS + #define CYTHON_USE_PYLONG_INTERNALS 0 + #undef CYTHON_AVOID_BORROWED_REFS + #define CYTHON_AVOID_BORROWED_REFS 1 + #undef CYTHON_ASSUME_SAFE_MACROS + #define CYTHON_ASSUME_SAFE_MACROS 0 + #undef CYTHON_UNPACK_METHODS + #define CYTHON_UNPACK_METHODS 0 + #undef CYTHON_FAST_THREAD_STATE + #define CYTHON_FAST_THREAD_STATE 0 + #undef CYTHON_FAST_GIL + #define CYTHON_FAST_GIL 0 + #undef CYTHON_METH_FASTCALL + #define CYTHON_METH_FASTCALL 0 + #undef CYTHON_FAST_PYCALL + #define CYTHON_FAST_PYCALL 0 + #ifndef CYTHON_PEP487_INIT_SUBCLASS + #define CYTHON_PEP487_INIT_SUBCLASS (PY_MAJOR_VERSION >= 3) + #endif + #if PY_VERSION_HEX < 0x03090000 + #undef CYTHON_PEP489_MULTI_PHASE_INIT + #define CYTHON_PEP489_MULTI_PHASE_INIT 0 + #elif !defined(CYTHON_PEP489_MULTI_PHASE_INIT) + #define CYTHON_PEP489_MULTI_PHASE_INIT 1 + #endif + #undef CYTHON_USE_MODULE_STATE + #define CYTHON_USE_MODULE_STATE 0 + #undef CYTHON_USE_TP_FINALIZE + #define CYTHON_USE_TP_FINALIZE (PY_VERSION_HEX >= 0x030400a1 && PYPY_VERSION_NUM >= 0x07030C00) + #undef CYTHON_USE_DICT_VERSIONS + #define CYTHON_USE_DICT_VERSIONS 0 + #undef CYTHON_USE_EXC_INFO_STACK + #define CYTHON_USE_EXC_INFO_STACK 0 + #ifndef CYTHON_UPDATE_DESCRIPTOR_DOC + #define CYTHON_UPDATE_DESCRIPTOR_DOC 0 + #endif +#elif defined(CYTHON_LIMITED_API) + #ifdef Py_LIMITED_API + #undef __PYX_LIMITED_VERSION_HEX + #define __PYX_LIMITED_VERSION_HEX Py_LIMITED_API + #endif + #define CYTHON_COMPILING_IN_PYPY 0 + #define CYTHON_COMPILING_IN_CPYTHON 0 + #define CYTHON_COMPILING_IN_LIMITED_API 1 + #define CYTHON_COMPILING_IN_GRAAL 0 + #define CYTHON_COMPILING_IN_NOGIL 0 + #undef CYTHON_CLINE_IN_TRACEBACK + #define CYTHON_CLINE_IN_TRACEBACK 0 + #undef CYTHON_USE_TYPE_SLOTS + #define CYTHON_USE_TYPE_SLOTS 0 + #undef CYTHON_USE_TYPE_SPECS + #define CYTHON_USE_TYPE_SPECS 1 + #undef CYTHON_USE_PYTYPE_LOOKUP + #define CYTHON_USE_PYTYPE_LOOKUP 0 + #undef CYTHON_USE_ASYNC_SLOTS + #define CYTHON_USE_ASYNC_SLOTS 0 + #undef CYTHON_USE_PYLIST_INTERNALS + #define CYTHON_USE_PYLIST_INTERNALS 0 + #undef CYTHON_USE_UNICODE_INTERNALS + #define CYTHON_USE_UNICODE_INTERNALS 0 + #ifndef CYTHON_USE_UNICODE_WRITER + #define CYTHON_USE_UNICODE_WRITER 0 + #endif + #undef CYTHON_USE_PYLONG_INTERNALS + #define CYTHON_USE_PYLONG_INTERNALS 0 + #ifndef CYTHON_AVOID_BORROWED_REFS + #define CYTHON_AVOID_BORROWED_REFS 0 + #endif + #undef CYTHON_ASSUME_SAFE_MACROS + #define CYTHON_ASSUME_SAFE_MACROS 0 + #undef CYTHON_UNPACK_METHODS + #define CYTHON_UNPACK_METHODS 0 + #undef CYTHON_FAST_THREAD_STATE + #define CYTHON_FAST_THREAD_STATE 0 + #undef CYTHON_FAST_GIL + #define CYTHON_FAST_GIL 0 + #undef CYTHON_METH_FASTCALL + #define CYTHON_METH_FASTCALL 0 + #undef CYTHON_FAST_PYCALL + #define CYTHON_FAST_PYCALL 0 + #ifndef CYTHON_PEP487_INIT_SUBCLASS + #define CYTHON_PEP487_INIT_SUBCLASS 1 + #endif + #undef CYTHON_PEP489_MULTI_PHASE_INIT + #define CYTHON_PEP489_MULTI_PHASE_INIT 0 + #undef CYTHON_USE_MODULE_STATE + #define CYTHON_USE_MODULE_STATE 1 + #ifndef CYTHON_USE_TP_FINALIZE + #define CYTHON_USE_TP_FINALIZE 0 + #endif + #undef CYTHON_USE_DICT_VERSIONS + #define CYTHON_USE_DICT_VERSIONS 0 + #undef CYTHON_USE_EXC_INFO_STACK + #define CYTHON_USE_EXC_INFO_STACK 0 + #ifndef CYTHON_UPDATE_DESCRIPTOR_DOC + #define CYTHON_UPDATE_DESCRIPTOR_DOC 0 + #endif +#elif defined(Py_GIL_DISABLED) || defined(Py_NOGIL) + #define CYTHON_COMPILING_IN_PYPY 0 + #define CYTHON_COMPILING_IN_CPYTHON 0 + #define CYTHON_COMPILING_IN_LIMITED_API 0 + #define CYTHON_COMPILING_IN_GRAAL 0 + #define CYTHON_COMPILING_IN_NOGIL 1 + #ifndef CYTHON_USE_TYPE_SLOTS + #define CYTHON_USE_TYPE_SLOTS 1 + #endif + #undef CYTHON_USE_PYTYPE_LOOKUP + #define CYTHON_USE_PYTYPE_LOOKUP 0 + #ifndef CYTHON_USE_ASYNC_SLOTS + #define CYTHON_USE_ASYNC_SLOTS 1 + #endif + #undef CYTHON_USE_PYLIST_INTERNALS + #define CYTHON_USE_PYLIST_INTERNALS 0 + #ifndef CYTHON_USE_UNICODE_INTERNALS + #define CYTHON_USE_UNICODE_INTERNALS 1 + #endif + #undef CYTHON_USE_UNICODE_WRITER + #define CYTHON_USE_UNICODE_WRITER 0 + #undef CYTHON_USE_PYLONG_INTERNALS + #define CYTHON_USE_PYLONG_INTERNALS 0 + #ifndef CYTHON_AVOID_BORROWED_REFS + #define CYTHON_AVOID_BORROWED_REFS 0 + #endif + #ifndef CYTHON_ASSUME_SAFE_MACROS + #define CYTHON_ASSUME_SAFE_MACROS 1 + #endif + #ifndef CYTHON_UNPACK_METHODS + #define CYTHON_UNPACK_METHODS 1 + #endif + #undef CYTHON_FAST_THREAD_STATE + #define CYTHON_FAST_THREAD_STATE 0 + #undef CYTHON_FAST_PYCALL + #define CYTHON_FAST_PYCALL 0 + #ifndef CYTHON_PEP489_MULTI_PHASE_INIT + #define CYTHON_PEP489_MULTI_PHASE_INIT 1 + #endif + #ifndef CYTHON_USE_TP_FINALIZE + #define CYTHON_USE_TP_FINALIZE 1 + #endif + #undef CYTHON_USE_DICT_VERSIONS + #define CYTHON_USE_DICT_VERSIONS 0 + #undef CYTHON_USE_EXC_INFO_STACK + #define CYTHON_USE_EXC_INFO_STACK 0 +#else + #define CYTHON_COMPILING_IN_PYPY 0 + #define CYTHON_COMPILING_IN_CPYTHON 1 + #define CYTHON_COMPILING_IN_LIMITED_API 0 + #define CYTHON_COMPILING_IN_GRAAL 0 + #define CYTHON_COMPILING_IN_NOGIL 0 + #ifndef CYTHON_USE_TYPE_SLOTS + #define CYTHON_USE_TYPE_SLOTS 1 + #endif + #ifndef CYTHON_USE_TYPE_SPECS + #define CYTHON_USE_TYPE_SPECS 0 + #endif + #ifndef CYTHON_USE_PYTYPE_LOOKUP + #define CYTHON_USE_PYTYPE_LOOKUP 1 + #endif + #if PY_MAJOR_VERSION < 3 + #undef CYTHON_USE_ASYNC_SLOTS + #define CYTHON_USE_ASYNC_SLOTS 0 + #elif !defined(CYTHON_USE_ASYNC_SLOTS) + #define CYTHON_USE_ASYNC_SLOTS 1 + #endif + #ifndef CYTHON_USE_PYLONG_INTERNALS + #define CYTHON_USE_PYLONG_INTERNALS 1 + #endif + #ifndef CYTHON_USE_PYLIST_INTERNALS + #define CYTHON_USE_PYLIST_INTERNALS 1 + #endif + #ifndef CYTHON_USE_UNICODE_INTERNALS + #define CYTHON_USE_UNICODE_INTERNALS 1 + #endif + #if PY_VERSION_HEX < 0x030300F0 || PY_VERSION_HEX >= 0x030B00A2 + #undef CYTHON_USE_UNICODE_WRITER + #define CYTHON_USE_UNICODE_WRITER 0 + #elif !defined(CYTHON_USE_UNICODE_WRITER) + #define CYTHON_USE_UNICODE_WRITER 1 + #endif + #ifndef CYTHON_AVOID_BORROWED_REFS + #define CYTHON_AVOID_BORROWED_REFS 0 + #endif + #ifndef CYTHON_ASSUME_SAFE_MACROS + #define CYTHON_ASSUME_SAFE_MACROS 1 + #endif + #ifndef CYTHON_UNPACK_METHODS + #define CYTHON_UNPACK_METHODS 1 + #endif + #ifndef CYTHON_FAST_THREAD_STATE + #define CYTHON_FAST_THREAD_STATE 1 + #endif + #ifndef CYTHON_FAST_GIL + #define CYTHON_FAST_GIL (PY_MAJOR_VERSION < 3 || PY_VERSION_HEX >= 0x03060000 && PY_VERSION_HEX < 0x030C00A6) + #endif + #ifndef CYTHON_METH_FASTCALL + #define CYTHON_METH_FASTCALL (PY_VERSION_HEX >= 0x030700A1) + #endif + #ifndef CYTHON_FAST_PYCALL + #define CYTHON_FAST_PYCALL 1 + #endif + #ifndef CYTHON_PEP487_INIT_SUBCLASS + #define CYTHON_PEP487_INIT_SUBCLASS 1 + #endif + #if PY_VERSION_HEX < 0x03050000 + #undef CYTHON_PEP489_MULTI_PHASE_INIT + #define CYTHON_PEP489_MULTI_PHASE_INIT 0 + #elif !defined(CYTHON_PEP489_MULTI_PHASE_INIT) + #define CYTHON_PEP489_MULTI_PHASE_INIT 1 + #endif + #ifndef CYTHON_USE_MODULE_STATE + #define CYTHON_USE_MODULE_STATE 0 + #endif + #if PY_VERSION_HEX < 0x030400a1 + #undef CYTHON_USE_TP_FINALIZE + #define CYTHON_USE_TP_FINALIZE 0 + #elif !defined(CYTHON_USE_TP_FINALIZE) + #define CYTHON_USE_TP_FINALIZE 1 + #endif + #if PY_VERSION_HEX < 0x030600B1 + #undef CYTHON_USE_DICT_VERSIONS + #define CYTHON_USE_DICT_VERSIONS 0 + #elif !defined(CYTHON_USE_DICT_VERSIONS) + #define CYTHON_USE_DICT_VERSIONS (PY_VERSION_HEX < 0x030C00A5) + #endif + #if PY_VERSION_HEX < 0x030700A3 + #undef CYTHON_USE_EXC_INFO_STACK + #define CYTHON_USE_EXC_INFO_STACK 0 + #elif !defined(CYTHON_USE_EXC_INFO_STACK) + #define CYTHON_USE_EXC_INFO_STACK 1 + #endif + #ifndef CYTHON_UPDATE_DESCRIPTOR_DOC + #define CYTHON_UPDATE_DESCRIPTOR_DOC 1 + #endif +#endif +#if !defined(CYTHON_FAST_PYCCALL) +#define CYTHON_FAST_PYCCALL (CYTHON_FAST_PYCALL && PY_VERSION_HEX >= 0x030600B1) +#endif +#if !defined(CYTHON_VECTORCALL) +#define CYTHON_VECTORCALL (CYTHON_FAST_PYCCALL && PY_VERSION_HEX >= 0x030800B1) +#endif +#define CYTHON_BACKPORT_VECTORCALL (CYTHON_METH_FASTCALL && PY_VERSION_HEX < 0x030800B1) +#if CYTHON_USE_PYLONG_INTERNALS + #if PY_MAJOR_VERSION < 3 + #include "longintrepr.h" + #endif + #undef SHIFT + #undef BASE + #undef MASK + #ifdef SIZEOF_VOID_P + enum { __pyx_check_sizeof_voidp = 1 / (int)(SIZEOF_VOID_P == sizeof(void*)) }; + #endif +#endif +#ifndef __has_attribute + #define __has_attribute(x) 0 +#endif +#ifndef __has_cpp_attribute + #define __has_cpp_attribute(x) 0 +#endif +#ifndef CYTHON_RESTRICT + #if defined(__GNUC__) + #define CYTHON_RESTRICT __restrict__ + #elif defined(_MSC_VER) && _MSC_VER >= 1400 + #define CYTHON_RESTRICT __restrict + #elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L + #define CYTHON_RESTRICT restrict + #else + #define CYTHON_RESTRICT + #endif +#endif +#ifndef CYTHON_UNUSED + #if defined(__cplusplus) + /* for clang __has_cpp_attribute(maybe_unused) is true even before C++17 + * but leads to warnings with -pedantic, since it is a C++17 feature */ + #if ((defined(_MSVC_LANG) && _MSVC_LANG >= 201703L) || __cplusplus >= 201703L) + #if __has_cpp_attribute(maybe_unused) + #define CYTHON_UNUSED [[maybe_unused]] + #endif + #endif + #endif +#endif +#ifndef CYTHON_UNUSED +# if defined(__GNUC__) +# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) +# define CYTHON_UNUSED __attribute__ ((__unused__)) +# else +# define CYTHON_UNUSED +# endif +# elif defined(__ICC) || (defined(__INTEL_COMPILER) && !defined(_MSC_VER)) +# define CYTHON_UNUSED __attribute__ ((__unused__)) +# else +# define CYTHON_UNUSED +# endif +#endif +#ifndef CYTHON_UNUSED_VAR +# if defined(__cplusplus) + template void CYTHON_UNUSED_VAR( const T& ) { } +# else +# define CYTHON_UNUSED_VAR(x) (void)(x) +# endif +#endif +#ifndef CYTHON_MAYBE_UNUSED_VAR + #define CYTHON_MAYBE_UNUSED_VAR(x) CYTHON_UNUSED_VAR(x) +#endif +#ifndef CYTHON_NCP_UNUSED +# if CYTHON_COMPILING_IN_CPYTHON +# define CYTHON_NCP_UNUSED +# else +# define CYTHON_NCP_UNUSED CYTHON_UNUSED +# endif +#endif +#ifndef CYTHON_USE_CPP_STD_MOVE + #if defined(__cplusplus) && (\ + __cplusplus >= 201103L || (defined(_MSC_VER) && _MSC_VER >= 1600)) + #define CYTHON_USE_CPP_STD_MOVE 1 + #else + #define CYTHON_USE_CPP_STD_MOVE 0 + #endif +#endif +#define __Pyx_void_to_None(void_result) ((void)(void_result), Py_INCREF(Py_None), Py_None) +#ifdef _MSC_VER + #ifndef _MSC_STDINT_H_ + #if _MSC_VER < 1300 + typedef unsigned char uint8_t; + typedef unsigned short uint16_t; + typedef unsigned int uint32_t; + #else + typedef unsigned __int8 uint8_t; + typedef unsigned __int16 uint16_t; + typedef unsigned __int32 uint32_t; + #endif + #endif + #if _MSC_VER < 1300 + #ifdef _WIN64 + typedef unsigned long long __pyx_uintptr_t; + #else + typedef unsigned int __pyx_uintptr_t; + #endif + #else + #ifdef _WIN64 + typedef unsigned __int64 __pyx_uintptr_t; + #else + typedef unsigned __int32 __pyx_uintptr_t; + #endif + #endif +#else + #include + typedef uintptr_t __pyx_uintptr_t; +#endif +#ifndef CYTHON_FALLTHROUGH + #if defined(__cplusplus) + /* for clang __has_cpp_attribute(fallthrough) is true even before C++17 + * but leads to warnings with -pedantic, since it is a C++17 feature */ + #if ((defined(_MSVC_LANG) && _MSVC_LANG >= 201703L) || __cplusplus >= 201703L) + #if __has_cpp_attribute(fallthrough) + #define CYTHON_FALLTHROUGH [[fallthrough]] + #endif + #endif + #ifndef CYTHON_FALLTHROUGH + #if __has_cpp_attribute(clang::fallthrough) + #define CYTHON_FALLTHROUGH [[clang::fallthrough]] + #elif __has_cpp_attribute(gnu::fallthrough) + #define CYTHON_FALLTHROUGH [[gnu::fallthrough]] + #endif + #endif + #endif + #ifndef CYTHON_FALLTHROUGH + #if __has_attribute(fallthrough) + #define CYTHON_FALLTHROUGH __attribute__((fallthrough)) + #else + #define CYTHON_FALLTHROUGH + #endif + #endif + #if defined(__clang__) && defined(__apple_build_version__) + #if __apple_build_version__ < 7000000 + #undef CYTHON_FALLTHROUGH + #define CYTHON_FALLTHROUGH + #endif + #endif +#endif +#ifdef __cplusplus + template + struct __PYX_IS_UNSIGNED_IMPL {static const bool value = T(0) < T(-1);}; + #define __PYX_IS_UNSIGNED(type) (__PYX_IS_UNSIGNED_IMPL::value) +#else + #define __PYX_IS_UNSIGNED(type) (((type)-1) > 0) +#endif +#if CYTHON_COMPILING_IN_PYPY == 1 + #define __PYX_NEED_TP_PRINT_SLOT (PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x030A0000) +#else + #define __PYX_NEED_TP_PRINT_SLOT (PY_VERSION_HEX >= 0x030800b4 && PY_VERSION_HEX < 0x03090000) +#endif +#define __PYX_REINTERPRET_FUNCION(func_pointer, other_pointer) ((func_pointer)(void(*)(void))(other_pointer)) + +#ifndef CYTHON_INLINE + #if defined(__clang__) + #define CYTHON_INLINE __inline__ __attribute__ ((__unused__)) + #elif defined(__GNUC__) + #define CYTHON_INLINE __inline__ + #elif defined(_MSC_VER) + #define CYTHON_INLINE __inline + #elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L + #define CYTHON_INLINE inline + #else + #define CYTHON_INLINE + #endif +#endif + +#define __PYX_BUILD_PY_SSIZE_T "n" +#define CYTHON_FORMAT_SSIZE_T "z" +#if PY_MAJOR_VERSION < 3 + #define __Pyx_BUILTIN_MODULE_NAME "__builtin__" + #define __Pyx_DefaultClassType PyClass_Type + #define __Pyx_PyCode_New(a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)\ + PyCode_New(a+k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) +#else + #define __Pyx_BUILTIN_MODULE_NAME "builtins" + #define __Pyx_DefaultClassType PyType_Type +#if CYTHON_COMPILING_IN_LIMITED_API + static CYTHON_INLINE PyObject* __Pyx_PyCode_New(int a, int p, int k, int l, int s, int f, + PyObject *code, PyObject *c, PyObject* n, PyObject *v, + PyObject *fv, PyObject *cell, PyObject* fn, + PyObject *name, int fline, PyObject *lnos) { + PyObject *exception_table = NULL; + PyObject *types_module=NULL, *code_type=NULL, *result=NULL; + #if __PYX_LIMITED_VERSION_HEX < 0x030B0000 + PyObject *version_info; + PyObject *py_minor_version = NULL; + #endif + long minor_version = 0; + PyObject *type, *value, *traceback; + PyErr_Fetch(&type, &value, &traceback); + #if __PYX_LIMITED_VERSION_HEX >= 0x030B0000 + minor_version = 11; + #else + if (!(version_info = PySys_GetObject("version_info"))) goto end; + if (!(py_minor_version = PySequence_GetItem(version_info, 1))) goto end; + minor_version = PyLong_AsLong(py_minor_version); + Py_DECREF(py_minor_version); + if (minor_version == -1 && PyErr_Occurred()) goto end; + #endif + if (!(types_module = PyImport_ImportModule("types"))) goto end; + if (!(code_type = PyObject_GetAttrString(types_module, "CodeType"))) goto end; + if (minor_version <= 7) { + (void)p; + result = PyObject_CallFunction(code_type, "iiiiiOOOOOOiOO", a, k, l, s, f, code, + c, n, v, fn, name, fline, lnos, fv, cell); + } else if (minor_version <= 10) { + result = PyObject_CallFunction(code_type, "iiiiiiOOOOOOiOO", a,p, k, l, s, f, code, + c, n, v, fn, name, fline, lnos, fv, cell); + } else { + if (!(exception_table = PyBytes_FromStringAndSize(NULL, 0))) goto end; + result = PyObject_CallFunction(code_type, "iiiiiiOOOOOOOiOO", a,p, k, l, s, f, code, + c, n, v, fn, name, name, fline, lnos, exception_table, fv, cell); + } + end: + Py_XDECREF(code_type); + Py_XDECREF(exception_table); + Py_XDECREF(types_module); + if (type) { + PyErr_Restore(type, value, traceback); + } + return result; + } + #ifndef CO_OPTIMIZED + #define CO_OPTIMIZED 0x0001 + #endif + #ifndef CO_NEWLOCALS + #define CO_NEWLOCALS 0x0002 + #endif + #ifndef CO_VARARGS + #define CO_VARARGS 0x0004 + #endif + #ifndef CO_VARKEYWORDS + #define CO_VARKEYWORDS 0x0008 + #endif + #ifndef CO_ASYNC_GENERATOR + #define CO_ASYNC_GENERATOR 0x0200 + #endif + #ifndef CO_GENERATOR + #define CO_GENERATOR 0x0020 + #endif + #ifndef CO_COROUTINE + #define CO_COROUTINE 0x0080 + #endif +#elif PY_VERSION_HEX >= 0x030B0000 + static CYTHON_INLINE PyCodeObject* __Pyx_PyCode_New(int a, int p, int k, int l, int s, int f, + PyObject *code, PyObject *c, PyObject* n, PyObject *v, + PyObject *fv, PyObject *cell, PyObject* fn, + PyObject *name, int fline, PyObject *lnos) { + PyCodeObject *result; + PyObject *empty_bytes = PyBytes_FromStringAndSize("", 0); + if (!empty_bytes) return NULL; + result = + #if PY_VERSION_HEX >= 0x030C0000 + PyUnstable_Code_NewWithPosOnlyArgs + #else + PyCode_NewWithPosOnlyArgs + #endif + (a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, name, fline, lnos, empty_bytes); + Py_DECREF(empty_bytes); + return result; + } +#elif PY_VERSION_HEX >= 0x030800B2 && !CYTHON_COMPILING_IN_PYPY + #define __Pyx_PyCode_New(a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)\ + PyCode_NewWithPosOnlyArgs(a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) +#else + #define __Pyx_PyCode_New(a, p, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)\ + PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos) +#endif +#endif +#if PY_VERSION_HEX >= 0x030900A4 || defined(Py_IS_TYPE) + #define __Pyx_IS_TYPE(ob, type) Py_IS_TYPE(ob, type) +#else + #define __Pyx_IS_TYPE(ob, type) (((const PyObject*)ob)->ob_type == (type)) +#endif +#if PY_VERSION_HEX >= 0x030A00B1 || defined(Py_Is) + #define __Pyx_Py_Is(x, y) Py_Is(x, y) +#else + #define __Pyx_Py_Is(x, y) ((x) == (y)) +#endif +#if PY_VERSION_HEX >= 0x030A00B1 || defined(Py_IsNone) + #define __Pyx_Py_IsNone(ob) Py_IsNone(ob) +#else + #define __Pyx_Py_IsNone(ob) __Pyx_Py_Is((ob), Py_None) +#endif +#if PY_VERSION_HEX >= 0x030A00B1 || defined(Py_IsTrue) + #define __Pyx_Py_IsTrue(ob) Py_IsTrue(ob) +#else + #define __Pyx_Py_IsTrue(ob) __Pyx_Py_Is((ob), Py_True) +#endif +#if PY_VERSION_HEX >= 0x030A00B1 || defined(Py_IsFalse) + #define __Pyx_Py_IsFalse(ob) Py_IsFalse(ob) +#else + #define __Pyx_Py_IsFalse(ob) __Pyx_Py_Is((ob), Py_False) +#endif +#define __Pyx_NoneAsNull(obj) (__Pyx_Py_IsNone(obj) ? NULL : (obj)) +#if PY_VERSION_HEX >= 0x030900F0 && !CYTHON_COMPILING_IN_PYPY + #define __Pyx_PyObject_GC_IsFinalized(o) PyObject_GC_IsFinalized(o) +#else + #define __Pyx_PyObject_GC_IsFinalized(o) _PyGC_FINALIZED(o) +#endif +#ifndef CO_COROUTINE + #define CO_COROUTINE 0x80 +#endif +#ifndef CO_ASYNC_GENERATOR + #define CO_ASYNC_GENERATOR 0x200 +#endif +#ifndef Py_TPFLAGS_CHECKTYPES + #define Py_TPFLAGS_CHECKTYPES 0 +#endif +#ifndef Py_TPFLAGS_HAVE_INDEX + #define Py_TPFLAGS_HAVE_INDEX 0 +#endif +#ifndef Py_TPFLAGS_HAVE_NEWBUFFER + #define Py_TPFLAGS_HAVE_NEWBUFFER 0 +#endif +#ifndef Py_TPFLAGS_HAVE_FINALIZE + #define Py_TPFLAGS_HAVE_FINALIZE 0 +#endif +#ifndef Py_TPFLAGS_SEQUENCE + #define Py_TPFLAGS_SEQUENCE 0 +#endif +#ifndef Py_TPFLAGS_MAPPING + #define Py_TPFLAGS_MAPPING 0 +#endif +#ifndef METH_STACKLESS + #define METH_STACKLESS 0 +#endif +#if PY_VERSION_HEX <= 0x030700A3 || !defined(METH_FASTCALL) + #ifndef METH_FASTCALL + #define METH_FASTCALL 0x80 + #endif + typedef PyObject *(*__Pyx_PyCFunctionFast) (PyObject *self, PyObject *const *args, Py_ssize_t nargs); + typedef PyObject *(*__Pyx_PyCFunctionFastWithKeywords) (PyObject *self, PyObject *const *args, + Py_ssize_t nargs, PyObject *kwnames); +#else + #if PY_VERSION_HEX >= 0x030d00A4 + # define __Pyx_PyCFunctionFast PyCFunctionFast + # define __Pyx_PyCFunctionFastWithKeywords PyCFunctionFastWithKeywords + #else + # define __Pyx_PyCFunctionFast _PyCFunctionFast + # define __Pyx_PyCFunctionFastWithKeywords _PyCFunctionFastWithKeywords + #endif +#endif +#if CYTHON_METH_FASTCALL + #define __Pyx_METH_FASTCALL METH_FASTCALL + #define __Pyx_PyCFunction_FastCall __Pyx_PyCFunctionFast + #define __Pyx_PyCFunction_FastCallWithKeywords __Pyx_PyCFunctionFastWithKeywords +#else + #define __Pyx_METH_FASTCALL METH_VARARGS + #define __Pyx_PyCFunction_FastCall PyCFunction + #define __Pyx_PyCFunction_FastCallWithKeywords PyCFunctionWithKeywords +#endif +#if CYTHON_VECTORCALL + #define __pyx_vectorcallfunc vectorcallfunc + #define __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET PY_VECTORCALL_ARGUMENTS_OFFSET + #define __Pyx_PyVectorcall_NARGS(n) PyVectorcall_NARGS((size_t)(n)) +#elif CYTHON_BACKPORT_VECTORCALL + typedef PyObject *(*__pyx_vectorcallfunc)(PyObject *callable, PyObject *const *args, + size_t nargsf, PyObject *kwnames); + #define __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET ((size_t)1 << (8 * sizeof(size_t) - 1)) + #define __Pyx_PyVectorcall_NARGS(n) ((Py_ssize_t)(((size_t)(n)) & ~__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET)) +#else + #define __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET 0 + #define __Pyx_PyVectorcall_NARGS(n) ((Py_ssize_t)(n)) +#endif +#if PY_MAJOR_VERSION >= 0x030900B1 +#define __Pyx_PyCFunction_CheckExact(func) PyCFunction_CheckExact(func) +#else +#define __Pyx_PyCFunction_CheckExact(func) PyCFunction_Check(func) +#endif +#define __Pyx_CyOrPyCFunction_Check(func) PyCFunction_Check(func) +#if CYTHON_COMPILING_IN_CPYTHON +#define __Pyx_CyOrPyCFunction_GET_FUNCTION(func) (((PyCFunctionObject*)(func))->m_ml->ml_meth) +#elif !CYTHON_COMPILING_IN_LIMITED_API +#define __Pyx_CyOrPyCFunction_GET_FUNCTION(func) PyCFunction_GET_FUNCTION(func) +#endif +#if CYTHON_COMPILING_IN_CPYTHON +#define __Pyx_CyOrPyCFunction_GET_FLAGS(func) (((PyCFunctionObject*)(func))->m_ml->ml_flags) +static CYTHON_INLINE PyObject* __Pyx_CyOrPyCFunction_GET_SELF(PyObject *func) { + return (__Pyx_CyOrPyCFunction_GET_FLAGS(func) & METH_STATIC) ? NULL : ((PyCFunctionObject*)func)->m_self; +} +#endif +static CYTHON_INLINE int __Pyx__IsSameCFunction(PyObject *func, void *cfunc) { +#if CYTHON_COMPILING_IN_LIMITED_API + return PyCFunction_Check(func) && PyCFunction_GetFunction(func) == (PyCFunction) cfunc; +#else + return PyCFunction_Check(func) && PyCFunction_GET_FUNCTION(func) == (PyCFunction) cfunc; +#endif +} +#define __Pyx_IsSameCFunction(func, cfunc) __Pyx__IsSameCFunction(func, cfunc) +#if __PYX_LIMITED_VERSION_HEX < 0x030900B1 + #define __Pyx_PyType_FromModuleAndSpec(m, s, b) ((void)m, PyType_FromSpecWithBases(s, b)) + typedef PyObject *(*__Pyx_PyCMethod)(PyObject *, PyTypeObject *, PyObject *const *, size_t, PyObject *); +#else + #define __Pyx_PyType_FromModuleAndSpec(m, s, b) PyType_FromModuleAndSpec(m, s, b) + #define __Pyx_PyCMethod PyCMethod +#endif +#ifndef METH_METHOD + #define METH_METHOD 0x200 +#endif +#if CYTHON_COMPILING_IN_PYPY && !defined(PyObject_Malloc) + #define PyObject_Malloc(s) PyMem_Malloc(s) + #define PyObject_Free(p) PyMem_Free(p) + #define PyObject_Realloc(p) PyMem_Realloc(p) +#endif +#if CYTHON_COMPILING_IN_LIMITED_API + #define __Pyx_PyCode_HasFreeVars(co) (PyCode_GetNumFree(co) > 0) + #define __Pyx_PyFrame_SetLineNumber(frame, lineno) +#else + #define __Pyx_PyCode_HasFreeVars(co) (PyCode_GetNumFree(co) > 0) + #define __Pyx_PyFrame_SetLineNumber(frame, lineno) (frame)->f_lineno = (lineno) +#endif +#if CYTHON_COMPILING_IN_LIMITED_API + #define __Pyx_PyThreadState_Current PyThreadState_Get() +#elif !CYTHON_FAST_THREAD_STATE + #define __Pyx_PyThreadState_Current PyThreadState_GET() +#elif PY_VERSION_HEX >= 0x030d00A1 + #define __Pyx_PyThreadState_Current PyThreadState_GetUnchecked() +#elif PY_VERSION_HEX >= 0x03060000 + #define __Pyx_PyThreadState_Current _PyThreadState_UncheckedGet() +#elif PY_VERSION_HEX >= 0x03000000 + #define __Pyx_PyThreadState_Current PyThreadState_GET() +#else + #define __Pyx_PyThreadState_Current _PyThreadState_Current +#endif +#if CYTHON_COMPILING_IN_LIMITED_API +static CYTHON_INLINE void *__Pyx_PyModule_GetState(PyObject *op) +{ + void *result; + result = PyModule_GetState(op); + if (!result) + Py_FatalError("Couldn't find the module state"); + return result; +} +#endif +#define __Pyx_PyObject_GetSlot(obj, name, func_ctype) __Pyx_PyType_GetSlot(Py_TYPE(obj), name, func_ctype) +#if CYTHON_COMPILING_IN_LIMITED_API + #define __Pyx_PyType_GetSlot(type, name, func_ctype) ((func_ctype) PyType_GetSlot((type), Py_##name)) +#else + #define __Pyx_PyType_GetSlot(type, name, func_ctype) ((type)->name) +#endif +#if PY_VERSION_HEX < 0x030700A2 && !defined(PyThread_tss_create) && !defined(Py_tss_NEEDS_INIT) +#include "pythread.h" +#define Py_tss_NEEDS_INIT 0 +typedef int Py_tss_t; +static CYTHON_INLINE int PyThread_tss_create(Py_tss_t *key) { + *key = PyThread_create_key(); + return 0; +} +static CYTHON_INLINE Py_tss_t * PyThread_tss_alloc(void) { + Py_tss_t *key = (Py_tss_t *)PyObject_Malloc(sizeof(Py_tss_t)); + *key = Py_tss_NEEDS_INIT; + return key; +} +static CYTHON_INLINE void PyThread_tss_free(Py_tss_t *key) { + PyObject_Free(key); +} +static CYTHON_INLINE int PyThread_tss_is_created(Py_tss_t *key) { + return *key != Py_tss_NEEDS_INIT; +} +static CYTHON_INLINE void PyThread_tss_delete(Py_tss_t *key) { + PyThread_delete_key(*key); + *key = Py_tss_NEEDS_INIT; +} +static CYTHON_INLINE int PyThread_tss_set(Py_tss_t *key, void *value) { + return PyThread_set_key_value(*key, value); +} +static CYTHON_INLINE void * PyThread_tss_get(Py_tss_t *key) { + return PyThread_get_key_value(*key); +} +#endif +#if PY_MAJOR_VERSION < 3 + #if CYTHON_COMPILING_IN_PYPY + #if PYPY_VERSION_NUM < 0x07030600 + #if defined(__cplusplus) && __cplusplus >= 201402L + [[deprecated("`with nogil:` inside a nogil function will not release the GIL in PyPy2 < 7.3.6")]] + #elif defined(__GNUC__) || defined(__clang__) + __attribute__ ((__deprecated__("`with nogil:` inside a nogil function will not release the GIL in PyPy2 < 7.3.6"))) + #elif defined(_MSC_VER) + __declspec(deprecated("`with nogil:` inside a nogil function will not release the GIL in PyPy2 < 7.3.6")) + #endif + static CYTHON_INLINE int PyGILState_Check(void) { + return 0; + } + #else // PYPY_VERSION_NUM < 0x07030600 + #endif // PYPY_VERSION_NUM < 0x07030600 + #else + static CYTHON_INLINE int PyGILState_Check(void) { + PyThreadState * tstate = _PyThreadState_Current; + return tstate && (tstate == PyGILState_GetThisThreadState()); + } + #endif +#endif +#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x030d0000 || defined(_PyDict_NewPresized) +#define __Pyx_PyDict_NewPresized(n) ((n <= 8) ? PyDict_New() : _PyDict_NewPresized(n)) +#else +#define __Pyx_PyDict_NewPresized(n) PyDict_New() +#endif +#if PY_MAJOR_VERSION >= 3 || CYTHON_FUTURE_DIVISION + #define __Pyx_PyNumber_Divide(x,y) PyNumber_TrueDivide(x,y) + #define __Pyx_PyNumber_InPlaceDivide(x,y) PyNumber_InPlaceTrueDivide(x,y) +#else + #define __Pyx_PyNumber_Divide(x,y) PyNumber_Divide(x,y) + #define __Pyx_PyNumber_InPlaceDivide(x,y) PyNumber_InPlaceDivide(x,y) +#endif +#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX > 0x030600B4 && PY_VERSION_HEX < 0x030d0000 && CYTHON_USE_UNICODE_INTERNALS +#define __Pyx_PyDict_GetItemStrWithError(dict, name) _PyDict_GetItem_KnownHash(dict, name, ((PyASCIIObject *) name)->hash) +static CYTHON_INLINE PyObject * __Pyx_PyDict_GetItemStr(PyObject *dict, PyObject *name) { + PyObject *res = __Pyx_PyDict_GetItemStrWithError(dict, name); + if (res == NULL) PyErr_Clear(); + return res; +} +#elif PY_MAJOR_VERSION >= 3 && (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07020000) +#define __Pyx_PyDict_GetItemStrWithError PyDict_GetItemWithError +#define __Pyx_PyDict_GetItemStr PyDict_GetItem +#else +static CYTHON_INLINE PyObject * __Pyx_PyDict_GetItemStrWithError(PyObject *dict, PyObject *name) { +#if CYTHON_COMPILING_IN_PYPY + return PyDict_GetItem(dict, name); +#else + PyDictEntry *ep; + PyDictObject *mp = (PyDictObject*) dict; + long hash = ((PyStringObject *) name)->ob_shash; + assert(hash != -1); + ep = (mp->ma_lookup)(mp, name, hash); + if (ep == NULL) { + return NULL; + } + return ep->me_value; +#endif +} +#define __Pyx_PyDict_GetItemStr PyDict_GetItem +#endif +#if CYTHON_USE_TYPE_SLOTS + #define __Pyx_PyType_GetFlags(tp) (((PyTypeObject *)tp)->tp_flags) + #define __Pyx_PyType_HasFeature(type, feature) ((__Pyx_PyType_GetFlags(type) & (feature)) != 0) + #define __Pyx_PyObject_GetIterNextFunc(obj) (Py_TYPE(obj)->tp_iternext) +#else + #define __Pyx_PyType_GetFlags(tp) (PyType_GetFlags((PyTypeObject *)tp)) + #define __Pyx_PyType_HasFeature(type, feature) PyType_HasFeature(type, feature) + #define __Pyx_PyObject_GetIterNextFunc(obj) PyIter_Next +#endif +#if CYTHON_COMPILING_IN_LIMITED_API + #define __Pyx_SetItemOnTypeDict(tp, k, v) PyObject_GenericSetAttr((PyObject*)tp, k, v) +#else + #define __Pyx_SetItemOnTypeDict(tp, k, v) PyDict_SetItem(tp->tp_dict, k, v) +#endif +#if CYTHON_USE_TYPE_SPECS && PY_VERSION_HEX >= 0x03080000 +#define __Pyx_PyHeapTypeObject_GC_Del(obj) {\ + PyTypeObject *type = Py_TYPE((PyObject*)obj);\ + assert(__Pyx_PyType_HasFeature(type, Py_TPFLAGS_HEAPTYPE));\ + PyObject_GC_Del(obj);\ + Py_DECREF(type);\ +} +#else +#define __Pyx_PyHeapTypeObject_GC_Del(obj) PyObject_GC_Del(obj) +#endif +#if CYTHON_COMPILING_IN_LIMITED_API + #define CYTHON_PEP393_ENABLED 1 + #define __Pyx_PyUnicode_READY(op) (0) + #define __Pyx_PyUnicode_GET_LENGTH(u) PyUnicode_GetLength(u) + #define __Pyx_PyUnicode_READ_CHAR(u, i) PyUnicode_ReadChar(u, i) + #define __Pyx_PyUnicode_MAX_CHAR_VALUE(u) ((void)u, 1114111U) + #define __Pyx_PyUnicode_KIND(u) ((void)u, (0)) + #define __Pyx_PyUnicode_DATA(u) ((void*)u) + #define __Pyx_PyUnicode_READ(k, d, i) ((void)k, PyUnicode_ReadChar((PyObject*)(d), i)) + #define __Pyx_PyUnicode_IS_TRUE(u) (0 != PyUnicode_GetLength(u)) +#elif PY_VERSION_HEX > 0x03030000 && defined(PyUnicode_KIND) + #define CYTHON_PEP393_ENABLED 1 + #if PY_VERSION_HEX >= 0x030C0000 + #define __Pyx_PyUnicode_READY(op) (0) + #else + #define __Pyx_PyUnicode_READY(op) (likely(PyUnicode_IS_READY(op)) ?\ + 0 : _PyUnicode_Ready((PyObject *)(op))) + #endif + #define __Pyx_PyUnicode_GET_LENGTH(u) PyUnicode_GET_LENGTH(u) + #define __Pyx_PyUnicode_READ_CHAR(u, i) PyUnicode_READ_CHAR(u, i) + #define __Pyx_PyUnicode_MAX_CHAR_VALUE(u) PyUnicode_MAX_CHAR_VALUE(u) + #define __Pyx_PyUnicode_KIND(u) ((int)PyUnicode_KIND(u)) + #define __Pyx_PyUnicode_DATA(u) PyUnicode_DATA(u) + #define __Pyx_PyUnicode_READ(k, d, i) PyUnicode_READ(k, d, i) + #define __Pyx_PyUnicode_WRITE(k, d, i, ch) PyUnicode_WRITE(k, d, i, (Py_UCS4) ch) + #if PY_VERSION_HEX >= 0x030C0000 + #define __Pyx_PyUnicode_IS_TRUE(u) (0 != PyUnicode_GET_LENGTH(u)) + #else + #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x03090000 + #define __Pyx_PyUnicode_IS_TRUE(u) (0 != (likely(PyUnicode_IS_READY(u)) ? PyUnicode_GET_LENGTH(u) : ((PyCompactUnicodeObject *)(u))->wstr_length)) + #else + #define __Pyx_PyUnicode_IS_TRUE(u) (0 != (likely(PyUnicode_IS_READY(u)) ? PyUnicode_GET_LENGTH(u) : PyUnicode_GET_SIZE(u))) + #endif + #endif +#else + #define CYTHON_PEP393_ENABLED 0 + #define PyUnicode_1BYTE_KIND 1 + #define PyUnicode_2BYTE_KIND 2 + #define PyUnicode_4BYTE_KIND 4 + #define __Pyx_PyUnicode_READY(op) (0) + #define __Pyx_PyUnicode_GET_LENGTH(u) PyUnicode_GET_SIZE(u) + #define __Pyx_PyUnicode_READ_CHAR(u, i) ((Py_UCS4)(PyUnicode_AS_UNICODE(u)[i])) + #define __Pyx_PyUnicode_MAX_CHAR_VALUE(u) ((sizeof(Py_UNICODE) == 2) ? 65535U : 1114111U) + #define __Pyx_PyUnicode_KIND(u) ((int)sizeof(Py_UNICODE)) + #define __Pyx_PyUnicode_DATA(u) ((void*)PyUnicode_AS_UNICODE(u)) + #define __Pyx_PyUnicode_READ(k, d, i) ((void)(k), (Py_UCS4)(((Py_UNICODE*)d)[i])) + #define __Pyx_PyUnicode_WRITE(k, d, i, ch) (((void)(k)), ((Py_UNICODE*)d)[i] = (Py_UNICODE) ch) + #define __Pyx_PyUnicode_IS_TRUE(u) (0 != PyUnicode_GET_SIZE(u)) +#endif +#if CYTHON_COMPILING_IN_PYPY + #define __Pyx_PyUnicode_Concat(a, b) PyNumber_Add(a, b) + #define __Pyx_PyUnicode_ConcatSafe(a, b) PyNumber_Add(a, b) +#else + #define __Pyx_PyUnicode_Concat(a, b) PyUnicode_Concat(a, b) + #define __Pyx_PyUnicode_ConcatSafe(a, b) ((unlikely((a) == Py_None) || unlikely((b) == Py_None)) ?\ + PyNumber_Add(a, b) : __Pyx_PyUnicode_Concat(a, b)) +#endif +#if CYTHON_COMPILING_IN_PYPY + #if !defined(PyUnicode_DecodeUnicodeEscape) + #define PyUnicode_DecodeUnicodeEscape(s, size, errors) PyUnicode_Decode(s, size, "unicode_escape", errors) + #endif + #if !defined(PyUnicode_Contains) || (PY_MAJOR_VERSION == 2 && PYPY_VERSION_NUM < 0x07030500) + #undef PyUnicode_Contains + #define PyUnicode_Contains(u, s) PySequence_Contains(u, s) + #endif + #if !defined(PyByteArray_Check) + #define PyByteArray_Check(obj) PyObject_TypeCheck(obj, &PyByteArray_Type) + #endif + #if !defined(PyObject_Format) + #define PyObject_Format(obj, fmt) PyObject_CallMethod(obj, "__format__", "O", fmt) + #endif +#endif +#define __Pyx_PyString_FormatSafe(a, b) ((unlikely((a) == Py_None || (PyString_Check(b) && !PyString_CheckExact(b)))) ? PyNumber_Remainder(a, b) : __Pyx_PyString_Format(a, b)) +#define __Pyx_PyUnicode_FormatSafe(a, b) ((unlikely((a) == Py_None || (PyUnicode_Check(b) && !PyUnicode_CheckExact(b)))) ? PyNumber_Remainder(a, b) : PyUnicode_Format(a, b)) +#if PY_MAJOR_VERSION >= 3 + #define __Pyx_PyString_Format(a, b) PyUnicode_Format(a, b) +#else + #define __Pyx_PyString_Format(a, b) PyString_Format(a, b) +#endif +#if PY_MAJOR_VERSION < 3 && !defined(PyObject_ASCII) + #define PyObject_ASCII(o) PyObject_Repr(o) +#endif +#if PY_MAJOR_VERSION >= 3 + #define PyBaseString_Type PyUnicode_Type + #define PyStringObject PyUnicodeObject + #define PyString_Type PyUnicode_Type + #define PyString_Check PyUnicode_Check + #define PyString_CheckExact PyUnicode_CheckExact +#ifndef PyObject_Unicode + #define PyObject_Unicode PyObject_Str +#endif +#endif +#if PY_MAJOR_VERSION >= 3 + #define __Pyx_PyBaseString_Check(obj) PyUnicode_Check(obj) + #define __Pyx_PyBaseString_CheckExact(obj) PyUnicode_CheckExact(obj) +#else + #define __Pyx_PyBaseString_Check(obj) (PyString_Check(obj) || PyUnicode_Check(obj)) + #define __Pyx_PyBaseString_CheckExact(obj) (PyString_CheckExact(obj) || PyUnicode_CheckExact(obj)) +#endif +#if CYTHON_COMPILING_IN_CPYTHON + #define __Pyx_PySequence_ListKeepNew(obj)\ + (likely(PyList_CheckExact(obj) && Py_REFCNT(obj) == 1) ? __Pyx_NewRef(obj) : PySequence_List(obj)) +#else + #define __Pyx_PySequence_ListKeepNew(obj) PySequence_List(obj) +#endif +#ifndef PySet_CheckExact + #define PySet_CheckExact(obj) __Pyx_IS_TYPE(obj, &PySet_Type) +#endif +#if PY_VERSION_HEX >= 0x030900A4 + #define __Pyx_SET_REFCNT(obj, refcnt) Py_SET_REFCNT(obj, refcnt) + #define __Pyx_SET_SIZE(obj, size) Py_SET_SIZE(obj, size) +#else + #define __Pyx_SET_REFCNT(obj, refcnt) Py_REFCNT(obj) = (refcnt) + #define __Pyx_SET_SIZE(obj, size) Py_SIZE(obj) = (size) +#endif +#if CYTHON_ASSUME_SAFE_MACROS + #define __Pyx_PySequence_ITEM(o, i) PySequence_ITEM(o, i) + #define __Pyx_PySequence_SIZE(seq) Py_SIZE(seq) + #define __Pyx_PyTuple_SET_ITEM(o, i, v) (PyTuple_SET_ITEM(o, i, v), (0)) + #define __Pyx_PyList_SET_ITEM(o, i, v) (PyList_SET_ITEM(o, i, v), (0)) + #define __Pyx_PyTuple_GET_SIZE(o) PyTuple_GET_SIZE(o) + #define __Pyx_PyList_GET_SIZE(o) PyList_GET_SIZE(o) + #define __Pyx_PySet_GET_SIZE(o) PySet_GET_SIZE(o) + #define __Pyx_PyBytes_GET_SIZE(o) PyBytes_GET_SIZE(o) + #define __Pyx_PyByteArray_GET_SIZE(o) PyByteArray_GET_SIZE(o) +#else + #define __Pyx_PySequence_ITEM(o, i) PySequence_GetItem(o, i) + #define __Pyx_PySequence_SIZE(seq) PySequence_Size(seq) + #define __Pyx_PyTuple_SET_ITEM(o, i, v) PyTuple_SetItem(o, i, v) + #define __Pyx_PyList_SET_ITEM(o, i, v) PyList_SetItem(o, i, v) + #define __Pyx_PyTuple_GET_SIZE(o) PyTuple_Size(o) + #define __Pyx_PyList_GET_SIZE(o) PyList_Size(o) + #define __Pyx_PySet_GET_SIZE(o) PySet_Size(o) + #define __Pyx_PyBytes_GET_SIZE(o) PyBytes_Size(o) + #define __Pyx_PyByteArray_GET_SIZE(o) PyByteArray_Size(o) +#endif +#if __PYX_LIMITED_VERSION_HEX >= 0x030d00A1 + #define __Pyx_PyImport_AddModuleRef(name) PyImport_AddModuleRef(name) +#else + static CYTHON_INLINE PyObject *__Pyx_PyImport_AddModuleRef(const char *name) { + PyObject *module = PyImport_AddModule(name); + Py_XINCREF(module); + return module; + } +#endif +#if PY_MAJOR_VERSION >= 3 + #define PyIntObject PyLongObject + #define PyInt_Type PyLong_Type + #define PyInt_Check(op) PyLong_Check(op) + #define PyInt_CheckExact(op) PyLong_CheckExact(op) + #define __Pyx_Py3Int_Check(op) PyLong_Check(op) + #define __Pyx_Py3Int_CheckExact(op) PyLong_CheckExact(op) + #define PyInt_FromString PyLong_FromString + #define PyInt_FromUnicode PyLong_FromUnicode + #define PyInt_FromLong PyLong_FromLong + #define PyInt_FromSize_t PyLong_FromSize_t + #define PyInt_FromSsize_t PyLong_FromSsize_t + #define PyInt_AsLong PyLong_AsLong + #define PyInt_AS_LONG PyLong_AS_LONG + #define PyInt_AsSsize_t PyLong_AsSsize_t + #define PyInt_AsUnsignedLongMask PyLong_AsUnsignedLongMask + #define PyInt_AsUnsignedLongLongMask PyLong_AsUnsignedLongLongMask + #define PyNumber_Int PyNumber_Long +#else + #define __Pyx_Py3Int_Check(op) (PyLong_Check(op) || PyInt_Check(op)) + #define __Pyx_Py3Int_CheckExact(op) (PyLong_CheckExact(op) || PyInt_CheckExact(op)) +#endif +#if PY_MAJOR_VERSION >= 3 + #define PyBoolObject PyLongObject +#endif +#if PY_MAJOR_VERSION >= 3 && CYTHON_COMPILING_IN_PYPY + #ifndef PyUnicode_InternFromString + #define PyUnicode_InternFromString(s) PyUnicode_FromString(s) + #endif +#endif +#if PY_VERSION_HEX < 0x030200A4 + typedef long Py_hash_t; + #define __Pyx_PyInt_FromHash_t PyInt_FromLong + #define __Pyx_PyInt_AsHash_t __Pyx_PyIndex_AsHash_t +#else + #define __Pyx_PyInt_FromHash_t PyInt_FromSsize_t + #define __Pyx_PyInt_AsHash_t __Pyx_PyIndex_AsSsize_t +#endif +#if CYTHON_USE_ASYNC_SLOTS + #if PY_VERSION_HEX >= 0x030500B1 + #define __Pyx_PyAsyncMethodsStruct PyAsyncMethods + #define __Pyx_PyType_AsAsync(obj) (Py_TYPE(obj)->tp_as_async) + #else + #define __Pyx_PyType_AsAsync(obj) ((__Pyx_PyAsyncMethodsStruct*) (Py_TYPE(obj)->tp_reserved)) + #endif +#else + #define __Pyx_PyType_AsAsync(obj) NULL +#endif +#ifndef __Pyx_PyAsyncMethodsStruct + typedef struct { + unaryfunc am_await; + unaryfunc am_aiter; + unaryfunc am_anext; + } __Pyx_PyAsyncMethodsStruct; +#endif + +#if defined(_WIN32) || defined(WIN32) || defined(MS_WINDOWS) + #if !defined(_USE_MATH_DEFINES) + #define _USE_MATH_DEFINES + #endif +#endif +#include +#ifdef NAN +#define __PYX_NAN() ((float) NAN) +#else +static CYTHON_INLINE float __PYX_NAN() { + float value; + memset(&value, 0xFF, sizeof(value)); + return value; +} +#endif +#if defined(__CYGWIN__) && defined(_LDBL_EQ_DBL) +#define __Pyx_truncl trunc +#else +#define __Pyx_truncl truncl +#endif + +#define __PYX_MARK_ERR_POS(f_index, lineno) \ + { __pyx_filename = __pyx_f[f_index]; (void)__pyx_filename; __pyx_lineno = lineno; (void)__pyx_lineno; __pyx_clineno = __LINE__; (void)__pyx_clineno; } +#define __PYX_ERR(f_index, lineno, Ln_error) \ + { __PYX_MARK_ERR_POS(f_index, lineno) goto Ln_error; } + +#ifdef CYTHON_EXTERN_C + #undef __PYX_EXTERN_C + #define __PYX_EXTERN_C CYTHON_EXTERN_C +#elif defined(__PYX_EXTERN_C) + #ifdef _MSC_VER + #pragma message ("Please do not define the '__PYX_EXTERN_C' macro externally. Use 'CYTHON_EXTERN_C' instead.") + #else + #warning Please do not define the '__PYX_EXTERN_C' macro externally. Use 'CYTHON_EXTERN_C' instead. + #endif +#else + #ifdef __cplusplus + #define __PYX_EXTERN_C extern "C" + #else + #define __PYX_EXTERN_C extern + #endif +#endif + +#define __PYX_HAVE__anomaly_detector__univariate___anomaly_kernel_cython +#define __PYX_HAVE_API__anomaly_detector__univariate___anomaly_kernel_cython +/* Early includes */ +#include +#include +#include + + /* Using NumPy API declarations from "numpy/__init__.cython-30.pxd" */ + +#include "numpy/arrayobject.h" +#include "numpy/ndarrayobject.h" +#include "numpy/ndarraytypes.h" +#include "numpy/arrayscalars.h" +#include "numpy/ufuncobject.h" +#include +#include "pythread.h" +#ifdef _OPENMP +#include +#endif /* _OPENMP */ + +#if defined(PYREX_WITHOUT_ASSERTIONS) && !defined(CYTHON_WITHOUT_ASSERTIONS) +#define CYTHON_WITHOUT_ASSERTIONS +#endif + +typedef struct {PyObject **p; const char *s; const Py_ssize_t n; const char* encoding; + const char is_unicode; const char is_str; const char intern; } __Pyx_StringTabEntry; + +#define __PYX_DEFAULT_STRING_ENCODING_IS_ASCII 0 +#define __PYX_DEFAULT_STRING_ENCODING_IS_UTF8 0 +#define __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT (PY_MAJOR_VERSION >= 3 && __PYX_DEFAULT_STRING_ENCODING_IS_UTF8) +#define __PYX_DEFAULT_STRING_ENCODING "" +#define __Pyx_PyObject_FromString __Pyx_PyBytes_FromString +#define __Pyx_PyObject_FromStringAndSize __Pyx_PyBytes_FromStringAndSize +#define __Pyx_uchar_cast(c) ((unsigned char)c) +#define __Pyx_long_cast(x) ((long)x) +#define __Pyx_fits_Py_ssize_t(v, type, is_signed) (\ + (sizeof(type) < sizeof(Py_ssize_t)) ||\ + (sizeof(type) > sizeof(Py_ssize_t) &&\ + likely(v < (type)PY_SSIZE_T_MAX ||\ + v == (type)PY_SSIZE_T_MAX) &&\ + (!is_signed || likely(v > (type)PY_SSIZE_T_MIN ||\ + v == (type)PY_SSIZE_T_MIN))) ||\ + (sizeof(type) == sizeof(Py_ssize_t) &&\ + (is_signed || likely(v < (type)PY_SSIZE_T_MAX ||\ + v == (type)PY_SSIZE_T_MAX))) ) +static CYTHON_INLINE int __Pyx_is_valid_index(Py_ssize_t i, Py_ssize_t limit) { + return (size_t) i < (size_t) limit; +} +#if defined (__cplusplus) && __cplusplus >= 201103L + #include + #define __Pyx_sst_abs(value) std::abs(value) +#elif SIZEOF_INT >= SIZEOF_SIZE_T + #define __Pyx_sst_abs(value) abs(value) +#elif SIZEOF_LONG >= SIZEOF_SIZE_T + #define __Pyx_sst_abs(value) labs(value) +#elif defined (_MSC_VER) + #define __Pyx_sst_abs(value) ((Py_ssize_t)_abs64(value)) +#elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L + #define __Pyx_sst_abs(value) llabs(value) +#elif defined (__GNUC__) + #define __Pyx_sst_abs(value) __builtin_llabs(value) +#else + #define __Pyx_sst_abs(value) ((value<0) ? -value : value) +#endif +static CYTHON_INLINE Py_ssize_t __Pyx_ssize_strlen(const char *s); +static CYTHON_INLINE const char* __Pyx_PyObject_AsString(PyObject*); +static CYTHON_INLINE const char* __Pyx_PyObject_AsStringAndSize(PyObject*, Py_ssize_t* length); +static CYTHON_INLINE PyObject* __Pyx_PyByteArray_FromString(const char*); +#define __Pyx_PyByteArray_FromStringAndSize(s, l) PyByteArray_FromStringAndSize((const char*)s, l) +#define __Pyx_PyBytes_FromString PyBytes_FromString +#define __Pyx_PyBytes_FromStringAndSize PyBytes_FromStringAndSize +static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char*); +#if PY_MAJOR_VERSION < 3 + #define __Pyx_PyStr_FromString __Pyx_PyBytes_FromString + #define __Pyx_PyStr_FromStringAndSize __Pyx_PyBytes_FromStringAndSize +#else + #define __Pyx_PyStr_FromString __Pyx_PyUnicode_FromString + #define __Pyx_PyStr_FromStringAndSize __Pyx_PyUnicode_FromStringAndSize +#endif +#define __Pyx_PyBytes_AsWritableString(s) ((char*) PyBytes_AS_STRING(s)) +#define __Pyx_PyBytes_AsWritableSString(s) ((signed char*) PyBytes_AS_STRING(s)) +#define __Pyx_PyBytes_AsWritableUString(s) ((unsigned char*) PyBytes_AS_STRING(s)) +#define __Pyx_PyBytes_AsString(s) ((const char*) PyBytes_AS_STRING(s)) +#define __Pyx_PyBytes_AsSString(s) ((const signed char*) PyBytes_AS_STRING(s)) +#define __Pyx_PyBytes_AsUString(s) ((const unsigned char*) PyBytes_AS_STRING(s)) +#define __Pyx_PyObject_AsWritableString(s) ((char*)(__pyx_uintptr_t) __Pyx_PyObject_AsString(s)) +#define __Pyx_PyObject_AsWritableSString(s) ((signed char*)(__pyx_uintptr_t) __Pyx_PyObject_AsString(s)) +#define __Pyx_PyObject_AsWritableUString(s) ((unsigned char*)(__pyx_uintptr_t) __Pyx_PyObject_AsString(s)) +#define __Pyx_PyObject_AsSString(s) ((const signed char*) __Pyx_PyObject_AsString(s)) +#define __Pyx_PyObject_AsUString(s) ((const unsigned char*) __Pyx_PyObject_AsString(s)) +#define __Pyx_PyObject_FromCString(s) __Pyx_PyObject_FromString((const char*)s) +#define __Pyx_PyBytes_FromCString(s) __Pyx_PyBytes_FromString((const char*)s) +#define __Pyx_PyByteArray_FromCString(s) __Pyx_PyByteArray_FromString((const char*)s) +#define __Pyx_PyStr_FromCString(s) __Pyx_PyStr_FromString((const char*)s) +#define __Pyx_PyUnicode_FromCString(s) __Pyx_PyUnicode_FromString((const char*)s) +#define __Pyx_PyUnicode_FromOrdinal(o) PyUnicode_FromOrdinal((int)o) +#define __Pyx_PyUnicode_AsUnicode PyUnicode_AsUnicode +#define __Pyx_NewRef(obj) (Py_INCREF(obj), obj) +#define __Pyx_Owned_Py_None(b) __Pyx_NewRef(Py_None) +static CYTHON_INLINE PyObject * __Pyx_PyBool_FromLong(long b); +static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject*); +static CYTHON_INLINE int __Pyx_PyObject_IsTrueAndDecref(PyObject*); +static CYTHON_INLINE PyObject* __Pyx_PyNumber_IntOrLong(PyObject* x); +#define __Pyx_PySequence_Tuple(obj)\ + (likely(PyTuple_CheckExact(obj)) ? __Pyx_NewRef(obj) : PySequence_Tuple(obj)) +static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject*); +static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t); +static CYTHON_INLINE Py_hash_t __Pyx_PyIndex_AsHash_t(PyObject*); +#if CYTHON_ASSUME_SAFE_MACROS +#define __pyx_PyFloat_AsDouble(x) (PyFloat_CheckExact(x) ? PyFloat_AS_DOUBLE(x) : PyFloat_AsDouble(x)) +#else +#define __pyx_PyFloat_AsDouble(x) PyFloat_AsDouble(x) +#endif +#define __pyx_PyFloat_AsFloat(x) ((float) __pyx_PyFloat_AsDouble(x)) +#if PY_MAJOR_VERSION >= 3 +#define __Pyx_PyNumber_Int(x) (PyLong_CheckExact(x) ? __Pyx_NewRef(x) : PyNumber_Long(x)) +#else +#define __Pyx_PyNumber_Int(x) (PyInt_CheckExact(x) ? __Pyx_NewRef(x) : PyNumber_Int(x)) +#endif +#if CYTHON_USE_PYLONG_INTERNALS + #if PY_VERSION_HEX >= 0x030C00A7 + #ifndef _PyLong_SIGN_MASK + #define _PyLong_SIGN_MASK 3 + #endif + #ifndef _PyLong_NON_SIZE_BITS + #define _PyLong_NON_SIZE_BITS 3 + #endif + #define __Pyx_PyLong_Sign(x) (((PyLongObject*)x)->long_value.lv_tag & _PyLong_SIGN_MASK) + #define __Pyx_PyLong_IsNeg(x) ((__Pyx_PyLong_Sign(x) & 2) != 0) + #define __Pyx_PyLong_IsNonNeg(x) (!__Pyx_PyLong_IsNeg(x)) + #define __Pyx_PyLong_IsZero(x) (__Pyx_PyLong_Sign(x) & 1) + #define __Pyx_PyLong_IsPos(x) (__Pyx_PyLong_Sign(x) == 0) + #define __Pyx_PyLong_CompactValueUnsigned(x) (__Pyx_PyLong_Digits(x)[0]) + #define __Pyx_PyLong_DigitCount(x) ((Py_ssize_t) (((PyLongObject*)x)->long_value.lv_tag >> _PyLong_NON_SIZE_BITS)) + #define __Pyx_PyLong_SignedDigitCount(x)\ + ((1 - (Py_ssize_t) __Pyx_PyLong_Sign(x)) * __Pyx_PyLong_DigitCount(x)) + #if defined(PyUnstable_Long_IsCompact) && defined(PyUnstable_Long_CompactValue) + #define __Pyx_PyLong_IsCompact(x) PyUnstable_Long_IsCompact((PyLongObject*) x) + #define __Pyx_PyLong_CompactValue(x) PyUnstable_Long_CompactValue((PyLongObject*) x) + #else + #define __Pyx_PyLong_IsCompact(x) (((PyLongObject*)x)->long_value.lv_tag < (2 << _PyLong_NON_SIZE_BITS)) + #define __Pyx_PyLong_CompactValue(x) ((1 - (Py_ssize_t) __Pyx_PyLong_Sign(x)) * (Py_ssize_t) __Pyx_PyLong_Digits(x)[0]) + #endif + typedef Py_ssize_t __Pyx_compact_pylong; + typedef size_t __Pyx_compact_upylong; + #else + #define __Pyx_PyLong_IsNeg(x) (Py_SIZE(x) < 0) + #define __Pyx_PyLong_IsNonNeg(x) (Py_SIZE(x) >= 0) + #define __Pyx_PyLong_IsZero(x) (Py_SIZE(x) == 0) + #define __Pyx_PyLong_IsPos(x) (Py_SIZE(x) > 0) + #define __Pyx_PyLong_CompactValueUnsigned(x) ((Py_SIZE(x) == 0) ? 0 : __Pyx_PyLong_Digits(x)[0]) + #define __Pyx_PyLong_DigitCount(x) __Pyx_sst_abs(Py_SIZE(x)) + #define __Pyx_PyLong_SignedDigitCount(x) Py_SIZE(x) + #define __Pyx_PyLong_IsCompact(x) (Py_SIZE(x) == 0 || Py_SIZE(x) == 1 || Py_SIZE(x) == -1) + #define __Pyx_PyLong_CompactValue(x)\ + ((Py_SIZE(x) == 0) ? (sdigit) 0 : ((Py_SIZE(x) < 0) ? -(sdigit)__Pyx_PyLong_Digits(x)[0] : (sdigit)__Pyx_PyLong_Digits(x)[0])) + typedef sdigit __Pyx_compact_pylong; + typedef digit __Pyx_compact_upylong; + #endif + #if PY_VERSION_HEX >= 0x030C00A5 + #define __Pyx_PyLong_Digits(x) (((PyLongObject*)x)->long_value.ob_digit) + #else + #define __Pyx_PyLong_Digits(x) (((PyLongObject*)x)->ob_digit) + #endif +#endif +#if PY_MAJOR_VERSION < 3 && __PYX_DEFAULT_STRING_ENCODING_IS_ASCII +#include +static int __Pyx_sys_getdefaultencoding_not_ascii; +static int __Pyx_init_sys_getdefaultencoding_params(void) { + PyObject* sys; + PyObject* default_encoding = NULL; + PyObject* ascii_chars_u = NULL; + PyObject* ascii_chars_b = NULL; + const char* default_encoding_c; + sys = PyImport_ImportModule("sys"); + if (!sys) goto bad; + default_encoding = PyObject_CallMethod(sys, (char*) "getdefaultencoding", NULL); + Py_DECREF(sys); + if (!default_encoding) goto bad; + default_encoding_c = PyBytes_AsString(default_encoding); + if (!default_encoding_c) goto bad; + if (strcmp(default_encoding_c, "ascii") == 0) { + __Pyx_sys_getdefaultencoding_not_ascii = 0; + } else { + char ascii_chars[128]; + int c; + for (c = 0; c < 128; c++) { + ascii_chars[c] = (char) c; + } + __Pyx_sys_getdefaultencoding_not_ascii = 1; + ascii_chars_u = PyUnicode_DecodeASCII(ascii_chars, 128, NULL); + if (!ascii_chars_u) goto bad; + ascii_chars_b = PyUnicode_AsEncodedString(ascii_chars_u, default_encoding_c, NULL); + if (!ascii_chars_b || !PyBytes_Check(ascii_chars_b) || memcmp(ascii_chars, PyBytes_AS_STRING(ascii_chars_b), 128) != 0) { + PyErr_Format( + PyExc_ValueError, + "This module compiled with c_string_encoding=ascii, but default encoding '%.200s' is not a superset of ascii.", + default_encoding_c); + goto bad; + } + Py_DECREF(ascii_chars_u); + Py_DECREF(ascii_chars_b); + } + Py_DECREF(default_encoding); + return 0; +bad: + Py_XDECREF(default_encoding); + Py_XDECREF(ascii_chars_u); + Py_XDECREF(ascii_chars_b); + return -1; +} +#endif +#if __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT && PY_MAJOR_VERSION >= 3 +#define __Pyx_PyUnicode_FromStringAndSize(c_str, size) PyUnicode_DecodeUTF8(c_str, size, NULL) +#else +#define __Pyx_PyUnicode_FromStringAndSize(c_str, size) PyUnicode_Decode(c_str, size, __PYX_DEFAULT_STRING_ENCODING, NULL) +#if __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT +#include +static char* __PYX_DEFAULT_STRING_ENCODING; +static int __Pyx_init_sys_getdefaultencoding_params(void) { + PyObject* sys; + PyObject* default_encoding = NULL; + char* default_encoding_c; + sys = PyImport_ImportModule("sys"); + if (!sys) goto bad; + default_encoding = PyObject_CallMethod(sys, (char*) (const char*) "getdefaultencoding", NULL); + Py_DECREF(sys); + if (!default_encoding) goto bad; + default_encoding_c = PyBytes_AsString(default_encoding); + if (!default_encoding_c) goto bad; + __PYX_DEFAULT_STRING_ENCODING = (char*) malloc(strlen(default_encoding_c) + 1); + if (!__PYX_DEFAULT_STRING_ENCODING) goto bad; + strcpy(__PYX_DEFAULT_STRING_ENCODING, default_encoding_c); + Py_DECREF(default_encoding); + return 0; +bad: + Py_XDECREF(default_encoding); + return -1; +} +#endif +#endif + + +/* Test for GCC > 2.95 */ +#if defined(__GNUC__) && (__GNUC__ > 2 || (__GNUC__ == 2 && (__GNUC_MINOR__ > 95))) + #define likely(x) __builtin_expect(!!(x), 1) + #define unlikely(x) __builtin_expect(!!(x), 0) +#else /* !__GNUC__ or GCC < 2.95 */ + #define likely(x) (x) + #define unlikely(x) (x) +#endif /* __GNUC__ */ +static CYTHON_INLINE void __Pyx_pretend_to_initialize(void* ptr) { (void)ptr; } + +#if !CYTHON_USE_MODULE_STATE +static PyObject *__pyx_m = NULL; +#endif +static int __pyx_lineno; +static int __pyx_clineno = 0; +static const char * __pyx_cfilenm = __FILE__; +static const char *__pyx_filename; + +/* Header.proto */ +#if !defined(CYTHON_CCOMPLEX) + #if defined(__cplusplus) + #define CYTHON_CCOMPLEX 1 + #elif (defined(_Complex_I) && !defined(_MSC_VER)) || ((defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) && !defined(__STDC_NO_COMPLEX__) && !defined(_MSC_VER)) + #define CYTHON_CCOMPLEX 1 + #else + #define CYTHON_CCOMPLEX 0 + #endif +#endif +#if CYTHON_CCOMPLEX + #ifdef __cplusplus + #include + #else + #include + #endif +#endif +#if CYTHON_CCOMPLEX && !defined(__cplusplus) && defined(__sun__) && defined(__GNUC__) + #undef _Complex_I + #define _Complex_I 1.0fj +#endif + +/* #### Code section: filename_table ### */ + +static const char *__pyx_f[] = { + "_anomaly_kernel_cython.pyx", + "", + "__init__.cython-30.pxd", + "type.pxd", +}; +/* #### Code section: utility_code_proto_before_types ### */ +/* ForceInitThreads.proto */ +#ifndef __PYX_FORCE_INIT_THREADS + #define __PYX_FORCE_INIT_THREADS 0 +#endif + +/* NoFastGil.proto */ +#define __Pyx_PyGILState_Ensure PyGILState_Ensure +#define __Pyx_PyGILState_Release PyGILState_Release +#define __Pyx_FastGIL_Remember() +#define __Pyx_FastGIL_Forget() +#define __Pyx_FastGilFuncInit() + +/* BufferFormatStructs.proto */ +struct __Pyx_StructField_; +#define __PYX_BUF_FLAGS_PACKED_STRUCT (1 << 0) +typedef struct { + const char* name; + struct __Pyx_StructField_* fields; + size_t size; + size_t arraysize[8]; + int ndim; + char typegroup; + char is_unsigned; + int flags; +} __Pyx_TypeInfo; +typedef struct __Pyx_StructField_ { + __Pyx_TypeInfo* type; + const char* name; + size_t offset; +} __Pyx_StructField; +typedef struct { + __Pyx_StructField* field; + size_t parent_offset; +} __Pyx_BufFmt_StackElem; +typedef struct { + __Pyx_StructField root; + __Pyx_BufFmt_StackElem* head; + size_t fmt_offset; + size_t new_count, enc_count; + size_t struct_alignment; + int is_complex; + char enc_type; + char new_packmode; + char enc_packmode; + char is_valid_array; +} __Pyx_BufFmt_Context; + +/* Atomics.proto */ +#include +#ifndef CYTHON_ATOMICS + #define CYTHON_ATOMICS 1 +#endif +#define __PYX_CYTHON_ATOMICS_ENABLED() CYTHON_ATOMICS +#define __pyx_atomic_int_type int +#define __pyx_nonatomic_int_type int +#if CYTHON_ATOMICS && (defined(__STDC_VERSION__) &&\ + (__STDC_VERSION__ >= 201112L) &&\ + !defined(__STDC_NO_ATOMICS__)) + #include +#elif CYTHON_ATOMICS && (defined(__cplusplus) && (\ + (__cplusplus >= 201103L) ||\ + (defined(_MSC_VER) && _MSC_VER >= 1700))) + #include +#endif +#if CYTHON_ATOMICS && (defined(__STDC_VERSION__) &&\ + (__STDC_VERSION__ >= 201112L) &&\ + !defined(__STDC_NO_ATOMICS__) &&\ + ATOMIC_INT_LOCK_FREE == 2) + #undef __pyx_atomic_int_type + #define __pyx_atomic_int_type atomic_int + #define __pyx_atomic_incr_aligned(value) atomic_fetch_add_explicit(value, 1, memory_order_relaxed) + #define __pyx_atomic_decr_aligned(value) atomic_fetch_sub_explicit(value, 1, memory_order_acq_rel) + #if defined(__PYX_DEBUG_ATOMICS) && defined(_MSC_VER) + #pragma message ("Using standard C atomics") + #elif defined(__PYX_DEBUG_ATOMICS) + #warning "Using standard C atomics" + #endif +#elif CYTHON_ATOMICS && (defined(__cplusplus) && (\ + (__cplusplus >= 201103L) ||\ +\ + (defined(_MSC_VER) && _MSC_VER >= 1700)) &&\ + ATOMIC_INT_LOCK_FREE == 2) + #undef __pyx_atomic_int_type + #define __pyx_atomic_int_type std::atomic_int + #define __pyx_atomic_incr_aligned(value) std::atomic_fetch_add_explicit(value, 1, std::memory_order_relaxed) + #define __pyx_atomic_decr_aligned(value) std::atomic_fetch_sub_explicit(value, 1, std::memory_order_acq_rel) + #if defined(__PYX_DEBUG_ATOMICS) && defined(_MSC_VER) + #pragma message ("Using standard C++ atomics") + #elif defined(__PYX_DEBUG_ATOMICS) + #warning "Using standard C++ atomics" + #endif +#elif CYTHON_ATOMICS && (__GNUC__ >= 5 || (__GNUC__ == 4 &&\ + (__GNUC_MINOR__ > 1 ||\ + (__GNUC_MINOR__ == 1 && __GNUC_PATCHLEVEL__ >= 2)))) + #define __pyx_atomic_incr_aligned(value) __sync_fetch_and_add(value, 1) + #define __pyx_atomic_decr_aligned(value) __sync_fetch_and_sub(value, 1) + #ifdef __PYX_DEBUG_ATOMICS + #warning "Using GNU atomics" + #endif +#elif CYTHON_ATOMICS && defined(_MSC_VER) + #include + #undef __pyx_atomic_int_type + #define __pyx_atomic_int_type long + #undef __pyx_nonatomic_int_type + #define __pyx_nonatomic_int_type long + #pragma intrinsic (_InterlockedExchangeAdd) + #define __pyx_atomic_incr_aligned(value) _InterlockedExchangeAdd(value, 1) + #define __pyx_atomic_decr_aligned(value) _InterlockedExchangeAdd(value, -1) + #ifdef __PYX_DEBUG_ATOMICS + #pragma message ("Using MSVC atomics") + #endif +#else + #undef CYTHON_ATOMICS + #define CYTHON_ATOMICS 0 + #ifdef __PYX_DEBUG_ATOMICS + #warning "Not using atomics" + #endif +#endif +#if CYTHON_ATOMICS + #define __pyx_add_acquisition_count(memview)\ + __pyx_atomic_incr_aligned(__pyx_get_slice_count_pointer(memview)) + #define __pyx_sub_acquisition_count(memview)\ + __pyx_atomic_decr_aligned(__pyx_get_slice_count_pointer(memview)) +#else + #define __pyx_add_acquisition_count(memview)\ + __pyx_add_acquisition_count_locked(__pyx_get_slice_count_pointer(memview), memview->lock) + #define __pyx_sub_acquisition_count(memview)\ + __pyx_sub_acquisition_count_locked(__pyx_get_slice_count_pointer(memview), memview->lock) +#endif + +/* MemviewSliceStruct.proto */ +struct __pyx_memoryview_obj; +typedef struct { + struct __pyx_memoryview_obj *memview; + char *data; + Py_ssize_t shape[8]; + Py_ssize_t strides[8]; + Py_ssize_t suboffsets[8]; +} __Pyx_memviewslice; +#define __Pyx_MemoryView_Len(m) (m.shape[0]) + +/* #### Code section: numeric_typedefs ### */ + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":730 + * # in Cython to enable them only on the right systems. + * + * ctypedef npy_int8 int8_t # <<<<<<<<<<<<<< + * ctypedef npy_int16 int16_t + * ctypedef npy_int32 int32_t + */ +typedef npy_int8 __pyx_t_5numpy_int8_t; + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":731 + * + * ctypedef npy_int8 int8_t + * ctypedef npy_int16 int16_t # <<<<<<<<<<<<<< + * ctypedef npy_int32 int32_t + * ctypedef npy_int64 int64_t + */ +typedef npy_int16 __pyx_t_5numpy_int16_t; + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":732 + * ctypedef npy_int8 int8_t + * ctypedef npy_int16 int16_t + * ctypedef npy_int32 int32_t # <<<<<<<<<<<<<< + * ctypedef npy_int64 int64_t + * #ctypedef npy_int96 int96_t + */ +typedef npy_int32 __pyx_t_5numpy_int32_t; + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":733 + * ctypedef npy_int16 int16_t + * ctypedef npy_int32 int32_t + * ctypedef npy_int64 int64_t # <<<<<<<<<<<<<< + * #ctypedef npy_int96 int96_t + * #ctypedef npy_int128 int128_t + */ +typedef npy_int64 __pyx_t_5numpy_int64_t; + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":737 + * #ctypedef npy_int128 int128_t + * + * ctypedef npy_uint8 uint8_t # <<<<<<<<<<<<<< + * ctypedef npy_uint16 uint16_t + * ctypedef npy_uint32 uint32_t + */ +typedef npy_uint8 __pyx_t_5numpy_uint8_t; + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":738 + * + * ctypedef npy_uint8 uint8_t + * ctypedef npy_uint16 uint16_t # <<<<<<<<<<<<<< + * ctypedef npy_uint32 uint32_t + * ctypedef npy_uint64 uint64_t + */ +typedef npy_uint16 __pyx_t_5numpy_uint16_t; + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":739 + * ctypedef npy_uint8 uint8_t + * ctypedef npy_uint16 uint16_t + * ctypedef npy_uint32 uint32_t # <<<<<<<<<<<<<< + * ctypedef npy_uint64 uint64_t + * #ctypedef npy_uint96 uint96_t + */ +typedef npy_uint32 __pyx_t_5numpy_uint32_t; + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":740 + * ctypedef npy_uint16 uint16_t + * ctypedef npy_uint32 uint32_t + * ctypedef npy_uint64 uint64_t # <<<<<<<<<<<<<< + * #ctypedef npy_uint96 uint96_t + * #ctypedef npy_uint128 uint128_t + */ +typedef npy_uint64 __pyx_t_5numpy_uint64_t; + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":744 + * #ctypedef npy_uint128 uint128_t + * + * ctypedef npy_float32 float32_t # <<<<<<<<<<<<<< + * ctypedef npy_float64 float64_t + * #ctypedef npy_float80 float80_t + */ +typedef npy_float32 __pyx_t_5numpy_float32_t; + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":745 + * + * ctypedef npy_float32 float32_t + * ctypedef npy_float64 float64_t # <<<<<<<<<<<<<< + * #ctypedef npy_float80 float80_t + * #ctypedef npy_float128 float128_t + */ +typedef npy_float64 __pyx_t_5numpy_float64_t; + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":754 + * # The int types are mapped a bit surprising -- + * # numpy.int corresponds to 'l' and numpy.long to 'q' + * ctypedef npy_long int_t # <<<<<<<<<<<<<< + * ctypedef npy_longlong longlong_t + * + */ +typedef npy_long __pyx_t_5numpy_int_t; + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":755 + * # numpy.int corresponds to 'l' and numpy.long to 'q' + * ctypedef npy_long int_t + * ctypedef npy_longlong longlong_t # <<<<<<<<<<<<<< + * + * ctypedef npy_ulong uint_t + */ +typedef npy_longlong __pyx_t_5numpy_longlong_t; + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":757 + * ctypedef npy_longlong longlong_t + * + * ctypedef npy_ulong uint_t # <<<<<<<<<<<<<< + * ctypedef npy_ulonglong ulonglong_t + * + */ +typedef npy_ulong __pyx_t_5numpy_uint_t; + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":758 + * + * ctypedef npy_ulong uint_t + * ctypedef npy_ulonglong ulonglong_t # <<<<<<<<<<<<<< + * + * ctypedef npy_intp intp_t + */ +typedef npy_ulonglong __pyx_t_5numpy_ulonglong_t; + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":760 + * ctypedef npy_ulonglong ulonglong_t + * + * ctypedef npy_intp intp_t # <<<<<<<<<<<<<< + * ctypedef npy_uintp uintp_t + * + */ +typedef npy_intp __pyx_t_5numpy_intp_t; + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":761 + * + * ctypedef npy_intp intp_t + * ctypedef npy_uintp uintp_t # <<<<<<<<<<<<<< + * + * ctypedef npy_double float_t + */ +typedef npy_uintp __pyx_t_5numpy_uintp_t; + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":763 + * ctypedef npy_uintp uintp_t + * + * ctypedef npy_double float_t # <<<<<<<<<<<<<< + * ctypedef npy_double double_t + * ctypedef npy_longdouble longdouble_t + */ +typedef npy_double __pyx_t_5numpy_float_t; + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":764 + * + * ctypedef npy_double float_t + * ctypedef npy_double double_t # <<<<<<<<<<<<<< + * ctypedef npy_longdouble longdouble_t + * + */ +typedef npy_double __pyx_t_5numpy_double_t; + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":765 + * ctypedef npy_double float_t + * ctypedef npy_double double_t + * ctypedef npy_longdouble longdouble_t # <<<<<<<<<<<<<< + * + * ctypedef npy_cfloat cfloat_t + */ +typedef npy_longdouble __pyx_t_5numpy_longdouble_t; +/* #### Code section: complex_type_declarations ### */ +/* Declarations.proto */ +#if CYTHON_CCOMPLEX && (1) && (!0 || __cplusplus) + #ifdef __cplusplus + typedef ::std::complex< float > __pyx_t_float_complex; + #else + typedef float _Complex __pyx_t_float_complex; + #endif +#else + typedef struct { float real, imag; } __pyx_t_float_complex; +#endif +static CYTHON_INLINE __pyx_t_float_complex __pyx_t_float_complex_from_parts(float, float); + +/* Declarations.proto */ +#if CYTHON_CCOMPLEX && (1) && (!0 || __cplusplus) + #ifdef __cplusplus + typedef ::std::complex< double > __pyx_t_double_complex; + #else + typedef double _Complex __pyx_t_double_complex; + #endif +#else + typedef struct { double real, imag; } __pyx_t_double_complex; +#endif +static CYTHON_INLINE __pyx_t_double_complex __pyx_t_double_complex_from_parts(double, double); + +/* #### Code section: type_declarations ### */ + +/*--- Type declarations ---*/ +struct __pyx_array_obj; +struct __pyx_MemviewEnum_obj; +struct __pyx_memoryview_obj; +struct __pyx_memoryviewslice_obj; + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":767 + * ctypedef npy_longdouble longdouble_t + * + * ctypedef npy_cfloat cfloat_t # <<<<<<<<<<<<<< + * ctypedef npy_cdouble cdouble_t + * ctypedef npy_clongdouble clongdouble_t + */ +typedef npy_cfloat __pyx_t_5numpy_cfloat_t; + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":768 + * + * ctypedef npy_cfloat cfloat_t + * ctypedef npy_cdouble cdouble_t # <<<<<<<<<<<<<< + * ctypedef npy_clongdouble clongdouble_t + * + */ +typedef npy_cdouble __pyx_t_5numpy_cdouble_t; + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":769 + * ctypedef npy_cfloat cfloat_t + * ctypedef npy_cdouble cdouble_t + * ctypedef npy_clongdouble clongdouble_t # <<<<<<<<<<<<<< + * + * ctypedef npy_cdouble complex_t + */ +typedef npy_clongdouble __pyx_t_5numpy_clongdouble_t; + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":771 + * ctypedef npy_clongdouble clongdouble_t + * + * ctypedef npy_cdouble complex_t # <<<<<<<<<<<<<< + * + * cdef inline object PyArray_MultiIterNew1(a): + */ +typedef npy_cdouble __pyx_t_5numpy_complex_t; +struct __pyx_opt_args_16anomaly_detector_10univariate_22_anomaly_kernel_cython_calculate_esd_values; +struct __pyx_opt_args_16anomaly_detector_10univariate_22_anomaly_kernel_cython_median_filter; + +/* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":56 + * quick_select(table, len(table) // 2 + 1)) + * + * cpdef float calculate_esd_values(int i, float alpha, int n, bint one_tail=True): # <<<<<<<<<<<<<< + * if one_tail: + * p = 1 - alpha / float(n - i + 1) + */ +struct __pyx_opt_args_16anomaly_detector_10univariate_22_anomaly_kernel_cython_calculate_esd_values { + int __pyx_n; + int one_tail; +}; + +/* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":231 + * return cv_mse, seasons + * + * cpdef median_filter(np.ndarray data, int window, bint need_two_end=False): # <<<<<<<<<<<<<< + * cdef int w_len = window // 2 * 2 + 1 + * cdef int t_len = len(data) + */ +struct __pyx_opt_args_16anomaly_detector_10univariate_22_anomaly_kernel_cython_median_filter { + int __pyx_n; + int need_two_end; +}; + +/* "View.MemoryView":114 + * @cython.collection_type("sequence") + * @cname("__pyx_array") + * cdef class array: # <<<<<<<<<<<<<< + * + * cdef: + */ +struct __pyx_array_obj { + PyObject_HEAD + struct __pyx_vtabstruct_array *__pyx_vtab; + char *data; + Py_ssize_t len; + char *format; + int ndim; + Py_ssize_t *_shape; + Py_ssize_t *_strides; + Py_ssize_t itemsize; + PyObject *mode; + PyObject *_format; + void (*callback_free_data)(void *); + int free_data; + int dtype_is_object; +}; + + +/* "View.MemoryView":302 + * + * @cname('__pyx_MemviewEnum') + * cdef class Enum(object): # <<<<<<<<<<<<<< + * cdef object name + * def __init__(self, name): + */ +struct __pyx_MemviewEnum_obj { + PyObject_HEAD + PyObject *name; +}; + + +/* "View.MemoryView":337 + * + * @cname('__pyx_memoryview') + * cdef class memoryview: # <<<<<<<<<<<<<< + * + * cdef object obj + */ +struct __pyx_memoryview_obj { + PyObject_HEAD + struct __pyx_vtabstruct_memoryview *__pyx_vtab; + PyObject *obj; + PyObject *_size; + PyObject *_array_interface; + PyThread_type_lock lock; + __pyx_atomic_int_type acquisition_count; + Py_buffer view; + int flags; + int dtype_is_object; + __Pyx_TypeInfo *typeinfo; +}; + + +/* "View.MemoryView":952 + * @cython.collection_type("sequence") + * @cname('__pyx_memoryviewslice') + * cdef class _memoryviewslice(memoryview): # <<<<<<<<<<<<<< + * "Internal class for passing memoryview slices to Python" + * + */ +struct __pyx_memoryviewslice_obj { + struct __pyx_memoryview_obj __pyx_base; + __Pyx_memviewslice from_slice; + PyObject *from_object; + PyObject *(*to_object_func)(char *); + int (*to_dtype_func)(char *, PyObject *); +}; + + + +/* "View.MemoryView":114 + * @cython.collection_type("sequence") + * @cname("__pyx_array") + * cdef class array: # <<<<<<<<<<<<<< + * + * cdef: + */ + +struct __pyx_vtabstruct_array { + PyObject *(*get_memview)(struct __pyx_array_obj *); +}; +static struct __pyx_vtabstruct_array *__pyx_vtabptr_array; + + +/* "View.MemoryView":337 + * + * @cname('__pyx_memoryview') + * cdef class memoryview: # <<<<<<<<<<<<<< + * + * cdef object obj + */ + +struct __pyx_vtabstruct_memoryview { + char *(*get_item_pointer)(struct __pyx_memoryview_obj *, PyObject *); + PyObject *(*is_slice)(struct __pyx_memoryview_obj *, PyObject *); + PyObject *(*setitem_slice_assignment)(struct __pyx_memoryview_obj *, PyObject *, PyObject *); + PyObject *(*setitem_slice_assign_scalar)(struct __pyx_memoryview_obj *, struct __pyx_memoryview_obj *, PyObject *); + PyObject *(*setitem_indexed)(struct __pyx_memoryview_obj *, PyObject *, PyObject *); + PyObject *(*convert_item_to_object)(struct __pyx_memoryview_obj *, char *); + PyObject *(*assign_item_from_object)(struct __pyx_memoryview_obj *, char *, PyObject *); + PyObject *(*_get_base)(struct __pyx_memoryview_obj *); +}; +static struct __pyx_vtabstruct_memoryview *__pyx_vtabptr_memoryview; + + +/* "View.MemoryView":952 + * @cython.collection_type("sequence") + * @cname('__pyx_memoryviewslice') + * cdef class _memoryviewslice(memoryview): # <<<<<<<<<<<<<< + * "Internal class for passing memoryview slices to Python" + * + */ + +struct __pyx_vtabstruct__memoryviewslice { + struct __pyx_vtabstruct_memoryview __pyx_base; +}; +static struct __pyx_vtabstruct__memoryviewslice *__pyx_vtabptr__memoryviewslice; +/* #### Code section: utility_code_proto ### */ + +/* --- Runtime support code (head) --- */ +/* Refnanny.proto */ +#ifndef CYTHON_REFNANNY + #define CYTHON_REFNANNY 0 +#endif +#if CYTHON_REFNANNY + typedef struct { + void (*INCREF)(void*, PyObject*, Py_ssize_t); + void (*DECREF)(void*, PyObject*, Py_ssize_t); + void (*GOTREF)(void*, PyObject*, Py_ssize_t); + void (*GIVEREF)(void*, PyObject*, Py_ssize_t); + void* (*SetupContext)(const char*, Py_ssize_t, const char*); + void (*FinishContext)(void**); + } __Pyx_RefNannyAPIStruct; + static __Pyx_RefNannyAPIStruct *__Pyx_RefNanny = NULL; + static __Pyx_RefNannyAPIStruct *__Pyx_RefNannyImportAPI(const char *modname); + #define __Pyx_RefNannyDeclarations void *__pyx_refnanny = NULL; +#ifdef WITH_THREAD + #define __Pyx_RefNannySetupContext(name, acquire_gil)\ + if (acquire_gil) {\ + PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure();\ + __pyx_refnanny = __Pyx_RefNanny->SetupContext((name), (__LINE__), (__FILE__));\ + PyGILState_Release(__pyx_gilstate_save);\ + } else {\ + __pyx_refnanny = __Pyx_RefNanny->SetupContext((name), (__LINE__), (__FILE__));\ + } + #define __Pyx_RefNannyFinishContextNogil() {\ + PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure();\ + __Pyx_RefNannyFinishContext();\ + PyGILState_Release(__pyx_gilstate_save);\ + } +#else + #define __Pyx_RefNannySetupContext(name, acquire_gil)\ + __pyx_refnanny = __Pyx_RefNanny->SetupContext((name), (__LINE__), (__FILE__)) + #define __Pyx_RefNannyFinishContextNogil() __Pyx_RefNannyFinishContext() +#endif + #define __Pyx_RefNannyFinishContextNogil() {\ + PyGILState_STATE __pyx_gilstate_save = PyGILState_Ensure();\ + __Pyx_RefNannyFinishContext();\ + PyGILState_Release(__pyx_gilstate_save);\ + } + #define __Pyx_RefNannyFinishContext()\ + __Pyx_RefNanny->FinishContext(&__pyx_refnanny) + #define __Pyx_INCREF(r) __Pyx_RefNanny->INCREF(__pyx_refnanny, (PyObject *)(r), (__LINE__)) + #define __Pyx_DECREF(r) __Pyx_RefNanny->DECREF(__pyx_refnanny, (PyObject *)(r), (__LINE__)) + #define __Pyx_GOTREF(r) __Pyx_RefNanny->GOTREF(__pyx_refnanny, (PyObject *)(r), (__LINE__)) + #define __Pyx_GIVEREF(r) __Pyx_RefNanny->GIVEREF(__pyx_refnanny, (PyObject *)(r), (__LINE__)) + #define __Pyx_XINCREF(r) do { if((r) == NULL); else {__Pyx_INCREF(r); }} while(0) + #define __Pyx_XDECREF(r) do { if((r) == NULL); else {__Pyx_DECREF(r); }} while(0) + #define __Pyx_XGOTREF(r) do { if((r) == NULL); else {__Pyx_GOTREF(r); }} while(0) + #define __Pyx_XGIVEREF(r) do { if((r) == NULL); else {__Pyx_GIVEREF(r);}} while(0) +#else + #define __Pyx_RefNannyDeclarations + #define __Pyx_RefNannySetupContext(name, acquire_gil) + #define __Pyx_RefNannyFinishContextNogil() + #define __Pyx_RefNannyFinishContext() + #define __Pyx_INCREF(r) Py_INCREF(r) + #define __Pyx_DECREF(r) Py_DECREF(r) + #define __Pyx_GOTREF(r) + #define __Pyx_GIVEREF(r) + #define __Pyx_XINCREF(r) Py_XINCREF(r) + #define __Pyx_XDECREF(r) Py_XDECREF(r) + #define __Pyx_XGOTREF(r) + #define __Pyx_XGIVEREF(r) +#endif +#define __Pyx_Py_XDECREF_SET(r, v) do {\ + PyObject *tmp = (PyObject *) r;\ + r = v; Py_XDECREF(tmp);\ + } while (0) +#define __Pyx_XDECREF_SET(r, v) do {\ + PyObject *tmp = (PyObject *) r;\ + r = v; __Pyx_XDECREF(tmp);\ + } while (0) +#define __Pyx_DECREF_SET(r, v) do {\ + PyObject *tmp = (PyObject *) r;\ + r = v; __Pyx_DECREF(tmp);\ + } while (0) +#define __Pyx_CLEAR(r) do { PyObject* tmp = ((PyObject*)(r)); r = NULL; __Pyx_DECREF(tmp);} while(0) +#define __Pyx_XCLEAR(r) do { if((r) != NULL) {PyObject* tmp = ((PyObject*)(r)); r = NULL; __Pyx_DECREF(tmp);}} while(0) + +/* PyErrExceptionMatches.proto */ +#if CYTHON_FAST_THREAD_STATE +#define __Pyx_PyErr_ExceptionMatches(err) __Pyx_PyErr_ExceptionMatchesInState(__pyx_tstate, err) +static CYTHON_INLINE int __Pyx_PyErr_ExceptionMatchesInState(PyThreadState* tstate, PyObject* err); +#else +#define __Pyx_PyErr_ExceptionMatches(err) PyErr_ExceptionMatches(err) +#endif + +/* PyThreadStateGet.proto */ +#if CYTHON_FAST_THREAD_STATE +#define __Pyx_PyThreadState_declare PyThreadState *__pyx_tstate; +#define __Pyx_PyThreadState_assign __pyx_tstate = __Pyx_PyThreadState_Current; +#if PY_VERSION_HEX >= 0x030C00A6 +#define __Pyx_PyErr_Occurred() (__pyx_tstate->current_exception != NULL) +#define __Pyx_PyErr_CurrentExceptionType() (__pyx_tstate->current_exception ? (PyObject*) Py_TYPE(__pyx_tstate->current_exception) : (PyObject*) NULL) +#else +#define __Pyx_PyErr_Occurred() (__pyx_tstate->curexc_type != NULL) +#define __Pyx_PyErr_CurrentExceptionType() (__pyx_tstate->curexc_type) +#endif +#else +#define __Pyx_PyThreadState_declare +#define __Pyx_PyThreadState_assign +#define __Pyx_PyErr_Occurred() (PyErr_Occurred() != NULL) +#define __Pyx_PyErr_CurrentExceptionType() PyErr_Occurred() +#endif + +/* PyErrFetchRestore.proto */ +#if CYTHON_FAST_THREAD_STATE +#define __Pyx_PyErr_Clear() __Pyx_ErrRestore(NULL, NULL, NULL) +#define __Pyx_ErrRestoreWithState(type, value, tb) __Pyx_ErrRestoreInState(PyThreadState_GET(), type, value, tb) +#define __Pyx_ErrFetchWithState(type, value, tb) __Pyx_ErrFetchInState(PyThreadState_GET(), type, value, tb) +#define __Pyx_ErrRestore(type, value, tb) __Pyx_ErrRestoreInState(__pyx_tstate, type, value, tb) +#define __Pyx_ErrFetch(type, value, tb) __Pyx_ErrFetchInState(__pyx_tstate, type, value, tb) +static CYTHON_INLINE void __Pyx_ErrRestoreInState(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb); +static CYTHON_INLINE void __Pyx_ErrFetchInState(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb); +#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x030C00A6 +#define __Pyx_PyErr_SetNone(exc) (Py_INCREF(exc), __Pyx_ErrRestore((exc), NULL, NULL)) +#else +#define __Pyx_PyErr_SetNone(exc) PyErr_SetNone(exc) +#endif +#else +#define __Pyx_PyErr_Clear() PyErr_Clear() +#define __Pyx_PyErr_SetNone(exc) PyErr_SetNone(exc) +#define __Pyx_ErrRestoreWithState(type, value, tb) PyErr_Restore(type, value, tb) +#define __Pyx_ErrFetchWithState(type, value, tb) PyErr_Fetch(type, value, tb) +#define __Pyx_ErrRestoreInState(tstate, type, value, tb) PyErr_Restore(type, value, tb) +#define __Pyx_ErrFetchInState(tstate, type, value, tb) PyErr_Fetch(type, value, tb) +#define __Pyx_ErrRestore(type, value, tb) PyErr_Restore(type, value, tb) +#define __Pyx_ErrFetch(type, value, tb) PyErr_Fetch(type, value, tb) +#endif + +/* PyObjectGetAttrStr.proto */ +#if CYTHON_USE_TYPE_SLOTS +static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStr(PyObject* obj, PyObject* attr_name); +#else +#define __Pyx_PyObject_GetAttrStr(o,n) PyObject_GetAttr(o,n) +#endif + +/* PyObjectGetAttrStrNoError.proto */ +static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStrNoError(PyObject* obj, PyObject* attr_name); + +/* GetBuiltinName.proto */ +static PyObject *__Pyx_GetBuiltinName(PyObject *name); + +/* TupleAndListFromArray.proto */ +#if CYTHON_COMPILING_IN_CPYTHON +static CYTHON_INLINE PyObject* __Pyx_PyList_FromArray(PyObject *const *src, Py_ssize_t n); +static CYTHON_INLINE PyObject* __Pyx_PyTuple_FromArray(PyObject *const *src, Py_ssize_t n); +#endif + +/* IncludeStringH.proto */ +#include + +/* BytesEquals.proto */ +static CYTHON_INLINE int __Pyx_PyBytes_Equals(PyObject* s1, PyObject* s2, int equals); + +/* UnicodeEquals.proto */ +static CYTHON_INLINE int __Pyx_PyUnicode_Equals(PyObject* s1, PyObject* s2, int equals); + +/* fastcall.proto */ +#if CYTHON_AVOID_BORROWED_REFS + #define __Pyx_Arg_VARARGS(args, i) PySequence_GetItem(args, i) +#elif CYTHON_ASSUME_SAFE_MACROS + #define __Pyx_Arg_VARARGS(args, i) PyTuple_GET_ITEM(args, i) +#else + #define __Pyx_Arg_VARARGS(args, i) PyTuple_GetItem(args, i) +#endif +#if CYTHON_AVOID_BORROWED_REFS + #define __Pyx_Arg_NewRef_VARARGS(arg) __Pyx_NewRef(arg) + #define __Pyx_Arg_XDECREF_VARARGS(arg) Py_XDECREF(arg) +#else + #define __Pyx_Arg_NewRef_VARARGS(arg) arg + #define __Pyx_Arg_XDECREF_VARARGS(arg) +#endif +#define __Pyx_NumKwargs_VARARGS(kwds) PyDict_Size(kwds) +#define __Pyx_KwValues_VARARGS(args, nargs) NULL +#define __Pyx_GetKwValue_VARARGS(kw, kwvalues, s) __Pyx_PyDict_GetItemStrWithError(kw, s) +#define __Pyx_KwargsAsDict_VARARGS(kw, kwvalues) PyDict_Copy(kw) +#if CYTHON_METH_FASTCALL + #define __Pyx_Arg_FASTCALL(args, i) args[i] + #define __Pyx_NumKwargs_FASTCALL(kwds) PyTuple_GET_SIZE(kwds) + #define __Pyx_KwValues_FASTCALL(args, nargs) ((args) + (nargs)) + static CYTHON_INLINE PyObject * __Pyx_GetKwValue_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues, PyObject *s); +#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000 + CYTHON_UNUSED static PyObject *__Pyx_KwargsAsDict_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues); + #else + #define __Pyx_KwargsAsDict_FASTCALL(kw, kwvalues) _PyStack_AsDict(kwvalues, kw) + #endif + #define __Pyx_Arg_NewRef_FASTCALL(arg) arg /* no-op, __Pyx_Arg_FASTCALL is direct and this needs + to have the same reference counting */ + #define __Pyx_Arg_XDECREF_FASTCALL(arg) +#else + #define __Pyx_Arg_FASTCALL __Pyx_Arg_VARARGS + #define __Pyx_NumKwargs_FASTCALL __Pyx_NumKwargs_VARARGS + #define __Pyx_KwValues_FASTCALL __Pyx_KwValues_VARARGS + #define __Pyx_GetKwValue_FASTCALL __Pyx_GetKwValue_VARARGS + #define __Pyx_KwargsAsDict_FASTCALL __Pyx_KwargsAsDict_VARARGS + #define __Pyx_Arg_NewRef_FASTCALL(arg) __Pyx_Arg_NewRef_VARARGS(arg) + #define __Pyx_Arg_XDECREF_FASTCALL(arg) __Pyx_Arg_XDECREF_VARARGS(arg) +#endif +#if CYTHON_COMPILING_IN_CPYTHON && CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS +#define __Pyx_ArgsSlice_VARARGS(args, start, stop) __Pyx_PyTuple_FromArray(&__Pyx_Arg_VARARGS(args, start), stop - start) +#define __Pyx_ArgsSlice_FASTCALL(args, start, stop) __Pyx_PyTuple_FromArray(&__Pyx_Arg_FASTCALL(args, start), stop - start) +#else +#define __Pyx_ArgsSlice_VARARGS(args, start, stop) PyTuple_GetSlice(args, start, stop) +#define __Pyx_ArgsSlice_FASTCALL(args, start, stop) PyTuple_GetSlice(args, start, stop) +#endif + +/* RaiseArgTupleInvalid.proto */ +static void __Pyx_RaiseArgtupleInvalid(const char* func_name, int exact, + Py_ssize_t num_min, Py_ssize_t num_max, Py_ssize_t num_found); + +/* RaiseDoubleKeywords.proto */ +static void __Pyx_RaiseDoubleKeywordsError(const char* func_name, PyObject* kw_name); + +/* ParseKeywords.proto */ +static int __Pyx_ParseOptionalKeywords(PyObject *kwds, PyObject *const *kwvalues, + PyObject **argnames[], + PyObject *kwds2, PyObject *values[], Py_ssize_t num_pos_args, + const char* function_name); + +/* ArgTypeTest.proto */ +#define __Pyx_ArgTypeTest(obj, type, none_allowed, name, exact)\ + ((likely(__Pyx_IS_TYPE(obj, type) | (none_allowed && (obj == Py_None)))) ? 1 :\ + __Pyx__ArgTypeTest(obj, type, name, exact)) +static int __Pyx__ArgTypeTest(PyObject *obj, PyTypeObject *type, const char *name, int exact); + +/* RaiseException.proto */ +static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, PyObject *cause); + +/* PyFunctionFastCall.proto */ +#if CYTHON_FAST_PYCALL +#if !CYTHON_VECTORCALL +#define __Pyx_PyFunction_FastCall(func, args, nargs)\ + __Pyx_PyFunction_FastCallDict((func), (args), (nargs), NULL) +static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args, Py_ssize_t nargs, PyObject *kwargs); +#endif +#define __Pyx_BUILD_ASSERT_EXPR(cond)\ + (sizeof(char [1 - 2*!(cond)]) - 1) +#ifndef Py_MEMBER_SIZE +#define Py_MEMBER_SIZE(type, member) sizeof(((type *)0)->member) +#endif +#if !CYTHON_VECTORCALL +#if PY_VERSION_HEX >= 0x03080000 + #include "frameobject.h" +#if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API + #ifndef Py_BUILD_CORE + #define Py_BUILD_CORE 1 + #endif + #include "internal/pycore_frame.h" +#endif + #define __Pxy_PyFrame_Initialize_Offsets() + #define __Pyx_PyFrame_GetLocalsplus(frame) ((frame)->f_localsplus) +#else + static size_t __pyx_pyframe_localsplus_offset = 0; + #include "frameobject.h" + #define __Pxy_PyFrame_Initialize_Offsets()\ + ((void)__Pyx_BUILD_ASSERT_EXPR(sizeof(PyFrameObject) == offsetof(PyFrameObject, f_localsplus) + Py_MEMBER_SIZE(PyFrameObject, f_localsplus)),\ + (void)(__pyx_pyframe_localsplus_offset = ((size_t)PyFrame_Type.tp_basicsize) - Py_MEMBER_SIZE(PyFrameObject, f_localsplus))) + #define __Pyx_PyFrame_GetLocalsplus(frame)\ + (assert(__pyx_pyframe_localsplus_offset), (PyObject **)(((char *)(frame)) + __pyx_pyframe_localsplus_offset)) +#endif +#endif +#endif + +/* PyObjectCall.proto */ +#if CYTHON_COMPILING_IN_CPYTHON +static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg, PyObject *kw); +#else +#define __Pyx_PyObject_Call(func, arg, kw) PyObject_Call(func, arg, kw) +#endif + +/* PyObjectCallMethO.proto */ +#if CYTHON_COMPILING_IN_CPYTHON +static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject *arg); +#endif + +/* PyObjectFastCall.proto */ +#define __Pyx_PyObject_FastCall(func, args, nargs) __Pyx_PyObject_FastCallDict(func, args, (size_t)(nargs), NULL) +static CYTHON_INLINE PyObject* __Pyx_PyObject_FastCallDict(PyObject *func, PyObject **args, size_t nargs, PyObject *kwargs); + +/* RaiseUnexpectedTypeError.proto */ +static int __Pyx_RaiseUnexpectedTypeError(const char *expected, PyObject *obj); + +/* GCCDiagnostics.proto */ +#if !defined(__INTEL_COMPILER) && defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)) +#define __Pyx_HAS_GCC_DIAGNOSTIC +#endif + +/* BuildPyUnicode.proto */ +static PyObject* __Pyx_PyUnicode_BuildFromAscii(Py_ssize_t ulength, char* chars, int clength, + int prepend_sign, char padding_char); + +/* CIntToPyUnicode.proto */ +static CYTHON_INLINE PyObject* __Pyx_PyUnicode_From_int(int value, Py_ssize_t width, char padding_char, char format_char); + +/* CIntToPyUnicode.proto */ +static CYTHON_INLINE PyObject* __Pyx_PyUnicode_From_Py_ssize_t(Py_ssize_t value, Py_ssize_t width, char padding_char, char format_char); + +/* JoinPyUnicode.proto */ +static PyObject* __Pyx_PyUnicode_Join(PyObject* value_tuple, Py_ssize_t value_count, Py_ssize_t result_ulength, + Py_UCS4 max_char); + +/* StrEquals.proto */ +#if PY_MAJOR_VERSION >= 3 +#define __Pyx_PyString_Equals __Pyx_PyUnicode_Equals +#else +#define __Pyx_PyString_Equals __Pyx_PyBytes_Equals +#endif + +/* PyObjectFormatSimple.proto */ +#if CYTHON_COMPILING_IN_PYPY + #define __Pyx_PyObject_FormatSimple(s, f) (\ + likely(PyUnicode_CheckExact(s)) ? (Py_INCREF(s), s) :\ + PyObject_Format(s, f)) +#elif PY_MAJOR_VERSION < 3 + #define __Pyx_PyObject_FormatSimple(s, f) (\ + likely(PyUnicode_CheckExact(s)) ? (Py_INCREF(s), s) :\ + likely(PyString_CheckExact(s)) ? PyUnicode_FromEncodedObject(s, NULL, "strict") :\ + PyObject_Format(s, f)) +#elif CYTHON_USE_TYPE_SLOTS + #define __Pyx_PyObject_FormatSimple(s, f) (\ + likely(PyUnicode_CheckExact(s)) ? (Py_INCREF(s), s) :\ + likely(PyLong_CheckExact(s)) ? PyLong_Type.tp_repr(s) :\ + likely(PyFloat_CheckExact(s)) ? PyFloat_Type.tp_repr(s) :\ + PyObject_Format(s, f)) +#else + #define __Pyx_PyObject_FormatSimple(s, f) (\ + likely(PyUnicode_CheckExact(s)) ? (Py_INCREF(s), s) :\ + PyObject_Format(s, f)) +#endif + +CYTHON_UNUSED static int __pyx_array_getbuffer(PyObject *__pyx_v_self, Py_buffer *__pyx_v_info, int __pyx_v_flags); /*proto*/ +static PyObject *__pyx_array_get_memview(struct __pyx_array_obj *); /*proto*/ +/* GetAttr.proto */ +static CYTHON_INLINE PyObject *__Pyx_GetAttr(PyObject *, PyObject *); + +/* GetItemInt.proto */ +#define __Pyx_GetItemInt(o, i, type, is_signed, to_py_func, is_list, wraparound, boundscheck)\ + (__Pyx_fits_Py_ssize_t(i, type, is_signed) ?\ + __Pyx_GetItemInt_Fast(o, (Py_ssize_t)i, is_list, wraparound, boundscheck) :\ + (is_list ? (PyErr_SetString(PyExc_IndexError, "list index out of range"), (PyObject*)NULL) :\ + __Pyx_GetItemInt_Generic(o, to_py_func(i)))) +#define __Pyx_GetItemInt_List(o, i, type, is_signed, to_py_func, is_list, wraparound, boundscheck)\ + (__Pyx_fits_Py_ssize_t(i, type, is_signed) ?\ + __Pyx_GetItemInt_List_Fast(o, (Py_ssize_t)i, wraparound, boundscheck) :\ + (PyErr_SetString(PyExc_IndexError, "list index out of range"), (PyObject*)NULL)) +static CYTHON_INLINE PyObject *__Pyx_GetItemInt_List_Fast(PyObject *o, Py_ssize_t i, + int wraparound, int boundscheck); +#define __Pyx_GetItemInt_Tuple(o, i, type, is_signed, to_py_func, is_list, wraparound, boundscheck)\ + (__Pyx_fits_Py_ssize_t(i, type, is_signed) ?\ + __Pyx_GetItemInt_Tuple_Fast(o, (Py_ssize_t)i, wraparound, boundscheck) :\ + (PyErr_SetString(PyExc_IndexError, "tuple index out of range"), (PyObject*)NULL)) +static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Tuple_Fast(PyObject *o, Py_ssize_t i, + int wraparound, int boundscheck); +static PyObject *__Pyx_GetItemInt_Generic(PyObject *o, PyObject* j); +static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i, + int is_list, int wraparound, int boundscheck); + +/* PyObjectCallOneArg.proto */ +static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObject *arg); + +/* ObjectGetItem.proto */ +#if CYTHON_USE_TYPE_SLOTS +static CYTHON_INLINE PyObject *__Pyx_PyObject_GetItem(PyObject *obj, PyObject *key); +#else +#define __Pyx_PyObject_GetItem(obj, key) PyObject_GetItem(obj, key) +#endif + +/* KeywordStringCheck.proto */ +static int __Pyx_CheckKeywordStrings(PyObject *kw, const char* function_name, int kw_allowed); + +/* DivInt[Py_ssize_t].proto */ +static CYTHON_INLINE Py_ssize_t __Pyx_div_Py_ssize_t(Py_ssize_t, Py_ssize_t); + +/* UnaryNegOverflows.proto */ +#define __Pyx_UNARY_NEG_WOULD_OVERFLOW(x)\ + (((x) < 0) & ((unsigned long)(x) == 0-(unsigned long)(x))) + +/* GetAttr3.proto */ +static CYTHON_INLINE PyObject *__Pyx_GetAttr3(PyObject *, PyObject *, PyObject *); + +/* PyDictVersioning.proto */ +#if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_TYPE_SLOTS +#define __PYX_DICT_VERSION_INIT ((PY_UINT64_T) -1) +#define __PYX_GET_DICT_VERSION(dict) (((PyDictObject*)(dict))->ma_version_tag) +#define __PYX_UPDATE_DICT_CACHE(dict, value, cache_var, version_var)\ + (version_var) = __PYX_GET_DICT_VERSION(dict);\ + (cache_var) = (value); +#define __PYX_PY_DICT_LOOKUP_IF_MODIFIED(VAR, DICT, LOOKUP) {\ + static PY_UINT64_T __pyx_dict_version = 0;\ + static PyObject *__pyx_dict_cached_value = NULL;\ + if (likely(__PYX_GET_DICT_VERSION(DICT) == __pyx_dict_version)) {\ + (VAR) = __pyx_dict_cached_value;\ + } else {\ + (VAR) = __pyx_dict_cached_value = (LOOKUP);\ + __pyx_dict_version = __PYX_GET_DICT_VERSION(DICT);\ + }\ +} +static CYTHON_INLINE PY_UINT64_T __Pyx_get_tp_dict_version(PyObject *obj); +static CYTHON_INLINE PY_UINT64_T __Pyx_get_object_dict_version(PyObject *obj); +static CYTHON_INLINE int __Pyx_object_dict_version_matches(PyObject* obj, PY_UINT64_T tp_dict_version, PY_UINT64_T obj_dict_version); +#else +#define __PYX_GET_DICT_VERSION(dict) (0) +#define __PYX_UPDATE_DICT_CACHE(dict, value, cache_var, version_var) +#define __PYX_PY_DICT_LOOKUP_IF_MODIFIED(VAR, DICT, LOOKUP) (VAR) = (LOOKUP); +#endif + +/* GetModuleGlobalName.proto */ +#if CYTHON_USE_DICT_VERSIONS +#define __Pyx_GetModuleGlobalName(var, name) do {\ + static PY_UINT64_T __pyx_dict_version = 0;\ + static PyObject *__pyx_dict_cached_value = NULL;\ + (var) = (likely(__pyx_dict_version == __PYX_GET_DICT_VERSION(__pyx_d))) ?\ + (likely(__pyx_dict_cached_value) ? __Pyx_NewRef(__pyx_dict_cached_value) : __Pyx_GetBuiltinName(name)) :\ + __Pyx__GetModuleGlobalName(name, &__pyx_dict_version, &__pyx_dict_cached_value);\ +} while(0) +#define __Pyx_GetModuleGlobalNameUncached(var, name) do {\ + PY_UINT64_T __pyx_dict_version;\ + PyObject *__pyx_dict_cached_value;\ + (var) = __Pyx__GetModuleGlobalName(name, &__pyx_dict_version, &__pyx_dict_cached_value);\ +} while(0) +static PyObject *__Pyx__GetModuleGlobalName(PyObject *name, PY_UINT64_T *dict_version, PyObject **dict_cached_value); +#else +#define __Pyx_GetModuleGlobalName(var, name) (var) = __Pyx__GetModuleGlobalName(name) +#define __Pyx_GetModuleGlobalNameUncached(var, name) (var) = __Pyx__GetModuleGlobalName(name) +static CYTHON_INLINE PyObject *__Pyx__GetModuleGlobalName(PyObject *name); +#endif + +/* AssertionsEnabled.proto */ +#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX < 0x02070600 && !defined(Py_OptimizeFlag) + #define __Pyx_init_assertions_enabled() (0) + #define __pyx_assertions_enabled() (1) +#elif CYTHON_COMPILING_IN_LIMITED_API || (CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030C0000) + static int __pyx_assertions_enabled_flag; + #define __pyx_assertions_enabled() (__pyx_assertions_enabled_flag) + static int __Pyx_init_assertions_enabled(void) { + PyObject *builtins, *debug, *debug_str; + int flag; + builtins = PyEval_GetBuiltins(); + if (!builtins) goto bad; + debug_str = PyUnicode_FromStringAndSize("__debug__", 9); + if (!debug_str) goto bad; + debug = PyObject_GetItem(builtins, debug_str); + Py_DECREF(debug_str); + if (!debug) goto bad; + flag = PyObject_IsTrue(debug); + Py_DECREF(debug); + if (flag == -1) goto bad; + __pyx_assertions_enabled_flag = flag; + return 0; + bad: + __pyx_assertions_enabled_flag = 1; + return -1; + } +#else + #define __Pyx_init_assertions_enabled() (0) + #define __pyx_assertions_enabled() (!Py_OptimizeFlag) +#endif + +/* RaiseTooManyValuesToUnpack.proto */ +static CYTHON_INLINE void __Pyx_RaiseTooManyValuesError(Py_ssize_t expected); + +/* RaiseNeedMoreValuesToUnpack.proto */ +static CYTHON_INLINE void __Pyx_RaiseNeedMoreValuesError(Py_ssize_t index); + +/* RaiseNoneIterError.proto */ +static CYTHON_INLINE void __Pyx_RaiseNoneNotIterableError(void); + +/* ExtTypeTest.proto */ +static CYTHON_INLINE int __Pyx_TypeTest(PyObject *obj, PyTypeObject *type); + +/* GetTopmostException.proto */ +#if CYTHON_USE_EXC_INFO_STACK && CYTHON_FAST_THREAD_STATE +static _PyErr_StackItem * __Pyx_PyErr_GetTopmostException(PyThreadState *tstate); +#endif + +/* SaveResetException.proto */ +#if CYTHON_FAST_THREAD_STATE +#define __Pyx_ExceptionSave(type, value, tb) __Pyx__ExceptionSave(__pyx_tstate, type, value, tb) +static CYTHON_INLINE void __Pyx__ExceptionSave(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb); +#define __Pyx_ExceptionReset(type, value, tb) __Pyx__ExceptionReset(__pyx_tstate, type, value, tb) +static CYTHON_INLINE void __Pyx__ExceptionReset(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb); +#else +#define __Pyx_ExceptionSave(type, value, tb) PyErr_GetExcInfo(type, value, tb) +#define __Pyx_ExceptionReset(type, value, tb) PyErr_SetExcInfo(type, value, tb) +#endif + +/* GetException.proto */ +#if CYTHON_FAST_THREAD_STATE +#define __Pyx_GetException(type, value, tb) __Pyx__GetException(__pyx_tstate, type, value, tb) +static int __Pyx__GetException(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb); +#else +static int __Pyx_GetException(PyObject **type, PyObject **value, PyObject **tb); +#endif + +/* SwapException.proto */ +#if CYTHON_FAST_THREAD_STATE +#define __Pyx_ExceptionSwap(type, value, tb) __Pyx__ExceptionSwap(__pyx_tstate, type, value, tb) +static CYTHON_INLINE void __Pyx__ExceptionSwap(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb); +#else +static CYTHON_INLINE void __Pyx_ExceptionSwap(PyObject **type, PyObject **value, PyObject **tb); +#endif + +/* Import.proto */ +static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list, int level); + +/* ImportDottedModule.proto */ +static PyObject *__Pyx_ImportDottedModule(PyObject *name, PyObject *parts_tuple); +#if PY_MAJOR_VERSION >= 3 +static PyObject *__Pyx_ImportDottedModule_WalkParts(PyObject *module, PyObject *name, PyObject *parts_tuple); +#endif + +/* FastTypeChecks.proto */ +#if CYTHON_COMPILING_IN_CPYTHON +#define __Pyx_TypeCheck(obj, type) __Pyx_IsSubtype(Py_TYPE(obj), (PyTypeObject *)type) +#define __Pyx_TypeCheck2(obj, type1, type2) __Pyx_IsAnySubtype2(Py_TYPE(obj), (PyTypeObject *)type1, (PyTypeObject *)type2) +static CYTHON_INLINE int __Pyx_IsSubtype(PyTypeObject *a, PyTypeObject *b); +static CYTHON_INLINE int __Pyx_IsAnySubtype2(PyTypeObject *cls, PyTypeObject *a, PyTypeObject *b); +static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches(PyObject *err, PyObject *type); +static CYTHON_INLINE int __Pyx_PyErr_GivenExceptionMatches2(PyObject *err, PyObject *type1, PyObject *type2); +#else +#define __Pyx_TypeCheck(obj, type) PyObject_TypeCheck(obj, (PyTypeObject *)type) +#define __Pyx_TypeCheck2(obj, type1, type2) (PyObject_TypeCheck(obj, (PyTypeObject *)type1) || PyObject_TypeCheck(obj, (PyTypeObject *)type2)) +#define __Pyx_PyErr_GivenExceptionMatches(err, type) PyErr_GivenExceptionMatches(err, type) +#define __Pyx_PyErr_GivenExceptionMatches2(err, type1, type2) (PyErr_GivenExceptionMatches(err, type1) || PyErr_GivenExceptionMatches(err, type2)) +#endif +#define __Pyx_PyErr_ExceptionMatches2(err1, err2) __Pyx_PyErr_GivenExceptionMatches2(__Pyx_PyErr_CurrentExceptionType(), err1, err2) +#define __Pyx_PyException_Check(obj) __Pyx_TypeCheck(obj, PyExc_Exception) + +CYTHON_UNUSED static int __pyx_memoryview_getbuffer(PyObject *__pyx_v_self, Py_buffer *__pyx_v_info, int __pyx_v_flags); /*proto*/ +/* ListCompAppend.proto */ +#if CYTHON_USE_PYLIST_INTERNALS && CYTHON_ASSUME_SAFE_MACROS +static CYTHON_INLINE int __Pyx_ListComp_Append(PyObject* list, PyObject* x) { + PyListObject* L = (PyListObject*) list; + Py_ssize_t len = Py_SIZE(list); + if (likely(L->allocated > len)) { + Py_INCREF(x); + #if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000 + L->ob_item[len] = x; + #else + PyList_SET_ITEM(list, len, x); + #endif + __Pyx_SET_SIZE(list, len + 1); + return 0; + } + return PyList_Append(list, x); +} +#else +#define __Pyx_ListComp_Append(L,x) PyList_Append(L,x) +#endif + +/* PySequenceMultiply.proto */ +#define __Pyx_PySequence_Multiply_Left(mul, seq) __Pyx_PySequence_Multiply(seq, mul) +static CYTHON_INLINE PyObject* __Pyx_PySequence_Multiply(PyObject *seq, Py_ssize_t mul); + +/* SetItemInt.proto */ +#define __Pyx_SetItemInt(o, i, v, type, is_signed, to_py_func, is_list, wraparound, boundscheck)\ + (__Pyx_fits_Py_ssize_t(i, type, is_signed) ?\ + __Pyx_SetItemInt_Fast(o, (Py_ssize_t)i, v, is_list, wraparound, boundscheck) :\ + (is_list ? (PyErr_SetString(PyExc_IndexError, "list assignment index out of range"), -1) :\ + __Pyx_SetItemInt_Generic(o, to_py_func(i), v))) +static int __Pyx_SetItemInt_Generic(PyObject *o, PyObject *j, PyObject *v); +static CYTHON_INLINE int __Pyx_SetItemInt_Fast(PyObject *o, Py_ssize_t i, PyObject *v, + int is_list, int wraparound, int boundscheck); + +/* RaiseUnboundLocalError.proto */ +static CYTHON_INLINE void __Pyx_RaiseUnboundLocalError(const char *varname); + +/* DivInt[long].proto */ +static CYTHON_INLINE long __Pyx_div_long(long, long); + +/* PySequenceContains.proto */ +static CYTHON_INLINE int __Pyx_PySequence_ContainsTF(PyObject* item, PyObject* seq, int eq) { + int result = PySequence_Contains(seq, item); + return unlikely(result < 0) ? result : (result == (eq == Py_EQ)); +} + +/* ImportFrom.proto */ +static PyObject* __Pyx_ImportFrom(PyObject* module, PyObject* name); + +/* HasAttr.proto */ +#if __PYX_LIMITED_VERSION_HEX >= 0x030d00A1 +#define __Pyx_HasAttr(o, n) PyObject_HasAttrWithError(o, n) +#else +static CYTHON_INLINE int __Pyx_HasAttr(PyObject *, PyObject *); +#endif + +/* BufferIndexError.proto */ +static void __Pyx_RaiseBufferIndexError(int axis); + +/* BufferIndexErrorNogil.proto */ +static void __Pyx_RaiseBufferIndexErrorNogil(int axis); + +/* ModInt[int].proto */ +static CYTHON_INLINE int __Pyx_mod_int(int, int); + +/* ErrOccurredWithGIL.proto */ +static CYTHON_INLINE int __Pyx_ErrOccurredWithGIL(void); + +/* ModInt[Py_ssize_t].proto */ +static CYTHON_INLINE Py_ssize_t __Pyx_mod_Py_ssize_t(Py_ssize_t, Py_ssize_t); + +/* ModInt[long].proto */ +static CYTHON_INLINE long __Pyx_mod_long(long, long); + +/* PyIntBinop.proto */ +#if !CYTHON_COMPILING_IN_PYPY +static PyObject* __Pyx_PyInt_SubtractObjC(PyObject *op1, PyObject *op2, long intval, int inplace, int zerodivision_check); +#else +#define __Pyx_PyInt_SubtractObjC(op1, op2, intval, inplace, zerodivision_check)\ + (inplace ? PyNumber_InPlaceSubtract(op1, op2) : PyNumber_Subtract(op1, op2)) +#endif + +/* PyIntBinop.proto */ +#if !CYTHON_COMPILING_IN_PYPY +static PyObject* __Pyx_PyInt_AddObjC(PyObject *op1, PyObject *op2, long intval, int inplace, int zerodivision_check); +#else +#define __Pyx_PyInt_AddObjC(op1, op2, intval, inplace, zerodivision_check)\ + (inplace ? PyNumber_InPlaceAdd(op1, op2) : PyNumber_Add(op1, op2)) +#endif + +/* PyIntCompare.proto */ +static CYTHON_INLINE int __Pyx_PyInt_BoolEqObjC(PyObject *op1, PyObject *op2, long intval, long inplace); + +/* PyFloatBinop.proto */ +#if !CYTHON_COMPILING_IN_PYPY +static PyObject* __Pyx_PyFloat_TrueDivideObjC(PyObject *op1, PyObject *op2, double floatval, int inplace, int zerodivision_check); +#else +#define __Pyx_PyFloat_TrueDivideObjC(op1, op2, floatval, inplace, zerodivision_check)\ + (inplace ? PyNumber_InPlaceTrueDivide(op1, op2) : PyNumber_TrueDivide(op1, op2)) +#endif + +/* SliceTupleAndList.proto */ +#if CYTHON_COMPILING_IN_CPYTHON +static CYTHON_INLINE PyObject* __Pyx_PyList_GetSlice(PyObject* src, Py_ssize_t start, Py_ssize_t stop); +static CYTHON_INLINE PyObject* __Pyx_PyTuple_GetSlice(PyObject* src, Py_ssize_t start, Py_ssize_t stop); +#else +#define __Pyx_PyList_GetSlice(seq, start, stop) PySequence_GetSlice(seq, start, stop) +#define __Pyx_PyTuple_GetSlice(seq, start, stop) PySequence_GetSlice(seq, start, stop) +#endif + +/* IterFinish.proto */ +static CYTHON_INLINE int __Pyx_IterFinish(void); + +/* UnpackItemEndCheck.proto */ +static int __Pyx_IternextUnpackEndCheck(PyObject *retval, Py_ssize_t expected); + +/* PyFloatBinop.proto */ +#if !CYTHON_COMPILING_IN_PYPY +static PyObject* __Pyx_PyFloat_TrueDivideCObj(PyObject *op1, PyObject *op2, double floatval, int inplace, int zerodivision_check); +#else +#define __Pyx_PyFloat_TrueDivideCObj(op1, op2, floatval, inplace, zerodivision_check)\ + (inplace ? PyNumber_InPlaceTrueDivide(op1, op2) : PyNumber_TrueDivide(op1, op2)) +#endif + +/* PyIntCompare.proto */ +static CYTHON_INLINE int __Pyx_PyInt_BoolNeObjC(PyObject *op1, PyObject *op2, long intval, long inplace); + +/* PyObjectSetAttrStr.proto */ +#if CYTHON_USE_TYPE_SLOTS +#define __Pyx_PyObject_DelAttrStr(o,n) __Pyx_PyObject_SetAttrStr(o, n, NULL) +static CYTHON_INLINE int __Pyx_PyObject_SetAttrStr(PyObject* obj, PyObject* attr_name, PyObject* value); +#else +#define __Pyx_PyObject_DelAttrStr(o,n) PyObject_DelAttr(o,n) +#define __Pyx_PyObject_SetAttrStr(o,n,v) PyObject_SetAttr(o,n,v) +#endif + +/* PyFloatBinop.proto */ +#if !CYTHON_COMPILING_IN_PYPY +static PyObject* __Pyx_PyFloat_SubtractObjC(PyObject *op1, PyObject *op2, double floatval, int inplace, int zerodivision_check); +#else +#define __Pyx_PyFloat_SubtractObjC(op1, op2, floatval, inplace, zerodivision_check)\ + (inplace ? PyNumber_InPlaceSubtract(op1, op2) : PyNumber_Subtract(op1, op2)) +#endif + +/* SliceObject.proto */ +static CYTHON_INLINE PyObject* __Pyx_PyObject_GetSlice( + PyObject* obj, Py_ssize_t cstart, Py_ssize_t cstop, + PyObject** py_start, PyObject** py_stop, PyObject** py_slice, + int has_cstart, int has_cstop, int wraparound); + +/* PyObject_GenericGetAttrNoDict.proto */ +#if CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP && PY_VERSION_HEX < 0x03070000 +static CYTHON_INLINE PyObject* __Pyx_PyObject_GenericGetAttrNoDict(PyObject* obj, PyObject* attr_name); +#else +#define __Pyx_PyObject_GenericGetAttrNoDict PyObject_GenericGetAttr +#endif + +/* PyObject_GenericGetAttr.proto */ +#if CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP && PY_VERSION_HEX < 0x03070000 +static PyObject* __Pyx_PyObject_GenericGetAttr(PyObject* obj, PyObject* attr_name); +#else +#define __Pyx_PyObject_GenericGetAttr PyObject_GenericGetAttr +#endif + +/* IncludeStructmemberH.proto */ +#include + +/* FixUpExtensionType.proto */ +#if CYTHON_USE_TYPE_SPECS +static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject *type); +#endif + +/* PyObjectCallNoArg.proto */ +static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func); + +/* PyObjectGetMethod.proto */ +static int __Pyx_PyObject_GetMethod(PyObject *obj, PyObject *name, PyObject **method); + +/* PyObjectCallMethod0.proto */ +static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name); + +/* ValidateBasesTuple.proto */ +#if CYTHON_COMPILING_IN_CPYTHON || CYTHON_COMPILING_IN_LIMITED_API || CYTHON_USE_TYPE_SPECS +static int __Pyx_validate_bases_tuple(const char *type_name, Py_ssize_t dictoffset, PyObject *bases); +#endif + +/* PyType_Ready.proto */ +CYTHON_UNUSED static int __Pyx_PyType_Ready(PyTypeObject *t); + +/* SetVTable.proto */ +static int __Pyx_SetVtable(PyTypeObject* typeptr , void* vtable); + +/* GetVTable.proto */ +static void* __Pyx_GetVtable(PyTypeObject *type); + +/* MergeVTables.proto */ +#if !CYTHON_COMPILING_IN_LIMITED_API +static int __Pyx_MergeVtables(PyTypeObject *type); +#endif + +/* SetupReduce.proto */ +#if !CYTHON_COMPILING_IN_LIMITED_API +static int __Pyx_setup_reduce(PyObject* type_obj); +#endif + +/* TypeImport.proto */ +#ifndef __PYX_HAVE_RT_ImportType_proto_3_0_9 +#define __PYX_HAVE_RT_ImportType_proto_3_0_9 +#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L +#include +#endif +#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || __cplusplus >= 201103L +#define __PYX_GET_STRUCT_ALIGNMENT_3_0_9(s) alignof(s) +#else +#define __PYX_GET_STRUCT_ALIGNMENT_3_0_9(s) sizeof(void*) +#endif +enum __Pyx_ImportType_CheckSize_3_0_9 { + __Pyx_ImportType_CheckSize_Error_3_0_9 = 0, + __Pyx_ImportType_CheckSize_Warn_3_0_9 = 1, + __Pyx_ImportType_CheckSize_Ignore_3_0_9 = 2 +}; +static PyTypeObject *__Pyx_ImportType_3_0_9(PyObject* module, const char *module_name, const char *class_name, size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_0_9 check_size); +#endif + +/* FetchSharedCythonModule.proto */ +static PyObject *__Pyx_FetchSharedCythonABIModule(void); + +/* FetchCommonType.proto */ +#if !CYTHON_USE_TYPE_SPECS +static PyTypeObject* __Pyx_FetchCommonType(PyTypeObject* type); +#else +static PyTypeObject* __Pyx_FetchCommonTypeFromSpec(PyObject *module, PyType_Spec *spec, PyObject *bases); +#endif + +/* PyMethodNew.proto */ +#if CYTHON_COMPILING_IN_LIMITED_API +static PyObject *__Pyx_PyMethod_New(PyObject *func, PyObject *self, PyObject *typ) { + PyObject *typesModule=NULL, *methodType=NULL, *result=NULL; + CYTHON_UNUSED_VAR(typ); + if (!self) + return __Pyx_NewRef(func); + typesModule = PyImport_ImportModule("types"); + if (!typesModule) return NULL; + methodType = PyObject_GetAttrString(typesModule, "MethodType"); + Py_DECREF(typesModule); + if (!methodType) return NULL; + result = PyObject_CallFunctionObjArgs(methodType, func, self, NULL); + Py_DECREF(methodType); + return result; +} +#elif PY_MAJOR_VERSION >= 3 +static PyObject *__Pyx_PyMethod_New(PyObject *func, PyObject *self, PyObject *typ) { + CYTHON_UNUSED_VAR(typ); + if (!self) + return __Pyx_NewRef(func); + return PyMethod_New(func, self); +} +#else + #define __Pyx_PyMethod_New PyMethod_New +#endif + +/* PyVectorcallFastCallDict.proto */ +#if CYTHON_METH_FASTCALL +static CYTHON_INLINE PyObject *__Pyx_PyVectorcall_FastCallDict(PyObject *func, __pyx_vectorcallfunc vc, PyObject *const *args, size_t nargs, PyObject *kw); +#endif + +/* CythonFunctionShared.proto */ +#define __Pyx_CyFunction_USED +#define __Pyx_CYFUNCTION_STATICMETHOD 0x01 +#define __Pyx_CYFUNCTION_CLASSMETHOD 0x02 +#define __Pyx_CYFUNCTION_CCLASS 0x04 +#define __Pyx_CYFUNCTION_COROUTINE 0x08 +#define __Pyx_CyFunction_GetClosure(f)\ + (((__pyx_CyFunctionObject *) (f))->func_closure) +#if PY_VERSION_HEX < 0x030900B1 || CYTHON_COMPILING_IN_LIMITED_API + #define __Pyx_CyFunction_GetClassObj(f)\ + (((__pyx_CyFunctionObject *) (f))->func_classobj) +#else + #define __Pyx_CyFunction_GetClassObj(f)\ + ((PyObject*) ((PyCMethodObject *) (f))->mm_class) +#endif +#define __Pyx_CyFunction_SetClassObj(f, classobj)\ + __Pyx__CyFunction_SetClassObj((__pyx_CyFunctionObject *) (f), (classobj)) +#define __Pyx_CyFunction_Defaults(type, f)\ + ((type *)(((__pyx_CyFunctionObject *) (f))->defaults)) +#define __Pyx_CyFunction_SetDefaultsGetter(f, g)\ + ((__pyx_CyFunctionObject *) (f))->defaults_getter = (g) +typedef struct { +#if CYTHON_COMPILING_IN_LIMITED_API + PyObject_HEAD + PyObject *func; +#elif PY_VERSION_HEX < 0x030900B1 + PyCFunctionObject func; +#else + PyCMethodObject func; +#endif +#if CYTHON_BACKPORT_VECTORCALL + __pyx_vectorcallfunc func_vectorcall; +#endif +#if PY_VERSION_HEX < 0x030500A0 || CYTHON_COMPILING_IN_LIMITED_API + PyObject *func_weakreflist; +#endif + PyObject *func_dict; + PyObject *func_name; + PyObject *func_qualname; + PyObject *func_doc; + PyObject *func_globals; + PyObject *func_code; + PyObject *func_closure; +#if PY_VERSION_HEX < 0x030900B1 || CYTHON_COMPILING_IN_LIMITED_API + PyObject *func_classobj; +#endif + void *defaults; + int defaults_pyobjects; + size_t defaults_size; + int flags; + PyObject *defaults_tuple; + PyObject *defaults_kwdict; + PyObject *(*defaults_getter)(PyObject *); + PyObject *func_annotations; + PyObject *func_is_coroutine; +} __pyx_CyFunctionObject; +#undef __Pyx_CyOrPyCFunction_Check +#define __Pyx_CyFunction_Check(obj) __Pyx_TypeCheck(obj, __pyx_CyFunctionType) +#define __Pyx_CyOrPyCFunction_Check(obj) __Pyx_TypeCheck2(obj, __pyx_CyFunctionType, &PyCFunction_Type) +#define __Pyx_CyFunction_CheckExact(obj) __Pyx_IS_TYPE(obj, __pyx_CyFunctionType) +static CYTHON_INLINE int __Pyx__IsSameCyOrCFunction(PyObject *func, void *cfunc); +#undef __Pyx_IsSameCFunction +#define __Pyx_IsSameCFunction(func, cfunc) __Pyx__IsSameCyOrCFunction(func, cfunc) +static PyObject *__Pyx_CyFunction_Init(__pyx_CyFunctionObject* op, PyMethodDef *ml, + int flags, PyObject* qualname, + PyObject *closure, + PyObject *module, PyObject *globals, + PyObject* code); +static CYTHON_INLINE void __Pyx__CyFunction_SetClassObj(__pyx_CyFunctionObject* f, PyObject* classobj); +static CYTHON_INLINE void *__Pyx_CyFunction_InitDefaults(PyObject *m, + size_t size, + int pyobjects); +static CYTHON_INLINE void __Pyx_CyFunction_SetDefaultsTuple(PyObject *m, + PyObject *tuple); +static CYTHON_INLINE void __Pyx_CyFunction_SetDefaultsKwDict(PyObject *m, + PyObject *dict); +static CYTHON_INLINE void __Pyx_CyFunction_SetAnnotationsDict(PyObject *m, + PyObject *dict); +static int __pyx_CyFunction_init(PyObject *module); +#if CYTHON_METH_FASTCALL +static PyObject * __Pyx_CyFunction_Vectorcall_NOARGS(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames); +static PyObject * __Pyx_CyFunction_Vectorcall_O(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames); +static PyObject * __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames); +static PyObject * __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS_METHOD(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames); +#if CYTHON_BACKPORT_VECTORCALL +#define __Pyx_CyFunction_func_vectorcall(f) (((__pyx_CyFunctionObject*)f)->func_vectorcall) +#else +#define __Pyx_CyFunction_func_vectorcall(f) (((PyCFunctionObject*)f)->vectorcall) +#endif +#endif + +/* CythonFunction.proto */ +static PyObject *__Pyx_CyFunction_New(PyMethodDef *ml, + int flags, PyObject* qualname, + PyObject *closure, + PyObject *module, PyObject *globals, + PyObject* code); + +/* CLineInTraceback.proto */ +#ifdef CYTHON_CLINE_IN_TRACEBACK +#define __Pyx_CLineForTraceback(tstate, c_line) (((CYTHON_CLINE_IN_TRACEBACK)) ? c_line : 0) +#else +static int __Pyx_CLineForTraceback(PyThreadState *tstate, int c_line); +#endif + +/* CodeObjectCache.proto */ +#if !CYTHON_COMPILING_IN_LIMITED_API +typedef struct { + PyCodeObject* code_object; + int code_line; +} __Pyx_CodeObjectCacheEntry; +struct __Pyx_CodeObjectCache { + int count; + int max_count; + __Pyx_CodeObjectCacheEntry* entries; +}; +static struct __Pyx_CodeObjectCache __pyx_code_cache = {0,0,NULL}; +static int __pyx_bisect_code_objects(__Pyx_CodeObjectCacheEntry* entries, int count, int code_line); +static PyCodeObject *__pyx_find_code_object(int code_line); +static void __pyx_insert_code_object(int code_line, PyCodeObject* code_object); +#endif + +/* AddTraceback.proto */ +static void __Pyx_AddTraceback(const char *funcname, int c_line, + int py_line, const char *filename); + +#if PY_MAJOR_VERSION < 3 + static int __Pyx_GetBuffer(PyObject *obj, Py_buffer *view, int flags); + static void __Pyx_ReleaseBuffer(Py_buffer *view); +#else + #define __Pyx_GetBuffer PyObject_GetBuffer + #define __Pyx_ReleaseBuffer PyBuffer_Release +#endif + + +/* BufferStructDeclare.proto */ +typedef struct { + Py_ssize_t shape, strides, suboffsets; +} __Pyx_Buf_DimInfo; +typedef struct { + size_t refcount; + Py_buffer pybuffer; +} __Pyx_Buffer; +typedef struct { + __Pyx_Buffer *rcbuffer; + char *data; + __Pyx_Buf_DimInfo diminfo[8]; +} __Pyx_LocalBuf_ND; + +/* MemviewSliceIsContig.proto */ +static int __pyx_memviewslice_is_contig(const __Pyx_memviewslice mvs, char order, int ndim); + +/* OverlappingSlices.proto */ +static int __pyx_slices_overlap(__Pyx_memviewslice *slice1, + __Pyx_memviewslice *slice2, + int ndim, size_t itemsize); + +/* IsLittleEndian.proto */ +static CYTHON_INLINE int __Pyx_Is_Little_Endian(void); + +/* BufferFormatCheck.proto */ +static const char* __Pyx_BufFmt_CheckString(__Pyx_BufFmt_Context* ctx, const char* ts); +static void __Pyx_BufFmt_Init(__Pyx_BufFmt_Context* ctx, + __Pyx_BufFmt_StackElem* stack, + __Pyx_TypeInfo* type); + +/* TypeInfoCompare.proto */ +static int __pyx_typeinfo_cmp(__Pyx_TypeInfo *a, __Pyx_TypeInfo *b); + +/* MemviewSliceValidateAndInit.proto */ +static int __Pyx_ValidateAndInit_memviewslice( + int *axes_specs, + int c_or_f_flag, + int buf_flags, + int ndim, + __Pyx_TypeInfo *dtype, + __Pyx_BufFmt_StackElem stack[], + __Pyx_memviewslice *memviewslice, + PyObject *original_obj); + +/* ObjectToMemviewSlice.proto */ +static CYTHON_INLINE __Pyx_memviewslice __Pyx_PyObject_to_MemoryviewSlice_ds_float(PyObject *, int writable_flag); + +/* MemviewDtypeToObject.proto */ +static CYTHON_INLINE PyObject *__pyx_memview_get_float(const char *itemp); +static CYTHON_INLINE int __pyx_memview_set_float(const char *itemp, PyObject *obj); + +/* ObjectToMemviewSlice.proto */ +static CYTHON_INLINE __Pyx_memviewslice __Pyx_PyObject_to_MemoryviewSlice_ds_int(PyObject *, int writable_flag); + +/* MemviewDtypeToObject.proto */ +static CYTHON_INLINE PyObject *__pyx_memview_get_int(const char *itemp); +static CYTHON_INLINE int __pyx_memview_set_int(const char *itemp, PyObject *obj); + +/* ObjectToMemviewSlice.proto */ +static CYTHON_INLINE __Pyx_memviewslice __Pyx_PyObject_to_MemoryviewSlice_ds_double(PyObject *, int writable_flag); + +/* MemviewDtypeToObject.proto */ +static CYTHON_INLINE PyObject *__pyx_memview_get_double(const char *itemp); +static CYTHON_INLINE int __pyx_memview_set_double(const char *itemp, PyObject *obj); + +/* RealImag.proto */ +#if CYTHON_CCOMPLEX + #ifdef __cplusplus + #define __Pyx_CREAL(z) ((z).real()) + #define __Pyx_CIMAG(z) ((z).imag()) + #else + #define __Pyx_CREAL(z) (__real__(z)) + #define __Pyx_CIMAG(z) (__imag__(z)) + #endif +#else + #define __Pyx_CREAL(z) ((z).real) + #define __Pyx_CIMAG(z) ((z).imag) +#endif +#if defined(__cplusplus) && CYTHON_CCOMPLEX\ + && (defined(_WIN32) || defined(__clang__) || (defined(__GNUC__) && (__GNUC__ >= 5 || __GNUC__ == 4 && __GNUC_MINOR__ >= 4 )) || __cplusplus >= 201103) + #define __Pyx_SET_CREAL(z,x) ((z).real(x)) + #define __Pyx_SET_CIMAG(z,y) ((z).imag(y)) +#else + #define __Pyx_SET_CREAL(z,x) __Pyx_CREAL(z) = (x) + #define __Pyx_SET_CIMAG(z,y) __Pyx_CIMAG(z) = (y) +#endif + +/* Arithmetic.proto */ +#if CYTHON_CCOMPLEX && (1) && (!0 || __cplusplus) + #define __Pyx_c_eq_float(a, b) ((a)==(b)) + #define __Pyx_c_sum_float(a, b) ((a)+(b)) + #define __Pyx_c_diff_float(a, b) ((a)-(b)) + #define __Pyx_c_prod_float(a, b) ((a)*(b)) + #define __Pyx_c_quot_float(a, b) ((a)/(b)) + #define __Pyx_c_neg_float(a) (-(a)) + #ifdef __cplusplus + #define __Pyx_c_is_zero_float(z) ((z)==(float)0) + #define __Pyx_c_conj_float(z) (::std::conj(z)) + #if 1 + #define __Pyx_c_abs_float(z) (::std::abs(z)) + #define __Pyx_c_pow_float(a, b) (::std::pow(a, b)) + #endif + #else + #define __Pyx_c_is_zero_float(z) ((z)==0) + #define __Pyx_c_conj_float(z) (conjf(z)) + #if 1 + #define __Pyx_c_abs_float(z) (cabsf(z)) + #define __Pyx_c_pow_float(a, b) (cpowf(a, b)) + #endif + #endif +#else + static CYTHON_INLINE int __Pyx_c_eq_float(__pyx_t_float_complex, __pyx_t_float_complex); + static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_sum_float(__pyx_t_float_complex, __pyx_t_float_complex); + static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_diff_float(__pyx_t_float_complex, __pyx_t_float_complex); + static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_prod_float(__pyx_t_float_complex, __pyx_t_float_complex); + static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_quot_float(__pyx_t_float_complex, __pyx_t_float_complex); + static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_neg_float(__pyx_t_float_complex); + static CYTHON_INLINE int __Pyx_c_is_zero_float(__pyx_t_float_complex); + static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_conj_float(__pyx_t_float_complex); + #if 1 + static CYTHON_INLINE float __Pyx_c_abs_float(__pyx_t_float_complex); + static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_pow_float(__pyx_t_float_complex, __pyx_t_float_complex); + #endif +#endif + +/* Arithmetic.proto */ +#if CYTHON_CCOMPLEX && (1) && (!0 || __cplusplus) + #define __Pyx_c_eq_double(a, b) ((a)==(b)) + #define __Pyx_c_sum_double(a, b) ((a)+(b)) + #define __Pyx_c_diff_double(a, b) ((a)-(b)) + #define __Pyx_c_prod_double(a, b) ((a)*(b)) + #define __Pyx_c_quot_double(a, b) ((a)/(b)) + #define __Pyx_c_neg_double(a) (-(a)) + #ifdef __cplusplus + #define __Pyx_c_is_zero_double(z) ((z)==(double)0) + #define __Pyx_c_conj_double(z) (::std::conj(z)) + #if 1 + #define __Pyx_c_abs_double(z) (::std::abs(z)) + #define __Pyx_c_pow_double(a, b) (::std::pow(a, b)) + #endif + #else + #define __Pyx_c_is_zero_double(z) ((z)==0) + #define __Pyx_c_conj_double(z) (conj(z)) + #if 1 + #define __Pyx_c_abs_double(z) (cabs(z)) + #define __Pyx_c_pow_double(a, b) (cpow(a, b)) + #endif + #endif +#else + static CYTHON_INLINE int __Pyx_c_eq_double(__pyx_t_double_complex, __pyx_t_double_complex); + static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_sum_double(__pyx_t_double_complex, __pyx_t_double_complex); + static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_diff_double(__pyx_t_double_complex, __pyx_t_double_complex); + static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_prod_double(__pyx_t_double_complex, __pyx_t_double_complex); + static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_quot_double(__pyx_t_double_complex, __pyx_t_double_complex); + static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_neg_double(__pyx_t_double_complex); + static CYTHON_INLINE int __Pyx_c_is_zero_double(__pyx_t_double_complex); + static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_conj_double(__pyx_t_double_complex); + #if 1 + static CYTHON_INLINE double __Pyx_c_abs_double(__pyx_t_double_complex); + static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_pow_double(__pyx_t_double_complex, __pyx_t_double_complex); + #endif +#endif + +/* MemviewSliceCopyTemplate.proto */ +static __Pyx_memviewslice +__pyx_memoryview_copy_new_contig(const __Pyx_memviewslice *from_mvs, + const char *mode, int ndim, + size_t sizeof_dtype, int contig_flag, + int dtype_is_object); + +/* MemviewSliceInit.proto */ +#define __Pyx_BUF_MAX_NDIMS %(BUF_MAX_NDIMS)d +#define __Pyx_MEMVIEW_DIRECT 1 +#define __Pyx_MEMVIEW_PTR 2 +#define __Pyx_MEMVIEW_FULL 4 +#define __Pyx_MEMVIEW_CONTIG 8 +#define __Pyx_MEMVIEW_STRIDED 16 +#define __Pyx_MEMVIEW_FOLLOW 32 +#define __Pyx_IS_C_CONTIG 1 +#define __Pyx_IS_F_CONTIG 2 +static int __Pyx_init_memviewslice( + struct __pyx_memoryview_obj *memview, + int ndim, + __Pyx_memviewslice *memviewslice, + int memview_is_new_reference); +static CYTHON_INLINE int __pyx_add_acquisition_count_locked( + __pyx_atomic_int_type *acquisition_count, PyThread_type_lock lock); +static CYTHON_INLINE int __pyx_sub_acquisition_count_locked( + __pyx_atomic_int_type *acquisition_count, PyThread_type_lock lock); +#define __pyx_get_slice_count_pointer(memview) (&memview->acquisition_count) +#define __PYX_INC_MEMVIEW(slice, have_gil) __Pyx_INC_MEMVIEW(slice, have_gil, __LINE__) +#define __PYX_XCLEAR_MEMVIEW(slice, have_gil) __Pyx_XCLEAR_MEMVIEW(slice, have_gil, __LINE__) +static CYTHON_INLINE void __Pyx_INC_MEMVIEW(__Pyx_memviewslice *, int, int); +static CYTHON_INLINE void __Pyx_XCLEAR_MEMVIEW(__Pyx_memviewslice *, int, int); + +/* CIntFromPy.proto */ +static CYTHON_INLINE int __Pyx_PyInt_As_int(PyObject *); + +/* CIntToPy.proto */ +static CYTHON_INLINE PyObject* __Pyx_PyInt_From_int(int value); + +/* CIntToPy.proto */ +static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value); + +/* CIntFromPy.proto */ +static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *); + +/* CIntFromPy.proto */ +static CYTHON_INLINE char __Pyx_PyInt_As_char(PyObject *); + +/* FormatTypeName.proto */ +#if CYTHON_COMPILING_IN_LIMITED_API +typedef PyObject *__Pyx_TypeName; +#define __Pyx_FMT_TYPENAME "%U" +static __Pyx_TypeName __Pyx_PyType_GetName(PyTypeObject* tp); +#define __Pyx_DECREF_TypeName(obj) Py_XDECREF(obj) +#else +typedef const char *__Pyx_TypeName; +#define __Pyx_FMT_TYPENAME "%.200s" +#define __Pyx_PyType_GetName(tp) ((tp)->tp_name) +#define __Pyx_DECREF_TypeName(obj) +#endif + +/* CheckBinaryVersion.proto */ +static unsigned long __Pyx_get_runtime_version(void); +static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer); + +/* InitStrings.proto */ +static int __Pyx_InitStrings(__Pyx_StringTabEntry *t); + +/* #### Code section: module_declarations ### */ +static PyObject *__pyx_array_get_memview(struct __pyx_array_obj *__pyx_v_self); /* proto*/ +static char *__pyx_memoryview_get_item_pointer(struct __pyx_memoryview_obj *__pyx_v_self, PyObject *__pyx_v_index); /* proto*/ +static PyObject *__pyx_memoryview_is_slice(struct __pyx_memoryview_obj *__pyx_v_self, PyObject *__pyx_v_obj); /* proto*/ +static PyObject *__pyx_memoryview_setitem_slice_assignment(struct __pyx_memoryview_obj *__pyx_v_self, PyObject *__pyx_v_dst, PyObject *__pyx_v_src); /* proto*/ +static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memoryview_obj *__pyx_v_self, struct __pyx_memoryview_obj *__pyx_v_dst, PyObject *__pyx_v_value); /* proto*/ +static PyObject *__pyx_memoryview_setitem_indexed(struct __pyx_memoryview_obj *__pyx_v_self, PyObject *__pyx_v_index, PyObject *__pyx_v_value); /* proto*/ +static PyObject *__pyx_memoryview_convert_item_to_object(struct __pyx_memoryview_obj *__pyx_v_self, char *__pyx_v_itemp); /* proto*/ +static PyObject *__pyx_memoryview_assign_item_from_object(struct __pyx_memoryview_obj *__pyx_v_self, char *__pyx_v_itemp, PyObject *__pyx_v_value); /* proto*/ +static PyObject *__pyx_memoryview__get_base(struct __pyx_memoryview_obj *__pyx_v_self); /* proto*/ +static PyObject *__pyx_memoryviewslice_convert_item_to_object(struct __pyx_memoryviewslice_obj *__pyx_v_self, char *__pyx_v_itemp); /* proto*/ +static PyObject *__pyx_memoryviewslice_assign_item_from_object(struct __pyx_memoryviewslice_obj *__pyx_v_self, char *__pyx_v_itemp, PyObject *__pyx_v_value); /* proto*/ +static PyObject *__pyx_memoryviewslice__get_base(struct __pyx_memoryviewslice_obj *__pyx_v_self); /* proto*/ +static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject *__pyx_v_self); /* proto*/ +static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArrayObject *__pyx_v_self); /* proto*/ +static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx_v_self); /* proto*/ +static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObject *__pyx_v_self); /* proto*/ +static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayObject *__pyx_v_self); /* proto*/ +static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *__pyx_v_self); /* proto*/ +static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__pyx_v_self); /* proto*/ + +/* Module declarations from "libc.math" */ + +/* Module declarations from "libc.string" */ + +/* Module declarations from "libc.stdio" */ + +/* Module declarations from "__builtin__" */ + +/* Module declarations from "cpython.type" */ + +/* Module declarations from "cpython" */ + +/* Module declarations from "cpython.object" */ + +/* Module declarations from "cpython.ref" */ + +/* Module declarations from "numpy" */ + +/* Module declarations from "numpy" */ + +/* Module declarations from "libc.stdlib" */ + +/* Module declarations from "anomaly_detector.univariate._anomaly_kernel_cython" */ +static float __pyx_v_16anomaly_detector_10univariate_22_anomaly_kernel_cython_Constant; +static float __pyx_v_16anomaly_detector_10univariate_22_anomaly_kernel_cython_EPS; +static PyObject *__pyx_collections_abc_Sequence = 0; +static PyObject *generic = 0; +static PyObject *strided = 0; +static PyObject *indirect = 0; +static PyObject *contiguous = 0; +static PyObject *indirect_contiguous = 0; +static int __pyx_memoryview_thread_locks_used; +static PyThread_type_lock __pyx_memoryview_thread_locks[8]; +static int __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_partition(__Pyx_memviewslice, int, int, int, int __pyx_skip_dispatch); /*proto*/ +static float __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_select(__Pyx_memviewslice, int, int, int, int __pyx_skip_dispatch); /*proto*/ +static float __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_quick_select(__Pyx_memviewslice, int, int __pyx_skip_dispatch); /*proto*/ +static float __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_fast_median(__Pyx_memviewslice, int __pyx_skip_dispatch); /*proto*/ +static float __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_calculate_esd_values(int, float, int, int __pyx_skip_dispatch, struct __pyx_opt_args_16anomaly_detector_10univariate_22_anomaly_kernel_cython_calculate_esd_values *__pyx_optional_args); /*proto*/ +static float __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_sorted_median(__Pyx_memviewslice, int, int, int __pyx_skip_dispatch); /*proto*/ +static float __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_find_median_sorted_arrays(__Pyx_memviewslice, __Pyx_memviewslice, float, int __pyx_skip_dispatch); /*proto*/ +static int __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_check_anomaly_status(float, float, float, float, int, int __pyx_skip_dispatch); /*proto*/ +static PyObject *__pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_dynamic_threshold(PyObject *, PyObject *, int, float, int, int, int __pyx_skip_dispatch); /*proto*/ +static PyObject *__pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_generalized_esd_test(PyObject *, PyObject *, int, PyObject *, int, int, int __pyx_skip_dispatch); /*proto*/ +static PyObject *__pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_max_gcv(PyArrayObject *, PyArrayObject *, int __pyx_skip_dispatch); /*proto*/ +static PyObject *__pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_gcv(PyArrayObject *, int, int __pyx_skip_dispatch); /*proto*/ +static PyObject *__pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_median_filter(PyArrayObject *, int, int __pyx_skip_dispatch, struct __pyx_opt_args_16anomaly_detector_10univariate_22_anomaly_kernel_cython_median_filter *__pyx_optional_args); /*proto*/ +static PyObject *__pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_is_straight(PyArrayObject *, int, int __pyx_skip_dispatch); /*proto*/ +static PyObject *__pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_remove_anomaly_in_bucket(PyArrayObject *, int, int __pyx_skip_dispatch); /*proto*/ +static int __pyx_array_allocate_buffer(struct __pyx_array_obj *); /*proto*/ +static struct __pyx_array_obj *__pyx_array_new(PyObject *, Py_ssize_t, char *, char *, char *); /*proto*/ +static PyObject *__pyx_memoryview_new(PyObject *, int, int, __Pyx_TypeInfo *); /*proto*/ +static CYTHON_INLINE int __pyx_memoryview_check(PyObject *); /*proto*/ +static PyObject *_unellipsify(PyObject *, int); /*proto*/ +static int assert_direct_dimensions(Py_ssize_t *, int); /*proto*/ +static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_obj *, PyObject *); /*proto*/ +static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *, Py_ssize_t, Py_ssize_t, Py_ssize_t, int, int, int *, Py_ssize_t, Py_ssize_t, Py_ssize_t, int, int, int, int); /*proto*/ +static char *__pyx_pybuffer_index(Py_buffer *, char *, Py_ssize_t, Py_ssize_t); /*proto*/ +static int __pyx_memslice_transpose(__Pyx_memviewslice *); /*proto*/ +static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice, int, PyObject *(*)(char *), int (*)(char *, PyObject *), int); /*proto*/ +static __Pyx_memviewslice *__pyx_memoryview_get_slice_from_memoryview(struct __pyx_memoryview_obj *, __Pyx_memviewslice *); /*proto*/ +static void __pyx_memoryview_slice_copy(struct __pyx_memoryview_obj *, __Pyx_memviewslice *); /*proto*/ +static PyObject *__pyx_memoryview_copy_object(struct __pyx_memoryview_obj *); /*proto*/ +static PyObject *__pyx_memoryview_copy_object_from_slice(struct __pyx_memoryview_obj *, __Pyx_memviewslice *); /*proto*/ +static Py_ssize_t abs_py_ssize_t(Py_ssize_t); /*proto*/ +static char __pyx_get_best_slice_order(__Pyx_memviewslice *, int); /*proto*/ +static void _copy_strided_to_strided(char *, Py_ssize_t *, char *, Py_ssize_t *, Py_ssize_t *, Py_ssize_t *, int, size_t); /*proto*/ +static void copy_strided_to_strided(__Pyx_memviewslice *, __Pyx_memviewslice *, int, size_t); /*proto*/ +static Py_ssize_t __pyx_memoryview_slice_get_size(__Pyx_memviewslice *, int); /*proto*/ +static Py_ssize_t __pyx_fill_contig_strides_array(Py_ssize_t *, Py_ssize_t *, Py_ssize_t, int, char); /*proto*/ +static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *, __Pyx_memviewslice *, char, int); /*proto*/ +static int __pyx_memoryview_err_extents(int, Py_ssize_t, Py_ssize_t); /*proto*/ +static int __pyx_memoryview_err_dim(PyObject *, PyObject *, int); /*proto*/ +static int __pyx_memoryview_err(PyObject *, PyObject *); /*proto*/ +static int __pyx_memoryview_err_no_memory(void); /*proto*/ +static int __pyx_memoryview_copy_contents(__Pyx_memviewslice, __Pyx_memviewslice, int, int, int); /*proto*/ +static void __pyx_memoryview_broadcast_leading(__Pyx_memviewslice *, int, int); /*proto*/ +static void __pyx_memoryview_refcount_copying(__Pyx_memviewslice *, int, int, int); /*proto*/ +static void __pyx_memoryview_refcount_objects_in_slice_with_gil(char *, Py_ssize_t *, Py_ssize_t *, int, int); /*proto*/ +static void __pyx_memoryview_refcount_objects_in_slice(char *, Py_ssize_t *, Py_ssize_t *, int, int); /*proto*/ +static void __pyx_memoryview_slice_assign_scalar(__Pyx_memviewslice *, int, size_t, void *, int); /*proto*/ +static void __pyx_memoryview__slice_assign_scalar(char *, Py_ssize_t *, Py_ssize_t *, int, size_t, void *); /*proto*/ +static PyObject *__pyx_unpickle_Enum__set_state(struct __pyx_MemviewEnum_obj *, PyObject *); /*proto*/ +/* #### Code section: typeinfo ### */ +static __Pyx_TypeInfo __Pyx_TypeInfo_float = { "float", NULL, sizeof(float), { 0 }, 0, 'R', 0, 0 }; +static __Pyx_TypeInfo __Pyx_TypeInfo_int = { "int", NULL, sizeof(int), { 0 }, 0, __PYX_IS_UNSIGNED(int) ? 'U' : 'I', __PYX_IS_UNSIGNED(int), 0 }; +static __Pyx_TypeInfo __Pyx_TypeInfo_double = { "double", NULL, sizeof(double), { 0 }, 0, 'R', 0, 0 }; +/* #### Code section: before_global_var ### */ +#define __Pyx_MODULE_NAME "anomaly_detector.univariate._anomaly_kernel_cython" +extern int __pyx_module_is_main_anomaly_detector__univariate___anomaly_kernel_cython; +int __pyx_module_is_main_anomaly_detector__univariate___anomaly_kernel_cython = 0; + +/* Implementation of "anomaly_detector.univariate._anomaly_kernel_cython" */ +/* #### Code section: global_var ### */ +static PyObject *__pyx_builtin_range; +static PyObject *__pyx_builtin_enumerate; +static PyObject *__pyx_builtin_zip; +static PyObject *__pyx_builtin___import__; +static PyObject *__pyx_builtin_ValueError; +static PyObject *__pyx_builtin_MemoryError; +static PyObject *__pyx_builtin_TypeError; +static PyObject *__pyx_builtin_AssertionError; +static PyObject *__pyx_builtin_Ellipsis; +static PyObject *__pyx_builtin_id; +static PyObject *__pyx_builtin_IndexError; +static PyObject *__pyx_builtin_ImportError; +/* #### Code section: string_decls ### */ +static const char __pyx_k_[] = ": "; +static const char __pyx_k_O[] = "O"; +static const char __pyx_k_a[] = "a"; +static const char __pyx_k_b[] = "b"; +static const char __pyx_k_c[] = "c"; +static const char __pyx_k_d[] = "d"; +static const char __pyx_k_f[] = "f"; +static const char __pyx_k_i[] = "i"; +static const char __pyx_k_j[] = "j"; +static const char __pyx_k_k[] = "k"; +static const char __pyx_k_n[] = "n"; +static const char __pyx_k_t[] = "t"; +static const char __pyx_k_x[] = "x"; +static const char __pyx_k__2[] = "."; +static const char __pyx_k__3[] = "*"; +static const char __pyx_k__6[] = "'"; +static const char __pyx_k__7[] = ")"; +static const char __pyx_k_gc[] = "gc"; +static const char __pyx_k_id[] = "id"; +static const char __pyx_k_np[] = "np"; +static const char __pyx_k__59[] = "?"; +static const char __pyx_k_abc[] = "abc"; +static const char __pyx_k_abs[] = "abs"; +static const char __pyx_k_and[] = " and "; +static const char __pyx_k_fft[] = "fft"; +static const char __pyx_k_gcv[] = "gcv"; +static const char __pyx_k_got[] = " (got "; +static const char __pyx_k_inf[] = "inf"; +static const char __pyx_k_mag[] = "mag"; +static const char __pyx_k_new[] = "__new__"; +static const char __pyx_k_obj[] = "obj"; +static const char __pyx_k_ppf[] = "ppf"; +static const char __pyx_k_std[] = "std"; +static const char __pyx_k_sys[] = "sys"; +static const char __pyx_k_var[] = "var"; +static const char __pyx_k_zip[] = "zip"; +static const char __pyx_k_base[] = "base"; +static const char __pyx_k_data[] = "data"; +static const char __pyx_k_dict[] = "__dict__"; +static const char __pyx_k_fabs[] = "fabs"; +static const char __pyx_k_ifft[] = "ifft"; +static const char __pyx_k_imag[] = "imag"; +static const char __pyx_k_left[] = "left"; +static const char __pyx_k_main[] = "__main__"; +static const char __pyx_k_mean[] = "mean"; +static const char __pyx_k_mode[] = "mode"; +static const char __pyx_k_name[] = "name"; +static const char __pyx_k_ndim[] = "ndim"; +static const char __pyx_k_norm[] = "norm"; +static const char __pyx_k_pack[] = "pack"; +static const char __pyx_k_real[] = "real"; +static const char __pyx_k_size[] = "size"; +static const char __pyx_k_spec[] = "__spec__"; +static const char __pyx_k_sqrt[] = "sqrt"; +static const char __pyx_k_step[] = "step"; +static const char __pyx_k_stop[] = "stop"; +static const char __pyx_k_test[] = "__test__"; +static const char __pyx_k_ASCII[] = "ASCII"; +static const char __pyx_k_alpha[] = "alpha"; +static const char __pyx_k_array[] = "array"; +static const char __pyx_k_class[] = "__class__"; +static const char __pyx_k_count[] = "count"; +static const char __pyx_k_dtype[] = "dtype"; +static const char __pyx_k_empty[] = "empty"; +static const char __pyx_k_error[] = "error"; +static const char __pyx_k_flags[] = "flags"; +static const char __pyx_k_iimag[] = "iimag"; +static const char __pyx_k_index[] = "index"; +static const char __pyx_k_ireal[] = "ireal"; +static const char __pyx_k_numpy[] = "numpy"; +static const char __pyx_k_range[] = "range"; +static const char __pyx_k_right[] = "right"; +static const char __pyx_k_shape[] = "shape"; +static const char __pyx_k_start[] = "start"; +static const char __pyx_k_table[] = "table"; +static const char __pyx_k_trans[] = "trans"; +static const char __pyx_k_value[] = "value"; +static const char __pyx_k_where[] = "where"; +static const char __pyx_k_zeros[] = "zeros"; +static const char __pyx_k_bisect[] = "bisect"; +static const char __pyx_k_enable[] = "enable"; +static const char __pyx_k_encode[] = "encode"; +static const char __pyx_k_format[] = "format"; +static const char __pyx_k_import[] = "__import__"; +static const char __pyx_k_median[] = "median"; +static const char __pyx_k_name_2[] = "__name__"; +static const char __pyx_k_period[] = "period"; +static const char __pyx_k_pickle[] = "pickle"; +static const char __pyx_k_reduce[] = "__reduce__"; +static const char __pyx_k_select[] = "select"; +static const char __pyx_k_struct[] = "struct"; +static const char __pyx_k_unpack[] = "unpack"; +static const char __pyx_k_update[] = "update"; +static const char __pyx_k_values[] = "values"; +static const char __pyx_k_wave_r[] = "wave_r"; +static const char __pyx_k_window[] = "window"; +static const char __pyx_k_current[] = "current"; +static const char __pyx_k_disable[] = "disable"; +static const char __pyx_k_fortran[] = "fortran"; +static const char __pyx_k_isclose[] = "isclose"; +static const char __pyx_k_max_gcv[] = "max_gcv"; +static const char __pyx_k_memview[] = "memview"; +static const char __pyx_k_periods[] = "periods"; +static const char __pyx_k_Ellipsis[] = "Ellipsis"; +static const char __pyx_k_Gaussian[] = "Gaussian"; +static const char __pyx_k_Sequence[] = "Sequence"; +static const char __pyx_k_getstate[] = "__getstate__"; +static const char __pyx_k_itemsize[] = "itemsize"; +static const char __pyx_k_one_tail[] = "one_tail"; +static const char __pyx_k_pyx_type[] = "__pyx_type"; +static const char __pyx_k_register[] = "register"; +static const char __pyx_k_setstate[] = "__setstate__"; +static const char __pyx_k_TypeError[] = "TypeError"; +static const char __pyx_k_amplitude[] = "amplitude"; +static const char __pyx_k_enumerate[] = "enumerate"; +static const char __pyx_k_gcv_input[] = "gcv_input"; +static const char __pyx_k_isenabled[] = "isenabled"; +static const char __pyx_k_partition[] = "partition"; +static const char __pyx_k_pyx_state[] = "__pyx_state"; +static const char __pyx_k_reduce_ex[] = "__reduce_ex__"; +static const char __pyx_k_student_t[] = "student_t"; +static const char __pyx_k_threshold[] = "threshold"; +static const char __pyx_k_IndexError[] = "IndexError"; +static const char __pyx_k_ValueError[] = "ValueError"; +static const char __pyx_k_data_sigma[] = "data_sigma"; +static const char __pyx_k_last_index[] = "last_index"; +static const char __pyx_k_pyx_result[] = "__pyx_result"; +static const char __pyx_k_pyx_vtable[] = "__pyx_vtable__"; +static const char __pyx_k_upper_tail[] = "upper_tail"; +static const char __pyx_k_ImportError[] = "ImportError"; +static const char __pyx_k_MemoryError[] = "MemoryError"; +static const char __pyx_k_PickleError[] = "PickleError"; +static const char __pyx_k_collections[] = "collections"; +static const char __pyx_k_fast_median[] = "fast_median"; +static const char __pyx_k_is_straight[] = "is_straight"; +static const char __pyx_k_pivot_index[] = "pivot_index"; +static const char __pyx_k_scipy_stats[] = "scipy.stats"; +static const char __pyx_k_bisect_right[] = "bisect_right"; +static const char __pyx_k_initializing[] = "_initializing"; +static const char __pyx_k_is_coroutine[] = "_is_coroutine"; +static const char __pyx_k_max_outliers[] = "max_outliers"; +static const char __pyx_k_median_value[] = "median_value"; +static const char __pyx_k_need_two_end[] = "need_two_end"; +static const char __pyx_k_pyx_checksum[] = "__pyx_checksum"; +static const char __pyx_k_quick_select[] = "quick_select"; +static const char __pyx_k_sorted_index[] = "sorted_index"; +static const char __pyx_k_stringsource[] = ""; +static const char __pyx_k_version_info[] = "version_info"; +static const char __pyx_k_class_getitem[] = "__class_getitem__"; +static const char __pyx_k_median_filter[] = "median_filter"; +static const char __pyx_k_reduce_cython[] = "__reduce_cython__"; +static const char __pyx_k_sorted_median[] = "sorted_median"; +static const char __pyx_k_sorted_values[] = "sorted_values"; +static const char __pyx_k_AssertionError[] = "AssertionError"; +static const char __pyx_k_View_MemoryView[] = "View.MemoryView"; +static const char __pyx_k_allocate_buffer[] = "allocate_buffer"; +static const char __pyx_k_collections_abc[] = "collections.abc"; +static const char __pyx_k_critical_values[] = "critical_values"; +static const char __pyx_k_dtype_is_object[] = "dtype_is_object"; +static const char __pyx_k_pyx_PickleError[] = "__pyx_PickleError"; +static const char __pyx_k_setstate_cython[] = "__setstate_cython__"; +static const char __pyx_k_dynamic_threshold[] = "dynamic_threshold"; +static const char __pyx_k_pyx_unpickle_Enum[] = "__pyx_unpickle_Enum"; +static const char __pyx_k_asyncio_coroutines[] = "asyncio.coroutines"; +static const char __pyx_k_cline_in_traceback[] = "cline_in_traceback"; +static const char __pyx_k_strided_and_direct[] = ""; +static const char __pyx_k_calculate_esd_values[] = "calculate_esd_values"; +static const char __pyx_k_check_anomaly_status[] = "check_anomaly_status"; +static const char __pyx_k_generalized_esd_test[] = "generalized_esd_test"; +static const char __pyx_k_strided_and_indirect[] = ""; +static const char __pyx_k_Invalid_shape_in_axis[] = "Invalid shape in axis "; +static const char __pyx_k_contiguous_and_direct[] = ""; +static const char __pyx_k_Cannot_index_with_type[] = "Cannot index with type '"; +static const char __pyx_k_MemoryView_of_r_object[] = ""; +static const char __pyx_k_MemoryView_of_r_at_0x_x[] = ""; +static const char __pyx_k_contiguous_and_indirect[] = ""; +static const char __pyx_k_no_median_for_empty_data[] = "no median for empty data"; +static const char __pyx_k_remove_anomaly_in_bucket[] = "remove_anomaly_in_bucket"; +static const char __pyx_k_Dimension_d_is_not_direct[] = "Dimension %d is not direct"; +static const char __pyx_k_anomaly_kernel_cython_pyx[] = "_anomaly_kernel_cython.pyx"; +static const char __pyx_k_find_median_sorted_arrays[] = "find_median_sorted_arrays"; +static const char __pyx_k_Index_out_of_bounds_axis_d[] = "Index out of bounds (axis %d)"; +static const char __pyx_k_Step_may_not_be_zero_axis_d[] = "Step may not be zero (axis %d)"; +static const char __pyx_k_itemsize_0_for_cython_array[] = "itemsize <= 0 for cython.array"; +static const char __pyx_k_unable_to_allocate_array_data[] = "unable to allocate array data."; +static const char __pyx_k_strided_and_direct_or_indirect[] = ""; +static const char __pyx_k_numpy_core_multiarray_failed_to[] = "numpy.core.multiarray failed to import"; +static const char __pyx_k_All_dimensions_preceding_dimensi[] = "All dimensions preceding dimension %d must be indexed and not sliced"; +static const char __pyx_k_Buffer_view_does_not_expose_stri[] = "Buffer view does not expose strides"; +static const char __pyx_k_Can_only_create_a_buffer_that_is[] = "Can only create a buffer that is contiguous in memory."; +static const char __pyx_k_Cannot_assign_to_read_only_memor[] = "Cannot assign to read-only memoryview"; +static const char __pyx_k_Cannot_create_writable_memory_vi[] = "Cannot create writable memory view from read-only memoryview"; +static const char __pyx_k_Cannot_transpose_memoryview_with[] = "Cannot transpose memoryview with indirect dimensions"; +static const char __pyx_k_Empty_shape_tuple_for_cython_arr[] = "Empty shape tuple for cython.array"; +static const char __pyx_k_Incompatible_checksums_0x_x_vs_0[] = "Incompatible checksums (0x%x vs (0x82a3537, 0x6ae9995, 0xb068931) = (name))"; +static const char __pyx_k_Indirect_dimensions_not_supporte[] = "Indirect dimensions not supported"; +static const char __pyx_k_Invalid_mode_expected_c_or_fortr[] = "Invalid mode, expected 'c' or 'fortran', got "; +static const char __pyx_k_Out_of_bounds_on_buffer_access_a[] = "Out of bounds on buffer access (axis "; +static const char __pyx_k_Unable_to_convert_item_to_object[] = "Unable to convert item to object"; +static const char __pyx_k_anomaly_detector_univariate__ano[] = "anomaly_detector.univariate._anomaly_kernel_cython"; +static const char __pyx_k_got_differing_extents_in_dimensi[] = "got differing extents in dimension "; +static const char __pyx_k_no_default___reduce___due_to_non[] = "no default __reduce__ due to non-trivial __cinit__"; +static const char __pyx_k_numpy_core_umath_failed_to_impor[] = "numpy.core.umath failed to import"; +static const char __pyx_k_spectral_residual_transform_core[] = "spectral_residual_transform_core"; +static const char __pyx_k_unable_to_allocate_shape_and_str[] = "unable to allocate shape and strides."; +/* #### Code section: decls ### */ +static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __pyx_array_obj *__pyx_v_self, PyObject *__pyx_v_shape, Py_ssize_t __pyx_v_itemsize, PyObject *__pyx_v_format, PyObject *__pyx_v_mode, int __pyx_v_allocate_buffer); /* proto */ +static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(struct __pyx_array_obj *__pyx_v_self, Py_buffer *__pyx_v_info, int __pyx_v_flags); /* proto */ +static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(struct __pyx_array_obj *__pyx_v_self); /* proto */ +static PyObject *__pyx_pf_15View_dot_MemoryView_5array_7memview___get__(struct __pyx_array_obj *__pyx_v_self); /* proto */ +static Py_ssize_t __pyx_array___pyx_pf_15View_dot_MemoryView_5array_6__len__(struct __pyx_array_obj *__pyx_v_self); /* proto */ +static PyObject *__pyx_array___pyx_pf_15View_dot_MemoryView_5array_8__getattr__(struct __pyx_array_obj *__pyx_v_self, PyObject *__pyx_v_attr); /* proto */ +static PyObject *__pyx_array___pyx_pf_15View_dot_MemoryView_5array_10__getitem__(struct __pyx_array_obj *__pyx_v_self, PyObject *__pyx_v_item); /* proto */ +static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_12__setitem__(struct __pyx_array_obj *__pyx_v_self, PyObject *__pyx_v_item, PyObject *__pyx_v_value); /* proto */ +static PyObject *__pyx_pf___pyx_array___reduce_cython__(CYTHON_UNUSED struct __pyx_array_obj *__pyx_v_self); /* proto */ +static PyObject *__pyx_pf___pyx_array_2__setstate_cython__(CYTHON_UNUSED struct __pyx_array_obj *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state); /* proto */ +static int __pyx_MemviewEnum___pyx_pf_15View_dot_MemoryView_4Enum___init__(struct __pyx_MemviewEnum_obj *__pyx_v_self, PyObject *__pyx_v_name); /* proto */ +static PyObject *__pyx_MemviewEnum___pyx_pf_15View_dot_MemoryView_4Enum_2__repr__(struct __pyx_MemviewEnum_obj *__pyx_v_self); /* proto */ +static PyObject *__pyx_pf___pyx_MemviewEnum___reduce_cython__(struct __pyx_MemviewEnum_obj *__pyx_v_self); /* proto */ +static PyObject *__pyx_pf___pyx_MemviewEnum_2__setstate_cython__(struct __pyx_MemviewEnum_obj *__pyx_v_self, PyObject *__pyx_v___pyx_state); /* proto */ +static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit__(struct __pyx_memoryview_obj *__pyx_v_self, PyObject *__pyx_v_obj, int __pyx_v_flags, int __pyx_v_dtype_is_object); /* proto */ +static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__dealloc__(struct __pyx_memoryview_obj *__pyx_v_self); /* proto */ +static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_4__getitem__(struct __pyx_memoryview_obj *__pyx_v_self, PyObject *__pyx_v_index); /* proto */ +static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_6__setitem__(struct __pyx_memoryview_obj *__pyx_v_self, PyObject *__pyx_v_index, PyObject *__pyx_v_value); /* proto */ +static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_8__getbuffer__(struct __pyx_memoryview_obj *__pyx_v_self, Py_buffer *__pyx_v_info, int __pyx_v_flags); /* proto */ +static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_1T___get__(struct __pyx_memoryview_obj *__pyx_v_self); /* proto */ +static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4base___get__(struct __pyx_memoryview_obj *__pyx_v_self); /* proto */ +static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_5shape___get__(struct __pyx_memoryview_obj *__pyx_v_self); /* proto */ +static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_7strides___get__(struct __pyx_memoryview_obj *__pyx_v_self); /* proto */ +static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_10suboffsets___get__(struct __pyx_memoryview_obj *__pyx_v_self); /* proto */ +static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4ndim___get__(struct __pyx_memoryview_obj *__pyx_v_self); /* proto */ +static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_8itemsize___get__(struct __pyx_memoryview_obj *__pyx_v_self); /* proto */ +static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_6nbytes___get__(struct __pyx_memoryview_obj *__pyx_v_self); /* proto */ +static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4size___get__(struct __pyx_memoryview_obj *__pyx_v_self); /* proto */ +static Py_ssize_t __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_10__len__(struct __pyx_memoryview_obj *__pyx_v_self); /* proto */ +static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_12__repr__(struct __pyx_memoryview_obj *__pyx_v_self); /* proto */ +static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_14__str__(struct __pyx_memoryview_obj *__pyx_v_self); /* proto */ +static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_16is_c_contig(struct __pyx_memoryview_obj *__pyx_v_self); /* proto */ +static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_18is_f_contig(struct __pyx_memoryview_obj *__pyx_v_self); /* proto */ +static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_20copy(struct __pyx_memoryview_obj *__pyx_v_self); /* proto */ +static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_22copy_fortran(struct __pyx_memoryview_obj *__pyx_v_self); /* proto */ +static PyObject *__pyx_pf___pyx_memoryview___reduce_cython__(CYTHON_UNUSED struct __pyx_memoryview_obj *__pyx_v_self); /* proto */ +static PyObject *__pyx_pf___pyx_memoryview_2__setstate_cython__(CYTHON_UNUSED struct __pyx_memoryview_obj *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state); /* proto */ +static void __pyx_memoryviewslice___pyx_pf_15View_dot_MemoryView_16_memoryviewslice___dealloc__(struct __pyx_memoryviewslice_obj *__pyx_v_self); /* proto */ +static PyObject *__pyx_pf___pyx_memoryviewslice___reduce_cython__(CYTHON_UNUSED struct __pyx_memoryviewslice_obj *__pyx_v_self); /* proto */ +static PyObject *__pyx_pf___pyx_memoryviewslice_2__setstate_cython__(CYTHON_UNUSED struct __pyx_memoryviewslice_obj *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state); /* proto */ +static PyObject *__pyx_pf_15View_dot_MemoryView___pyx_unpickle_Enum(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v___pyx_type, long __pyx_v___pyx_checksum, PyObject *__pyx_v___pyx_state); /* proto */ +static PyObject *__pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_partition(CYTHON_UNUSED PyObject *__pyx_self, __Pyx_memviewslice __pyx_v_data, int __pyx_v_left, int __pyx_v_right, int __pyx_v_pivot_index); /* proto */ +static PyObject *__pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_2select(CYTHON_UNUSED PyObject *__pyx_self, __Pyx_memviewslice __pyx_v_data, int __pyx_v_left, int __pyx_v_right, int __pyx_v_n); /* proto */ +static PyObject *__pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_4quick_select(CYTHON_UNUSED PyObject *__pyx_self, __Pyx_memviewslice __pyx_v_data, int __pyx_v_k); /* proto */ +static PyObject *__pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_6fast_median(CYTHON_UNUSED PyObject *__pyx_self, __Pyx_memviewslice __pyx_v_table); /* proto */ +static PyObject *__pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_8calculate_esd_values(CYTHON_UNUSED PyObject *__pyx_self, int __pyx_v_i, float __pyx_v_alpha, int __pyx_v_n, int __pyx_v_one_tail); /* proto */ +static PyObject *__pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_10sorted_median(CYTHON_UNUSED PyObject *__pyx_self, __Pyx_memviewslice __pyx_v_data, int __pyx_v_i, int __pyx_v_j); /* proto */ +static PyObject *__pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_12find_median_sorted_arrays(CYTHON_UNUSED PyObject *__pyx_self, __Pyx_memviewslice __pyx_v_a, __Pyx_memviewslice __pyx_v_b, float __pyx_v_median); /* proto */ +static PyObject *__pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_14check_anomaly_status(CYTHON_UNUSED PyObject *__pyx_self, float __pyx_v_median_value, float __pyx_v_data_sigma, float __pyx_v_value, float __pyx_v_threshold, int __pyx_v_upper_tail); /* proto */ +static PyObject *__pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_16dynamic_threshold(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_sorted_values, PyObject *__pyx_v_sorted_index, int __pyx_v_max_outliers, float __pyx_v_threshold, int __pyx_v_upper_tail, int __pyx_v_last_index); /* proto */ +static PyObject *__pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_18generalized_esd_test(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_sorted_values, PyObject *__pyx_v_sorted_index, int __pyx_v_max_outliers, PyObject *__pyx_v_critical_values, int __pyx_v_upper_tail, int __pyx_v_last_index); /* proto */ +static PyObject *__pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_20max_gcv(CYTHON_UNUSED PyObject *__pyx_self, PyArrayObject *__pyx_v_data, PyArrayObject *__pyx_v_periods); /* proto */ +static PyObject *__pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_22gcv(CYTHON_UNUSED PyObject *__pyx_self, PyArrayObject *__pyx_v_gcv_input, int __pyx_v_period); /* proto */ +static PyObject *__pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_24median_filter(CYTHON_UNUSED PyObject *__pyx_self, PyArrayObject *__pyx_v_data, int __pyx_v_window, int __pyx_v_need_two_end); /* proto */ +static PyObject *__pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_26spectral_residual_transform_core(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_values); /* proto */ +static PyObject *__pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_28is_straight(CYTHON_UNUSED PyObject *__pyx_self, PyArrayObject *__pyx_v_values, int __pyx_v_step); /* proto */ +static PyObject *__pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_30remove_anomaly_in_bucket(CYTHON_UNUSED PyObject *__pyx_self, PyArrayObject *__pyx_v_values, int __pyx_v_period); /* proto */ +static PyObject *__pyx_tp_new_array(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ +static PyObject *__pyx_tp_new_Enum(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ +static PyObject *__pyx_tp_new_memoryview(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ +static PyObject *__pyx_tp_new__memoryviewslice(PyTypeObject *t, PyObject *a, PyObject *k); /*proto*/ +/* #### Code section: late_includes ### */ +/* #### Code section: module_state ### */ +typedef struct { + PyObject *__pyx_d; + PyObject *__pyx_b; + PyObject *__pyx_cython_runtime; + PyObject *__pyx_empty_tuple; + PyObject *__pyx_empty_bytes; + PyObject *__pyx_empty_unicode; + #ifdef __Pyx_CyFunction_USED + PyTypeObject *__pyx_CyFunctionType; + #endif + #ifdef __Pyx_FusedFunction_USED + PyTypeObject *__pyx_FusedFunctionType; + #endif + #ifdef __Pyx_Generator_USED + PyTypeObject *__pyx_GeneratorType; + #endif + #ifdef __Pyx_IterableCoroutine_USED + PyTypeObject *__pyx_IterableCoroutineType; + #endif + #ifdef __Pyx_Coroutine_USED + PyTypeObject *__pyx_CoroutineAwaitType; + #endif + #ifdef __Pyx_Coroutine_USED + PyTypeObject *__pyx_CoroutineType; + #endif + #if CYTHON_USE_MODULE_STATE + #endif + #if CYTHON_USE_MODULE_STATE + #endif + #if CYTHON_USE_MODULE_STATE + #endif + #if CYTHON_USE_MODULE_STATE + #endif + #if CYTHON_USE_MODULE_STATE + #endif + PyTypeObject *__pyx_ptype_7cpython_4type_type; + #if CYTHON_USE_MODULE_STATE + #endif + #if CYTHON_USE_MODULE_STATE + #endif + #if CYTHON_USE_MODULE_STATE + #endif + #if CYTHON_USE_MODULE_STATE + #endif + #if CYTHON_USE_MODULE_STATE + #endif + PyTypeObject *__pyx_ptype_5numpy_dtype; + PyTypeObject *__pyx_ptype_5numpy_flatiter; + PyTypeObject *__pyx_ptype_5numpy_broadcast; + PyTypeObject *__pyx_ptype_5numpy_ndarray; + PyTypeObject *__pyx_ptype_5numpy_generic; + PyTypeObject *__pyx_ptype_5numpy_number; + PyTypeObject *__pyx_ptype_5numpy_integer; + PyTypeObject *__pyx_ptype_5numpy_signedinteger; + PyTypeObject *__pyx_ptype_5numpy_unsignedinteger; + PyTypeObject *__pyx_ptype_5numpy_inexact; + PyTypeObject *__pyx_ptype_5numpy_floating; + PyTypeObject *__pyx_ptype_5numpy_complexfloating; + PyTypeObject *__pyx_ptype_5numpy_flexible; + PyTypeObject *__pyx_ptype_5numpy_character; + PyTypeObject *__pyx_ptype_5numpy_ufunc; + #if CYTHON_USE_MODULE_STATE + #endif + #if CYTHON_USE_MODULE_STATE + PyObject *__pyx_type___pyx_array; + PyObject *__pyx_type___pyx_MemviewEnum; + PyObject *__pyx_type___pyx_memoryview; + PyObject *__pyx_type___pyx_memoryviewslice; + #endif + PyTypeObject *__pyx_array_type; + PyTypeObject *__pyx_MemviewEnum_type; + PyTypeObject *__pyx_memoryview_type; + PyTypeObject *__pyx_memoryviewslice_type; + PyObject *__pyx_kp_u_; + PyObject *__pyx_n_s_ASCII; + PyObject *__pyx_kp_s_All_dimensions_preceding_dimensi; + PyObject *__pyx_n_s_AssertionError; + PyObject *__pyx_kp_s_Buffer_view_does_not_expose_stri; + PyObject *__pyx_kp_s_Can_only_create_a_buffer_that_is; + PyObject *__pyx_kp_s_Cannot_assign_to_read_only_memor; + PyObject *__pyx_kp_s_Cannot_create_writable_memory_vi; + PyObject *__pyx_kp_u_Cannot_index_with_type; + PyObject *__pyx_kp_s_Cannot_transpose_memoryview_with; + PyObject *__pyx_kp_s_Dimension_d_is_not_direct; + PyObject *__pyx_n_s_Ellipsis; + PyObject *__pyx_kp_s_Empty_shape_tuple_for_cython_arr; + PyObject *__pyx_n_s_Gaussian; + PyObject *__pyx_n_s_ImportError; + PyObject *__pyx_kp_s_Incompatible_checksums_0x_x_vs_0; + PyObject *__pyx_n_s_IndexError; + PyObject *__pyx_kp_s_Index_out_of_bounds_axis_d; + PyObject *__pyx_kp_s_Indirect_dimensions_not_supporte; + PyObject *__pyx_kp_u_Invalid_mode_expected_c_or_fortr; + PyObject *__pyx_kp_u_Invalid_shape_in_axis; + PyObject *__pyx_n_s_MemoryError; + PyObject *__pyx_kp_s_MemoryView_of_r_at_0x_x; + PyObject *__pyx_kp_s_MemoryView_of_r_object; + PyObject *__pyx_n_b_O; + PyObject *__pyx_kp_u_Out_of_bounds_on_buffer_access_a; + PyObject *__pyx_n_s_PickleError; + PyObject *__pyx_n_s_Sequence; + PyObject *__pyx_kp_s_Step_may_not_be_zero_axis_d; + PyObject *__pyx_n_s_TypeError; + PyObject *__pyx_kp_s_Unable_to_convert_item_to_object; + PyObject *__pyx_n_s_ValueError; + PyObject *__pyx_n_s_View_MemoryView; + PyObject *__pyx_kp_u__2; + PyObject *__pyx_n_s__3; + PyObject *__pyx_n_s__59; + PyObject *__pyx_kp_u__6; + PyObject *__pyx_kp_u__7; + PyObject *__pyx_n_s_a; + PyObject *__pyx_n_s_abc; + PyObject *__pyx_n_s_abs; + PyObject *__pyx_n_s_allocate_buffer; + PyObject *__pyx_n_s_alpha; + PyObject *__pyx_n_s_amplitude; + PyObject *__pyx_kp_u_and; + PyObject *__pyx_n_s_anomaly_detector_univariate__ano; + PyObject *__pyx_kp_s_anomaly_kernel_cython_pyx; + PyObject *__pyx_n_s_array; + PyObject *__pyx_n_s_asyncio_coroutines; + PyObject *__pyx_n_s_b; + PyObject *__pyx_n_s_base; + PyObject *__pyx_n_s_bisect; + PyObject *__pyx_n_s_bisect_right; + PyObject *__pyx_n_s_c; + PyObject *__pyx_n_u_c; + PyObject *__pyx_n_s_calculate_esd_values; + PyObject *__pyx_n_s_check_anomaly_status; + PyObject *__pyx_n_s_class; + PyObject *__pyx_n_s_class_getitem; + PyObject *__pyx_n_s_cline_in_traceback; + PyObject *__pyx_n_s_collections; + PyObject *__pyx_kp_s_collections_abc; + PyObject *__pyx_kp_s_contiguous_and_direct; + PyObject *__pyx_kp_s_contiguous_and_indirect; + PyObject *__pyx_n_s_count; + PyObject *__pyx_n_s_critical_values; + PyObject *__pyx_n_s_current; + PyObject *__pyx_n_s_d; + PyObject *__pyx_n_s_data; + PyObject *__pyx_n_s_data_sigma; + PyObject *__pyx_n_s_dict; + PyObject *__pyx_kp_u_disable; + PyObject *__pyx_n_s_dtype; + PyObject *__pyx_n_s_dtype_is_object; + PyObject *__pyx_n_s_dynamic_threshold; + PyObject *__pyx_n_s_empty; + PyObject *__pyx_kp_u_enable; + PyObject *__pyx_n_s_encode; + PyObject *__pyx_n_s_enumerate; + PyObject *__pyx_n_s_error; + PyObject *__pyx_n_s_f; + PyObject *__pyx_n_s_fabs; + PyObject *__pyx_n_s_fast_median; + PyObject *__pyx_n_s_fft; + PyObject *__pyx_n_s_find_median_sorted_arrays; + PyObject *__pyx_n_s_flags; + PyObject *__pyx_n_s_format; + PyObject *__pyx_n_s_fortran; + PyObject *__pyx_n_u_fortran; + PyObject *__pyx_kp_u_gc; + PyObject *__pyx_n_s_gcv; + PyObject *__pyx_n_s_gcv_input; + PyObject *__pyx_n_s_generalized_esd_test; + PyObject *__pyx_n_s_getstate; + PyObject *__pyx_kp_u_got; + PyObject *__pyx_kp_u_got_differing_extents_in_dimensi; + PyObject *__pyx_n_s_i; + PyObject *__pyx_n_s_id; + PyObject *__pyx_n_s_ifft; + PyObject *__pyx_n_s_iimag; + PyObject *__pyx_n_s_imag; + PyObject *__pyx_n_s_import; + PyObject *__pyx_n_s_index; + PyObject *__pyx_n_s_inf; + PyObject *__pyx_n_s_initializing; + PyObject *__pyx_n_s_ireal; + PyObject *__pyx_n_s_is_coroutine; + PyObject *__pyx_n_s_is_straight; + PyObject *__pyx_n_s_isclose; + PyObject *__pyx_kp_u_isenabled; + PyObject *__pyx_n_s_itemsize; + PyObject *__pyx_kp_s_itemsize_0_for_cython_array; + PyObject *__pyx_n_s_j; + PyObject *__pyx_n_s_k; + PyObject *__pyx_n_s_last_index; + PyObject *__pyx_n_s_left; + PyObject *__pyx_n_s_mag; + PyObject *__pyx_n_s_main; + PyObject *__pyx_n_s_max_gcv; + PyObject *__pyx_n_s_max_outliers; + PyObject *__pyx_n_s_mean; + PyObject *__pyx_n_s_median; + PyObject *__pyx_n_s_median_filter; + PyObject *__pyx_n_s_median_value; + PyObject *__pyx_n_s_memview; + PyObject *__pyx_n_s_mode; + PyObject *__pyx_n_s_n; + PyObject *__pyx_n_s_name; + PyObject *__pyx_n_s_name_2; + PyObject *__pyx_n_s_ndim; + PyObject *__pyx_n_s_need_two_end; + PyObject *__pyx_n_s_new; + PyObject *__pyx_kp_s_no_default___reduce___due_to_non; + PyObject *__pyx_kp_s_no_median_for_empty_data; + PyObject *__pyx_n_s_norm; + PyObject *__pyx_n_s_np; + PyObject *__pyx_n_s_numpy; + PyObject *__pyx_kp_s_numpy_core_multiarray_failed_to; + PyObject *__pyx_kp_s_numpy_core_umath_failed_to_impor; + PyObject *__pyx_n_s_obj; + PyObject *__pyx_n_s_one_tail; + PyObject *__pyx_n_s_pack; + PyObject *__pyx_n_s_partition; + PyObject *__pyx_n_s_period; + PyObject *__pyx_n_s_periods; + PyObject *__pyx_n_s_pickle; + PyObject *__pyx_n_s_pivot_index; + PyObject *__pyx_n_s_ppf; + PyObject *__pyx_n_s_pyx_PickleError; + PyObject *__pyx_n_s_pyx_checksum; + PyObject *__pyx_n_s_pyx_result; + PyObject *__pyx_n_s_pyx_state; + PyObject *__pyx_n_s_pyx_type; + PyObject *__pyx_n_s_pyx_unpickle_Enum; + PyObject *__pyx_n_s_pyx_vtable; + PyObject *__pyx_n_s_quick_select; + PyObject *__pyx_n_s_range; + PyObject *__pyx_n_s_real; + PyObject *__pyx_n_s_reduce; + PyObject *__pyx_n_s_reduce_cython; + PyObject *__pyx_n_s_reduce_ex; + PyObject *__pyx_n_s_register; + PyObject *__pyx_n_s_remove_anomaly_in_bucket; + PyObject *__pyx_n_s_right; + PyObject *__pyx_n_s_scipy_stats; + PyObject *__pyx_n_s_select; + PyObject *__pyx_n_s_setstate; + PyObject *__pyx_n_s_setstate_cython; + PyObject *__pyx_n_s_shape; + PyObject *__pyx_n_s_size; + PyObject *__pyx_n_s_sorted_index; + PyObject *__pyx_n_s_sorted_median; + PyObject *__pyx_n_s_sorted_values; + PyObject *__pyx_n_s_spec; + PyObject *__pyx_n_s_spectral_residual_transform_core; + PyObject *__pyx_n_s_sqrt; + PyObject *__pyx_n_s_start; + PyObject *__pyx_n_s_std; + PyObject *__pyx_n_s_step; + PyObject *__pyx_n_s_stop; + PyObject *__pyx_kp_s_strided_and_direct; + PyObject *__pyx_kp_s_strided_and_direct_or_indirect; + PyObject *__pyx_kp_s_strided_and_indirect; + PyObject *__pyx_kp_s_stringsource; + PyObject *__pyx_n_s_struct; + PyObject *__pyx_n_s_student_t; + PyObject *__pyx_n_s_sys; + PyObject *__pyx_n_s_t; + PyObject *__pyx_n_s_table; + PyObject *__pyx_n_s_test; + PyObject *__pyx_n_s_threshold; + PyObject *__pyx_n_s_trans; + PyObject *__pyx_kp_s_unable_to_allocate_array_data; + PyObject *__pyx_kp_s_unable_to_allocate_shape_and_str; + PyObject *__pyx_n_s_unpack; + PyObject *__pyx_n_s_update; + PyObject *__pyx_n_s_upper_tail; + PyObject *__pyx_n_s_value; + PyObject *__pyx_n_s_values; + PyObject *__pyx_n_s_var; + PyObject *__pyx_n_s_version_info; + PyObject *__pyx_n_s_wave_r; + PyObject *__pyx_n_s_where; + PyObject *__pyx_n_s_window; + PyObject *__pyx_n_s_x; + PyObject *__pyx_n_s_zeros; + PyObject *__pyx_n_s_zip; + PyObject *__pyx_float_1_; + PyObject *__pyx_float_0_0; + PyObject *__pyx_float_2_0; + PyObject *__pyx_float_3_0; + PyObject *__pyx_int_0; + PyObject *__pyx_int_1; + PyObject *__pyx_int_2; + PyObject *__pyx_int_3; + PyObject *__pyx_int_112105877; + PyObject *__pyx_int_136983863; + PyObject *__pyx_int_184977713; + PyObject *__pyx_int_neg_1; + PyObject *__pyx_slice__5; + PyObject *__pyx_tuple__4; + PyObject *__pyx_tuple__8; + PyObject *__pyx_tuple__9; + PyObject *__pyx_slice__12; + PyObject *__pyx_tuple__10; + PyObject *__pyx_tuple__11; + PyObject *__pyx_tuple__13; + PyObject *__pyx_tuple__14; + PyObject *__pyx_tuple__15; + PyObject *__pyx_tuple__16; + PyObject *__pyx_tuple__17; + PyObject *__pyx_tuple__18; + PyObject *__pyx_tuple__19; + PyObject *__pyx_tuple__20; + PyObject *__pyx_tuple__21; + PyObject *__pyx_tuple__22; + PyObject *__pyx_tuple__23; + PyObject *__pyx_tuple__25; + PyObject *__pyx_tuple__27; + PyObject *__pyx_tuple__29; + PyObject *__pyx_tuple__31; + PyObject *__pyx_tuple__33; + PyObject *__pyx_tuple__35; + PyObject *__pyx_tuple__36; + PyObject *__pyx_tuple__38; + PyObject *__pyx_tuple__40; + PyObject *__pyx_tuple__42; + PyObject *__pyx_tuple__44; + PyObject *__pyx_tuple__46; + PyObject *__pyx_tuple__48; + PyObject *__pyx_tuple__50; + PyObject *__pyx_tuple__52; + PyObject *__pyx_tuple__53; + PyObject *__pyx_tuple__55; + PyObject *__pyx_tuple__57; + PyObject *__pyx_codeobj__24; + PyObject *__pyx_codeobj__26; + PyObject *__pyx_codeobj__28; + PyObject *__pyx_codeobj__30; + PyObject *__pyx_codeobj__32; + PyObject *__pyx_codeobj__34; + PyObject *__pyx_codeobj__37; + PyObject *__pyx_codeobj__39; + PyObject *__pyx_codeobj__41; + PyObject *__pyx_codeobj__43; + PyObject *__pyx_codeobj__45; + PyObject *__pyx_codeobj__47; + PyObject *__pyx_codeobj__49; + PyObject *__pyx_codeobj__51; + PyObject *__pyx_codeobj__54; + PyObject *__pyx_codeobj__56; + PyObject *__pyx_codeobj__58; +} __pyx_mstate; + +#if CYTHON_USE_MODULE_STATE +#ifdef __cplusplus +namespace { + extern struct PyModuleDef __pyx_moduledef; +} /* anonymous namespace */ +#else +static struct PyModuleDef __pyx_moduledef; +#endif + +#define __pyx_mstate(o) ((__pyx_mstate *)__Pyx_PyModule_GetState(o)) + +#define __pyx_mstate_global (__pyx_mstate(PyState_FindModule(&__pyx_moduledef))) + +#define __pyx_m (PyState_FindModule(&__pyx_moduledef)) +#else +static __pyx_mstate __pyx_mstate_global_static = +#ifdef __cplusplus + {}; +#else + {0}; +#endif +static __pyx_mstate *__pyx_mstate_global = &__pyx_mstate_global_static; +#endif +/* #### Code section: module_state_clear ### */ +#if CYTHON_USE_MODULE_STATE +static int __pyx_m_clear(PyObject *m) { + __pyx_mstate *clear_module_state = __pyx_mstate(m); + if (!clear_module_state) return 0; + Py_CLEAR(clear_module_state->__pyx_d); + Py_CLEAR(clear_module_state->__pyx_b); + Py_CLEAR(clear_module_state->__pyx_cython_runtime); + Py_CLEAR(clear_module_state->__pyx_empty_tuple); + Py_CLEAR(clear_module_state->__pyx_empty_bytes); + Py_CLEAR(clear_module_state->__pyx_empty_unicode); + #ifdef __Pyx_CyFunction_USED + Py_CLEAR(clear_module_state->__pyx_CyFunctionType); + #endif + #ifdef __Pyx_FusedFunction_USED + Py_CLEAR(clear_module_state->__pyx_FusedFunctionType); + #endif + Py_CLEAR(clear_module_state->__pyx_ptype_7cpython_4type_type); + Py_CLEAR(clear_module_state->__pyx_ptype_5numpy_dtype); + Py_CLEAR(clear_module_state->__pyx_ptype_5numpy_flatiter); + Py_CLEAR(clear_module_state->__pyx_ptype_5numpy_broadcast); + Py_CLEAR(clear_module_state->__pyx_ptype_5numpy_ndarray); + Py_CLEAR(clear_module_state->__pyx_ptype_5numpy_generic); + Py_CLEAR(clear_module_state->__pyx_ptype_5numpy_number); + Py_CLEAR(clear_module_state->__pyx_ptype_5numpy_integer); + Py_CLEAR(clear_module_state->__pyx_ptype_5numpy_signedinteger); + Py_CLEAR(clear_module_state->__pyx_ptype_5numpy_unsignedinteger); + Py_CLEAR(clear_module_state->__pyx_ptype_5numpy_inexact); + Py_CLEAR(clear_module_state->__pyx_ptype_5numpy_floating); + Py_CLEAR(clear_module_state->__pyx_ptype_5numpy_complexfloating); + Py_CLEAR(clear_module_state->__pyx_ptype_5numpy_flexible); + Py_CLEAR(clear_module_state->__pyx_ptype_5numpy_character); + Py_CLEAR(clear_module_state->__pyx_ptype_5numpy_ufunc); + Py_CLEAR(clear_module_state->__pyx_array_type); + Py_CLEAR(clear_module_state->__pyx_type___pyx_array); + Py_CLEAR(clear_module_state->__pyx_MemviewEnum_type); + Py_CLEAR(clear_module_state->__pyx_type___pyx_MemviewEnum); + Py_CLEAR(clear_module_state->__pyx_memoryview_type); + Py_CLEAR(clear_module_state->__pyx_type___pyx_memoryview); + Py_CLEAR(clear_module_state->__pyx_memoryviewslice_type); + Py_CLEAR(clear_module_state->__pyx_type___pyx_memoryviewslice); + Py_CLEAR(clear_module_state->__pyx_kp_u_); + Py_CLEAR(clear_module_state->__pyx_n_s_ASCII); + Py_CLEAR(clear_module_state->__pyx_kp_s_All_dimensions_preceding_dimensi); + Py_CLEAR(clear_module_state->__pyx_n_s_AssertionError); + Py_CLEAR(clear_module_state->__pyx_kp_s_Buffer_view_does_not_expose_stri); + Py_CLEAR(clear_module_state->__pyx_kp_s_Can_only_create_a_buffer_that_is); + Py_CLEAR(clear_module_state->__pyx_kp_s_Cannot_assign_to_read_only_memor); + Py_CLEAR(clear_module_state->__pyx_kp_s_Cannot_create_writable_memory_vi); + Py_CLEAR(clear_module_state->__pyx_kp_u_Cannot_index_with_type); + Py_CLEAR(clear_module_state->__pyx_kp_s_Cannot_transpose_memoryview_with); + Py_CLEAR(clear_module_state->__pyx_kp_s_Dimension_d_is_not_direct); + Py_CLEAR(clear_module_state->__pyx_n_s_Ellipsis); + Py_CLEAR(clear_module_state->__pyx_kp_s_Empty_shape_tuple_for_cython_arr); + Py_CLEAR(clear_module_state->__pyx_n_s_Gaussian); + Py_CLEAR(clear_module_state->__pyx_n_s_ImportError); + Py_CLEAR(clear_module_state->__pyx_kp_s_Incompatible_checksums_0x_x_vs_0); + Py_CLEAR(clear_module_state->__pyx_n_s_IndexError); + Py_CLEAR(clear_module_state->__pyx_kp_s_Index_out_of_bounds_axis_d); + Py_CLEAR(clear_module_state->__pyx_kp_s_Indirect_dimensions_not_supporte); + Py_CLEAR(clear_module_state->__pyx_kp_u_Invalid_mode_expected_c_or_fortr); + Py_CLEAR(clear_module_state->__pyx_kp_u_Invalid_shape_in_axis); + Py_CLEAR(clear_module_state->__pyx_n_s_MemoryError); + Py_CLEAR(clear_module_state->__pyx_kp_s_MemoryView_of_r_at_0x_x); + Py_CLEAR(clear_module_state->__pyx_kp_s_MemoryView_of_r_object); + Py_CLEAR(clear_module_state->__pyx_n_b_O); + Py_CLEAR(clear_module_state->__pyx_kp_u_Out_of_bounds_on_buffer_access_a); + Py_CLEAR(clear_module_state->__pyx_n_s_PickleError); + Py_CLEAR(clear_module_state->__pyx_n_s_Sequence); + Py_CLEAR(clear_module_state->__pyx_kp_s_Step_may_not_be_zero_axis_d); + Py_CLEAR(clear_module_state->__pyx_n_s_TypeError); + Py_CLEAR(clear_module_state->__pyx_kp_s_Unable_to_convert_item_to_object); + Py_CLEAR(clear_module_state->__pyx_n_s_ValueError); + Py_CLEAR(clear_module_state->__pyx_n_s_View_MemoryView); + Py_CLEAR(clear_module_state->__pyx_kp_u__2); + Py_CLEAR(clear_module_state->__pyx_n_s__3); + Py_CLEAR(clear_module_state->__pyx_n_s__59); + Py_CLEAR(clear_module_state->__pyx_kp_u__6); + Py_CLEAR(clear_module_state->__pyx_kp_u__7); + Py_CLEAR(clear_module_state->__pyx_n_s_a); + Py_CLEAR(clear_module_state->__pyx_n_s_abc); + Py_CLEAR(clear_module_state->__pyx_n_s_abs); + Py_CLEAR(clear_module_state->__pyx_n_s_allocate_buffer); + Py_CLEAR(clear_module_state->__pyx_n_s_alpha); + Py_CLEAR(clear_module_state->__pyx_n_s_amplitude); + Py_CLEAR(clear_module_state->__pyx_kp_u_and); + Py_CLEAR(clear_module_state->__pyx_n_s_anomaly_detector_univariate__ano); + Py_CLEAR(clear_module_state->__pyx_kp_s_anomaly_kernel_cython_pyx); + Py_CLEAR(clear_module_state->__pyx_n_s_array); + Py_CLEAR(clear_module_state->__pyx_n_s_asyncio_coroutines); + Py_CLEAR(clear_module_state->__pyx_n_s_b); + Py_CLEAR(clear_module_state->__pyx_n_s_base); + Py_CLEAR(clear_module_state->__pyx_n_s_bisect); + Py_CLEAR(clear_module_state->__pyx_n_s_bisect_right); + Py_CLEAR(clear_module_state->__pyx_n_s_c); + Py_CLEAR(clear_module_state->__pyx_n_u_c); + Py_CLEAR(clear_module_state->__pyx_n_s_calculate_esd_values); + Py_CLEAR(clear_module_state->__pyx_n_s_check_anomaly_status); + Py_CLEAR(clear_module_state->__pyx_n_s_class); + Py_CLEAR(clear_module_state->__pyx_n_s_class_getitem); + Py_CLEAR(clear_module_state->__pyx_n_s_cline_in_traceback); + Py_CLEAR(clear_module_state->__pyx_n_s_collections); + Py_CLEAR(clear_module_state->__pyx_kp_s_collections_abc); + Py_CLEAR(clear_module_state->__pyx_kp_s_contiguous_and_direct); + Py_CLEAR(clear_module_state->__pyx_kp_s_contiguous_and_indirect); + Py_CLEAR(clear_module_state->__pyx_n_s_count); + Py_CLEAR(clear_module_state->__pyx_n_s_critical_values); + Py_CLEAR(clear_module_state->__pyx_n_s_current); + Py_CLEAR(clear_module_state->__pyx_n_s_d); + Py_CLEAR(clear_module_state->__pyx_n_s_data); + Py_CLEAR(clear_module_state->__pyx_n_s_data_sigma); + Py_CLEAR(clear_module_state->__pyx_n_s_dict); + Py_CLEAR(clear_module_state->__pyx_kp_u_disable); + Py_CLEAR(clear_module_state->__pyx_n_s_dtype); + Py_CLEAR(clear_module_state->__pyx_n_s_dtype_is_object); + Py_CLEAR(clear_module_state->__pyx_n_s_dynamic_threshold); + Py_CLEAR(clear_module_state->__pyx_n_s_empty); + Py_CLEAR(clear_module_state->__pyx_kp_u_enable); + Py_CLEAR(clear_module_state->__pyx_n_s_encode); + Py_CLEAR(clear_module_state->__pyx_n_s_enumerate); + Py_CLEAR(clear_module_state->__pyx_n_s_error); + Py_CLEAR(clear_module_state->__pyx_n_s_f); + Py_CLEAR(clear_module_state->__pyx_n_s_fabs); + Py_CLEAR(clear_module_state->__pyx_n_s_fast_median); + Py_CLEAR(clear_module_state->__pyx_n_s_fft); + Py_CLEAR(clear_module_state->__pyx_n_s_find_median_sorted_arrays); + Py_CLEAR(clear_module_state->__pyx_n_s_flags); + Py_CLEAR(clear_module_state->__pyx_n_s_format); + Py_CLEAR(clear_module_state->__pyx_n_s_fortran); + Py_CLEAR(clear_module_state->__pyx_n_u_fortran); + Py_CLEAR(clear_module_state->__pyx_kp_u_gc); + Py_CLEAR(clear_module_state->__pyx_n_s_gcv); + Py_CLEAR(clear_module_state->__pyx_n_s_gcv_input); + Py_CLEAR(clear_module_state->__pyx_n_s_generalized_esd_test); + Py_CLEAR(clear_module_state->__pyx_n_s_getstate); + Py_CLEAR(clear_module_state->__pyx_kp_u_got); + Py_CLEAR(clear_module_state->__pyx_kp_u_got_differing_extents_in_dimensi); + Py_CLEAR(clear_module_state->__pyx_n_s_i); + Py_CLEAR(clear_module_state->__pyx_n_s_id); + Py_CLEAR(clear_module_state->__pyx_n_s_ifft); + Py_CLEAR(clear_module_state->__pyx_n_s_iimag); + Py_CLEAR(clear_module_state->__pyx_n_s_imag); + Py_CLEAR(clear_module_state->__pyx_n_s_import); + Py_CLEAR(clear_module_state->__pyx_n_s_index); + Py_CLEAR(clear_module_state->__pyx_n_s_inf); + Py_CLEAR(clear_module_state->__pyx_n_s_initializing); + Py_CLEAR(clear_module_state->__pyx_n_s_ireal); + Py_CLEAR(clear_module_state->__pyx_n_s_is_coroutine); + Py_CLEAR(clear_module_state->__pyx_n_s_is_straight); + Py_CLEAR(clear_module_state->__pyx_n_s_isclose); + Py_CLEAR(clear_module_state->__pyx_kp_u_isenabled); + Py_CLEAR(clear_module_state->__pyx_n_s_itemsize); + Py_CLEAR(clear_module_state->__pyx_kp_s_itemsize_0_for_cython_array); + Py_CLEAR(clear_module_state->__pyx_n_s_j); + Py_CLEAR(clear_module_state->__pyx_n_s_k); + Py_CLEAR(clear_module_state->__pyx_n_s_last_index); + Py_CLEAR(clear_module_state->__pyx_n_s_left); + Py_CLEAR(clear_module_state->__pyx_n_s_mag); + Py_CLEAR(clear_module_state->__pyx_n_s_main); + Py_CLEAR(clear_module_state->__pyx_n_s_max_gcv); + Py_CLEAR(clear_module_state->__pyx_n_s_max_outliers); + Py_CLEAR(clear_module_state->__pyx_n_s_mean); + Py_CLEAR(clear_module_state->__pyx_n_s_median); + Py_CLEAR(clear_module_state->__pyx_n_s_median_filter); + Py_CLEAR(clear_module_state->__pyx_n_s_median_value); + Py_CLEAR(clear_module_state->__pyx_n_s_memview); + Py_CLEAR(clear_module_state->__pyx_n_s_mode); + Py_CLEAR(clear_module_state->__pyx_n_s_n); + Py_CLEAR(clear_module_state->__pyx_n_s_name); + Py_CLEAR(clear_module_state->__pyx_n_s_name_2); + Py_CLEAR(clear_module_state->__pyx_n_s_ndim); + Py_CLEAR(clear_module_state->__pyx_n_s_need_two_end); + Py_CLEAR(clear_module_state->__pyx_n_s_new); + Py_CLEAR(clear_module_state->__pyx_kp_s_no_default___reduce___due_to_non); + Py_CLEAR(clear_module_state->__pyx_kp_s_no_median_for_empty_data); + Py_CLEAR(clear_module_state->__pyx_n_s_norm); + Py_CLEAR(clear_module_state->__pyx_n_s_np); + Py_CLEAR(clear_module_state->__pyx_n_s_numpy); + Py_CLEAR(clear_module_state->__pyx_kp_s_numpy_core_multiarray_failed_to); + Py_CLEAR(clear_module_state->__pyx_kp_s_numpy_core_umath_failed_to_impor); + Py_CLEAR(clear_module_state->__pyx_n_s_obj); + Py_CLEAR(clear_module_state->__pyx_n_s_one_tail); + Py_CLEAR(clear_module_state->__pyx_n_s_pack); + Py_CLEAR(clear_module_state->__pyx_n_s_partition); + Py_CLEAR(clear_module_state->__pyx_n_s_period); + Py_CLEAR(clear_module_state->__pyx_n_s_periods); + Py_CLEAR(clear_module_state->__pyx_n_s_pickle); + Py_CLEAR(clear_module_state->__pyx_n_s_pivot_index); + Py_CLEAR(clear_module_state->__pyx_n_s_ppf); + Py_CLEAR(clear_module_state->__pyx_n_s_pyx_PickleError); + Py_CLEAR(clear_module_state->__pyx_n_s_pyx_checksum); + Py_CLEAR(clear_module_state->__pyx_n_s_pyx_result); + Py_CLEAR(clear_module_state->__pyx_n_s_pyx_state); + Py_CLEAR(clear_module_state->__pyx_n_s_pyx_type); + Py_CLEAR(clear_module_state->__pyx_n_s_pyx_unpickle_Enum); + Py_CLEAR(clear_module_state->__pyx_n_s_pyx_vtable); + Py_CLEAR(clear_module_state->__pyx_n_s_quick_select); + Py_CLEAR(clear_module_state->__pyx_n_s_range); + Py_CLEAR(clear_module_state->__pyx_n_s_real); + Py_CLEAR(clear_module_state->__pyx_n_s_reduce); + Py_CLEAR(clear_module_state->__pyx_n_s_reduce_cython); + Py_CLEAR(clear_module_state->__pyx_n_s_reduce_ex); + Py_CLEAR(clear_module_state->__pyx_n_s_register); + Py_CLEAR(clear_module_state->__pyx_n_s_remove_anomaly_in_bucket); + Py_CLEAR(clear_module_state->__pyx_n_s_right); + Py_CLEAR(clear_module_state->__pyx_n_s_scipy_stats); + Py_CLEAR(clear_module_state->__pyx_n_s_select); + Py_CLEAR(clear_module_state->__pyx_n_s_setstate); + Py_CLEAR(clear_module_state->__pyx_n_s_setstate_cython); + Py_CLEAR(clear_module_state->__pyx_n_s_shape); + Py_CLEAR(clear_module_state->__pyx_n_s_size); + Py_CLEAR(clear_module_state->__pyx_n_s_sorted_index); + Py_CLEAR(clear_module_state->__pyx_n_s_sorted_median); + Py_CLEAR(clear_module_state->__pyx_n_s_sorted_values); + Py_CLEAR(clear_module_state->__pyx_n_s_spec); + Py_CLEAR(clear_module_state->__pyx_n_s_spectral_residual_transform_core); + Py_CLEAR(clear_module_state->__pyx_n_s_sqrt); + Py_CLEAR(clear_module_state->__pyx_n_s_start); + Py_CLEAR(clear_module_state->__pyx_n_s_std); + Py_CLEAR(clear_module_state->__pyx_n_s_step); + Py_CLEAR(clear_module_state->__pyx_n_s_stop); + Py_CLEAR(clear_module_state->__pyx_kp_s_strided_and_direct); + Py_CLEAR(clear_module_state->__pyx_kp_s_strided_and_direct_or_indirect); + Py_CLEAR(clear_module_state->__pyx_kp_s_strided_and_indirect); + Py_CLEAR(clear_module_state->__pyx_kp_s_stringsource); + Py_CLEAR(clear_module_state->__pyx_n_s_struct); + Py_CLEAR(clear_module_state->__pyx_n_s_student_t); + Py_CLEAR(clear_module_state->__pyx_n_s_sys); + Py_CLEAR(clear_module_state->__pyx_n_s_t); + Py_CLEAR(clear_module_state->__pyx_n_s_table); + Py_CLEAR(clear_module_state->__pyx_n_s_test); + Py_CLEAR(clear_module_state->__pyx_n_s_threshold); + Py_CLEAR(clear_module_state->__pyx_n_s_trans); + Py_CLEAR(clear_module_state->__pyx_kp_s_unable_to_allocate_array_data); + Py_CLEAR(clear_module_state->__pyx_kp_s_unable_to_allocate_shape_and_str); + Py_CLEAR(clear_module_state->__pyx_n_s_unpack); + Py_CLEAR(clear_module_state->__pyx_n_s_update); + Py_CLEAR(clear_module_state->__pyx_n_s_upper_tail); + Py_CLEAR(clear_module_state->__pyx_n_s_value); + Py_CLEAR(clear_module_state->__pyx_n_s_values); + Py_CLEAR(clear_module_state->__pyx_n_s_var); + Py_CLEAR(clear_module_state->__pyx_n_s_version_info); + Py_CLEAR(clear_module_state->__pyx_n_s_wave_r); + Py_CLEAR(clear_module_state->__pyx_n_s_where); + Py_CLEAR(clear_module_state->__pyx_n_s_window); + Py_CLEAR(clear_module_state->__pyx_n_s_x); + Py_CLEAR(clear_module_state->__pyx_n_s_zeros); + Py_CLEAR(clear_module_state->__pyx_n_s_zip); + Py_CLEAR(clear_module_state->__pyx_float_1_); + Py_CLEAR(clear_module_state->__pyx_float_0_0); + Py_CLEAR(clear_module_state->__pyx_float_2_0); + Py_CLEAR(clear_module_state->__pyx_float_3_0); + Py_CLEAR(clear_module_state->__pyx_int_0); + Py_CLEAR(clear_module_state->__pyx_int_1); + Py_CLEAR(clear_module_state->__pyx_int_2); + Py_CLEAR(clear_module_state->__pyx_int_3); + Py_CLEAR(clear_module_state->__pyx_int_112105877); + Py_CLEAR(clear_module_state->__pyx_int_136983863); + Py_CLEAR(clear_module_state->__pyx_int_184977713); + Py_CLEAR(clear_module_state->__pyx_int_neg_1); + Py_CLEAR(clear_module_state->__pyx_slice__5); + Py_CLEAR(clear_module_state->__pyx_tuple__4); + Py_CLEAR(clear_module_state->__pyx_tuple__8); + Py_CLEAR(clear_module_state->__pyx_tuple__9); + Py_CLEAR(clear_module_state->__pyx_slice__12); + Py_CLEAR(clear_module_state->__pyx_tuple__10); + Py_CLEAR(clear_module_state->__pyx_tuple__11); + Py_CLEAR(clear_module_state->__pyx_tuple__13); + Py_CLEAR(clear_module_state->__pyx_tuple__14); + Py_CLEAR(clear_module_state->__pyx_tuple__15); + Py_CLEAR(clear_module_state->__pyx_tuple__16); + Py_CLEAR(clear_module_state->__pyx_tuple__17); + Py_CLEAR(clear_module_state->__pyx_tuple__18); + Py_CLEAR(clear_module_state->__pyx_tuple__19); + Py_CLEAR(clear_module_state->__pyx_tuple__20); + Py_CLEAR(clear_module_state->__pyx_tuple__21); + Py_CLEAR(clear_module_state->__pyx_tuple__22); + Py_CLEAR(clear_module_state->__pyx_tuple__23); + Py_CLEAR(clear_module_state->__pyx_tuple__25); + Py_CLEAR(clear_module_state->__pyx_tuple__27); + Py_CLEAR(clear_module_state->__pyx_tuple__29); + Py_CLEAR(clear_module_state->__pyx_tuple__31); + Py_CLEAR(clear_module_state->__pyx_tuple__33); + Py_CLEAR(clear_module_state->__pyx_tuple__35); + Py_CLEAR(clear_module_state->__pyx_tuple__36); + Py_CLEAR(clear_module_state->__pyx_tuple__38); + Py_CLEAR(clear_module_state->__pyx_tuple__40); + Py_CLEAR(clear_module_state->__pyx_tuple__42); + Py_CLEAR(clear_module_state->__pyx_tuple__44); + Py_CLEAR(clear_module_state->__pyx_tuple__46); + Py_CLEAR(clear_module_state->__pyx_tuple__48); + Py_CLEAR(clear_module_state->__pyx_tuple__50); + Py_CLEAR(clear_module_state->__pyx_tuple__52); + Py_CLEAR(clear_module_state->__pyx_tuple__53); + Py_CLEAR(clear_module_state->__pyx_tuple__55); + Py_CLEAR(clear_module_state->__pyx_tuple__57); + Py_CLEAR(clear_module_state->__pyx_codeobj__24); + Py_CLEAR(clear_module_state->__pyx_codeobj__26); + Py_CLEAR(clear_module_state->__pyx_codeobj__28); + Py_CLEAR(clear_module_state->__pyx_codeobj__30); + Py_CLEAR(clear_module_state->__pyx_codeobj__32); + Py_CLEAR(clear_module_state->__pyx_codeobj__34); + Py_CLEAR(clear_module_state->__pyx_codeobj__37); + Py_CLEAR(clear_module_state->__pyx_codeobj__39); + Py_CLEAR(clear_module_state->__pyx_codeobj__41); + Py_CLEAR(clear_module_state->__pyx_codeobj__43); + Py_CLEAR(clear_module_state->__pyx_codeobj__45); + Py_CLEAR(clear_module_state->__pyx_codeobj__47); + Py_CLEAR(clear_module_state->__pyx_codeobj__49); + Py_CLEAR(clear_module_state->__pyx_codeobj__51); + Py_CLEAR(clear_module_state->__pyx_codeobj__54); + Py_CLEAR(clear_module_state->__pyx_codeobj__56); + Py_CLEAR(clear_module_state->__pyx_codeobj__58); + return 0; +} +#endif +/* #### Code section: module_state_traverse ### */ +#if CYTHON_USE_MODULE_STATE +static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) { + __pyx_mstate *traverse_module_state = __pyx_mstate(m); + if (!traverse_module_state) return 0; + Py_VISIT(traverse_module_state->__pyx_d); + Py_VISIT(traverse_module_state->__pyx_b); + Py_VISIT(traverse_module_state->__pyx_cython_runtime); + Py_VISIT(traverse_module_state->__pyx_empty_tuple); + Py_VISIT(traverse_module_state->__pyx_empty_bytes); + Py_VISIT(traverse_module_state->__pyx_empty_unicode); + #ifdef __Pyx_CyFunction_USED + Py_VISIT(traverse_module_state->__pyx_CyFunctionType); + #endif + #ifdef __Pyx_FusedFunction_USED + Py_VISIT(traverse_module_state->__pyx_FusedFunctionType); + #endif + Py_VISIT(traverse_module_state->__pyx_ptype_7cpython_4type_type); + Py_VISIT(traverse_module_state->__pyx_ptype_5numpy_dtype); + Py_VISIT(traverse_module_state->__pyx_ptype_5numpy_flatiter); + Py_VISIT(traverse_module_state->__pyx_ptype_5numpy_broadcast); + Py_VISIT(traverse_module_state->__pyx_ptype_5numpy_ndarray); + Py_VISIT(traverse_module_state->__pyx_ptype_5numpy_generic); + Py_VISIT(traverse_module_state->__pyx_ptype_5numpy_number); + Py_VISIT(traverse_module_state->__pyx_ptype_5numpy_integer); + Py_VISIT(traverse_module_state->__pyx_ptype_5numpy_signedinteger); + Py_VISIT(traverse_module_state->__pyx_ptype_5numpy_unsignedinteger); + Py_VISIT(traverse_module_state->__pyx_ptype_5numpy_inexact); + Py_VISIT(traverse_module_state->__pyx_ptype_5numpy_floating); + Py_VISIT(traverse_module_state->__pyx_ptype_5numpy_complexfloating); + Py_VISIT(traverse_module_state->__pyx_ptype_5numpy_flexible); + Py_VISIT(traverse_module_state->__pyx_ptype_5numpy_character); + Py_VISIT(traverse_module_state->__pyx_ptype_5numpy_ufunc); + Py_VISIT(traverse_module_state->__pyx_array_type); + Py_VISIT(traverse_module_state->__pyx_type___pyx_array); + Py_VISIT(traverse_module_state->__pyx_MemviewEnum_type); + Py_VISIT(traverse_module_state->__pyx_type___pyx_MemviewEnum); + Py_VISIT(traverse_module_state->__pyx_memoryview_type); + Py_VISIT(traverse_module_state->__pyx_type___pyx_memoryview); + Py_VISIT(traverse_module_state->__pyx_memoryviewslice_type); + Py_VISIT(traverse_module_state->__pyx_type___pyx_memoryviewslice); + Py_VISIT(traverse_module_state->__pyx_kp_u_); + Py_VISIT(traverse_module_state->__pyx_n_s_ASCII); + Py_VISIT(traverse_module_state->__pyx_kp_s_All_dimensions_preceding_dimensi); + Py_VISIT(traverse_module_state->__pyx_n_s_AssertionError); + Py_VISIT(traverse_module_state->__pyx_kp_s_Buffer_view_does_not_expose_stri); + Py_VISIT(traverse_module_state->__pyx_kp_s_Can_only_create_a_buffer_that_is); + Py_VISIT(traverse_module_state->__pyx_kp_s_Cannot_assign_to_read_only_memor); + Py_VISIT(traverse_module_state->__pyx_kp_s_Cannot_create_writable_memory_vi); + Py_VISIT(traverse_module_state->__pyx_kp_u_Cannot_index_with_type); + Py_VISIT(traverse_module_state->__pyx_kp_s_Cannot_transpose_memoryview_with); + Py_VISIT(traverse_module_state->__pyx_kp_s_Dimension_d_is_not_direct); + Py_VISIT(traverse_module_state->__pyx_n_s_Ellipsis); + Py_VISIT(traverse_module_state->__pyx_kp_s_Empty_shape_tuple_for_cython_arr); + Py_VISIT(traverse_module_state->__pyx_n_s_Gaussian); + Py_VISIT(traverse_module_state->__pyx_n_s_ImportError); + Py_VISIT(traverse_module_state->__pyx_kp_s_Incompatible_checksums_0x_x_vs_0); + Py_VISIT(traverse_module_state->__pyx_n_s_IndexError); + Py_VISIT(traverse_module_state->__pyx_kp_s_Index_out_of_bounds_axis_d); + Py_VISIT(traverse_module_state->__pyx_kp_s_Indirect_dimensions_not_supporte); + Py_VISIT(traverse_module_state->__pyx_kp_u_Invalid_mode_expected_c_or_fortr); + Py_VISIT(traverse_module_state->__pyx_kp_u_Invalid_shape_in_axis); + Py_VISIT(traverse_module_state->__pyx_n_s_MemoryError); + Py_VISIT(traverse_module_state->__pyx_kp_s_MemoryView_of_r_at_0x_x); + Py_VISIT(traverse_module_state->__pyx_kp_s_MemoryView_of_r_object); + Py_VISIT(traverse_module_state->__pyx_n_b_O); + Py_VISIT(traverse_module_state->__pyx_kp_u_Out_of_bounds_on_buffer_access_a); + Py_VISIT(traverse_module_state->__pyx_n_s_PickleError); + Py_VISIT(traverse_module_state->__pyx_n_s_Sequence); + Py_VISIT(traverse_module_state->__pyx_kp_s_Step_may_not_be_zero_axis_d); + Py_VISIT(traverse_module_state->__pyx_n_s_TypeError); + Py_VISIT(traverse_module_state->__pyx_kp_s_Unable_to_convert_item_to_object); + Py_VISIT(traverse_module_state->__pyx_n_s_ValueError); + Py_VISIT(traverse_module_state->__pyx_n_s_View_MemoryView); + Py_VISIT(traverse_module_state->__pyx_kp_u__2); + Py_VISIT(traverse_module_state->__pyx_n_s__3); + Py_VISIT(traverse_module_state->__pyx_n_s__59); + Py_VISIT(traverse_module_state->__pyx_kp_u__6); + Py_VISIT(traverse_module_state->__pyx_kp_u__7); + Py_VISIT(traverse_module_state->__pyx_n_s_a); + Py_VISIT(traverse_module_state->__pyx_n_s_abc); + Py_VISIT(traverse_module_state->__pyx_n_s_abs); + Py_VISIT(traverse_module_state->__pyx_n_s_allocate_buffer); + Py_VISIT(traverse_module_state->__pyx_n_s_alpha); + Py_VISIT(traverse_module_state->__pyx_n_s_amplitude); + Py_VISIT(traverse_module_state->__pyx_kp_u_and); + Py_VISIT(traverse_module_state->__pyx_n_s_anomaly_detector_univariate__ano); + Py_VISIT(traverse_module_state->__pyx_kp_s_anomaly_kernel_cython_pyx); + Py_VISIT(traverse_module_state->__pyx_n_s_array); + Py_VISIT(traverse_module_state->__pyx_n_s_asyncio_coroutines); + Py_VISIT(traverse_module_state->__pyx_n_s_b); + Py_VISIT(traverse_module_state->__pyx_n_s_base); + Py_VISIT(traverse_module_state->__pyx_n_s_bisect); + Py_VISIT(traverse_module_state->__pyx_n_s_bisect_right); + Py_VISIT(traverse_module_state->__pyx_n_s_c); + Py_VISIT(traverse_module_state->__pyx_n_u_c); + Py_VISIT(traverse_module_state->__pyx_n_s_calculate_esd_values); + Py_VISIT(traverse_module_state->__pyx_n_s_check_anomaly_status); + Py_VISIT(traverse_module_state->__pyx_n_s_class); + Py_VISIT(traverse_module_state->__pyx_n_s_class_getitem); + Py_VISIT(traverse_module_state->__pyx_n_s_cline_in_traceback); + Py_VISIT(traverse_module_state->__pyx_n_s_collections); + Py_VISIT(traverse_module_state->__pyx_kp_s_collections_abc); + Py_VISIT(traverse_module_state->__pyx_kp_s_contiguous_and_direct); + Py_VISIT(traverse_module_state->__pyx_kp_s_contiguous_and_indirect); + Py_VISIT(traverse_module_state->__pyx_n_s_count); + Py_VISIT(traverse_module_state->__pyx_n_s_critical_values); + Py_VISIT(traverse_module_state->__pyx_n_s_current); + Py_VISIT(traverse_module_state->__pyx_n_s_d); + Py_VISIT(traverse_module_state->__pyx_n_s_data); + Py_VISIT(traverse_module_state->__pyx_n_s_data_sigma); + Py_VISIT(traverse_module_state->__pyx_n_s_dict); + Py_VISIT(traverse_module_state->__pyx_kp_u_disable); + Py_VISIT(traverse_module_state->__pyx_n_s_dtype); + Py_VISIT(traverse_module_state->__pyx_n_s_dtype_is_object); + Py_VISIT(traverse_module_state->__pyx_n_s_dynamic_threshold); + Py_VISIT(traverse_module_state->__pyx_n_s_empty); + Py_VISIT(traverse_module_state->__pyx_kp_u_enable); + Py_VISIT(traverse_module_state->__pyx_n_s_encode); + Py_VISIT(traverse_module_state->__pyx_n_s_enumerate); + Py_VISIT(traverse_module_state->__pyx_n_s_error); + Py_VISIT(traverse_module_state->__pyx_n_s_f); + Py_VISIT(traverse_module_state->__pyx_n_s_fabs); + Py_VISIT(traverse_module_state->__pyx_n_s_fast_median); + Py_VISIT(traverse_module_state->__pyx_n_s_fft); + Py_VISIT(traverse_module_state->__pyx_n_s_find_median_sorted_arrays); + Py_VISIT(traverse_module_state->__pyx_n_s_flags); + Py_VISIT(traverse_module_state->__pyx_n_s_format); + Py_VISIT(traverse_module_state->__pyx_n_s_fortran); + Py_VISIT(traverse_module_state->__pyx_n_u_fortran); + Py_VISIT(traverse_module_state->__pyx_kp_u_gc); + Py_VISIT(traverse_module_state->__pyx_n_s_gcv); + Py_VISIT(traverse_module_state->__pyx_n_s_gcv_input); + Py_VISIT(traverse_module_state->__pyx_n_s_generalized_esd_test); + Py_VISIT(traverse_module_state->__pyx_n_s_getstate); + Py_VISIT(traverse_module_state->__pyx_kp_u_got); + Py_VISIT(traverse_module_state->__pyx_kp_u_got_differing_extents_in_dimensi); + Py_VISIT(traverse_module_state->__pyx_n_s_i); + Py_VISIT(traverse_module_state->__pyx_n_s_id); + Py_VISIT(traverse_module_state->__pyx_n_s_ifft); + Py_VISIT(traverse_module_state->__pyx_n_s_iimag); + Py_VISIT(traverse_module_state->__pyx_n_s_imag); + Py_VISIT(traverse_module_state->__pyx_n_s_import); + Py_VISIT(traverse_module_state->__pyx_n_s_index); + Py_VISIT(traverse_module_state->__pyx_n_s_inf); + Py_VISIT(traverse_module_state->__pyx_n_s_initializing); + Py_VISIT(traverse_module_state->__pyx_n_s_ireal); + Py_VISIT(traverse_module_state->__pyx_n_s_is_coroutine); + Py_VISIT(traverse_module_state->__pyx_n_s_is_straight); + Py_VISIT(traverse_module_state->__pyx_n_s_isclose); + Py_VISIT(traverse_module_state->__pyx_kp_u_isenabled); + Py_VISIT(traverse_module_state->__pyx_n_s_itemsize); + Py_VISIT(traverse_module_state->__pyx_kp_s_itemsize_0_for_cython_array); + Py_VISIT(traverse_module_state->__pyx_n_s_j); + Py_VISIT(traverse_module_state->__pyx_n_s_k); + Py_VISIT(traverse_module_state->__pyx_n_s_last_index); + Py_VISIT(traverse_module_state->__pyx_n_s_left); + Py_VISIT(traverse_module_state->__pyx_n_s_mag); + Py_VISIT(traverse_module_state->__pyx_n_s_main); + Py_VISIT(traverse_module_state->__pyx_n_s_max_gcv); + Py_VISIT(traverse_module_state->__pyx_n_s_max_outliers); + Py_VISIT(traverse_module_state->__pyx_n_s_mean); + Py_VISIT(traverse_module_state->__pyx_n_s_median); + Py_VISIT(traverse_module_state->__pyx_n_s_median_filter); + Py_VISIT(traverse_module_state->__pyx_n_s_median_value); + Py_VISIT(traverse_module_state->__pyx_n_s_memview); + Py_VISIT(traverse_module_state->__pyx_n_s_mode); + Py_VISIT(traverse_module_state->__pyx_n_s_n); + Py_VISIT(traverse_module_state->__pyx_n_s_name); + Py_VISIT(traverse_module_state->__pyx_n_s_name_2); + Py_VISIT(traverse_module_state->__pyx_n_s_ndim); + Py_VISIT(traverse_module_state->__pyx_n_s_need_two_end); + Py_VISIT(traverse_module_state->__pyx_n_s_new); + Py_VISIT(traverse_module_state->__pyx_kp_s_no_default___reduce___due_to_non); + Py_VISIT(traverse_module_state->__pyx_kp_s_no_median_for_empty_data); + Py_VISIT(traverse_module_state->__pyx_n_s_norm); + Py_VISIT(traverse_module_state->__pyx_n_s_np); + Py_VISIT(traverse_module_state->__pyx_n_s_numpy); + Py_VISIT(traverse_module_state->__pyx_kp_s_numpy_core_multiarray_failed_to); + Py_VISIT(traverse_module_state->__pyx_kp_s_numpy_core_umath_failed_to_impor); + Py_VISIT(traverse_module_state->__pyx_n_s_obj); + Py_VISIT(traverse_module_state->__pyx_n_s_one_tail); + Py_VISIT(traverse_module_state->__pyx_n_s_pack); + Py_VISIT(traverse_module_state->__pyx_n_s_partition); + Py_VISIT(traverse_module_state->__pyx_n_s_period); + Py_VISIT(traverse_module_state->__pyx_n_s_periods); + Py_VISIT(traverse_module_state->__pyx_n_s_pickle); + Py_VISIT(traverse_module_state->__pyx_n_s_pivot_index); + Py_VISIT(traverse_module_state->__pyx_n_s_ppf); + Py_VISIT(traverse_module_state->__pyx_n_s_pyx_PickleError); + Py_VISIT(traverse_module_state->__pyx_n_s_pyx_checksum); + Py_VISIT(traverse_module_state->__pyx_n_s_pyx_result); + Py_VISIT(traverse_module_state->__pyx_n_s_pyx_state); + Py_VISIT(traverse_module_state->__pyx_n_s_pyx_type); + Py_VISIT(traverse_module_state->__pyx_n_s_pyx_unpickle_Enum); + Py_VISIT(traverse_module_state->__pyx_n_s_pyx_vtable); + Py_VISIT(traverse_module_state->__pyx_n_s_quick_select); + Py_VISIT(traverse_module_state->__pyx_n_s_range); + Py_VISIT(traverse_module_state->__pyx_n_s_real); + Py_VISIT(traverse_module_state->__pyx_n_s_reduce); + Py_VISIT(traverse_module_state->__pyx_n_s_reduce_cython); + Py_VISIT(traverse_module_state->__pyx_n_s_reduce_ex); + Py_VISIT(traverse_module_state->__pyx_n_s_register); + Py_VISIT(traverse_module_state->__pyx_n_s_remove_anomaly_in_bucket); + Py_VISIT(traverse_module_state->__pyx_n_s_right); + Py_VISIT(traverse_module_state->__pyx_n_s_scipy_stats); + Py_VISIT(traverse_module_state->__pyx_n_s_select); + Py_VISIT(traverse_module_state->__pyx_n_s_setstate); + Py_VISIT(traverse_module_state->__pyx_n_s_setstate_cython); + Py_VISIT(traverse_module_state->__pyx_n_s_shape); + Py_VISIT(traverse_module_state->__pyx_n_s_size); + Py_VISIT(traverse_module_state->__pyx_n_s_sorted_index); + Py_VISIT(traverse_module_state->__pyx_n_s_sorted_median); + Py_VISIT(traverse_module_state->__pyx_n_s_sorted_values); + Py_VISIT(traverse_module_state->__pyx_n_s_spec); + Py_VISIT(traverse_module_state->__pyx_n_s_spectral_residual_transform_core); + Py_VISIT(traverse_module_state->__pyx_n_s_sqrt); + Py_VISIT(traverse_module_state->__pyx_n_s_start); + Py_VISIT(traverse_module_state->__pyx_n_s_std); + Py_VISIT(traverse_module_state->__pyx_n_s_step); + Py_VISIT(traverse_module_state->__pyx_n_s_stop); + Py_VISIT(traverse_module_state->__pyx_kp_s_strided_and_direct); + Py_VISIT(traverse_module_state->__pyx_kp_s_strided_and_direct_or_indirect); + Py_VISIT(traverse_module_state->__pyx_kp_s_strided_and_indirect); + Py_VISIT(traverse_module_state->__pyx_kp_s_stringsource); + Py_VISIT(traverse_module_state->__pyx_n_s_struct); + Py_VISIT(traverse_module_state->__pyx_n_s_student_t); + Py_VISIT(traverse_module_state->__pyx_n_s_sys); + Py_VISIT(traverse_module_state->__pyx_n_s_t); + Py_VISIT(traverse_module_state->__pyx_n_s_table); + Py_VISIT(traverse_module_state->__pyx_n_s_test); + Py_VISIT(traverse_module_state->__pyx_n_s_threshold); + Py_VISIT(traverse_module_state->__pyx_n_s_trans); + Py_VISIT(traverse_module_state->__pyx_kp_s_unable_to_allocate_array_data); + Py_VISIT(traverse_module_state->__pyx_kp_s_unable_to_allocate_shape_and_str); + Py_VISIT(traverse_module_state->__pyx_n_s_unpack); + Py_VISIT(traverse_module_state->__pyx_n_s_update); + Py_VISIT(traverse_module_state->__pyx_n_s_upper_tail); + Py_VISIT(traverse_module_state->__pyx_n_s_value); + Py_VISIT(traverse_module_state->__pyx_n_s_values); + Py_VISIT(traverse_module_state->__pyx_n_s_var); + Py_VISIT(traverse_module_state->__pyx_n_s_version_info); + Py_VISIT(traverse_module_state->__pyx_n_s_wave_r); + Py_VISIT(traverse_module_state->__pyx_n_s_where); + Py_VISIT(traverse_module_state->__pyx_n_s_window); + Py_VISIT(traverse_module_state->__pyx_n_s_x); + Py_VISIT(traverse_module_state->__pyx_n_s_zeros); + Py_VISIT(traverse_module_state->__pyx_n_s_zip); + Py_VISIT(traverse_module_state->__pyx_float_1_); + Py_VISIT(traverse_module_state->__pyx_float_0_0); + Py_VISIT(traverse_module_state->__pyx_float_2_0); + Py_VISIT(traverse_module_state->__pyx_float_3_0); + Py_VISIT(traverse_module_state->__pyx_int_0); + Py_VISIT(traverse_module_state->__pyx_int_1); + Py_VISIT(traverse_module_state->__pyx_int_2); + Py_VISIT(traverse_module_state->__pyx_int_3); + Py_VISIT(traverse_module_state->__pyx_int_112105877); + Py_VISIT(traverse_module_state->__pyx_int_136983863); + Py_VISIT(traverse_module_state->__pyx_int_184977713); + Py_VISIT(traverse_module_state->__pyx_int_neg_1); + Py_VISIT(traverse_module_state->__pyx_slice__5); + Py_VISIT(traverse_module_state->__pyx_tuple__4); + Py_VISIT(traverse_module_state->__pyx_tuple__8); + Py_VISIT(traverse_module_state->__pyx_tuple__9); + Py_VISIT(traverse_module_state->__pyx_slice__12); + Py_VISIT(traverse_module_state->__pyx_tuple__10); + Py_VISIT(traverse_module_state->__pyx_tuple__11); + Py_VISIT(traverse_module_state->__pyx_tuple__13); + Py_VISIT(traverse_module_state->__pyx_tuple__14); + Py_VISIT(traverse_module_state->__pyx_tuple__15); + Py_VISIT(traverse_module_state->__pyx_tuple__16); + Py_VISIT(traverse_module_state->__pyx_tuple__17); + Py_VISIT(traverse_module_state->__pyx_tuple__18); + Py_VISIT(traverse_module_state->__pyx_tuple__19); + Py_VISIT(traverse_module_state->__pyx_tuple__20); + Py_VISIT(traverse_module_state->__pyx_tuple__21); + Py_VISIT(traverse_module_state->__pyx_tuple__22); + Py_VISIT(traverse_module_state->__pyx_tuple__23); + Py_VISIT(traverse_module_state->__pyx_tuple__25); + Py_VISIT(traverse_module_state->__pyx_tuple__27); + Py_VISIT(traverse_module_state->__pyx_tuple__29); + Py_VISIT(traverse_module_state->__pyx_tuple__31); + Py_VISIT(traverse_module_state->__pyx_tuple__33); + Py_VISIT(traverse_module_state->__pyx_tuple__35); + Py_VISIT(traverse_module_state->__pyx_tuple__36); + Py_VISIT(traverse_module_state->__pyx_tuple__38); + Py_VISIT(traverse_module_state->__pyx_tuple__40); + Py_VISIT(traverse_module_state->__pyx_tuple__42); + Py_VISIT(traverse_module_state->__pyx_tuple__44); + Py_VISIT(traverse_module_state->__pyx_tuple__46); + Py_VISIT(traverse_module_state->__pyx_tuple__48); + Py_VISIT(traverse_module_state->__pyx_tuple__50); + Py_VISIT(traverse_module_state->__pyx_tuple__52); + Py_VISIT(traverse_module_state->__pyx_tuple__53); + Py_VISIT(traverse_module_state->__pyx_tuple__55); + Py_VISIT(traverse_module_state->__pyx_tuple__57); + Py_VISIT(traverse_module_state->__pyx_codeobj__24); + Py_VISIT(traverse_module_state->__pyx_codeobj__26); + Py_VISIT(traverse_module_state->__pyx_codeobj__28); + Py_VISIT(traverse_module_state->__pyx_codeobj__30); + Py_VISIT(traverse_module_state->__pyx_codeobj__32); + Py_VISIT(traverse_module_state->__pyx_codeobj__34); + Py_VISIT(traverse_module_state->__pyx_codeobj__37); + Py_VISIT(traverse_module_state->__pyx_codeobj__39); + Py_VISIT(traverse_module_state->__pyx_codeobj__41); + Py_VISIT(traverse_module_state->__pyx_codeobj__43); + Py_VISIT(traverse_module_state->__pyx_codeobj__45); + Py_VISIT(traverse_module_state->__pyx_codeobj__47); + Py_VISIT(traverse_module_state->__pyx_codeobj__49); + Py_VISIT(traverse_module_state->__pyx_codeobj__51); + Py_VISIT(traverse_module_state->__pyx_codeobj__54); + Py_VISIT(traverse_module_state->__pyx_codeobj__56); + Py_VISIT(traverse_module_state->__pyx_codeobj__58); + return 0; +} +#endif +/* #### Code section: module_state_defines ### */ +#define __pyx_d __pyx_mstate_global->__pyx_d +#define __pyx_b __pyx_mstate_global->__pyx_b +#define __pyx_cython_runtime __pyx_mstate_global->__pyx_cython_runtime +#define __pyx_empty_tuple __pyx_mstate_global->__pyx_empty_tuple +#define __pyx_empty_bytes __pyx_mstate_global->__pyx_empty_bytes +#define __pyx_empty_unicode __pyx_mstate_global->__pyx_empty_unicode +#ifdef __Pyx_CyFunction_USED +#define __pyx_CyFunctionType __pyx_mstate_global->__pyx_CyFunctionType +#endif +#ifdef __Pyx_FusedFunction_USED +#define __pyx_FusedFunctionType __pyx_mstate_global->__pyx_FusedFunctionType +#endif +#ifdef __Pyx_Generator_USED +#define __pyx_GeneratorType __pyx_mstate_global->__pyx_GeneratorType +#endif +#ifdef __Pyx_IterableCoroutine_USED +#define __pyx_IterableCoroutineType __pyx_mstate_global->__pyx_IterableCoroutineType +#endif +#ifdef __Pyx_Coroutine_USED +#define __pyx_CoroutineAwaitType __pyx_mstate_global->__pyx_CoroutineAwaitType +#endif +#ifdef __Pyx_Coroutine_USED +#define __pyx_CoroutineType __pyx_mstate_global->__pyx_CoroutineType +#endif +#if CYTHON_USE_MODULE_STATE +#endif +#if CYTHON_USE_MODULE_STATE +#endif +#if CYTHON_USE_MODULE_STATE +#endif +#if CYTHON_USE_MODULE_STATE +#endif +#if CYTHON_USE_MODULE_STATE +#endif +#define __pyx_ptype_7cpython_4type_type __pyx_mstate_global->__pyx_ptype_7cpython_4type_type +#if CYTHON_USE_MODULE_STATE +#endif +#if CYTHON_USE_MODULE_STATE +#endif +#if CYTHON_USE_MODULE_STATE +#endif +#if CYTHON_USE_MODULE_STATE +#endif +#if CYTHON_USE_MODULE_STATE +#endif +#define __pyx_ptype_5numpy_dtype __pyx_mstate_global->__pyx_ptype_5numpy_dtype +#define __pyx_ptype_5numpy_flatiter __pyx_mstate_global->__pyx_ptype_5numpy_flatiter +#define __pyx_ptype_5numpy_broadcast __pyx_mstate_global->__pyx_ptype_5numpy_broadcast +#define __pyx_ptype_5numpy_ndarray __pyx_mstate_global->__pyx_ptype_5numpy_ndarray +#define __pyx_ptype_5numpy_generic __pyx_mstate_global->__pyx_ptype_5numpy_generic +#define __pyx_ptype_5numpy_number __pyx_mstate_global->__pyx_ptype_5numpy_number +#define __pyx_ptype_5numpy_integer __pyx_mstate_global->__pyx_ptype_5numpy_integer +#define __pyx_ptype_5numpy_signedinteger __pyx_mstate_global->__pyx_ptype_5numpy_signedinteger +#define __pyx_ptype_5numpy_unsignedinteger __pyx_mstate_global->__pyx_ptype_5numpy_unsignedinteger +#define __pyx_ptype_5numpy_inexact __pyx_mstate_global->__pyx_ptype_5numpy_inexact +#define __pyx_ptype_5numpy_floating __pyx_mstate_global->__pyx_ptype_5numpy_floating +#define __pyx_ptype_5numpy_complexfloating __pyx_mstate_global->__pyx_ptype_5numpy_complexfloating +#define __pyx_ptype_5numpy_flexible __pyx_mstate_global->__pyx_ptype_5numpy_flexible +#define __pyx_ptype_5numpy_character __pyx_mstate_global->__pyx_ptype_5numpy_character +#define __pyx_ptype_5numpy_ufunc __pyx_mstate_global->__pyx_ptype_5numpy_ufunc +#if CYTHON_USE_MODULE_STATE +#endif +#if CYTHON_USE_MODULE_STATE +#define __pyx_type___pyx_array __pyx_mstate_global->__pyx_type___pyx_array +#define __pyx_type___pyx_MemviewEnum __pyx_mstate_global->__pyx_type___pyx_MemviewEnum +#define __pyx_type___pyx_memoryview __pyx_mstate_global->__pyx_type___pyx_memoryview +#define __pyx_type___pyx_memoryviewslice __pyx_mstate_global->__pyx_type___pyx_memoryviewslice +#endif +#define __pyx_array_type __pyx_mstate_global->__pyx_array_type +#define __pyx_MemviewEnum_type __pyx_mstate_global->__pyx_MemviewEnum_type +#define __pyx_memoryview_type __pyx_mstate_global->__pyx_memoryview_type +#define __pyx_memoryviewslice_type __pyx_mstate_global->__pyx_memoryviewslice_type +#define __pyx_kp_u_ __pyx_mstate_global->__pyx_kp_u_ +#define __pyx_n_s_ASCII __pyx_mstate_global->__pyx_n_s_ASCII +#define __pyx_kp_s_All_dimensions_preceding_dimensi __pyx_mstate_global->__pyx_kp_s_All_dimensions_preceding_dimensi +#define __pyx_n_s_AssertionError __pyx_mstate_global->__pyx_n_s_AssertionError +#define __pyx_kp_s_Buffer_view_does_not_expose_stri __pyx_mstate_global->__pyx_kp_s_Buffer_view_does_not_expose_stri +#define __pyx_kp_s_Can_only_create_a_buffer_that_is __pyx_mstate_global->__pyx_kp_s_Can_only_create_a_buffer_that_is +#define __pyx_kp_s_Cannot_assign_to_read_only_memor __pyx_mstate_global->__pyx_kp_s_Cannot_assign_to_read_only_memor +#define __pyx_kp_s_Cannot_create_writable_memory_vi __pyx_mstate_global->__pyx_kp_s_Cannot_create_writable_memory_vi +#define __pyx_kp_u_Cannot_index_with_type __pyx_mstate_global->__pyx_kp_u_Cannot_index_with_type +#define __pyx_kp_s_Cannot_transpose_memoryview_with __pyx_mstate_global->__pyx_kp_s_Cannot_transpose_memoryview_with +#define __pyx_kp_s_Dimension_d_is_not_direct __pyx_mstate_global->__pyx_kp_s_Dimension_d_is_not_direct +#define __pyx_n_s_Ellipsis __pyx_mstate_global->__pyx_n_s_Ellipsis +#define __pyx_kp_s_Empty_shape_tuple_for_cython_arr __pyx_mstate_global->__pyx_kp_s_Empty_shape_tuple_for_cython_arr +#define __pyx_n_s_Gaussian __pyx_mstate_global->__pyx_n_s_Gaussian +#define __pyx_n_s_ImportError __pyx_mstate_global->__pyx_n_s_ImportError +#define __pyx_kp_s_Incompatible_checksums_0x_x_vs_0 __pyx_mstate_global->__pyx_kp_s_Incompatible_checksums_0x_x_vs_0 +#define __pyx_n_s_IndexError __pyx_mstate_global->__pyx_n_s_IndexError +#define __pyx_kp_s_Index_out_of_bounds_axis_d __pyx_mstate_global->__pyx_kp_s_Index_out_of_bounds_axis_d +#define __pyx_kp_s_Indirect_dimensions_not_supporte __pyx_mstate_global->__pyx_kp_s_Indirect_dimensions_not_supporte +#define __pyx_kp_u_Invalid_mode_expected_c_or_fortr __pyx_mstate_global->__pyx_kp_u_Invalid_mode_expected_c_or_fortr +#define __pyx_kp_u_Invalid_shape_in_axis __pyx_mstate_global->__pyx_kp_u_Invalid_shape_in_axis +#define __pyx_n_s_MemoryError __pyx_mstate_global->__pyx_n_s_MemoryError +#define __pyx_kp_s_MemoryView_of_r_at_0x_x __pyx_mstate_global->__pyx_kp_s_MemoryView_of_r_at_0x_x +#define __pyx_kp_s_MemoryView_of_r_object __pyx_mstate_global->__pyx_kp_s_MemoryView_of_r_object +#define __pyx_n_b_O __pyx_mstate_global->__pyx_n_b_O +#define __pyx_kp_u_Out_of_bounds_on_buffer_access_a __pyx_mstate_global->__pyx_kp_u_Out_of_bounds_on_buffer_access_a +#define __pyx_n_s_PickleError __pyx_mstate_global->__pyx_n_s_PickleError +#define __pyx_n_s_Sequence __pyx_mstate_global->__pyx_n_s_Sequence +#define __pyx_kp_s_Step_may_not_be_zero_axis_d __pyx_mstate_global->__pyx_kp_s_Step_may_not_be_zero_axis_d +#define __pyx_n_s_TypeError __pyx_mstate_global->__pyx_n_s_TypeError +#define __pyx_kp_s_Unable_to_convert_item_to_object __pyx_mstate_global->__pyx_kp_s_Unable_to_convert_item_to_object +#define __pyx_n_s_ValueError __pyx_mstate_global->__pyx_n_s_ValueError +#define __pyx_n_s_View_MemoryView __pyx_mstate_global->__pyx_n_s_View_MemoryView +#define __pyx_kp_u__2 __pyx_mstate_global->__pyx_kp_u__2 +#define __pyx_n_s__3 __pyx_mstate_global->__pyx_n_s__3 +#define __pyx_n_s__59 __pyx_mstate_global->__pyx_n_s__59 +#define __pyx_kp_u__6 __pyx_mstate_global->__pyx_kp_u__6 +#define __pyx_kp_u__7 __pyx_mstate_global->__pyx_kp_u__7 +#define __pyx_n_s_a __pyx_mstate_global->__pyx_n_s_a +#define __pyx_n_s_abc __pyx_mstate_global->__pyx_n_s_abc +#define __pyx_n_s_abs __pyx_mstate_global->__pyx_n_s_abs +#define __pyx_n_s_allocate_buffer __pyx_mstate_global->__pyx_n_s_allocate_buffer +#define __pyx_n_s_alpha __pyx_mstate_global->__pyx_n_s_alpha +#define __pyx_n_s_amplitude __pyx_mstate_global->__pyx_n_s_amplitude +#define __pyx_kp_u_and __pyx_mstate_global->__pyx_kp_u_and +#define __pyx_n_s_anomaly_detector_univariate__ano __pyx_mstate_global->__pyx_n_s_anomaly_detector_univariate__ano +#define __pyx_kp_s_anomaly_kernel_cython_pyx __pyx_mstate_global->__pyx_kp_s_anomaly_kernel_cython_pyx +#define __pyx_n_s_array __pyx_mstate_global->__pyx_n_s_array +#define __pyx_n_s_asyncio_coroutines __pyx_mstate_global->__pyx_n_s_asyncio_coroutines +#define __pyx_n_s_b __pyx_mstate_global->__pyx_n_s_b +#define __pyx_n_s_base __pyx_mstate_global->__pyx_n_s_base +#define __pyx_n_s_bisect __pyx_mstate_global->__pyx_n_s_bisect +#define __pyx_n_s_bisect_right __pyx_mstate_global->__pyx_n_s_bisect_right +#define __pyx_n_s_c __pyx_mstate_global->__pyx_n_s_c +#define __pyx_n_u_c __pyx_mstate_global->__pyx_n_u_c +#define __pyx_n_s_calculate_esd_values __pyx_mstate_global->__pyx_n_s_calculate_esd_values +#define __pyx_n_s_check_anomaly_status __pyx_mstate_global->__pyx_n_s_check_anomaly_status +#define __pyx_n_s_class __pyx_mstate_global->__pyx_n_s_class +#define __pyx_n_s_class_getitem __pyx_mstate_global->__pyx_n_s_class_getitem +#define __pyx_n_s_cline_in_traceback __pyx_mstate_global->__pyx_n_s_cline_in_traceback +#define __pyx_n_s_collections __pyx_mstate_global->__pyx_n_s_collections +#define __pyx_kp_s_collections_abc __pyx_mstate_global->__pyx_kp_s_collections_abc +#define __pyx_kp_s_contiguous_and_direct __pyx_mstate_global->__pyx_kp_s_contiguous_and_direct +#define __pyx_kp_s_contiguous_and_indirect __pyx_mstate_global->__pyx_kp_s_contiguous_and_indirect +#define __pyx_n_s_count __pyx_mstate_global->__pyx_n_s_count +#define __pyx_n_s_critical_values __pyx_mstate_global->__pyx_n_s_critical_values +#define __pyx_n_s_current __pyx_mstate_global->__pyx_n_s_current +#define __pyx_n_s_d __pyx_mstate_global->__pyx_n_s_d +#define __pyx_n_s_data __pyx_mstate_global->__pyx_n_s_data +#define __pyx_n_s_data_sigma __pyx_mstate_global->__pyx_n_s_data_sigma +#define __pyx_n_s_dict __pyx_mstate_global->__pyx_n_s_dict +#define __pyx_kp_u_disable __pyx_mstate_global->__pyx_kp_u_disable +#define __pyx_n_s_dtype __pyx_mstate_global->__pyx_n_s_dtype +#define __pyx_n_s_dtype_is_object __pyx_mstate_global->__pyx_n_s_dtype_is_object +#define __pyx_n_s_dynamic_threshold __pyx_mstate_global->__pyx_n_s_dynamic_threshold +#define __pyx_n_s_empty __pyx_mstate_global->__pyx_n_s_empty +#define __pyx_kp_u_enable __pyx_mstate_global->__pyx_kp_u_enable +#define __pyx_n_s_encode __pyx_mstate_global->__pyx_n_s_encode +#define __pyx_n_s_enumerate __pyx_mstate_global->__pyx_n_s_enumerate +#define __pyx_n_s_error __pyx_mstate_global->__pyx_n_s_error +#define __pyx_n_s_f __pyx_mstate_global->__pyx_n_s_f +#define __pyx_n_s_fabs __pyx_mstate_global->__pyx_n_s_fabs +#define __pyx_n_s_fast_median __pyx_mstate_global->__pyx_n_s_fast_median +#define __pyx_n_s_fft __pyx_mstate_global->__pyx_n_s_fft +#define __pyx_n_s_find_median_sorted_arrays __pyx_mstate_global->__pyx_n_s_find_median_sorted_arrays +#define __pyx_n_s_flags __pyx_mstate_global->__pyx_n_s_flags +#define __pyx_n_s_format __pyx_mstate_global->__pyx_n_s_format +#define __pyx_n_s_fortran __pyx_mstate_global->__pyx_n_s_fortran +#define __pyx_n_u_fortran __pyx_mstate_global->__pyx_n_u_fortran +#define __pyx_kp_u_gc __pyx_mstate_global->__pyx_kp_u_gc +#define __pyx_n_s_gcv __pyx_mstate_global->__pyx_n_s_gcv +#define __pyx_n_s_gcv_input __pyx_mstate_global->__pyx_n_s_gcv_input +#define __pyx_n_s_generalized_esd_test __pyx_mstate_global->__pyx_n_s_generalized_esd_test +#define __pyx_n_s_getstate __pyx_mstate_global->__pyx_n_s_getstate +#define __pyx_kp_u_got __pyx_mstate_global->__pyx_kp_u_got +#define __pyx_kp_u_got_differing_extents_in_dimensi __pyx_mstate_global->__pyx_kp_u_got_differing_extents_in_dimensi +#define __pyx_n_s_i __pyx_mstate_global->__pyx_n_s_i +#define __pyx_n_s_id __pyx_mstate_global->__pyx_n_s_id +#define __pyx_n_s_ifft __pyx_mstate_global->__pyx_n_s_ifft +#define __pyx_n_s_iimag __pyx_mstate_global->__pyx_n_s_iimag +#define __pyx_n_s_imag __pyx_mstate_global->__pyx_n_s_imag +#define __pyx_n_s_import __pyx_mstate_global->__pyx_n_s_import +#define __pyx_n_s_index __pyx_mstate_global->__pyx_n_s_index +#define __pyx_n_s_inf __pyx_mstate_global->__pyx_n_s_inf +#define __pyx_n_s_initializing __pyx_mstate_global->__pyx_n_s_initializing +#define __pyx_n_s_ireal __pyx_mstate_global->__pyx_n_s_ireal +#define __pyx_n_s_is_coroutine __pyx_mstate_global->__pyx_n_s_is_coroutine +#define __pyx_n_s_is_straight __pyx_mstate_global->__pyx_n_s_is_straight +#define __pyx_n_s_isclose __pyx_mstate_global->__pyx_n_s_isclose +#define __pyx_kp_u_isenabled __pyx_mstate_global->__pyx_kp_u_isenabled +#define __pyx_n_s_itemsize __pyx_mstate_global->__pyx_n_s_itemsize +#define __pyx_kp_s_itemsize_0_for_cython_array __pyx_mstate_global->__pyx_kp_s_itemsize_0_for_cython_array +#define __pyx_n_s_j __pyx_mstate_global->__pyx_n_s_j +#define __pyx_n_s_k __pyx_mstate_global->__pyx_n_s_k +#define __pyx_n_s_last_index __pyx_mstate_global->__pyx_n_s_last_index +#define __pyx_n_s_left __pyx_mstate_global->__pyx_n_s_left +#define __pyx_n_s_mag __pyx_mstate_global->__pyx_n_s_mag +#define __pyx_n_s_main __pyx_mstate_global->__pyx_n_s_main +#define __pyx_n_s_max_gcv __pyx_mstate_global->__pyx_n_s_max_gcv +#define __pyx_n_s_max_outliers __pyx_mstate_global->__pyx_n_s_max_outliers +#define __pyx_n_s_mean __pyx_mstate_global->__pyx_n_s_mean +#define __pyx_n_s_median __pyx_mstate_global->__pyx_n_s_median +#define __pyx_n_s_median_filter __pyx_mstate_global->__pyx_n_s_median_filter +#define __pyx_n_s_median_value __pyx_mstate_global->__pyx_n_s_median_value +#define __pyx_n_s_memview __pyx_mstate_global->__pyx_n_s_memview +#define __pyx_n_s_mode __pyx_mstate_global->__pyx_n_s_mode +#define __pyx_n_s_n __pyx_mstate_global->__pyx_n_s_n +#define __pyx_n_s_name __pyx_mstate_global->__pyx_n_s_name +#define __pyx_n_s_name_2 __pyx_mstate_global->__pyx_n_s_name_2 +#define __pyx_n_s_ndim __pyx_mstate_global->__pyx_n_s_ndim +#define __pyx_n_s_need_two_end __pyx_mstate_global->__pyx_n_s_need_two_end +#define __pyx_n_s_new __pyx_mstate_global->__pyx_n_s_new +#define __pyx_kp_s_no_default___reduce___due_to_non __pyx_mstate_global->__pyx_kp_s_no_default___reduce___due_to_non +#define __pyx_kp_s_no_median_for_empty_data __pyx_mstate_global->__pyx_kp_s_no_median_for_empty_data +#define __pyx_n_s_norm __pyx_mstate_global->__pyx_n_s_norm +#define __pyx_n_s_np __pyx_mstate_global->__pyx_n_s_np +#define __pyx_n_s_numpy __pyx_mstate_global->__pyx_n_s_numpy +#define __pyx_kp_s_numpy_core_multiarray_failed_to __pyx_mstate_global->__pyx_kp_s_numpy_core_multiarray_failed_to +#define __pyx_kp_s_numpy_core_umath_failed_to_impor __pyx_mstate_global->__pyx_kp_s_numpy_core_umath_failed_to_impor +#define __pyx_n_s_obj __pyx_mstate_global->__pyx_n_s_obj +#define __pyx_n_s_one_tail __pyx_mstate_global->__pyx_n_s_one_tail +#define __pyx_n_s_pack __pyx_mstate_global->__pyx_n_s_pack +#define __pyx_n_s_partition __pyx_mstate_global->__pyx_n_s_partition +#define __pyx_n_s_period __pyx_mstate_global->__pyx_n_s_period +#define __pyx_n_s_periods __pyx_mstate_global->__pyx_n_s_periods +#define __pyx_n_s_pickle __pyx_mstate_global->__pyx_n_s_pickle +#define __pyx_n_s_pivot_index __pyx_mstate_global->__pyx_n_s_pivot_index +#define __pyx_n_s_ppf __pyx_mstate_global->__pyx_n_s_ppf +#define __pyx_n_s_pyx_PickleError __pyx_mstate_global->__pyx_n_s_pyx_PickleError +#define __pyx_n_s_pyx_checksum __pyx_mstate_global->__pyx_n_s_pyx_checksum +#define __pyx_n_s_pyx_result __pyx_mstate_global->__pyx_n_s_pyx_result +#define __pyx_n_s_pyx_state __pyx_mstate_global->__pyx_n_s_pyx_state +#define __pyx_n_s_pyx_type __pyx_mstate_global->__pyx_n_s_pyx_type +#define __pyx_n_s_pyx_unpickle_Enum __pyx_mstate_global->__pyx_n_s_pyx_unpickle_Enum +#define __pyx_n_s_pyx_vtable __pyx_mstate_global->__pyx_n_s_pyx_vtable +#define __pyx_n_s_quick_select __pyx_mstate_global->__pyx_n_s_quick_select +#define __pyx_n_s_range __pyx_mstate_global->__pyx_n_s_range +#define __pyx_n_s_real __pyx_mstate_global->__pyx_n_s_real +#define __pyx_n_s_reduce __pyx_mstate_global->__pyx_n_s_reduce +#define __pyx_n_s_reduce_cython __pyx_mstate_global->__pyx_n_s_reduce_cython +#define __pyx_n_s_reduce_ex __pyx_mstate_global->__pyx_n_s_reduce_ex +#define __pyx_n_s_register __pyx_mstate_global->__pyx_n_s_register +#define __pyx_n_s_remove_anomaly_in_bucket __pyx_mstate_global->__pyx_n_s_remove_anomaly_in_bucket +#define __pyx_n_s_right __pyx_mstate_global->__pyx_n_s_right +#define __pyx_n_s_scipy_stats __pyx_mstate_global->__pyx_n_s_scipy_stats +#define __pyx_n_s_select __pyx_mstate_global->__pyx_n_s_select +#define __pyx_n_s_setstate __pyx_mstate_global->__pyx_n_s_setstate +#define __pyx_n_s_setstate_cython __pyx_mstate_global->__pyx_n_s_setstate_cython +#define __pyx_n_s_shape __pyx_mstate_global->__pyx_n_s_shape +#define __pyx_n_s_size __pyx_mstate_global->__pyx_n_s_size +#define __pyx_n_s_sorted_index __pyx_mstate_global->__pyx_n_s_sorted_index +#define __pyx_n_s_sorted_median __pyx_mstate_global->__pyx_n_s_sorted_median +#define __pyx_n_s_sorted_values __pyx_mstate_global->__pyx_n_s_sorted_values +#define __pyx_n_s_spec __pyx_mstate_global->__pyx_n_s_spec +#define __pyx_n_s_spectral_residual_transform_core __pyx_mstate_global->__pyx_n_s_spectral_residual_transform_core +#define __pyx_n_s_sqrt __pyx_mstate_global->__pyx_n_s_sqrt +#define __pyx_n_s_start __pyx_mstate_global->__pyx_n_s_start +#define __pyx_n_s_std __pyx_mstate_global->__pyx_n_s_std +#define __pyx_n_s_step __pyx_mstate_global->__pyx_n_s_step +#define __pyx_n_s_stop __pyx_mstate_global->__pyx_n_s_stop +#define __pyx_kp_s_strided_and_direct __pyx_mstate_global->__pyx_kp_s_strided_and_direct +#define __pyx_kp_s_strided_and_direct_or_indirect __pyx_mstate_global->__pyx_kp_s_strided_and_direct_or_indirect +#define __pyx_kp_s_strided_and_indirect __pyx_mstate_global->__pyx_kp_s_strided_and_indirect +#define __pyx_kp_s_stringsource __pyx_mstate_global->__pyx_kp_s_stringsource +#define __pyx_n_s_struct __pyx_mstate_global->__pyx_n_s_struct +#define __pyx_n_s_student_t __pyx_mstate_global->__pyx_n_s_student_t +#define __pyx_n_s_sys __pyx_mstate_global->__pyx_n_s_sys +#define __pyx_n_s_t __pyx_mstate_global->__pyx_n_s_t +#define __pyx_n_s_table __pyx_mstate_global->__pyx_n_s_table +#define __pyx_n_s_test __pyx_mstate_global->__pyx_n_s_test +#define __pyx_n_s_threshold __pyx_mstate_global->__pyx_n_s_threshold +#define __pyx_n_s_trans __pyx_mstate_global->__pyx_n_s_trans +#define __pyx_kp_s_unable_to_allocate_array_data __pyx_mstate_global->__pyx_kp_s_unable_to_allocate_array_data +#define __pyx_kp_s_unable_to_allocate_shape_and_str __pyx_mstate_global->__pyx_kp_s_unable_to_allocate_shape_and_str +#define __pyx_n_s_unpack __pyx_mstate_global->__pyx_n_s_unpack +#define __pyx_n_s_update __pyx_mstate_global->__pyx_n_s_update +#define __pyx_n_s_upper_tail __pyx_mstate_global->__pyx_n_s_upper_tail +#define __pyx_n_s_value __pyx_mstate_global->__pyx_n_s_value +#define __pyx_n_s_values __pyx_mstate_global->__pyx_n_s_values +#define __pyx_n_s_var __pyx_mstate_global->__pyx_n_s_var +#define __pyx_n_s_version_info __pyx_mstate_global->__pyx_n_s_version_info +#define __pyx_n_s_wave_r __pyx_mstate_global->__pyx_n_s_wave_r +#define __pyx_n_s_where __pyx_mstate_global->__pyx_n_s_where +#define __pyx_n_s_window __pyx_mstate_global->__pyx_n_s_window +#define __pyx_n_s_x __pyx_mstate_global->__pyx_n_s_x +#define __pyx_n_s_zeros __pyx_mstate_global->__pyx_n_s_zeros +#define __pyx_n_s_zip __pyx_mstate_global->__pyx_n_s_zip +#define __pyx_float_1_ __pyx_mstate_global->__pyx_float_1_ +#define __pyx_float_0_0 __pyx_mstate_global->__pyx_float_0_0 +#define __pyx_float_2_0 __pyx_mstate_global->__pyx_float_2_0 +#define __pyx_float_3_0 __pyx_mstate_global->__pyx_float_3_0 +#define __pyx_int_0 __pyx_mstate_global->__pyx_int_0 +#define __pyx_int_1 __pyx_mstate_global->__pyx_int_1 +#define __pyx_int_2 __pyx_mstate_global->__pyx_int_2 +#define __pyx_int_3 __pyx_mstate_global->__pyx_int_3 +#define __pyx_int_112105877 __pyx_mstate_global->__pyx_int_112105877 +#define __pyx_int_136983863 __pyx_mstate_global->__pyx_int_136983863 +#define __pyx_int_184977713 __pyx_mstate_global->__pyx_int_184977713 +#define __pyx_int_neg_1 __pyx_mstate_global->__pyx_int_neg_1 +#define __pyx_slice__5 __pyx_mstate_global->__pyx_slice__5 +#define __pyx_tuple__4 __pyx_mstate_global->__pyx_tuple__4 +#define __pyx_tuple__8 __pyx_mstate_global->__pyx_tuple__8 +#define __pyx_tuple__9 __pyx_mstate_global->__pyx_tuple__9 +#define __pyx_slice__12 __pyx_mstate_global->__pyx_slice__12 +#define __pyx_tuple__10 __pyx_mstate_global->__pyx_tuple__10 +#define __pyx_tuple__11 __pyx_mstate_global->__pyx_tuple__11 +#define __pyx_tuple__13 __pyx_mstate_global->__pyx_tuple__13 +#define __pyx_tuple__14 __pyx_mstate_global->__pyx_tuple__14 +#define __pyx_tuple__15 __pyx_mstate_global->__pyx_tuple__15 +#define __pyx_tuple__16 __pyx_mstate_global->__pyx_tuple__16 +#define __pyx_tuple__17 __pyx_mstate_global->__pyx_tuple__17 +#define __pyx_tuple__18 __pyx_mstate_global->__pyx_tuple__18 +#define __pyx_tuple__19 __pyx_mstate_global->__pyx_tuple__19 +#define __pyx_tuple__20 __pyx_mstate_global->__pyx_tuple__20 +#define __pyx_tuple__21 __pyx_mstate_global->__pyx_tuple__21 +#define __pyx_tuple__22 __pyx_mstate_global->__pyx_tuple__22 +#define __pyx_tuple__23 __pyx_mstate_global->__pyx_tuple__23 +#define __pyx_tuple__25 __pyx_mstate_global->__pyx_tuple__25 +#define __pyx_tuple__27 __pyx_mstate_global->__pyx_tuple__27 +#define __pyx_tuple__29 __pyx_mstate_global->__pyx_tuple__29 +#define __pyx_tuple__31 __pyx_mstate_global->__pyx_tuple__31 +#define __pyx_tuple__33 __pyx_mstate_global->__pyx_tuple__33 +#define __pyx_tuple__35 __pyx_mstate_global->__pyx_tuple__35 +#define __pyx_tuple__36 __pyx_mstate_global->__pyx_tuple__36 +#define __pyx_tuple__38 __pyx_mstate_global->__pyx_tuple__38 +#define __pyx_tuple__40 __pyx_mstate_global->__pyx_tuple__40 +#define __pyx_tuple__42 __pyx_mstate_global->__pyx_tuple__42 +#define __pyx_tuple__44 __pyx_mstate_global->__pyx_tuple__44 +#define __pyx_tuple__46 __pyx_mstate_global->__pyx_tuple__46 +#define __pyx_tuple__48 __pyx_mstate_global->__pyx_tuple__48 +#define __pyx_tuple__50 __pyx_mstate_global->__pyx_tuple__50 +#define __pyx_tuple__52 __pyx_mstate_global->__pyx_tuple__52 +#define __pyx_tuple__53 __pyx_mstate_global->__pyx_tuple__53 +#define __pyx_tuple__55 __pyx_mstate_global->__pyx_tuple__55 +#define __pyx_tuple__57 __pyx_mstate_global->__pyx_tuple__57 +#define __pyx_codeobj__24 __pyx_mstate_global->__pyx_codeobj__24 +#define __pyx_codeobj__26 __pyx_mstate_global->__pyx_codeobj__26 +#define __pyx_codeobj__28 __pyx_mstate_global->__pyx_codeobj__28 +#define __pyx_codeobj__30 __pyx_mstate_global->__pyx_codeobj__30 +#define __pyx_codeobj__32 __pyx_mstate_global->__pyx_codeobj__32 +#define __pyx_codeobj__34 __pyx_mstate_global->__pyx_codeobj__34 +#define __pyx_codeobj__37 __pyx_mstate_global->__pyx_codeobj__37 +#define __pyx_codeobj__39 __pyx_mstate_global->__pyx_codeobj__39 +#define __pyx_codeobj__41 __pyx_mstate_global->__pyx_codeobj__41 +#define __pyx_codeobj__43 __pyx_mstate_global->__pyx_codeobj__43 +#define __pyx_codeobj__45 __pyx_mstate_global->__pyx_codeobj__45 +#define __pyx_codeobj__47 __pyx_mstate_global->__pyx_codeobj__47 +#define __pyx_codeobj__49 __pyx_mstate_global->__pyx_codeobj__49 +#define __pyx_codeobj__51 __pyx_mstate_global->__pyx_codeobj__51 +#define __pyx_codeobj__54 __pyx_mstate_global->__pyx_codeobj__54 +#define __pyx_codeobj__56 __pyx_mstate_global->__pyx_codeobj__56 +#define __pyx_codeobj__58 __pyx_mstate_global->__pyx_codeobj__58 +/* #### Code section: module_code ### */ + +/* "View.MemoryView":131 + * cdef bint dtype_is_object + * + * def __cinit__(array self, tuple shape, Py_ssize_t itemsize, format not None, # <<<<<<<<<<<<<< + * mode="c", bint allocate_buffer=True): + * + */ + +/* Python wrapper */ +static int __pyx_array___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ +static int __pyx_array___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { + PyObject *__pyx_v_shape = 0; + Py_ssize_t __pyx_v_itemsize; + PyObject *__pyx_v_format = 0; + PyObject *__pyx_v_mode = 0; + int __pyx_v_allocate_buffer; + CYTHON_UNUSED Py_ssize_t __pyx_nargs; + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject* values[5] = {0,0,0,0,0}; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + int __pyx_r; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__cinit__ (wrapper)", 0); + #if CYTHON_ASSUME_SAFE_MACROS + __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); + #else + __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1; + #endif + __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs); + { + PyObject **__pyx_pyargnames[] = {&__pyx_n_s_shape,&__pyx_n_s_itemsize,&__pyx_n_s_format,&__pyx_n_s_mode,&__pyx_n_s_allocate_buffer,0}; + values[3] = __Pyx_Arg_NewRef_VARARGS(((PyObject *)__pyx_n_s_c)); + if (__pyx_kwds) { + Py_ssize_t kw_args; + switch (__pyx_nargs) { + case 5: values[4] = __Pyx_Arg_VARARGS(__pyx_args, 4); + CYTHON_FALLTHROUGH; + case 4: values[3] = __Pyx_Arg_VARARGS(__pyx_args, 3); + CYTHON_FALLTHROUGH; + case 3: values[2] = __Pyx_Arg_VARARGS(__pyx_args, 2); + CYTHON_FALLTHROUGH; + case 2: values[1] = __Pyx_Arg_VARARGS(__pyx_args, 1); + CYTHON_FALLTHROUGH; + case 1: values[0] = __Pyx_Arg_VARARGS(__pyx_args, 0); + CYTHON_FALLTHROUGH; + case 0: break; + default: goto __pyx_L5_argtuple_error; + } + kw_args = __Pyx_NumKwargs_VARARGS(__pyx_kwds); + switch (__pyx_nargs) { + case 0: + if (likely((values[0] = __Pyx_GetKwValue_VARARGS(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_shape)) != 0)) { + (void)__Pyx_Arg_NewRef_VARARGS(values[0]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(1, 131, __pyx_L3_error) + else goto __pyx_L5_argtuple_error; + CYTHON_FALLTHROUGH; + case 1: + if (likely((values[1] = __Pyx_GetKwValue_VARARGS(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_itemsize)) != 0)) { + (void)__Pyx_Arg_NewRef_VARARGS(values[1]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(1, 131, __pyx_L3_error) + else { + __Pyx_RaiseArgtupleInvalid("__cinit__", 0, 3, 5, 1); __PYX_ERR(1, 131, __pyx_L3_error) + } + CYTHON_FALLTHROUGH; + case 2: + if (likely((values[2] = __Pyx_GetKwValue_VARARGS(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_format)) != 0)) { + (void)__Pyx_Arg_NewRef_VARARGS(values[2]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(1, 131, __pyx_L3_error) + else { + __Pyx_RaiseArgtupleInvalid("__cinit__", 0, 3, 5, 2); __PYX_ERR(1, 131, __pyx_L3_error) + } + CYTHON_FALLTHROUGH; + case 3: + if (kw_args > 0) { + PyObject* value = __Pyx_GetKwValue_VARARGS(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_mode); + if (value) { values[3] = __Pyx_Arg_NewRef_VARARGS(value); kw_args--; } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(1, 131, __pyx_L3_error) + } + CYTHON_FALLTHROUGH; + case 4: + if (kw_args > 0) { + PyObject* value = __Pyx_GetKwValue_VARARGS(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_allocate_buffer); + if (value) { values[4] = __Pyx_Arg_NewRef_VARARGS(value); kw_args--; } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(1, 131, __pyx_L3_error) + } + } + if (unlikely(kw_args > 0)) { + const Py_ssize_t kwd_pos_args = __pyx_nargs; + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "__cinit__") < 0)) __PYX_ERR(1, 131, __pyx_L3_error) + } + } else { + switch (__pyx_nargs) { + case 5: values[4] = __Pyx_Arg_VARARGS(__pyx_args, 4); + CYTHON_FALLTHROUGH; + case 4: values[3] = __Pyx_Arg_VARARGS(__pyx_args, 3); + CYTHON_FALLTHROUGH; + case 3: values[2] = __Pyx_Arg_VARARGS(__pyx_args, 2); + values[1] = __Pyx_Arg_VARARGS(__pyx_args, 1); + values[0] = __Pyx_Arg_VARARGS(__pyx_args, 0); + break; + default: goto __pyx_L5_argtuple_error; + } + } + __pyx_v_shape = ((PyObject*)values[0]); + __pyx_v_itemsize = __Pyx_PyIndex_AsSsize_t(values[1]); if (unlikely((__pyx_v_itemsize == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(1, 131, __pyx_L3_error) + __pyx_v_format = values[2]; + __pyx_v_mode = values[3]; + if (values[4]) { + __pyx_v_allocate_buffer = __Pyx_PyObject_IsTrue(values[4]); if (unlikely((__pyx_v_allocate_buffer == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 132, __pyx_L3_error) + } else { + + /* "View.MemoryView":132 + * + * def __cinit__(array self, tuple shape, Py_ssize_t itemsize, format not None, + * mode="c", bint allocate_buffer=True): # <<<<<<<<<<<<<< + * + * cdef int idx + */ + __pyx_v_allocate_buffer = ((int)1); + } + } + goto __pyx_L6_skip; + __pyx_L5_argtuple_error:; + __Pyx_RaiseArgtupleInvalid("__cinit__", 0, 3, 5, __pyx_nargs); __PYX_ERR(1, 131, __pyx_L3_error) + __pyx_L6_skip:; + goto __pyx_L4_argument_unpacking_done; + __pyx_L3_error:; + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_VARARGS(values[__pyx_temp]); + } + } + __Pyx_AddTraceback("View.MemoryView.array.__cinit__", __pyx_clineno, __pyx_lineno, __pyx_filename); + __Pyx_RefNannyFinishContext(); + return -1; + __pyx_L4_argument_unpacking_done:; + if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_shape), (&PyTuple_Type), 1, "shape", 1))) __PYX_ERR(1, 131, __pyx_L1_error) + if (unlikely(((PyObject *)__pyx_v_format) == Py_None)) { + PyErr_Format(PyExc_TypeError, "Argument '%.200s' must not be None", "format"); __PYX_ERR(1, 131, __pyx_L1_error) + } + __pyx_r = __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(((struct __pyx_array_obj *)__pyx_v_self), __pyx_v_shape, __pyx_v_itemsize, __pyx_v_format, __pyx_v_mode, __pyx_v_allocate_buffer); + + /* "View.MemoryView":131 + * cdef bint dtype_is_object + * + * def __cinit__(array self, tuple shape, Py_ssize_t itemsize, format not None, # <<<<<<<<<<<<<< + * mode="c", bint allocate_buffer=True): + * + */ + + /* function exit code */ + goto __pyx_L0; + __pyx_L1_error:; + __pyx_r = -1; + __pyx_L0:; + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_VARARGS(values[__pyx_temp]); + } + } + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array___cinit__(struct __pyx_array_obj *__pyx_v_self, PyObject *__pyx_v_shape, Py_ssize_t __pyx_v_itemsize, PyObject *__pyx_v_format, PyObject *__pyx_v_mode, int __pyx_v_allocate_buffer) { + int __pyx_v_idx; + Py_ssize_t __pyx_v_dim; + char __pyx_v_order; + int __pyx_r; + __Pyx_RefNannyDeclarations + Py_ssize_t __pyx_t_1; + int __pyx_t_2; + int __pyx_t_3; + PyObject *__pyx_t_4 = NULL; + PyObject *__pyx_t_5 = NULL; + PyObject *__pyx_t_6 = NULL; + int __pyx_t_7; + char *__pyx_t_8; + Py_ssize_t __pyx_t_9; + Py_UCS4 __pyx_t_10; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("__cinit__", 0); + __Pyx_INCREF(__pyx_v_format); + + /* "View.MemoryView":137 + * cdef Py_ssize_t dim + * + * self.ndim = len(shape) # <<<<<<<<<<<<<< + * self.itemsize = itemsize + * + */ + if (unlikely(__pyx_v_shape == Py_None)) { + PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); + __PYX_ERR(1, 137, __pyx_L1_error) + } + __pyx_t_1 = __Pyx_PyTuple_GET_SIZE(__pyx_v_shape); if (unlikely(__pyx_t_1 == ((Py_ssize_t)-1))) __PYX_ERR(1, 137, __pyx_L1_error) + __pyx_v_self->ndim = ((int)__pyx_t_1); + + /* "View.MemoryView":138 + * + * self.ndim = len(shape) + * self.itemsize = itemsize # <<<<<<<<<<<<<< + * + * if not self.ndim: + */ + __pyx_v_self->itemsize = __pyx_v_itemsize; + + /* "View.MemoryView":140 + * self.itemsize = itemsize + * + * if not self.ndim: # <<<<<<<<<<<<<< + * raise ValueError, "Empty shape tuple for cython.array" + * + */ + __pyx_t_2 = (!(__pyx_v_self->ndim != 0)); + if (unlikely(__pyx_t_2)) { + + /* "View.MemoryView":141 + * + * if not self.ndim: + * raise ValueError, "Empty shape tuple for cython.array" # <<<<<<<<<<<<<< + * + * if itemsize <= 0: + */ + __Pyx_Raise(__pyx_builtin_ValueError, __pyx_kp_s_Empty_shape_tuple_for_cython_arr, 0, 0); + __PYX_ERR(1, 141, __pyx_L1_error) + + /* "View.MemoryView":140 + * self.itemsize = itemsize + * + * if not self.ndim: # <<<<<<<<<<<<<< + * raise ValueError, "Empty shape tuple for cython.array" + * + */ + } + + /* "View.MemoryView":143 + * raise ValueError, "Empty shape tuple for cython.array" + * + * if itemsize <= 0: # <<<<<<<<<<<<<< + * raise ValueError, "itemsize <= 0 for cython.array" + * + */ + __pyx_t_2 = (__pyx_v_itemsize <= 0); + if (unlikely(__pyx_t_2)) { + + /* "View.MemoryView":144 + * + * if itemsize <= 0: + * raise ValueError, "itemsize <= 0 for cython.array" # <<<<<<<<<<<<<< + * + * if not isinstance(format, bytes): + */ + __Pyx_Raise(__pyx_builtin_ValueError, __pyx_kp_s_itemsize_0_for_cython_array, 0, 0); + __PYX_ERR(1, 144, __pyx_L1_error) + + /* "View.MemoryView":143 + * raise ValueError, "Empty shape tuple for cython.array" + * + * if itemsize <= 0: # <<<<<<<<<<<<<< + * raise ValueError, "itemsize <= 0 for cython.array" + * + */ + } + + /* "View.MemoryView":146 + * raise ValueError, "itemsize <= 0 for cython.array" + * + * if not isinstance(format, bytes): # <<<<<<<<<<<<<< + * format = format.encode('ASCII') + * self._format = format # keep a reference to the byte string + */ + __pyx_t_2 = PyBytes_Check(__pyx_v_format); + __pyx_t_3 = (!__pyx_t_2); + if (__pyx_t_3) { + + /* "View.MemoryView":147 + * + * if not isinstance(format, bytes): + * format = format.encode('ASCII') # <<<<<<<<<<<<<< + * self._format = format # keep a reference to the byte string + * self.format = self._format + */ + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_format, __pyx_n_s_encode); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 147, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_t_6 = NULL; + __pyx_t_7 = 0; + #if CYTHON_UNPACK_METHODS + if (likely(PyMethod_Check(__pyx_t_5))) { + __pyx_t_6 = PyMethod_GET_SELF(__pyx_t_5); + if (likely(__pyx_t_6)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_5); + __Pyx_INCREF(__pyx_t_6); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_5, function); + __pyx_t_7 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[2] = {__pyx_t_6, __pyx_n_s_ASCII}; + __pyx_t_4 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+1-__pyx_t_7, 1+__pyx_t_7); + __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; + if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 147, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + } + __Pyx_DECREF_SET(__pyx_v_format, __pyx_t_4); + __pyx_t_4 = 0; + + /* "View.MemoryView":146 + * raise ValueError, "itemsize <= 0 for cython.array" + * + * if not isinstance(format, bytes): # <<<<<<<<<<<<<< + * format = format.encode('ASCII') + * self._format = format # keep a reference to the byte string + */ + } + + /* "View.MemoryView":148 + * if not isinstance(format, bytes): + * format = format.encode('ASCII') + * self._format = format # keep a reference to the byte string # <<<<<<<<<<<<<< + * self.format = self._format + * + */ + if (!(likely(PyBytes_CheckExact(__pyx_v_format))||((__pyx_v_format) == Py_None) || __Pyx_RaiseUnexpectedTypeError("bytes", __pyx_v_format))) __PYX_ERR(1, 148, __pyx_L1_error) + __pyx_t_4 = __pyx_v_format; + __Pyx_INCREF(__pyx_t_4); + __Pyx_GIVEREF(__pyx_t_4); + __Pyx_GOTREF(__pyx_v_self->_format); + __Pyx_DECREF(__pyx_v_self->_format); + __pyx_v_self->_format = ((PyObject*)__pyx_t_4); + __pyx_t_4 = 0; + + /* "View.MemoryView":149 + * format = format.encode('ASCII') + * self._format = format # keep a reference to the byte string + * self.format = self._format # <<<<<<<<<<<<<< + * + * + */ + if (unlikely(__pyx_v_self->_format == Py_None)) { + PyErr_SetString(PyExc_TypeError, "expected bytes, NoneType found"); + __PYX_ERR(1, 149, __pyx_L1_error) + } + __pyx_t_8 = __Pyx_PyBytes_AsWritableString(__pyx_v_self->_format); if (unlikely((!__pyx_t_8) && PyErr_Occurred())) __PYX_ERR(1, 149, __pyx_L1_error) + __pyx_v_self->format = __pyx_t_8; + + /* "View.MemoryView":152 + * + * + * self._shape = PyObject_Malloc(sizeof(Py_ssize_t)*self.ndim*2) # <<<<<<<<<<<<<< + * self._strides = self._shape + self.ndim + * + */ + __pyx_v_self->_shape = ((Py_ssize_t *)PyObject_Malloc((((sizeof(Py_ssize_t)) * __pyx_v_self->ndim) * 2))); + + /* "View.MemoryView":153 + * + * self._shape = PyObject_Malloc(sizeof(Py_ssize_t)*self.ndim*2) + * self._strides = self._shape + self.ndim # <<<<<<<<<<<<<< + * + * if not self._shape: + */ + __pyx_v_self->_strides = (__pyx_v_self->_shape + __pyx_v_self->ndim); + + /* "View.MemoryView":155 + * self._strides = self._shape + self.ndim + * + * if not self._shape: # <<<<<<<<<<<<<< + * raise MemoryError, "unable to allocate shape and strides." + * + */ + __pyx_t_3 = (!(__pyx_v_self->_shape != 0)); + if (unlikely(__pyx_t_3)) { + + /* "View.MemoryView":156 + * + * if not self._shape: + * raise MemoryError, "unable to allocate shape and strides." # <<<<<<<<<<<<<< + * + * + */ + __Pyx_Raise(__pyx_builtin_MemoryError, __pyx_kp_s_unable_to_allocate_shape_and_str, 0, 0); + __PYX_ERR(1, 156, __pyx_L1_error) + + /* "View.MemoryView":155 + * self._strides = self._shape + self.ndim + * + * if not self._shape: # <<<<<<<<<<<<<< + * raise MemoryError, "unable to allocate shape and strides." + * + */ + } + + /* "View.MemoryView":159 + * + * + * for idx, dim in enumerate(shape): # <<<<<<<<<<<<<< + * if dim <= 0: + * raise ValueError, f"Invalid shape in axis {idx}: {dim}." + */ + __pyx_t_7 = 0; + __pyx_t_4 = __pyx_v_shape; __Pyx_INCREF(__pyx_t_4); + __pyx_t_1 = 0; + for (;;) { + { + Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_4); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 159, __pyx_L1_error) + #endif + if (__pyx_t_1 >= __pyx_temp) break; + } + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + __pyx_t_5 = PyTuple_GET_ITEM(__pyx_t_4, __pyx_t_1); __Pyx_INCREF(__pyx_t_5); __pyx_t_1++; if (unlikely((0 < 0))) __PYX_ERR(1, 159, __pyx_L1_error) + #else + __pyx_t_5 = __Pyx_PySequence_ITEM(__pyx_t_4, __pyx_t_1); __pyx_t_1++; if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 159, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + #endif + __pyx_t_9 = __Pyx_PyIndex_AsSsize_t(__pyx_t_5); if (unlikely((__pyx_t_9 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(1, 159, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __pyx_v_dim = __pyx_t_9; + __pyx_v_idx = __pyx_t_7; + __pyx_t_7 = (__pyx_t_7 + 1); + + /* "View.MemoryView":160 + * + * for idx, dim in enumerate(shape): + * if dim <= 0: # <<<<<<<<<<<<<< + * raise ValueError, f"Invalid shape in axis {idx}: {dim}." + * self._shape[idx] = dim + */ + __pyx_t_3 = (__pyx_v_dim <= 0); + if (unlikely(__pyx_t_3)) { + + /* "View.MemoryView":161 + * for idx, dim in enumerate(shape): + * if dim <= 0: + * raise ValueError, f"Invalid shape in axis {idx}: {dim}." # <<<<<<<<<<<<<< + * self._shape[idx] = dim + * + */ + __pyx_t_5 = PyTuple_New(5); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 161, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_t_9 = 0; + __pyx_t_10 = 127; + __Pyx_INCREF(__pyx_kp_u_Invalid_shape_in_axis); + __pyx_t_9 += 22; + __Pyx_GIVEREF(__pyx_kp_u_Invalid_shape_in_axis); + PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_kp_u_Invalid_shape_in_axis); + __pyx_t_6 = __Pyx_PyUnicode_From_int(__pyx_v_idx, 0, ' ', 'd'); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 161, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __pyx_t_9 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_6); + __Pyx_GIVEREF(__pyx_t_6); + PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_6); + __pyx_t_6 = 0; + __Pyx_INCREF(__pyx_kp_u_); + __pyx_t_9 += 2; + __Pyx_GIVEREF(__pyx_kp_u_); + PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_kp_u_); + __pyx_t_6 = __Pyx_PyUnicode_From_Py_ssize_t(__pyx_v_dim, 0, ' ', 'd'); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 161, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __pyx_t_9 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_6); + __Pyx_GIVEREF(__pyx_t_6); + PyTuple_SET_ITEM(__pyx_t_5, 3, __pyx_t_6); + __pyx_t_6 = 0; + __Pyx_INCREF(__pyx_kp_u__2); + __pyx_t_9 += 1; + __Pyx_GIVEREF(__pyx_kp_u__2); + PyTuple_SET_ITEM(__pyx_t_5, 4, __pyx_kp_u__2); + __pyx_t_6 = __Pyx_PyUnicode_Join(__pyx_t_5, 5, __pyx_t_9, __pyx_t_10); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 161, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __Pyx_Raise(__pyx_builtin_ValueError, __pyx_t_6, 0, 0); + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __PYX_ERR(1, 161, __pyx_L1_error) + + /* "View.MemoryView":160 + * + * for idx, dim in enumerate(shape): + * if dim <= 0: # <<<<<<<<<<<<<< + * raise ValueError, f"Invalid shape in axis {idx}: {dim}." + * self._shape[idx] = dim + */ + } + + /* "View.MemoryView":162 + * if dim <= 0: + * raise ValueError, f"Invalid shape in axis {idx}: {dim}." + * self._shape[idx] = dim # <<<<<<<<<<<<<< + * + * cdef char order + */ + (__pyx_v_self->_shape[__pyx_v_idx]) = __pyx_v_dim; + + /* "View.MemoryView":159 + * + * + * for idx, dim in enumerate(shape): # <<<<<<<<<<<<<< + * if dim <= 0: + * raise ValueError, f"Invalid shape in axis {idx}: {dim}." + */ + } + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + + /* "View.MemoryView":165 + * + * cdef char order + * if mode == 'c': # <<<<<<<<<<<<<< + * order = b'C' + * self.mode = u'c' + */ + __pyx_t_3 = (__Pyx_PyString_Equals(__pyx_v_mode, __pyx_n_s_c, Py_EQ)); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(1, 165, __pyx_L1_error) + if (__pyx_t_3) { + + /* "View.MemoryView":166 + * cdef char order + * if mode == 'c': + * order = b'C' # <<<<<<<<<<<<<< + * self.mode = u'c' + * elif mode == 'fortran': + */ + __pyx_v_order = 'C'; + + /* "View.MemoryView":167 + * if mode == 'c': + * order = b'C' + * self.mode = u'c' # <<<<<<<<<<<<<< + * elif mode == 'fortran': + * order = b'F' + */ + __Pyx_INCREF(__pyx_n_u_c); + __Pyx_GIVEREF(__pyx_n_u_c); + __Pyx_GOTREF(__pyx_v_self->mode); + __Pyx_DECREF(__pyx_v_self->mode); + __pyx_v_self->mode = __pyx_n_u_c; + + /* "View.MemoryView":165 + * + * cdef char order + * if mode == 'c': # <<<<<<<<<<<<<< + * order = b'C' + * self.mode = u'c' + */ + goto __pyx_L11; + } + + /* "View.MemoryView":168 + * order = b'C' + * self.mode = u'c' + * elif mode == 'fortran': # <<<<<<<<<<<<<< + * order = b'F' + * self.mode = u'fortran' + */ + __pyx_t_3 = (__Pyx_PyString_Equals(__pyx_v_mode, __pyx_n_s_fortran, Py_EQ)); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(1, 168, __pyx_L1_error) + if (likely(__pyx_t_3)) { + + /* "View.MemoryView":169 + * self.mode = u'c' + * elif mode == 'fortran': + * order = b'F' # <<<<<<<<<<<<<< + * self.mode = u'fortran' + * else: + */ + __pyx_v_order = 'F'; + + /* "View.MemoryView":170 + * elif mode == 'fortran': + * order = b'F' + * self.mode = u'fortran' # <<<<<<<<<<<<<< + * else: + * raise ValueError, f"Invalid mode, expected 'c' or 'fortran', got {mode}" + */ + __Pyx_INCREF(__pyx_n_u_fortran); + __Pyx_GIVEREF(__pyx_n_u_fortran); + __Pyx_GOTREF(__pyx_v_self->mode); + __Pyx_DECREF(__pyx_v_self->mode); + __pyx_v_self->mode = __pyx_n_u_fortran; + + /* "View.MemoryView":168 + * order = b'C' + * self.mode = u'c' + * elif mode == 'fortran': # <<<<<<<<<<<<<< + * order = b'F' + * self.mode = u'fortran' + */ + goto __pyx_L11; + } + + /* "View.MemoryView":172 + * self.mode = u'fortran' + * else: + * raise ValueError, f"Invalid mode, expected 'c' or 'fortran', got {mode}" # <<<<<<<<<<<<<< + * + * self.len = fill_contig_strides_array(self._shape, self._strides, itemsize, self.ndim, order) + */ + /*else*/ { + __pyx_t_4 = __Pyx_PyObject_FormatSimple(__pyx_v_mode, __pyx_empty_unicode); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 172, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_6 = __Pyx_PyUnicode_Concat(__pyx_kp_u_Invalid_mode_expected_c_or_fortr, __pyx_t_4); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 172, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_Raise(__pyx_builtin_ValueError, __pyx_t_6, 0, 0); + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __PYX_ERR(1, 172, __pyx_L1_error) + } + __pyx_L11:; + + /* "View.MemoryView":174 + * raise ValueError, f"Invalid mode, expected 'c' or 'fortran', got {mode}" + * + * self.len = fill_contig_strides_array(self._shape, self._strides, itemsize, self.ndim, order) # <<<<<<<<<<<<<< + * + * self.free_data = allocate_buffer + */ + __pyx_v_self->len = __pyx_fill_contig_strides_array(__pyx_v_self->_shape, __pyx_v_self->_strides, __pyx_v_itemsize, __pyx_v_self->ndim, __pyx_v_order); + + /* "View.MemoryView":176 + * self.len = fill_contig_strides_array(self._shape, self._strides, itemsize, self.ndim, order) + * + * self.free_data = allocate_buffer # <<<<<<<<<<<<<< + * self.dtype_is_object = format == b'O' + * + */ + __pyx_v_self->free_data = __pyx_v_allocate_buffer; + + /* "View.MemoryView":177 + * + * self.free_data = allocate_buffer + * self.dtype_is_object = format == b'O' # <<<<<<<<<<<<<< + * + * if allocate_buffer: + */ + __pyx_t_6 = PyObject_RichCompare(__pyx_v_format, __pyx_n_b_O, Py_EQ); __Pyx_XGOTREF(__pyx_t_6); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 177, __pyx_L1_error) + __pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 177, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __pyx_v_self->dtype_is_object = __pyx_t_3; + + /* "View.MemoryView":179 + * self.dtype_is_object = format == b'O' + * + * if allocate_buffer: # <<<<<<<<<<<<<< + * _allocate_buffer(self) + * + */ + if (__pyx_v_allocate_buffer) { + + /* "View.MemoryView":180 + * + * if allocate_buffer: + * _allocate_buffer(self) # <<<<<<<<<<<<<< + * + * @cname('getbuffer') + */ + __pyx_t_7 = __pyx_array_allocate_buffer(__pyx_v_self); if (unlikely(__pyx_t_7 == ((int)-1))) __PYX_ERR(1, 180, __pyx_L1_error) + + /* "View.MemoryView":179 + * self.dtype_is_object = format == b'O' + * + * if allocate_buffer: # <<<<<<<<<<<<<< + * _allocate_buffer(self) + * + */ + } + + /* "View.MemoryView":131 + * cdef bint dtype_is_object + * + * def __cinit__(array self, tuple shape, Py_ssize_t itemsize, format not None, # <<<<<<<<<<<<<< + * mode="c", bint allocate_buffer=True): + * + */ + + /* function exit code */ + __pyx_r = 0; + goto __pyx_L0; + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_4); + __Pyx_XDECREF(__pyx_t_5); + __Pyx_XDECREF(__pyx_t_6); + __Pyx_AddTraceback("View.MemoryView.array.__cinit__", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = -1; + __pyx_L0:; + __Pyx_XDECREF(__pyx_v_format); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":182 + * _allocate_buffer(self) + * + * @cname('getbuffer') # <<<<<<<<<<<<<< + * def __getbuffer__(self, Py_buffer *info, int flags): + * cdef int bufmode = -1 + */ + +/* Python wrapper */ +CYTHON_UNUSED static int __pyx_array_getbuffer(PyObject *__pyx_v_self, Py_buffer *__pyx_v_info, int __pyx_v_flags); /*proto*/ +CYTHON_UNUSED static int __pyx_array_getbuffer(PyObject *__pyx_v_self, Py_buffer *__pyx_v_info, int __pyx_v_flags) { + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + int __pyx_r; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__getbuffer__ (wrapper)", 0); + __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs); + __pyx_r = __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(((struct __pyx_array_obj *)__pyx_v_self), ((Py_buffer *)__pyx_v_info), ((int)__pyx_v_flags)); + + /* function exit code */ + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_2__getbuffer__(struct __pyx_array_obj *__pyx_v_self, Py_buffer *__pyx_v_info, int __pyx_v_flags) { + int __pyx_v_bufmode; + int __pyx_r; + __Pyx_RefNannyDeclarations + int __pyx_t_1; + char *__pyx_t_2; + Py_ssize_t __pyx_t_3; + int __pyx_t_4; + Py_ssize_t *__pyx_t_5; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + if (unlikely(__pyx_v_info == NULL)) { + PyErr_SetString(PyExc_BufferError, "PyObject_GetBuffer: view==NULL argument is obsolete"); + return -1; + } + __Pyx_RefNannySetupContext("__getbuffer__", 0); + __pyx_v_info->obj = Py_None; __Pyx_INCREF(Py_None); + __Pyx_GIVEREF(__pyx_v_info->obj); + + /* "View.MemoryView":184 + * @cname('getbuffer') + * def __getbuffer__(self, Py_buffer *info, int flags): + * cdef int bufmode = -1 # <<<<<<<<<<<<<< + * if flags & (PyBUF_C_CONTIGUOUS | PyBUF_F_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS): + * if self.mode == u"c": + */ + __pyx_v_bufmode = -1; + + /* "View.MemoryView":185 + * def __getbuffer__(self, Py_buffer *info, int flags): + * cdef int bufmode = -1 + * if flags & (PyBUF_C_CONTIGUOUS | PyBUF_F_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS): # <<<<<<<<<<<<<< + * if self.mode == u"c": + * bufmode = PyBUF_C_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS + */ + __pyx_t_1 = ((__pyx_v_flags & ((PyBUF_C_CONTIGUOUS | PyBUF_F_CONTIGUOUS) | PyBUF_ANY_CONTIGUOUS)) != 0); + if (__pyx_t_1) { + + /* "View.MemoryView":186 + * cdef int bufmode = -1 + * if flags & (PyBUF_C_CONTIGUOUS | PyBUF_F_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS): + * if self.mode == u"c": # <<<<<<<<<<<<<< + * bufmode = PyBUF_C_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS + * elif self.mode == u"fortran": + */ + __pyx_t_1 = (__Pyx_PyUnicode_Equals(__pyx_v_self->mode, __pyx_n_u_c, Py_EQ)); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(1, 186, __pyx_L1_error) + if (__pyx_t_1) { + + /* "View.MemoryView":187 + * if flags & (PyBUF_C_CONTIGUOUS | PyBUF_F_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS): + * if self.mode == u"c": + * bufmode = PyBUF_C_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS # <<<<<<<<<<<<<< + * elif self.mode == u"fortran": + * bufmode = PyBUF_F_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS + */ + __pyx_v_bufmode = (PyBUF_C_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS); + + /* "View.MemoryView":186 + * cdef int bufmode = -1 + * if flags & (PyBUF_C_CONTIGUOUS | PyBUF_F_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS): + * if self.mode == u"c": # <<<<<<<<<<<<<< + * bufmode = PyBUF_C_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS + * elif self.mode == u"fortran": + */ + goto __pyx_L4; + } + + /* "View.MemoryView":188 + * if self.mode == u"c": + * bufmode = PyBUF_C_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS + * elif self.mode == u"fortran": # <<<<<<<<<<<<<< + * bufmode = PyBUF_F_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS + * if not (flags & bufmode): + */ + __pyx_t_1 = (__Pyx_PyUnicode_Equals(__pyx_v_self->mode, __pyx_n_u_fortran, Py_EQ)); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(1, 188, __pyx_L1_error) + if (__pyx_t_1) { + + /* "View.MemoryView":189 + * bufmode = PyBUF_C_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS + * elif self.mode == u"fortran": + * bufmode = PyBUF_F_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS # <<<<<<<<<<<<<< + * if not (flags & bufmode): + * raise ValueError, "Can only create a buffer that is contiguous in memory." + */ + __pyx_v_bufmode = (PyBUF_F_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS); + + /* "View.MemoryView":188 + * if self.mode == u"c": + * bufmode = PyBUF_C_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS + * elif self.mode == u"fortran": # <<<<<<<<<<<<<< + * bufmode = PyBUF_F_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS + * if not (flags & bufmode): + */ + } + __pyx_L4:; + + /* "View.MemoryView":190 + * elif self.mode == u"fortran": + * bufmode = PyBUF_F_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS + * if not (flags & bufmode): # <<<<<<<<<<<<<< + * raise ValueError, "Can only create a buffer that is contiguous in memory." + * info.buf = self.data + */ + __pyx_t_1 = (!((__pyx_v_flags & __pyx_v_bufmode) != 0)); + if (unlikely(__pyx_t_1)) { + + /* "View.MemoryView":191 + * bufmode = PyBUF_F_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS + * if not (flags & bufmode): + * raise ValueError, "Can only create a buffer that is contiguous in memory." # <<<<<<<<<<<<<< + * info.buf = self.data + * info.len = self.len + */ + __Pyx_Raise(__pyx_builtin_ValueError, __pyx_kp_s_Can_only_create_a_buffer_that_is, 0, 0); + __PYX_ERR(1, 191, __pyx_L1_error) + + /* "View.MemoryView":190 + * elif self.mode == u"fortran": + * bufmode = PyBUF_F_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS + * if not (flags & bufmode): # <<<<<<<<<<<<<< + * raise ValueError, "Can only create a buffer that is contiguous in memory." + * info.buf = self.data + */ + } + + /* "View.MemoryView":185 + * def __getbuffer__(self, Py_buffer *info, int flags): + * cdef int bufmode = -1 + * if flags & (PyBUF_C_CONTIGUOUS | PyBUF_F_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS): # <<<<<<<<<<<<<< + * if self.mode == u"c": + * bufmode = PyBUF_C_CONTIGUOUS | PyBUF_ANY_CONTIGUOUS + */ + } + + /* "View.MemoryView":192 + * if not (flags & bufmode): + * raise ValueError, "Can only create a buffer that is contiguous in memory." + * info.buf = self.data # <<<<<<<<<<<<<< + * info.len = self.len + * + */ + __pyx_t_2 = __pyx_v_self->data; + __pyx_v_info->buf = __pyx_t_2; + + /* "View.MemoryView":193 + * raise ValueError, "Can only create a buffer that is contiguous in memory." + * info.buf = self.data + * info.len = self.len # <<<<<<<<<<<<<< + * + * if flags & PyBUF_STRIDES: + */ + __pyx_t_3 = __pyx_v_self->len; + __pyx_v_info->len = __pyx_t_3; + + /* "View.MemoryView":195 + * info.len = self.len + * + * if flags & PyBUF_STRIDES: # <<<<<<<<<<<<<< + * info.ndim = self.ndim + * info.shape = self._shape + */ + __pyx_t_1 = ((__pyx_v_flags & PyBUF_STRIDES) != 0); + if (__pyx_t_1) { + + /* "View.MemoryView":196 + * + * if flags & PyBUF_STRIDES: + * info.ndim = self.ndim # <<<<<<<<<<<<<< + * info.shape = self._shape + * info.strides = self._strides + */ + __pyx_t_4 = __pyx_v_self->ndim; + __pyx_v_info->ndim = __pyx_t_4; + + /* "View.MemoryView":197 + * if flags & PyBUF_STRIDES: + * info.ndim = self.ndim + * info.shape = self._shape # <<<<<<<<<<<<<< + * info.strides = self._strides + * else: + */ + __pyx_t_5 = __pyx_v_self->_shape; + __pyx_v_info->shape = __pyx_t_5; + + /* "View.MemoryView":198 + * info.ndim = self.ndim + * info.shape = self._shape + * info.strides = self._strides # <<<<<<<<<<<<<< + * else: + * info.ndim = 1 + */ + __pyx_t_5 = __pyx_v_self->_strides; + __pyx_v_info->strides = __pyx_t_5; + + /* "View.MemoryView":195 + * info.len = self.len + * + * if flags & PyBUF_STRIDES: # <<<<<<<<<<<<<< + * info.ndim = self.ndim + * info.shape = self._shape + */ + goto __pyx_L6; + } + + /* "View.MemoryView":200 + * info.strides = self._strides + * else: + * info.ndim = 1 # <<<<<<<<<<<<<< + * info.shape = &self.len if flags & PyBUF_ND else NULL + * info.strides = NULL + */ + /*else*/ { + __pyx_v_info->ndim = 1; + + /* "View.MemoryView":201 + * else: + * info.ndim = 1 + * info.shape = &self.len if flags & PyBUF_ND else NULL # <<<<<<<<<<<<<< + * info.strides = NULL + * + */ + __pyx_t_1 = ((__pyx_v_flags & PyBUF_ND) != 0); + if (__pyx_t_1) { + __pyx_t_5 = (&__pyx_v_self->len); + } else { + __pyx_t_5 = NULL; + } + __pyx_v_info->shape = __pyx_t_5; + + /* "View.MemoryView":202 + * info.ndim = 1 + * info.shape = &self.len if flags & PyBUF_ND else NULL + * info.strides = NULL # <<<<<<<<<<<<<< + * + * info.suboffsets = NULL + */ + __pyx_v_info->strides = NULL; + } + __pyx_L6:; + + /* "View.MemoryView":204 + * info.strides = NULL + * + * info.suboffsets = NULL # <<<<<<<<<<<<<< + * info.itemsize = self.itemsize + * info.readonly = 0 + */ + __pyx_v_info->suboffsets = NULL; + + /* "View.MemoryView":205 + * + * info.suboffsets = NULL + * info.itemsize = self.itemsize # <<<<<<<<<<<<<< + * info.readonly = 0 + * info.format = self.format if flags & PyBUF_FORMAT else NULL + */ + __pyx_t_3 = __pyx_v_self->itemsize; + __pyx_v_info->itemsize = __pyx_t_3; + + /* "View.MemoryView":206 + * info.suboffsets = NULL + * info.itemsize = self.itemsize + * info.readonly = 0 # <<<<<<<<<<<<<< + * info.format = self.format if flags & PyBUF_FORMAT else NULL + * info.obj = self + */ + __pyx_v_info->readonly = 0; + + /* "View.MemoryView":207 + * info.itemsize = self.itemsize + * info.readonly = 0 + * info.format = self.format if flags & PyBUF_FORMAT else NULL # <<<<<<<<<<<<<< + * info.obj = self + * + */ + __pyx_t_1 = ((__pyx_v_flags & PyBUF_FORMAT) != 0); + if (__pyx_t_1) { + __pyx_t_2 = __pyx_v_self->format; + } else { + __pyx_t_2 = NULL; + } + __pyx_v_info->format = __pyx_t_2; + + /* "View.MemoryView":208 + * info.readonly = 0 + * info.format = self.format if flags & PyBUF_FORMAT else NULL + * info.obj = self # <<<<<<<<<<<<<< + * + * def __dealloc__(array self): + */ + __Pyx_INCREF((PyObject *)__pyx_v_self); + __Pyx_GIVEREF((PyObject *)__pyx_v_self); + __Pyx_GOTREF(__pyx_v_info->obj); + __Pyx_DECREF(__pyx_v_info->obj); + __pyx_v_info->obj = ((PyObject *)__pyx_v_self); + + /* "View.MemoryView":182 + * _allocate_buffer(self) + * + * @cname('getbuffer') # <<<<<<<<<<<<<< + * def __getbuffer__(self, Py_buffer *info, int flags): + * cdef int bufmode = -1 + */ + + /* function exit code */ + __pyx_r = 0; + goto __pyx_L0; + __pyx_L1_error:; + __Pyx_AddTraceback("View.MemoryView.array.__getbuffer__", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = -1; + if (__pyx_v_info->obj != NULL) { + __Pyx_GOTREF(__pyx_v_info->obj); + __Pyx_DECREF(__pyx_v_info->obj); __pyx_v_info->obj = 0; + } + goto __pyx_L2; + __pyx_L0:; + if (__pyx_v_info->obj == Py_None) { + __Pyx_GOTREF(__pyx_v_info->obj); + __Pyx_DECREF(__pyx_v_info->obj); __pyx_v_info->obj = 0; + } + __pyx_L2:; + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":210 + * info.obj = self + * + * def __dealloc__(array self): # <<<<<<<<<<<<<< + * if self.callback_free_data != NULL: + * self.callback_free_data(self.data) + */ + +/* Python wrapper */ +static void __pyx_array___dealloc__(PyObject *__pyx_v_self); /*proto*/ +static void __pyx_array___dealloc__(PyObject *__pyx_v_self) { + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__dealloc__ (wrapper)", 0); + __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs); + __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(((struct __pyx_array_obj *)__pyx_v_self)); + + /* function exit code */ + __Pyx_RefNannyFinishContext(); +} + +static void __pyx_array___pyx_pf_15View_dot_MemoryView_5array_4__dealloc__(struct __pyx_array_obj *__pyx_v_self) { + int __pyx_t_1; + int __pyx_t_2; + + /* "View.MemoryView":211 + * + * def __dealloc__(array self): + * if self.callback_free_data != NULL: # <<<<<<<<<<<<<< + * self.callback_free_data(self.data) + * elif self.free_data and self.data is not NULL: + */ + __pyx_t_1 = (__pyx_v_self->callback_free_data != NULL); + if (__pyx_t_1) { + + /* "View.MemoryView":212 + * def __dealloc__(array self): + * if self.callback_free_data != NULL: + * self.callback_free_data(self.data) # <<<<<<<<<<<<<< + * elif self.free_data and self.data is not NULL: + * if self.dtype_is_object: + */ + __pyx_v_self->callback_free_data(__pyx_v_self->data); + + /* "View.MemoryView":211 + * + * def __dealloc__(array self): + * if self.callback_free_data != NULL: # <<<<<<<<<<<<<< + * self.callback_free_data(self.data) + * elif self.free_data and self.data is not NULL: + */ + goto __pyx_L3; + } + + /* "View.MemoryView":213 + * if self.callback_free_data != NULL: + * self.callback_free_data(self.data) + * elif self.free_data and self.data is not NULL: # <<<<<<<<<<<<<< + * if self.dtype_is_object: + * refcount_objects_in_slice(self.data, self._shape, self._strides, self.ndim, inc=False) + */ + if (__pyx_v_self->free_data) { + } else { + __pyx_t_1 = __pyx_v_self->free_data; + goto __pyx_L4_bool_binop_done; + } + __pyx_t_2 = (__pyx_v_self->data != NULL); + __pyx_t_1 = __pyx_t_2; + __pyx_L4_bool_binop_done:; + if (__pyx_t_1) { + + /* "View.MemoryView":214 + * self.callback_free_data(self.data) + * elif self.free_data and self.data is not NULL: + * if self.dtype_is_object: # <<<<<<<<<<<<<< + * refcount_objects_in_slice(self.data, self._shape, self._strides, self.ndim, inc=False) + * free(self.data) + */ + if (__pyx_v_self->dtype_is_object) { + + /* "View.MemoryView":215 + * elif self.free_data and self.data is not NULL: + * if self.dtype_is_object: + * refcount_objects_in_slice(self.data, self._shape, self._strides, self.ndim, inc=False) # <<<<<<<<<<<<<< + * free(self.data) + * PyObject_Free(self._shape) + */ + __pyx_memoryview_refcount_objects_in_slice(__pyx_v_self->data, __pyx_v_self->_shape, __pyx_v_self->_strides, __pyx_v_self->ndim, 0); + + /* "View.MemoryView":214 + * self.callback_free_data(self.data) + * elif self.free_data and self.data is not NULL: + * if self.dtype_is_object: # <<<<<<<<<<<<<< + * refcount_objects_in_slice(self.data, self._shape, self._strides, self.ndim, inc=False) + * free(self.data) + */ + } + + /* "View.MemoryView":216 + * if self.dtype_is_object: + * refcount_objects_in_slice(self.data, self._shape, self._strides, self.ndim, inc=False) + * free(self.data) # <<<<<<<<<<<<<< + * PyObject_Free(self._shape) + * + */ + free(__pyx_v_self->data); + + /* "View.MemoryView":213 + * if self.callback_free_data != NULL: + * self.callback_free_data(self.data) + * elif self.free_data and self.data is not NULL: # <<<<<<<<<<<<<< + * if self.dtype_is_object: + * refcount_objects_in_slice(self.data, self._shape, self._strides, self.ndim, inc=False) + */ + } + __pyx_L3:; + + /* "View.MemoryView":217 + * refcount_objects_in_slice(self.data, self._shape, self._strides, self.ndim, inc=False) + * free(self.data) + * PyObject_Free(self._shape) # <<<<<<<<<<<<<< + * + * @property + */ + PyObject_Free(__pyx_v_self->_shape); + + /* "View.MemoryView":210 + * info.obj = self + * + * def __dealloc__(array self): # <<<<<<<<<<<<<< + * if self.callback_free_data != NULL: + * self.callback_free_data(self.data) + */ + + /* function exit code */ +} + +/* "View.MemoryView":219 + * PyObject_Free(self._shape) + * + * @property # <<<<<<<<<<<<<< + * def memview(self): + * return self.get_memview() + */ + +/* Python wrapper */ +static PyObject *__pyx_pw_15View_dot_MemoryView_5array_7memview_1__get__(PyObject *__pyx_v_self); /*proto*/ +static PyObject *__pyx_pw_15View_dot_MemoryView_5array_7memview_1__get__(PyObject *__pyx_v_self) { + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); + __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs); + __pyx_r = __pyx_pf_15View_dot_MemoryView_5array_7memview___get__(((struct __pyx_array_obj *)__pyx_v_self)); + + /* function exit code */ + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_pf_15View_dot_MemoryView_5array_7memview___get__(struct __pyx_array_obj *__pyx_v_self) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("__get__", 1); + + /* "View.MemoryView":221 + * @property + * def memview(self): + * return self.get_memview() # <<<<<<<<<<<<<< + * + * @cname('get_memview') + */ + __Pyx_XDECREF(__pyx_r); + __pyx_t_1 = ((struct __pyx_vtabstruct_array *)__pyx_v_self->__pyx_vtab)->get_memview(__pyx_v_self); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 221, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_r = __pyx_t_1; + __pyx_t_1 = 0; + goto __pyx_L0; + + /* "View.MemoryView":219 + * PyObject_Free(self._shape) + * + * @property # <<<<<<<<<<<<<< + * def memview(self): + * return self.get_memview() + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_AddTraceback("View.MemoryView.array.memview.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":224 + * + * @cname('get_memview') + * cdef get_memview(self): # <<<<<<<<<<<<<< + * flags = PyBUF_ANY_CONTIGUOUS|PyBUF_FORMAT|PyBUF_WRITABLE + * return memoryview(self, flags, self.dtype_is_object) + */ + +static PyObject *__pyx_array_get_memview(struct __pyx_array_obj *__pyx_v_self) { + int __pyx_v_flags; + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; + PyObject *__pyx_t_3 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("get_memview", 1); + + /* "View.MemoryView":225 + * @cname('get_memview') + * cdef get_memview(self): + * flags = PyBUF_ANY_CONTIGUOUS|PyBUF_FORMAT|PyBUF_WRITABLE # <<<<<<<<<<<<<< + * return memoryview(self, flags, self.dtype_is_object) + * + */ + __pyx_v_flags = ((PyBUF_ANY_CONTIGUOUS | PyBUF_FORMAT) | PyBUF_WRITABLE); + + /* "View.MemoryView":226 + * cdef get_memview(self): + * flags = PyBUF_ANY_CONTIGUOUS|PyBUF_FORMAT|PyBUF_WRITABLE + * return memoryview(self, flags, self.dtype_is_object) # <<<<<<<<<<<<<< + * + * def __len__(self): + */ + __Pyx_XDECREF(__pyx_r); + __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_flags); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 226, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_v_self->dtype_is_object); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 226, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 226, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_INCREF((PyObject *)__pyx_v_self); + __Pyx_GIVEREF((PyObject *)__pyx_v_self); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 0, ((PyObject *)__pyx_v_self))) __PYX_ERR(1, 226, __pyx_L1_error); + __Pyx_GIVEREF(__pyx_t_1); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_1)) __PYX_ERR(1, 226, __pyx_L1_error); + __Pyx_GIVEREF(__pyx_t_2); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_t_2)) __PYX_ERR(1, 226, __pyx_L1_error); + __pyx_t_1 = 0; + __pyx_t_2 = 0; + __pyx_t_2 = __Pyx_PyObject_Call(((PyObject *)__pyx_memoryview_type), __pyx_t_3, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 226, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + + /* "View.MemoryView":224 + * + * @cname('get_memview') + * cdef get_memview(self): # <<<<<<<<<<<<<< + * flags = PyBUF_ANY_CONTIGUOUS|PyBUF_FORMAT|PyBUF_WRITABLE + * return memoryview(self, flags, self.dtype_is_object) + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_2); + __Pyx_XDECREF(__pyx_t_3); + __Pyx_AddTraceback("View.MemoryView.array.get_memview", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = 0; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":228 + * return memoryview(self, flags, self.dtype_is_object) + * + * def __len__(self): # <<<<<<<<<<<<<< + * return self._shape[0] + * + */ + +/* Python wrapper */ +static Py_ssize_t __pyx_array___len__(PyObject *__pyx_v_self); /*proto*/ +static Py_ssize_t __pyx_array___len__(PyObject *__pyx_v_self) { + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + Py_ssize_t __pyx_r; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__len__ (wrapper)", 0); + __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs); + __pyx_r = __pyx_array___pyx_pf_15View_dot_MemoryView_5array_6__len__(((struct __pyx_array_obj *)__pyx_v_self)); + + /* function exit code */ + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static Py_ssize_t __pyx_array___pyx_pf_15View_dot_MemoryView_5array_6__len__(struct __pyx_array_obj *__pyx_v_self) { + Py_ssize_t __pyx_r; + + /* "View.MemoryView":229 + * + * def __len__(self): + * return self._shape[0] # <<<<<<<<<<<<<< + * + * def __getattr__(self, attr): + */ + __pyx_r = (__pyx_v_self->_shape[0]); + goto __pyx_L0; + + /* "View.MemoryView":228 + * return memoryview(self, flags, self.dtype_is_object) + * + * def __len__(self): # <<<<<<<<<<<<<< + * return self._shape[0] + * + */ + + /* function exit code */ + __pyx_L0:; + return __pyx_r; +} + +/* "View.MemoryView":231 + * return self._shape[0] + * + * def __getattr__(self, attr): # <<<<<<<<<<<<<< + * return getattr(self.memview, attr) + * + */ + +/* Python wrapper */ +static PyObject *__pyx_array___getattr__(PyObject *__pyx_v_self, PyObject *__pyx_v_attr); /*proto*/ +static PyObject *__pyx_array___getattr__(PyObject *__pyx_v_self, PyObject *__pyx_v_attr) { + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__getattr__ (wrapper)", 0); + __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs); + __pyx_r = __pyx_array___pyx_pf_15View_dot_MemoryView_5array_8__getattr__(((struct __pyx_array_obj *)__pyx_v_self), ((PyObject *)__pyx_v_attr)); + + /* function exit code */ + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_array___pyx_pf_15View_dot_MemoryView_5array_8__getattr__(struct __pyx_array_obj *__pyx_v_self, PyObject *__pyx_v_attr) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("__getattr__", 1); + + /* "View.MemoryView":232 + * + * def __getattr__(self, attr): + * return getattr(self.memview, attr) # <<<<<<<<<<<<<< + * + * def __getitem__(self, item): + */ + __Pyx_XDECREF(__pyx_r); + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_memview); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 232, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_t_2 = __Pyx_GetAttr(__pyx_t_1, __pyx_v_attr); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 232, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + + /* "View.MemoryView":231 + * return self._shape[0] + * + * def __getattr__(self, attr): # <<<<<<<<<<<<<< + * return getattr(self.memview, attr) + * + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_2); + __Pyx_AddTraceback("View.MemoryView.array.__getattr__", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":234 + * return getattr(self.memview, attr) + * + * def __getitem__(self, item): # <<<<<<<<<<<<<< + * return self.memview[item] + * + */ + +/* Python wrapper */ +static PyObject *__pyx_array___getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_item); /*proto*/ +static PyObject *__pyx_array___getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_item) { + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__getitem__ (wrapper)", 0); + __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs); + __pyx_r = __pyx_array___pyx_pf_15View_dot_MemoryView_5array_10__getitem__(((struct __pyx_array_obj *)__pyx_v_self), ((PyObject *)__pyx_v_item)); + + /* function exit code */ + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_array___pyx_pf_15View_dot_MemoryView_5array_10__getitem__(struct __pyx_array_obj *__pyx_v_self, PyObject *__pyx_v_item) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("__getitem__", 1); + + /* "View.MemoryView":235 + * + * def __getitem__(self, item): + * return self.memview[item] # <<<<<<<<<<<<<< + * + * def __setitem__(self, item, value): + */ + __Pyx_XDECREF(__pyx_r); + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_memview); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 235, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_t_2 = __Pyx_PyObject_GetItem(__pyx_t_1, __pyx_v_item); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 235, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + + /* "View.MemoryView":234 + * return getattr(self.memview, attr) + * + * def __getitem__(self, item): # <<<<<<<<<<<<<< + * return self.memview[item] + * + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_2); + __Pyx_AddTraceback("View.MemoryView.array.__getitem__", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":237 + * return self.memview[item] + * + * def __setitem__(self, item, value): # <<<<<<<<<<<<<< + * self.memview[item] = value + * + */ + +/* Python wrapper */ +static int __pyx_array___setitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_item, PyObject *__pyx_v_value); /*proto*/ +static int __pyx_array___setitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_item, PyObject *__pyx_v_value) { + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + int __pyx_r; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__setitem__ (wrapper)", 0); + __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs); + __pyx_r = __pyx_array___pyx_pf_15View_dot_MemoryView_5array_12__setitem__(((struct __pyx_array_obj *)__pyx_v_self), ((PyObject *)__pyx_v_item), ((PyObject *)__pyx_v_value)); + + /* function exit code */ + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static int __pyx_array___pyx_pf_15View_dot_MemoryView_5array_12__setitem__(struct __pyx_array_obj *__pyx_v_self, PyObject *__pyx_v_item, PyObject *__pyx_v_value) { + int __pyx_r; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("__setitem__", 1); + + /* "View.MemoryView":238 + * + * def __setitem__(self, item, value): + * self.memview[item] = value # <<<<<<<<<<<<<< + * + * + */ + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_memview); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 238, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + if (unlikely((PyObject_SetItem(__pyx_t_1, __pyx_v_item, __pyx_v_value) < 0))) __PYX_ERR(1, 238, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + + /* "View.MemoryView":237 + * return self.memview[item] + * + * def __setitem__(self, item, value): # <<<<<<<<<<<<<< + * self.memview[item] = value + * + */ + + /* function exit code */ + __pyx_r = 0; + goto __pyx_L0; + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_AddTraceback("View.MemoryView.array.__setitem__", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = -1; + __pyx_L0:; + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "(tree fragment)":1 + * def __reduce_cython__(self): # <<<<<<<<<<<<<< + * raise TypeError, "no default __reduce__ due to non-trivial __cinit__" + * def __setstate_cython__(self, __pyx_state): + */ + +/* Python wrapper */ +static PyObject *__pyx_pw___pyx_array_1__reduce_cython__(PyObject *__pyx_v_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static PyObject *__pyx_pw___pyx_array_1__reduce_cython__(PyObject *__pyx_v_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +) { + #if !CYTHON_METH_FASTCALL + CYTHON_UNUSED Py_ssize_t __pyx_nargs; + #endif + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0); + #if !CYTHON_METH_FASTCALL + #if CYTHON_ASSUME_SAFE_MACROS + __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); + #else + __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL; + #endif + #endif + __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs); + if (unlikely(__pyx_nargs > 0)) { + __Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL;} + if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__reduce_cython__", 0))) return NULL; + __pyx_r = __pyx_pf___pyx_array___reduce_cython__(((struct __pyx_array_obj *)__pyx_v_self)); + + /* function exit code */ + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_pf___pyx_array___reduce_cython__(CYTHON_UNUSED struct __pyx_array_obj *__pyx_v_self) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("__reduce_cython__", 1); + + /* "(tree fragment)":2 + * def __reduce_cython__(self): + * raise TypeError, "no default __reduce__ due to non-trivial __cinit__" # <<<<<<<<<<<<<< + * def __setstate_cython__(self, __pyx_state): + * raise TypeError, "no default __reduce__ due to non-trivial __cinit__" + */ + __Pyx_Raise(__pyx_builtin_TypeError, __pyx_kp_s_no_default___reduce___due_to_non, 0, 0); + __PYX_ERR(1, 2, __pyx_L1_error) + + /* "(tree fragment)":1 + * def __reduce_cython__(self): # <<<<<<<<<<<<<< + * raise TypeError, "no default __reduce__ due to non-trivial __cinit__" + * def __setstate_cython__(self, __pyx_state): + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_AddTraceback("View.MemoryView.array.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "(tree fragment)":3 + * def __reduce_cython__(self): + * raise TypeError, "no default __reduce__ due to non-trivial __cinit__" + * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< + * raise TypeError, "no default __reduce__ due to non-trivial __cinit__" + */ + +/* Python wrapper */ +static PyObject *__pyx_pw___pyx_array_3__setstate_cython__(PyObject *__pyx_v_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static PyObject *__pyx_pw___pyx_array_3__setstate_cython__(PyObject *__pyx_v_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +) { + CYTHON_UNUSED PyObject *__pyx_v___pyx_state = 0; + #if !CYTHON_METH_FASTCALL + CYTHON_UNUSED Py_ssize_t __pyx_nargs; + #endif + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject* values[1] = {0}; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0); + #if !CYTHON_METH_FASTCALL + #if CYTHON_ASSUME_SAFE_MACROS + __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); + #else + __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL; + #endif + #endif + __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs); + { + PyObject **__pyx_pyargnames[] = {&__pyx_n_s_pyx_state,0}; + if (__pyx_kwds) { + Py_ssize_t kw_args; + switch (__pyx_nargs) { + case 1: values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); + CYTHON_FALLTHROUGH; + case 0: break; + default: goto __pyx_L5_argtuple_error; + } + kw_args = __Pyx_NumKwargs_FASTCALL(__pyx_kwds); + switch (__pyx_nargs) { + case 0: + if (likely((values[0] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_pyx_state)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[0]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(1, 3, __pyx_L3_error) + else goto __pyx_L5_argtuple_error; + } + if (unlikely(kw_args > 0)) { + const Py_ssize_t kwd_pos_args = __pyx_nargs; + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "__setstate_cython__") < 0)) __PYX_ERR(1, 3, __pyx_L3_error) + } + } else if (unlikely(__pyx_nargs != 1)) { + goto __pyx_L5_argtuple_error; + } else { + values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); + } + __pyx_v___pyx_state = values[0]; + } + goto __pyx_L6_skip; + __pyx_L5_argtuple_error:; + __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 3, __pyx_L3_error) + __pyx_L6_skip:; + goto __pyx_L4_argument_unpacking_done; + __pyx_L3_error:; + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]); + } + } + __Pyx_AddTraceback("View.MemoryView.array.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename); + __Pyx_RefNannyFinishContext(); + return NULL; + __pyx_L4_argument_unpacking_done:; + __pyx_r = __pyx_pf___pyx_array_2__setstate_cython__(((struct __pyx_array_obj *)__pyx_v_self), __pyx_v___pyx_state); + + /* function exit code */ + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]); + } + } + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_pf___pyx_array_2__setstate_cython__(CYTHON_UNUSED struct __pyx_array_obj *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("__setstate_cython__", 1); + + /* "(tree fragment)":4 + * raise TypeError, "no default __reduce__ due to non-trivial __cinit__" + * def __setstate_cython__(self, __pyx_state): + * raise TypeError, "no default __reduce__ due to non-trivial __cinit__" # <<<<<<<<<<<<<< + */ + __Pyx_Raise(__pyx_builtin_TypeError, __pyx_kp_s_no_default___reduce___due_to_non, 0, 0); + __PYX_ERR(1, 4, __pyx_L1_error) + + /* "(tree fragment)":3 + * def __reduce_cython__(self): + * raise TypeError, "no default __reduce__ due to non-trivial __cinit__" + * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< + * raise TypeError, "no default __reduce__ due to non-trivial __cinit__" + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_AddTraceback("View.MemoryView.array.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":248 + * + * @cname("__pyx_array_allocate_buffer") + * cdef int _allocate_buffer(array self) except -1: # <<<<<<<<<<<<<< + * + * + */ + +static int __pyx_array_allocate_buffer(struct __pyx_array_obj *__pyx_v_self) { + Py_ssize_t __pyx_v_i; + PyObject **__pyx_v_p; + int __pyx_r; + int __pyx_t_1; + Py_ssize_t __pyx_t_2; + Py_ssize_t __pyx_t_3; + Py_ssize_t __pyx_t_4; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + + /* "View.MemoryView":254 + * cdef PyObject **p + * + * self.free_data = True # <<<<<<<<<<<<<< + * self.data = malloc(self.len) + * if not self.data: + */ + __pyx_v_self->free_data = 1; + + /* "View.MemoryView":255 + * + * self.free_data = True + * self.data = malloc(self.len) # <<<<<<<<<<<<<< + * if not self.data: + * raise MemoryError, "unable to allocate array data." + */ + __pyx_v_self->data = ((char *)malloc(__pyx_v_self->len)); + + /* "View.MemoryView":256 + * self.free_data = True + * self.data = malloc(self.len) + * if not self.data: # <<<<<<<<<<<<<< + * raise MemoryError, "unable to allocate array data." + * + */ + __pyx_t_1 = (!(__pyx_v_self->data != 0)); + if (unlikely(__pyx_t_1)) { + + /* "View.MemoryView":257 + * self.data = malloc(self.len) + * if not self.data: + * raise MemoryError, "unable to allocate array data." # <<<<<<<<<<<<<< + * + * if self.dtype_is_object: + */ + __Pyx_Raise(__pyx_builtin_MemoryError, __pyx_kp_s_unable_to_allocate_array_data, 0, 0); + __PYX_ERR(1, 257, __pyx_L1_error) + + /* "View.MemoryView":256 + * self.free_data = True + * self.data = malloc(self.len) + * if not self.data: # <<<<<<<<<<<<<< + * raise MemoryError, "unable to allocate array data." + * + */ + } + + /* "View.MemoryView":259 + * raise MemoryError, "unable to allocate array data." + * + * if self.dtype_is_object: # <<<<<<<<<<<<<< + * p = self.data + * for i in range(self.len // self.itemsize): + */ + if (__pyx_v_self->dtype_is_object) { + + /* "View.MemoryView":260 + * + * if self.dtype_is_object: + * p = self.data # <<<<<<<<<<<<<< + * for i in range(self.len // self.itemsize): + * p[i] = Py_None + */ + __pyx_v_p = ((PyObject **)__pyx_v_self->data); + + /* "View.MemoryView":261 + * if self.dtype_is_object: + * p = self.data + * for i in range(self.len // self.itemsize): # <<<<<<<<<<<<<< + * p[i] = Py_None + * Py_INCREF(Py_None) + */ + if (unlikely(__pyx_v_self->itemsize == 0)) { + PyErr_SetString(PyExc_ZeroDivisionError, "integer division or modulo by zero"); + __PYX_ERR(1, 261, __pyx_L1_error) + } + else if (sizeof(Py_ssize_t) == sizeof(long) && (!(((Py_ssize_t)-1) > 0)) && unlikely(__pyx_v_self->itemsize == (Py_ssize_t)-1) && unlikely(__Pyx_UNARY_NEG_WOULD_OVERFLOW(__pyx_v_self->len))) { + PyErr_SetString(PyExc_OverflowError, "value too large to perform division"); + __PYX_ERR(1, 261, __pyx_L1_error) + } + __pyx_t_2 = __Pyx_div_Py_ssize_t(__pyx_v_self->len, __pyx_v_self->itemsize); + __pyx_t_3 = __pyx_t_2; + for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) { + __pyx_v_i = __pyx_t_4; + + /* "View.MemoryView":262 + * p = self.data + * for i in range(self.len // self.itemsize): + * p[i] = Py_None # <<<<<<<<<<<<<< + * Py_INCREF(Py_None) + * return 0 + */ + (__pyx_v_p[__pyx_v_i]) = Py_None; + + /* "View.MemoryView":263 + * for i in range(self.len // self.itemsize): + * p[i] = Py_None + * Py_INCREF(Py_None) # <<<<<<<<<<<<<< + * return 0 + * + */ + Py_INCREF(Py_None); + } + + /* "View.MemoryView":259 + * raise MemoryError, "unable to allocate array data." + * + * if self.dtype_is_object: # <<<<<<<<<<<<<< + * p = self.data + * for i in range(self.len // self.itemsize): + */ + } + + /* "View.MemoryView":264 + * p[i] = Py_None + * Py_INCREF(Py_None) + * return 0 # <<<<<<<<<<<<<< + * + * + */ + __pyx_r = 0; + goto __pyx_L0; + + /* "View.MemoryView":248 + * + * @cname("__pyx_array_allocate_buffer") + * cdef int _allocate_buffer(array self) except -1: # <<<<<<<<<<<<<< + * + * + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_AddTraceback("View.MemoryView._allocate_buffer", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = -1; + __pyx_L0:; + return __pyx_r; +} + +/* "View.MemoryView":268 + * + * @cname("__pyx_array_new") + * cdef array array_cwrapper(tuple shape, Py_ssize_t itemsize, char *format, char *c_mode, char *buf): # <<<<<<<<<<<<<< + * cdef array result + * cdef str mode = "fortran" if c_mode[0] == b'f' else "c" # this often comes from a constant C string. + */ + +static struct __pyx_array_obj *__pyx_array_new(PyObject *__pyx_v_shape, Py_ssize_t __pyx_v_itemsize, char *__pyx_v_format, char *__pyx_v_c_mode, char *__pyx_v_buf) { + struct __pyx_array_obj *__pyx_v_result = 0; + PyObject *__pyx_v_mode = 0; + struct __pyx_array_obj *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + int __pyx_t_2; + PyObject *__pyx_t_3 = NULL; + PyObject *__pyx_t_4 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("array_cwrapper", 1); + + /* "View.MemoryView":270 + * cdef array array_cwrapper(tuple shape, Py_ssize_t itemsize, char *format, char *c_mode, char *buf): + * cdef array result + * cdef str mode = "fortran" if c_mode[0] == b'f' else "c" # this often comes from a constant C string. # <<<<<<<<<<<<<< + * + * if buf is NULL: + */ + __pyx_t_2 = ((__pyx_v_c_mode[0]) == 'f'); + if (__pyx_t_2) { + __Pyx_INCREF(__pyx_n_s_fortran); + __pyx_t_1 = __pyx_n_s_fortran; + } else { + __Pyx_INCREF(__pyx_n_s_c); + __pyx_t_1 = __pyx_n_s_c; + } + __pyx_v_mode = ((PyObject*)__pyx_t_1); + __pyx_t_1 = 0; + + /* "View.MemoryView":272 + * cdef str mode = "fortran" if c_mode[0] == b'f' else "c" # this often comes from a constant C string. + * + * if buf is NULL: # <<<<<<<<<<<<<< + * result = array.__new__(array, shape, itemsize, format, mode) + * else: + */ + __pyx_t_2 = (__pyx_v_buf == NULL); + if (__pyx_t_2) { + + /* "View.MemoryView":273 + * + * if buf is NULL: + * result = array.__new__(array, shape, itemsize, format, mode) # <<<<<<<<<<<<<< + * else: + * result = array.__new__(array, shape, itemsize, format, mode, allocate_buffer=False) + */ + __pyx_t_1 = PyInt_FromSsize_t(__pyx_v_itemsize); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 273, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_t_3 = __Pyx_PyBytes_FromString(__pyx_v_format); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 273, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_4 = PyTuple_New(4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 273, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_INCREF(__pyx_v_shape); + __Pyx_GIVEREF(__pyx_v_shape); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_v_shape)) __PYX_ERR(1, 273, __pyx_L1_error); + __Pyx_GIVEREF(__pyx_t_1); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_1)) __PYX_ERR(1, 273, __pyx_L1_error); + __Pyx_GIVEREF(__pyx_t_3); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 2, __pyx_t_3)) __PYX_ERR(1, 273, __pyx_L1_error); + __Pyx_INCREF(__pyx_v_mode); + __Pyx_GIVEREF(__pyx_v_mode); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 3, __pyx_v_mode)) __PYX_ERR(1, 273, __pyx_L1_error); + __pyx_t_1 = 0; + __pyx_t_3 = 0; + __pyx_t_3 = ((PyObject *)__pyx_tp_new_array(((PyTypeObject *)__pyx_array_type), __pyx_t_4, NULL)); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 273, __pyx_L1_error) + __Pyx_GOTREF((PyObject *)__pyx_t_3); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_v_result = ((struct __pyx_array_obj *)__pyx_t_3); + __pyx_t_3 = 0; + + /* "View.MemoryView":272 + * cdef str mode = "fortran" if c_mode[0] == b'f' else "c" # this often comes from a constant C string. + * + * if buf is NULL: # <<<<<<<<<<<<<< + * result = array.__new__(array, shape, itemsize, format, mode) + * else: + */ + goto __pyx_L3; + } + + /* "View.MemoryView":275 + * result = array.__new__(array, shape, itemsize, format, mode) + * else: + * result = array.__new__(array, shape, itemsize, format, mode, allocate_buffer=False) # <<<<<<<<<<<<<< + * result.data = buf + * + */ + /*else*/ { + __pyx_t_3 = PyInt_FromSsize_t(__pyx_v_itemsize); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 275, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_4 = __Pyx_PyBytes_FromString(__pyx_v_format); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 275, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_1 = PyTuple_New(4); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 275, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __Pyx_INCREF(__pyx_v_shape); + __Pyx_GIVEREF(__pyx_v_shape); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_shape)) __PYX_ERR(1, 275, __pyx_L1_error); + __Pyx_GIVEREF(__pyx_t_3); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_t_3)) __PYX_ERR(1, 275, __pyx_L1_error); + __Pyx_GIVEREF(__pyx_t_4); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_t_4)) __PYX_ERR(1, 275, __pyx_L1_error); + __Pyx_INCREF(__pyx_v_mode); + __Pyx_GIVEREF(__pyx_v_mode); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 3, __pyx_v_mode)) __PYX_ERR(1, 275, __pyx_L1_error); + __pyx_t_3 = 0; + __pyx_t_4 = 0; + __pyx_t_4 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 275, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + if (PyDict_SetItem(__pyx_t_4, __pyx_n_s_allocate_buffer, Py_False) < 0) __PYX_ERR(1, 275, __pyx_L1_error) + __pyx_t_3 = ((PyObject *)__pyx_tp_new_array(((PyTypeObject *)__pyx_array_type), __pyx_t_1, __pyx_t_4)); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 275, __pyx_L1_error) + __Pyx_GOTREF((PyObject *)__pyx_t_3); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_v_result = ((struct __pyx_array_obj *)__pyx_t_3); + __pyx_t_3 = 0; + + /* "View.MemoryView":276 + * else: + * result = array.__new__(array, shape, itemsize, format, mode, allocate_buffer=False) + * result.data = buf # <<<<<<<<<<<<<< + * + * return result + */ + __pyx_v_result->data = __pyx_v_buf; + } + __pyx_L3:; + + /* "View.MemoryView":278 + * result.data = buf + * + * return result # <<<<<<<<<<<<<< + * + * + */ + __Pyx_XDECREF((PyObject *)__pyx_r); + __Pyx_INCREF((PyObject *)__pyx_v_result); + __pyx_r = __pyx_v_result; + goto __pyx_L0; + + /* "View.MemoryView":268 + * + * @cname("__pyx_array_new") + * cdef array array_cwrapper(tuple shape, Py_ssize_t itemsize, char *format, char *c_mode, char *buf): # <<<<<<<<<<<<<< + * cdef array result + * cdef str mode = "fortran" if c_mode[0] == b'f' else "c" # this often comes from a constant C string. + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_3); + __Pyx_XDECREF(__pyx_t_4); + __Pyx_AddTraceback("View.MemoryView.array_cwrapper", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = 0; + __pyx_L0:; + __Pyx_XDECREF((PyObject *)__pyx_v_result); + __Pyx_XDECREF(__pyx_v_mode); + __Pyx_XGIVEREF((PyObject *)__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":304 + * cdef class Enum(object): + * cdef object name + * def __init__(self, name): # <<<<<<<<<<<<<< + * self.name = name + * def __repr__(self): + */ + +/* Python wrapper */ +static int __pyx_MemviewEnum___init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ +static int __pyx_MemviewEnum___init__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { + PyObject *__pyx_v_name = 0; + CYTHON_UNUSED Py_ssize_t __pyx_nargs; + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject* values[1] = {0}; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + int __pyx_r; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__init__ (wrapper)", 0); + #if CYTHON_ASSUME_SAFE_MACROS + __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); + #else + __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1; + #endif + __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs); + { + PyObject **__pyx_pyargnames[] = {&__pyx_n_s_name,0}; + if (__pyx_kwds) { + Py_ssize_t kw_args; + switch (__pyx_nargs) { + case 1: values[0] = __Pyx_Arg_VARARGS(__pyx_args, 0); + CYTHON_FALLTHROUGH; + case 0: break; + default: goto __pyx_L5_argtuple_error; + } + kw_args = __Pyx_NumKwargs_VARARGS(__pyx_kwds); + switch (__pyx_nargs) { + case 0: + if (likely((values[0] = __Pyx_GetKwValue_VARARGS(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_name)) != 0)) { + (void)__Pyx_Arg_NewRef_VARARGS(values[0]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(1, 304, __pyx_L3_error) + else goto __pyx_L5_argtuple_error; + } + if (unlikely(kw_args > 0)) { + const Py_ssize_t kwd_pos_args = __pyx_nargs; + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "__init__") < 0)) __PYX_ERR(1, 304, __pyx_L3_error) + } + } else if (unlikely(__pyx_nargs != 1)) { + goto __pyx_L5_argtuple_error; + } else { + values[0] = __Pyx_Arg_VARARGS(__pyx_args, 0); + } + __pyx_v_name = values[0]; + } + goto __pyx_L6_skip; + __pyx_L5_argtuple_error:; + __Pyx_RaiseArgtupleInvalid("__init__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 304, __pyx_L3_error) + __pyx_L6_skip:; + goto __pyx_L4_argument_unpacking_done; + __pyx_L3_error:; + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_VARARGS(values[__pyx_temp]); + } + } + __Pyx_AddTraceback("View.MemoryView.Enum.__init__", __pyx_clineno, __pyx_lineno, __pyx_filename); + __Pyx_RefNannyFinishContext(); + return -1; + __pyx_L4_argument_unpacking_done:; + __pyx_r = __pyx_MemviewEnum___pyx_pf_15View_dot_MemoryView_4Enum___init__(((struct __pyx_MemviewEnum_obj *)__pyx_v_self), __pyx_v_name); + + /* function exit code */ + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_VARARGS(values[__pyx_temp]); + } + } + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static int __pyx_MemviewEnum___pyx_pf_15View_dot_MemoryView_4Enum___init__(struct __pyx_MemviewEnum_obj *__pyx_v_self, PyObject *__pyx_v_name) { + int __pyx_r; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__init__", 1); + + /* "View.MemoryView":305 + * cdef object name + * def __init__(self, name): + * self.name = name # <<<<<<<<<<<<<< + * def __repr__(self): + * return self.name + */ + __Pyx_INCREF(__pyx_v_name); + __Pyx_GIVEREF(__pyx_v_name); + __Pyx_GOTREF(__pyx_v_self->name); + __Pyx_DECREF(__pyx_v_self->name); + __pyx_v_self->name = __pyx_v_name; + + /* "View.MemoryView":304 + * cdef class Enum(object): + * cdef object name + * def __init__(self, name): # <<<<<<<<<<<<<< + * self.name = name + * def __repr__(self): + */ + + /* function exit code */ + __pyx_r = 0; + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":306 + * def __init__(self, name): + * self.name = name + * def __repr__(self): # <<<<<<<<<<<<<< + * return self.name + * + */ + +/* Python wrapper */ +static PyObject *__pyx_MemviewEnum___repr__(PyObject *__pyx_v_self); /*proto*/ +static PyObject *__pyx_MemviewEnum___repr__(PyObject *__pyx_v_self) { + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__repr__ (wrapper)", 0); + __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs); + __pyx_r = __pyx_MemviewEnum___pyx_pf_15View_dot_MemoryView_4Enum_2__repr__(((struct __pyx_MemviewEnum_obj *)__pyx_v_self)); + + /* function exit code */ + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_MemviewEnum___pyx_pf_15View_dot_MemoryView_4Enum_2__repr__(struct __pyx_MemviewEnum_obj *__pyx_v_self) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__repr__", 1); + + /* "View.MemoryView":307 + * self.name = name + * def __repr__(self): + * return self.name # <<<<<<<<<<<<<< + * + * cdef generic = Enum("") + */ + __Pyx_XDECREF(__pyx_r); + __Pyx_INCREF(__pyx_v_self->name); + __pyx_r = __pyx_v_self->name; + goto __pyx_L0; + + /* "View.MemoryView":306 + * def __init__(self, name): + * self.name = name + * def __repr__(self): # <<<<<<<<<<<<<< + * return self.name + * + */ + + /* function exit code */ + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "(tree fragment)":1 + * def __reduce_cython__(self): # <<<<<<<<<<<<<< + * cdef tuple state + * cdef object _dict + */ + +/* Python wrapper */ +static PyObject *__pyx_pw___pyx_MemviewEnum_1__reduce_cython__(PyObject *__pyx_v_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static PyObject *__pyx_pw___pyx_MemviewEnum_1__reduce_cython__(PyObject *__pyx_v_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +) { + #if !CYTHON_METH_FASTCALL + CYTHON_UNUSED Py_ssize_t __pyx_nargs; + #endif + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0); + #if !CYTHON_METH_FASTCALL + #if CYTHON_ASSUME_SAFE_MACROS + __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); + #else + __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL; + #endif + #endif + __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs); + if (unlikely(__pyx_nargs > 0)) { + __Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL;} + if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__reduce_cython__", 0))) return NULL; + __pyx_r = __pyx_pf___pyx_MemviewEnum___reduce_cython__(((struct __pyx_MemviewEnum_obj *)__pyx_v_self)); + + /* function exit code */ + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_pf___pyx_MemviewEnum___reduce_cython__(struct __pyx_MemviewEnum_obj *__pyx_v_self) { + PyObject *__pyx_v_state = 0; + PyObject *__pyx_v__dict = 0; + int __pyx_v_use_setstate; + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + int __pyx_t_2; + PyObject *__pyx_t_3 = NULL; + PyObject *__pyx_t_4 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("__reduce_cython__", 1); + + /* "(tree fragment)":5 + * cdef object _dict + * cdef bint use_setstate + * state = (self.name,) # <<<<<<<<<<<<<< + * _dict = getattr(self, '__dict__', None) + * if _dict is not None: + */ + __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 5, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __Pyx_INCREF(__pyx_v_self->name); + __Pyx_GIVEREF(__pyx_v_self->name); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v_self->name)) __PYX_ERR(1, 5, __pyx_L1_error); + __pyx_v_state = ((PyObject*)__pyx_t_1); + __pyx_t_1 = 0; + + /* "(tree fragment)":6 + * cdef bint use_setstate + * state = (self.name,) + * _dict = getattr(self, '__dict__', None) # <<<<<<<<<<<<<< + * if _dict is not None: + * state += (_dict,) + */ + __pyx_t_1 = __Pyx_GetAttr3(((PyObject *)__pyx_v_self), __pyx_n_s_dict, Py_None); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 6, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_v__dict = __pyx_t_1; + __pyx_t_1 = 0; + + /* "(tree fragment)":7 + * state = (self.name,) + * _dict = getattr(self, '__dict__', None) + * if _dict is not None: # <<<<<<<<<<<<<< + * state += (_dict,) + * use_setstate = True + */ + __pyx_t_2 = (__pyx_v__dict != Py_None); + if (__pyx_t_2) { + + /* "(tree fragment)":8 + * _dict = getattr(self, '__dict__', None) + * if _dict is not None: + * state += (_dict,) # <<<<<<<<<<<<<< + * use_setstate = True + * else: + */ + __pyx_t_1 = PyTuple_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 8, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __Pyx_INCREF(__pyx_v__dict); + __Pyx_GIVEREF(__pyx_v__dict); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_v__dict)) __PYX_ERR(1, 8, __pyx_L1_error); + __pyx_t_3 = PyNumber_InPlaceAdd(__pyx_v_state, __pyx_t_1); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 8, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __Pyx_DECREF_SET(__pyx_v_state, ((PyObject*)__pyx_t_3)); + __pyx_t_3 = 0; + + /* "(tree fragment)":9 + * if _dict is not None: + * state += (_dict,) + * use_setstate = True # <<<<<<<<<<<<<< + * else: + * use_setstate = self.name is not None + */ + __pyx_v_use_setstate = 1; + + /* "(tree fragment)":7 + * state = (self.name,) + * _dict = getattr(self, '__dict__', None) + * if _dict is not None: # <<<<<<<<<<<<<< + * state += (_dict,) + * use_setstate = True + */ + goto __pyx_L3; + } + + /* "(tree fragment)":11 + * use_setstate = True + * else: + * use_setstate = self.name is not None # <<<<<<<<<<<<<< + * if use_setstate: + * return __pyx_unpickle_Enum, (type(self), 0x82a3537, None), state + */ + /*else*/ { + __pyx_t_2 = (__pyx_v_self->name != Py_None); + __pyx_v_use_setstate = __pyx_t_2; + } + __pyx_L3:; + + /* "(tree fragment)":12 + * else: + * use_setstate = self.name is not None + * if use_setstate: # <<<<<<<<<<<<<< + * return __pyx_unpickle_Enum, (type(self), 0x82a3537, None), state + * else: + */ + if (__pyx_v_use_setstate) { + + /* "(tree fragment)":13 + * use_setstate = self.name is not None + * if use_setstate: + * return __pyx_unpickle_Enum, (type(self), 0x82a3537, None), state # <<<<<<<<<<<<<< + * else: + * return __pyx_unpickle_Enum, (type(self), 0x82a3537, state) + */ + __Pyx_XDECREF(__pyx_r); + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_pyx_unpickle_Enum); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 13, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 13, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __Pyx_INCREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); + __Pyx_GIVEREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self))))) __PYX_ERR(1, 13, __pyx_L1_error); + __Pyx_INCREF(__pyx_int_136983863); + __Pyx_GIVEREF(__pyx_int_136983863); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_int_136983863)) __PYX_ERR(1, 13, __pyx_L1_error); + __Pyx_INCREF(Py_None); + __Pyx_GIVEREF(Py_None); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 2, Py_None)) __PYX_ERR(1, 13, __pyx_L1_error); + __pyx_t_4 = PyTuple_New(3); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 13, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_GIVEREF(__pyx_t_3); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_3)) __PYX_ERR(1, 13, __pyx_L1_error); + __Pyx_GIVEREF(__pyx_t_1); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_1)) __PYX_ERR(1, 13, __pyx_L1_error); + __Pyx_INCREF(__pyx_v_state); + __Pyx_GIVEREF(__pyx_v_state); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 2, __pyx_v_state)) __PYX_ERR(1, 13, __pyx_L1_error); + __pyx_t_3 = 0; + __pyx_t_1 = 0; + __pyx_r = __pyx_t_4; + __pyx_t_4 = 0; + goto __pyx_L0; + + /* "(tree fragment)":12 + * else: + * use_setstate = self.name is not None + * if use_setstate: # <<<<<<<<<<<<<< + * return __pyx_unpickle_Enum, (type(self), 0x82a3537, None), state + * else: + */ + } + + /* "(tree fragment)":15 + * return __pyx_unpickle_Enum, (type(self), 0x82a3537, None), state + * else: + * return __pyx_unpickle_Enum, (type(self), 0x82a3537, state) # <<<<<<<<<<<<<< + * def __setstate_cython__(self, __pyx_state): + * __pyx_unpickle_Enum__set_state(self, __pyx_state) + */ + /*else*/ { + __Pyx_XDECREF(__pyx_r); + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_pyx_unpickle_Enum); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 15, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_1 = PyTuple_New(3); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 15, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __Pyx_INCREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); + __Pyx_GIVEREF(((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self)))); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 0, ((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self))))) __PYX_ERR(1, 15, __pyx_L1_error); + __Pyx_INCREF(__pyx_int_136983863); + __Pyx_GIVEREF(__pyx_int_136983863); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_int_136983863)) __PYX_ERR(1, 15, __pyx_L1_error); + __Pyx_INCREF(__pyx_v_state); + __Pyx_GIVEREF(__pyx_v_state); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_v_state)) __PYX_ERR(1, 15, __pyx_L1_error); + __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 15, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_GIVEREF(__pyx_t_4); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_4)) __PYX_ERR(1, 15, __pyx_L1_error); + __Pyx_GIVEREF(__pyx_t_1); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_1)) __PYX_ERR(1, 15, __pyx_L1_error); + __pyx_t_4 = 0; + __pyx_t_1 = 0; + __pyx_r = __pyx_t_3; + __pyx_t_3 = 0; + goto __pyx_L0; + } + + /* "(tree fragment)":1 + * def __reduce_cython__(self): # <<<<<<<<<<<<<< + * cdef tuple state + * cdef object _dict + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_3); + __Pyx_XDECREF(__pyx_t_4); + __Pyx_AddTraceback("View.MemoryView.Enum.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __pyx_L0:; + __Pyx_XDECREF(__pyx_v_state); + __Pyx_XDECREF(__pyx_v__dict); + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "(tree fragment)":16 + * else: + * return __pyx_unpickle_Enum, (type(self), 0x82a3537, state) + * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< + * __pyx_unpickle_Enum__set_state(self, __pyx_state) + */ + +/* Python wrapper */ +static PyObject *__pyx_pw___pyx_MemviewEnum_3__setstate_cython__(PyObject *__pyx_v_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static PyObject *__pyx_pw___pyx_MemviewEnum_3__setstate_cython__(PyObject *__pyx_v_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +) { + PyObject *__pyx_v___pyx_state = 0; + #if !CYTHON_METH_FASTCALL + CYTHON_UNUSED Py_ssize_t __pyx_nargs; + #endif + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject* values[1] = {0}; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0); + #if !CYTHON_METH_FASTCALL + #if CYTHON_ASSUME_SAFE_MACROS + __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); + #else + __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL; + #endif + #endif + __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs); + { + PyObject **__pyx_pyargnames[] = {&__pyx_n_s_pyx_state,0}; + if (__pyx_kwds) { + Py_ssize_t kw_args; + switch (__pyx_nargs) { + case 1: values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); + CYTHON_FALLTHROUGH; + case 0: break; + default: goto __pyx_L5_argtuple_error; + } + kw_args = __Pyx_NumKwargs_FASTCALL(__pyx_kwds); + switch (__pyx_nargs) { + case 0: + if (likely((values[0] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_pyx_state)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[0]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(1, 16, __pyx_L3_error) + else goto __pyx_L5_argtuple_error; + } + if (unlikely(kw_args > 0)) { + const Py_ssize_t kwd_pos_args = __pyx_nargs; + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "__setstate_cython__") < 0)) __PYX_ERR(1, 16, __pyx_L3_error) + } + } else if (unlikely(__pyx_nargs != 1)) { + goto __pyx_L5_argtuple_error; + } else { + values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); + } + __pyx_v___pyx_state = values[0]; + } + goto __pyx_L6_skip; + __pyx_L5_argtuple_error:; + __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 16, __pyx_L3_error) + __pyx_L6_skip:; + goto __pyx_L4_argument_unpacking_done; + __pyx_L3_error:; + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]); + } + } + __Pyx_AddTraceback("View.MemoryView.Enum.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename); + __Pyx_RefNannyFinishContext(); + return NULL; + __pyx_L4_argument_unpacking_done:; + __pyx_r = __pyx_pf___pyx_MemviewEnum_2__setstate_cython__(((struct __pyx_MemviewEnum_obj *)__pyx_v_self), __pyx_v___pyx_state); + + /* function exit code */ + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]); + } + } + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_pf___pyx_MemviewEnum_2__setstate_cython__(struct __pyx_MemviewEnum_obj *__pyx_v_self, PyObject *__pyx_v___pyx_state) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("__setstate_cython__", 1); + + /* "(tree fragment)":17 + * return __pyx_unpickle_Enum, (type(self), 0x82a3537, state) + * def __setstate_cython__(self, __pyx_state): + * __pyx_unpickle_Enum__set_state(self, __pyx_state) # <<<<<<<<<<<<<< + */ + if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None) || __Pyx_RaiseUnexpectedTypeError("tuple", __pyx_v___pyx_state))) __PYX_ERR(1, 17, __pyx_L1_error) + __pyx_t_1 = __pyx_unpickle_Enum__set_state(__pyx_v_self, ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 17, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + + /* "(tree fragment)":16 + * else: + * return __pyx_unpickle_Enum, (type(self), 0x82a3537, state) + * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< + * __pyx_unpickle_Enum__set_state(self, __pyx_state) + */ + + /* function exit code */ + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + goto __pyx_L0; + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_AddTraceback("View.MemoryView.Enum.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":349 + * cdef __Pyx_TypeInfo *typeinfo + * + * def __cinit__(memoryview self, object obj, int flags, bint dtype_is_object=False): # <<<<<<<<<<<<<< + * self.obj = obj + * self.flags = flags + */ + +/* Python wrapper */ +static int __pyx_memoryview___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds); /*proto*/ +static int __pyx_memoryview___cinit__(PyObject *__pyx_v_self, PyObject *__pyx_args, PyObject *__pyx_kwds) { + PyObject *__pyx_v_obj = 0; + int __pyx_v_flags; + int __pyx_v_dtype_is_object; + CYTHON_UNUSED Py_ssize_t __pyx_nargs; + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject* values[3] = {0,0,0}; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + int __pyx_r; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__cinit__ (wrapper)", 0); + #if CYTHON_ASSUME_SAFE_MACROS + __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); + #else + __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return -1; + #endif + __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs); + { + PyObject **__pyx_pyargnames[] = {&__pyx_n_s_obj,&__pyx_n_s_flags,&__pyx_n_s_dtype_is_object,0}; + if (__pyx_kwds) { + Py_ssize_t kw_args; + switch (__pyx_nargs) { + case 3: values[2] = __Pyx_Arg_VARARGS(__pyx_args, 2); + CYTHON_FALLTHROUGH; + case 2: values[1] = __Pyx_Arg_VARARGS(__pyx_args, 1); + CYTHON_FALLTHROUGH; + case 1: values[0] = __Pyx_Arg_VARARGS(__pyx_args, 0); + CYTHON_FALLTHROUGH; + case 0: break; + default: goto __pyx_L5_argtuple_error; + } + kw_args = __Pyx_NumKwargs_VARARGS(__pyx_kwds); + switch (__pyx_nargs) { + case 0: + if (likely((values[0] = __Pyx_GetKwValue_VARARGS(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_obj)) != 0)) { + (void)__Pyx_Arg_NewRef_VARARGS(values[0]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(1, 349, __pyx_L3_error) + else goto __pyx_L5_argtuple_error; + CYTHON_FALLTHROUGH; + case 1: + if (likely((values[1] = __Pyx_GetKwValue_VARARGS(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_flags)) != 0)) { + (void)__Pyx_Arg_NewRef_VARARGS(values[1]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(1, 349, __pyx_L3_error) + else { + __Pyx_RaiseArgtupleInvalid("__cinit__", 0, 2, 3, 1); __PYX_ERR(1, 349, __pyx_L3_error) + } + CYTHON_FALLTHROUGH; + case 2: + if (kw_args > 0) { + PyObject* value = __Pyx_GetKwValue_VARARGS(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_dtype_is_object); + if (value) { values[2] = __Pyx_Arg_NewRef_VARARGS(value); kw_args--; } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(1, 349, __pyx_L3_error) + } + } + if (unlikely(kw_args > 0)) { + const Py_ssize_t kwd_pos_args = __pyx_nargs; + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "__cinit__") < 0)) __PYX_ERR(1, 349, __pyx_L3_error) + } + } else { + switch (__pyx_nargs) { + case 3: values[2] = __Pyx_Arg_VARARGS(__pyx_args, 2); + CYTHON_FALLTHROUGH; + case 2: values[1] = __Pyx_Arg_VARARGS(__pyx_args, 1); + values[0] = __Pyx_Arg_VARARGS(__pyx_args, 0); + break; + default: goto __pyx_L5_argtuple_error; + } + } + __pyx_v_obj = values[0]; + __pyx_v_flags = __Pyx_PyInt_As_int(values[1]); if (unlikely((__pyx_v_flags == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 349, __pyx_L3_error) + if (values[2]) { + __pyx_v_dtype_is_object = __Pyx_PyObject_IsTrue(values[2]); if (unlikely((__pyx_v_dtype_is_object == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 349, __pyx_L3_error) + } else { + __pyx_v_dtype_is_object = ((int)0); + } + } + goto __pyx_L6_skip; + __pyx_L5_argtuple_error:; + __Pyx_RaiseArgtupleInvalid("__cinit__", 0, 2, 3, __pyx_nargs); __PYX_ERR(1, 349, __pyx_L3_error) + __pyx_L6_skip:; + goto __pyx_L4_argument_unpacking_done; + __pyx_L3_error:; + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_VARARGS(values[__pyx_temp]); + } + } + __Pyx_AddTraceback("View.MemoryView.memoryview.__cinit__", __pyx_clineno, __pyx_lineno, __pyx_filename); + __Pyx_RefNannyFinishContext(); + return -1; + __pyx_L4_argument_unpacking_done:; + __pyx_r = __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit__(((struct __pyx_memoryview_obj *)__pyx_v_self), __pyx_v_obj, __pyx_v_flags, __pyx_v_dtype_is_object); + + /* function exit code */ + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_VARARGS(values[__pyx_temp]); + } + } + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview___cinit__(struct __pyx_memoryview_obj *__pyx_v_self, PyObject *__pyx_v_obj, int __pyx_v_flags, int __pyx_v_dtype_is_object) { + int __pyx_r; + __Pyx_RefNannyDeclarations + int __pyx_t_1; + int __pyx_t_2; + int __pyx_t_3; + Py_intptr_t __pyx_t_4; + size_t __pyx_t_5; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("__cinit__", 1); + + /* "View.MemoryView":350 + * + * def __cinit__(memoryview self, object obj, int flags, bint dtype_is_object=False): + * self.obj = obj # <<<<<<<<<<<<<< + * self.flags = flags + * if type(self) is memoryview or obj is not None: + */ + __Pyx_INCREF(__pyx_v_obj); + __Pyx_GIVEREF(__pyx_v_obj); + __Pyx_GOTREF(__pyx_v_self->obj); + __Pyx_DECREF(__pyx_v_self->obj); + __pyx_v_self->obj = __pyx_v_obj; + + /* "View.MemoryView":351 + * def __cinit__(memoryview self, object obj, int flags, bint dtype_is_object=False): + * self.obj = obj + * self.flags = flags # <<<<<<<<<<<<<< + * if type(self) is memoryview or obj is not None: + * __Pyx_GetBuffer(obj, &self.view, flags) + */ + __pyx_v_self->flags = __pyx_v_flags; + + /* "View.MemoryView":352 + * self.obj = obj + * self.flags = flags + * if type(self) is memoryview or obj is not None: # <<<<<<<<<<<<<< + * __Pyx_GetBuffer(obj, &self.view, flags) + * if self.view.obj == NULL: + */ + __pyx_t_2 = (((PyObject *)Py_TYPE(((PyObject *)__pyx_v_self))) == ((PyObject *)__pyx_memoryview_type)); + if (!__pyx_t_2) { + } else { + __pyx_t_1 = __pyx_t_2; + goto __pyx_L4_bool_binop_done; + } + __pyx_t_2 = (__pyx_v_obj != Py_None); + __pyx_t_1 = __pyx_t_2; + __pyx_L4_bool_binop_done:; + if (__pyx_t_1) { + + /* "View.MemoryView":353 + * self.flags = flags + * if type(self) is memoryview or obj is not None: + * __Pyx_GetBuffer(obj, &self.view, flags) # <<<<<<<<<<<<<< + * if self.view.obj == NULL: + * (<__pyx_buffer *> &self.view).obj = Py_None + */ + __pyx_t_3 = __Pyx_GetBuffer(__pyx_v_obj, (&__pyx_v_self->view), __pyx_v_flags); if (unlikely(__pyx_t_3 == ((int)-1))) __PYX_ERR(1, 353, __pyx_L1_error) + + /* "View.MemoryView":354 + * if type(self) is memoryview or obj is not None: + * __Pyx_GetBuffer(obj, &self.view, flags) + * if self.view.obj == NULL: # <<<<<<<<<<<<<< + * (<__pyx_buffer *> &self.view).obj = Py_None + * Py_INCREF(Py_None) + */ + __pyx_t_1 = (((PyObject *)__pyx_v_self->view.obj) == NULL); + if (__pyx_t_1) { + + /* "View.MemoryView":355 + * __Pyx_GetBuffer(obj, &self.view, flags) + * if self.view.obj == NULL: + * (<__pyx_buffer *> &self.view).obj = Py_None # <<<<<<<<<<<<<< + * Py_INCREF(Py_None) + * + */ + ((Py_buffer *)(&__pyx_v_self->view))->obj = Py_None; + + /* "View.MemoryView":356 + * if self.view.obj == NULL: + * (<__pyx_buffer *> &self.view).obj = Py_None + * Py_INCREF(Py_None) # <<<<<<<<<<<<<< + * + * if not __PYX_CYTHON_ATOMICS_ENABLED(): + */ + Py_INCREF(Py_None); + + /* "View.MemoryView":354 + * if type(self) is memoryview or obj is not None: + * __Pyx_GetBuffer(obj, &self.view, flags) + * if self.view.obj == NULL: # <<<<<<<<<<<<<< + * (<__pyx_buffer *> &self.view).obj = Py_None + * Py_INCREF(Py_None) + */ + } + + /* "View.MemoryView":352 + * self.obj = obj + * self.flags = flags + * if type(self) is memoryview or obj is not None: # <<<<<<<<<<<<<< + * __Pyx_GetBuffer(obj, &self.view, flags) + * if self.view.obj == NULL: + */ + } + + /* "View.MemoryView":358 + * Py_INCREF(Py_None) + * + * if not __PYX_CYTHON_ATOMICS_ENABLED(): # <<<<<<<<<<<<<< + * global __pyx_memoryview_thread_locks_used + * if __pyx_memoryview_thread_locks_used < 8: + */ + __pyx_t_1 = (!__PYX_CYTHON_ATOMICS_ENABLED()); + if (__pyx_t_1) { + + /* "View.MemoryView":360 + * if not __PYX_CYTHON_ATOMICS_ENABLED(): + * global __pyx_memoryview_thread_locks_used + * if __pyx_memoryview_thread_locks_used < 8: # <<<<<<<<<<<<<< + * self.lock = __pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used] + * __pyx_memoryview_thread_locks_used += 1 + */ + __pyx_t_1 = (__pyx_memoryview_thread_locks_used < 8); + if (__pyx_t_1) { + + /* "View.MemoryView":361 + * global __pyx_memoryview_thread_locks_used + * if __pyx_memoryview_thread_locks_used < 8: + * self.lock = __pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used] # <<<<<<<<<<<<<< + * __pyx_memoryview_thread_locks_used += 1 + * if self.lock is NULL: + */ + __pyx_v_self->lock = (__pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used]); + + /* "View.MemoryView":362 + * if __pyx_memoryview_thread_locks_used < 8: + * self.lock = __pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used] + * __pyx_memoryview_thread_locks_used += 1 # <<<<<<<<<<<<<< + * if self.lock is NULL: + * self.lock = PyThread_allocate_lock() + */ + __pyx_memoryview_thread_locks_used = (__pyx_memoryview_thread_locks_used + 1); + + /* "View.MemoryView":360 + * if not __PYX_CYTHON_ATOMICS_ENABLED(): + * global __pyx_memoryview_thread_locks_used + * if __pyx_memoryview_thread_locks_used < 8: # <<<<<<<<<<<<<< + * self.lock = __pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used] + * __pyx_memoryview_thread_locks_used += 1 + */ + } + + /* "View.MemoryView":363 + * self.lock = __pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used] + * __pyx_memoryview_thread_locks_used += 1 + * if self.lock is NULL: # <<<<<<<<<<<<<< + * self.lock = PyThread_allocate_lock() + * if self.lock is NULL: + */ + __pyx_t_1 = (__pyx_v_self->lock == NULL); + if (__pyx_t_1) { + + /* "View.MemoryView":364 + * __pyx_memoryview_thread_locks_used += 1 + * if self.lock is NULL: + * self.lock = PyThread_allocate_lock() # <<<<<<<<<<<<<< + * if self.lock is NULL: + * raise MemoryError + */ + __pyx_v_self->lock = PyThread_allocate_lock(); + + /* "View.MemoryView":365 + * if self.lock is NULL: + * self.lock = PyThread_allocate_lock() + * if self.lock is NULL: # <<<<<<<<<<<<<< + * raise MemoryError + * + */ + __pyx_t_1 = (__pyx_v_self->lock == NULL); + if (unlikely(__pyx_t_1)) { + + /* "View.MemoryView":366 + * self.lock = PyThread_allocate_lock() + * if self.lock is NULL: + * raise MemoryError # <<<<<<<<<<<<<< + * + * if flags & PyBUF_FORMAT: + */ + PyErr_NoMemory(); __PYX_ERR(1, 366, __pyx_L1_error) + + /* "View.MemoryView":365 + * if self.lock is NULL: + * self.lock = PyThread_allocate_lock() + * if self.lock is NULL: # <<<<<<<<<<<<<< + * raise MemoryError + * + */ + } + + /* "View.MemoryView":363 + * self.lock = __pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used] + * __pyx_memoryview_thread_locks_used += 1 + * if self.lock is NULL: # <<<<<<<<<<<<<< + * self.lock = PyThread_allocate_lock() + * if self.lock is NULL: + */ + } + + /* "View.MemoryView":358 + * Py_INCREF(Py_None) + * + * if not __PYX_CYTHON_ATOMICS_ENABLED(): # <<<<<<<<<<<<<< + * global __pyx_memoryview_thread_locks_used + * if __pyx_memoryview_thread_locks_used < 8: + */ + } + + /* "View.MemoryView":368 + * raise MemoryError + * + * if flags & PyBUF_FORMAT: # <<<<<<<<<<<<<< + * self.dtype_is_object = (self.view.format[0] == b'O' and self.view.format[1] == b'\0') + * else: + */ + __pyx_t_1 = ((__pyx_v_flags & PyBUF_FORMAT) != 0); + if (__pyx_t_1) { + + /* "View.MemoryView":369 + * + * if flags & PyBUF_FORMAT: + * self.dtype_is_object = (self.view.format[0] == b'O' and self.view.format[1] == b'\0') # <<<<<<<<<<<<<< + * else: + * self.dtype_is_object = dtype_is_object + */ + __pyx_t_2 = ((__pyx_v_self->view.format[0]) == 'O'); + if (__pyx_t_2) { + } else { + __pyx_t_1 = __pyx_t_2; + goto __pyx_L12_bool_binop_done; + } + __pyx_t_2 = ((__pyx_v_self->view.format[1]) == '\x00'); + __pyx_t_1 = __pyx_t_2; + __pyx_L12_bool_binop_done:; + __pyx_v_self->dtype_is_object = __pyx_t_1; + + /* "View.MemoryView":368 + * raise MemoryError + * + * if flags & PyBUF_FORMAT: # <<<<<<<<<<<<<< + * self.dtype_is_object = (self.view.format[0] == b'O' and self.view.format[1] == b'\0') + * else: + */ + goto __pyx_L11; + } + + /* "View.MemoryView":371 + * self.dtype_is_object = (self.view.format[0] == b'O' and self.view.format[1] == b'\0') + * else: + * self.dtype_is_object = dtype_is_object # <<<<<<<<<<<<<< + * + * assert (&self.acquisition_count) % sizeof(__pyx_atomic_int_type) == 0 + */ + /*else*/ { + __pyx_v_self->dtype_is_object = __pyx_v_dtype_is_object; + } + __pyx_L11:; + + /* "View.MemoryView":373 + * self.dtype_is_object = dtype_is_object + * + * assert (&self.acquisition_count) % sizeof(__pyx_atomic_int_type) == 0 # <<<<<<<<<<<<<< + * self.typeinfo = NULL + * + */ + #ifndef CYTHON_WITHOUT_ASSERTIONS + if (unlikely(__pyx_assertions_enabled())) { + __pyx_t_4 = ((Py_intptr_t)((void *)(&__pyx_v_self->acquisition_count))); + __pyx_t_5 = (sizeof(__pyx_atomic_int_type)); + if (unlikely(__pyx_t_5 == 0)) { + PyErr_SetString(PyExc_ZeroDivisionError, "integer division or modulo by zero"); + __PYX_ERR(1, 373, __pyx_L1_error) + } + __pyx_t_1 = ((__pyx_t_4 % __pyx_t_5) == 0); + if (unlikely(!__pyx_t_1)) { + __Pyx_Raise(__pyx_builtin_AssertionError, 0, 0, 0); + __PYX_ERR(1, 373, __pyx_L1_error) + } + } + #else + if ((1)); else __PYX_ERR(1, 373, __pyx_L1_error) + #endif + + /* "View.MemoryView":374 + * + * assert (&self.acquisition_count) % sizeof(__pyx_atomic_int_type) == 0 + * self.typeinfo = NULL # <<<<<<<<<<<<<< + * + * def __dealloc__(memoryview self): + */ + __pyx_v_self->typeinfo = NULL; + + /* "View.MemoryView":349 + * cdef __Pyx_TypeInfo *typeinfo + * + * def __cinit__(memoryview self, object obj, int flags, bint dtype_is_object=False): # <<<<<<<<<<<<<< + * self.obj = obj + * self.flags = flags + */ + + /* function exit code */ + __pyx_r = 0; + goto __pyx_L0; + __pyx_L1_error:; + __Pyx_AddTraceback("View.MemoryView.memoryview.__cinit__", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = -1; + __pyx_L0:; + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":376 + * self.typeinfo = NULL + * + * def __dealloc__(memoryview self): # <<<<<<<<<<<<<< + * if self.obj is not None: + * __Pyx_ReleaseBuffer(&self.view) + */ + +/* Python wrapper */ +static void __pyx_memoryview___dealloc__(PyObject *__pyx_v_self); /*proto*/ +static void __pyx_memoryview___dealloc__(PyObject *__pyx_v_self) { + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__dealloc__ (wrapper)", 0); + __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs); + __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__dealloc__(((struct __pyx_memoryview_obj *)__pyx_v_self)); + + /* function exit code */ + __Pyx_RefNannyFinishContext(); +} + +static void __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_2__dealloc__(struct __pyx_memoryview_obj *__pyx_v_self) { + int __pyx_v_i; + int __pyx_t_1; + int __pyx_t_2; + int __pyx_t_3; + int __pyx_t_4; + PyThread_type_lock __pyx_t_5; + PyThread_type_lock __pyx_t_6; + + /* "View.MemoryView":377 + * + * def __dealloc__(memoryview self): + * if self.obj is not None: # <<<<<<<<<<<<<< + * __Pyx_ReleaseBuffer(&self.view) + * elif (<__pyx_buffer *> &self.view).obj == Py_None: + */ + __pyx_t_1 = (__pyx_v_self->obj != Py_None); + if (__pyx_t_1) { + + /* "View.MemoryView":378 + * def __dealloc__(memoryview self): + * if self.obj is not None: + * __Pyx_ReleaseBuffer(&self.view) # <<<<<<<<<<<<<< + * elif (<__pyx_buffer *> &self.view).obj == Py_None: + * + */ + __Pyx_ReleaseBuffer((&__pyx_v_self->view)); + + /* "View.MemoryView":377 + * + * def __dealloc__(memoryview self): + * if self.obj is not None: # <<<<<<<<<<<<<< + * __Pyx_ReleaseBuffer(&self.view) + * elif (<__pyx_buffer *> &self.view).obj == Py_None: + */ + goto __pyx_L3; + } + + /* "View.MemoryView":379 + * if self.obj is not None: + * __Pyx_ReleaseBuffer(&self.view) + * elif (<__pyx_buffer *> &self.view).obj == Py_None: # <<<<<<<<<<<<<< + * + * (<__pyx_buffer *> &self.view).obj = NULL + */ + __pyx_t_1 = (((Py_buffer *)(&__pyx_v_self->view))->obj == Py_None); + if (__pyx_t_1) { + + /* "View.MemoryView":381 + * elif (<__pyx_buffer *> &self.view).obj == Py_None: + * + * (<__pyx_buffer *> &self.view).obj = NULL # <<<<<<<<<<<<<< + * Py_DECREF(Py_None) + * + */ + ((Py_buffer *)(&__pyx_v_self->view))->obj = NULL; + + /* "View.MemoryView":382 + * + * (<__pyx_buffer *> &self.view).obj = NULL + * Py_DECREF(Py_None) # <<<<<<<<<<<<<< + * + * cdef int i + */ + Py_DECREF(Py_None); + + /* "View.MemoryView":379 + * if self.obj is not None: + * __Pyx_ReleaseBuffer(&self.view) + * elif (<__pyx_buffer *> &self.view).obj == Py_None: # <<<<<<<<<<<<<< + * + * (<__pyx_buffer *> &self.view).obj = NULL + */ + } + __pyx_L3:; + + /* "View.MemoryView":386 + * cdef int i + * global __pyx_memoryview_thread_locks_used + * if self.lock != NULL: # <<<<<<<<<<<<<< + * for i in range(__pyx_memoryview_thread_locks_used): + * if __pyx_memoryview_thread_locks[i] is self.lock: + */ + __pyx_t_1 = (__pyx_v_self->lock != NULL); + if (__pyx_t_1) { + + /* "View.MemoryView":387 + * global __pyx_memoryview_thread_locks_used + * if self.lock != NULL: + * for i in range(__pyx_memoryview_thread_locks_used): # <<<<<<<<<<<<<< + * if __pyx_memoryview_thread_locks[i] is self.lock: + * __pyx_memoryview_thread_locks_used -= 1 + */ + __pyx_t_2 = __pyx_memoryview_thread_locks_used; + __pyx_t_3 = __pyx_t_2; + for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) { + __pyx_v_i = __pyx_t_4; + + /* "View.MemoryView":388 + * if self.lock != NULL: + * for i in range(__pyx_memoryview_thread_locks_used): + * if __pyx_memoryview_thread_locks[i] is self.lock: # <<<<<<<<<<<<<< + * __pyx_memoryview_thread_locks_used -= 1 + * if i != __pyx_memoryview_thread_locks_used: + */ + __pyx_t_1 = ((__pyx_memoryview_thread_locks[__pyx_v_i]) == __pyx_v_self->lock); + if (__pyx_t_1) { + + /* "View.MemoryView":389 + * for i in range(__pyx_memoryview_thread_locks_used): + * if __pyx_memoryview_thread_locks[i] is self.lock: + * __pyx_memoryview_thread_locks_used -= 1 # <<<<<<<<<<<<<< + * if i != __pyx_memoryview_thread_locks_used: + * __pyx_memoryview_thread_locks[i], __pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used] = ( + */ + __pyx_memoryview_thread_locks_used = (__pyx_memoryview_thread_locks_used - 1); + + /* "View.MemoryView":390 + * if __pyx_memoryview_thread_locks[i] is self.lock: + * __pyx_memoryview_thread_locks_used -= 1 + * if i != __pyx_memoryview_thread_locks_used: # <<<<<<<<<<<<<< + * __pyx_memoryview_thread_locks[i], __pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used] = ( + * __pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used], __pyx_memoryview_thread_locks[i]) + */ + __pyx_t_1 = (__pyx_v_i != __pyx_memoryview_thread_locks_used); + if (__pyx_t_1) { + + /* "View.MemoryView":392 + * if i != __pyx_memoryview_thread_locks_used: + * __pyx_memoryview_thread_locks[i], __pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used] = ( + * __pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used], __pyx_memoryview_thread_locks[i]) # <<<<<<<<<<<<<< + * break + * else: + */ + __pyx_t_5 = (__pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used]); + __pyx_t_6 = (__pyx_memoryview_thread_locks[__pyx_v_i]); + + /* "View.MemoryView":391 + * __pyx_memoryview_thread_locks_used -= 1 + * if i != __pyx_memoryview_thread_locks_used: + * __pyx_memoryview_thread_locks[i], __pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used] = ( # <<<<<<<<<<<<<< + * __pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used], __pyx_memoryview_thread_locks[i]) + * break + */ + (__pyx_memoryview_thread_locks[__pyx_v_i]) = __pyx_t_5; + (__pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used]) = __pyx_t_6; + + /* "View.MemoryView":390 + * if __pyx_memoryview_thread_locks[i] is self.lock: + * __pyx_memoryview_thread_locks_used -= 1 + * if i != __pyx_memoryview_thread_locks_used: # <<<<<<<<<<<<<< + * __pyx_memoryview_thread_locks[i], __pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used] = ( + * __pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used], __pyx_memoryview_thread_locks[i]) + */ + } + + /* "View.MemoryView":393 + * __pyx_memoryview_thread_locks[i], __pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used] = ( + * __pyx_memoryview_thread_locks[__pyx_memoryview_thread_locks_used], __pyx_memoryview_thread_locks[i]) + * break # <<<<<<<<<<<<<< + * else: + * PyThread_free_lock(self.lock) + */ + goto __pyx_L6_break; + + /* "View.MemoryView":388 + * if self.lock != NULL: + * for i in range(__pyx_memoryview_thread_locks_used): + * if __pyx_memoryview_thread_locks[i] is self.lock: # <<<<<<<<<<<<<< + * __pyx_memoryview_thread_locks_used -= 1 + * if i != __pyx_memoryview_thread_locks_used: + */ + } + } + /*else*/ { + + /* "View.MemoryView":395 + * break + * else: + * PyThread_free_lock(self.lock) # <<<<<<<<<<<<<< + * + * cdef char *get_item_pointer(memoryview self, object index) except NULL: + */ + PyThread_free_lock(__pyx_v_self->lock); + } + __pyx_L6_break:; + + /* "View.MemoryView":386 + * cdef int i + * global __pyx_memoryview_thread_locks_used + * if self.lock != NULL: # <<<<<<<<<<<<<< + * for i in range(__pyx_memoryview_thread_locks_used): + * if __pyx_memoryview_thread_locks[i] is self.lock: + */ + } + + /* "View.MemoryView":376 + * self.typeinfo = NULL + * + * def __dealloc__(memoryview self): # <<<<<<<<<<<<<< + * if self.obj is not None: + * __Pyx_ReleaseBuffer(&self.view) + */ + + /* function exit code */ +} + +/* "View.MemoryView":397 + * PyThread_free_lock(self.lock) + * + * cdef char *get_item_pointer(memoryview self, object index) except NULL: # <<<<<<<<<<<<<< + * cdef Py_ssize_t dim + * cdef char *itemp = self.view.buf + */ + +static char *__pyx_memoryview_get_item_pointer(struct __pyx_memoryview_obj *__pyx_v_self, PyObject *__pyx_v_index) { + Py_ssize_t __pyx_v_dim; + char *__pyx_v_itemp; + PyObject *__pyx_v_idx = NULL; + char *__pyx_r; + __Pyx_RefNannyDeclarations + Py_ssize_t __pyx_t_1; + PyObject *__pyx_t_2 = NULL; + Py_ssize_t __pyx_t_3; + PyObject *(*__pyx_t_4)(PyObject *); + PyObject *__pyx_t_5 = NULL; + Py_ssize_t __pyx_t_6; + char *__pyx_t_7; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("get_item_pointer", 1); + + /* "View.MemoryView":399 + * cdef char *get_item_pointer(memoryview self, object index) except NULL: + * cdef Py_ssize_t dim + * cdef char *itemp = self.view.buf # <<<<<<<<<<<<<< + * + * for dim, idx in enumerate(index): + */ + __pyx_v_itemp = ((char *)__pyx_v_self->view.buf); + + /* "View.MemoryView":401 + * cdef char *itemp = self.view.buf + * + * for dim, idx in enumerate(index): # <<<<<<<<<<<<<< + * itemp = pybuffer_index(&self.view, itemp, idx, dim) + * + */ + __pyx_t_1 = 0; + if (likely(PyList_CheckExact(__pyx_v_index)) || PyTuple_CheckExact(__pyx_v_index)) { + __pyx_t_2 = __pyx_v_index; __Pyx_INCREF(__pyx_t_2); + __pyx_t_3 = 0; + __pyx_t_4 = NULL; + } else { + __pyx_t_3 = -1; __pyx_t_2 = PyObject_GetIter(__pyx_v_index); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 401, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_4 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 401, __pyx_L1_error) + } + for (;;) { + if (likely(!__pyx_t_4)) { + if (likely(PyList_CheckExact(__pyx_t_2))) { + { + Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_2); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 401, __pyx_L1_error) + #endif + if (__pyx_t_3 >= __pyx_temp) break; + } + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + __pyx_t_5 = PyList_GET_ITEM(__pyx_t_2, __pyx_t_3); __Pyx_INCREF(__pyx_t_5); __pyx_t_3++; if (unlikely((0 < 0))) __PYX_ERR(1, 401, __pyx_L1_error) + #else + __pyx_t_5 = __Pyx_PySequence_ITEM(__pyx_t_2, __pyx_t_3); __pyx_t_3++; if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 401, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + #endif + } else { + { + Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_2); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 401, __pyx_L1_error) + #endif + if (__pyx_t_3 >= __pyx_temp) break; + } + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + __pyx_t_5 = PyTuple_GET_ITEM(__pyx_t_2, __pyx_t_3); __Pyx_INCREF(__pyx_t_5); __pyx_t_3++; if (unlikely((0 < 0))) __PYX_ERR(1, 401, __pyx_L1_error) + #else + __pyx_t_5 = __Pyx_PySequence_ITEM(__pyx_t_2, __pyx_t_3); __pyx_t_3++; if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 401, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + #endif + } + } else { + __pyx_t_5 = __pyx_t_4(__pyx_t_2); + if (unlikely(!__pyx_t_5)) { + PyObject* exc_type = PyErr_Occurred(); + if (exc_type) { + if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear(); + else __PYX_ERR(1, 401, __pyx_L1_error) + } + break; + } + __Pyx_GOTREF(__pyx_t_5); + } + __Pyx_XDECREF_SET(__pyx_v_idx, __pyx_t_5); + __pyx_t_5 = 0; + __pyx_v_dim = __pyx_t_1; + __pyx_t_1 = (__pyx_t_1 + 1); + + /* "View.MemoryView":402 + * + * for dim, idx in enumerate(index): + * itemp = pybuffer_index(&self.view, itemp, idx, dim) # <<<<<<<<<<<<<< + * + * return itemp + */ + __pyx_t_6 = __Pyx_PyIndex_AsSsize_t(__pyx_v_idx); if (unlikely((__pyx_t_6 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(1, 402, __pyx_L1_error) + __pyx_t_7 = __pyx_pybuffer_index((&__pyx_v_self->view), __pyx_v_itemp, __pyx_t_6, __pyx_v_dim); if (unlikely(__pyx_t_7 == ((char *)NULL))) __PYX_ERR(1, 402, __pyx_L1_error) + __pyx_v_itemp = __pyx_t_7; + + /* "View.MemoryView":401 + * cdef char *itemp = self.view.buf + * + * for dim, idx in enumerate(index): # <<<<<<<<<<<<<< + * itemp = pybuffer_index(&self.view, itemp, idx, dim) + * + */ + } + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + + /* "View.MemoryView":404 + * itemp = pybuffer_index(&self.view, itemp, idx, dim) + * + * return itemp # <<<<<<<<<<<<<< + * + * + */ + __pyx_r = __pyx_v_itemp; + goto __pyx_L0; + + /* "View.MemoryView":397 + * PyThread_free_lock(self.lock) + * + * cdef char *get_item_pointer(memoryview self, object index) except NULL: # <<<<<<<<<<<<<< + * cdef Py_ssize_t dim + * cdef char *itemp = self.view.buf + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_2); + __Pyx_XDECREF(__pyx_t_5); + __Pyx_AddTraceback("View.MemoryView.memoryview.get_item_pointer", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __pyx_L0:; + __Pyx_XDECREF(__pyx_v_idx); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":407 + * + * + * def __getitem__(memoryview self, object index): # <<<<<<<<<<<<<< + * if index is Ellipsis: + * return self + */ + +/* Python wrapper */ +static PyObject *__pyx_memoryview___getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index); /*proto*/ +static PyObject *__pyx_memoryview___getitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index) { + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__getitem__ (wrapper)", 0); + __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs); + __pyx_r = __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_4__getitem__(((struct __pyx_memoryview_obj *)__pyx_v_self), ((PyObject *)__pyx_v_index)); + + /* function exit code */ + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_4__getitem__(struct __pyx_memoryview_obj *__pyx_v_self, PyObject *__pyx_v_index) { + PyObject *__pyx_v_have_slices = NULL; + PyObject *__pyx_v_indices = NULL; + char *__pyx_v_itemp; + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + int __pyx_t_1; + PyObject *__pyx_t_2 = NULL; + PyObject *__pyx_t_3 = NULL; + PyObject *__pyx_t_4 = NULL; + char *__pyx_t_5; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("__getitem__", 1); + + /* "View.MemoryView":408 + * + * def __getitem__(memoryview self, object index): + * if index is Ellipsis: # <<<<<<<<<<<<<< + * return self + * + */ + __pyx_t_1 = (__pyx_v_index == __pyx_builtin_Ellipsis); + if (__pyx_t_1) { + + /* "View.MemoryView":409 + * def __getitem__(memoryview self, object index): + * if index is Ellipsis: + * return self # <<<<<<<<<<<<<< + * + * have_slices, indices = _unellipsify(index, self.view.ndim) + */ + __Pyx_XDECREF(__pyx_r); + __Pyx_INCREF((PyObject *)__pyx_v_self); + __pyx_r = ((PyObject *)__pyx_v_self); + goto __pyx_L0; + + /* "View.MemoryView":408 + * + * def __getitem__(memoryview self, object index): + * if index is Ellipsis: # <<<<<<<<<<<<<< + * return self + * + */ + } + + /* "View.MemoryView":411 + * return self + * + * have_slices, indices = _unellipsify(index, self.view.ndim) # <<<<<<<<<<<<<< + * + * cdef char *itemp + */ + __pyx_t_2 = _unellipsify(__pyx_v_index, __pyx_v_self->view.ndim); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 411, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + if (likely(__pyx_t_2 != Py_None)) { + PyObject* sequence = __pyx_t_2; + Py_ssize_t size = __Pyx_PySequence_SIZE(sequence); + if (unlikely(size != 2)) { + if (size > 2) __Pyx_RaiseTooManyValuesError(2); + else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size); + __PYX_ERR(1, 411, __pyx_L1_error) + } + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + __pyx_t_3 = PyTuple_GET_ITEM(sequence, 0); + __pyx_t_4 = PyTuple_GET_ITEM(sequence, 1); + __Pyx_INCREF(__pyx_t_3); + __Pyx_INCREF(__pyx_t_4); + #else + __pyx_t_3 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 411, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_4 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 411, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + #endif + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + } else { + __Pyx_RaiseNoneNotIterableError(); __PYX_ERR(1, 411, __pyx_L1_error) + } + __pyx_v_have_slices = __pyx_t_3; + __pyx_t_3 = 0; + __pyx_v_indices = __pyx_t_4; + __pyx_t_4 = 0; + + /* "View.MemoryView":414 + * + * cdef char *itemp + * if have_slices: # <<<<<<<<<<<<<< + * return memview_slice(self, indices) + * else: + */ + __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_v_have_slices); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(1, 414, __pyx_L1_error) + if (__pyx_t_1) { + + /* "View.MemoryView":415 + * cdef char *itemp + * if have_slices: + * return memview_slice(self, indices) # <<<<<<<<<<<<<< + * else: + * itemp = self.get_item_pointer(indices) + */ + __Pyx_XDECREF(__pyx_r); + __pyx_t_2 = ((PyObject *)__pyx_memview_slice(__pyx_v_self, __pyx_v_indices)); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 415, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + + /* "View.MemoryView":414 + * + * cdef char *itemp + * if have_slices: # <<<<<<<<<<<<<< + * return memview_slice(self, indices) + * else: + */ + } + + /* "View.MemoryView":417 + * return memview_slice(self, indices) + * else: + * itemp = self.get_item_pointer(indices) # <<<<<<<<<<<<<< + * return self.convert_item_to_object(itemp) + * + */ + /*else*/ { + __pyx_t_5 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->get_item_pointer(__pyx_v_self, __pyx_v_indices); if (unlikely(__pyx_t_5 == ((char *)NULL))) __PYX_ERR(1, 417, __pyx_L1_error) + __pyx_v_itemp = __pyx_t_5; + + /* "View.MemoryView":418 + * else: + * itemp = self.get_item_pointer(indices) + * return self.convert_item_to_object(itemp) # <<<<<<<<<<<<<< + * + * def __setitem__(memoryview self, object index, object value): + */ + __Pyx_XDECREF(__pyx_r); + __pyx_t_2 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->convert_item_to_object(__pyx_v_self, __pyx_v_itemp); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 418, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + } + + /* "View.MemoryView":407 + * + * + * def __getitem__(memoryview self, object index): # <<<<<<<<<<<<<< + * if index is Ellipsis: + * return self + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_2); + __Pyx_XDECREF(__pyx_t_3); + __Pyx_XDECREF(__pyx_t_4); + __Pyx_AddTraceback("View.MemoryView.memoryview.__getitem__", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __pyx_L0:; + __Pyx_XDECREF(__pyx_v_have_slices); + __Pyx_XDECREF(__pyx_v_indices); + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":420 + * return self.convert_item_to_object(itemp) + * + * def __setitem__(memoryview self, object index, object value): # <<<<<<<<<<<<<< + * if self.view.readonly: + * raise TypeError, "Cannot assign to read-only memoryview" + */ + +/* Python wrapper */ +static int __pyx_memoryview___setitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index, PyObject *__pyx_v_value); /*proto*/ +static int __pyx_memoryview___setitem__(PyObject *__pyx_v_self, PyObject *__pyx_v_index, PyObject *__pyx_v_value) { + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + int __pyx_r; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__setitem__ (wrapper)", 0); + __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs); + __pyx_r = __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_6__setitem__(((struct __pyx_memoryview_obj *)__pyx_v_self), ((PyObject *)__pyx_v_index), ((PyObject *)__pyx_v_value)); + + /* function exit code */ + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_6__setitem__(struct __pyx_memoryview_obj *__pyx_v_self, PyObject *__pyx_v_index, PyObject *__pyx_v_value) { + PyObject *__pyx_v_have_slices = NULL; + PyObject *__pyx_v_obj = NULL; + int __pyx_r; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; + PyObject *__pyx_t_3 = NULL; + int __pyx_t_4; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("__setitem__", 0); + __Pyx_INCREF(__pyx_v_index); + + /* "View.MemoryView":421 + * + * def __setitem__(memoryview self, object index, object value): + * if self.view.readonly: # <<<<<<<<<<<<<< + * raise TypeError, "Cannot assign to read-only memoryview" + * + */ + if (unlikely(__pyx_v_self->view.readonly)) { + + /* "View.MemoryView":422 + * def __setitem__(memoryview self, object index, object value): + * if self.view.readonly: + * raise TypeError, "Cannot assign to read-only memoryview" # <<<<<<<<<<<<<< + * + * have_slices, index = _unellipsify(index, self.view.ndim) + */ + __Pyx_Raise(__pyx_builtin_TypeError, __pyx_kp_s_Cannot_assign_to_read_only_memor, 0, 0); + __PYX_ERR(1, 422, __pyx_L1_error) + + /* "View.MemoryView":421 + * + * def __setitem__(memoryview self, object index, object value): + * if self.view.readonly: # <<<<<<<<<<<<<< + * raise TypeError, "Cannot assign to read-only memoryview" + * + */ + } + + /* "View.MemoryView":424 + * raise TypeError, "Cannot assign to read-only memoryview" + * + * have_slices, index = _unellipsify(index, self.view.ndim) # <<<<<<<<<<<<<< + * + * if have_slices: + */ + __pyx_t_1 = _unellipsify(__pyx_v_index, __pyx_v_self->view.ndim); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 424, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + if (likely(__pyx_t_1 != Py_None)) { + PyObject* sequence = __pyx_t_1; + Py_ssize_t size = __Pyx_PySequence_SIZE(sequence); + if (unlikely(size != 2)) { + if (size > 2) __Pyx_RaiseTooManyValuesError(2); + else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size); + __PYX_ERR(1, 424, __pyx_L1_error) + } + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + __pyx_t_2 = PyTuple_GET_ITEM(sequence, 0); + __pyx_t_3 = PyTuple_GET_ITEM(sequence, 1); + __Pyx_INCREF(__pyx_t_2); + __Pyx_INCREF(__pyx_t_3); + #else + __pyx_t_2 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 424, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_3 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 424, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + #endif + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } else { + __Pyx_RaiseNoneNotIterableError(); __PYX_ERR(1, 424, __pyx_L1_error) + } + __pyx_v_have_slices = __pyx_t_2; + __pyx_t_2 = 0; + __Pyx_DECREF_SET(__pyx_v_index, __pyx_t_3); + __pyx_t_3 = 0; + + /* "View.MemoryView":426 + * have_slices, index = _unellipsify(index, self.view.ndim) + * + * if have_slices: # <<<<<<<<<<<<<< + * obj = self.is_slice(value) + * if obj: + */ + __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_have_slices); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(1, 426, __pyx_L1_error) + if (__pyx_t_4) { + + /* "View.MemoryView":427 + * + * if have_slices: + * obj = self.is_slice(value) # <<<<<<<<<<<<<< + * if obj: + * self.setitem_slice_assignment(self[index], obj) + */ + __pyx_t_1 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->is_slice(__pyx_v_self, __pyx_v_value); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 427, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_v_obj = __pyx_t_1; + __pyx_t_1 = 0; + + /* "View.MemoryView":428 + * if have_slices: + * obj = self.is_slice(value) + * if obj: # <<<<<<<<<<<<<< + * self.setitem_slice_assignment(self[index], obj) + * else: + */ + __pyx_t_4 = __Pyx_PyObject_IsTrue(__pyx_v_obj); if (unlikely((__pyx_t_4 < 0))) __PYX_ERR(1, 428, __pyx_L1_error) + if (__pyx_t_4) { + + /* "View.MemoryView":429 + * obj = self.is_slice(value) + * if obj: + * self.setitem_slice_assignment(self[index], obj) # <<<<<<<<<<<<<< + * else: + * self.setitem_slice_assign_scalar(self[index], value) + */ + __pyx_t_1 = __Pyx_PyObject_GetItem(((PyObject *)__pyx_v_self), __pyx_v_index); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 429, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_t_3 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->setitem_slice_assignment(__pyx_v_self, __pyx_t_1, __pyx_v_obj); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 429, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + + /* "View.MemoryView":428 + * if have_slices: + * obj = self.is_slice(value) + * if obj: # <<<<<<<<<<<<<< + * self.setitem_slice_assignment(self[index], obj) + * else: + */ + goto __pyx_L5; + } + + /* "View.MemoryView":431 + * self.setitem_slice_assignment(self[index], obj) + * else: + * self.setitem_slice_assign_scalar(self[index], value) # <<<<<<<<<<<<<< + * else: + * self.setitem_indexed(index, value) + */ + /*else*/ { + __pyx_t_3 = __Pyx_PyObject_GetItem(((PyObject *)__pyx_v_self), __pyx_v_index); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 431, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + if (!(likely(((__pyx_t_3) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_3, __pyx_memoryview_type))))) __PYX_ERR(1, 431, __pyx_L1_error) + __pyx_t_1 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->setitem_slice_assign_scalar(__pyx_v_self, ((struct __pyx_memoryview_obj *)__pyx_t_3), __pyx_v_value); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 431, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } + __pyx_L5:; + + /* "View.MemoryView":426 + * have_slices, index = _unellipsify(index, self.view.ndim) + * + * if have_slices: # <<<<<<<<<<<<<< + * obj = self.is_slice(value) + * if obj: + */ + goto __pyx_L4; + } + + /* "View.MemoryView":433 + * self.setitem_slice_assign_scalar(self[index], value) + * else: + * self.setitem_indexed(index, value) # <<<<<<<<<<<<<< + * + * cdef is_slice(self, obj): + */ + /*else*/ { + __pyx_t_1 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->setitem_indexed(__pyx_v_self, __pyx_v_index, __pyx_v_value); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 433, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } + __pyx_L4:; + + /* "View.MemoryView":420 + * return self.convert_item_to_object(itemp) + * + * def __setitem__(memoryview self, object index, object value): # <<<<<<<<<<<<<< + * if self.view.readonly: + * raise TypeError, "Cannot assign to read-only memoryview" + */ + + /* function exit code */ + __pyx_r = 0; + goto __pyx_L0; + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_2); + __Pyx_XDECREF(__pyx_t_3); + __Pyx_AddTraceback("View.MemoryView.memoryview.__setitem__", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = -1; + __pyx_L0:; + __Pyx_XDECREF(__pyx_v_have_slices); + __Pyx_XDECREF(__pyx_v_obj); + __Pyx_XDECREF(__pyx_v_index); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":435 + * self.setitem_indexed(index, value) + * + * cdef is_slice(self, obj): # <<<<<<<<<<<<<< + * if not isinstance(obj, memoryview): + * try: + */ + +static PyObject *__pyx_memoryview_is_slice(struct __pyx_memoryview_obj *__pyx_v_self, PyObject *__pyx_v_obj) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + int __pyx_t_1; + int __pyx_t_2; + PyObject *__pyx_t_3 = NULL; + PyObject *__pyx_t_4 = NULL; + PyObject *__pyx_t_5 = NULL; + PyObject *__pyx_t_6 = NULL; + PyObject *__pyx_t_7 = NULL; + PyObject *__pyx_t_8 = NULL; + int __pyx_t_9; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("is_slice", 0); + __Pyx_INCREF(__pyx_v_obj); + + /* "View.MemoryView":436 + * + * cdef is_slice(self, obj): + * if not isinstance(obj, memoryview): # <<<<<<<<<<<<<< + * try: + * obj = memoryview(obj, self.flags & ~PyBUF_WRITABLE | PyBUF_ANY_CONTIGUOUS, + */ + __pyx_t_1 = __Pyx_TypeCheck(__pyx_v_obj, __pyx_memoryview_type); + __pyx_t_2 = (!__pyx_t_1); + if (__pyx_t_2) { + + /* "View.MemoryView":437 + * cdef is_slice(self, obj): + * if not isinstance(obj, memoryview): + * try: # <<<<<<<<<<<<<< + * obj = memoryview(obj, self.flags & ~PyBUF_WRITABLE | PyBUF_ANY_CONTIGUOUS, + * self.dtype_is_object) + */ + { + __Pyx_PyThreadState_declare + __Pyx_PyThreadState_assign + __Pyx_ExceptionSave(&__pyx_t_3, &__pyx_t_4, &__pyx_t_5); + __Pyx_XGOTREF(__pyx_t_3); + __Pyx_XGOTREF(__pyx_t_4); + __Pyx_XGOTREF(__pyx_t_5); + /*try:*/ { + + /* "View.MemoryView":438 + * if not isinstance(obj, memoryview): + * try: + * obj = memoryview(obj, self.flags & ~PyBUF_WRITABLE | PyBUF_ANY_CONTIGUOUS, # <<<<<<<<<<<<<< + * self.dtype_is_object) + * except TypeError: + */ + __pyx_t_6 = __Pyx_PyInt_From_int(((__pyx_v_self->flags & (~PyBUF_WRITABLE)) | PyBUF_ANY_CONTIGUOUS)); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 438, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_6); + + /* "View.MemoryView":439 + * try: + * obj = memoryview(obj, self.flags & ~PyBUF_WRITABLE | PyBUF_ANY_CONTIGUOUS, + * self.dtype_is_object) # <<<<<<<<<<<<<< + * except TypeError: + * return None + */ + __pyx_t_7 = __Pyx_PyBool_FromLong(__pyx_v_self->dtype_is_object); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 439, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_7); + + /* "View.MemoryView":438 + * if not isinstance(obj, memoryview): + * try: + * obj = memoryview(obj, self.flags & ~PyBUF_WRITABLE | PyBUF_ANY_CONTIGUOUS, # <<<<<<<<<<<<<< + * self.dtype_is_object) + * except TypeError: + */ + __pyx_t_8 = PyTuple_New(3); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 438, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_8); + __Pyx_INCREF(__pyx_v_obj); + __Pyx_GIVEREF(__pyx_v_obj); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_8, 0, __pyx_v_obj)) __PYX_ERR(1, 438, __pyx_L4_error); + __Pyx_GIVEREF(__pyx_t_6); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_8, 1, __pyx_t_6)) __PYX_ERR(1, 438, __pyx_L4_error); + __Pyx_GIVEREF(__pyx_t_7); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_8, 2, __pyx_t_7)) __PYX_ERR(1, 438, __pyx_L4_error); + __pyx_t_6 = 0; + __pyx_t_7 = 0; + __pyx_t_7 = __Pyx_PyObject_Call(((PyObject *)__pyx_memoryview_type), __pyx_t_8, NULL); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 438, __pyx_L4_error) + __Pyx_GOTREF(__pyx_t_7); + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + __Pyx_DECREF_SET(__pyx_v_obj, __pyx_t_7); + __pyx_t_7 = 0; + + /* "View.MemoryView":437 + * cdef is_slice(self, obj): + * if not isinstance(obj, memoryview): + * try: # <<<<<<<<<<<<<< + * obj = memoryview(obj, self.flags & ~PyBUF_WRITABLE | PyBUF_ANY_CONTIGUOUS, + * self.dtype_is_object) + */ + } + __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; + __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; + goto __pyx_L9_try_end; + __pyx_L4_error:; + __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; + __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; + + /* "View.MemoryView":440 + * obj = memoryview(obj, self.flags & ~PyBUF_WRITABLE | PyBUF_ANY_CONTIGUOUS, + * self.dtype_is_object) + * except TypeError: # <<<<<<<<<<<<<< + * return None + * + */ + __pyx_t_9 = __Pyx_PyErr_ExceptionMatches(__pyx_builtin_TypeError); + if (__pyx_t_9) { + __Pyx_AddTraceback("View.MemoryView.memoryview.is_slice", __pyx_clineno, __pyx_lineno, __pyx_filename); + if (__Pyx_GetException(&__pyx_t_7, &__pyx_t_8, &__pyx_t_6) < 0) __PYX_ERR(1, 440, __pyx_L6_except_error) + __Pyx_XGOTREF(__pyx_t_7); + __Pyx_XGOTREF(__pyx_t_8); + __Pyx_XGOTREF(__pyx_t_6); + + /* "View.MemoryView":441 + * self.dtype_is_object) + * except TypeError: + * return None # <<<<<<<<<<<<<< + * + * return obj + */ + __Pyx_XDECREF(__pyx_r); + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + goto __pyx_L7_except_return; + } + goto __pyx_L6_except_error; + + /* "View.MemoryView":437 + * cdef is_slice(self, obj): + * if not isinstance(obj, memoryview): + * try: # <<<<<<<<<<<<<< + * obj = memoryview(obj, self.flags & ~PyBUF_WRITABLE | PyBUF_ANY_CONTIGUOUS, + * self.dtype_is_object) + */ + __pyx_L6_except_error:; + __Pyx_XGIVEREF(__pyx_t_3); + __Pyx_XGIVEREF(__pyx_t_4); + __Pyx_XGIVEREF(__pyx_t_5); + __Pyx_ExceptionReset(__pyx_t_3, __pyx_t_4, __pyx_t_5); + goto __pyx_L1_error; + __pyx_L7_except_return:; + __Pyx_XGIVEREF(__pyx_t_3); + __Pyx_XGIVEREF(__pyx_t_4); + __Pyx_XGIVEREF(__pyx_t_5); + __Pyx_ExceptionReset(__pyx_t_3, __pyx_t_4, __pyx_t_5); + goto __pyx_L0; + __pyx_L9_try_end:; + } + + /* "View.MemoryView":436 + * + * cdef is_slice(self, obj): + * if not isinstance(obj, memoryview): # <<<<<<<<<<<<<< + * try: + * obj = memoryview(obj, self.flags & ~PyBUF_WRITABLE | PyBUF_ANY_CONTIGUOUS, + */ + } + + /* "View.MemoryView":443 + * return None + * + * return obj # <<<<<<<<<<<<<< + * + * cdef setitem_slice_assignment(self, dst, src): + */ + __Pyx_XDECREF(__pyx_r); + __Pyx_INCREF(__pyx_v_obj); + __pyx_r = __pyx_v_obj; + goto __pyx_L0; + + /* "View.MemoryView":435 + * self.setitem_indexed(index, value) + * + * cdef is_slice(self, obj): # <<<<<<<<<<<<<< + * if not isinstance(obj, memoryview): + * try: + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_6); + __Pyx_XDECREF(__pyx_t_7); + __Pyx_XDECREF(__pyx_t_8); + __Pyx_AddTraceback("View.MemoryView.memoryview.is_slice", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = 0; + __pyx_L0:; + __Pyx_XDECREF(__pyx_v_obj); + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":445 + * return obj + * + * cdef setitem_slice_assignment(self, dst, src): # <<<<<<<<<<<<<< + * cdef __Pyx_memviewslice dst_slice + * cdef __Pyx_memviewslice src_slice + */ + +static PyObject *__pyx_memoryview_setitem_slice_assignment(struct __pyx_memoryview_obj *__pyx_v_self, PyObject *__pyx_v_dst, PyObject *__pyx_v_src) { + __Pyx_memviewslice __pyx_v_dst_slice; + __Pyx_memviewslice __pyx_v_src_slice; + __Pyx_memviewslice __pyx_v_msrc; + __Pyx_memviewslice __pyx_v_mdst; + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + __Pyx_memviewslice *__pyx_t_1; + PyObject *__pyx_t_2 = NULL; + int __pyx_t_3; + int __pyx_t_4; + int __pyx_t_5; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("setitem_slice_assignment", 1); + + /* "View.MemoryView":448 + * cdef __Pyx_memviewslice dst_slice + * cdef __Pyx_memviewslice src_slice + * cdef __Pyx_memviewslice msrc = get_slice_from_memview(src, &src_slice)[0] # <<<<<<<<<<<<<< + * cdef __Pyx_memviewslice mdst = get_slice_from_memview(dst, &dst_slice)[0] + * + */ + if (!(likely(((__pyx_v_src) == Py_None) || likely(__Pyx_TypeTest(__pyx_v_src, __pyx_memoryview_type))))) __PYX_ERR(1, 448, __pyx_L1_error) + __pyx_t_1 = __pyx_memoryview_get_slice_from_memoryview(((struct __pyx_memoryview_obj *)__pyx_v_src), (&__pyx_v_src_slice)); if (unlikely(__pyx_t_1 == ((__Pyx_memviewslice *)NULL))) __PYX_ERR(1, 448, __pyx_L1_error) + __pyx_v_msrc = (__pyx_t_1[0]); + + /* "View.MemoryView":449 + * cdef __Pyx_memviewslice src_slice + * cdef __Pyx_memviewslice msrc = get_slice_from_memview(src, &src_slice)[0] + * cdef __Pyx_memviewslice mdst = get_slice_from_memview(dst, &dst_slice)[0] # <<<<<<<<<<<<<< + * + * memoryview_copy_contents(msrc, mdst, src.ndim, dst.ndim, self.dtype_is_object) + */ + if (!(likely(((__pyx_v_dst) == Py_None) || likely(__Pyx_TypeTest(__pyx_v_dst, __pyx_memoryview_type))))) __PYX_ERR(1, 449, __pyx_L1_error) + __pyx_t_1 = __pyx_memoryview_get_slice_from_memoryview(((struct __pyx_memoryview_obj *)__pyx_v_dst), (&__pyx_v_dst_slice)); if (unlikely(__pyx_t_1 == ((__Pyx_memviewslice *)NULL))) __PYX_ERR(1, 449, __pyx_L1_error) + __pyx_v_mdst = (__pyx_t_1[0]); + + /* "View.MemoryView":451 + * cdef __Pyx_memviewslice mdst = get_slice_from_memview(dst, &dst_slice)[0] + * + * memoryview_copy_contents(msrc, mdst, src.ndim, dst.ndim, self.dtype_is_object) # <<<<<<<<<<<<<< + * + * cdef setitem_slice_assign_scalar(self, memoryview dst, value): + */ + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_src, __pyx_n_s_ndim); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 451, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_3 = __Pyx_PyInt_As_int(__pyx_t_2); if (unlikely((__pyx_t_3 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 451, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_dst, __pyx_n_s_ndim); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 451, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_4 = __Pyx_PyInt_As_int(__pyx_t_2); if (unlikely((__pyx_t_4 == (int)-1) && PyErr_Occurred())) __PYX_ERR(1, 451, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_5 = __pyx_memoryview_copy_contents(__pyx_v_msrc, __pyx_v_mdst, __pyx_t_3, __pyx_t_4, __pyx_v_self->dtype_is_object); if (unlikely(__pyx_t_5 == ((int)-1))) __PYX_ERR(1, 451, __pyx_L1_error) + + /* "View.MemoryView":445 + * return obj + * + * cdef setitem_slice_assignment(self, dst, src): # <<<<<<<<<<<<<< + * cdef __Pyx_memviewslice dst_slice + * cdef __Pyx_memviewslice src_slice + */ + + /* function exit code */ + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + goto __pyx_L0; + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_2); + __Pyx_AddTraceback("View.MemoryView.memoryview.setitem_slice_assignment", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = 0; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":453 + * memoryview_copy_contents(msrc, mdst, src.ndim, dst.ndim, self.dtype_is_object) + * + * cdef setitem_slice_assign_scalar(self, memoryview dst, value): # <<<<<<<<<<<<<< + * cdef int array[128] + * cdef void *tmp = NULL + */ + +static PyObject *__pyx_memoryview_setitem_slice_assign_scalar(struct __pyx_memoryview_obj *__pyx_v_self, struct __pyx_memoryview_obj *__pyx_v_dst, PyObject *__pyx_v_value) { + int __pyx_v_array[0x80]; + void *__pyx_v_tmp; + void *__pyx_v_item; + __Pyx_memviewslice *__pyx_v_dst_slice; + __Pyx_memviewslice __pyx_v_tmp_slice; + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + __Pyx_memviewslice *__pyx_t_1; + int __pyx_t_2; + PyObject *__pyx_t_3 = NULL; + int __pyx_t_4; + int __pyx_t_5; + char const *__pyx_t_6; + PyObject *__pyx_t_7 = NULL; + PyObject *__pyx_t_8 = NULL; + PyObject *__pyx_t_9 = NULL; + PyObject *__pyx_t_10 = NULL; + PyObject *__pyx_t_11 = NULL; + PyObject *__pyx_t_12 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("setitem_slice_assign_scalar", 1); + + /* "View.MemoryView":455 + * cdef setitem_slice_assign_scalar(self, memoryview dst, value): + * cdef int array[128] + * cdef void *tmp = NULL # <<<<<<<<<<<<<< + * cdef void *item + * + */ + __pyx_v_tmp = NULL; + + /* "View.MemoryView":460 + * cdef __Pyx_memviewslice *dst_slice + * cdef __Pyx_memviewslice tmp_slice + * dst_slice = get_slice_from_memview(dst, &tmp_slice) # <<<<<<<<<<<<<< + * + * if self.view.itemsize > sizeof(array): + */ + __pyx_t_1 = __pyx_memoryview_get_slice_from_memoryview(__pyx_v_dst, (&__pyx_v_tmp_slice)); if (unlikely(__pyx_t_1 == ((__Pyx_memviewslice *)NULL))) __PYX_ERR(1, 460, __pyx_L1_error) + __pyx_v_dst_slice = __pyx_t_1; + + /* "View.MemoryView":462 + * dst_slice = get_slice_from_memview(dst, &tmp_slice) + * + * if self.view.itemsize > sizeof(array): # <<<<<<<<<<<<<< + * tmp = PyMem_Malloc(self.view.itemsize) + * if tmp == NULL: + */ + __pyx_t_2 = (((size_t)__pyx_v_self->view.itemsize) > (sizeof(__pyx_v_array))); + if (__pyx_t_2) { + + /* "View.MemoryView":463 + * + * if self.view.itemsize > sizeof(array): + * tmp = PyMem_Malloc(self.view.itemsize) # <<<<<<<<<<<<<< + * if tmp == NULL: + * raise MemoryError + */ + __pyx_v_tmp = PyMem_Malloc(__pyx_v_self->view.itemsize); + + /* "View.MemoryView":464 + * if self.view.itemsize > sizeof(array): + * tmp = PyMem_Malloc(self.view.itemsize) + * if tmp == NULL: # <<<<<<<<<<<<<< + * raise MemoryError + * item = tmp + */ + __pyx_t_2 = (__pyx_v_tmp == NULL); + if (unlikely(__pyx_t_2)) { + + /* "View.MemoryView":465 + * tmp = PyMem_Malloc(self.view.itemsize) + * if tmp == NULL: + * raise MemoryError # <<<<<<<<<<<<<< + * item = tmp + * else: + */ + PyErr_NoMemory(); __PYX_ERR(1, 465, __pyx_L1_error) + + /* "View.MemoryView":464 + * if self.view.itemsize > sizeof(array): + * tmp = PyMem_Malloc(self.view.itemsize) + * if tmp == NULL: # <<<<<<<<<<<<<< + * raise MemoryError + * item = tmp + */ + } + + /* "View.MemoryView":466 + * if tmp == NULL: + * raise MemoryError + * item = tmp # <<<<<<<<<<<<<< + * else: + * item = array + */ + __pyx_v_item = __pyx_v_tmp; + + /* "View.MemoryView":462 + * dst_slice = get_slice_from_memview(dst, &tmp_slice) + * + * if self.view.itemsize > sizeof(array): # <<<<<<<<<<<<<< + * tmp = PyMem_Malloc(self.view.itemsize) + * if tmp == NULL: + */ + goto __pyx_L3; + } + + /* "View.MemoryView":468 + * item = tmp + * else: + * item = array # <<<<<<<<<<<<<< + * + * try: + */ + /*else*/ { + __pyx_v_item = ((void *)__pyx_v_array); + } + __pyx_L3:; + + /* "View.MemoryView":470 + * item = array + * + * try: # <<<<<<<<<<<<<< + * if self.dtype_is_object: + * ( item)[0] = value + */ + /*try:*/ { + + /* "View.MemoryView":471 + * + * try: + * if self.dtype_is_object: # <<<<<<<<<<<<<< + * ( item)[0] = value + * else: + */ + if (__pyx_v_self->dtype_is_object) { + + /* "View.MemoryView":472 + * try: + * if self.dtype_is_object: + * ( item)[0] = value # <<<<<<<<<<<<<< + * else: + * self.assign_item_from_object( item, value) + */ + (((PyObject **)__pyx_v_item)[0]) = ((PyObject *)__pyx_v_value); + + /* "View.MemoryView":471 + * + * try: + * if self.dtype_is_object: # <<<<<<<<<<<<<< + * ( item)[0] = value + * else: + */ + goto __pyx_L8; + } + + /* "View.MemoryView":474 + * ( item)[0] = value + * else: + * self.assign_item_from_object( item, value) # <<<<<<<<<<<<<< + * + * + */ + /*else*/ { + __pyx_t_3 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->assign_item_from_object(__pyx_v_self, ((char *)__pyx_v_item), __pyx_v_value); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 474, __pyx_L6_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + } + __pyx_L8:; + + /* "View.MemoryView":478 + * + * + * if self.view.suboffsets != NULL: # <<<<<<<<<<<<<< + * assert_direct_dimensions(self.view.suboffsets, self.view.ndim) + * slice_assign_scalar(dst_slice, dst.view.ndim, self.view.itemsize, + */ + __pyx_t_2 = (__pyx_v_self->view.suboffsets != NULL); + if (__pyx_t_2) { + + /* "View.MemoryView":479 + * + * if self.view.suboffsets != NULL: + * assert_direct_dimensions(self.view.suboffsets, self.view.ndim) # <<<<<<<<<<<<<< + * slice_assign_scalar(dst_slice, dst.view.ndim, self.view.itemsize, + * item, self.dtype_is_object) + */ + __pyx_t_4 = assert_direct_dimensions(__pyx_v_self->view.suboffsets, __pyx_v_self->view.ndim); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(1, 479, __pyx_L6_error) + + /* "View.MemoryView":478 + * + * + * if self.view.suboffsets != NULL: # <<<<<<<<<<<<<< + * assert_direct_dimensions(self.view.suboffsets, self.view.ndim) + * slice_assign_scalar(dst_slice, dst.view.ndim, self.view.itemsize, + */ + } + + /* "View.MemoryView":480 + * if self.view.suboffsets != NULL: + * assert_direct_dimensions(self.view.suboffsets, self.view.ndim) + * slice_assign_scalar(dst_slice, dst.view.ndim, self.view.itemsize, # <<<<<<<<<<<<<< + * item, self.dtype_is_object) + * finally: + */ + __pyx_memoryview_slice_assign_scalar(__pyx_v_dst_slice, __pyx_v_dst->view.ndim, __pyx_v_self->view.itemsize, __pyx_v_item, __pyx_v_self->dtype_is_object); + } + + /* "View.MemoryView":483 + * item, self.dtype_is_object) + * finally: + * PyMem_Free(tmp) # <<<<<<<<<<<<<< + * + * cdef setitem_indexed(self, index, value): + */ + /*finally:*/ { + /*normal exit:*/{ + PyMem_Free(__pyx_v_tmp); + goto __pyx_L7; + } + __pyx_L6_error:; + /*exception exit:*/{ + __Pyx_PyThreadState_declare + __Pyx_PyThreadState_assign + __pyx_t_7 = 0; __pyx_t_8 = 0; __pyx_t_9 = 0; __pyx_t_10 = 0; __pyx_t_11 = 0; __pyx_t_12 = 0; + __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; + if (PY_MAJOR_VERSION >= 3) __Pyx_ExceptionSwap(&__pyx_t_10, &__pyx_t_11, &__pyx_t_12); + if ((PY_MAJOR_VERSION < 3) || unlikely(__Pyx_GetException(&__pyx_t_7, &__pyx_t_8, &__pyx_t_9) < 0)) __Pyx_ErrFetch(&__pyx_t_7, &__pyx_t_8, &__pyx_t_9); + __Pyx_XGOTREF(__pyx_t_7); + __Pyx_XGOTREF(__pyx_t_8); + __Pyx_XGOTREF(__pyx_t_9); + __Pyx_XGOTREF(__pyx_t_10); + __Pyx_XGOTREF(__pyx_t_11); + __Pyx_XGOTREF(__pyx_t_12); + __pyx_t_4 = __pyx_lineno; __pyx_t_5 = __pyx_clineno; __pyx_t_6 = __pyx_filename; + { + PyMem_Free(__pyx_v_tmp); + } + if (PY_MAJOR_VERSION >= 3) { + __Pyx_XGIVEREF(__pyx_t_10); + __Pyx_XGIVEREF(__pyx_t_11); + __Pyx_XGIVEREF(__pyx_t_12); + __Pyx_ExceptionReset(__pyx_t_10, __pyx_t_11, __pyx_t_12); + } + __Pyx_XGIVEREF(__pyx_t_7); + __Pyx_XGIVEREF(__pyx_t_8); + __Pyx_XGIVEREF(__pyx_t_9); + __Pyx_ErrRestore(__pyx_t_7, __pyx_t_8, __pyx_t_9); + __pyx_t_7 = 0; __pyx_t_8 = 0; __pyx_t_9 = 0; __pyx_t_10 = 0; __pyx_t_11 = 0; __pyx_t_12 = 0; + __pyx_lineno = __pyx_t_4; __pyx_clineno = __pyx_t_5; __pyx_filename = __pyx_t_6; + goto __pyx_L1_error; + } + __pyx_L7:; + } + + /* "View.MemoryView":453 + * memoryview_copy_contents(msrc, mdst, src.ndim, dst.ndim, self.dtype_is_object) + * + * cdef setitem_slice_assign_scalar(self, memoryview dst, value): # <<<<<<<<<<<<<< + * cdef int array[128] + * cdef void *tmp = NULL + */ + + /* function exit code */ + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + goto __pyx_L0; + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_3); + __Pyx_AddTraceback("View.MemoryView.memoryview.setitem_slice_assign_scalar", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = 0; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":485 + * PyMem_Free(tmp) + * + * cdef setitem_indexed(self, index, value): # <<<<<<<<<<<<<< + * cdef char *itemp = self.get_item_pointer(index) + * self.assign_item_from_object(itemp, value) + */ + +static PyObject *__pyx_memoryview_setitem_indexed(struct __pyx_memoryview_obj *__pyx_v_self, PyObject *__pyx_v_index, PyObject *__pyx_v_value) { + char *__pyx_v_itemp; + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + char *__pyx_t_1; + PyObject *__pyx_t_2 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("setitem_indexed", 1); + + /* "View.MemoryView":486 + * + * cdef setitem_indexed(self, index, value): + * cdef char *itemp = self.get_item_pointer(index) # <<<<<<<<<<<<<< + * self.assign_item_from_object(itemp, value) + * + */ + __pyx_t_1 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->get_item_pointer(__pyx_v_self, __pyx_v_index); if (unlikely(__pyx_t_1 == ((char *)NULL))) __PYX_ERR(1, 486, __pyx_L1_error) + __pyx_v_itemp = __pyx_t_1; + + /* "View.MemoryView":487 + * cdef setitem_indexed(self, index, value): + * cdef char *itemp = self.get_item_pointer(index) + * self.assign_item_from_object(itemp, value) # <<<<<<<<<<<<<< + * + * cdef convert_item_to_object(self, char *itemp): + */ + __pyx_t_2 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->assign_item_from_object(__pyx_v_self, __pyx_v_itemp, __pyx_v_value); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 487, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + + /* "View.MemoryView":485 + * PyMem_Free(tmp) + * + * cdef setitem_indexed(self, index, value): # <<<<<<<<<<<<<< + * cdef char *itemp = self.get_item_pointer(index) + * self.assign_item_from_object(itemp, value) + */ + + /* function exit code */ + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + goto __pyx_L0; + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_2); + __Pyx_AddTraceback("View.MemoryView.memoryview.setitem_indexed", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = 0; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":489 + * self.assign_item_from_object(itemp, value) + * + * cdef convert_item_to_object(self, char *itemp): # <<<<<<<<<<<<<< + * """Only used if instantiated manually by the user, or if Cython doesn't + * know how to convert the type""" + */ + +static PyObject *__pyx_memoryview_convert_item_to_object(struct __pyx_memoryview_obj *__pyx_v_self, char *__pyx_v_itemp) { + PyObject *__pyx_v_struct = NULL; + PyObject *__pyx_v_bytesitem = 0; + PyObject *__pyx_v_result = NULL; + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; + PyObject *__pyx_t_3 = NULL; + PyObject *__pyx_t_4 = NULL; + PyObject *__pyx_t_5 = NULL; + PyObject *__pyx_t_6 = NULL; + PyObject *__pyx_t_7 = NULL; + int __pyx_t_8; + Py_ssize_t __pyx_t_9; + int __pyx_t_10; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("convert_item_to_object", 1); + + /* "View.MemoryView":492 + * """Only used if instantiated manually by the user, or if Cython doesn't + * know how to convert the type""" + * import struct # <<<<<<<<<<<<<< + * cdef bytes bytesitem + * + */ + __pyx_t_1 = __Pyx_ImportDottedModule(__pyx_n_s_struct, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 492, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_v_struct = __pyx_t_1; + __pyx_t_1 = 0; + + /* "View.MemoryView":495 + * cdef bytes bytesitem + * + * bytesitem = itemp[:self.view.itemsize] # <<<<<<<<<<<<<< + * try: + * result = struct.unpack(self.view.format, bytesitem) + */ + __pyx_t_1 = __Pyx_PyBytes_FromStringAndSize(__pyx_v_itemp + 0, __pyx_v_self->view.itemsize - 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 495, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_v_bytesitem = ((PyObject*)__pyx_t_1); + __pyx_t_1 = 0; + + /* "View.MemoryView":496 + * + * bytesitem = itemp[:self.view.itemsize] + * try: # <<<<<<<<<<<<<< + * result = struct.unpack(self.view.format, bytesitem) + * except struct.error: + */ + { + __Pyx_PyThreadState_declare + __Pyx_PyThreadState_assign + __Pyx_ExceptionSave(&__pyx_t_2, &__pyx_t_3, &__pyx_t_4); + __Pyx_XGOTREF(__pyx_t_2); + __Pyx_XGOTREF(__pyx_t_3); + __Pyx_XGOTREF(__pyx_t_4); + /*try:*/ { + + /* "View.MemoryView":497 + * bytesitem = itemp[:self.view.itemsize] + * try: + * result = struct.unpack(self.view.format, bytesitem) # <<<<<<<<<<<<<< + * except struct.error: + * raise ValueError, "Unable to convert item to object" + */ + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_struct, __pyx_n_s_unpack); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 497, __pyx_L3_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_t_6 = __Pyx_PyBytes_FromString(__pyx_v_self->view.format); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 497, __pyx_L3_error) + __Pyx_GOTREF(__pyx_t_6); + __pyx_t_7 = NULL; + __pyx_t_8 = 0; + #if CYTHON_UNPACK_METHODS + if (likely(PyMethod_Check(__pyx_t_5))) { + __pyx_t_7 = PyMethod_GET_SELF(__pyx_t_5); + if (likely(__pyx_t_7)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_5); + __Pyx_INCREF(__pyx_t_7); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_5, function); + __pyx_t_8 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[3] = {__pyx_t_7, __pyx_t_6, __pyx_v_bytesitem}; + __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+1-__pyx_t_8, 2+__pyx_t_8); + __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 497, __pyx_L3_error) + __Pyx_GOTREF(__pyx_t_1); + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + } + __pyx_v_result = __pyx_t_1; + __pyx_t_1 = 0; + + /* "View.MemoryView":496 + * + * bytesitem = itemp[:self.view.itemsize] + * try: # <<<<<<<<<<<<<< + * result = struct.unpack(self.view.format, bytesitem) + * except struct.error: + */ + } + + /* "View.MemoryView":501 + * raise ValueError, "Unable to convert item to object" + * else: + * if len(self.view.format) == 1: # <<<<<<<<<<<<<< + * return result[0] + * return result + */ + /*else:*/ { + __pyx_t_9 = __Pyx_ssize_strlen(__pyx_v_self->view.format); if (unlikely(__pyx_t_9 == ((Py_ssize_t)-1))) __PYX_ERR(1, 501, __pyx_L5_except_error) + __pyx_t_10 = (__pyx_t_9 == 1); + if (__pyx_t_10) { + + /* "View.MemoryView":502 + * else: + * if len(self.view.format) == 1: + * return result[0] # <<<<<<<<<<<<<< + * return result + * + */ + __Pyx_XDECREF(__pyx_r); + __pyx_t_1 = __Pyx_GetItemInt(__pyx_v_result, 0, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 502, __pyx_L5_except_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_r = __pyx_t_1; + __pyx_t_1 = 0; + goto __pyx_L6_except_return; + + /* "View.MemoryView":501 + * raise ValueError, "Unable to convert item to object" + * else: + * if len(self.view.format) == 1: # <<<<<<<<<<<<<< + * return result[0] + * return result + */ + } + + /* "View.MemoryView":503 + * if len(self.view.format) == 1: + * return result[0] + * return result # <<<<<<<<<<<<<< + * + * cdef assign_item_from_object(self, char *itemp, object value): + */ + __Pyx_XDECREF(__pyx_r); + __Pyx_INCREF(__pyx_v_result); + __pyx_r = __pyx_v_result; + goto __pyx_L6_except_return; + } + __pyx_L3_error:; + __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; + __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; + __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; + __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; + + /* "View.MemoryView":498 + * try: + * result = struct.unpack(self.view.format, bytesitem) + * except struct.error: # <<<<<<<<<<<<<< + * raise ValueError, "Unable to convert item to object" + * else: + */ + __Pyx_ErrFetch(&__pyx_t_1, &__pyx_t_5, &__pyx_t_6); + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_struct, __pyx_n_s_error); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 498, __pyx_L5_except_error) + __Pyx_GOTREF(__pyx_t_7); + __pyx_t_8 = __Pyx_PyErr_GivenExceptionMatches(__pyx_t_1, __pyx_t_7); + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_ErrRestore(__pyx_t_1, __pyx_t_5, __pyx_t_6); + __pyx_t_1 = 0; __pyx_t_5 = 0; __pyx_t_6 = 0; + if (__pyx_t_8) { + __Pyx_AddTraceback("View.MemoryView.memoryview.convert_item_to_object", __pyx_clineno, __pyx_lineno, __pyx_filename); + if (__Pyx_GetException(&__pyx_t_6, &__pyx_t_5, &__pyx_t_1) < 0) __PYX_ERR(1, 498, __pyx_L5_except_error) + __Pyx_XGOTREF(__pyx_t_6); + __Pyx_XGOTREF(__pyx_t_5); + __Pyx_XGOTREF(__pyx_t_1); + + /* "View.MemoryView":499 + * result = struct.unpack(self.view.format, bytesitem) + * except struct.error: + * raise ValueError, "Unable to convert item to object" # <<<<<<<<<<<<<< + * else: + * if len(self.view.format) == 1: + */ + __Pyx_Raise(__pyx_builtin_ValueError, __pyx_kp_s_Unable_to_convert_item_to_object, 0, 0); + __PYX_ERR(1, 499, __pyx_L5_except_error) + } + goto __pyx_L5_except_error; + + /* "View.MemoryView":496 + * + * bytesitem = itemp[:self.view.itemsize] + * try: # <<<<<<<<<<<<<< + * result = struct.unpack(self.view.format, bytesitem) + * except struct.error: + */ + __pyx_L5_except_error:; + __Pyx_XGIVEREF(__pyx_t_2); + __Pyx_XGIVEREF(__pyx_t_3); + __Pyx_XGIVEREF(__pyx_t_4); + __Pyx_ExceptionReset(__pyx_t_2, __pyx_t_3, __pyx_t_4); + goto __pyx_L1_error; + __pyx_L6_except_return:; + __Pyx_XGIVEREF(__pyx_t_2); + __Pyx_XGIVEREF(__pyx_t_3); + __Pyx_XGIVEREF(__pyx_t_4); + __Pyx_ExceptionReset(__pyx_t_2, __pyx_t_3, __pyx_t_4); + goto __pyx_L0; + } + + /* "View.MemoryView":489 + * self.assign_item_from_object(itemp, value) + * + * cdef convert_item_to_object(self, char *itemp): # <<<<<<<<<<<<<< + * """Only used if instantiated manually by the user, or if Cython doesn't + * know how to convert the type""" + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_5); + __Pyx_XDECREF(__pyx_t_6); + __Pyx_XDECREF(__pyx_t_7); + __Pyx_AddTraceback("View.MemoryView.memoryview.convert_item_to_object", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = 0; + __pyx_L0:; + __Pyx_XDECREF(__pyx_v_struct); + __Pyx_XDECREF(__pyx_v_bytesitem); + __Pyx_XDECREF(__pyx_v_result); + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":505 + * return result + * + * cdef assign_item_from_object(self, char *itemp, object value): # <<<<<<<<<<<<<< + * """Only used if instantiated manually by the user, or if Cython doesn't + * know how to convert the type""" + */ + +static PyObject *__pyx_memoryview_assign_item_from_object(struct __pyx_memoryview_obj *__pyx_v_self, char *__pyx_v_itemp, PyObject *__pyx_v_value) { + PyObject *__pyx_v_struct = NULL; + char __pyx_v_c; + PyObject *__pyx_v_bytesvalue = 0; + Py_ssize_t __pyx_v_i; + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + int __pyx_t_2; + PyObject *__pyx_t_3 = NULL; + PyObject *__pyx_t_4 = NULL; + PyObject *__pyx_t_5 = NULL; + int __pyx_t_6; + Py_ssize_t __pyx_t_7; + PyObject *__pyx_t_8 = NULL; + char *__pyx_t_9; + char *__pyx_t_10; + char *__pyx_t_11; + char *__pyx_t_12; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("assign_item_from_object", 1); + + /* "View.MemoryView":508 + * """Only used if instantiated manually by the user, or if Cython doesn't + * know how to convert the type""" + * import struct # <<<<<<<<<<<<<< + * cdef char c + * cdef bytes bytesvalue + */ + __pyx_t_1 = __Pyx_ImportDottedModule(__pyx_n_s_struct, NULL); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 508, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_v_struct = __pyx_t_1; + __pyx_t_1 = 0; + + /* "View.MemoryView":513 + * cdef Py_ssize_t i + * + * if isinstance(value, tuple): # <<<<<<<<<<<<<< + * bytesvalue = struct.pack(self.view.format, *value) + * else: + */ + __pyx_t_2 = PyTuple_Check(__pyx_v_value); + if (__pyx_t_2) { + + /* "View.MemoryView":514 + * + * if isinstance(value, tuple): + * bytesvalue = struct.pack(self.view.format, *value) # <<<<<<<<<<<<<< + * else: + * bytesvalue = struct.pack(self.view.format, value) + */ + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_v_struct, __pyx_n_s_pack); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 514, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_t_3 = __Pyx_PyBytes_FromString(__pyx_v_self->view.format); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 514, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_4 = PyTuple_New(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 514, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_GIVEREF(__pyx_t_3); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_3)) __PYX_ERR(1, 514, __pyx_L1_error); + __pyx_t_3 = 0; + __pyx_t_3 = __Pyx_PySequence_Tuple(__pyx_v_value); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 514, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_5 = PyNumber_Add(__pyx_t_4, __pyx_t_3); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 514, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_3 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_5, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 514, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + if (!(likely(PyBytes_CheckExact(__pyx_t_3))||((__pyx_t_3) == Py_None) || __Pyx_RaiseUnexpectedTypeError("bytes", __pyx_t_3))) __PYX_ERR(1, 514, __pyx_L1_error) + __pyx_v_bytesvalue = ((PyObject*)__pyx_t_3); + __pyx_t_3 = 0; + + /* "View.MemoryView":513 + * cdef Py_ssize_t i + * + * if isinstance(value, tuple): # <<<<<<<<<<<<<< + * bytesvalue = struct.pack(self.view.format, *value) + * else: + */ + goto __pyx_L3; + } + + /* "View.MemoryView":516 + * bytesvalue = struct.pack(self.view.format, *value) + * else: + * bytesvalue = struct.pack(self.view.format, value) # <<<<<<<<<<<<<< + * + * for i, c in enumerate(bytesvalue): + */ + /*else*/ { + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_v_struct, __pyx_n_s_pack); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 516, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_t_1 = __Pyx_PyBytes_FromString(__pyx_v_self->view.format); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 516, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_t_4 = NULL; + __pyx_t_6 = 0; + #if CYTHON_UNPACK_METHODS + if (likely(PyMethod_Check(__pyx_t_5))) { + __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_5); + if (likely(__pyx_t_4)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_5); + __Pyx_INCREF(__pyx_t_4); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_5, function); + __pyx_t_6 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[3] = {__pyx_t_4, __pyx_t_1, __pyx_v_value}; + __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+1-__pyx_t_6, 2+__pyx_t_6); + __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 516, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + } + if (!(likely(PyBytes_CheckExact(__pyx_t_3))||((__pyx_t_3) == Py_None) || __Pyx_RaiseUnexpectedTypeError("bytes", __pyx_t_3))) __PYX_ERR(1, 516, __pyx_L1_error) + __pyx_v_bytesvalue = ((PyObject*)__pyx_t_3); + __pyx_t_3 = 0; + } + __pyx_L3:; + + /* "View.MemoryView":518 + * bytesvalue = struct.pack(self.view.format, value) + * + * for i, c in enumerate(bytesvalue): # <<<<<<<<<<<<<< + * itemp[i] = c + * + */ + __pyx_t_7 = 0; + if (unlikely(__pyx_v_bytesvalue == Py_None)) { + PyErr_SetString(PyExc_TypeError, "'NoneType' is not iterable"); + __PYX_ERR(1, 518, __pyx_L1_error) + } + __Pyx_INCREF(__pyx_v_bytesvalue); + __pyx_t_8 = __pyx_v_bytesvalue; + __pyx_t_10 = PyBytes_AS_STRING(__pyx_t_8); + __pyx_t_11 = (__pyx_t_10 + PyBytes_GET_SIZE(__pyx_t_8)); + for (__pyx_t_12 = __pyx_t_10; __pyx_t_12 < __pyx_t_11; __pyx_t_12++) { + __pyx_t_9 = __pyx_t_12; + __pyx_v_c = (__pyx_t_9[0]); + + /* "View.MemoryView":519 + * + * for i, c in enumerate(bytesvalue): + * itemp[i] = c # <<<<<<<<<<<<<< + * + * @cname('getbuffer') + */ + __pyx_v_i = __pyx_t_7; + + /* "View.MemoryView":518 + * bytesvalue = struct.pack(self.view.format, value) + * + * for i, c in enumerate(bytesvalue): # <<<<<<<<<<<<<< + * itemp[i] = c + * + */ + __pyx_t_7 = (__pyx_t_7 + 1); + + /* "View.MemoryView":519 + * + * for i, c in enumerate(bytesvalue): + * itemp[i] = c # <<<<<<<<<<<<<< + * + * @cname('getbuffer') + */ + (__pyx_v_itemp[__pyx_v_i]) = __pyx_v_c; + } + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + + /* "View.MemoryView":505 + * return result + * + * cdef assign_item_from_object(self, char *itemp, object value): # <<<<<<<<<<<<<< + * """Only used if instantiated manually by the user, or if Cython doesn't + * know how to convert the type""" + */ + + /* function exit code */ + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + goto __pyx_L0; + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_3); + __Pyx_XDECREF(__pyx_t_4); + __Pyx_XDECREF(__pyx_t_5); + __Pyx_XDECREF(__pyx_t_8); + __Pyx_AddTraceback("View.MemoryView.memoryview.assign_item_from_object", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = 0; + __pyx_L0:; + __Pyx_XDECREF(__pyx_v_struct); + __Pyx_XDECREF(__pyx_v_bytesvalue); + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":521 + * itemp[i] = c + * + * @cname('getbuffer') # <<<<<<<<<<<<<< + * def __getbuffer__(self, Py_buffer *info, int flags): + * if flags & PyBUF_WRITABLE and self.view.readonly: + */ + +/* Python wrapper */ +CYTHON_UNUSED static int __pyx_memoryview_getbuffer(PyObject *__pyx_v_self, Py_buffer *__pyx_v_info, int __pyx_v_flags); /*proto*/ +CYTHON_UNUSED static int __pyx_memoryview_getbuffer(PyObject *__pyx_v_self, Py_buffer *__pyx_v_info, int __pyx_v_flags) { + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + int __pyx_r; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__getbuffer__ (wrapper)", 0); + __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs); + __pyx_r = __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_8__getbuffer__(((struct __pyx_memoryview_obj *)__pyx_v_self), ((Py_buffer *)__pyx_v_info), ((int)__pyx_v_flags)); + + /* function exit code */ + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static int __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_8__getbuffer__(struct __pyx_memoryview_obj *__pyx_v_self, Py_buffer *__pyx_v_info, int __pyx_v_flags) { + int __pyx_r; + __Pyx_RefNannyDeclarations + int __pyx_t_1; + int __pyx_t_2; + Py_ssize_t *__pyx_t_3; + char *__pyx_t_4; + void *__pyx_t_5; + int __pyx_t_6; + Py_ssize_t __pyx_t_7; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + if (unlikely(__pyx_v_info == NULL)) { + PyErr_SetString(PyExc_BufferError, "PyObject_GetBuffer: view==NULL argument is obsolete"); + return -1; + } + __Pyx_RefNannySetupContext("__getbuffer__", 0); + __pyx_v_info->obj = Py_None; __Pyx_INCREF(Py_None); + __Pyx_GIVEREF(__pyx_v_info->obj); + + /* "View.MemoryView":523 + * @cname('getbuffer') + * def __getbuffer__(self, Py_buffer *info, int flags): + * if flags & PyBUF_WRITABLE and self.view.readonly: # <<<<<<<<<<<<<< + * raise ValueError, "Cannot create writable memory view from read-only memoryview" + * + */ + __pyx_t_2 = ((__pyx_v_flags & PyBUF_WRITABLE) != 0); + if (__pyx_t_2) { + } else { + __pyx_t_1 = __pyx_t_2; + goto __pyx_L4_bool_binop_done; + } + __pyx_t_1 = __pyx_v_self->view.readonly; + __pyx_L4_bool_binop_done:; + if (unlikely(__pyx_t_1)) { + + /* "View.MemoryView":524 + * def __getbuffer__(self, Py_buffer *info, int flags): + * if flags & PyBUF_WRITABLE and self.view.readonly: + * raise ValueError, "Cannot create writable memory view from read-only memoryview" # <<<<<<<<<<<<<< + * + * if flags & PyBUF_ND: + */ + __Pyx_Raise(__pyx_builtin_ValueError, __pyx_kp_s_Cannot_create_writable_memory_vi, 0, 0); + __PYX_ERR(1, 524, __pyx_L1_error) + + /* "View.MemoryView":523 + * @cname('getbuffer') + * def __getbuffer__(self, Py_buffer *info, int flags): + * if flags & PyBUF_WRITABLE and self.view.readonly: # <<<<<<<<<<<<<< + * raise ValueError, "Cannot create writable memory view from read-only memoryview" + * + */ + } + + /* "View.MemoryView":526 + * raise ValueError, "Cannot create writable memory view from read-only memoryview" + * + * if flags & PyBUF_ND: # <<<<<<<<<<<<<< + * info.shape = self.view.shape + * else: + */ + __pyx_t_1 = ((__pyx_v_flags & PyBUF_ND) != 0); + if (__pyx_t_1) { + + /* "View.MemoryView":527 + * + * if flags & PyBUF_ND: + * info.shape = self.view.shape # <<<<<<<<<<<<<< + * else: + * info.shape = NULL + */ + __pyx_t_3 = __pyx_v_self->view.shape; + __pyx_v_info->shape = __pyx_t_3; + + /* "View.MemoryView":526 + * raise ValueError, "Cannot create writable memory view from read-only memoryview" + * + * if flags & PyBUF_ND: # <<<<<<<<<<<<<< + * info.shape = self.view.shape + * else: + */ + goto __pyx_L6; + } + + /* "View.MemoryView":529 + * info.shape = self.view.shape + * else: + * info.shape = NULL # <<<<<<<<<<<<<< + * + * if flags & PyBUF_STRIDES: + */ + /*else*/ { + __pyx_v_info->shape = NULL; + } + __pyx_L6:; + + /* "View.MemoryView":531 + * info.shape = NULL + * + * if flags & PyBUF_STRIDES: # <<<<<<<<<<<<<< + * info.strides = self.view.strides + * else: + */ + __pyx_t_1 = ((__pyx_v_flags & PyBUF_STRIDES) != 0); + if (__pyx_t_1) { + + /* "View.MemoryView":532 + * + * if flags & PyBUF_STRIDES: + * info.strides = self.view.strides # <<<<<<<<<<<<<< + * else: + * info.strides = NULL + */ + __pyx_t_3 = __pyx_v_self->view.strides; + __pyx_v_info->strides = __pyx_t_3; + + /* "View.MemoryView":531 + * info.shape = NULL + * + * if flags & PyBUF_STRIDES: # <<<<<<<<<<<<<< + * info.strides = self.view.strides + * else: + */ + goto __pyx_L7; + } + + /* "View.MemoryView":534 + * info.strides = self.view.strides + * else: + * info.strides = NULL # <<<<<<<<<<<<<< + * + * if flags & PyBUF_INDIRECT: + */ + /*else*/ { + __pyx_v_info->strides = NULL; + } + __pyx_L7:; + + /* "View.MemoryView":536 + * info.strides = NULL + * + * if flags & PyBUF_INDIRECT: # <<<<<<<<<<<<<< + * info.suboffsets = self.view.suboffsets + * else: + */ + __pyx_t_1 = ((__pyx_v_flags & PyBUF_INDIRECT) != 0); + if (__pyx_t_1) { + + /* "View.MemoryView":537 + * + * if flags & PyBUF_INDIRECT: + * info.suboffsets = self.view.suboffsets # <<<<<<<<<<<<<< + * else: + * info.suboffsets = NULL + */ + __pyx_t_3 = __pyx_v_self->view.suboffsets; + __pyx_v_info->suboffsets = __pyx_t_3; + + /* "View.MemoryView":536 + * info.strides = NULL + * + * if flags & PyBUF_INDIRECT: # <<<<<<<<<<<<<< + * info.suboffsets = self.view.suboffsets + * else: + */ + goto __pyx_L8; + } + + /* "View.MemoryView":539 + * info.suboffsets = self.view.suboffsets + * else: + * info.suboffsets = NULL # <<<<<<<<<<<<<< + * + * if flags & PyBUF_FORMAT: + */ + /*else*/ { + __pyx_v_info->suboffsets = NULL; + } + __pyx_L8:; + + /* "View.MemoryView":541 + * info.suboffsets = NULL + * + * if flags & PyBUF_FORMAT: # <<<<<<<<<<<<<< + * info.format = self.view.format + * else: + */ + __pyx_t_1 = ((__pyx_v_flags & PyBUF_FORMAT) != 0); + if (__pyx_t_1) { + + /* "View.MemoryView":542 + * + * if flags & PyBUF_FORMAT: + * info.format = self.view.format # <<<<<<<<<<<<<< + * else: + * info.format = NULL + */ + __pyx_t_4 = __pyx_v_self->view.format; + __pyx_v_info->format = __pyx_t_4; + + /* "View.MemoryView":541 + * info.suboffsets = NULL + * + * if flags & PyBUF_FORMAT: # <<<<<<<<<<<<<< + * info.format = self.view.format + * else: + */ + goto __pyx_L9; + } + + /* "View.MemoryView":544 + * info.format = self.view.format + * else: + * info.format = NULL # <<<<<<<<<<<<<< + * + * info.buf = self.view.buf + */ + /*else*/ { + __pyx_v_info->format = NULL; + } + __pyx_L9:; + + /* "View.MemoryView":546 + * info.format = NULL + * + * info.buf = self.view.buf # <<<<<<<<<<<<<< + * info.ndim = self.view.ndim + * info.itemsize = self.view.itemsize + */ + __pyx_t_5 = __pyx_v_self->view.buf; + __pyx_v_info->buf = __pyx_t_5; + + /* "View.MemoryView":547 + * + * info.buf = self.view.buf + * info.ndim = self.view.ndim # <<<<<<<<<<<<<< + * info.itemsize = self.view.itemsize + * info.len = self.view.len + */ + __pyx_t_6 = __pyx_v_self->view.ndim; + __pyx_v_info->ndim = __pyx_t_6; + + /* "View.MemoryView":548 + * info.buf = self.view.buf + * info.ndim = self.view.ndim + * info.itemsize = self.view.itemsize # <<<<<<<<<<<<<< + * info.len = self.view.len + * info.readonly = self.view.readonly + */ + __pyx_t_7 = __pyx_v_self->view.itemsize; + __pyx_v_info->itemsize = __pyx_t_7; + + /* "View.MemoryView":549 + * info.ndim = self.view.ndim + * info.itemsize = self.view.itemsize + * info.len = self.view.len # <<<<<<<<<<<<<< + * info.readonly = self.view.readonly + * info.obj = self + */ + __pyx_t_7 = __pyx_v_self->view.len; + __pyx_v_info->len = __pyx_t_7; + + /* "View.MemoryView":550 + * info.itemsize = self.view.itemsize + * info.len = self.view.len + * info.readonly = self.view.readonly # <<<<<<<<<<<<<< + * info.obj = self + * + */ + __pyx_t_1 = __pyx_v_self->view.readonly; + __pyx_v_info->readonly = __pyx_t_1; + + /* "View.MemoryView":551 + * info.len = self.view.len + * info.readonly = self.view.readonly + * info.obj = self # <<<<<<<<<<<<<< + * + * + */ + __Pyx_INCREF((PyObject *)__pyx_v_self); + __Pyx_GIVEREF((PyObject *)__pyx_v_self); + __Pyx_GOTREF(__pyx_v_info->obj); + __Pyx_DECREF(__pyx_v_info->obj); + __pyx_v_info->obj = ((PyObject *)__pyx_v_self); + + /* "View.MemoryView":521 + * itemp[i] = c + * + * @cname('getbuffer') # <<<<<<<<<<<<<< + * def __getbuffer__(self, Py_buffer *info, int flags): + * if flags & PyBUF_WRITABLE and self.view.readonly: + */ + + /* function exit code */ + __pyx_r = 0; + goto __pyx_L0; + __pyx_L1_error:; + __Pyx_AddTraceback("View.MemoryView.memoryview.__getbuffer__", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = -1; + if (__pyx_v_info->obj != NULL) { + __Pyx_GOTREF(__pyx_v_info->obj); + __Pyx_DECREF(__pyx_v_info->obj); __pyx_v_info->obj = 0; + } + goto __pyx_L2; + __pyx_L0:; + if (__pyx_v_info->obj == Py_None) { + __Pyx_GOTREF(__pyx_v_info->obj); + __Pyx_DECREF(__pyx_v_info->obj); __pyx_v_info->obj = 0; + } + __pyx_L2:; + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":554 + * + * + * @property # <<<<<<<<<<<<<< + * def T(self): + * cdef _memoryviewslice result = memoryview_copy(self) + */ + +/* Python wrapper */ +static PyObject *__pyx_pw_15View_dot_MemoryView_10memoryview_1T_1__get__(PyObject *__pyx_v_self); /*proto*/ +static PyObject *__pyx_pw_15View_dot_MemoryView_10memoryview_1T_1__get__(PyObject *__pyx_v_self) { + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); + __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs); + __pyx_r = __pyx_pf_15View_dot_MemoryView_10memoryview_1T___get__(((struct __pyx_memoryview_obj *)__pyx_v_self)); + + /* function exit code */ + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_1T___get__(struct __pyx_memoryview_obj *__pyx_v_self) { + struct __pyx_memoryviewslice_obj *__pyx_v_result = 0; + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + int __pyx_t_2; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("__get__", 1); + + /* "View.MemoryView":556 + * @property + * def T(self): + * cdef _memoryviewslice result = memoryview_copy(self) # <<<<<<<<<<<<<< + * transpose_memslice(&result.from_slice) + * return result + */ + __pyx_t_1 = __pyx_memoryview_copy_object(__pyx_v_self); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 556, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_memoryviewslice_type))))) __PYX_ERR(1, 556, __pyx_L1_error) + __pyx_v_result = ((struct __pyx_memoryviewslice_obj *)__pyx_t_1); + __pyx_t_1 = 0; + + /* "View.MemoryView":557 + * def T(self): + * cdef _memoryviewslice result = memoryview_copy(self) + * transpose_memslice(&result.from_slice) # <<<<<<<<<<<<<< + * return result + * + */ + __pyx_t_2 = __pyx_memslice_transpose((&__pyx_v_result->from_slice)); if (unlikely(__pyx_t_2 == ((int)-1))) __PYX_ERR(1, 557, __pyx_L1_error) + + /* "View.MemoryView":558 + * cdef _memoryviewslice result = memoryview_copy(self) + * transpose_memslice(&result.from_slice) + * return result # <<<<<<<<<<<<<< + * + * @property + */ + __Pyx_XDECREF(__pyx_r); + __Pyx_INCREF((PyObject *)__pyx_v_result); + __pyx_r = ((PyObject *)__pyx_v_result); + goto __pyx_L0; + + /* "View.MemoryView":554 + * + * + * @property # <<<<<<<<<<<<<< + * def T(self): + * cdef _memoryviewslice result = memoryview_copy(self) + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_AddTraceback("View.MemoryView.memoryview.T.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __pyx_L0:; + __Pyx_XDECREF((PyObject *)__pyx_v_result); + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":560 + * return result + * + * @property # <<<<<<<<<<<<<< + * def base(self): + * return self._get_base() + */ + +/* Python wrapper */ +static PyObject *__pyx_pw_15View_dot_MemoryView_10memoryview_4base_1__get__(PyObject *__pyx_v_self); /*proto*/ +static PyObject *__pyx_pw_15View_dot_MemoryView_10memoryview_4base_1__get__(PyObject *__pyx_v_self) { + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); + __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs); + __pyx_r = __pyx_pf_15View_dot_MemoryView_10memoryview_4base___get__(((struct __pyx_memoryview_obj *)__pyx_v_self)); + + /* function exit code */ + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4base___get__(struct __pyx_memoryview_obj *__pyx_v_self) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("__get__", 1); + + /* "View.MemoryView":562 + * @property + * def base(self): + * return self._get_base() # <<<<<<<<<<<<<< + * + * cdef _get_base(self): + */ + __Pyx_XDECREF(__pyx_r); + __pyx_t_1 = ((struct __pyx_vtabstruct_memoryview *)__pyx_v_self->__pyx_vtab)->_get_base(__pyx_v_self); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 562, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_r = __pyx_t_1; + __pyx_t_1 = 0; + goto __pyx_L0; + + /* "View.MemoryView":560 + * return result + * + * @property # <<<<<<<<<<<<<< + * def base(self): + * return self._get_base() + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_AddTraceback("View.MemoryView.memoryview.base.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":564 + * return self._get_base() + * + * cdef _get_base(self): # <<<<<<<<<<<<<< + * return self.obj + * + */ + +static PyObject *__pyx_memoryview__get_base(struct __pyx_memoryview_obj *__pyx_v_self) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("_get_base", 1); + + /* "View.MemoryView":565 + * + * cdef _get_base(self): + * return self.obj # <<<<<<<<<<<<<< + * + * @property + */ + __Pyx_XDECREF(__pyx_r); + __Pyx_INCREF(__pyx_v_self->obj); + __pyx_r = __pyx_v_self->obj; + goto __pyx_L0; + + /* "View.MemoryView":564 + * return self._get_base() + * + * cdef _get_base(self): # <<<<<<<<<<<<<< + * return self.obj + * + */ + + /* function exit code */ + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":567 + * return self.obj + * + * @property # <<<<<<<<<<<<<< + * def shape(self): + * return tuple([length for length in self.view.shape[:self.view.ndim]]) + */ + +/* Python wrapper */ +static PyObject *__pyx_pw_15View_dot_MemoryView_10memoryview_5shape_1__get__(PyObject *__pyx_v_self); /*proto*/ +static PyObject *__pyx_pw_15View_dot_MemoryView_10memoryview_5shape_1__get__(PyObject *__pyx_v_self) { + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); + __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs); + __pyx_r = __pyx_pf_15View_dot_MemoryView_10memoryview_5shape___get__(((struct __pyx_memoryview_obj *)__pyx_v_self)); + + /* function exit code */ + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_5shape___get__(struct __pyx_memoryview_obj *__pyx_v_self) { + Py_ssize_t __pyx_7genexpr__pyx_v_length; + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + Py_ssize_t *__pyx_t_2; + Py_ssize_t *__pyx_t_3; + Py_ssize_t *__pyx_t_4; + PyObject *__pyx_t_5 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("__get__", 1); + + /* "View.MemoryView":569 + * @property + * def shape(self): + * return tuple([length for length in self.view.shape[:self.view.ndim]]) # <<<<<<<<<<<<<< + * + * @property + */ + __Pyx_XDECREF(__pyx_r); + { /* enter inner scope */ + __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 569, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_t_3 = (__pyx_v_self->view.shape + __pyx_v_self->view.ndim); + for (__pyx_t_4 = __pyx_v_self->view.shape; __pyx_t_4 < __pyx_t_3; __pyx_t_4++) { + __pyx_t_2 = __pyx_t_4; + __pyx_7genexpr__pyx_v_length = (__pyx_t_2[0]); + __pyx_t_5 = PyInt_FromSsize_t(__pyx_7genexpr__pyx_v_length); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 569, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + if (unlikely(__Pyx_ListComp_Append(__pyx_t_1, (PyObject*)__pyx_t_5))) __PYX_ERR(1, 569, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + } + } /* exit inner scope */ + __pyx_t_5 = PyList_AsTuple(((PyObject*)__pyx_t_1)); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 569, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __pyx_r = __pyx_t_5; + __pyx_t_5 = 0; + goto __pyx_L0; + + /* "View.MemoryView":567 + * return self.obj + * + * @property # <<<<<<<<<<<<<< + * def shape(self): + * return tuple([length for length in self.view.shape[:self.view.ndim]]) + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_5); + __Pyx_AddTraceback("View.MemoryView.memoryview.shape.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":571 + * return tuple([length for length in self.view.shape[:self.view.ndim]]) + * + * @property # <<<<<<<<<<<<<< + * def strides(self): + * if self.view.strides == NULL: + */ + +/* Python wrapper */ +static PyObject *__pyx_pw_15View_dot_MemoryView_10memoryview_7strides_1__get__(PyObject *__pyx_v_self); /*proto*/ +static PyObject *__pyx_pw_15View_dot_MemoryView_10memoryview_7strides_1__get__(PyObject *__pyx_v_self) { + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); + __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs); + __pyx_r = __pyx_pf_15View_dot_MemoryView_10memoryview_7strides___get__(((struct __pyx_memoryview_obj *)__pyx_v_self)); + + /* function exit code */ + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_7strides___get__(struct __pyx_memoryview_obj *__pyx_v_self) { + Py_ssize_t __pyx_8genexpr1__pyx_v_stride; + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + int __pyx_t_1; + PyObject *__pyx_t_2 = NULL; + Py_ssize_t *__pyx_t_3; + Py_ssize_t *__pyx_t_4; + Py_ssize_t *__pyx_t_5; + PyObject *__pyx_t_6 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("__get__", 1); + + /* "View.MemoryView":573 + * @property + * def strides(self): + * if self.view.strides == NULL: # <<<<<<<<<<<<<< + * + * raise ValueError, "Buffer view does not expose strides" + */ + __pyx_t_1 = (__pyx_v_self->view.strides == NULL); + if (unlikely(__pyx_t_1)) { + + /* "View.MemoryView":575 + * if self.view.strides == NULL: + * + * raise ValueError, "Buffer view does not expose strides" # <<<<<<<<<<<<<< + * + * return tuple([stride for stride in self.view.strides[:self.view.ndim]]) + */ + __Pyx_Raise(__pyx_builtin_ValueError, __pyx_kp_s_Buffer_view_does_not_expose_stri, 0, 0); + __PYX_ERR(1, 575, __pyx_L1_error) + + /* "View.MemoryView":573 + * @property + * def strides(self): + * if self.view.strides == NULL: # <<<<<<<<<<<<<< + * + * raise ValueError, "Buffer view does not expose strides" + */ + } + + /* "View.MemoryView":577 + * raise ValueError, "Buffer view does not expose strides" + * + * return tuple([stride for stride in self.view.strides[:self.view.ndim]]) # <<<<<<<<<<<<<< + * + * @property + */ + __Pyx_XDECREF(__pyx_r); + { /* enter inner scope */ + __pyx_t_2 = PyList_New(0); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 577, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_4 = (__pyx_v_self->view.strides + __pyx_v_self->view.ndim); + for (__pyx_t_5 = __pyx_v_self->view.strides; __pyx_t_5 < __pyx_t_4; __pyx_t_5++) { + __pyx_t_3 = __pyx_t_5; + __pyx_8genexpr1__pyx_v_stride = (__pyx_t_3[0]); + __pyx_t_6 = PyInt_FromSsize_t(__pyx_8genexpr1__pyx_v_stride); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 577, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + if (unlikely(__Pyx_ListComp_Append(__pyx_t_2, (PyObject*)__pyx_t_6))) __PYX_ERR(1, 577, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + } + } /* exit inner scope */ + __pyx_t_6 = PyList_AsTuple(((PyObject*)__pyx_t_2)); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 577, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_r = __pyx_t_6; + __pyx_t_6 = 0; + goto __pyx_L0; + + /* "View.MemoryView":571 + * return tuple([length for length in self.view.shape[:self.view.ndim]]) + * + * @property # <<<<<<<<<<<<<< + * def strides(self): + * if self.view.strides == NULL: + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_2); + __Pyx_XDECREF(__pyx_t_6); + __Pyx_AddTraceback("View.MemoryView.memoryview.strides.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":579 + * return tuple([stride for stride in self.view.strides[:self.view.ndim]]) + * + * @property # <<<<<<<<<<<<<< + * def suboffsets(self): + * if self.view.suboffsets == NULL: + */ + +/* Python wrapper */ +static PyObject *__pyx_pw_15View_dot_MemoryView_10memoryview_10suboffsets_1__get__(PyObject *__pyx_v_self); /*proto*/ +static PyObject *__pyx_pw_15View_dot_MemoryView_10memoryview_10suboffsets_1__get__(PyObject *__pyx_v_self) { + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); + __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs); + __pyx_r = __pyx_pf_15View_dot_MemoryView_10memoryview_10suboffsets___get__(((struct __pyx_memoryview_obj *)__pyx_v_self)); + + /* function exit code */ + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_10suboffsets___get__(struct __pyx_memoryview_obj *__pyx_v_self) { + Py_ssize_t __pyx_8genexpr2__pyx_v_suboffset; + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + int __pyx_t_1; + PyObject *__pyx_t_2 = NULL; + Py_ssize_t *__pyx_t_3; + Py_ssize_t *__pyx_t_4; + Py_ssize_t *__pyx_t_5; + PyObject *__pyx_t_6 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("__get__", 1); + + /* "View.MemoryView":581 + * @property + * def suboffsets(self): + * if self.view.suboffsets == NULL: # <<<<<<<<<<<<<< + * return (-1,) * self.view.ndim + * + */ + __pyx_t_1 = (__pyx_v_self->view.suboffsets == NULL); + if (__pyx_t_1) { + + /* "View.MemoryView":582 + * def suboffsets(self): + * if self.view.suboffsets == NULL: + * return (-1,) * self.view.ndim # <<<<<<<<<<<<<< + * + * return tuple([suboffset for suboffset in self.view.suboffsets[:self.view.ndim]]) + */ + __Pyx_XDECREF(__pyx_r); + __pyx_t_2 = __Pyx_PySequence_Multiply(__pyx_tuple__4, __pyx_v_self->view.ndim); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 582, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + + /* "View.MemoryView":581 + * @property + * def suboffsets(self): + * if self.view.suboffsets == NULL: # <<<<<<<<<<<<<< + * return (-1,) * self.view.ndim + * + */ + } + + /* "View.MemoryView":584 + * return (-1,) * self.view.ndim + * + * return tuple([suboffset for suboffset in self.view.suboffsets[:self.view.ndim]]) # <<<<<<<<<<<<<< + * + * @property + */ + __Pyx_XDECREF(__pyx_r); + { /* enter inner scope */ + __pyx_t_2 = PyList_New(0); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 584, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_4 = (__pyx_v_self->view.suboffsets + __pyx_v_self->view.ndim); + for (__pyx_t_5 = __pyx_v_self->view.suboffsets; __pyx_t_5 < __pyx_t_4; __pyx_t_5++) { + __pyx_t_3 = __pyx_t_5; + __pyx_8genexpr2__pyx_v_suboffset = (__pyx_t_3[0]); + __pyx_t_6 = PyInt_FromSsize_t(__pyx_8genexpr2__pyx_v_suboffset); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 584, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + if (unlikely(__Pyx_ListComp_Append(__pyx_t_2, (PyObject*)__pyx_t_6))) __PYX_ERR(1, 584, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + } + } /* exit inner scope */ + __pyx_t_6 = PyList_AsTuple(((PyObject*)__pyx_t_2)); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 584, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_r = __pyx_t_6; + __pyx_t_6 = 0; + goto __pyx_L0; + + /* "View.MemoryView":579 + * return tuple([stride for stride in self.view.strides[:self.view.ndim]]) + * + * @property # <<<<<<<<<<<<<< + * def suboffsets(self): + * if self.view.suboffsets == NULL: + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_2); + __Pyx_XDECREF(__pyx_t_6); + __Pyx_AddTraceback("View.MemoryView.memoryview.suboffsets.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":586 + * return tuple([suboffset for suboffset in self.view.suboffsets[:self.view.ndim]]) + * + * @property # <<<<<<<<<<<<<< + * def ndim(self): + * return self.view.ndim + */ + +/* Python wrapper */ +static PyObject *__pyx_pw_15View_dot_MemoryView_10memoryview_4ndim_1__get__(PyObject *__pyx_v_self); /*proto*/ +static PyObject *__pyx_pw_15View_dot_MemoryView_10memoryview_4ndim_1__get__(PyObject *__pyx_v_self) { + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); + __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs); + __pyx_r = __pyx_pf_15View_dot_MemoryView_10memoryview_4ndim___get__(((struct __pyx_memoryview_obj *)__pyx_v_self)); + + /* function exit code */ + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4ndim___get__(struct __pyx_memoryview_obj *__pyx_v_self) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("__get__", 1); + + /* "View.MemoryView":588 + * @property + * def ndim(self): + * return self.view.ndim # <<<<<<<<<<<<<< + * + * @property + */ + __Pyx_XDECREF(__pyx_r); + __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_self->view.ndim); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 588, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_r = __pyx_t_1; + __pyx_t_1 = 0; + goto __pyx_L0; + + /* "View.MemoryView":586 + * return tuple([suboffset for suboffset in self.view.suboffsets[:self.view.ndim]]) + * + * @property # <<<<<<<<<<<<<< + * def ndim(self): + * return self.view.ndim + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_AddTraceback("View.MemoryView.memoryview.ndim.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":590 + * return self.view.ndim + * + * @property # <<<<<<<<<<<<<< + * def itemsize(self): + * return self.view.itemsize + */ + +/* Python wrapper */ +static PyObject *__pyx_pw_15View_dot_MemoryView_10memoryview_8itemsize_1__get__(PyObject *__pyx_v_self); /*proto*/ +static PyObject *__pyx_pw_15View_dot_MemoryView_10memoryview_8itemsize_1__get__(PyObject *__pyx_v_self) { + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); + __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs); + __pyx_r = __pyx_pf_15View_dot_MemoryView_10memoryview_8itemsize___get__(((struct __pyx_memoryview_obj *)__pyx_v_self)); + + /* function exit code */ + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_8itemsize___get__(struct __pyx_memoryview_obj *__pyx_v_self) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("__get__", 1); + + /* "View.MemoryView":592 + * @property + * def itemsize(self): + * return self.view.itemsize # <<<<<<<<<<<<<< + * + * @property + */ + __Pyx_XDECREF(__pyx_r); + __pyx_t_1 = PyInt_FromSsize_t(__pyx_v_self->view.itemsize); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 592, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_r = __pyx_t_1; + __pyx_t_1 = 0; + goto __pyx_L0; + + /* "View.MemoryView":590 + * return self.view.ndim + * + * @property # <<<<<<<<<<<<<< + * def itemsize(self): + * return self.view.itemsize + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_AddTraceback("View.MemoryView.memoryview.itemsize.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":594 + * return self.view.itemsize + * + * @property # <<<<<<<<<<<<<< + * def nbytes(self): + * return self.size * self.view.itemsize + */ + +/* Python wrapper */ +static PyObject *__pyx_pw_15View_dot_MemoryView_10memoryview_6nbytes_1__get__(PyObject *__pyx_v_self); /*proto*/ +static PyObject *__pyx_pw_15View_dot_MemoryView_10memoryview_6nbytes_1__get__(PyObject *__pyx_v_self) { + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); + __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs); + __pyx_r = __pyx_pf_15View_dot_MemoryView_10memoryview_6nbytes___get__(((struct __pyx_memoryview_obj *)__pyx_v_self)); + + /* function exit code */ + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_6nbytes___get__(struct __pyx_memoryview_obj *__pyx_v_self) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; + PyObject *__pyx_t_3 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("__get__", 1); + + /* "View.MemoryView":596 + * @property + * def nbytes(self): + * return self.size * self.view.itemsize # <<<<<<<<<<<<<< + * + * @property + */ + __Pyx_XDECREF(__pyx_r); + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_size); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 596, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_t_2 = PyInt_FromSsize_t(__pyx_v_self->view.itemsize); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 596, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_3 = PyNumber_Multiply(__pyx_t_1, __pyx_t_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 596, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_r = __pyx_t_3; + __pyx_t_3 = 0; + goto __pyx_L0; + + /* "View.MemoryView":594 + * return self.view.itemsize + * + * @property # <<<<<<<<<<<<<< + * def nbytes(self): + * return self.size * self.view.itemsize + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_2); + __Pyx_XDECREF(__pyx_t_3); + __Pyx_AddTraceback("View.MemoryView.memoryview.nbytes.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":598 + * return self.size * self.view.itemsize + * + * @property # <<<<<<<<<<<<<< + * def size(self): + * if self._size is None: + */ + +/* Python wrapper */ +static PyObject *__pyx_pw_15View_dot_MemoryView_10memoryview_4size_1__get__(PyObject *__pyx_v_self); /*proto*/ +static PyObject *__pyx_pw_15View_dot_MemoryView_10memoryview_4size_1__get__(PyObject *__pyx_v_self) { + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__get__ (wrapper)", 0); + __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs); + __pyx_r = __pyx_pf_15View_dot_MemoryView_10memoryview_4size___get__(((struct __pyx_memoryview_obj *)__pyx_v_self)); + + /* function exit code */ + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_pf_15View_dot_MemoryView_10memoryview_4size___get__(struct __pyx_memoryview_obj *__pyx_v_self) { + PyObject *__pyx_v_result = NULL; + PyObject *__pyx_v_length = NULL; + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + int __pyx_t_1; + Py_ssize_t *__pyx_t_2; + Py_ssize_t *__pyx_t_3; + Py_ssize_t *__pyx_t_4; + PyObject *__pyx_t_5 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("__get__", 1); + + /* "View.MemoryView":600 + * @property + * def size(self): + * if self._size is None: # <<<<<<<<<<<<<< + * result = 1 + * + */ + __pyx_t_1 = (__pyx_v_self->_size == Py_None); + if (__pyx_t_1) { + + /* "View.MemoryView":601 + * def size(self): + * if self._size is None: + * result = 1 # <<<<<<<<<<<<<< + * + * for length in self.view.shape[:self.view.ndim]: + */ + __Pyx_INCREF(__pyx_int_1); + __pyx_v_result = __pyx_int_1; + + /* "View.MemoryView":603 + * result = 1 + * + * for length in self.view.shape[:self.view.ndim]: # <<<<<<<<<<<<<< + * result *= length + * + */ + __pyx_t_3 = (__pyx_v_self->view.shape + __pyx_v_self->view.ndim); + for (__pyx_t_4 = __pyx_v_self->view.shape; __pyx_t_4 < __pyx_t_3; __pyx_t_4++) { + __pyx_t_2 = __pyx_t_4; + __pyx_t_5 = PyInt_FromSsize_t((__pyx_t_2[0])); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 603, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __Pyx_XDECREF_SET(__pyx_v_length, __pyx_t_5); + __pyx_t_5 = 0; + + /* "View.MemoryView":604 + * + * for length in self.view.shape[:self.view.ndim]: + * result *= length # <<<<<<<<<<<<<< + * + * self._size = result + */ + __pyx_t_5 = PyNumber_InPlaceMultiply(__pyx_v_result, __pyx_v_length); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 604, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __Pyx_DECREF_SET(__pyx_v_result, __pyx_t_5); + __pyx_t_5 = 0; + } + + /* "View.MemoryView":606 + * result *= length + * + * self._size = result # <<<<<<<<<<<<<< + * + * return self._size + */ + __Pyx_INCREF(__pyx_v_result); + __Pyx_GIVEREF(__pyx_v_result); + __Pyx_GOTREF(__pyx_v_self->_size); + __Pyx_DECREF(__pyx_v_self->_size); + __pyx_v_self->_size = __pyx_v_result; + + /* "View.MemoryView":600 + * @property + * def size(self): + * if self._size is None: # <<<<<<<<<<<<<< + * result = 1 + * + */ + } + + /* "View.MemoryView":608 + * self._size = result + * + * return self._size # <<<<<<<<<<<<<< + * + * def __len__(self): + */ + __Pyx_XDECREF(__pyx_r); + __Pyx_INCREF(__pyx_v_self->_size); + __pyx_r = __pyx_v_self->_size; + goto __pyx_L0; + + /* "View.MemoryView":598 + * return self.size * self.view.itemsize + * + * @property # <<<<<<<<<<<<<< + * def size(self): + * if self._size is None: + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_5); + __Pyx_AddTraceback("View.MemoryView.memoryview.size.__get__", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __pyx_L0:; + __Pyx_XDECREF(__pyx_v_result); + __Pyx_XDECREF(__pyx_v_length); + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":610 + * return self._size + * + * def __len__(self): # <<<<<<<<<<<<<< + * if self.view.ndim >= 1: + * return self.view.shape[0] + */ + +/* Python wrapper */ +static Py_ssize_t __pyx_memoryview___len__(PyObject *__pyx_v_self); /*proto*/ +static Py_ssize_t __pyx_memoryview___len__(PyObject *__pyx_v_self) { + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + Py_ssize_t __pyx_r; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__len__ (wrapper)", 0); + __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs); + __pyx_r = __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_10__len__(((struct __pyx_memoryview_obj *)__pyx_v_self)); + + /* function exit code */ + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static Py_ssize_t __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_10__len__(struct __pyx_memoryview_obj *__pyx_v_self) { + Py_ssize_t __pyx_r; + int __pyx_t_1; + + /* "View.MemoryView":611 + * + * def __len__(self): + * if self.view.ndim >= 1: # <<<<<<<<<<<<<< + * return self.view.shape[0] + * + */ + __pyx_t_1 = (__pyx_v_self->view.ndim >= 1); + if (__pyx_t_1) { + + /* "View.MemoryView":612 + * def __len__(self): + * if self.view.ndim >= 1: + * return self.view.shape[0] # <<<<<<<<<<<<<< + * + * return 0 + */ + __pyx_r = (__pyx_v_self->view.shape[0]); + goto __pyx_L0; + + /* "View.MemoryView":611 + * + * def __len__(self): + * if self.view.ndim >= 1: # <<<<<<<<<<<<<< + * return self.view.shape[0] + * + */ + } + + /* "View.MemoryView":614 + * return self.view.shape[0] + * + * return 0 # <<<<<<<<<<<<<< + * + * def __repr__(self): + */ + __pyx_r = 0; + goto __pyx_L0; + + /* "View.MemoryView":610 + * return self._size + * + * def __len__(self): # <<<<<<<<<<<<<< + * if self.view.ndim >= 1: + * return self.view.shape[0] + */ + + /* function exit code */ + __pyx_L0:; + return __pyx_r; +} + +/* "View.MemoryView":616 + * return 0 + * + * def __repr__(self): # <<<<<<<<<<<<<< + * return "" % (self.base.__class__.__name__, + * id(self)) + */ + +/* Python wrapper */ +static PyObject *__pyx_memoryview___repr__(PyObject *__pyx_v_self); /*proto*/ +static PyObject *__pyx_memoryview___repr__(PyObject *__pyx_v_self) { + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__repr__ (wrapper)", 0); + __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs); + __pyx_r = __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_12__repr__(((struct __pyx_memoryview_obj *)__pyx_v_self)); + + /* function exit code */ + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_12__repr__(struct __pyx_memoryview_obj *__pyx_v_self) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; + PyObject *__pyx_t_3 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("__repr__", 1); + + /* "View.MemoryView":617 + * + * def __repr__(self): + * return "" % (self.base.__class__.__name__, # <<<<<<<<<<<<<< + * id(self)) + * + */ + __Pyx_XDECREF(__pyx_r); + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_base); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 617, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_class); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 617, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_name_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 617, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + + /* "View.MemoryView":618 + * def __repr__(self): + * return "" % (self.base.__class__.__name__, + * id(self)) # <<<<<<<<<<<<<< + * + * def __str__(self): + */ + __pyx_t_2 = __Pyx_PyObject_CallOneArg(__pyx_builtin_id, ((PyObject *)__pyx_v_self)); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 618, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + + /* "View.MemoryView":617 + * + * def __repr__(self): + * return "" % (self.base.__class__.__name__, # <<<<<<<<<<<<<< + * id(self)) + * + */ + __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 617, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_GIVEREF(__pyx_t_1); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_1)) __PYX_ERR(1, 617, __pyx_L1_error); + __Pyx_GIVEREF(__pyx_t_2); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_2)) __PYX_ERR(1, 617, __pyx_L1_error); + __pyx_t_1 = 0; + __pyx_t_2 = 0; + __pyx_t_2 = __Pyx_PyString_Format(__pyx_kp_s_MemoryView_of_r_at_0x_x, __pyx_t_3); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 617, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + + /* "View.MemoryView":616 + * return 0 + * + * def __repr__(self): # <<<<<<<<<<<<<< + * return "" % (self.base.__class__.__name__, + * id(self)) + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_2); + __Pyx_XDECREF(__pyx_t_3); + __Pyx_AddTraceback("View.MemoryView.memoryview.__repr__", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":620 + * id(self)) + * + * def __str__(self): # <<<<<<<<<<<<<< + * return "" % (self.base.__class__.__name__,) + * + */ + +/* Python wrapper */ +static PyObject *__pyx_memoryview___str__(PyObject *__pyx_v_self); /*proto*/ +static PyObject *__pyx_memoryview___str__(PyObject *__pyx_v_self) { + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__str__ (wrapper)", 0); + __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs); + __pyx_r = __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_14__str__(((struct __pyx_memoryview_obj *)__pyx_v_self)); + + /* function exit code */ + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_14__str__(struct __pyx_memoryview_obj *__pyx_v_self) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("__str__", 1); + + /* "View.MemoryView":621 + * + * def __str__(self): + * return "" % (self.base.__class__.__name__,) # <<<<<<<<<<<<<< + * + * + */ + __Pyx_XDECREF(__pyx_r); + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v_self), __pyx_n_s_base); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 621, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_class); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 621, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_name_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 621, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_2 = PyTuple_New(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 621, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_GIVEREF(__pyx_t_1); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_1)) __PYX_ERR(1, 621, __pyx_L1_error); + __pyx_t_1 = 0; + __pyx_t_1 = __Pyx_PyString_Format(__pyx_kp_s_MemoryView_of_r_object, __pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 621, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_r = __pyx_t_1; + __pyx_t_1 = 0; + goto __pyx_L0; + + /* "View.MemoryView":620 + * id(self)) + * + * def __str__(self): # <<<<<<<<<<<<<< + * return "" % (self.base.__class__.__name__,) + * + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_2); + __Pyx_AddTraceback("View.MemoryView.memoryview.__str__", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":624 + * + * + * def is_c_contig(self): # <<<<<<<<<<<<<< + * cdef __Pyx_memviewslice *mslice + * cdef __Pyx_memviewslice tmp + */ + +/* Python wrapper */ +static PyObject *__pyx_memoryview_is_c_contig(PyObject *__pyx_v_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static PyObject *__pyx_memoryview_is_c_contig(PyObject *__pyx_v_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +) { + #if !CYTHON_METH_FASTCALL + CYTHON_UNUSED Py_ssize_t __pyx_nargs; + #endif + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("is_c_contig (wrapper)", 0); + #if !CYTHON_METH_FASTCALL + #if CYTHON_ASSUME_SAFE_MACROS + __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); + #else + __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL; + #endif + #endif + __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs); + if (unlikely(__pyx_nargs > 0)) { + __Pyx_RaiseArgtupleInvalid("is_c_contig", 1, 0, 0, __pyx_nargs); return NULL;} + if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "is_c_contig", 0))) return NULL; + __pyx_r = __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_16is_c_contig(((struct __pyx_memoryview_obj *)__pyx_v_self)); + + /* function exit code */ + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_16is_c_contig(struct __pyx_memoryview_obj *__pyx_v_self) { + __Pyx_memviewslice *__pyx_v_mslice; + __Pyx_memviewslice __pyx_v_tmp; + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + __Pyx_memviewslice *__pyx_t_1; + PyObject *__pyx_t_2 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("is_c_contig", 1); + + /* "View.MemoryView":627 + * cdef __Pyx_memviewslice *mslice + * cdef __Pyx_memviewslice tmp + * mslice = get_slice_from_memview(self, &tmp) # <<<<<<<<<<<<<< + * return slice_is_contig(mslice[0], 'C', self.view.ndim) + * + */ + __pyx_t_1 = __pyx_memoryview_get_slice_from_memoryview(__pyx_v_self, (&__pyx_v_tmp)); if (unlikely(__pyx_t_1 == ((__Pyx_memviewslice *)NULL))) __PYX_ERR(1, 627, __pyx_L1_error) + __pyx_v_mslice = __pyx_t_1; + + /* "View.MemoryView":628 + * cdef __Pyx_memviewslice tmp + * mslice = get_slice_from_memview(self, &tmp) + * return slice_is_contig(mslice[0], 'C', self.view.ndim) # <<<<<<<<<<<<<< + * + * def is_f_contig(self): + */ + __Pyx_XDECREF(__pyx_r); + __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_memviewslice_is_contig((__pyx_v_mslice[0]), 'C', __pyx_v_self->view.ndim)); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 628, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + + /* "View.MemoryView":624 + * + * + * def is_c_contig(self): # <<<<<<<<<<<<<< + * cdef __Pyx_memviewslice *mslice + * cdef __Pyx_memviewslice tmp + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_2); + __Pyx_AddTraceback("View.MemoryView.memoryview.is_c_contig", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":630 + * return slice_is_contig(mslice[0], 'C', self.view.ndim) + * + * def is_f_contig(self): # <<<<<<<<<<<<<< + * cdef __Pyx_memviewslice *mslice + * cdef __Pyx_memviewslice tmp + */ + +/* Python wrapper */ +static PyObject *__pyx_memoryview_is_f_contig(PyObject *__pyx_v_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static PyObject *__pyx_memoryview_is_f_contig(PyObject *__pyx_v_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +) { + #if !CYTHON_METH_FASTCALL + CYTHON_UNUSED Py_ssize_t __pyx_nargs; + #endif + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("is_f_contig (wrapper)", 0); + #if !CYTHON_METH_FASTCALL + #if CYTHON_ASSUME_SAFE_MACROS + __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); + #else + __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL; + #endif + #endif + __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs); + if (unlikely(__pyx_nargs > 0)) { + __Pyx_RaiseArgtupleInvalid("is_f_contig", 1, 0, 0, __pyx_nargs); return NULL;} + if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "is_f_contig", 0))) return NULL; + __pyx_r = __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_18is_f_contig(((struct __pyx_memoryview_obj *)__pyx_v_self)); + + /* function exit code */ + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_18is_f_contig(struct __pyx_memoryview_obj *__pyx_v_self) { + __Pyx_memviewslice *__pyx_v_mslice; + __Pyx_memviewslice __pyx_v_tmp; + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + __Pyx_memviewslice *__pyx_t_1; + PyObject *__pyx_t_2 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("is_f_contig", 1); + + /* "View.MemoryView":633 + * cdef __Pyx_memviewslice *mslice + * cdef __Pyx_memviewslice tmp + * mslice = get_slice_from_memview(self, &tmp) # <<<<<<<<<<<<<< + * return slice_is_contig(mslice[0], 'F', self.view.ndim) + * + */ + __pyx_t_1 = __pyx_memoryview_get_slice_from_memoryview(__pyx_v_self, (&__pyx_v_tmp)); if (unlikely(__pyx_t_1 == ((__Pyx_memviewslice *)NULL))) __PYX_ERR(1, 633, __pyx_L1_error) + __pyx_v_mslice = __pyx_t_1; + + /* "View.MemoryView":634 + * cdef __Pyx_memviewslice tmp + * mslice = get_slice_from_memview(self, &tmp) + * return slice_is_contig(mslice[0], 'F', self.view.ndim) # <<<<<<<<<<<<<< + * + * def copy(self): + */ + __Pyx_XDECREF(__pyx_r); + __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_memviewslice_is_contig((__pyx_v_mslice[0]), 'F', __pyx_v_self->view.ndim)); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 634, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + + /* "View.MemoryView":630 + * return slice_is_contig(mslice[0], 'C', self.view.ndim) + * + * def is_f_contig(self): # <<<<<<<<<<<<<< + * cdef __Pyx_memviewslice *mslice + * cdef __Pyx_memviewslice tmp + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_2); + __Pyx_AddTraceback("View.MemoryView.memoryview.is_f_contig", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":636 + * return slice_is_contig(mslice[0], 'F', self.view.ndim) + * + * def copy(self): # <<<<<<<<<<<<<< + * cdef __Pyx_memviewslice mslice + * cdef int flags = self.flags & ~PyBUF_F_CONTIGUOUS + */ + +/* Python wrapper */ +static PyObject *__pyx_memoryview_copy(PyObject *__pyx_v_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static PyObject *__pyx_memoryview_copy(PyObject *__pyx_v_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +) { + #if !CYTHON_METH_FASTCALL + CYTHON_UNUSED Py_ssize_t __pyx_nargs; + #endif + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("copy (wrapper)", 0); + #if !CYTHON_METH_FASTCALL + #if CYTHON_ASSUME_SAFE_MACROS + __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); + #else + __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL; + #endif + #endif + __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs); + if (unlikely(__pyx_nargs > 0)) { + __Pyx_RaiseArgtupleInvalid("copy", 1, 0, 0, __pyx_nargs); return NULL;} + if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "copy", 0))) return NULL; + __pyx_r = __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_20copy(((struct __pyx_memoryview_obj *)__pyx_v_self)); + + /* function exit code */ + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_20copy(struct __pyx_memoryview_obj *__pyx_v_self) { + __Pyx_memviewslice __pyx_v_mslice; + int __pyx_v_flags; + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + __Pyx_memviewslice __pyx_t_1; + PyObject *__pyx_t_2 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("copy", 1); + + /* "View.MemoryView":638 + * def copy(self): + * cdef __Pyx_memviewslice mslice + * cdef int flags = self.flags & ~PyBUF_F_CONTIGUOUS # <<<<<<<<<<<<<< + * + * slice_copy(self, &mslice) + */ + __pyx_v_flags = (__pyx_v_self->flags & (~PyBUF_F_CONTIGUOUS)); + + /* "View.MemoryView":640 + * cdef int flags = self.flags & ~PyBUF_F_CONTIGUOUS + * + * slice_copy(self, &mslice) # <<<<<<<<<<<<<< + * mslice = slice_copy_contig(&mslice, "c", self.view.ndim, + * self.view.itemsize, + */ + __pyx_memoryview_slice_copy(__pyx_v_self, (&__pyx_v_mslice)); + + /* "View.MemoryView":641 + * + * slice_copy(self, &mslice) + * mslice = slice_copy_contig(&mslice, "c", self.view.ndim, # <<<<<<<<<<<<<< + * self.view.itemsize, + * flags|PyBUF_C_CONTIGUOUS, + */ + __pyx_t_1 = __pyx_memoryview_copy_new_contig((&__pyx_v_mslice), ((char *)"c"), __pyx_v_self->view.ndim, __pyx_v_self->view.itemsize, (__pyx_v_flags | PyBUF_C_CONTIGUOUS), __pyx_v_self->dtype_is_object); if (unlikely(PyErr_Occurred())) __PYX_ERR(1, 641, __pyx_L1_error) + __pyx_v_mslice = __pyx_t_1; + + /* "View.MemoryView":646 + * self.dtype_is_object) + * + * return memoryview_copy_from_slice(self, &mslice) # <<<<<<<<<<<<<< + * + * def copy_fortran(self): + */ + __Pyx_XDECREF(__pyx_r); + __pyx_t_2 = __pyx_memoryview_copy_object_from_slice(__pyx_v_self, (&__pyx_v_mslice)); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 646, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + + /* "View.MemoryView":636 + * return slice_is_contig(mslice[0], 'F', self.view.ndim) + * + * def copy(self): # <<<<<<<<<<<<<< + * cdef __Pyx_memviewslice mslice + * cdef int flags = self.flags & ~PyBUF_F_CONTIGUOUS + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_2); + __Pyx_AddTraceback("View.MemoryView.memoryview.copy", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":648 + * return memoryview_copy_from_slice(self, &mslice) + * + * def copy_fortran(self): # <<<<<<<<<<<<<< + * cdef __Pyx_memviewslice src, dst + * cdef int flags = self.flags & ~PyBUF_C_CONTIGUOUS + */ + +/* Python wrapper */ +static PyObject *__pyx_memoryview_copy_fortran(PyObject *__pyx_v_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static PyObject *__pyx_memoryview_copy_fortran(PyObject *__pyx_v_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +) { + #if !CYTHON_METH_FASTCALL + CYTHON_UNUSED Py_ssize_t __pyx_nargs; + #endif + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("copy_fortran (wrapper)", 0); + #if !CYTHON_METH_FASTCALL + #if CYTHON_ASSUME_SAFE_MACROS + __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); + #else + __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL; + #endif + #endif + __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs); + if (unlikely(__pyx_nargs > 0)) { + __Pyx_RaiseArgtupleInvalid("copy_fortran", 1, 0, 0, __pyx_nargs); return NULL;} + if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "copy_fortran", 0))) return NULL; + __pyx_r = __pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_22copy_fortran(((struct __pyx_memoryview_obj *)__pyx_v_self)); + + /* function exit code */ + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_memoryview___pyx_pf_15View_dot_MemoryView_10memoryview_22copy_fortran(struct __pyx_memoryview_obj *__pyx_v_self) { + __Pyx_memviewslice __pyx_v_src; + __Pyx_memviewslice __pyx_v_dst; + int __pyx_v_flags; + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + __Pyx_memviewslice __pyx_t_1; + PyObject *__pyx_t_2 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("copy_fortran", 1); + + /* "View.MemoryView":650 + * def copy_fortran(self): + * cdef __Pyx_memviewslice src, dst + * cdef int flags = self.flags & ~PyBUF_C_CONTIGUOUS # <<<<<<<<<<<<<< + * + * slice_copy(self, &src) + */ + __pyx_v_flags = (__pyx_v_self->flags & (~PyBUF_C_CONTIGUOUS)); + + /* "View.MemoryView":652 + * cdef int flags = self.flags & ~PyBUF_C_CONTIGUOUS + * + * slice_copy(self, &src) # <<<<<<<<<<<<<< + * dst = slice_copy_contig(&src, "fortran", self.view.ndim, + * self.view.itemsize, + */ + __pyx_memoryview_slice_copy(__pyx_v_self, (&__pyx_v_src)); + + /* "View.MemoryView":653 + * + * slice_copy(self, &src) + * dst = slice_copy_contig(&src, "fortran", self.view.ndim, # <<<<<<<<<<<<<< + * self.view.itemsize, + * flags|PyBUF_F_CONTIGUOUS, + */ + __pyx_t_1 = __pyx_memoryview_copy_new_contig((&__pyx_v_src), ((char *)"fortran"), __pyx_v_self->view.ndim, __pyx_v_self->view.itemsize, (__pyx_v_flags | PyBUF_F_CONTIGUOUS), __pyx_v_self->dtype_is_object); if (unlikely(PyErr_Occurred())) __PYX_ERR(1, 653, __pyx_L1_error) + __pyx_v_dst = __pyx_t_1; + + /* "View.MemoryView":658 + * self.dtype_is_object) + * + * return memoryview_copy_from_slice(self, &dst) # <<<<<<<<<<<<<< + * + * + */ + __Pyx_XDECREF(__pyx_r); + __pyx_t_2 = __pyx_memoryview_copy_object_from_slice(__pyx_v_self, (&__pyx_v_dst)); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 658, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + + /* "View.MemoryView":648 + * return memoryview_copy_from_slice(self, &mslice) + * + * def copy_fortran(self): # <<<<<<<<<<<<<< + * cdef __Pyx_memviewslice src, dst + * cdef int flags = self.flags & ~PyBUF_C_CONTIGUOUS + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_2); + __Pyx_AddTraceback("View.MemoryView.memoryview.copy_fortran", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "(tree fragment)":1 + * def __reduce_cython__(self): # <<<<<<<<<<<<<< + * raise TypeError, "no default __reduce__ due to non-trivial __cinit__" + * def __setstate_cython__(self, __pyx_state): + */ + +/* Python wrapper */ +static PyObject *__pyx_pw___pyx_memoryview_1__reduce_cython__(PyObject *__pyx_v_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static PyObject *__pyx_pw___pyx_memoryview_1__reduce_cython__(PyObject *__pyx_v_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +) { + #if !CYTHON_METH_FASTCALL + CYTHON_UNUSED Py_ssize_t __pyx_nargs; + #endif + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0); + #if !CYTHON_METH_FASTCALL + #if CYTHON_ASSUME_SAFE_MACROS + __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); + #else + __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL; + #endif + #endif + __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs); + if (unlikely(__pyx_nargs > 0)) { + __Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL;} + if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__reduce_cython__", 0))) return NULL; + __pyx_r = __pyx_pf___pyx_memoryview___reduce_cython__(((struct __pyx_memoryview_obj *)__pyx_v_self)); + + /* function exit code */ + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_pf___pyx_memoryview___reduce_cython__(CYTHON_UNUSED struct __pyx_memoryview_obj *__pyx_v_self) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("__reduce_cython__", 1); + + /* "(tree fragment)":2 + * def __reduce_cython__(self): + * raise TypeError, "no default __reduce__ due to non-trivial __cinit__" # <<<<<<<<<<<<<< + * def __setstate_cython__(self, __pyx_state): + * raise TypeError, "no default __reduce__ due to non-trivial __cinit__" + */ + __Pyx_Raise(__pyx_builtin_TypeError, __pyx_kp_s_no_default___reduce___due_to_non, 0, 0); + __PYX_ERR(1, 2, __pyx_L1_error) + + /* "(tree fragment)":1 + * def __reduce_cython__(self): # <<<<<<<<<<<<<< + * raise TypeError, "no default __reduce__ due to non-trivial __cinit__" + * def __setstate_cython__(self, __pyx_state): + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_AddTraceback("View.MemoryView.memoryview.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "(tree fragment)":3 + * def __reduce_cython__(self): + * raise TypeError, "no default __reduce__ due to non-trivial __cinit__" + * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< + * raise TypeError, "no default __reduce__ due to non-trivial __cinit__" + */ + +/* Python wrapper */ +static PyObject *__pyx_pw___pyx_memoryview_3__setstate_cython__(PyObject *__pyx_v_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static PyObject *__pyx_pw___pyx_memoryview_3__setstate_cython__(PyObject *__pyx_v_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +) { + CYTHON_UNUSED PyObject *__pyx_v___pyx_state = 0; + #if !CYTHON_METH_FASTCALL + CYTHON_UNUSED Py_ssize_t __pyx_nargs; + #endif + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject* values[1] = {0}; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0); + #if !CYTHON_METH_FASTCALL + #if CYTHON_ASSUME_SAFE_MACROS + __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); + #else + __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL; + #endif + #endif + __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs); + { + PyObject **__pyx_pyargnames[] = {&__pyx_n_s_pyx_state,0}; + if (__pyx_kwds) { + Py_ssize_t kw_args; + switch (__pyx_nargs) { + case 1: values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); + CYTHON_FALLTHROUGH; + case 0: break; + default: goto __pyx_L5_argtuple_error; + } + kw_args = __Pyx_NumKwargs_FASTCALL(__pyx_kwds); + switch (__pyx_nargs) { + case 0: + if (likely((values[0] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_pyx_state)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[0]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(1, 3, __pyx_L3_error) + else goto __pyx_L5_argtuple_error; + } + if (unlikely(kw_args > 0)) { + const Py_ssize_t kwd_pos_args = __pyx_nargs; + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "__setstate_cython__") < 0)) __PYX_ERR(1, 3, __pyx_L3_error) + } + } else if (unlikely(__pyx_nargs != 1)) { + goto __pyx_L5_argtuple_error; + } else { + values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); + } + __pyx_v___pyx_state = values[0]; + } + goto __pyx_L6_skip; + __pyx_L5_argtuple_error:; + __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 3, __pyx_L3_error) + __pyx_L6_skip:; + goto __pyx_L4_argument_unpacking_done; + __pyx_L3_error:; + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]); + } + } + __Pyx_AddTraceback("View.MemoryView.memoryview.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename); + __Pyx_RefNannyFinishContext(); + return NULL; + __pyx_L4_argument_unpacking_done:; + __pyx_r = __pyx_pf___pyx_memoryview_2__setstate_cython__(((struct __pyx_memoryview_obj *)__pyx_v_self), __pyx_v___pyx_state); + + /* function exit code */ + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]); + } + } + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_pf___pyx_memoryview_2__setstate_cython__(CYTHON_UNUSED struct __pyx_memoryview_obj *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("__setstate_cython__", 1); + + /* "(tree fragment)":4 + * raise TypeError, "no default __reduce__ due to non-trivial __cinit__" + * def __setstate_cython__(self, __pyx_state): + * raise TypeError, "no default __reduce__ due to non-trivial __cinit__" # <<<<<<<<<<<<<< + */ + __Pyx_Raise(__pyx_builtin_TypeError, __pyx_kp_s_no_default___reduce___due_to_non, 0, 0); + __PYX_ERR(1, 4, __pyx_L1_error) + + /* "(tree fragment)":3 + * def __reduce_cython__(self): + * raise TypeError, "no default __reduce__ due to non-trivial __cinit__" + * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< + * raise TypeError, "no default __reduce__ due to non-trivial __cinit__" + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_AddTraceback("View.MemoryView.memoryview.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":662 + * + * @cname('__pyx_memoryview_new') + * cdef memoryview_cwrapper(object o, int flags, bint dtype_is_object, __Pyx_TypeInfo *typeinfo): # <<<<<<<<<<<<<< + * cdef memoryview result = memoryview(o, flags, dtype_is_object) + * result.typeinfo = typeinfo + */ + +static PyObject *__pyx_memoryview_new(PyObject *__pyx_v_o, int __pyx_v_flags, int __pyx_v_dtype_is_object, __Pyx_TypeInfo *__pyx_v_typeinfo) { + struct __pyx_memoryview_obj *__pyx_v_result = 0; + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; + PyObject *__pyx_t_3 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("memoryview_cwrapper", 1); + + /* "View.MemoryView":663 + * @cname('__pyx_memoryview_new') + * cdef memoryview_cwrapper(object o, int flags, bint dtype_is_object, __Pyx_TypeInfo *typeinfo): + * cdef memoryview result = memoryview(o, flags, dtype_is_object) # <<<<<<<<<<<<<< + * result.typeinfo = typeinfo + * return result + */ + __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_flags); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 663, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_v_dtype_is_object); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 663, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 663, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_INCREF(__pyx_v_o); + __Pyx_GIVEREF(__pyx_v_o); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_o)) __PYX_ERR(1, 663, __pyx_L1_error); + __Pyx_GIVEREF(__pyx_t_1); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_1)) __PYX_ERR(1, 663, __pyx_L1_error); + __Pyx_GIVEREF(__pyx_t_2); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_t_2)) __PYX_ERR(1, 663, __pyx_L1_error); + __pyx_t_1 = 0; + __pyx_t_2 = 0; + __pyx_t_2 = __Pyx_PyObject_Call(((PyObject *)__pyx_memoryview_type), __pyx_t_3, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 663, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_v_result = ((struct __pyx_memoryview_obj *)__pyx_t_2); + __pyx_t_2 = 0; + + /* "View.MemoryView":664 + * cdef memoryview_cwrapper(object o, int flags, bint dtype_is_object, __Pyx_TypeInfo *typeinfo): + * cdef memoryview result = memoryview(o, flags, dtype_is_object) + * result.typeinfo = typeinfo # <<<<<<<<<<<<<< + * return result + * + */ + __pyx_v_result->typeinfo = __pyx_v_typeinfo; + + /* "View.MemoryView":665 + * cdef memoryview result = memoryview(o, flags, dtype_is_object) + * result.typeinfo = typeinfo + * return result # <<<<<<<<<<<<<< + * + * @cname('__pyx_memoryview_check') + */ + __Pyx_XDECREF(__pyx_r); + __Pyx_INCREF((PyObject *)__pyx_v_result); + __pyx_r = ((PyObject *)__pyx_v_result); + goto __pyx_L0; + + /* "View.MemoryView":662 + * + * @cname('__pyx_memoryview_new') + * cdef memoryview_cwrapper(object o, int flags, bint dtype_is_object, __Pyx_TypeInfo *typeinfo): # <<<<<<<<<<<<<< + * cdef memoryview result = memoryview(o, flags, dtype_is_object) + * result.typeinfo = typeinfo + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_2); + __Pyx_XDECREF(__pyx_t_3); + __Pyx_AddTraceback("View.MemoryView.memoryview_cwrapper", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = 0; + __pyx_L0:; + __Pyx_XDECREF((PyObject *)__pyx_v_result); + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":668 + * + * @cname('__pyx_memoryview_check') + * cdef inline bint memoryview_check(object o) noexcept: # <<<<<<<<<<<<<< + * return isinstance(o, memoryview) + * + */ + +static CYTHON_INLINE int __pyx_memoryview_check(PyObject *__pyx_v_o) { + int __pyx_r; + int __pyx_t_1; + + /* "View.MemoryView":669 + * @cname('__pyx_memoryview_check') + * cdef inline bint memoryview_check(object o) noexcept: + * return isinstance(o, memoryview) # <<<<<<<<<<<<<< + * + * cdef tuple _unellipsify(object index, int ndim): + */ + __pyx_t_1 = __Pyx_TypeCheck(__pyx_v_o, __pyx_memoryview_type); + __pyx_r = __pyx_t_1; + goto __pyx_L0; + + /* "View.MemoryView":668 + * + * @cname('__pyx_memoryview_check') + * cdef inline bint memoryview_check(object o) noexcept: # <<<<<<<<<<<<<< + * return isinstance(o, memoryview) + * + */ + + /* function exit code */ + __pyx_L0:; + return __pyx_r; +} + +/* "View.MemoryView":671 + * return isinstance(o, memoryview) + * + * cdef tuple _unellipsify(object index, int ndim): # <<<<<<<<<<<<<< + * """ + * Replace all ellipses with full slices and fill incomplete indices with + */ + +static PyObject *_unellipsify(PyObject *__pyx_v_index, int __pyx_v_ndim) { + Py_ssize_t __pyx_v_idx; + PyObject *__pyx_v_tup = NULL; + PyObject *__pyx_v_result = NULL; + int __pyx_v_have_slices; + int __pyx_v_seen_ellipsis; + PyObject *__pyx_v_item = NULL; + Py_ssize_t __pyx_v_nslices; + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + int __pyx_t_2; + PyObject *__pyx_t_3 = NULL; + Py_ssize_t __pyx_t_4; + Py_ssize_t __pyx_t_5; + Py_UCS4 __pyx_t_6; + PyObject *__pyx_t_7 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("_unellipsify", 1); + + /* "View.MemoryView":677 + * """ + * cdef Py_ssize_t idx + * tup = index if isinstance(index, tuple) else (index,) # <<<<<<<<<<<<<< + * + * result = [slice(None)] * ndim + */ + __pyx_t_2 = PyTuple_Check(__pyx_v_index); + if (__pyx_t_2) { + __Pyx_INCREF(((PyObject*)__pyx_v_index)); + __pyx_t_1 = __pyx_v_index; + } else { + __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 677, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_INCREF(__pyx_v_index); + __Pyx_GIVEREF(__pyx_v_index); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_v_index)) __PYX_ERR(1, 677, __pyx_L1_error); + __pyx_t_1 = __pyx_t_3; + __pyx_t_3 = 0; + } + __pyx_v_tup = ((PyObject*)__pyx_t_1); + __pyx_t_1 = 0; + + /* "View.MemoryView":679 + * tup = index if isinstance(index, tuple) else (index,) + * + * result = [slice(None)] * ndim # <<<<<<<<<<<<<< + * have_slices = False + * seen_ellipsis = False + */ + __pyx_t_1 = PyList_New(1 * ((__pyx_v_ndim<0) ? 0:__pyx_v_ndim)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 679, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + { Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < __pyx_v_ndim; __pyx_temp++) { + __Pyx_INCREF(__pyx_slice__5); + __Pyx_GIVEREF(__pyx_slice__5); + if (__Pyx_PyList_SET_ITEM(__pyx_t_1, __pyx_temp, __pyx_slice__5)) __PYX_ERR(1, 679, __pyx_L1_error); + } + } + __pyx_v_result = ((PyObject*)__pyx_t_1); + __pyx_t_1 = 0; + + /* "View.MemoryView":680 + * + * result = [slice(None)] * ndim + * have_slices = False # <<<<<<<<<<<<<< + * seen_ellipsis = False + * idx = 0 + */ + __pyx_v_have_slices = 0; + + /* "View.MemoryView":681 + * result = [slice(None)] * ndim + * have_slices = False + * seen_ellipsis = False # <<<<<<<<<<<<<< + * idx = 0 + * for item in tup: + */ + __pyx_v_seen_ellipsis = 0; + + /* "View.MemoryView":682 + * have_slices = False + * seen_ellipsis = False + * idx = 0 # <<<<<<<<<<<<<< + * for item in tup: + * if item is Ellipsis: + */ + __pyx_v_idx = 0; + + /* "View.MemoryView":683 + * seen_ellipsis = False + * idx = 0 + * for item in tup: # <<<<<<<<<<<<<< + * if item is Ellipsis: + * if not seen_ellipsis: + */ + if (unlikely(__pyx_v_tup == Py_None)) { + PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable"); + __PYX_ERR(1, 683, __pyx_L1_error) + } + __pyx_t_1 = __pyx_v_tup; __Pyx_INCREF(__pyx_t_1); + __pyx_t_4 = 0; + for (;;) { + { + Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_1); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 683, __pyx_L1_error) + #endif + if (__pyx_t_4 >= __pyx_temp) break; + } + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + __pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_4); __Pyx_INCREF(__pyx_t_3); __pyx_t_4++; if (unlikely((0 < 0))) __PYX_ERR(1, 683, __pyx_L1_error) + #else + __pyx_t_3 = __Pyx_PySequence_ITEM(__pyx_t_1, __pyx_t_4); __pyx_t_4++; if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 683, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + #endif + __Pyx_XDECREF_SET(__pyx_v_item, __pyx_t_3); + __pyx_t_3 = 0; + + /* "View.MemoryView":684 + * idx = 0 + * for item in tup: + * if item is Ellipsis: # <<<<<<<<<<<<<< + * if not seen_ellipsis: + * idx += ndim - len(tup) + */ + __pyx_t_2 = (__pyx_v_item == __pyx_builtin_Ellipsis); + if (__pyx_t_2) { + + /* "View.MemoryView":685 + * for item in tup: + * if item is Ellipsis: + * if not seen_ellipsis: # <<<<<<<<<<<<<< + * idx += ndim - len(tup) + * seen_ellipsis = True + */ + __pyx_t_2 = (!__pyx_v_seen_ellipsis); + if (__pyx_t_2) { + + /* "View.MemoryView":686 + * if item is Ellipsis: + * if not seen_ellipsis: + * idx += ndim - len(tup) # <<<<<<<<<<<<<< + * seen_ellipsis = True + * have_slices = True + */ + if (unlikely(__pyx_v_tup == Py_None)) { + PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); + __PYX_ERR(1, 686, __pyx_L1_error) + } + __pyx_t_5 = __Pyx_PyTuple_GET_SIZE(__pyx_v_tup); if (unlikely(__pyx_t_5 == ((Py_ssize_t)-1))) __PYX_ERR(1, 686, __pyx_L1_error) + __pyx_v_idx = (__pyx_v_idx + (__pyx_v_ndim - __pyx_t_5)); + + /* "View.MemoryView":687 + * if not seen_ellipsis: + * idx += ndim - len(tup) + * seen_ellipsis = True # <<<<<<<<<<<<<< + * have_slices = True + * else: + */ + __pyx_v_seen_ellipsis = 1; + + /* "View.MemoryView":685 + * for item in tup: + * if item is Ellipsis: + * if not seen_ellipsis: # <<<<<<<<<<<<<< + * idx += ndim - len(tup) + * seen_ellipsis = True + */ + } + + /* "View.MemoryView":688 + * idx += ndim - len(tup) + * seen_ellipsis = True + * have_slices = True # <<<<<<<<<<<<<< + * else: + * if isinstance(item, slice): + */ + __pyx_v_have_slices = 1; + + /* "View.MemoryView":684 + * idx = 0 + * for item in tup: + * if item is Ellipsis: # <<<<<<<<<<<<<< + * if not seen_ellipsis: + * idx += ndim - len(tup) + */ + goto __pyx_L5; + } + + /* "View.MemoryView":690 + * have_slices = True + * else: + * if isinstance(item, slice): # <<<<<<<<<<<<<< + * have_slices = True + * elif not PyIndex_Check(item): + */ + /*else*/ { + __pyx_t_2 = PySlice_Check(__pyx_v_item); + if (__pyx_t_2) { + + /* "View.MemoryView":691 + * else: + * if isinstance(item, slice): + * have_slices = True # <<<<<<<<<<<<<< + * elif not PyIndex_Check(item): + * raise TypeError, f"Cannot index with type '{type(item)}'" + */ + __pyx_v_have_slices = 1; + + /* "View.MemoryView":690 + * have_slices = True + * else: + * if isinstance(item, slice): # <<<<<<<<<<<<<< + * have_slices = True + * elif not PyIndex_Check(item): + */ + goto __pyx_L7; + } + + /* "View.MemoryView":692 + * if isinstance(item, slice): + * have_slices = True + * elif not PyIndex_Check(item): # <<<<<<<<<<<<<< + * raise TypeError, f"Cannot index with type '{type(item)}'" + * result[idx] = item + */ + __pyx_t_2 = (!(PyIndex_Check(__pyx_v_item) != 0)); + if (unlikely(__pyx_t_2)) { + + /* "View.MemoryView":693 + * have_slices = True + * elif not PyIndex_Check(item): + * raise TypeError, f"Cannot index with type '{type(item)}'" # <<<<<<<<<<<<<< + * result[idx] = item + * idx += 1 + */ + __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 693, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_5 = 0; + __pyx_t_6 = 127; + __Pyx_INCREF(__pyx_kp_u_Cannot_index_with_type); + __pyx_t_5 += 24; + __Pyx_GIVEREF(__pyx_kp_u_Cannot_index_with_type); + PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_kp_u_Cannot_index_with_type); + __pyx_t_7 = __Pyx_PyObject_FormatSimple(((PyObject *)Py_TYPE(__pyx_v_item)), __pyx_empty_unicode); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 693, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + __pyx_t_6 = (__Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_7) > __pyx_t_6) ? __Pyx_PyUnicode_MAX_CHAR_VALUE(__pyx_t_7) : __pyx_t_6; + __pyx_t_5 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_7); + __Pyx_GIVEREF(__pyx_t_7); + PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_7); + __pyx_t_7 = 0; + __Pyx_INCREF(__pyx_kp_u__6); + __pyx_t_5 += 1; + __Pyx_GIVEREF(__pyx_kp_u__6); + PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_kp_u__6); + __pyx_t_7 = __Pyx_PyUnicode_Join(__pyx_t_3, 3, __pyx_t_5, __pyx_t_6); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 693, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __Pyx_Raise(__pyx_builtin_TypeError, __pyx_t_7, 0, 0); + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __PYX_ERR(1, 693, __pyx_L1_error) + + /* "View.MemoryView":692 + * if isinstance(item, slice): + * have_slices = True + * elif not PyIndex_Check(item): # <<<<<<<<<<<<<< + * raise TypeError, f"Cannot index with type '{type(item)}'" + * result[idx] = item + */ + } + __pyx_L7:; + + /* "View.MemoryView":694 + * elif not PyIndex_Check(item): + * raise TypeError, f"Cannot index with type '{type(item)}'" + * result[idx] = item # <<<<<<<<<<<<<< + * idx += 1 + * + */ + if (unlikely((__Pyx_SetItemInt(__pyx_v_result, __pyx_v_idx, __pyx_v_item, Py_ssize_t, 1, PyInt_FromSsize_t, 1, 1, 1) < 0))) __PYX_ERR(1, 694, __pyx_L1_error) + } + __pyx_L5:; + + /* "View.MemoryView":695 + * raise TypeError, f"Cannot index with type '{type(item)}'" + * result[idx] = item + * idx += 1 # <<<<<<<<<<<<<< + * + * nslices = ndim - idx + */ + __pyx_v_idx = (__pyx_v_idx + 1); + + /* "View.MemoryView":683 + * seen_ellipsis = False + * idx = 0 + * for item in tup: # <<<<<<<<<<<<<< + * if item is Ellipsis: + * if not seen_ellipsis: + */ + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + + /* "View.MemoryView":697 + * idx += 1 + * + * nslices = ndim - idx # <<<<<<<<<<<<<< + * return have_slices or nslices, tuple(result) + * + */ + __pyx_v_nslices = (__pyx_v_ndim - __pyx_v_idx); + + /* "View.MemoryView":698 + * + * nslices = ndim - idx + * return have_slices or nslices, tuple(result) # <<<<<<<<<<<<<< + * + * cdef int assert_direct_dimensions(Py_ssize_t *suboffsets, int ndim) except -1: + */ + __Pyx_XDECREF(__pyx_r); + if (!__pyx_v_have_slices) { + } else { + __pyx_t_7 = __Pyx_PyBool_FromLong(__pyx_v_have_slices); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 698, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + __pyx_t_1 = __pyx_t_7; + __pyx_t_7 = 0; + goto __pyx_L9_bool_binop_done; + } + __pyx_t_7 = PyInt_FromSsize_t(__pyx_v_nslices); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 698, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + __pyx_t_1 = __pyx_t_7; + __pyx_t_7 = 0; + __pyx_L9_bool_binop_done:; + __pyx_t_7 = PyList_AsTuple(__pyx_v_result); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 698, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 698, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_GIVEREF(__pyx_t_1); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_1)) __PYX_ERR(1, 698, __pyx_L1_error); + __Pyx_GIVEREF(__pyx_t_7); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_7)) __PYX_ERR(1, 698, __pyx_L1_error); + __pyx_t_1 = 0; + __pyx_t_7 = 0; + __pyx_r = ((PyObject*)__pyx_t_3); + __pyx_t_3 = 0; + goto __pyx_L0; + + /* "View.MemoryView":671 + * return isinstance(o, memoryview) + * + * cdef tuple _unellipsify(object index, int ndim): # <<<<<<<<<<<<<< + * """ + * Replace all ellipses with full slices and fill incomplete indices with + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_3); + __Pyx_XDECREF(__pyx_t_7); + __Pyx_AddTraceback("View.MemoryView._unellipsify", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = 0; + __pyx_L0:; + __Pyx_XDECREF(__pyx_v_tup); + __Pyx_XDECREF(__pyx_v_result); + __Pyx_XDECREF(__pyx_v_item); + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":700 + * return have_slices or nslices, tuple(result) + * + * cdef int assert_direct_dimensions(Py_ssize_t *suboffsets, int ndim) except -1: # <<<<<<<<<<<<<< + * for suboffset in suboffsets[:ndim]: + * if suboffset >= 0: + */ + +static int assert_direct_dimensions(Py_ssize_t *__pyx_v_suboffsets, int __pyx_v_ndim) { + Py_ssize_t __pyx_v_suboffset; + int __pyx_r; + Py_ssize_t *__pyx_t_1; + Py_ssize_t *__pyx_t_2; + Py_ssize_t *__pyx_t_3; + int __pyx_t_4; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + + /* "View.MemoryView":701 + * + * cdef int assert_direct_dimensions(Py_ssize_t *suboffsets, int ndim) except -1: + * for suboffset in suboffsets[:ndim]: # <<<<<<<<<<<<<< + * if suboffset >= 0: + * raise ValueError, "Indirect dimensions not supported" + */ + __pyx_t_2 = (__pyx_v_suboffsets + __pyx_v_ndim); + for (__pyx_t_3 = __pyx_v_suboffsets; __pyx_t_3 < __pyx_t_2; __pyx_t_3++) { + __pyx_t_1 = __pyx_t_3; + __pyx_v_suboffset = (__pyx_t_1[0]); + + /* "View.MemoryView":702 + * cdef int assert_direct_dimensions(Py_ssize_t *suboffsets, int ndim) except -1: + * for suboffset in suboffsets[:ndim]: + * if suboffset >= 0: # <<<<<<<<<<<<<< + * raise ValueError, "Indirect dimensions not supported" + * return 0 # return type just used as an error flag + */ + __pyx_t_4 = (__pyx_v_suboffset >= 0); + if (unlikely(__pyx_t_4)) { + + /* "View.MemoryView":703 + * for suboffset in suboffsets[:ndim]: + * if suboffset >= 0: + * raise ValueError, "Indirect dimensions not supported" # <<<<<<<<<<<<<< + * return 0 # return type just used as an error flag + * + */ + __Pyx_Raise(__pyx_builtin_ValueError, __pyx_kp_s_Indirect_dimensions_not_supporte, 0, 0); + __PYX_ERR(1, 703, __pyx_L1_error) + + /* "View.MemoryView":702 + * cdef int assert_direct_dimensions(Py_ssize_t *suboffsets, int ndim) except -1: + * for suboffset in suboffsets[:ndim]: + * if suboffset >= 0: # <<<<<<<<<<<<<< + * raise ValueError, "Indirect dimensions not supported" + * return 0 # return type just used as an error flag + */ + } + } + + /* "View.MemoryView":704 + * if suboffset >= 0: + * raise ValueError, "Indirect dimensions not supported" + * return 0 # return type just used as an error flag # <<<<<<<<<<<<<< + * + * + */ + __pyx_r = 0; + goto __pyx_L0; + + /* "View.MemoryView":700 + * return have_slices or nslices, tuple(result) + * + * cdef int assert_direct_dimensions(Py_ssize_t *suboffsets, int ndim) except -1: # <<<<<<<<<<<<<< + * for suboffset in suboffsets[:ndim]: + * if suboffset >= 0: + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_AddTraceback("View.MemoryView.assert_direct_dimensions", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = -1; + __pyx_L0:; + return __pyx_r; +} + +/* "View.MemoryView":711 + * + * @cname('__pyx_memview_slice') + * cdef memoryview memview_slice(memoryview memview, object indices): # <<<<<<<<<<<<<< + * cdef int new_ndim = 0, suboffset_dim = -1, dim + * cdef bint negative_step + */ + +static struct __pyx_memoryview_obj *__pyx_memview_slice(struct __pyx_memoryview_obj *__pyx_v_memview, PyObject *__pyx_v_indices) { + int __pyx_v_new_ndim; + int __pyx_v_suboffset_dim; + int __pyx_v_dim; + __Pyx_memviewslice __pyx_v_src; + __Pyx_memviewslice __pyx_v_dst; + __Pyx_memviewslice *__pyx_v_p_src; + struct __pyx_memoryviewslice_obj *__pyx_v_memviewsliceobj = 0; + __Pyx_memviewslice *__pyx_v_p_dst; + int *__pyx_v_p_suboffset_dim; + Py_ssize_t __pyx_v_start; + Py_ssize_t __pyx_v_stop; + Py_ssize_t __pyx_v_step; + Py_ssize_t __pyx_v_cindex; + int __pyx_v_have_start; + int __pyx_v_have_stop; + int __pyx_v_have_step; + PyObject *__pyx_v_index = NULL; + struct __pyx_memoryview_obj *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + int __pyx_t_1; + PyObject *__pyx_t_2 = NULL; + struct __pyx_memoryview_obj *__pyx_t_3; + char *__pyx_t_4; + int __pyx_t_5; + Py_ssize_t __pyx_t_6; + PyObject *(*__pyx_t_7)(PyObject *); + PyObject *__pyx_t_8 = NULL; + Py_ssize_t __pyx_t_9; + int __pyx_t_10; + Py_ssize_t __pyx_t_11; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("memview_slice", 1); + + /* "View.MemoryView":712 + * @cname('__pyx_memview_slice') + * cdef memoryview memview_slice(memoryview memview, object indices): + * cdef int new_ndim = 0, suboffset_dim = -1, dim # <<<<<<<<<<<<<< + * cdef bint negative_step + * cdef __Pyx_memviewslice src, dst + */ + __pyx_v_new_ndim = 0; + __pyx_v_suboffset_dim = -1; + + /* "View.MemoryView":719 + * + * + * memset(&dst, 0, sizeof(dst)) # <<<<<<<<<<<<<< + * + * cdef _memoryviewslice memviewsliceobj + */ + (void)(memset((&__pyx_v_dst), 0, (sizeof(__pyx_v_dst)))); + + /* "View.MemoryView":723 + * cdef _memoryviewslice memviewsliceobj + * + * assert memview.view.ndim > 0 # <<<<<<<<<<<<<< + * + * if isinstance(memview, _memoryviewslice): + */ + #ifndef CYTHON_WITHOUT_ASSERTIONS + if (unlikely(__pyx_assertions_enabled())) { + __pyx_t_1 = (__pyx_v_memview->view.ndim > 0); + if (unlikely(!__pyx_t_1)) { + __Pyx_Raise(__pyx_builtin_AssertionError, 0, 0, 0); + __PYX_ERR(1, 723, __pyx_L1_error) + } + } + #else + if ((1)); else __PYX_ERR(1, 723, __pyx_L1_error) + #endif + + /* "View.MemoryView":725 + * assert memview.view.ndim > 0 + * + * if isinstance(memview, _memoryviewslice): # <<<<<<<<<<<<<< + * memviewsliceobj = memview + * p_src = &memviewsliceobj.from_slice + */ + __pyx_t_1 = __Pyx_TypeCheck(((PyObject *)__pyx_v_memview), __pyx_memoryviewslice_type); + if (__pyx_t_1) { + + /* "View.MemoryView":726 + * + * if isinstance(memview, _memoryviewslice): + * memviewsliceobj = memview # <<<<<<<<<<<<<< + * p_src = &memviewsliceobj.from_slice + * else: + */ + if (!(likely(((((PyObject *)__pyx_v_memview)) == Py_None) || likely(__Pyx_TypeTest(((PyObject *)__pyx_v_memview), __pyx_memoryviewslice_type))))) __PYX_ERR(1, 726, __pyx_L1_error) + __pyx_t_2 = ((PyObject *)__pyx_v_memview); + __Pyx_INCREF(__pyx_t_2); + __pyx_v_memviewsliceobj = ((struct __pyx_memoryviewslice_obj *)__pyx_t_2); + __pyx_t_2 = 0; + + /* "View.MemoryView":727 + * if isinstance(memview, _memoryviewslice): + * memviewsliceobj = memview + * p_src = &memviewsliceobj.from_slice # <<<<<<<<<<<<<< + * else: + * slice_copy(memview, &src) + */ + __pyx_v_p_src = (&__pyx_v_memviewsliceobj->from_slice); + + /* "View.MemoryView":725 + * assert memview.view.ndim > 0 + * + * if isinstance(memview, _memoryviewslice): # <<<<<<<<<<<<<< + * memviewsliceobj = memview + * p_src = &memviewsliceobj.from_slice + */ + goto __pyx_L3; + } + + /* "View.MemoryView":729 + * p_src = &memviewsliceobj.from_slice + * else: + * slice_copy(memview, &src) # <<<<<<<<<<<<<< + * p_src = &src + * + */ + /*else*/ { + __pyx_memoryview_slice_copy(__pyx_v_memview, (&__pyx_v_src)); + + /* "View.MemoryView":730 + * else: + * slice_copy(memview, &src) + * p_src = &src # <<<<<<<<<<<<<< + * + * + */ + __pyx_v_p_src = (&__pyx_v_src); + } + __pyx_L3:; + + /* "View.MemoryView":736 + * + * + * dst.memview = p_src.memview # <<<<<<<<<<<<<< + * dst.data = p_src.data + * + */ + __pyx_t_3 = __pyx_v_p_src->memview; + __pyx_v_dst.memview = __pyx_t_3; + + /* "View.MemoryView":737 + * + * dst.memview = p_src.memview + * dst.data = p_src.data # <<<<<<<<<<<<<< + * + * + */ + __pyx_t_4 = __pyx_v_p_src->data; + __pyx_v_dst.data = __pyx_t_4; + + /* "View.MemoryView":742 + * + * + * cdef __Pyx_memviewslice *p_dst = &dst # <<<<<<<<<<<<<< + * cdef int *p_suboffset_dim = &suboffset_dim + * cdef Py_ssize_t start, stop, step, cindex + */ + __pyx_v_p_dst = (&__pyx_v_dst); + + /* "View.MemoryView":743 + * + * cdef __Pyx_memviewslice *p_dst = &dst + * cdef int *p_suboffset_dim = &suboffset_dim # <<<<<<<<<<<<<< + * cdef Py_ssize_t start, stop, step, cindex + * cdef bint have_start, have_stop, have_step + */ + __pyx_v_p_suboffset_dim = (&__pyx_v_suboffset_dim); + + /* "View.MemoryView":747 + * cdef bint have_start, have_stop, have_step + * + * for dim, index in enumerate(indices): # <<<<<<<<<<<<<< + * if PyIndex_Check(index): + * cindex = index + */ + __pyx_t_5 = 0; + if (likely(PyList_CheckExact(__pyx_v_indices)) || PyTuple_CheckExact(__pyx_v_indices)) { + __pyx_t_2 = __pyx_v_indices; __Pyx_INCREF(__pyx_t_2); + __pyx_t_6 = 0; + __pyx_t_7 = NULL; + } else { + __pyx_t_6 = -1; __pyx_t_2 = PyObject_GetIter(__pyx_v_indices); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 747, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_7 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_2); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 747, __pyx_L1_error) + } + for (;;) { + if (likely(!__pyx_t_7)) { + if (likely(PyList_CheckExact(__pyx_t_2))) { + { + Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_2); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 747, __pyx_L1_error) + #endif + if (__pyx_t_6 >= __pyx_temp) break; + } + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + __pyx_t_8 = PyList_GET_ITEM(__pyx_t_2, __pyx_t_6); __Pyx_INCREF(__pyx_t_8); __pyx_t_6++; if (unlikely((0 < 0))) __PYX_ERR(1, 747, __pyx_L1_error) + #else + __pyx_t_8 = __Pyx_PySequence_ITEM(__pyx_t_2, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 747, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_8); + #endif + } else { + { + Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_2); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely((__pyx_temp < 0))) __PYX_ERR(1, 747, __pyx_L1_error) + #endif + if (__pyx_t_6 >= __pyx_temp) break; + } + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + __pyx_t_8 = PyTuple_GET_ITEM(__pyx_t_2, __pyx_t_6); __Pyx_INCREF(__pyx_t_8); __pyx_t_6++; if (unlikely((0 < 0))) __PYX_ERR(1, 747, __pyx_L1_error) + #else + __pyx_t_8 = __Pyx_PySequence_ITEM(__pyx_t_2, __pyx_t_6); __pyx_t_6++; if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 747, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_8); + #endif + } + } else { + __pyx_t_8 = __pyx_t_7(__pyx_t_2); + if (unlikely(!__pyx_t_8)) { + PyObject* exc_type = PyErr_Occurred(); + if (exc_type) { + if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear(); + else __PYX_ERR(1, 747, __pyx_L1_error) + } + break; + } + __Pyx_GOTREF(__pyx_t_8); + } + __Pyx_XDECREF_SET(__pyx_v_index, __pyx_t_8); + __pyx_t_8 = 0; + __pyx_v_dim = __pyx_t_5; + __pyx_t_5 = (__pyx_t_5 + 1); + + /* "View.MemoryView":748 + * + * for dim, index in enumerate(indices): + * if PyIndex_Check(index): # <<<<<<<<<<<<<< + * cindex = index + * slice_memviewslice( + */ + __pyx_t_1 = (PyIndex_Check(__pyx_v_index) != 0); + if (__pyx_t_1) { + + /* "View.MemoryView":749 + * for dim, index in enumerate(indices): + * if PyIndex_Check(index): + * cindex = index # <<<<<<<<<<<<<< + * slice_memviewslice( + * p_dst, p_src.shape[dim], p_src.strides[dim], p_src.suboffsets[dim], + */ + __pyx_t_9 = __Pyx_PyIndex_AsSsize_t(__pyx_v_index); if (unlikely((__pyx_t_9 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(1, 749, __pyx_L1_error) + __pyx_v_cindex = __pyx_t_9; + + /* "View.MemoryView":750 + * if PyIndex_Check(index): + * cindex = index + * slice_memviewslice( # <<<<<<<<<<<<<< + * p_dst, p_src.shape[dim], p_src.strides[dim], p_src.suboffsets[dim], + * dim, new_ndim, p_suboffset_dim, + */ + __pyx_t_10 = __pyx_memoryview_slice_memviewslice(__pyx_v_p_dst, (__pyx_v_p_src->shape[__pyx_v_dim]), (__pyx_v_p_src->strides[__pyx_v_dim]), (__pyx_v_p_src->suboffsets[__pyx_v_dim]), __pyx_v_dim, __pyx_v_new_ndim, __pyx_v_p_suboffset_dim, __pyx_v_cindex, 0, 0, 0, 0, 0, 0); if (unlikely(__pyx_t_10 == ((int)-1))) __PYX_ERR(1, 750, __pyx_L1_error) + + /* "View.MemoryView":748 + * + * for dim, index in enumerate(indices): + * if PyIndex_Check(index): # <<<<<<<<<<<<<< + * cindex = index + * slice_memviewslice( + */ + goto __pyx_L6; + } + + /* "View.MemoryView":756 + * 0, 0, 0, # have_{start,stop,step} + * False) + * elif index is None: # <<<<<<<<<<<<<< + * p_dst.shape[new_ndim] = 1 + * p_dst.strides[new_ndim] = 0 + */ + __pyx_t_1 = (__pyx_v_index == Py_None); + if (__pyx_t_1) { + + /* "View.MemoryView":757 + * False) + * elif index is None: + * p_dst.shape[new_ndim] = 1 # <<<<<<<<<<<<<< + * p_dst.strides[new_ndim] = 0 + * p_dst.suboffsets[new_ndim] = -1 + */ + (__pyx_v_p_dst->shape[__pyx_v_new_ndim]) = 1; + + /* "View.MemoryView":758 + * elif index is None: + * p_dst.shape[new_ndim] = 1 + * p_dst.strides[new_ndim] = 0 # <<<<<<<<<<<<<< + * p_dst.suboffsets[new_ndim] = -1 + * new_ndim += 1 + */ + (__pyx_v_p_dst->strides[__pyx_v_new_ndim]) = 0; + + /* "View.MemoryView":759 + * p_dst.shape[new_ndim] = 1 + * p_dst.strides[new_ndim] = 0 + * p_dst.suboffsets[new_ndim] = -1 # <<<<<<<<<<<<<< + * new_ndim += 1 + * else: + */ + (__pyx_v_p_dst->suboffsets[__pyx_v_new_ndim]) = -1L; + + /* "View.MemoryView":760 + * p_dst.strides[new_ndim] = 0 + * p_dst.suboffsets[new_ndim] = -1 + * new_ndim += 1 # <<<<<<<<<<<<<< + * else: + * start = index.start or 0 + */ + __pyx_v_new_ndim = (__pyx_v_new_ndim + 1); + + /* "View.MemoryView":756 + * 0, 0, 0, # have_{start,stop,step} + * False) + * elif index is None: # <<<<<<<<<<<<<< + * p_dst.shape[new_ndim] = 1 + * p_dst.strides[new_ndim] = 0 + */ + goto __pyx_L6; + } + + /* "View.MemoryView":762 + * new_ndim += 1 + * else: + * start = index.start or 0 # <<<<<<<<<<<<<< + * stop = index.stop or 0 + * step = index.step or 0 + */ + /*else*/ { + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_index, __pyx_n_s_start); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 762, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_8); + __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_8); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(1, 762, __pyx_L1_error) + if (!__pyx_t_1) { + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + } else { + __pyx_t_11 = __Pyx_PyIndex_AsSsize_t(__pyx_t_8); if (unlikely((__pyx_t_11 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(1, 762, __pyx_L1_error) + __pyx_t_9 = __pyx_t_11; + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + goto __pyx_L7_bool_binop_done; + } + __pyx_t_9 = 0; + __pyx_L7_bool_binop_done:; + __pyx_v_start = __pyx_t_9; + + /* "View.MemoryView":763 + * else: + * start = index.start or 0 + * stop = index.stop or 0 # <<<<<<<<<<<<<< + * step = index.step or 0 + * + */ + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_index, __pyx_n_s_stop); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 763, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_8); + __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_8); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(1, 763, __pyx_L1_error) + if (!__pyx_t_1) { + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + } else { + __pyx_t_11 = __Pyx_PyIndex_AsSsize_t(__pyx_t_8); if (unlikely((__pyx_t_11 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(1, 763, __pyx_L1_error) + __pyx_t_9 = __pyx_t_11; + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + goto __pyx_L9_bool_binop_done; + } + __pyx_t_9 = 0; + __pyx_L9_bool_binop_done:; + __pyx_v_stop = __pyx_t_9; + + /* "View.MemoryView":764 + * start = index.start or 0 + * stop = index.stop or 0 + * step = index.step or 0 # <<<<<<<<<<<<<< + * + * have_start = index.start is not None + */ + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_index, __pyx_n_s_step); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 764, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_8); + __pyx_t_1 = __Pyx_PyObject_IsTrue(__pyx_t_8); if (unlikely((__pyx_t_1 < 0))) __PYX_ERR(1, 764, __pyx_L1_error) + if (!__pyx_t_1) { + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + } else { + __pyx_t_11 = __Pyx_PyIndex_AsSsize_t(__pyx_t_8); if (unlikely((__pyx_t_11 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(1, 764, __pyx_L1_error) + __pyx_t_9 = __pyx_t_11; + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + goto __pyx_L11_bool_binop_done; + } + __pyx_t_9 = 0; + __pyx_L11_bool_binop_done:; + __pyx_v_step = __pyx_t_9; + + /* "View.MemoryView":766 + * step = index.step or 0 + * + * have_start = index.start is not None # <<<<<<<<<<<<<< + * have_stop = index.stop is not None + * have_step = index.step is not None + */ + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_index, __pyx_n_s_start); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 766, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_8); + __pyx_t_1 = (__pyx_t_8 != Py_None); + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + __pyx_v_have_start = __pyx_t_1; + + /* "View.MemoryView":767 + * + * have_start = index.start is not None + * have_stop = index.stop is not None # <<<<<<<<<<<<<< + * have_step = index.step is not None + * + */ + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_index, __pyx_n_s_stop); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 767, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_8); + __pyx_t_1 = (__pyx_t_8 != Py_None); + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + __pyx_v_have_stop = __pyx_t_1; + + /* "View.MemoryView":768 + * have_start = index.start is not None + * have_stop = index.stop is not None + * have_step = index.step is not None # <<<<<<<<<<<<<< + * + * slice_memviewslice( + */ + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_index, __pyx_n_s_step); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 768, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_8); + __pyx_t_1 = (__pyx_t_8 != Py_None); + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + __pyx_v_have_step = __pyx_t_1; + + /* "View.MemoryView":770 + * have_step = index.step is not None + * + * slice_memviewslice( # <<<<<<<<<<<<<< + * p_dst, p_src.shape[dim], p_src.strides[dim], p_src.suboffsets[dim], + * dim, new_ndim, p_suboffset_dim, + */ + __pyx_t_10 = __pyx_memoryview_slice_memviewslice(__pyx_v_p_dst, (__pyx_v_p_src->shape[__pyx_v_dim]), (__pyx_v_p_src->strides[__pyx_v_dim]), (__pyx_v_p_src->suboffsets[__pyx_v_dim]), __pyx_v_dim, __pyx_v_new_ndim, __pyx_v_p_suboffset_dim, __pyx_v_start, __pyx_v_stop, __pyx_v_step, __pyx_v_have_start, __pyx_v_have_stop, __pyx_v_have_step, 1); if (unlikely(__pyx_t_10 == ((int)-1))) __PYX_ERR(1, 770, __pyx_L1_error) + + /* "View.MemoryView":776 + * have_start, have_stop, have_step, + * True) + * new_ndim += 1 # <<<<<<<<<<<<<< + * + * if isinstance(memview, _memoryviewslice): + */ + __pyx_v_new_ndim = (__pyx_v_new_ndim + 1); + } + __pyx_L6:; + + /* "View.MemoryView":747 + * cdef bint have_start, have_stop, have_step + * + * for dim, index in enumerate(indices): # <<<<<<<<<<<<<< + * if PyIndex_Check(index): + * cindex = index + */ + } + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + + /* "View.MemoryView":778 + * new_ndim += 1 + * + * if isinstance(memview, _memoryviewslice): # <<<<<<<<<<<<<< + * return memoryview_fromslice(dst, new_ndim, + * memviewsliceobj.to_object_func, + */ + __pyx_t_1 = __Pyx_TypeCheck(((PyObject *)__pyx_v_memview), __pyx_memoryviewslice_type); + if (__pyx_t_1) { + + /* "View.MemoryView":779 + * + * if isinstance(memview, _memoryviewslice): + * return memoryview_fromslice(dst, new_ndim, # <<<<<<<<<<<<<< + * memviewsliceobj.to_object_func, + * memviewsliceobj.to_dtype_func, + */ + __Pyx_XDECREF((PyObject *)__pyx_r); + + /* "View.MemoryView":780 + * if isinstance(memview, _memoryviewslice): + * return memoryview_fromslice(dst, new_ndim, + * memviewsliceobj.to_object_func, # <<<<<<<<<<<<<< + * memviewsliceobj.to_dtype_func, + * memview.dtype_is_object) + */ + if (unlikely(!__pyx_v_memviewsliceobj)) { __Pyx_RaiseUnboundLocalError("memviewsliceobj"); __PYX_ERR(1, 780, __pyx_L1_error) } + + /* "View.MemoryView":781 + * return memoryview_fromslice(dst, new_ndim, + * memviewsliceobj.to_object_func, + * memviewsliceobj.to_dtype_func, # <<<<<<<<<<<<<< + * memview.dtype_is_object) + * else: + */ + if (unlikely(!__pyx_v_memviewsliceobj)) { __Pyx_RaiseUnboundLocalError("memviewsliceobj"); __PYX_ERR(1, 781, __pyx_L1_error) } + + /* "View.MemoryView":779 + * + * if isinstance(memview, _memoryviewslice): + * return memoryview_fromslice(dst, new_ndim, # <<<<<<<<<<<<<< + * memviewsliceobj.to_object_func, + * memviewsliceobj.to_dtype_func, + */ + __pyx_t_2 = __pyx_memoryview_fromslice(__pyx_v_dst, __pyx_v_new_ndim, __pyx_v_memviewsliceobj->to_object_func, __pyx_v_memviewsliceobj->to_dtype_func, __pyx_v_memview->dtype_is_object); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 779, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_memoryview_type))))) __PYX_ERR(1, 779, __pyx_L1_error) + __pyx_r = ((struct __pyx_memoryview_obj *)__pyx_t_2); + __pyx_t_2 = 0; + goto __pyx_L0; + + /* "View.MemoryView":778 + * new_ndim += 1 + * + * if isinstance(memview, _memoryviewslice): # <<<<<<<<<<<<<< + * return memoryview_fromslice(dst, new_ndim, + * memviewsliceobj.to_object_func, + */ + } + + /* "View.MemoryView":784 + * memview.dtype_is_object) + * else: + * return memoryview_fromslice(dst, new_ndim, NULL, NULL, # <<<<<<<<<<<<<< + * memview.dtype_is_object) + * + */ + /*else*/ { + __Pyx_XDECREF((PyObject *)__pyx_r); + + /* "View.MemoryView":785 + * else: + * return memoryview_fromslice(dst, new_ndim, NULL, NULL, + * memview.dtype_is_object) # <<<<<<<<<<<<<< + * + * + */ + __pyx_t_2 = __pyx_memoryview_fromslice(__pyx_v_dst, __pyx_v_new_ndim, NULL, NULL, __pyx_v_memview->dtype_is_object); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 784, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + + /* "View.MemoryView":784 + * memview.dtype_is_object) + * else: + * return memoryview_fromslice(dst, new_ndim, NULL, NULL, # <<<<<<<<<<<<<< + * memview.dtype_is_object) + * + */ + if (!(likely(((__pyx_t_2) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_2, __pyx_memoryview_type))))) __PYX_ERR(1, 784, __pyx_L1_error) + __pyx_r = ((struct __pyx_memoryview_obj *)__pyx_t_2); + __pyx_t_2 = 0; + goto __pyx_L0; + } + + /* "View.MemoryView":711 + * + * @cname('__pyx_memview_slice') + * cdef memoryview memview_slice(memoryview memview, object indices): # <<<<<<<<<<<<<< + * cdef int new_ndim = 0, suboffset_dim = -1, dim + * cdef bint negative_step + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_2); + __Pyx_XDECREF(__pyx_t_8); + __Pyx_AddTraceback("View.MemoryView.memview_slice", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = 0; + __pyx_L0:; + __Pyx_XDECREF((PyObject *)__pyx_v_memviewsliceobj); + __Pyx_XDECREF(__pyx_v_index); + __Pyx_XGIVEREF((PyObject *)__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":793 + * + * @cname('__pyx_memoryview_slice_memviewslice') + * cdef int slice_memviewslice( # <<<<<<<<<<<<<< + * __Pyx_memviewslice *dst, + * Py_ssize_t shape, Py_ssize_t stride, Py_ssize_t suboffset, + */ + +static int __pyx_memoryview_slice_memviewslice(__Pyx_memviewslice *__pyx_v_dst, Py_ssize_t __pyx_v_shape, Py_ssize_t __pyx_v_stride, Py_ssize_t __pyx_v_suboffset, int __pyx_v_dim, int __pyx_v_new_ndim, int *__pyx_v_suboffset_dim, Py_ssize_t __pyx_v_start, Py_ssize_t __pyx_v_stop, Py_ssize_t __pyx_v_step, int __pyx_v_have_start, int __pyx_v_have_stop, int __pyx_v_have_step, int __pyx_v_is_slice) { + Py_ssize_t __pyx_v_new_shape; + int __pyx_v_negative_step; + int __pyx_r; + int __pyx_t_1; + int __pyx_t_2; + int __pyx_t_3; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + #ifdef WITH_THREAD + PyGILState_STATE __pyx_gilstate_save; + #endif + + /* "View.MemoryView":813 + * cdef bint negative_step + * + * if not is_slice: # <<<<<<<<<<<<<< + * + * if start < 0: + */ + __pyx_t_1 = (!__pyx_v_is_slice); + if (__pyx_t_1) { + + /* "View.MemoryView":815 + * if not is_slice: + * + * if start < 0: # <<<<<<<<<<<<<< + * start += shape + * if not 0 <= start < shape: + */ + __pyx_t_1 = (__pyx_v_start < 0); + if (__pyx_t_1) { + + /* "View.MemoryView":816 + * + * if start < 0: + * start += shape # <<<<<<<<<<<<<< + * if not 0 <= start < shape: + * _err_dim(PyExc_IndexError, "Index out of bounds (axis %d)", dim) + */ + __pyx_v_start = (__pyx_v_start + __pyx_v_shape); + + /* "View.MemoryView":815 + * if not is_slice: + * + * if start < 0: # <<<<<<<<<<<<<< + * start += shape + * if not 0 <= start < shape: + */ + } + + /* "View.MemoryView":817 + * if start < 0: + * start += shape + * if not 0 <= start < shape: # <<<<<<<<<<<<<< + * _err_dim(PyExc_IndexError, "Index out of bounds (axis %d)", dim) + * else: + */ + __pyx_t_1 = (0 <= __pyx_v_start); + if (__pyx_t_1) { + __pyx_t_1 = (__pyx_v_start < __pyx_v_shape); + } + __pyx_t_2 = (!__pyx_t_1); + if (__pyx_t_2) { + + /* "View.MemoryView":818 + * start += shape + * if not 0 <= start < shape: + * _err_dim(PyExc_IndexError, "Index out of bounds (axis %d)", dim) # <<<<<<<<<<<<<< + * else: + * + */ + __pyx_t_3 = __pyx_memoryview_err_dim(PyExc_IndexError, __pyx_kp_s_Index_out_of_bounds_axis_d, __pyx_v_dim); if (unlikely(__pyx_t_3 == ((int)-1))) __PYX_ERR(1, 818, __pyx_L1_error) + + /* "View.MemoryView":817 + * if start < 0: + * start += shape + * if not 0 <= start < shape: # <<<<<<<<<<<<<< + * _err_dim(PyExc_IndexError, "Index out of bounds (axis %d)", dim) + * else: + */ + } + + /* "View.MemoryView":813 + * cdef bint negative_step + * + * if not is_slice: # <<<<<<<<<<<<<< + * + * if start < 0: + */ + goto __pyx_L3; + } + + /* "View.MemoryView":821 + * else: + * + * if have_step: # <<<<<<<<<<<<<< + * negative_step = step < 0 + * if step == 0: + */ + /*else*/ { + __pyx_t_2 = (__pyx_v_have_step != 0); + if (__pyx_t_2) { + + /* "View.MemoryView":822 + * + * if have_step: + * negative_step = step < 0 # <<<<<<<<<<<<<< + * if step == 0: + * _err_dim(PyExc_ValueError, "Step may not be zero (axis %d)", dim) + */ + __pyx_v_negative_step = (__pyx_v_step < 0); + + /* "View.MemoryView":823 + * if have_step: + * negative_step = step < 0 + * if step == 0: # <<<<<<<<<<<<<< + * _err_dim(PyExc_ValueError, "Step may not be zero (axis %d)", dim) + * else: + */ + __pyx_t_2 = (__pyx_v_step == 0); + if (__pyx_t_2) { + + /* "View.MemoryView":824 + * negative_step = step < 0 + * if step == 0: + * _err_dim(PyExc_ValueError, "Step may not be zero (axis %d)", dim) # <<<<<<<<<<<<<< + * else: + * negative_step = False + */ + __pyx_t_3 = __pyx_memoryview_err_dim(PyExc_ValueError, __pyx_kp_s_Step_may_not_be_zero_axis_d, __pyx_v_dim); if (unlikely(__pyx_t_3 == ((int)-1))) __PYX_ERR(1, 824, __pyx_L1_error) + + /* "View.MemoryView":823 + * if have_step: + * negative_step = step < 0 + * if step == 0: # <<<<<<<<<<<<<< + * _err_dim(PyExc_ValueError, "Step may not be zero (axis %d)", dim) + * else: + */ + } + + /* "View.MemoryView":821 + * else: + * + * if have_step: # <<<<<<<<<<<<<< + * negative_step = step < 0 + * if step == 0: + */ + goto __pyx_L6; + } + + /* "View.MemoryView":826 + * _err_dim(PyExc_ValueError, "Step may not be zero (axis %d)", dim) + * else: + * negative_step = False # <<<<<<<<<<<<<< + * step = 1 + * + */ + /*else*/ { + __pyx_v_negative_step = 0; + + /* "View.MemoryView":827 + * else: + * negative_step = False + * step = 1 # <<<<<<<<<<<<<< + * + * + */ + __pyx_v_step = 1; + } + __pyx_L6:; + + /* "View.MemoryView":830 + * + * + * if have_start: # <<<<<<<<<<<<<< + * if start < 0: + * start += shape + */ + __pyx_t_2 = (__pyx_v_have_start != 0); + if (__pyx_t_2) { + + /* "View.MemoryView":831 + * + * if have_start: + * if start < 0: # <<<<<<<<<<<<<< + * start += shape + * if start < 0: + */ + __pyx_t_2 = (__pyx_v_start < 0); + if (__pyx_t_2) { + + /* "View.MemoryView":832 + * if have_start: + * if start < 0: + * start += shape # <<<<<<<<<<<<<< + * if start < 0: + * start = 0 + */ + __pyx_v_start = (__pyx_v_start + __pyx_v_shape); + + /* "View.MemoryView":833 + * if start < 0: + * start += shape + * if start < 0: # <<<<<<<<<<<<<< + * start = 0 + * elif start >= shape: + */ + __pyx_t_2 = (__pyx_v_start < 0); + if (__pyx_t_2) { + + /* "View.MemoryView":834 + * start += shape + * if start < 0: + * start = 0 # <<<<<<<<<<<<<< + * elif start >= shape: + * if negative_step: + */ + __pyx_v_start = 0; + + /* "View.MemoryView":833 + * if start < 0: + * start += shape + * if start < 0: # <<<<<<<<<<<<<< + * start = 0 + * elif start >= shape: + */ + } + + /* "View.MemoryView":831 + * + * if have_start: + * if start < 0: # <<<<<<<<<<<<<< + * start += shape + * if start < 0: + */ + goto __pyx_L9; + } + + /* "View.MemoryView":835 + * if start < 0: + * start = 0 + * elif start >= shape: # <<<<<<<<<<<<<< + * if negative_step: + * start = shape - 1 + */ + __pyx_t_2 = (__pyx_v_start >= __pyx_v_shape); + if (__pyx_t_2) { + + /* "View.MemoryView":836 + * start = 0 + * elif start >= shape: + * if negative_step: # <<<<<<<<<<<<<< + * start = shape - 1 + * else: + */ + if (__pyx_v_negative_step) { + + /* "View.MemoryView":837 + * elif start >= shape: + * if negative_step: + * start = shape - 1 # <<<<<<<<<<<<<< + * else: + * start = shape + */ + __pyx_v_start = (__pyx_v_shape - 1); + + /* "View.MemoryView":836 + * start = 0 + * elif start >= shape: + * if negative_step: # <<<<<<<<<<<<<< + * start = shape - 1 + * else: + */ + goto __pyx_L11; + } + + /* "View.MemoryView":839 + * start = shape - 1 + * else: + * start = shape # <<<<<<<<<<<<<< + * else: + * if negative_step: + */ + /*else*/ { + __pyx_v_start = __pyx_v_shape; + } + __pyx_L11:; + + /* "View.MemoryView":835 + * if start < 0: + * start = 0 + * elif start >= shape: # <<<<<<<<<<<<<< + * if negative_step: + * start = shape - 1 + */ + } + __pyx_L9:; + + /* "View.MemoryView":830 + * + * + * if have_start: # <<<<<<<<<<<<<< + * if start < 0: + * start += shape + */ + goto __pyx_L8; + } + + /* "View.MemoryView":841 + * start = shape + * else: + * if negative_step: # <<<<<<<<<<<<<< + * start = shape - 1 + * else: + */ + /*else*/ { + if (__pyx_v_negative_step) { + + /* "View.MemoryView":842 + * else: + * if negative_step: + * start = shape - 1 # <<<<<<<<<<<<<< + * else: + * start = 0 + */ + __pyx_v_start = (__pyx_v_shape - 1); + + /* "View.MemoryView":841 + * start = shape + * else: + * if negative_step: # <<<<<<<<<<<<<< + * start = shape - 1 + * else: + */ + goto __pyx_L12; + } + + /* "View.MemoryView":844 + * start = shape - 1 + * else: + * start = 0 # <<<<<<<<<<<<<< + * + * if have_stop: + */ + /*else*/ { + __pyx_v_start = 0; + } + __pyx_L12:; + } + __pyx_L8:; + + /* "View.MemoryView":846 + * start = 0 + * + * if have_stop: # <<<<<<<<<<<<<< + * if stop < 0: + * stop += shape + */ + __pyx_t_2 = (__pyx_v_have_stop != 0); + if (__pyx_t_2) { + + /* "View.MemoryView":847 + * + * if have_stop: + * if stop < 0: # <<<<<<<<<<<<<< + * stop += shape + * if stop < 0: + */ + __pyx_t_2 = (__pyx_v_stop < 0); + if (__pyx_t_2) { + + /* "View.MemoryView":848 + * if have_stop: + * if stop < 0: + * stop += shape # <<<<<<<<<<<<<< + * if stop < 0: + * stop = 0 + */ + __pyx_v_stop = (__pyx_v_stop + __pyx_v_shape); + + /* "View.MemoryView":849 + * if stop < 0: + * stop += shape + * if stop < 0: # <<<<<<<<<<<<<< + * stop = 0 + * elif stop > shape: + */ + __pyx_t_2 = (__pyx_v_stop < 0); + if (__pyx_t_2) { + + /* "View.MemoryView":850 + * stop += shape + * if stop < 0: + * stop = 0 # <<<<<<<<<<<<<< + * elif stop > shape: + * stop = shape + */ + __pyx_v_stop = 0; + + /* "View.MemoryView":849 + * if stop < 0: + * stop += shape + * if stop < 0: # <<<<<<<<<<<<<< + * stop = 0 + * elif stop > shape: + */ + } + + /* "View.MemoryView":847 + * + * if have_stop: + * if stop < 0: # <<<<<<<<<<<<<< + * stop += shape + * if stop < 0: + */ + goto __pyx_L14; + } + + /* "View.MemoryView":851 + * if stop < 0: + * stop = 0 + * elif stop > shape: # <<<<<<<<<<<<<< + * stop = shape + * else: + */ + __pyx_t_2 = (__pyx_v_stop > __pyx_v_shape); + if (__pyx_t_2) { + + /* "View.MemoryView":852 + * stop = 0 + * elif stop > shape: + * stop = shape # <<<<<<<<<<<<<< + * else: + * if negative_step: + */ + __pyx_v_stop = __pyx_v_shape; + + /* "View.MemoryView":851 + * if stop < 0: + * stop = 0 + * elif stop > shape: # <<<<<<<<<<<<<< + * stop = shape + * else: + */ + } + __pyx_L14:; + + /* "View.MemoryView":846 + * start = 0 + * + * if have_stop: # <<<<<<<<<<<<<< + * if stop < 0: + * stop += shape + */ + goto __pyx_L13; + } + + /* "View.MemoryView":854 + * stop = shape + * else: + * if negative_step: # <<<<<<<<<<<<<< + * stop = -1 + * else: + */ + /*else*/ { + if (__pyx_v_negative_step) { + + /* "View.MemoryView":855 + * else: + * if negative_step: + * stop = -1 # <<<<<<<<<<<<<< + * else: + * stop = shape + */ + __pyx_v_stop = -1L; + + /* "View.MemoryView":854 + * stop = shape + * else: + * if negative_step: # <<<<<<<<<<<<<< + * stop = -1 + * else: + */ + goto __pyx_L16; + } + + /* "View.MemoryView":857 + * stop = -1 + * else: + * stop = shape # <<<<<<<<<<<<<< + * + * + */ + /*else*/ { + __pyx_v_stop = __pyx_v_shape; + } + __pyx_L16:; + } + __pyx_L13:; + + /* "View.MemoryView":861 + * + * with cython.cdivision(True): + * new_shape = (stop - start) // step # <<<<<<<<<<<<<< + * + * if (stop - start) - step * new_shape: + */ + __pyx_v_new_shape = ((__pyx_v_stop - __pyx_v_start) / __pyx_v_step); + + /* "View.MemoryView":863 + * new_shape = (stop - start) // step + * + * if (stop - start) - step * new_shape: # <<<<<<<<<<<<<< + * new_shape += 1 + * + */ + __pyx_t_2 = (((__pyx_v_stop - __pyx_v_start) - (__pyx_v_step * __pyx_v_new_shape)) != 0); + if (__pyx_t_2) { + + /* "View.MemoryView":864 + * + * if (stop - start) - step * new_shape: + * new_shape += 1 # <<<<<<<<<<<<<< + * + * if new_shape < 0: + */ + __pyx_v_new_shape = (__pyx_v_new_shape + 1); + + /* "View.MemoryView":863 + * new_shape = (stop - start) // step + * + * if (stop - start) - step * new_shape: # <<<<<<<<<<<<<< + * new_shape += 1 + * + */ + } + + /* "View.MemoryView":866 + * new_shape += 1 + * + * if new_shape < 0: # <<<<<<<<<<<<<< + * new_shape = 0 + * + */ + __pyx_t_2 = (__pyx_v_new_shape < 0); + if (__pyx_t_2) { + + /* "View.MemoryView":867 + * + * if new_shape < 0: + * new_shape = 0 # <<<<<<<<<<<<<< + * + * + */ + __pyx_v_new_shape = 0; + + /* "View.MemoryView":866 + * new_shape += 1 + * + * if new_shape < 0: # <<<<<<<<<<<<<< + * new_shape = 0 + * + */ + } + + /* "View.MemoryView":870 + * + * + * dst.strides[new_ndim] = stride * step # <<<<<<<<<<<<<< + * dst.shape[new_ndim] = new_shape + * dst.suboffsets[new_ndim] = suboffset + */ + (__pyx_v_dst->strides[__pyx_v_new_ndim]) = (__pyx_v_stride * __pyx_v_step); + + /* "View.MemoryView":871 + * + * dst.strides[new_ndim] = stride * step + * dst.shape[new_ndim] = new_shape # <<<<<<<<<<<<<< + * dst.suboffsets[new_ndim] = suboffset + * + */ + (__pyx_v_dst->shape[__pyx_v_new_ndim]) = __pyx_v_new_shape; + + /* "View.MemoryView":872 + * dst.strides[new_ndim] = stride * step + * dst.shape[new_ndim] = new_shape + * dst.suboffsets[new_ndim] = suboffset # <<<<<<<<<<<<<< + * + * + */ + (__pyx_v_dst->suboffsets[__pyx_v_new_ndim]) = __pyx_v_suboffset; + } + __pyx_L3:; + + /* "View.MemoryView":875 + * + * + * if suboffset_dim[0] < 0: # <<<<<<<<<<<<<< + * dst.data += start * stride + * else: + */ + __pyx_t_2 = ((__pyx_v_suboffset_dim[0]) < 0); + if (__pyx_t_2) { + + /* "View.MemoryView":876 + * + * if suboffset_dim[0] < 0: + * dst.data += start * stride # <<<<<<<<<<<<<< + * else: + * dst.suboffsets[suboffset_dim[0]] += start * stride + */ + __pyx_v_dst->data = (__pyx_v_dst->data + (__pyx_v_start * __pyx_v_stride)); + + /* "View.MemoryView":875 + * + * + * if suboffset_dim[0] < 0: # <<<<<<<<<<<<<< + * dst.data += start * stride + * else: + */ + goto __pyx_L19; + } + + /* "View.MemoryView":878 + * dst.data += start * stride + * else: + * dst.suboffsets[suboffset_dim[0]] += start * stride # <<<<<<<<<<<<<< + * + * if suboffset >= 0: + */ + /*else*/ { + __pyx_t_3 = (__pyx_v_suboffset_dim[0]); + (__pyx_v_dst->suboffsets[__pyx_t_3]) = ((__pyx_v_dst->suboffsets[__pyx_t_3]) + (__pyx_v_start * __pyx_v_stride)); + } + __pyx_L19:; + + /* "View.MemoryView":880 + * dst.suboffsets[suboffset_dim[0]] += start * stride + * + * if suboffset >= 0: # <<<<<<<<<<<<<< + * if not is_slice: + * if new_ndim == 0: + */ + __pyx_t_2 = (__pyx_v_suboffset >= 0); + if (__pyx_t_2) { + + /* "View.MemoryView":881 + * + * if suboffset >= 0: + * if not is_slice: # <<<<<<<<<<<<<< + * if new_ndim == 0: + * dst.data = ( dst.data)[0] + suboffset + */ + __pyx_t_2 = (!__pyx_v_is_slice); + if (__pyx_t_2) { + + /* "View.MemoryView":882 + * if suboffset >= 0: + * if not is_slice: + * if new_ndim == 0: # <<<<<<<<<<<<<< + * dst.data = ( dst.data)[0] + suboffset + * else: + */ + __pyx_t_2 = (__pyx_v_new_ndim == 0); + if (__pyx_t_2) { + + /* "View.MemoryView":883 + * if not is_slice: + * if new_ndim == 0: + * dst.data = ( dst.data)[0] + suboffset # <<<<<<<<<<<<<< + * else: + * _err_dim(PyExc_IndexError, "All dimensions preceding dimension %d " + */ + __pyx_v_dst->data = ((((char **)__pyx_v_dst->data)[0]) + __pyx_v_suboffset); + + /* "View.MemoryView":882 + * if suboffset >= 0: + * if not is_slice: + * if new_ndim == 0: # <<<<<<<<<<<<<< + * dst.data = ( dst.data)[0] + suboffset + * else: + */ + goto __pyx_L22; + } + + /* "View.MemoryView":885 + * dst.data = ( dst.data)[0] + suboffset + * else: + * _err_dim(PyExc_IndexError, "All dimensions preceding dimension %d " # <<<<<<<<<<<<<< + * "must be indexed and not sliced", dim) + * else: + */ + /*else*/ { + + /* "View.MemoryView":886 + * else: + * _err_dim(PyExc_IndexError, "All dimensions preceding dimension %d " + * "must be indexed and not sliced", dim) # <<<<<<<<<<<<<< + * else: + * suboffset_dim[0] = new_ndim + */ + __pyx_t_3 = __pyx_memoryview_err_dim(PyExc_IndexError, __pyx_kp_s_All_dimensions_preceding_dimensi, __pyx_v_dim); if (unlikely(__pyx_t_3 == ((int)-1))) __PYX_ERR(1, 885, __pyx_L1_error) + } + __pyx_L22:; + + /* "View.MemoryView":881 + * + * if suboffset >= 0: + * if not is_slice: # <<<<<<<<<<<<<< + * if new_ndim == 0: + * dst.data = ( dst.data)[0] + suboffset + */ + goto __pyx_L21; + } + + /* "View.MemoryView":888 + * "must be indexed and not sliced", dim) + * else: + * suboffset_dim[0] = new_ndim # <<<<<<<<<<<<<< + * + * return 0 + */ + /*else*/ { + (__pyx_v_suboffset_dim[0]) = __pyx_v_new_ndim; + } + __pyx_L21:; + + /* "View.MemoryView":880 + * dst.suboffsets[suboffset_dim[0]] += start * stride + * + * if suboffset >= 0: # <<<<<<<<<<<<<< + * if not is_slice: + * if new_ndim == 0: + */ + } + + /* "View.MemoryView":890 + * suboffset_dim[0] = new_ndim + * + * return 0 # <<<<<<<<<<<<<< + * + * + */ + __pyx_r = 0; + goto __pyx_L0; + + /* "View.MemoryView":793 + * + * @cname('__pyx_memoryview_slice_memviewslice') + * cdef int slice_memviewslice( # <<<<<<<<<<<<<< + * __Pyx_memviewslice *dst, + * Py_ssize_t shape, Py_ssize_t stride, Py_ssize_t suboffset, + */ + + /* function exit code */ + __pyx_L1_error:; + #ifdef WITH_THREAD + __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); + #endif + __Pyx_AddTraceback("View.MemoryView.slice_memviewslice", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = -1; + #ifdef WITH_THREAD + __Pyx_PyGILState_Release(__pyx_gilstate_save); + #endif + __pyx_L0:; + return __pyx_r; +} + +/* "View.MemoryView":896 + * + * @cname('__pyx_pybuffer_index') + * cdef char *pybuffer_index(Py_buffer *view, char *bufp, Py_ssize_t index, # <<<<<<<<<<<<<< + * Py_ssize_t dim) except NULL: + * cdef Py_ssize_t shape, stride, suboffset = -1 + */ + +static char *__pyx_pybuffer_index(Py_buffer *__pyx_v_view, char *__pyx_v_bufp, Py_ssize_t __pyx_v_index, Py_ssize_t __pyx_v_dim) { + Py_ssize_t __pyx_v_shape; + Py_ssize_t __pyx_v_stride; + Py_ssize_t __pyx_v_suboffset; + Py_ssize_t __pyx_v_itemsize; + char *__pyx_v_resultp; + char *__pyx_r; + __Pyx_RefNannyDeclarations + Py_ssize_t __pyx_t_1; + int __pyx_t_2; + PyObject *__pyx_t_3 = NULL; + Py_UCS4 __pyx_t_4; + PyObject *__pyx_t_5 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("pybuffer_index", 1); + + /* "View.MemoryView":898 + * cdef char *pybuffer_index(Py_buffer *view, char *bufp, Py_ssize_t index, + * Py_ssize_t dim) except NULL: + * cdef Py_ssize_t shape, stride, suboffset = -1 # <<<<<<<<<<<<<< + * cdef Py_ssize_t itemsize = view.itemsize + * cdef char *resultp + */ + __pyx_v_suboffset = -1L; + + /* "View.MemoryView":899 + * Py_ssize_t dim) except NULL: + * cdef Py_ssize_t shape, stride, suboffset = -1 + * cdef Py_ssize_t itemsize = view.itemsize # <<<<<<<<<<<<<< + * cdef char *resultp + * + */ + __pyx_t_1 = __pyx_v_view->itemsize; + __pyx_v_itemsize = __pyx_t_1; + + /* "View.MemoryView":902 + * cdef char *resultp + * + * if view.ndim == 0: # <<<<<<<<<<<<<< + * shape = view.len // itemsize + * stride = itemsize + */ + __pyx_t_2 = (__pyx_v_view->ndim == 0); + if (__pyx_t_2) { + + /* "View.MemoryView":903 + * + * if view.ndim == 0: + * shape = view.len // itemsize # <<<<<<<<<<<<<< + * stride = itemsize + * else: + */ + if (unlikely(__pyx_v_itemsize == 0)) { + PyErr_SetString(PyExc_ZeroDivisionError, "integer division or modulo by zero"); + __PYX_ERR(1, 903, __pyx_L1_error) + } + else if (sizeof(Py_ssize_t) == sizeof(long) && (!(((Py_ssize_t)-1) > 0)) && unlikely(__pyx_v_itemsize == (Py_ssize_t)-1) && unlikely(__Pyx_UNARY_NEG_WOULD_OVERFLOW(__pyx_v_view->len))) { + PyErr_SetString(PyExc_OverflowError, "value too large to perform division"); + __PYX_ERR(1, 903, __pyx_L1_error) + } + __pyx_v_shape = __Pyx_div_Py_ssize_t(__pyx_v_view->len, __pyx_v_itemsize); + + /* "View.MemoryView":904 + * if view.ndim == 0: + * shape = view.len // itemsize + * stride = itemsize # <<<<<<<<<<<<<< + * else: + * shape = view.shape[dim] + */ + __pyx_v_stride = __pyx_v_itemsize; + + /* "View.MemoryView":902 + * cdef char *resultp + * + * if view.ndim == 0: # <<<<<<<<<<<<<< + * shape = view.len // itemsize + * stride = itemsize + */ + goto __pyx_L3; + } + + /* "View.MemoryView":906 + * stride = itemsize + * else: + * shape = view.shape[dim] # <<<<<<<<<<<<<< + * stride = view.strides[dim] + * if view.suboffsets != NULL: + */ + /*else*/ { + __pyx_v_shape = (__pyx_v_view->shape[__pyx_v_dim]); + + /* "View.MemoryView":907 + * else: + * shape = view.shape[dim] + * stride = view.strides[dim] # <<<<<<<<<<<<<< + * if view.suboffsets != NULL: + * suboffset = view.suboffsets[dim] + */ + __pyx_v_stride = (__pyx_v_view->strides[__pyx_v_dim]); + + /* "View.MemoryView":908 + * shape = view.shape[dim] + * stride = view.strides[dim] + * if view.suboffsets != NULL: # <<<<<<<<<<<<<< + * suboffset = view.suboffsets[dim] + * + */ + __pyx_t_2 = (__pyx_v_view->suboffsets != NULL); + if (__pyx_t_2) { + + /* "View.MemoryView":909 + * stride = view.strides[dim] + * if view.suboffsets != NULL: + * suboffset = view.suboffsets[dim] # <<<<<<<<<<<<<< + * + * if index < 0: + */ + __pyx_v_suboffset = (__pyx_v_view->suboffsets[__pyx_v_dim]); + + /* "View.MemoryView":908 + * shape = view.shape[dim] + * stride = view.strides[dim] + * if view.suboffsets != NULL: # <<<<<<<<<<<<<< + * suboffset = view.suboffsets[dim] + * + */ + } + } + __pyx_L3:; + + /* "View.MemoryView":911 + * suboffset = view.suboffsets[dim] + * + * if index < 0: # <<<<<<<<<<<<<< + * index += view.shape[dim] + * if index < 0: + */ + __pyx_t_2 = (__pyx_v_index < 0); + if (__pyx_t_2) { + + /* "View.MemoryView":912 + * + * if index < 0: + * index += view.shape[dim] # <<<<<<<<<<<<<< + * if index < 0: + * raise IndexError, f"Out of bounds on buffer access (axis {dim})" + */ + __pyx_v_index = (__pyx_v_index + (__pyx_v_view->shape[__pyx_v_dim])); + + /* "View.MemoryView":913 + * if index < 0: + * index += view.shape[dim] + * if index < 0: # <<<<<<<<<<<<<< + * raise IndexError, f"Out of bounds on buffer access (axis {dim})" + * + */ + __pyx_t_2 = (__pyx_v_index < 0); + if (unlikely(__pyx_t_2)) { + + /* "View.MemoryView":914 + * index += view.shape[dim] + * if index < 0: + * raise IndexError, f"Out of bounds on buffer access (axis {dim})" # <<<<<<<<<<<<<< + * + * if index >= shape: + */ + __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 914, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_1 = 0; + __pyx_t_4 = 127; + __Pyx_INCREF(__pyx_kp_u_Out_of_bounds_on_buffer_access_a); + __pyx_t_1 += 37; + __Pyx_GIVEREF(__pyx_kp_u_Out_of_bounds_on_buffer_access_a); + PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_kp_u_Out_of_bounds_on_buffer_access_a); + __pyx_t_5 = __Pyx_PyUnicode_From_Py_ssize_t(__pyx_v_dim, 0, ' ', 'd'); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 914, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_t_1 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_5); + __Pyx_GIVEREF(__pyx_t_5); + PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_5); + __pyx_t_5 = 0; + __Pyx_INCREF(__pyx_kp_u__7); + __pyx_t_1 += 1; + __Pyx_GIVEREF(__pyx_kp_u__7); + PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_kp_u__7); + __pyx_t_5 = __Pyx_PyUnicode_Join(__pyx_t_3, 3, __pyx_t_1, __pyx_t_4); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 914, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __Pyx_Raise(__pyx_builtin_IndexError, __pyx_t_5, 0, 0); + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __PYX_ERR(1, 914, __pyx_L1_error) + + /* "View.MemoryView":913 + * if index < 0: + * index += view.shape[dim] + * if index < 0: # <<<<<<<<<<<<<< + * raise IndexError, f"Out of bounds on buffer access (axis {dim})" + * + */ + } + + /* "View.MemoryView":911 + * suboffset = view.suboffsets[dim] + * + * if index < 0: # <<<<<<<<<<<<<< + * index += view.shape[dim] + * if index < 0: + */ + } + + /* "View.MemoryView":916 + * raise IndexError, f"Out of bounds on buffer access (axis {dim})" + * + * if index >= shape: # <<<<<<<<<<<<<< + * raise IndexError, f"Out of bounds on buffer access (axis {dim})" + * + */ + __pyx_t_2 = (__pyx_v_index >= __pyx_v_shape); + if (unlikely(__pyx_t_2)) { + + /* "View.MemoryView":917 + * + * if index >= shape: + * raise IndexError, f"Out of bounds on buffer access (axis {dim})" # <<<<<<<<<<<<<< + * + * resultp = bufp + index * stride + */ + __pyx_t_5 = PyTuple_New(3); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 917, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_t_1 = 0; + __pyx_t_4 = 127; + __Pyx_INCREF(__pyx_kp_u_Out_of_bounds_on_buffer_access_a); + __pyx_t_1 += 37; + __Pyx_GIVEREF(__pyx_kp_u_Out_of_bounds_on_buffer_access_a); + PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_kp_u_Out_of_bounds_on_buffer_access_a); + __pyx_t_3 = __Pyx_PyUnicode_From_Py_ssize_t(__pyx_v_dim, 0, ' ', 'd'); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 917, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_1 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_3); + __Pyx_GIVEREF(__pyx_t_3); + PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_3); + __pyx_t_3 = 0; + __Pyx_INCREF(__pyx_kp_u__7); + __pyx_t_1 += 1; + __Pyx_GIVEREF(__pyx_kp_u__7); + PyTuple_SET_ITEM(__pyx_t_5, 2, __pyx_kp_u__7); + __pyx_t_3 = __Pyx_PyUnicode_Join(__pyx_t_5, 3, __pyx_t_1, __pyx_t_4); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 917, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __Pyx_Raise(__pyx_builtin_IndexError, __pyx_t_3, 0, 0); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __PYX_ERR(1, 917, __pyx_L1_error) + + /* "View.MemoryView":916 + * raise IndexError, f"Out of bounds on buffer access (axis {dim})" + * + * if index >= shape: # <<<<<<<<<<<<<< + * raise IndexError, f"Out of bounds on buffer access (axis {dim})" + * + */ + } + + /* "View.MemoryView":919 + * raise IndexError, f"Out of bounds on buffer access (axis {dim})" + * + * resultp = bufp + index * stride # <<<<<<<<<<<<<< + * if suboffset >= 0: + * resultp = ( resultp)[0] + suboffset + */ + __pyx_v_resultp = (__pyx_v_bufp + (__pyx_v_index * __pyx_v_stride)); + + /* "View.MemoryView":920 + * + * resultp = bufp + index * stride + * if suboffset >= 0: # <<<<<<<<<<<<<< + * resultp = ( resultp)[0] + suboffset + * + */ + __pyx_t_2 = (__pyx_v_suboffset >= 0); + if (__pyx_t_2) { + + /* "View.MemoryView":921 + * resultp = bufp + index * stride + * if suboffset >= 0: + * resultp = ( resultp)[0] + suboffset # <<<<<<<<<<<<<< + * + * return resultp + */ + __pyx_v_resultp = ((((char **)__pyx_v_resultp)[0]) + __pyx_v_suboffset); + + /* "View.MemoryView":920 + * + * resultp = bufp + index * stride + * if suboffset >= 0: # <<<<<<<<<<<<<< + * resultp = ( resultp)[0] + suboffset + * + */ + } + + /* "View.MemoryView":923 + * resultp = ( resultp)[0] + suboffset + * + * return resultp # <<<<<<<<<<<<<< + * + * + */ + __pyx_r = __pyx_v_resultp; + goto __pyx_L0; + + /* "View.MemoryView":896 + * + * @cname('__pyx_pybuffer_index') + * cdef char *pybuffer_index(Py_buffer *view, char *bufp, Py_ssize_t index, # <<<<<<<<<<<<<< + * Py_ssize_t dim) except NULL: + * cdef Py_ssize_t shape, stride, suboffset = -1 + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_3); + __Pyx_XDECREF(__pyx_t_5); + __Pyx_AddTraceback("View.MemoryView.pybuffer_index", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __pyx_L0:; + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":929 + * + * @cname('__pyx_memslice_transpose') + * cdef int transpose_memslice(__Pyx_memviewslice *memslice) except -1 nogil: # <<<<<<<<<<<<<< + * cdef int ndim = memslice.memview.view.ndim + * + */ + +static int __pyx_memslice_transpose(__Pyx_memviewslice *__pyx_v_memslice) { + int __pyx_v_ndim; + Py_ssize_t *__pyx_v_shape; + Py_ssize_t *__pyx_v_strides; + int __pyx_v_i; + int __pyx_v_j; + int __pyx_r; + int __pyx_t_1; + Py_ssize_t *__pyx_t_2; + long __pyx_t_3; + long __pyx_t_4; + Py_ssize_t __pyx_t_5; + Py_ssize_t __pyx_t_6; + int __pyx_t_7; + int __pyx_t_8; + int __pyx_t_9; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + #ifdef WITH_THREAD + PyGILState_STATE __pyx_gilstate_save; + #endif + + /* "View.MemoryView":930 + * @cname('__pyx_memslice_transpose') + * cdef int transpose_memslice(__Pyx_memviewslice *memslice) except -1 nogil: + * cdef int ndim = memslice.memview.view.ndim # <<<<<<<<<<<<<< + * + * cdef Py_ssize_t *shape = memslice.shape + */ + __pyx_t_1 = __pyx_v_memslice->memview->view.ndim; + __pyx_v_ndim = __pyx_t_1; + + /* "View.MemoryView":932 + * cdef int ndim = memslice.memview.view.ndim + * + * cdef Py_ssize_t *shape = memslice.shape # <<<<<<<<<<<<<< + * cdef Py_ssize_t *strides = memslice.strides + * + */ + __pyx_t_2 = __pyx_v_memslice->shape; + __pyx_v_shape = __pyx_t_2; + + /* "View.MemoryView":933 + * + * cdef Py_ssize_t *shape = memslice.shape + * cdef Py_ssize_t *strides = memslice.strides # <<<<<<<<<<<<<< + * + * + */ + __pyx_t_2 = __pyx_v_memslice->strides; + __pyx_v_strides = __pyx_t_2; + + /* "View.MemoryView":937 + * + * cdef int i, j + * for i in range(ndim // 2): # <<<<<<<<<<<<<< + * j = ndim - 1 - i + * strides[i], strides[j] = strides[j], strides[i] + */ + __pyx_t_3 = __Pyx_div_long(__pyx_v_ndim, 2); + __pyx_t_4 = __pyx_t_3; + for (__pyx_t_1 = 0; __pyx_t_1 < __pyx_t_4; __pyx_t_1+=1) { + __pyx_v_i = __pyx_t_1; + + /* "View.MemoryView":938 + * cdef int i, j + * for i in range(ndim // 2): + * j = ndim - 1 - i # <<<<<<<<<<<<<< + * strides[i], strides[j] = strides[j], strides[i] + * shape[i], shape[j] = shape[j], shape[i] + */ + __pyx_v_j = ((__pyx_v_ndim - 1) - __pyx_v_i); + + /* "View.MemoryView":939 + * for i in range(ndim // 2): + * j = ndim - 1 - i + * strides[i], strides[j] = strides[j], strides[i] # <<<<<<<<<<<<<< + * shape[i], shape[j] = shape[j], shape[i] + * + */ + __pyx_t_5 = (__pyx_v_strides[__pyx_v_j]); + __pyx_t_6 = (__pyx_v_strides[__pyx_v_i]); + (__pyx_v_strides[__pyx_v_i]) = __pyx_t_5; + (__pyx_v_strides[__pyx_v_j]) = __pyx_t_6; + + /* "View.MemoryView":940 + * j = ndim - 1 - i + * strides[i], strides[j] = strides[j], strides[i] + * shape[i], shape[j] = shape[j], shape[i] # <<<<<<<<<<<<<< + * + * if memslice.suboffsets[i] >= 0 or memslice.suboffsets[j] >= 0: + */ + __pyx_t_6 = (__pyx_v_shape[__pyx_v_j]); + __pyx_t_5 = (__pyx_v_shape[__pyx_v_i]); + (__pyx_v_shape[__pyx_v_i]) = __pyx_t_6; + (__pyx_v_shape[__pyx_v_j]) = __pyx_t_5; + + /* "View.MemoryView":942 + * shape[i], shape[j] = shape[j], shape[i] + * + * if memslice.suboffsets[i] >= 0 or memslice.suboffsets[j] >= 0: # <<<<<<<<<<<<<< + * _err(PyExc_ValueError, "Cannot transpose memoryview with indirect dimensions") + * + */ + __pyx_t_8 = ((__pyx_v_memslice->suboffsets[__pyx_v_i]) >= 0); + if (!__pyx_t_8) { + } else { + __pyx_t_7 = __pyx_t_8; + goto __pyx_L6_bool_binop_done; + } + __pyx_t_8 = ((__pyx_v_memslice->suboffsets[__pyx_v_j]) >= 0); + __pyx_t_7 = __pyx_t_8; + __pyx_L6_bool_binop_done:; + if (__pyx_t_7) { + + /* "View.MemoryView":943 + * + * if memslice.suboffsets[i] >= 0 or memslice.suboffsets[j] >= 0: + * _err(PyExc_ValueError, "Cannot transpose memoryview with indirect dimensions") # <<<<<<<<<<<<<< + * + * return 0 + */ + __pyx_t_9 = __pyx_memoryview_err(PyExc_ValueError, __pyx_kp_s_Cannot_transpose_memoryview_with); if (unlikely(__pyx_t_9 == ((int)-1))) __PYX_ERR(1, 943, __pyx_L1_error) + + /* "View.MemoryView":942 + * shape[i], shape[j] = shape[j], shape[i] + * + * if memslice.suboffsets[i] >= 0 or memslice.suboffsets[j] >= 0: # <<<<<<<<<<<<<< + * _err(PyExc_ValueError, "Cannot transpose memoryview with indirect dimensions") + * + */ + } + } + + /* "View.MemoryView":945 + * _err(PyExc_ValueError, "Cannot transpose memoryview with indirect dimensions") + * + * return 0 # <<<<<<<<<<<<<< + * + * + */ + __pyx_r = 0; + goto __pyx_L0; + + /* "View.MemoryView":929 + * + * @cname('__pyx_memslice_transpose') + * cdef int transpose_memslice(__Pyx_memviewslice *memslice) except -1 nogil: # <<<<<<<<<<<<<< + * cdef int ndim = memslice.memview.view.ndim + * + */ + + /* function exit code */ + __pyx_L1_error:; + #ifdef WITH_THREAD + __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); + #endif + __Pyx_AddTraceback("View.MemoryView.transpose_memslice", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = -1; + #ifdef WITH_THREAD + __Pyx_PyGILState_Release(__pyx_gilstate_save); + #endif + __pyx_L0:; + return __pyx_r; +} + +/* "View.MemoryView":963 + * cdef int (*to_dtype_func)(char *, object) except 0 + * + * def __dealloc__(self): # <<<<<<<<<<<<<< + * __PYX_XCLEAR_MEMVIEW(&self.from_slice, 1) + * + */ + +/* Python wrapper */ +static void __pyx_memoryviewslice___dealloc__(PyObject *__pyx_v_self); /*proto*/ +static void __pyx_memoryviewslice___dealloc__(PyObject *__pyx_v_self) { + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__dealloc__ (wrapper)", 0); + __pyx_kwvalues = __Pyx_KwValues_VARARGS(__pyx_args, __pyx_nargs); + __pyx_memoryviewslice___pyx_pf_15View_dot_MemoryView_16_memoryviewslice___dealloc__(((struct __pyx_memoryviewslice_obj *)__pyx_v_self)); + + /* function exit code */ + __Pyx_RefNannyFinishContext(); +} + +static void __pyx_memoryviewslice___pyx_pf_15View_dot_MemoryView_16_memoryviewslice___dealloc__(struct __pyx_memoryviewslice_obj *__pyx_v_self) { + + /* "View.MemoryView":964 + * + * def __dealloc__(self): + * __PYX_XCLEAR_MEMVIEW(&self.from_slice, 1) # <<<<<<<<<<<<<< + * + * cdef convert_item_to_object(self, char *itemp): + */ + __PYX_XCLEAR_MEMVIEW((&__pyx_v_self->from_slice), 1); + + /* "View.MemoryView":963 + * cdef int (*to_dtype_func)(char *, object) except 0 + * + * def __dealloc__(self): # <<<<<<<<<<<<<< + * __PYX_XCLEAR_MEMVIEW(&self.from_slice, 1) + * + */ + + /* function exit code */ +} + +/* "View.MemoryView":966 + * __PYX_XCLEAR_MEMVIEW(&self.from_slice, 1) + * + * cdef convert_item_to_object(self, char *itemp): # <<<<<<<<<<<<<< + * if self.to_object_func != NULL: + * return self.to_object_func(itemp) + */ + +static PyObject *__pyx_memoryviewslice_convert_item_to_object(struct __pyx_memoryviewslice_obj *__pyx_v_self, char *__pyx_v_itemp) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + int __pyx_t_1; + PyObject *__pyx_t_2 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("convert_item_to_object", 1); + + /* "View.MemoryView":967 + * + * cdef convert_item_to_object(self, char *itemp): + * if self.to_object_func != NULL: # <<<<<<<<<<<<<< + * return self.to_object_func(itemp) + * else: + */ + __pyx_t_1 = (__pyx_v_self->to_object_func != NULL); + if (__pyx_t_1) { + + /* "View.MemoryView":968 + * cdef convert_item_to_object(self, char *itemp): + * if self.to_object_func != NULL: + * return self.to_object_func(itemp) # <<<<<<<<<<<<<< + * else: + * return memoryview.convert_item_to_object(self, itemp) + */ + __Pyx_XDECREF(__pyx_r); + __pyx_t_2 = __pyx_v_self->to_object_func(__pyx_v_itemp); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 968, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + + /* "View.MemoryView":967 + * + * cdef convert_item_to_object(self, char *itemp): + * if self.to_object_func != NULL: # <<<<<<<<<<<<<< + * return self.to_object_func(itemp) + * else: + */ + } + + /* "View.MemoryView":970 + * return self.to_object_func(itemp) + * else: + * return memoryview.convert_item_to_object(self, itemp) # <<<<<<<<<<<<<< + * + * cdef assign_item_from_object(self, char *itemp, object value): + */ + /*else*/ { + __Pyx_XDECREF(__pyx_r); + __pyx_t_2 = __pyx_memoryview_convert_item_to_object(((struct __pyx_memoryview_obj *)__pyx_v_self), __pyx_v_itemp); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 970, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + } + + /* "View.MemoryView":966 + * __PYX_XCLEAR_MEMVIEW(&self.from_slice, 1) + * + * cdef convert_item_to_object(self, char *itemp): # <<<<<<<<<<<<<< + * if self.to_object_func != NULL: + * return self.to_object_func(itemp) + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_2); + __Pyx_AddTraceback("View.MemoryView._memoryviewslice.convert_item_to_object", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = 0; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":972 + * return memoryview.convert_item_to_object(self, itemp) + * + * cdef assign_item_from_object(self, char *itemp, object value): # <<<<<<<<<<<<<< + * if self.to_dtype_func != NULL: + * self.to_dtype_func(itemp, value) + */ + +static PyObject *__pyx_memoryviewslice_assign_item_from_object(struct __pyx_memoryviewslice_obj *__pyx_v_self, char *__pyx_v_itemp, PyObject *__pyx_v_value) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + int __pyx_t_1; + int __pyx_t_2; + PyObject *__pyx_t_3 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("assign_item_from_object", 1); + + /* "View.MemoryView":973 + * + * cdef assign_item_from_object(self, char *itemp, object value): + * if self.to_dtype_func != NULL: # <<<<<<<<<<<<<< + * self.to_dtype_func(itemp, value) + * else: + */ + __pyx_t_1 = (__pyx_v_self->to_dtype_func != NULL); + if (__pyx_t_1) { + + /* "View.MemoryView":974 + * cdef assign_item_from_object(self, char *itemp, object value): + * if self.to_dtype_func != NULL: + * self.to_dtype_func(itemp, value) # <<<<<<<<<<<<<< + * else: + * memoryview.assign_item_from_object(self, itemp, value) + */ + __pyx_t_2 = __pyx_v_self->to_dtype_func(__pyx_v_itemp, __pyx_v_value); if (unlikely(__pyx_t_2 == ((int)0))) __PYX_ERR(1, 974, __pyx_L1_error) + + /* "View.MemoryView":973 + * + * cdef assign_item_from_object(self, char *itemp, object value): + * if self.to_dtype_func != NULL: # <<<<<<<<<<<<<< + * self.to_dtype_func(itemp, value) + * else: + */ + goto __pyx_L3; + } + + /* "View.MemoryView":976 + * self.to_dtype_func(itemp, value) + * else: + * memoryview.assign_item_from_object(self, itemp, value) # <<<<<<<<<<<<<< + * + * cdef _get_base(self): + */ + /*else*/ { + __pyx_t_3 = __pyx_memoryview_assign_item_from_object(((struct __pyx_memoryview_obj *)__pyx_v_self), __pyx_v_itemp, __pyx_v_value); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 976, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + } + __pyx_L3:; + + /* "View.MemoryView":972 + * return memoryview.convert_item_to_object(self, itemp) + * + * cdef assign_item_from_object(self, char *itemp, object value): # <<<<<<<<<<<<<< + * if self.to_dtype_func != NULL: + * self.to_dtype_func(itemp, value) + */ + + /* function exit code */ + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + goto __pyx_L0; + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_3); + __Pyx_AddTraceback("View.MemoryView._memoryviewslice.assign_item_from_object", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = 0; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":978 + * memoryview.assign_item_from_object(self, itemp, value) + * + * cdef _get_base(self): # <<<<<<<<<<<<<< + * return self.from_object + * + */ + +static PyObject *__pyx_memoryviewslice__get_base(struct __pyx_memoryviewslice_obj *__pyx_v_self) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("_get_base", 1); + + /* "View.MemoryView":979 + * + * cdef _get_base(self): + * return self.from_object # <<<<<<<<<<<<<< + * + * + */ + __Pyx_XDECREF(__pyx_r); + __Pyx_INCREF(__pyx_v_self->from_object); + __pyx_r = __pyx_v_self->from_object; + goto __pyx_L0; + + /* "View.MemoryView":978 + * memoryview.assign_item_from_object(self, itemp, value) + * + * cdef _get_base(self): # <<<<<<<<<<<<<< + * return self.from_object + * + */ + + /* function exit code */ + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "(tree fragment)":1 + * def __reduce_cython__(self): # <<<<<<<<<<<<<< + * raise TypeError, "no default __reduce__ due to non-trivial __cinit__" + * def __setstate_cython__(self, __pyx_state): + */ + +/* Python wrapper */ +static PyObject *__pyx_pw___pyx_memoryviewslice_1__reduce_cython__(PyObject *__pyx_v_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static PyObject *__pyx_pw___pyx_memoryviewslice_1__reduce_cython__(PyObject *__pyx_v_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +) { + #if !CYTHON_METH_FASTCALL + CYTHON_UNUSED Py_ssize_t __pyx_nargs; + #endif + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__reduce_cython__ (wrapper)", 0); + #if !CYTHON_METH_FASTCALL + #if CYTHON_ASSUME_SAFE_MACROS + __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); + #else + __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL; + #endif + #endif + __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs); + if (unlikely(__pyx_nargs > 0)) { + __Pyx_RaiseArgtupleInvalid("__reduce_cython__", 1, 0, 0, __pyx_nargs); return NULL;} + if (unlikely(__pyx_kwds) && __Pyx_NumKwargs_FASTCALL(__pyx_kwds) && unlikely(!__Pyx_CheckKeywordStrings(__pyx_kwds, "__reduce_cython__", 0))) return NULL; + __pyx_r = __pyx_pf___pyx_memoryviewslice___reduce_cython__(((struct __pyx_memoryviewslice_obj *)__pyx_v_self)); + + /* function exit code */ + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_pf___pyx_memoryviewslice___reduce_cython__(CYTHON_UNUSED struct __pyx_memoryviewslice_obj *__pyx_v_self) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("__reduce_cython__", 1); + + /* "(tree fragment)":2 + * def __reduce_cython__(self): + * raise TypeError, "no default __reduce__ due to non-trivial __cinit__" # <<<<<<<<<<<<<< + * def __setstate_cython__(self, __pyx_state): + * raise TypeError, "no default __reduce__ due to non-trivial __cinit__" + */ + __Pyx_Raise(__pyx_builtin_TypeError, __pyx_kp_s_no_default___reduce___due_to_non, 0, 0); + __PYX_ERR(1, 2, __pyx_L1_error) + + /* "(tree fragment)":1 + * def __reduce_cython__(self): # <<<<<<<<<<<<<< + * raise TypeError, "no default __reduce__ due to non-trivial __cinit__" + * def __setstate_cython__(self, __pyx_state): + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_AddTraceback("View.MemoryView._memoryviewslice.__reduce_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "(tree fragment)":3 + * def __reduce_cython__(self): + * raise TypeError, "no default __reduce__ due to non-trivial __cinit__" + * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< + * raise TypeError, "no default __reduce__ due to non-trivial __cinit__" + */ + +/* Python wrapper */ +static PyObject *__pyx_pw___pyx_memoryviewslice_3__setstate_cython__(PyObject *__pyx_v_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static PyObject *__pyx_pw___pyx_memoryviewslice_3__setstate_cython__(PyObject *__pyx_v_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +) { + CYTHON_UNUSED PyObject *__pyx_v___pyx_state = 0; + #if !CYTHON_METH_FASTCALL + CYTHON_UNUSED Py_ssize_t __pyx_nargs; + #endif + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject* values[1] = {0}; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__setstate_cython__ (wrapper)", 0); + #if !CYTHON_METH_FASTCALL + #if CYTHON_ASSUME_SAFE_MACROS + __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); + #else + __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL; + #endif + #endif + __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs); + { + PyObject **__pyx_pyargnames[] = {&__pyx_n_s_pyx_state,0}; + if (__pyx_kwds) { + Py_ssize_t kw_args; + switch (__pyx_nargs) { + case 1: values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); + CYTHON_FALLTHROUGH; + case 0: break; + default: goto __pyx_L5_argtuple_error; + } + kw_args = __Pyx_NumKwargs_FASTCALL(__pyx_kwds); + switch (__pyx_nargs) { + case 0: + if (likely((values[0] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_pyx_state)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[0]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(1, 3, __pyx_L3_error) + else goto __pyx_L5_argtuple_error; + } + if (unlikely(kw_args > 0)) { + const Py_ssize_t kwd_pos_args = __pyx_nargs; + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "__setstate_cython__") < 0)) __PYX_ERR(1, 3, __pyx_L3_error) + } + } else if (unlikely(__pyx_nargs != 1)) { + goto __pyx_L5_argtuple_error; + } else { + values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); + } + __pyx_v___pyx_state = values[0]; + } + goto __pyx_L6_skip; + __pyx_L5_argtuple_error:; + __Pyx_RaiseArgtupleInvalid("__setstate_cython__", 1, 1, 1, __pyx_nargs); __PYX_ERR(1, 3, __pyx_L3_error) + __pyx_L6_skip:; + goto __pyx_L4_argument_unpacking_done; + __pyx_L3_error:; + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]); + } + } + __Pyx_AddTraceback("View.MemoryView._memoryviewslice.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename); + __Pyx_RefNannyFinishContext(); + return NULL; + __pyx_L4_argument_unpacking_done:; + __pyx_r = __pyx_pf___pyx_memoryviewslice_2__setstate_cython__(((struct __pyx_memoryviewslice_obj *)__pyx_v_self), __pyx_v___pyx_state); + + /* function exit code */ + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]); + } + } + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_pf___pyx_memoryviewslice_2__setstate_cython__(CYTHON_UNUSED struct __pyx_memoryviewslice_obj *__pyx_v_self, CYTHON_UNUSED PyObject *__pyx_v___pyx_state) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("__setstate_cython__", 1); + + /* "(tree fragment)":4 + * raise TypeError, "no default __reduce__ due to non-trivial __cinit__" + * def __setstate_cython__(self, __pyx_state): + * raise TypeError, "no default __reduce__ due to non-trivial __cinit__" # <<<<<<<<<<<<<< + */ + __Pyx_Raise(__pyx_builtin_TypeError, __pyx_kp_s_no_default___reduce___due_to_non, 0, 0); + __PYX_ERR(1, 4, __pyx_L1_error) + + /* "(tree fragment)":3 + * def __reduce_cython__(self): + * raise TypeError, "no default __reduce__ due to non-trivial __cinit__" + * def __setstate_cython__(self, __pyx_state): # <<<<<<<<<<<<<< + * raise TypeError, "no default __reduce__ due to non-trivial __cinit__" + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_AddTraceback("View.MemoryView._memoryviewslice.__setstate_cython__", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":999 + * + * @cname('__pyx_memoryview_fromslice') + * cdef memoryview_fromslice(__Pyx_memviewslice memviewslice, # <<<<<<<<<<<<<< + * int ndim, + * object (*to_object_func)(char *), + */ + +static PyObject *__pyx_memoryview_fromslice(__Pyx_memviewslice __pyx_v_memviewslice, int __pyx_v_ndim, PyObject *(*__pyx_v_to_object_func)(char *), int (*__pyx_v_to_dtype_func)(char *, PyObject *), int __pyx_v_dtype_is_object) { + struct __pyx_memoryviewslice_obj *__pyx_v_result = 0; + Py_ssize_t __pyx_v_suboffset; + PyObject *__pyx_v_length = NULL; + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + int __pyx_t_1; + PyObject *__pyx_t_2 = NULL; + PyObject *__pyx_t_3 = NULL; + __Pyx_TypeInfo *__pyx_t_4; + Py_buffer __pyx_t_5; + Py_ssize_t *__pyx_t_6; + Py_ssize_t *__pyx_t_7; + Py_ssize_t *__pyx_t_8; + Py_ssize_t __pyx_t_9; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("memoryview_fromslice", 1); + + /* "View.MemoryView":1007 + * cdef _memoryviewslice result + * + * if memviewslice.memview == Py_None: # <<<<<<<<<<<<<< + * return None + * + */ + __pyx_t_1 = (((PyObject *)__pyx_v_memviewslice.memview) == Py_None); + if (__pyx_t_1) { + + /* "View.MemoryView":1008 + * + * if memviewslice.memview == Py_None: + * return None # <<<<<<<<<<<<<< + * + * + */ + __Pyx_XDECREF(__pyx_r); + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + goto __pyx_L0; + + /* "View.MemoryView":1007 + * cdef _memoryviewslice result + * + * if memviewslice.memview == Py_None: # <<<<<<<<<<<<<< + * return None + * + */ + } + + /* "View.MemoryView":1013 + * + * + * result = _memoryviewslice.__new__(_memoryviewslice, None, 0, dtype_is_object) # <<<<<<<<<<<<<< + * + * result.from_slice = memviewslice + */ + __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_v_dtype_is_object); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1013, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_3 = PyTuple_New(3); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1013, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_INCREF(Py_None); + __Pyx_GIVEREF(Py_None); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 0, Py_None)) __PYX_ERR(1, 1013, __pyx_L1_error); + __Pyx_INCREF(__pyx_int_0); + __Pyx_GIVEREF(__pyx_int_0); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_int_0)) __PYX_ERR(1, 1013, __pyx_L1_error); + __Pyx_GIVEREF(__pyx_t_2); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 2, __pyx_t_2)) __PYX_ERR(1, 1013, __pyx_L1_error); + __pyx_t_2 = 0; + __pyx_t_2 = ((PyObject *)__pyx_tp_new__memoryviewslice(((PyTypeObject *)__pyx_memoryviewslice_type), __pyx_t_3, NULL)); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1013, __pyx_L1_error) + __Pyx_GOTREF((PyObject *)__pyx_t_2); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_v_result = ((struct __pyx_memoryviewslice_obj *)__pyx_t_2); + __pyx_t_2 = 0; + + /* "View.MemoryView":1015 + * result = _memoryviewslice.__new__(_memoryviewslice, None, 0, dtype_is_object) + * + * result.from_slice = memviewslice # <<<<<<<<<<<<<< + * __PYX_INC_MEMVIEW(&memviewslice, 1) + * + */ + __pyx_v_result->from_slice = __pyx_v_memviewslice; + + /* "View.MemoryView":1016 + * + * result.from_slice = memviewslice + * __PYX_INC_MEMVIEW(&memviewslice, 1) # <<<<<<<<<<<<<< + * + * result.from_object = ( memviewslice.memview)._get_base() + */ + __PYX_INC_MEMVIEW((&__pyx_v_memviewslice), 1); + + /* "View.MemoryView":1018 + * __PYX_INC_MEMVIEW(&memviewslice, 1) + * + * result.from_object = ( memviewslice.memview)._get_base() # <<<<<<<<<<<<<< + * result.typeinfo = memviewslice.memview.typeinfo + * + */ + __pyx_t_2 = ((struct __pyx_vtabstruct_memoryview *)((struct __pyx_memoryview_obj *)__pyx_v_memviewslice.memview)->__pyx_vtab)->_get_base(((struct __pyx_memoryview_obj *)__pyx_v_memviewslice.memview)); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1018, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_GIVEREF(__pyx_t_2); + __Pyx_GOTREF(__pyx_v_result->from_object); + __Pyx_DECREF(__pyx_v_result->from_object); + __pyx_v_result->from_object = __pyx_t_2; + __pyx_t_2 = 0; + + /* "View.MemoryView":1019 + * + * result.from_object = ( memviewslice.memview)._get_base() + * result.typeinfo = memviewslice.memview.typeinfo # <<<<<<<<<<<<<< + * + * result.view = memviewslice.memview.view + */ + __pyx_t_4 = __pyx_v_memviewslice.memview->typeinfo; + __pyx_v_result->__pyx_base.typeinfo = __pyx_t_4; + + /* "View.MemoryView":1021 + * result.typeinfo = memviewslice.memview.typeinfo + * + * result.view = memviewslice.memview.view # <<<<<<<<<<<<<< + * result.view.buf = memviewslice.data + * result.view.ndim = ndim + */ + __pyx_t_5 = __pyx_v_memviewslice.memview->view; + __pyx_v_result->__pyx_base.view = __pyx_t_5; + + /* "View.MemoryView":1022 + * + * result.view = memviewslice.memview.view + * result.view.buf = memviewslice.data # <<<<<<<<<<<<<< + * result.view.ndim = ndim + * (<__pyx_buffer *> &result.view).obj = Py_None + */ + __pyx_v_result->__pyx_base.view.buf = ((void *)__pyx_v_memviewslice.data); + + /* "View.MemoryView":1023 + * result.view = memviewslice.memview.view + * result.view.buf = memviewslice.data + * result.view.ndim = ndim # <<<<<<<<<<<<<< + * (<__pyx_buffer *> &result.view).obj = Py_None + * Py_INCREF(Py_None) + */ + __pyx_v_result->__pyx_base.view.ndim = __pyx_v_ndim; + + /* "View.MemoryView":1024 + * result.view.buf = memviewslice.data + * result.view.ndim = ndim + * (<__pyx_buffer *> &result.view).obj = Py_None # <<<<<<<<<<<<<< + * Py_INCREF(Py_None) + * + */ + ((Py_buffer *)(&__pyx_v_result->__pyx_base.view))->obj = Py_None; + + /* "View.MemoryView":1025 + * result.view.ndim = ndim + * (<__pyx_buffer *> &result.view).obj = Py_None + * Py_INCREF(Py_None) # <<<<<<<<<<<<<< + * + * if (memviewslice.memview).flags & PyBUF_WRITABLE: + */ + Py_INCREF(Py_None); + + /* "View.MemoryView":1027 + * Py_INCREF(Py_None) + * + * if (memviewslice.memview).flags & PyBUF_WRITABLE: # <<<<<<<<<<<<<< + * result.flags = PyBUF_RECORDS + * else: + */ + __pyx_t_1 = ((((struct __pyx_memoryview_obj *)__pyx_v_memviewslice.memview)->flags & PyBUF_WRITABLE) != 0); + if (__pyx_t_1) { + + /* "View.MemoryView":1028 + * + * if (memviewslice.memview).flags & PyBUF_WRITABLE: + * result.flags = PyBUF_RECORDS # <<<<<<<<<<<<<< + * else: + * result.flags = PyBUF_RECORDS_RO + */ + __pyx_v_result->__pyx_base.flags = PyBUF_RECORDS; + + /* "View.MemoryView":1027 + * Py_INCREF(Py_None) + * + * if (memviewslice.memview).flags & PyBUF_WRITABLE: # <<<<<<<<<<<<<< + * result.flags = PyBUF_RECORDS + * else: + */ + goto __pyx_L4; + } + + /* "View.MemoryView":1030 + * result.flags = PyBUF_RECORDS + * else: + * result.flags = PyBUF_RECORDS_RO # <<<<<<<<<<<<<< + * + * result.view.shape = result.from_slice.shape + */ + /*else*/ { + __pyx_v_result->__pyx_base.flags = PyBUF_RECORDS_RO; + } + __pyx_L4:; + + /* "View.MemoryView":1032 + * result.flags = PyBUF_RECORDS_RO + * + * result.view.shape = result.from_slice.shape # <<<<<<<<<<<<<< + * result.view.strides = result.from_slice.strides + * + */ + __pyx_v_result->__pyx_base.view.shape = ((Py_ssize_t *)__pyx_v_result->from_slice.shape); + + /* "View.MemoryView":1033 + * + * result.view.shape = result.from_slice.shape + * result.view.strides = result.from_slice.strides # <<<<<<<<<<<<<< + * + * + */ + __pyx_v_result->__pyx_base.view.strides = ((Py_ssize_t *)__pyx_v_result->from_slice.strides); + + /* "View.MemoryView":1036 + * + * + * result.view.suboffsets = NULL # <<<<<<<<<<<<<< + * for suboffset in result.from_slice.suboffsets[:ndim]: + * if suboffset >= 0: + */ + __pyx_v_result->__pyx_base.view.suboffsets = NULL; + + /* "View.MemoryView":1037 + * + * result.view.suboffsets = NULL + * for suboffset in result.from_slice.suboffsets[:ndim]: # <<<<<<<<<<<<<< + * if suboffset >= 0: + * result.view.suboffsets = result.from_slice.suboffsets + */ + __pyx_t_7 = (__pyx_v_result->from_slice.suboffsets + __pyx_v_ndim); + for (__pyx_t_8 = __pyx_v_result->from_slice.suboffsets; __pyx_t_8 < __pyx_t_7; __pyx_t_8++) { + __pyx_t_6 = __pyx_t_8; + __pyx_v_suboffset = (__pyx_t_6[0]); + + /* "View.MemoryView":1038 + * result.view.suboffsets = NULL + * for suboffset in result.from_slice.suboffsets[:ndim]: + * if suboffset >= 0: # <<<<<<<<<<<<<< + * result.view.suboffsets = result.from_slice.suboffsets + * break + */ + __pyx_t_1 = (__pyx_v_suboffset >= 0); + if (__pyx_t_1) { + + /* "View.MemoryView":1039 + * for suboffset in result.from_slice.suboffsets[:ndim]: + * if suboffset >= 0: + * result.view.suboffsets = result.from_slice.suboffsets # <<<<<<<<<<<<<< + * break + * + */ + __pyx_v_result->__pyx_base.view.suboffsets = ((Py_ssize_t *)__pyx_v_result->from_slice.suboffsets); + + /* "View.MemoryView":1040 + * if suboffset >= 0: + * result.view.suboffsets = result.from_slice.suboffsets + * break # <<<<<<<<<<<<<< + * + * result.view.len = result.view.itemsize + */ + goto __pyx_L6_break; + + /* "View.MemoryView":1038 + * result.view.suboffsets = NULL + * for suboffset in result.from_slice.suboffsets[:ndim]: + * if suboffset >= 0: # <<<<<<<<<<<<<< + * result.view.suboffsets = result.from_slice.suboffsets + * break + */ + } + } + __pyx_L6_break:; + + /* "View.MemoryView":1042 + * break + * + * result.view.len = result.view.itemsize # <<<<<<<<<<<<<< + * for length in result.view.shape[:ndim]: + * result.view.len *= length + */ + __pyx_t_9 = __pyx_v_result->__pyx_base.view.itemsize; + __pyx_v_result->__pyx_base.view.len = __pyx_t_9; + + /* "View.MemoryView":1043 + * + * result.view.len = result.view.itemsize + * for length in result.view.shape[:ndim]: # <<<<<<<<<<<<<< + * result.view.len *= length + * + */ + __pyx_t_7 = (__pyx_v_result->__pyx_base.view.shape + __pyx_v_ndim); + for (__pyx_t_8 = __pyx_v_result->__pyx_base.view.shape; __pyx_t_8 < __pyx_t_7; __pyx_t_8++) { + __pyx_t_6 = __pyx_t_8; + __pyx_t_2 = PyInt_FromSsize_t((__pyx_t_6[0])); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1043, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_XDECREF_SET(__pyx_v_length, __pyx_t_2); + __pyx_t_2 = 0; + + /* "View.MemoryView":1044 + * result.view.len = result.view.itemsize + * for length in result.view.shape[:ndim]: + * result.view.len *= length # <<<<<<<<<<<<<< + * + * result.to_object_func = to_object_func + */ + __pyx_t_2 = PyInt_FromSsize_t(__pyx_v_result->__pyx_base.view.len); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1044, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_3 = PyNumber_InPlaceMultiply(__pyx_t_2, __pyx_v_length); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 1044, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_9 = __Pyx_PyIndex_AsSsize_t(__pyx_t_3); if (unlikely((__pyx_t_9 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(1, 1044, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_v_result->__pyx_base.view.len = __pyx_t_9; + } + + /* "View.MemoryView":1046 + * result.view.len *= length + * + * result.to_object_func = to_object_func # <<<<<<<<<<<<<< + * result.to_dtype_func = to_dtype_func + * + */ + __pyx_v_result->to_object_func = __pyx_v_to_object_func; + + /* "View.MemoryView":1047 + * + * result.to_object_func = to_object_func + * result.to_dtype_func = to_dtype_func # <<<<<<<<<<<<<< + * + * return result + */ + __pyx_v_result->to_dtype_func = __pyx_v_to_dtype_func; + + /* "View.MemoryView":1049 + * result.to_dtype_func = to_dtype_func + * + * return result # <<<<<<<<<<<<<< + * + * @cname('__pyx_memoryview_get_slice_from_memoryview') + */ + __Pyx_XDECREF(__pyx_r); + __Pyx_INCREF((PyObject *)__pyx_v_result); + __pyx_r = ((PyObject *)__pyx_v_result); + goto __pyx_L0; + + /* "View.MemoryView":999 + * + * @cname('__pyx_memoryview_fromslice') + * cdef memoryview_fromslice(__Pyx_memviewslice memviewslice, # <<<<<<<<<<<<<< + * int ndim, + * object (*to_object_func)(char *), + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_2); + __Pyx_XDECREF(__pyx_t_3); + __Pyx_AddTraceback("View.MemoryView.memoryview_fromslice", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = 0; + __pyx_L0:; + __Pyx_XDECREF((PyObject *)__pyx_v_result); + __Pyx_XDECREF(__pyx_v_length); + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":1052 + * + * @cname('__pyx_memoryview_get_slice_from_memoryview') + * cdef __Pyx_memviewslice *get_slice_from_memview(memoryview memview, # <<<<<<<<<<<<<< + * __Pyx_memviewslice *mslice) except NULL: + * cdef _memoryviewslice obj + */ + +static __Pyx_memviewslice *__pyx_memoryview_get_slice_from_memoryview(struct __pyx_memoryview_obj *__pyx_v_memview, __Pyx_memviewslice *__pyx_v_mslice) { + struct __pyx_memoryviewslice_obj *__pyx_v_obj = 0; + __Pyx_memviewslice *__pyx_r; + __Pyx_RefNannyDeclarations + int __pyx_t_1; + PyObject *__pyx_t_2 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("get_slice_from_memview", 1); + + /* "View.MemoryView":1055 + * __Pyx_memviewslice *mslice) except NULL: + * cdef _memoryviewslice obj + * if isinstance(memview, _memoryviewslice): # <<<<<<<<<<<<<< + * obj = memview + * return &obj.from_slice + */ + __pyx_t_1 = __Pyx_TypeCheck(((PyObject *)__pyx_v_memview), __pyx_memoryviewslice_type); + if (__pyx_t_1) { + + /* "View.MemoryView":1056 + * cdef _memoryviewslice obj + * if isinstance(memview, _memoryviewslice): + * obj = memview # <<<<<<<<<<<<<< + * return &obj.from_slice + * else: + */ + if (!(likely(((((PyObject *)__pyx_v_memview)) == Py_None) || likely(__Pyx_TypeTest(((PyObject *)__pyx_v_memview), __pyx_memoryviewslice_type))))) __PYX_ERR(1, 1056, __pyx_L1_error) + __pyx_t_2 = ((PyObject *)__pyx_v_memview); + __Pyx_INCREF(__pyx_t_2); + __pyx_v_obj = ((struct __pyx_memoryviewslice_obj *)__pyx_t_2); + __pyx_t_2 = 0; + + /* "View.MemoryView":1057 + * if isinstance(memview, _memoryviewslice): + * obj = memview + * return &obj.from_slice # <<<<<<<<<<<<<< + * else: + * slice_copy(memview, mslice) + */ + __pyx_r = (&__pyx_v_obj->from_slice); + goto __pyx_L0; + + /* "View.MemoryView":1055 + * __Pyx_memviewslice *mslice) except NULL: + * cdef _memoryviewslice obj + * if isinstance(memview, _memoryviewslice): # <<<<<<<<<<<<<< + * obj = memview + * return &obj.from_slice + */ + } + + /* "View.MemoryView":1059 + * return &obj.from_slice + * else: + * slice_copy(memview, mslice) # <<<<<<<<<<<<<< + * return mslice + * + */ + /*else*/ { + __pyx_memoryview_slice_copy(__pyx_v_memview, __pyx_v_mslice); + + /* "View.MemoryView":1060 + * else: + * slice_copy(memview, mslice) + * return mslice # <<<<<<<<<<<<<< + * + * @cname('__pyx_memoryview_slice_copy') + */ + __pyx_r = __pyx_v_mslice; + goto __pyx_L0; + } + + /* "View.MemoryView":1052 + * + * @cname('__pyx_memoryview_get_slice_from_memoryview') + * cdef __Pyx_memviewslice *get_slice_from_memview(memoryview memview, # <<<<<<<<<<<<<< + * __Pyx_memviewslice *mslice) except NULL: + * cdef _memoryviewslice obj + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_2); + __Pyx_AddTraceback("View.MemoryView.get_slice_from_memview", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __pyx_L0:; + __Pyx_XDECREF((PyObject *)__pyx_v_obj); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":1063 + * + * @cname('__pyx_memoryview_slice_copy') + * cdef void slice_copy(memoryview memview, __Pyx_memviewslice *dst) noexcept: # <<<<<<<<<<<<<< + * cdef int dim + * cdef (Py_ssize_t*) shape, strides, suboffsets + */ + +static void __pyx_memoryview_slice_copy(struct __pyx_memoryview_obj *__pyx_v_memview, __Pyx_memviewslice *__pyx_v_dst) { + int __pyx_v_dim; + Py_ssize_t *__pyx_v_shape; + Py_ssize_t *__pyx_v_strides; + Py_ssize_t *__pyx_v_suboffsets; + Py_ssize_t *__pyx_t_1; + int __pyx_t_2; + int __pyx_t_3; + int __pyx_t_4; + Py_ssize_t __pyx_t_5; + int __pyx_t_6; + + /* "View.MemoryView":1067 + * cdef (Py_ssize_t*) shape, strides, suboffsets + * + * shape = memview.view.shape # <<<<<<<<<<<<<< + * strides = memview.view.strides + * suboffsets = memview.view.suboffsets + */ + __pyx_t_1 = __pyx_v_memview->view.shape; + __pyx_v_shape = __pyx_t_1; + + /* "View.MemoryView":1068 + * + * shape = memview.view.shape + * strides = memview.view.strides # <<<<<<<<<<<<<< + * suboffsets = memview.view.suboffsets + * + */ + __pyx_t_1 = __pyx_v_memview->view.strides; + __pyx_v_strides = __pyx_t_1; + + /* "View.MemoryView":1069 + * shape = memview.view.shape + * strides = memview.view.strides + * suboffsets = memview.view.suboffsets # <<<<<<<<<<<<<< + * + * dst.memview = <__pyx_memoryview *> memview + */ + __pyx_t_1 = __pyx_v_memview->view.suboffsets; + __pyx_v_suboffsets = __pyx_t_1; + + /* "View.MemoryView":1071 + * suboffsets = memview.view.suboffsets + * + * dst.memview = <__pyx_memoryview *> memview # <<<<<<<<<<<<<< + * dst.data = memview.view.buf + * + */ + __pyx_v_dst->memview = ((struct __pyx_memoryview_obj *)__pyx_v_memview); + + /* "View.MemoryView":1072 + * + * dst.memview = <__pyx_memoryview *> memview + * dst.data = memview.view.buf # <<<<<<<<<<<<<< + * + * for dim in range(memview.view.ndim): + */ + __pyx_v_dst->data = ((char *)__pyx_v_memview->view.buf); + + /* "View.MemoryView":1074 + * dst.data = memview.view.buf + * + * for dim in range(memview.view.ndim): # <<<<<<<<<<<<<< + * dst.shape[dim] = shape[dim] + * dst.strides[dim] = strides[dim] + */ + __pyx_t_2 = __pyx_v_memview->view.ndim; + __pyx_t_3 = __pyx_t_2; + for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) { + __pyx_v_dim = __pyx_t_4; + + /* "View.MemoryView":1075 + * + * for dim in range(memview.view.ndim): + * dst.shape[dim] = shape[dim] # <<<<<<<<<<<<<< + * dst.strides[dim] = strides[dim] + * dst.suboffsets[dim] = suboffsets[dim] if suboffsets else -1 + */ + (__pyx_v_dst->shape[__pyx_v_dim]) = (__pyx_v_shape[__pyx_v_dim]); + + /* "View.MemoryView":1076 + * for dim in range(memview.view.ndim): + * dst.shape[dim] = shape[dim] + * dst.strides[dim] = strides[dim] # <<<<<<<<<<<<<< + * dst.suboffsets[dim] = suboffsets[dim] if suboffsets else -1 + * + */ + (__pyx_v_dst->strides[__pyx_v_dim]) = (__pyx_v_strides[__pyx_v_dim]); + + /* "View.MemoryView":1077 + * dst.shape[dim] = shape[dim] + * dst.strides[dim] = strides[dim] + * dst.suboffsets[dim] = suboffsets[dim] if suboffsets else -1 # <<<<<<<<<<<<<< + * + * @cname('__pyx_memoryview_copy_object') + */ + __pyx_t_6 = (__pyx_v_suboffsets != 0); + if (__pyx_t_6) { + __pyx_t_5 = (__pyx_v_suboffsets[__pyx_v_dim]); + } else { + __pyx_t_5 = -1L; + } + (__pyx_v_dst->suboffsets[__pyx_v_dim]) = __pyx_t_5; + } + + /* "View.MemoryView":1063 + * + * @cname('__pyx_memoryview_slice_copy') + * cdef void slice_copy(memoryview memview, __Pyx_memviewslice *dst) noexcept: # <<<<<<<<<<<<<< + * cdef int dim + * cdef (Py_ssize_t*) shape, strides, suboffsets + */ + + /* function exit code */ +} + +/* "View.MemoryView":1080 + * + * @cname('__pyx_memoryview_copy_object') + * cdef memoryview_copy(memoryview memview): # <<<<<<<<<<<<<< + * "Create a new memoryview object" + * cdef __Pyx_memviewslice memviewslice + */ + +static PyObject *__pyx_memoryview_copy_object(struct __pyx_memoryview_obj *__pyx_v_memview) { + __Pyx_memviewslice __pyx_v_memviewslice; + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("memoryview_copy", 1); + + /* "View.MemoryView":1083 + * "Create a new memoryview object" + * cdef __Pyx_memviewslice memviewslice + * slice_copy(memview, &memviewslice) # <<<<<<<<<<<<<< + * return memoryview_copy_from_slice(memview, &memviewslice) + * + */ + __pyx_memoryview_slice_copy(__pyx_v_memview, (&__pyx_v_memviewslice)); + + /* "View.MemoryView":1084 + * cdef __Pyx_memviewslice memviewslice + * slice_copy(memview, &memviewslice) + * return memoryview_copy_from_slice(memview, &memviewslice) # <<<<<<<<<<<<<< + * + * @cname('__pyx_memoryview_copy_object_from_slice') + */ + __Pyx_XDECREF(__pyx_r); + __pyx_t_1 = __pyx_memoryview_copy_object_from_slice(__pyx_v_memview, (&__pyx_v_memviewslice)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1084, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_r = __pyx_t_1; + __pyx_t_1 = 0; + goto __pyx_L0; + + /* "View.MemoryView":1080 + * + * @cname('__pyx_memoryview_copy_object') + * cdef memoryview_copy(memoryview memview): # <<<<<<<<<<<<<< + * "Create a new memoryview object" + * cdef __Pyx_memviewslice memviewslice + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_AddTraceback("View.MemoryView.memoryview_copy", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = 0; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":1087 + * + * @cname('__pyx_memoryview_copy_object_from_slice') + * cdef memoryview_copy_from_slice(memoryview memview, __Pyx_memviewslice *memviewslice): # <<<<<<<<<<<<<< + * """ + * Create a new memoryview object from a given memoryview object and slice. + */ + +static PyObject *__pyx_memoryview_copy_object_from_slice(struct __pyx_memoryview_obj *__pyx_v_memview, __Pyx_memviewslice *__pyx_v_memviewslice) { + PyObject *(*__pyx_v_to_object_func)(char *); + int (*__pyx_v_to_dtype_func)(char *, PyObject *); + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + int __pyx_t_1; + PyObject *(*__pyx_t_2)(char *); + int (*__pyx_t_3)(char *, PyObject *); + PyObject *__pyx_t_4 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("memoryview_copy_from_slice", 1); + + /* "View.MemoryView":1094 + * cdef int (*to_dtype_func)(char *, object) except 0 + * + * if isinstance(memview, _memoryviewslice): # <<<<<<<<<<<<<< + * to_object_func = (<_memoryviewslice> memview).to_object_func + * to_dtype_func = (<_memoryviewslice> memview).to_dtype_func + */ + __pyx_t_1 = __Pyx_TypeCheck(((PyObject *)__pyx_v_memview), __pyx_memoryviewslice_type); + if (__pyx_t_1) { + + /* "View.MemoryView":1095 + * + * if isinstance(memview, _memoryviewslice): + * to_object_func = (<_memoryviewslice> memview).to_object_func # <<<<<<<<<<<<<< + * to_dtype_func = (<_memoryviewslice> memview).to_dtype_func + * else: + */ + __pyx_t_2 = ((struct __pyx_memoryviewslice_obj *)__pyx_v_memview)->to_object_func; + __pyx_v_to_object_func = __pyx_t_2; + + /* "View.MemoryView":1096 + * if isinstance(memview, _memoryviewslice): + * to_object_func = (<_memoryviewslice> memview).to_object_func + * to_dtype_func = (<_memoryviewslice> memview).to_dtype_func # <<<<<<<<<<<<<< + * else: + * to_object_func = NULL + */ + __pyx_t_3 = ((struct __pyx_memoryviewslice_obj *)__pyx_v_memview)->to_dtype_func; + __pyx_v_to_dtype_func = __pyx_t_3; + + /* "View.MemoryView":1094 + * cdef int (*to_dtype_func)(char *, object) except 0 + * + * if isinstance(memview, _memoryviewslice): # <<<<<<<<<<<<<< + * to_object_func = (<_memoryviewslice> memview).to_object_func + * to_dtype_func = (<_memoryviewslice> memview).to_dtype_func + */ + goto __pyx_L3; + } + + /* "View.MemoryView":1098 + * to_dtype_func = (<_memoryviewslice> memview).to_dtype_func + * else: + * to_object_func = NULL # <<<<<<<<<<<<<< + * to_dtype_func = NULL + * + */ + /*else*/ { + __pyx_v_to_object_func = NULL; + + /* "View.MemoryView":1099 + * else: + * to_object_func = NULL + * to_dtype_func = NULL # <<<<<<<<<<<<<< + * + * return memoryview_fromslice(memviewslice[0], memview.view.ndim, + */ + __pyx_v_to_dtype_func = NULL; + } + __pyx_L3:; + + /* "View.MemoryView":1101 + * to_dtype_func = NULL + * + * return memoryview_fromslice(memviewslice[0], memview.view.ndim, # <<<<<<<<<<<<<< + * to_object_func, to_dtype_func, + * memview.dtype_is_object) + */ + __Pyx_XDECREF(__pyx_r); + + /* "View.MemoryView":1103 + * return memoryview_fromslice(memviewslice[0], memview.view.ndim, + * to_object_func, to_dtype_func, + * memview.dtype_is_object) # <<<<<<<<<<<<<< + * + * + */ + __pyx_t_4 = __pyx_memoryview_fromslice((__pyx_v_memviewslice[0]), __pyx_v_memview->view.ndim, __pyx_v_to_object_func, __pyx_v_to_dtype_func, __pyx_v_memview->dtype_is_object); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1101, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_r = __pyx_t_4; + __pyx_t_4 = 0; + goto __pyx_L0; + + /* "View.MemoryView":1087 + * + * @cname('__pyx_memoryview_copy_object_from_slice') + * cdef memoryview_copy_from_slice(memoryview memview, __Pyx_memviewslice *memviewslice): # <<<<<<<<<<<<<< + * """ + * Create a new memoryview object from a given memoryview object and slice. + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_4); + __Pyx_AddTraceback("View.MemoryView.memoryview_copy_from_slice", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = 0; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "View.MemoryView":1109 + * + * + * cdef Py_ssize_t abs_py_ssize_t(Py_ssize_t arg) noexcept nogil: # <<<<<<<<<<<<<< + * return -arg if arg < 0 else arg + * + */ + +static Py_ssize_t abs_py_ssize_t(Py_ssize_t __pyx_v_arg) { + Py_ssize_t __pyx_r; + Py_ssize_t __pyx_t_1; + int __pyx_t_2; + + /* "View.MemoryView":1110 + * + * cdef Py_ssize_t abs_py_ssize_t(Py_ssize_t arg) noexcept nogil: + * return -arg if arg < 0 else arg # <<<<<<<<<<<<<< + * + * @cname('__pyx_get_best_slice_order') + */ + __pyx_t_2 = (__pyx_v_arg < 0); + if (__pyx_t_2) { + __pyx_t_1 = (-__pyx_v_arg); + } else { + __pyx_t_1 = __pyx_v_arg; + } + __pyx_r = __pyx_t_1; + goto __pyx_L0; + + /* "View.MemoryView":1109 + * + * + * cdef Py_ssize_t abs_py_ssize_t(Py_ssize_t arg) noexcept nogil: # <<<<<<<<<<<<<< + * return -arg if arg < 0 else arg + * + */ + + /* function exit code */ + __pyx_L0:; + return __pyx_r; +} + +/* "View.MemoryView":1113 + * + * @cname('__pyx_get_best_slice_order') + * cdef char get_best_order(__Pyx_memviewslice *mslice, int ndim) noexcept nogil: # <<<<<<<<<<<<<< + * """ + * Figure out the best memory access order for a given slice. + */ + +static char __pyx_get_best_slice_order(__Pyx_memviewslice *__pyx_v_mslice, int __pyx_v_ndim) { + int __pyx_v_i; + Py_ssize_t __pyx_v_c_stride; + Py_ssize_t __pyx_v_f_stride; + char __pyx_r; + int __pyx_t_1; + int __pyx_t_2; + int __pyx_t_3; + int __pyx_t_4; + + /* "View.MemoryView":1118 + * """ + * cdef int i + * cdef Py_ssize_t c_stride = 0 # <<<<<<<<<<<<<< + * cdef Py_ssize_t f_stride = 0 + * + */ + __pyx_v_c_stride = 0; + + /* "View.MemoryView":1119 + * cdef int i + * cdef Py_ssize_t c_stride = 0 + * cdef Py_ssize_t f_stride = 0 # <<<<<<<<<<<<<< + * + * for i in range(ndim - 1, -1, -1): + */ + __pyx_v_f_stride = 0; + + /* "View.MemoryView":1121 + * cdef Py_ssize_t f_stride = 0 + * + * for i in range(ndim - 1, -1, -1): # <<<<<<<<<<<<<< + * if mslice.shape[i] > 1: + * c_stride = mslice.strides[i] + */ + for (__pyx_t_1 = (__pyx_v_ndim - 1); __pyx_t_1 > -1; __pyx_t_1-=1) { + __pyx_v_i = __pyx_t_1; + + /* "View.MemoryView":1122 + * + * for i in range(ndim - 1, -1, -1): + * if mslice.shape[i] > 1: # <<<<<<<<<<<<<< + * c_stride = mslice.strides[i] + * break + */ + __pyx_t_2 = ((__pyx_v_mslice->shape[__pyx_v_i]) > 1); + if (__pyx_t_2) { + + /* "View.MemoryView":1123 + * for i in range(ndim - 1, -1, -1): + * if mslice.shape[i] > 1: + * c_stride = mslice.strides[i] # <<<<<<<<<<<<<< + * break + * + */ + __pyx_v_c_stride = (__pyx_v_mslice->strides[__pyx_v_i]); + + /* "View.MemoryView":1124 + * if mslice.shape[i] > 1: + * c_stride = mslice.strides[i] + * break # <<<<<<<<<<<<<< + * + * for i in range(ndim): + */ + goto __pyx_L4_break; + + /* "View.MemoryView":1122 + * + * for i in range(ndim - 1, -1, -1): + * if mslice.shape[i] > 1: # <<<<<<<<<<<<<< + * c_stride = mslice.strides[i] + * break + */ + } + } + __pyx_L4_break:; + + /* "View.MemoryView":1126 + * break + * + * for i in range(ndim): # <<<<<<<<<<<<<< + * if mslice.shape[i] > 1: + * f_stride = mslice.strides[i] + */ + __pyx_t_1 = __pyx_v_ndim; + __pyx_t_3 = __pyx_t_1; + for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) { + __pyx_v_i = __pyx_t_4; + + /* "View.MemoryView":1127 + * + * for i in range(ndim): + * if mslice.shape[i] > 1: # <<<<<<<<<<<<<< + * f_stride = mslice.strides[i] + * break + */ + __pyx_t_2 = ((__pyx_v_mslice->shape[__pyx_v_i]) > 1); + if (__pyx_t_2) { + + /* "View.MemoryView":1128 + * for i in range(ndim): + * if mslice.shape[i] > 1: + * f_stride = mslice.strides[i] # <<<<<<<<<<<<<< + * break + * + */ + __pyx_v_f_stride = (__pyx_v_mslice->strides[__pyx_v_i]); + + /* "View.MemoryView":1129 + * if mslice.shape[i] > 1: + * f_stride = mslice.strides[i] + * break # <<<<<<<<<<<<<< + * + * if abs_py_ssize_t(c_stride) <= abs_py_ssize_t(f_stride): + */ + goto __pyx_L7_break; + + /* "View.MemoryView":1127 + * + * for i in range(ndim): + * if mslice.shape[i] > 1: # <<<<<<<<<<<<<< + * f_stride = mslice.strides[i] + * break + */ + } + } + __pyx_L7_break:; + + /* "View.MemoryView":1131 + * break + * + * if abs_py_ssize_t(c_stride) <= abs_py_ssize_t(f_stride): # <<<<<<<<<<<<<< + * return 'C' + * else: + */ + __pyx_t_2 = (abs_py_ssize_t(__pyx_v_c_stride) <= abs_py_ssize_t(__pyx_v_f_stride)); + if (__pyx_t_2) { + + /* "View.MemoryView":1132 + * + * if abs_py_ssize_t(c_stride) <= abs_py_ssize_t(f_stride): + * return 'C' # <<<<<<<<<<<<<< + * else: + * return 'F' + */ + __pyx_r = 'C'; + goto __pyx_L0; + + /* "View.MemoryView":1131 + * break + * + * if abs_py_ssize_t(c_stride) <= abs_py_ssize_t(f_stride): # <<<<<<<<<<<<<< + * return 'C' + * else: + */ + } + + /* "View.MemoryView":1134 + * return 'C' + * else: + * return 'F' # <<<<<<<<<<<<<< + * + * @cython.cdivision(True) + */ + /*else*/ { + __pyx_r = 'F'; + goto __pyx_L0; + } + + /* "View.MemoryView":1113 + * + * @cname('__pyx_get_best_slice_order') + * cdef char get_best_order(__Pyx_memviewslice *mslice, int ndim) noexcept nogil: # <<<<<<<<<<<<<< + * """ + * Figure out the best memory access order for a given slice. + */ + + /* function exit code */ + __pyx_L0:; + return __pyx_r; +} + +/* "View.MemoryView":1137 + * + * @cython.cdivision(True) + * cdef void _copy_strided_to_strided(char *src_data, Py_ssize_t *src_strides, # <<<<<<<<<<<<<< + * char *dst_data, Py_ssize_t *dst_strides, + * Py_ssize_t *src_shape, Py_ssize_t *dst_shape, + */ + +static void _copy_strided_to_strided(char *__pyx_v_src_data, Py_ssize_t *__pyx_v_src_strides, char *__pyx_v_dst_data, Py_ssize_t *__pyx_v_dst_strides, Py_ssize_t *__pyx_v_src_shape, Py_ssize_t *__pyx_v_dst_shape, int __pyx_v_ndim, size_t __pyx_v_itemsize) { + CYTHON_UNUSED Py_ssize_t __pyx_v_i; + CYTHON_UNUSED Py_ssize_t __pyx_v_src_extent; + Py_ssize_t __pyx_v_dst_extent; + Py_ssize_t __pyx_v_src_stride; + Py_ssize_t __pyx_v_dst_stride; + int __pyx_t_1; + int __pyx_t_2; + Py_ssize_t __pyx_t_3; + Py_ssize_t __pyx_t_4; + Py_ssize_t __pyx_t_5; + + /* "View.MemoryView":1144 + * + * cdef Py_ssize_t i + * cdef Py_ssize_t src_extent = src_shape[0] # <<<<<<<<<<<<<< + * cdef Py_ssize_t dst_extent = dst_shape[0] + * cdef Py_ssize_t src_stride = src_strides[0] + */ + __pyx_v_src_extent = (__pyx_v_src_shape[0]); + + /* "View.MemoryView":1145 + * cdef Py_ssize_t i + * cdef Py_ssize_t src_extent = src_shape[0] + * cdef Py_ssize_t dst_extent = dst_shape[0] # <<<<<<<<<<<<<< + * cdef Py_ssize_t src_stride = src_strides[0] + * cdef Py_ssize_t dst_stride = dst_strides[0] + */ + __pyx_v_dst_extent = (__pyx_v_dst_shape[0]); + + /* "View.MemoryView":1146 + * cdef Py_ssize_t src_extent = src_shape[0] + * cdef Py_ssize_t dst_extent = dst_shape[0] + * cdef Py_ssize_t src_stride = src_strides[0] # <<<<<<<<<<<<<< + * cdef Py_ssize_t dst_stride = dst_strides[0] + * + */ + __pyx_v_src_stride = (__pyx_v_src_strides[0]); + + /* "View.MemoryView":1147 + * cdef Py_ssize_t dst_extent = dst_shape[0] + * cdef Py_ssize_t src_stride = src_strides[0] + * cdef Py_ssize_t dst_stride = dst_strides[0] # <<<<<<<<<<<<<< + * + * if ndim == 1: + */ + __pyx_v_dst_stride = (__pyx_v_dst_strides[0]); + + /* "View.MemoryView":1149 + * cdef Py_ssize_t dst_stride = dst_strides[0] + * + * if ndim == 1: # <<<<<<<<<<<<<< + * if (src_stride > 0 and dst_stride > 0 and + * src_stride == itemsize == dst_stride): + */ + __pyx_t_1 = (__pyx_v_ndim == 1); + if (__pyx_t_1) { + + /* "View.MemoryView":1150 + * + * if ndim == 1: + * if (src_stride > 0 and dst_stride > 0 and # <<<<<<<<<<<<<< + * src_stride == itemsize == dst_stride): + * memcpy(dst_data, src_data, itemsize * dst_extent) + */ + __pyx_t_2 = (__pyx_v_src_stride > 0); + if (__pyx_t_2) { + } else { + __pyx_t_1 = __pyx_t_2; + goto __pyx_L5_bool_binop_done; + } + __pyx_t_2 = (__pyx_v_dst_stride > 0); + if (__pyx_t_2) { + } else { + __pyx_t_1 = __pyx_t_2; + goto __pyx_L5_bool_binop_done; + } + + /* "View.MemoryView":1151 + * if ndim == 1: + * if (src_stride > 0 and dst_stride > 0 and + * src_stride == itemsize == dst_stride): # <<<<<<<<<<<<<< + * memcpy(dst_data, src_data, itemsize * dst_extent) + * else: + */ + __pyx_t_2 = (((size_t)__pyx_v_src_stride) == __pyx_v_itemsize); + if (__pyx_t_2) { + __pyx_t_2 = (__pyx_v_itemsize == ((size_t)__pyx_v_dst_stride)); + } + __pyx_t_1 = __pyx_t_2; + __pyx_L5_bool_binop_done:; + + /* "View.MemoryView":1150 + * + * if ndim == 1: + * if (src_stride > 0 and dst_stride > 0 and # <<<<<<<<<<<<<< + * src_stride == itemsize == dst_stride): + * memcpy(dst_data, src_data, itemsize * dst_extent) + */ + if (__pyx_t_1) { + + /* "View.MemoryView":1152 + * if (src_stride > 0 and dst_stride > 0 and + * src_stride == itemsize == dst_stride): + * memcpy(dst_data, src_data, itemsize * dst_extent) # <<<<<<<<<<<<<< + * else: + * for i in range(dst_extent): + */ + (void)(memcpy(__pyx_v_dst_data, __pyx_v_src_data, (__pyx_v_itemsize * __pyx_v_dst_extent))); + + /* "View.MemoryView":1150 + * + * if ndim == 1: + * if (src_stride > 0 and dst_stride > 0 and # <<<<<<<<<<<<<< + * src_stride == itemsize == dst_stride): + * memcpy(dst_data, src_data, itemsize * dst_extent) + */ + goto __pyx_L4; + } + + /* "View.MemoryView":1154 + * memcpy(dst_data, src_data, itemsize * dst_extent) + * else: + * for i in range(dst_extent): # <<<<<<<<<<<<<< + * memcpy(dst_data, src_data, itemsize) + * src_data += src_stride + */ + /*else*/ { + __pyx_t_3 = __pyx_v_dst_extent; + __pyx_t_4 = __pyx_t_3; + for (__pyx_t_5 = 0; __pyx_t_5 < __pyx_t_4; __pyx_t_5+=1) { + __pyx_v_i = __pyx_t_5; + + /* "View.MemoryView":1155 + * else: + * for i in range(dst_extent): + * memcpy(dst_data, src_data, itemsize) # <<<<<<<<<<<<<< + * src_data += src_stride + * dst_data += dst_stride + */ + (void)(memcpy(__pyx_v_dst_data, __pyx_v_src_data, __pyx_v_itemsize)); + + /* "View.MemoryView":1156 + * for i in range(dst_extent): + * memcpy(dst_data, src_data, itemsize) + * src_data += src_stride # <<<<<<<<<<<<<< + * dst_data += dst_stride + * else: + */ + __pyx_v_src_data = (__pyx_v_src_data + __pyx_v_src_stride); + + /* "View.MemoryView":1157 + * memcpy(dst_data, src_data, itemsize) + * src_data += src_stride + * dst_data += dst_stride # <<<<<<<<<<<<<< + * else: + * for i in range(dst_extent): + */ + __pyx_v_dst_data = (__pyx_v_dst_data + __pyx_v_dst_stride); + } + } + __pyx_L4:; + + /* "View.MemoryView":1149 + * cdef Py_ssize_t dst_stride = dst_strides[0] + * + * if ndim == 1: # <<<<<<<<<<<<<< + * if (src_stride > 0 and dst_stride > 0 and + * src_stride == itemsize == dst_stride): + */ + goto __pyx_L3; + } + + /* "View.MemoryView":1159 + * dst_data += dst_stride + * else: + * for i in range(dst_extent): # <<<<<<<<<<<<<< + * _copy_strided_to_strided(src_data, src_strides + 1, + * dst_data, dst_strides + 1, + */ + /*else*/ { + __pyx_t_3 = __pyx_v_dst_extent; + __pyx_t_4 = __pyx_t_3; + for (__pyx_t_5 = 0; __pyx_t_5 < __pyx_t_4; __pyx_t_5+=1) { + __pyx_v_i = __pyx_t_5; + + /* "View.MemoryView":1160 + * else: + * for i in range(dst_extent): + * _copy_strided_to_strided(src_data, src_strides + 1, # <<<<<<<<<<<<<< + * dst_data, dst_strides + 1, + * src_shape + 1, dst_shape + 1, + */ + _copy_strided_to_strided(__pyx_v_src_data, (__pyx_v_src_strides + 1), __pyx_v_dst_data, (__pyx_v_dst_strides + 1), (__pyx_v_src_shape + 1), (__pyx_v_dst_shape + 1), (__pyx_v_ndim - 1), __pyx_v_itemsize); + + /* "View.MemoryView":1164 + * src_shape + 1, dst_shape + 1, + * ndim - 1, itemsize) + * src_data += src_stride # <<<<<<<<<<<<<< + * dst_data += dst_stride + * + */ + __pyx_v_src_data = (__pyx_v_src_data + __pyx_v_src_stride); + + /* "View.MemoryView":1165 + * ndim - 1, itemsize) + * src_data += src_stride + * dst_data += dst_stride # <<<<<<<<<<<<<< + * + * cdef void copy_strided_to_strided(__Pyx_memviewslice *src, + */ + __pyx_v_dst_data = (__pyx_v_dst_data + __pyx_v_dst_stride); + } + } + __pyx_L3:; + + /* "View.MemoryView":1137 + * + * @cython.cdivision(True) + * cdef void _copy_strided_to_strided(char *src_data, Py_ssize_t *src_strides, # <<<<<<<<<<<<<< + * char *dst_data, Py_ssize_t *dst_strides, + * Py_ssize_t *src_shape, Py_ssize_t *dst_shape, + */ + + /* function exit code */ +} + +/* "View.MemoryView":1167 + * dst_data += dst_stride + * + * cdef void copy_strided_to_strided(__Pyx_memviewslice *src, # <<<<<<<<<<<<<< + * __Pyx_memviewslice *dst, + * int ndim, size_t itemsize) noexcept nogil: + */ + +static void copy_strided_to_strided(__Pyx_memviewslice *__pyx_v_src, __Pyx_memviewslice *__pyx_v_dst, int __pyx_v_ndim, size_t __pyx_v_itemsize) { + + /* "View.MemoryView":1170 + * __Pyx_memviewslice *dst, + * int ndim, size_t itemsize) noexcept nogil: + * _copy_strided_to_strided(src.data, src.strides, dst.data, dst.strides, # <<<<<<<<<<<<<< + * src.shape, dst.shape, ndim, itemsize) + * + */ + _copy_strided_to_strided(__pyx_v_src->data, __pyx_v_src->strides, __pyx_v_dst->data, __pyx_v_dst->strides, __pyx_v_src->shape, __pyx_v_dst->shape, __pyx_v_ndim, __pyx_v_itemsize); + + /* "View.MemoryView":1167 + * dst_data += dst_stride + * + * cdef void copy_strided_to_strided(__Pyx_memviewslice *src, # <<<<<<<<<<<<<< + * __Pyx_memviewslice *dst, + * int ndim, size_t itemsize) noexcept nogil: + */ + + /* function exit code */ +} + +/* "View.MemoryView":1174 + * + * @cname('__pyx_memoryview_slice_get_size') + * cdef Py_ssize_t slice_get_size(__Pyx_memviewslice *src, int ndim) noexcept nogil: # <<<<<<<<<<<<<< + * "Return the size of the memory occupied by the slice in number of bytes" + * cdef Py_ssize_t shape, size = src.memview.view.itemsize + */ + +static Py_ssize_t __pyx_memoryview_slice_get_size(__Pyx_memviewslice *__pyx_v_src, int __pyx_v_ndim) { + Py_ssize_t __pyx_v_shape; + Py_ssize_t __pyx_v_size; + Py_ssize_t __pyx_r; + Py_ssize_t __pyx_t_1; + Py_ssize_t *__pyx_t_2; + Py_ssize_t *__pyx_t_3; + Py_ssize_t *__pyx_t_4; + + /* "View.MemoryView":1176 + * cdef Py_ssize_t slice_get_size(__Pyx_memviewslice *src, int ndim) noexcept nogil: + * "Return the size of the memory occupied by the slice in number of bytes" + * cdef Py_ssize_t shape, size = src.memview.view.itemsize # <<<<<<<<<<<<<< + * + * for shape in src.shape[:ndim]: + */ + __pyx_t_1 = __pyx_v_src->memview->view.itemsize; + __pyx_v_size = __pyx_t_1; + + /* "View.MemoryView":1178 + * cdef Py_ssize_t shape, size = src.memview.view.itemsize + * + * for shape in src.shape[:ndim]: # <<<<<<<<<<<<<< + * size *= shape + * + */ + __pyx_t_3 = (__pyx_v_src->shape + __pyx_v_ndim); + for (__pyx_t_4 = __pyx_v_src->shape; __pyx_t_4 < __pyx_t_3; __pyx_t_4++) { + __pyx_t_2 = __pyx_t_4; + __pyx_v_shape = (__pyx_t_2[0]); + + /* "View.MemoryView":1179 + * + * for shape in src.shape[:ndim]: + * size *= shape # <<<<<<<<<<<<<< + * + * return size + */ + __pyx_v_size = (__pyx_v_size * __pyx_v_shape); + } + + /* "View.MemoryView":1181 + * size *= shape + * + * return size # <<<<<<<<<<<<<< + * + * @cname('__pyx_fill_contig_strides_array') + */ + __pyx_r = __pyx_v_size; + goto __pyx_L0; + + /* "View.MemoryView":1174 + * + * @cname('__pyx_memoryview_slice_get_size') + * cdef Py_ssize_t slice_get_size(__Pyx_memviewslice *src, int ndim) noexcept nogil: # <<<<<<<<<<<<<< + * "Return the size of the memory occupied by the slice in number of bytes" + * cdef Py_ssize_t shape, size = src.memview.view.itemsize + */ + + /* function exit code */ + __pyx_L0:; + return __pyx_r; +} + +/* "View.MemoryView":1184 + * + * @cname('__pyx_fill_contig_strides_array') + * cdef Py_ssize_t fill_contig_strides_array( # <<<<<<<<<<<<<< + * Py_ssize_t *shape, Py_ssize_t *strides, Py_ssize_t stride, + * int ndim, char order) noexcept nogil: + */ + +static Py_ssize_t __pyx_fill_contig_strides_array(Py_ssize_t *__pyx_v_shape, Py_ssize_t *__pyx_v_strides, Py_ssize_t __pyx_v_stride, int __pyx_v_ndim, char __pyx_v_order) { + int __pyx_v_idx; + Py_ssize_t __pyx_r; + int __pyx_t_1; + int __pyx_t_2; + int __pyx_t_3; + int __pyx_t_4; + + /* "View.MemoryView":1193 + * cdef int idx + * + * if order == 'F': # <<<<<<<<<<<<<< + * for idx in range(ndim): + * strides[idx] = stride + */ + __pyx_t_1 = (__pyx_v_order == 'F'); + if (__pyx_t_1) { + + /* "View.MemoryView":1194 + * + * if order == 'F': + * for idx in range(ndim): # <<<<<<<<<<<<<< + * strides[idx] = stride + * stride *= shape[idx] + */ + __pyx_t_2 = __pyx_v_ndim; + __pyx_t_3 = __pyx_t_2; + for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) { + __pyx_v_idx = __pyx_t_4; + + /* "View.MemoryView":1195 + * if order == 'F': + * for idx in range(ndim): + * strides[idx] = stride # <<<<<<<<<<<<<< + * stride *= shape[idx] + * else: + */ + (__pyx_v_strides[__pyx_v_idx]) = __pyx_v_stride; + + /* "View.MemoryView":1196 + * for idx in range(ndim): + * strides[idx] = stride + * stride *= shape[idx] # <<<<<<<<<<<<<< + * else: + * for idx in range(ndim - 1, -1, -1): + */ + __pyx_v_stride = (__pyx_v_stride * (__pyx_v_shape[__pyx_v_idx])); + } + + /* "View.MemoryView":1193 + * cdef int idx + * + * if order == 'F': # <<<<<<<<<<<<<< + * for idx in range(ndim): + * strides[idx] = stride + */ + goto __pyx_L3; + } + + /* "View.MemoryView":1198 + * stride *= shape[idx] + * else: + * for idx in range(ndim - 1, -1, -1): # <<<<<<<<<<<<<< + * strides[idx] = stride + * stride *= shape[idx] + */ + /*else*/ { + for (__pyx_t_2 = (__pyx_v_ndim - 1); __pyx_t_2 > -1; __pyx_t_2-=1) { + __pyx_v_idx = __pyx_t_2; + + /* "View.MemoryView":1199 + * else: + * for idx in range(ndim - 1, -1, -1): + * strides[idx] = stride # <<<<<<<<<<<<<< + * stride *= shape[idx] + * + */ + (__pyx_v_strides[__pyx_v_idx]) = __pyx_v_stride; + + /* "View.MemoryView":1200 + * for idx in range(ndim - 1, -1, -1): + * strides[idx] = stride + * stride *= shape[idx] # <<<<<<<<<<<<<< + * + * return stride + */ + __pyx_v_stride = (__pyx_v_stride * (__pyx_v_shape[__pyx_v_idx])); + } + } + __pyx_L3:; + + /* "View.MemoryView":1202 + * stride *= shape[idx] + * + * return stride # <<<<<<<<<<<<<< + * + * @cname('__pyx_memoryview_copy_data_to_temp') + */ + __pyx_r = __pyx_v_stride; + goto __pyx_L0; + + /* "View.MemoryView":1184 + * + * @cname('__pyx_fill_contig_strides_array') + * cdef Py_ssize_t fill_contig_strides_array( # <<<<<<<<<<<<<< + * Py_ssize_t *shape, Py_ssize_t *strides, Py_ssize_t stride, + * int ndim, char order) noexcept nogil: + */ + + /* function exit code */ + __pyx_L0:; + return __pyx_r; +} + +/* "View.MemoryView":1205 + * + * @cname('__pyx_memoryview_copy_data_to_temp') + * cdef void *copy_data_to_temp(__Pyx_memviewslice *src, # <<<<<<<<<<<<<< + * __Pyx_memviewslice *tmpslice, + * char order, + */ + +static void *__pyx_memoryview_copy_data_to_temp(__Pyx_memviewslice *__pyx_v_src, __Pyx_memviewslice *__pyx_v_tmpslice, char __pyx_v_order, int __pyx_v_ndim) { + int __pyx_v_i; + void *__pyx_v_result; + size_t __pyx_v_itemsize; + size_t __pyx_v_size; + void *__pyx_r; + Py_ssize_t __pyx_t_1; + int __pyx_t_2; + int __pyx_t_3; + struct __pyx_memoryview_obj *__pyx_t_4; + int __pyx_t_5; + int __pyx_t_6; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + #ifdef WITH_THREAD + PyGILState_STATE __pyx_gilstate_save; + #endif + + /* "View.MemoryView":1216 + * cdef void *result + * + * cdef size_t itemsize = src.memview.view.itemsize # <<<<<<<<<<<<<< + * cdef size_t size = slice_get_size(src, ndim) + * + */ + __pyx_t_1 = __pyx_v_src->memview->view.itemsize; + __pyx_v_itemsize = __pyx_t_1; + + /* "View.MemoryView":1217 + * + * cdef size_t itemsize = src.memview.view.itemsize + * cdef size_t size = slice_get_size(src, ndim) # <<<<<<<<<<<<<< + * + * result = malloc(size) + */ + __pyx_v_size = __pyx_memoryview_slice_get_size(__pyx_v_src, __pyx_v_ndim); + + /* "View.MemoryView":1219 + * cdef size_t size = slice_get_size(src, ndim) + * + * result = malloc(size) # <<<<<<<<<<<<<< + * if not result: + * _err_no_memory() + */ + __pyx_v_result = malloc(__pyx_v_size); + + /* "View.MemoryView":1220 + * + * result = malloc(size) + * if not result: # <<<<<<<<<<<<<< + * _err_no_memory() + * + */ + __pyx_t_2 = (!(__pyx_v_result != 0)); + if (__pyx_t_2) { + + /* "View.MemoryView":1221 + * result = malloc(size) + * if not result: + * _err_no_memory() # <<<<<<<<<<<<<< + * + * + */ + __pyx_t_3 = __pyx_memoryview_err_no_memory(); if (unlikely(__pyx_t_3 == ((int)-1))) __PYX_ERR(1, 1221, __pyx_L1_error) + + /* "View.MemoryView":1220 + * + * result = malloc(size) + * if not result: # <<<<<<<<<<<<<< + * _err_no_memory() + * + */ + } + + /* "View.MemoryView":1224 + * + * + * tmpslice.data = result # <<<<<<<<<<<<<< + * tmpslice.memview = src.memview + * for i in range(ndim): + */ + __pyx_v_tmpslice->data = ((char *)__pyx_v_result); + + /* "View.MemoryView":1225 + * + * tmpslice.data = result + * tmpslice.memview = src.memview # <<<<<<<<<<<<<< + * for i in range(ndim): + * tmpslice.shape[i] = src.shape[i] + */ + __pyx_t_4 = __pyx_v_src->memview; + __pyx_v_tmpslice->memview = __pyx_t_4; + + /* "View.MemoryView":1226 + * tmpslice.data = result + * tmpslice.memview = src.memview + * for i in range(ndim): # <<<<<<<<<<<<<< + * tmpslice.shape[i] = src.shape[i] + * tmpslice.suboffsets[i] = -1 + */ + __pyx_t_3 = __pyx_v_ndim; + __pyx_t_5 = __pyx_t_3; + for (__pyx_t_6 = 0; __pyx_t_6 < __pyx_t_5; __pyx_t_6+=1) { + __pyx_v_i = __pyx_t_6; + + /* "View.MemoryView":1227 + * tmpslice.memview = src.memview + * for i in range(ndim): + * tmpslice.shape[i] = src.shape[i] # <<<<<<<<<<<<<< + * tmpslice.suboffsets[i] = -1 + * + */ + (__pyx_v_tmpslice->shape[__pyx_v_i]) = (__pyx_v_src->shape[__pyx_v_i]); + + /* "View.MemoryView":1228 + * for i in range(ndim): + * tmpslice.shape[i] = src.shape[i] + * tmpslice.suboffsets[i] = -1 # <<<<<<<<<<<<<< + * + * fill_contig_strides_array(&tmpslice.shape[0], &tmpslice.strides[0], itemsize, ndim, order) + */ + (__pyx_v_tmpslice->suboffsets[__pyx_v_i]) = -1L; + } + + /* "View.MemoryView":1230 + * tmpslice.suboffsets[i] = -1 + * + * fill_contig_strides_array(&tmpslice.shape[0], &tmpslice.strides[0], itemsize, ndim, order) # <<<<<<<<<<<<<< + * + * + */ + (void)(__pyx_fill_contig_strides_array((&(__pyx_v_tmpslice->shape[0])), (&(__pyx_v_tmpslice->strides[0])), __pyx_v_itemsize, __pyx_v_ndim, __pyx_v_order)); + + /* "View.MemoryView":1233 + * + * + * for i in range(ndim): # <<<<<<<<<<<<<< + * if tmpslice.shape[i] == 1: + * tmpslice.strides[i] = 0 + */ + __pyx_t_3 = __pyx_v_ndim; + __pyx_t_5 = __pyx_t_3; + for (__pyx_t_6 = 0; __pyx_t_6 < __pyx_t_5; __pyx_t_6+=1) { + __pyx_v_i = __pyx_t_6; + + /* "View.MemoryView":1234 + * + * for i in range(ndim): + * if tmpslice.shape[i] == 1: # <<<<<<<<<<<<<< + * tmpslice.strides[i] = 0 + * + */ + __pyx_t_2 = ((__pyx_v_tmpslice->shape[__pyx_v_i]) == 1); + if (__pyx_t_2) { + + /* "View.MemoryView":1235 + * for i in range(ndim): + * if tmpslice.shape[i] == 1: + * tmpslice.strides[i] = 0 # <<<<<<<<<<<<<< + * + * if slice_is_contig(src[0], order, ndim): + */ + (__pyx_v_tmpslice->strides[__pyx_v_i]) = 0; + + /* "View.MemoryView":1234 + * + * for i in range(ndim): + * if tmpslice.shape[i] == 1: # <<<<<<<<<<<<<< + * tmpslice.strides[i] = 0 + * + */ + } + } + + /* "View.MemoryView":1237 + * tmpslice.strides[i] = 0 + * + * if slice_is_contig(src[0], order, ndim): # <<<<<<<<<<<<<< + * memcpy(result, src.data, size) + * else: + */ + __pyx_t_2 = __pyx_memviewslice_is_contig((__pyx_v_src[0]), __pyx_v_order, __pyx_v_ndim); + if (__pyx_t_2) { + + /* "View.MemoryView":1238 + * + * if slice_is_contig(src[0], order, ndim): + * memcpy(result, src.data, size) # <<<<<<<<<<<<<< + * else: + * copy_strided_to_strided(src, tmpslice, ndim, itemsize) + */ + (void)(memcpy(__pyx_v_result, __pyx_v_src->data, __pyx_v_size)); + + /* "View.MemoryView":1237 + * tmpslice.strides[i] = 0 + * + * if slice_is_contig(src[0], order, ndim): # <<<<<<<<<<<<<< + * memcpy(result, src.data, size) + * else: + */ + goto __pyx_L9; + } + + /* "View.MemoryView":1240 + * memcpy(result, src.data, size) + * else: + * copy_strided_to_strided(src, tmpslice, ndim, itemsize) # <<<<<<<<<<<<<< + * + * return result + */ + /*else*/ { + copy_strided_to_strided(__pyx_v_src, __pyx_v_tmpslice, __pyx_v_ndim, __pyx_v_itemsize); + } + __pyx_L9:; + + /* "View.MemoryView":1242 + * copy_strided_to_strided(src, tmpslice, ndim, itemsize) + * + * return result # <<<<<<<<<<<<<< + * + * + */ + __pyx_r = __pyx_v_result; + goto __pyx_L0; + + /* "View.MemoryView":1205 + * + * @cname('__pyx_memoryview_copy_data_to_temp') + * cdef void *copy_data_to_temp(__Pyx_memviewslice *src, # <<<<<<<<<<<<<< + * __Pyx_memviewslice *tmpslice, + * char order, + */ + + /* function exit code */ + __pyx_L1_error:; + #ifdef WITH_THREAD + __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); + #endif + __Pyx_AddTraceback("View.MemoryView.copy_data_to_temp", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + #ifdef WITH_THREAD + __Pyx_PyGILState_Release(__pyx_gilstate_save); + #endif + __pyx_L0:; + return __pyx_r; +} + +/* "View.MemoryView":1247 + * + * @cname('__pyx_memoryview_err_extents') + * cdef int _err_extents(int i, Py_ssize_t extent1, # <<<<<<<<<<<<<< + * Py_ssize_t extent2) except -1 with gil: + * raise ValueError, f"got differing extents in dimension {i} (got {extent1} and {extent2})" + */ + +static int __pyx_memoryview_err_extents(int __pyx_v_i, Py_ssize_t __pyx_v_extent1, Py_ssize_t __pyx_v_extent2) { + int __pyx_r; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + Py_ssize_t __pyx_t_2; + Py_UCS4 __pyx_t_3; + PyObject *__pyx_t_4 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + #ifdef WITH_THREAD + PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); + #endif + __Pyx_RefNannySetupContext("_err_extents", 0); + + /* "View.MemoryView":1249 + * cdef int _err_extents(int i, Py_ssize_t extent1, + * Py_ssize_t extent2) except -1 with gil: + * raise ValueError, f"got differing extents in dimension {i} (got {extent1} and {extent2})" # <<<<<<<<<<<<<< + * + * @cname('__pyx_memoryview_err_dim') + */ + __pyx_t_1 = PyTuple_New(7); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1249, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_t_2 = 0; + __pyx_t_3 = 127; + __Pyx_INCREF(__pyx_kp_u_got_differing_extents_in_dimensi); + __pyx_t_2 += 35; + __Pyx_GIVEREF(__pyx_kp_u_got_differing_extents_in_dimensi); + PyTuple_SET_ITEM(__pyx_t_1, 0, __pyx_kp_u_got_differing_extents_in_dimensi); + __pyx_t_4 = __Pyx_PyUnicode_From_int(__pyx_v_i, 0, ' ', 'd'); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1249, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_2 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_4); + __Pyx_GIVEREF(__pyx_t_4); + PyTuple_SET_ITEM(__pyx_t_1, 1, __pyx_t_4); + __pyx_t_4 = 0; + __Pyx_INCREF(__pyx_kp_u_got); + __pyx_t_2 += 6; + __Pyx_GIVEREF(__pyx_kp_u_got); + PyTuple_SET_ITEM(__pyx_t_1, 2, __pyx_kp_u_got); + __pyx_t_4 = __Pyx_PyUnicode_From_Py_ssize_t(__pyx_v_extent1, 0, ' ', 'd'); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1249, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_2 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_4); + __Pyx_GIVEREF(__pyx_t_4); + PyTuple_SET_ITEM(__pyx_t_1, 3, __pyx_t_4); + __pyx_t_4 = 0; + __Pyx_INCREF(__pyx_kp_u_and); + __pyx_t_2 += 5; + __Pyx_GIVEREF(__pyx_kp_u_and); + PyTuple_SET_ITEM(__pyx_t_1, 4, __pyx_kp_u_and); + __pyx_t_4 = __Pyx_PyUnicode_From_Py_ssize_t(__pyx_v_extent2, 0, ' ', 'd'); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1249, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_2 += __Pyx_PyUnicode_GET_LENGTH(__pyx_t_4); + __Pyx_GIVEREF(__pyx_t_4); + PyTuple_SET_ITEM(__pyx_t_1, 5, __pyx_t_4); + __pyx_t_4 = 0; + __Pyx_INCREF(__pyx_kp_u__7); + __pyx_t_2 += 1; + __Pyx_GIVEREF(__pyx_kp_u__7); + PyTuple_SET_ITEM(__pyx_t_1, 6, __pyx_kp_u__7); + __pyx_t_4 = __Pyx_PyUnicode_Join(__pyx_t_1, 7, __pyx_t_2, __pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 1249, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __Pyx_Raise(__pyx_builtin_ValueError, __pyx_t_4, 0, 0); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __PYX_ERR(1, 1249, __pyx_L1_error) + + /* "View.MemoryView":1247 + * + * @cname('__pyx_memoryview_err_extents') + * cdef int _err_extents(int i, Py_ssize_t extent1, # <<<<<<<<<<<<<< + * Py_ssize_t extent2) except -1 with gil: + * raise ValueError, f"got differing extents in dimension {i} (got {extent1} and {extent2})" + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_4); + __Pyx_AddTraceback("View.MemoryView._err_extents", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = -1; + __Pyx_RefNannyFinishContext(); + #ifdef WITH_THREAD + __Pyx_PyGILState_Release(__pyx_gilstate_save); + #endif + return __pyx_r; +} + +/* "View.MemoryView":1252 + * + * @cname('__pyx_memoryview_err_dim') + * cdef int _err_dim(PyObject *error, str msg, int dim) except -1 with gil: # <<<<<<<<<<<<<< + * raise error, msg % dim + * + */ + +static int __pyx_memoryview_err_dim(PyObject *__pyx_v_error, PyObject *__pyx_v_msg, int __pyx_v_dim) { + int __pyx_r; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + #ifdef WITH_THREAD + PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); + #endif + __Pyx_RefNannySetupContext("_err_dim", 0); + __Pyx_INCREF(__pyx_v_msg); + + /* "View.MemoryView":1253 + * @cname('__pyx_memoryview_err_dim') + * cdef int _err_dim(PyObject *error, str msg, int dim) except -1 with gil: + * raise error, msg % dim # <<<<<<<<<<<<<< + * + * @cname('__pyx_memoryview_err') + */ + __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_dim); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 1253, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_t_2 = __Pyx_PyString_FormatSafe(__pyx_v_msg, __pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(1, 1253, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __Pyx_Raise(((PyObject *)__pyx_v_error), __pyx_t_2, 0, 0); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __PYX_ERR(1, 1253, __pyx_L1_error) + + /* "View.MemoryView":1252 + * + * @cname('__pyx_memoryview_err_dim') + * cdef int _err_dim(PyObject *error, str msg, int dim) except -1 with gil: # <<<<<<<<<<<<<< + * raise error, msg % dim + * + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_2); + __Pyx_AddTraceback("View.MemoryView._err_dim", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = -1; + __Pyx_XDECREF(__pyx_v_msg); + __Pyx_RefNannyFinishContext(); + #ifdef WITH_THREAD + __Pyx_PyGILState_Release(__pyx_gilstate_save); + #endif + return __pyx_r; +} + +/* "View.MemoryView":1256 + * + * @cname('__pyx_memoryview_err') + * cdef int _err(PyObject *error, str msg) except -1 with gil: # <<<<<<<<<<<<<< + * raise error, msg + * + */ + +static int __pyx_memoryview_err(PyObject *__pyx_v_error, PyObject *__pyx_v_msg) { + int __pyx_r; + __Pyx_RefNannyDeclarations + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + #ifdef WITH_THREAD + PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); + #endif + __Pyx_RefNannySetupContext("_err", 0); + __Pyx_INCREF(__pyx_v_msg); + + /* "View.MemoryView":1257 + * @cname('__pyx_memoryview_err') + * cdef int _err(PyObject *error, str msg) except -1 with gil: + * raise error, msg # <<<<<<<<<<<<<< + * + * @cname('__pyx_memoryview_err_no_memory') + */ + __Pyx_Raise(((PyObject *)__pyx_v_error), __pyx_v_msg, 0, 0); + __PYX_ERR(1, 1257, __pyx_L1_error) + + /* "View.MemoryView":1256 + * + * @cname('__pyx_memoryview_err') + * cdef int _err(PyObject *error, str msg) except -1 with gil: # <<<<<<<<<<<<<< + * raise error, msg + * + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_AddTraceback("View.MemoryView._err", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = -1; + __Pyx_XDECREF(__pyx_v_msg); + __Pyx_RefNannyFinishContext(); + #ifdef WITH_THREAD + __Pyx_PyGILState_Release(__pyx_gilstate_save); + #endif + return __pyx_r; +} + +/* "View.MemoryView":1260 + * + * @cname('__pyx_memoryview_err_no_memory') + * cdef int _err_no_memory() except -1 with gil: # <<<<<<<<<<<<<< + * raise MemoryError + * + */ + +static int __pyx_memoryview_err_no_memory(void) { + int __pyx_r; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + #ifdef WITH_THREAD + PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); + #endif + + /* "View.MemoryView":1261 + * @cname('__pyx_memoryview_err_no_memory') + * cdef int _err_no_memory() except -1 with gil: + * raise MemoryError # <<<<<<<<<<<<<< + * + * + */ + PyErr_NoMemory(); __PYX_ERR(1, 1261, __pyx_L1_error) + + /* "View.MemoryView":1260 + * + * @cname('__pyx_memoryview_err_no_memory') + * cdef int _err_no_memory() except -1 with gil: # <<<<<<<<<<<<<< + * raise MemoryError + * + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_AddTraceback("View.MemoryView._err_no_memory", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = -1; + #ifdef WITH_THREAD + __Pyx_PyGILState_Release(__pyx_gilstate_save); + #endif + return __pyx_r; +} + +/* "View.MemoryView":1265 + * + * @cname('__pyx_memoryview_copy_contents') + * cdef int memoryview_copy_contents(__Pyx_memviewslice src, # <<<<<<<<<<<<<< + * __Pyx_memviewslice dst, + * int src_ndim, int dst_ndim, + */ + +static int __pyx_memoryview_copy_contents(__Pyx_memviewslice __pyx_v_src, __Pyx_memviewslice __pyx_v_dst, int __pyx_v_src_ndim, int __pyx_v_dst_ndim, int __pyx_v_dtype_is_object) { + void *__pyx_v_tmpdata; + size_t __pyx_v_itemsize; + int __pyx_v_i; + char __pyx_v_order; + int __pyx_v_broadcasting; + int __pyx_v_direct_copy; + __Pyx_memviewslice __pyx_v_tmp; + int __pyx_v_ndim; + int __pyx_r; + Py_ssize_t __pyx_t_1; + int __pyx_t_2; + int __pyx_t_3; + int __pyx_t_4; + int __pyx_t_5; + int __pyx_t_6; + void *__pyx_t_7; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + #ifdef WITH_THREAD + PyGILState_STATE __pyx_gilstate_save; + #endif + + /* "View.MemoryView":1273 + * Check for overlapping memory and verify the shapes. + * """ + * cdef void *tmpdata = NULL # <<<<<<<<<<<<<< + * cdef size_t itemsize = src.memview.view.itemsize + * cdef int i + */ + __pyx_v_tmpdata = NULL; + + /* "View.MemoryView":1274 + * """ + * cdef void *tmpdata = NULL + * cdef size_t itemsize = src.memview.view.itemsize # <<<<<<<<<<<<<< + * cdef int i + * cdef char order = get_best_order(&src, src_ndim) + */ + __pyx_t_1 = __pyx_v_src.memview->view.itemsize; + __pyx_v_itemsize = __pyx_t_1; + + /* "View.MemoryView":1276 + * cdef size_t itemsize = src.memview.view.itemsize + * cdef int i + * cdef char order = get_best_order(&src, src_ndim) # <<<<<<<<<<<<<< + * cdef bint broadcasting = False + * cdef bint direct_copy = False + */ + __pyx_v_order = __pyx_get_best_slice_order((&__pyx_v_src), __pyx_v_src_ndim); + + /* "View.MemoryView":1277 + * cdef int i + * cdef char order = get_best_order(&src, src_ndim) + * cdef bint broadcasting = False # <<<<<<<<<<<<<< + * cdef bint direct_copy = False + * cdef __Pyx_memviewslice tmp + */ + __pyx_v_broadcasting = 0; + + /* "View.MemoryView":1278 + * cdef char order = get_best_order(&src, src_ndim) + * cdef bint broadcasting = False + * cdef bint direct_copy = False # <<<<<<<<<<<<<< + * cdef __Pyx_memviewslice tmp + * + */ + __pyx_v_direct_copy = 0; + + /* "View.MemoryView":1281 + * cdef __Pyx_memviewslice tmp + * + * if src_ndim < dst_ndim: # <<<<<<<<<<<<<< + * broadcast_leading(&src, src_ndim, dst_ndim) + * elif dst_ndim < src_ndim: + */ + __pyx_t_2 = (__pyx_v_src_ndim < __pyx_v_dst_ndim); + if (__pyx_t_2) { + + /* "View.MemoryView":1282 + * + * if src_ndim < dst_ndim: + * broadcast_leading(&src, src_ndim, dst_ndim) # <<<<<<<<<<<<<< + * elif dst_ndim < src_ndim: + * broadcast_leading(&dst, dst_ndim, src_ndim) + */ + __pyx_memoryview_broadcast_leading((&__pyx_v_src), __pyx_v_src_ndim, __pyx_v_dst_ndim); + + /* "View.MemoryView":1281 + * cdef __Pyx_memviewslice tmp + * + * if src_ndim < dst_ndim: # <<<<<<<<<<<<<< + * broadcast_leading(&src, src_ndim, dst_ndim) + * elif dst_ndim < src_ndim: + */ + goto __pyx_L3; + } + + /* "View.MemoryView":1283 + * if src_ndim < dst_ndim: + * broadcast_leading(&src, src_ndim, dst_ndim) + * elif dst_ndim < src_ndim: # <<<<<<<<<<<<<< + * broadcast_leading(&dst, dst_ndim, src_ndim) + * + */ + __pyx_t_2 = (__pyx_v_dst_ndim < __pyx_v_src_ndim); + if (__pyx_t_2) { + + /* "View.MemoryView":1284 + * broadcast_leading(&src, src_ndim, dst_ndim) + * elif dst_ndim < src_ndim: + * broadcast_leading(&dst, dst_ndim, src_ndim) # <<<<<<<<<<<<<< + * + * cdef int ndim = max(src_ndim, dst_ndim) + */ + __pyx_memoryview_broadcast_leading((&__pyx_v_dst), __pyx_v_dst_ndim, __pyx_v_src_ndim); + + /* "View.MemoryView":1283 + * if src_ndim < dst_ndim: + * broadcast_leading(&src, src_ndim, dst_ndim) + * elif dst_ndim < src_ndim: # <<<<<<<<<<<<<< + * broadcast_leading(&dst, dst_ndim, src_ndim) + * + */ + } + __pyx_L3:; + + /* "View.MemoryView":1286 + * broadcast_leading(&dst, dst_ndim, src_ndim) + * + * cdef int ndim = max(src_ndim, dst_ndim) # <<<<<<<<<<<<<< + * + * for i in range(ndim): + */ + __pyx_t_3 = __pyx_v_dst_ndim; + __pyx_t_4 = __pyx_v_src_ndim; + __pyx_t_2 = (__pyx_t_3 > __pyx_t_4); + if (__pyx_t_2) { + __pyx_t_5 = __pyx_t_3; + } else { + __pyx_t_5 = __pyx_t_4; + } + __pyx_v_ndim = __pyx_t_5; + + /* "View.MemoryView":1288 + * cdef int ndim = max(src_ndim, dst_ndim) + * + * for i in range(ndim): # <<<<<<<<<<<<<< + * if src.shape[i] != dst.shape[i]: + * if src.shape[i] == 1: + */ + __pyx_t_5 = __pyx_v_ndim; + __pyx_t_3 = __pyx_t_5; + for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) { + __pyx_v_i = __pyx_t_4; + + /* "View.MemoryView":1289 + * + * for i in range(ndim): + * if src.shape[i] != dst.shape[i]: # <<<<<<<<<<<<<< + * if src.shape[i] == 1: + * broadcasting = True + */ + __pyx_t_2 = ((__pyx_v_src.shape[__pyx_v_i]) != (__pyx_v_dst.shape[__pyx_v_i])); + if (__pyx_t_2) { + + /* "View.MemoryView":1290 + * for i in range(ndim): + * if src.shape[i] != dst.shape[i]: + * if src.shape[i] == 1: # <<<<<<<<<<<<<< + * broadcasting = True + * src.strides[i] = 0 + */ + __pyx_t_2 = ((__pyx_v_src.shape[__pyx_v_i]) == 1); + if (__pyx_t_2) { + + /* "View.MemoryView":1291 + * if src.shape[i] != dst.shape[i]: + * if src.shape[i] == 1: + * broadcasting = True # <<<<<<<<<<<<<< + * src.strides[i] = 0 + * else: + */ + __pyx_v_broadcasting = 1; + + /* "View.MemoryView":1292 + * if src.shape[i] == 1: + * broadcasting = True + * src.strides[i] = 0 # <<<<<<<<<<<<<< + * else: + * _err_extents(i, dst.shape[i], src.shape[i]) + */ + (__pyx_v_src.strides[__pyx_v_i]) = 0; + + /* "View.MemoryView":1290 + * for i in range(ndim): + * if src.shape[i] != dst.shape[i]: + * if src.shape[i] == 1: # <<<<<<<<<<<<<< + * broadcasting = True + * src.strides[i] = 0 + */ + goto __pyx_L7; + } + + /* "View.MemoryView":1294 + * src.strides[i] = 0 + * else: + * _err_extents(i, dst.shape[i], src.shape[i]) # <<<<<<<<<<<<<< + * + * if src.suboffsets[i] >= 0: + */ + /*else*/ { + __pyx_t_6 = __pyx_memoryview_err_extents(__pyx_v_i, (__pyx_v_dst.shape[__pyx_v_i]), (__pyx_v_src.shape[__pyx_v_i])); if (unlikely(__pyx_t_6 == ((int)-1))) __PYX_ERR(1, 1294, __pyx_L1_error) + } + __pyx_L7:; + + /* "View.MemoryView":1289 + * + * for i in range(ndim): + * if src.shape[i] != dst.shape[i]: # <<<<<<<<<<<<<< + * if src.shape[i] == 1: + * broadcasting = True + */ + } + + /* "View.MemoryView":1296 + * _err_extents(i, dst.shape[i], src.shape[i]) + * + * if src.suboffsets[i] >= 0: # <<<<<<<<<<<<<< + * _err_dim(PyExc_ValueError, "Dimension %d is not direct", i) + * + */ + __pyx_t_2 = ((__pyx_v_src.suboffsets[__pyx_v_i]) >= 0); + if (__pyx_t_2) { + + /* "View.MemoryView":1297 + * + * if src.suboffsets[i] >= 0: + * _err_dim(PyExc_ValueError, "Dimension %d is not direct", i) # <<<<<<<<<<<<<< + * + * if slices_overlap(&src, &dst, ndim, itemsize): + */ + __pyx_t_6 = __pyx_memoryview_err_dim(PyExc_ValueError, __pyx_kp_s_Dimension_d_is_not_direct, __pyx_v_i); if (unlikely(__pyx_t_6 == ((int)-1))) __PYX_ERR(1, 1297, __pyx_L1_error) + + /* "View.MemoryView":1296 + * _err_extents(i, dst.shape[i], src.shape[i]) + * + * if src.suboffsets[i] >= 0: # <<<<<<<<<<<<<< + * _err_dim(PyExc_ValueError, "Dimension %d is not direct", i) + * + */ + } + } + + /* "View.MemoryView":1299 + * _err_dim(PyExc_ValueError, "Dimension %d is not direct", i) + * + * if slices_overlap(&src, &dst, ndim, itemsize): # <<<<<<<<<<<<<< + * + * if not slice_is_contig(src, order, ndim): + */ + __pyx_t_2 = __pyx_slices_overlap((&__pyx_v_src), (&__pyx_v_dst), __pyx_v_ndim, __pyx_v_itemsize); + if (__pyx_t_2) { + + /* "View.MemoryView":1301 + * if slices_overlap(&src, &dst, ndim, itemsize): + * + * if not slice_is_contig(src, order, ndim): # <<<<<<<<<<<<<< + * order = get_best_order(&dst, ndim) + * + */ + __pyx_t_2 = (!__pyx_memviewslice_is_contig(__pyx_v_src, __pyx_v_order, __pyx_v_ndim)); + if (__pyx_t_2) { + + /* "View.MemoryView":1302 + * + * if not slice_is_contig(src, order, ndim): + * order = get_best_order(&dst, ndim) # <<<<<<<<<<<<<< + * + * tmpdata = copy_data_to_temp(&src, &tmp, order, ndim) + */ + __pyx_v_order = __pyx_get_best_slice_order((&__pyx_v_dst), __pyx_v_ndim); + + /* "View.MemoryView":1301 + * if slices_overlap(&src, &dst, ndim, itemsize): + * + * if not slice_is_contig(src, order, ndim): # <<<<<<<<<<<<<< + * order = get_best_order(&dst, ndim) + * + */ + } + + /* "View.MemoryView":1304 + * order = get_best_order(&dst, ndim) + * + * tmpdata = copy_data_to_temp(&src, &tmp, order, ndim) # <<<<<<<<<<<<<< + * src = tmp + * + */ + __pyx_t_7 = __pyx_memoryview_copy_data_to_temp((&__pyx_v_src), (&__pyx_v_tmp), __pyx_v_order, __pyx_v_ndim); if (unlikely(__pyx_t_7 == ((void *)NULL))) __PYX_ERR(1, 1304, __pyx_L1_error) + __pyx_v_tmpdata = __pyx_t_7; + + /* "View.MemoryView":1305 + * + * tmpdata = copy_data_to_temp(&src, &tmp, order, ndim) + * src = tmp # <<<<<<<<<<<<<< + * + * if not broadcasting: + */ + __pyx_v_src = __pyx_v_tmp; + + /* "View.MemoryView":1299 + * _err_dim(PyExc_ValueError, "Dimension %d is not direct", i) + * + * if slices_overlap(&src, &dst, ndim, itemsize): # <<<<<<<<<<<<<< + * + * if not slice_is_contig(src, order, ndim): + */ + } + + /* "View.MemoryView":1307 + * src = tmp + * + * if not broadcasting: # <<<<<<<<<<<<<< + * + * + */ + __pyx_t_2 = (!__pyx_v_broadcasting); + if (__pyx_t_2) { + + /* "View.MemoryView":1310 + * + * + * if slice_is_contig(src, 'C', ndim): # <<<<<<<<<<<<<< + * direct_copy = slice_is_contig(dst, 'C', ndim) + * elif slice_is_contig(src, 'F', ndim): + */ + __pyx_t_2 = __pyx_memviewslice_is_contig(__pyx_v_src, 'C', __pyx_v_ndim); + if (__pyx_t_2) { + + /* "View.MemoryView":1311 + * + * if slice_is_contig(src, 'C', ndim): + * direct_copy = slice_is_contig(dst, 'C', ndim) # <<<<<<<<<<<<<< + * elif slice_is_contig(src, 'F', ndim): + * direct_copy = slice_is_contig(dst, 'F', ndim) + */ + __pyx_v_direct_copy = __pyx_memviewslice_is_contig(__pyx_v_dst, 'C', __pyx_v_ndim); + + /* "View.MemoryView":1310 + * + * + * if slice_is_contig(src, 'C', ndim): # <<<<<<<<<<<<<< + * direct_copy = slice_is_contig(dst, 'C', ndim) + * elif slice_is_contig(src, 'F', ndim): + */ + goto __pyx_L12; + } + + /* "View.MemoryView":1312 + * if slice_is_contig(src, 'C', ndim): + * direct_copy = slice_is_contig(dst, 'C', ndim) + * elif slice_is_contig(src, 'F', ndim): # <<<<<<<<<<<<<< + * direct_copy = slice_is_contig(dst, 'F', ndim) + * + */ + __pyx_t_2 = __pyx_memviewslice_is_contig(__pyx_v_src, 'F', __pyx_v_ndim); + if (__pyx_t_2) { + + /* "View.MemoryView":1313 + * direct_copy = slice_is_contig(dst, 'C', ndim) + * elif slice_is_contig(src, 'F', ndim): + * direct_copy = slice_is_contig(dst, 'F', ndim) # <<<<<<<<<<<<<< + * + * if direct_copy: + */ + __pyx_v_direct_copy = __pyx_memviewslice_is_contig(__pyx_v_dst, 'F', __pyx_v_ndim); + + /* "View.MemoryView":1312 + * if slice_is_contig(src, 'C', ndim): + * direct_copy = slice_is_contig(dst, 'C', ndim) + * elif slice_is_contig(src, 'F', ndim): # <<<<<<<<<<<<<< + * direct_copy = slice_is_contig(dst, 'F', ndim) + * + */ + } + __pyx_L12:; + + /* "View.MemoryView":1315 + * direct_copy = slice_is_contig(dst, 'F', ndim) + * + * if direct_copy: # <<<<<<<<<<<<<< + * + * refcount_copying(&dst, dtype_is_object, ndim, inc=False) + */ + if (__pyx_v_direct_copy) { + + /* "View.MemoryView":1317 + * if direct_copy: + * + * refcount_copying(&dst, dtype_is_object, ndim, inc=False) # <<<<<<<<<<<<<< + * memcpy(dst.data, src.data, slice_get_size(&src, ndim)) + * refcount_copying(&dst, dtype_is_object, ndim, inc=True) + */ + __pyx_memoryview_refcount_copying((&__pyx_v_dst), __pyx_v_dtype_is_object, __pyx_v_ndim, 0); + + /* "View.MemoryView":1318 + * + * refcount_copying(&dst, dtype_is_object, ndim, inc=False) + * memcpy(dst.data, src.data, slice_get_size(&src, ndim)) # <<<<<<<<<<<<<< + * refcount_copying(&dst, dtype_is_object, ndim, inc=True) + * free(tmpdata) + */ + (void)(memcpy(__pyx_v_dst.data, __pyx_v_src.data, __pyx_memoryview_slice_get_size((&__pyx_v_src), __pyx_v_ndim))); + + /* "View.MemoryView":1319 + * refcount_copying(&dst, dtype_is_object, ndim, inc=False) + * memcpy(dst.data, src.data, slice_get_size(&src, ndim)) + * refcount_copying(&dst, dtype_is_object, ndim, inc=True) # <<<<<<<<<<<<<< + * free(tmpdata) + * return 0 + */ + __pyx_memoryview_refcount_copying((&__pyx_v_dst), __pyx_v_dtype_is_object, __pyx_v_ndim, 1); + + /* "View.MemoryView":1320 + * memcpy(dst.data, src.data, slice_get_size(&src, ndim)) + * refcount_copying(&dst, dtype_is_object, ndim, inc=True) + * free(tmpdata) # <<<<<<<<<<<<<< + * return 0 + * + */ + free(__pyx_v_tmpdata); + + /* "View.MemoryView":1321 + * refcount_copying(&dst, dtype_is_object, ndim, inc=True) + * free(tmpdata) + * return 0 # <<<<<<<<<<<<<< + * + * if order == 'F' == get_best_order(&dst, ndim): + */ + __pyx_r = 0; + goto __pyx_L0; + + /* "View.MemoryView":1315 + * direct_copy = slice_is_contig(dst, 'F', ndim) + * + * if direct_copy: # <<<<<<<<<<<<<< + * + * refcount_copying(&dst, dtype_is_object, ndim, inc=False) + */ + } + + /* "View.MemoryView":1307 + * src = tmp + * + * if not broadcasting: # <<<<<<<<<<<<<< + * + * + */ + } + + /* "View.MemoryView":1323 + * return 0 + * + * if order == 'F' == get_best_order(&dst, ndim): # <<<<<<<<<<<<<< + * + * + */ + __pyx_t_2 = (__pyx_v_order == 'F'); + if (__pyx_t_2) { + __pyx_t_2 = ('F' == __pyx_get_best_slice_order((&__pyx_v_dst), __pyx_v_ndim)); + } + if (__pyx_t_2) { + + /* "View.MemoryView":1326 + * + * + * transpose_memslice(&src) # <<<<<<<<<<<<<< + * transpose_memslice(&dst) + * + */ + __pyx_t_5 = __pyx_memslice_transpose((&__pyx_v_src)); if (unlikely(__pyx_t_5 == ((int)-1))) __PYX_ERR(1, 1326, __pyx_L1_error) + + /* "View.MemoryView":1327 + * + * transpose_memslice(&src) + * transpose_memslice(&dst) # <<<<<<<<<<<<<< + * + * refcount_copying(&dst, dtype_is_object, ndim, inc=False) + */ + __pyx_t_5 = __pyx_memslice_transpose((&__pyx_v_dst)); if (unlikely(__pyx_t_5 == ((int)-1))) __PYX_ERR(1, 1327, __pyx_L1_error) + + /* "View.MemoryView":1323 + * return 0 + * + * if order == 'F' == get_best_order(&dst, ndim): # <<<<<<<<<<<<<< + * + * + */ + } + + /* "View.MemoryView":1329 + * transpose_memslice(&dst) + * + * refcount_copying(&dst, dtype_is_object, ndim, inc=False) # <<<<<<<<<<<<<< + * copy_strided_to_strided(&src, &dst, ndim, itemsize) + * refcount_copying(&dst, dtype_is_object, ndim, inc=True) + */ + __pyx_memoryview_refcount_copying((&__pyx_v_dst), __pyx_v_dtype_is_object, __pyx_v_ndim, 0); + + /* "View.MemoryView":1330 + * + * refcount_copying(&dst, dtype_is_object, ndim, inc=False) + * copy_strided_to_strided(&src, &dst, ndim, itemsize) # <<<<<<<<<<<<<< + * refcount_copying(&dst, dtype_is_object, ndim, inc=True) + * + */ + copy_strided_to_strided((&__pyx_v_src), (&__pyx_v_dst), __pyx_v_ndim, __pyx_v_itemsize); + + /* "View.MemoryView":1331 + * refcount_copying(&dst, dtype_is_object, ndim, inc=False) + * copy_strided_to_strided(&src, &dst, ndim, itemsize) + * refcount_copying(&dst, dtype_is_object, ndim, inc=True) # <<<<<<<<<<<<<< + * + * free(tmpdata) + */ + __pyx_memoryview_refcount_copying((&__pyx_v_dst), __pyx_v_dtype_is_object, __pyx_v_ndim, 1); + + /* "View.MemoryView":1333 + * refcount_copying(&dst, dtype_is_object, ndim, inc=True) + * + * free(tmpdata) # <<<<<<<<<<<<<< + * return 0 + * + */ + free(__pyx_v_tmpdata); + + /* "View.MemoryView":1334 + * + * free(tmpdata) + * return 0 # <<<<<<<<<<<<<< + * + * @cname('__pyx_memoryview_broadcast_leading') + */ + __pyx_r = 0; + goto __pyx_L0; + + /* "View.MemoryView":1265 + * + * @cname('__pyx_memoryview_copy_contents') + * cdef int memoryview_copy_contents(__Pyx_memviewslice src, # <<<<<<<<<<<<<< + * __Pyx_memviewslice dst, + * int src_ndim, int dst_ndim, + */ + + /* function exit code */ + __pyx_L1_error:; + #ifdef WITH_THREAD + __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); + #endif + __Pyx_AddTraceback("View.MemoryView.memoryview_copy_contents", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = -1; + #ifdef WITH_THREAD + __Pyx_PyGILState_Release(__pyx_gilstate_save); + #endif + __pyx_L0:; + return __pyx_r; +} + +/* "View.MemoryView":1337 + * + * @cname('__pyx_memoryview_broadcast_leading') + * cdef void broadcast_leading(__Pyx_memviewslice *mslice, # <<<<<<<<<<<<<< + * int ndim, + * int ndim_other) noexcept nogil: + */ + +static void __pyx_memoryview_broadcast_leading(__Pyx_memviewslice *__pyx_v_mslice, int __pyx_v_ndim, int __pyx_v_ndim_other) { + int __pyx_v_i; + int __pyx_v_offset; + int __pyx_t_1; + int __pyx_t_2; + int __pyx_t_3; + + /* "View.MemoryView":1341 + * int ndim_other) noexcept nogil: + * cdef int i + * cdef int offset = ndim_other - ndim # <<<<<<<<<<<<<< + * + * for i in range(ndim - 1, -1, -1): + */ + __pyx_v_offset = (__pyx_v_ndim_other - __pyx_v_ndim); + + /* "View.MemoryView":1343 + * cdef int offset = ndim_other - ndim + * + * for i in range(ndim - 1, -1, -1): # <<<<<<<<<<<<<< + * mslice.shape[i + offset] = mslice.shape[i] + * mslice.strides[i + offset] = mslice.strides[i] + */ + for (__pyx_t_1 = (__pyx_v_ndim - 1); __pyx_t_1 > -1; __pyx_t_1-=1) { + __pyx_v_i = __pyx_t_1; + + /* "View.MemoryView":1344 + * + * for i in range(ndim - 1, -1, -1): + * mslice.shape[i + offset] = mslice.shape[i] # <<<<<<<<<<<<<< + * mslice.strides[i + offset] = mslice.strides[i] + * mslice.suboffsets[i + offset] = mslice.suboffsets[i] + */ + (__pyx_v_mslice->shape[(__pyx_v_i + __pyx_v_offset)]) = (__pyx_v_mslice->shape[__pyx_v_i]); + + /* "View.MemoryView":1345 + * for i in range(ndim - 1, -1, -1): + * mslice.shape[i + offset] = mslice.shape[i] + * mslice.strides[i + offset] = mslice.strides[i] # <<<<<<<<<<<<<< + * mslice.suboffsets[i + offset] = mslice.suboffsets[i] + * + */ + (__pyx_v_mslice->strides[(__pyx_v_i + __pyx_v_offset)]) = (__pyx_v_mslice->strides[__pyx_v_i]); + + /* "View.MemoryView":1346 + * mslice.shape[i + offset] = mslice.shape[i] + * mslice.strides[i + offset] = mslice.strides[i] + * mslice.suboffsets[i + offset] = mslice.suboffsets[i] # <<<<<<<<<<<<<< + * + * for i in range(offset): + */ + (__pyx_v_mslice->suboffsets[(__pyx_v_i + __pyx_v_offset)]) = (__pyx_v_mslice->suboffsets[__pyx_v_i]); + } + + /* "View.MemoryView":1348 + * mslice.suboffsets[i + offset] = mslice.suboffsets[i] + * + * for i in range(offset): # <<<<<<<<<<<<<< + * mslice.shape[i] = 1 + * mslice.strides[i] = mslice.strides[0] + */ + __pyx_t_1 = __pyx_v_offset; + __pyx_t_2 = __pyx_t_1; + for (__pyx_t_3 = 0; __pyx_t_3 < __pyx_t_2; __pyx_t_3+=1) { + __pyx_v_i = __pyx_t_3; + + /* "View.MemoryView":1349 + * + * for i in range(offset): + * mslice.shape[i] = 1 # <<<<<<<<<<<<<< + * mslice.strides[i] = mslice.strides[0] + * mslice.suboffsets[i] = -1 + */ + (__pyx_v_mslice->shape[__pyx_v_i]) = 1; + + /* "View.MemoryView":1350 + * for i in range(offset): + * mslice.shape[i] = 1 + * mslice.strides[i] = mslice.strides[0] # <<<<<<<<<<<<<< + * mslice.suboffsets[i] = -1 + * + */ + (__pyx_v_mslice->strides[__pyx_v_i]) = (__pyx_v_mslice->strides[0]); + + /* "View.MemoryView":1351 + * mslice.shape[i] = 1 + * mslice.strides[i] = mslice.strides[0] + * mslice.suboffsets[i] = -1 # <<<<<<<<<<<<<< + * + * + */ + (__pyx_v_mslice->suboffsets[__pyx_v_i]) = -1L; + } + + /* "View.MemoryView":1337 + * + * @cname('__pyx_memoryview_broadcast_leading') + * cdef void broadcast_leading(__Pyx_memviewslice *mslice, # <<<<<<<<<<<<<< + * int ndim, + * int ndim_other) noexcept nogil: + */ + + /* function exit code */ +} + +/* "View.MemoryView":1359 + * + * @cname('__pyx_memoryview_refcount_copying') + * cdef void refcount_copying(__Pyx_memviewslice *dst, bint dtype_is_object, int ndim, bint inc) noexcept nogil: # <<<<<<<<<<<<<< + * + * if dtype_is_object: + */ + +static void __pyx_memoryview_refcount_copying(__Pyx_memviewslice *__pyx_v_dst, int __pyx_v_dtype_is_object, int __pyx_v_ndim, int __pyx_v_inc) { + + /* "View.MemoryView":1361 + * cdef void refcount_copying(__Pyx_memviewslice *dst, bint dtype_is_object, int ndim, bint inc) noexcept nogil: + * + * if dtype_is_object: # <<<<<<<<<<<<<< + * refcount_objects_in_slice_with_gil(dst.data, dst.shape, dst.strides, ndim, inc) + * + */ + if (__pyx_v_dtype_is_object) { + + /* "View.MemoryView":1362 + * + * if dtype_is_object: + * refcount_objects_in_slice_with_gil(dst.data, dst.shape, dst.strides, ndim, inc) # <<<<<<<<<<<<<< + * + * @cname('__pyx_memoryview_refcount_objects_in_slice_with_gil') + */ + __pyx_memoryview_refcount_objects_in_slice_with_gil(__pyx_v_dst->data, __pyx_v_dst->shape, __pyx_v_dst->strides, __pyx_v_ndim, __pyx_v_inc); + + /* "View.MemoryView":1361 + * cdef void refcount_copying(__Pyx_memviewslice *dst, bint dtype_is_object, int ndim, bint inc) noexcept nogil: + * + * if dtype_is_object: # <<<<<<<<<<<<<< + * refcount_objects_in_slice_with_gil(dst.data, dst.shape, dst.strides, ndim, inc) + * + */ + } + + /* "View.MemoryView":1359 + * + * @cname('__pyx_memoryview_refcount_copying') + * cdef void refcount_copying(__Pyx_memviewslice *dst, bint dtype_is_object, int ndim, bint inc) noexcept nogil: # <<<<<<<<<<<<<< + * + * if dtype_is_object: + */ + + /* function exit code */ +} + +/* "View.MemoryView":1365 + * + * @cname('__pyx_memoryview_refcount_objects_in_slice_with_gil') + * cdef void refcount_objects_in_slice_with_gil(char *data, Py_ssize_t *shape, # <<<<<<<<<<<<<< + * Py_ssize_t *strides, int ndim, + * bint inc) noexcept with gil: + */ + +static void __pyx_memoryview_refcount_objects_in_slice_with_gil(char *__pyx_v_data, Py_ssize_t *__pyx_v_shape, Py_ssize_t *__pyx_v_strides, int __pyx_v_ndim, int __pyx_v_inc) { + #ifdef WITH_THREAD + PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); + #endif + + /* "View.MemoryView":1368 + * Py_ssize_t *strides, int ndim, + * bint inc) noexcept with gil: + * refcount_objects_in_slice(data, shape, strides, ndim, inc) # <<<<<<<<<<<<<< + * + * @cname('__pyx_memoryview_refcount_objects_in_slice') + */ + __pyx_memoryview_refcount_objects_in_slice(__pyx_v_data, __pyx_v_shape, __pyx_v_strides, __pyx_v_ndim, __pyx_v_inc); + + /* "View.MemoryView":1365 + * + * @cname('__pyx_memoryview_refcount_objects_in_slice_with_gil') + * cdef void refcount_objects_in_slice_with_gil(char *data, Py_ssize_t *shape, # <<<<<<<<<<<<<< + * Py_ssize_t *strides, int ndim, + * bint inc) noexcept with gil: + */ + + /* function exit code */ + #ifdef WITH_THREAD + __Pyx_PyGILState_Release(__pyx_gilstate_save); + #endif +} + +/* "View.MemoryView":1371 + * + * @cname('__pyx_memoryview_refcount_objects_in_slice') + * cdef void refcount_objects_in_slice(char *data, Py_ssize_t *shape, # <<<<<<<<<<<<<< + * Py_ssize_t *strides, int ndim, bint inc) noexcept: + * cdef Py_ssize_t i + */ + +static void __pyx_memoryview_refcount_objects_in_slice(char *__pyx_v_data, Py_ssize_t *__pyx_v_shape, Py_ssize_t *__pyx_v_strides, int __pyx_v_ndim, int __pyx_v_inc) { + CYTHON_UNUSED Py_ssize_t __pyx_v_i; + Py_ssize_t __pyx_v_stride; + Py_ssize_t __pyx_t_1; + Py_ssize_t __pyx_t_2; + Py_ssize_t __pyx_t_3; + int __pyx_t_4; + + /* "View.MemoryView":1374 + * Py_ssize_t *strides, int ndim, bint inc) noexcept: + * cdef Py_ssize_t i + * cdef Py_ssize_t stride = strides[0] # <<<<<<<<<<<<<< + * + * for i in range(shape[0]): + */ + __pyx_v_stride = (__pyx_v_strides[0]); + + /* "View.MemoryView":1376 + * cdef Py_ssize_t stride = strides[0] + * + * for i in range(shape[0]): # <<<<<<<<<<<<<< + * if ndim == 1: + * if inc: + */ + __pyx_t_1 = (__pyx_v_shape[0]); + __pyx_t_2 = __pyx_t_1; + for (__pyx_t_3 = 0; __pyx_t_3 < __pyx_t_2; __pyx_t_3+=1) { + __pyx_v_i = __pyx_t_3; + + /* "View.MemoryView":1377 + * + * for i in range(shape[0]): + * if ndim == 1: # <<<<<<<<<<<<<< + * if inc: + * Py_INCREF(( data)[0]) + */ + __pyx_t_4 = (__pyx_v_ndim == 1); + if (__pyx_t_4) { + + /* "View.MemoryView":1378 + * for i in range(shape[0]): + * if ndim == 1: + * if inc: # <<<<<<<<<<<<<< + * Py_INCREF(( data)[0]) + * else: + */ + if (__pyx_v_inc) { + + /* "View.MemoryView":1379 + * if ndim == 1: + * if inc: + * Py_INCREF(( data)[0]) # <<<<<<<<<<<<<< + * else: + * Py_DECREF(( data)[0]) + */ + Py_INCREF((((PyObject **)__pyx_v_data)[0])); + + /* "View.MemoryView":1378 + * for i in range(shape[0]): + * if ndim == 1: + * if inc: # <<<<<<<<<<<<<< + * Py_INCREF(( data)[0]) + * else: + */ + goto __pyx_L6; + } + + /* "View.MemoryView":1381 + * Py_INCREF(( data)[0]) + * else: + * Py_DECREF(( data)[0]) # <<<<<<<<<<<<<< + * else: + * refcount_objects_in_slice(data, shape + 1, strides + 1, ndim - 1, inc) + */ + /*else*/ { + Py_DECREF((((PyObject **)__pyx_v_data)[0])); + } + __pyx_L6:; + + /* "View.MemoryView":1377 + * + * for i in range(shape[0]): + * if ndim == 1: # <<<<<<<<<<<<<< + * if inc: + * Py_INCREF(( data)[0]) + */ + goto __pyx_L5; + } + + /* "View.MemoryView":1383 + * Py_DECREF(( data)[0]) + * else: + * refcount_objects_in_slice(data, shape + 1, strides + 1, ndim - 1, inc) # <<<<<<<<<<<<<< + * + * data += stride + */ + /*else*/ { + __pyx_memoryview_refcount_objects_in_slice(__pyx_v_data, (__pyx_v_shape + 1), (__pyx_v_strides + 1), (__pyx_v_ndim - 1), __pyx_v_inc); + } + __pyx_L5:; + + /* "View.MemoryView":1385 + * refcount_objects_in_slice(data, shape + 1, strides + 1, ndim - 1, inc) + * + * data += stride # <<<<<<<<<<<<<< + * + * + */ + __pyx_v_data = (__pyx_v_data + __pyx_v_stride); + } + + /* "View.MemoryView":1371 + * + * @cname('__pyx_memoryview_refcount_objects_in_slice') + * cdef void refcount_objects_in_slice(char *data, Py_ssize_t *shape, # <<<<<<<<<<<<<< + * Py_ssize_t *strides, int ndim, bint inc) noexcept: + * cdef Py_ssize_t i + */ + + /* function exit code */ +} + +/* "View.MemoryView":1391 + * + * @cname('__pyx_memoryview_slice_assign_scalar') + * cdef void slice_assign_scalar(__Pyx_memviewslice *dst, int ndim, # <<<<<<<<<<<<<< + * size_t itemsize, void *item, + * bint dtype_is_object) noexcept nogil: + */ + +static void __pyx_memoryview_slice_assign_scalar(__Pyx_memviewslice *__pyx_v_dst, int __pyx_v_ndim, size_t __pyx_v_itemsize, void *__pyx_v_item, int __pyx_v_dtype_is_object) { + + /* "View.MemoryView":1394 + * size_t itemsize, void *item, + * bint dtype_is_object) noexcept nogil: + * refcount_copying(dst, dtype_is_object, ndim, inc=False) # <<<<<<<<<<<<<< + * _slice_assign_scalar(dst.data, dst.shape, dst.strides, ndim, itemsize, item) + * refcount_copying(dst, dtype_is_object, ndim, inc=True) + */ + __pyx_memoryview_refcount_copying(__pyx_v_dst, __pyx_v_dtype_is_object, __pyx_v_ndim, 0); + + /* "View.MemoryView":1395 + * bint dtype_is_object) noexcept nogil: + * refcount_copying(dst, dtype_is_object, ndim, inc=False) + * _slice_assign_scalar(dst.data, dst.shape, dst.strides, ndim, itemsize, item) # <<<<<<<<<<<<<< + * refcount_copying(dst, dtype_is_object, ndim, inc=True) + * + */ + __pyx_memoryview__slice_assign_scalar(__pyx_v_dst->data, __pyx_v_dst->shape, __pyx_v_dst->strides, __pyx_v_ndim, __pyx_v_itemsize, __pyx_v_item); + + /* "View.MemoryView":1396 + * refcount_copying(dst, dtype_is_object, ndim, inc=False) + * _slice_assign_scalar(dst.data, dst.shape, dst.strides, ndim, itemsize, item) + * refcount_copying(dst, dtype_is_object, ndim, inc=True) # <<<<<<<<<<<<<< + * + * + */ + __pyx_memoryview_refcount_copying(__pyx_v_dst, __pyx_v_dtype_is_object, __pyx_v_ndim, 1); + + /* "View.MemoryView":1391 + * + * @cname('__pyx_memoryview_slice_assign_scalar') + * cdef void slice_assign_scalar(__Pyx_memviewslice *dst, int ndim, # <<<<<<<<<<<<<< + * size_t itemsize, void *item, + * bint dtype_is_object) noexcept nogil: + */ + + /* function exit code */ +} + +/* "View.MemoryView":1400 + * + * @cname('__pyx_memoryview__slice_assign_scalar') + * cdef void _slice_assign_scalar(char *data, Py_ssize_t *shape, # <<<<<<<<<<<<<< + * Py_ssize_t *strides, int ndim, + * size_t itemsize, void *item) noexcept nogil: + */ + +static void __pyx_memoryview__slice_assign_scalar(char *__pyx_v_data, Py_ssize_t *__pyx_v_shape, Py_ssize_t *__pyx_v_strides, int __pyx_v_ndim, size_t __pyx_v_itemsize, void *__pyx_v_item) { + CYTHON_UNUSED Py_ssize_t __pyx_v_i; + Py_ssize_t __pyx_v_stride; + Py_ssize_t __pyx_v_extent; + int __pyx_t_1; + Py_ssize_t __pyx_t_2; + Py_ssize_t __pyx_t_3; + Py_ssize_t __pyx_t_4; + + /* "View.MemoryView":1404 + * size_t itemsize, void *item) noexcept nogil: + * cdef Py_ssize_t i + * cdef Py_ssize_t stride = strides[0] # <<<<<<<<<<<<<< + * cdef Py_ssize_t extent = shape[0] + * + */ + __pyx_v_stride = (__pyx_v_strides[0]); + + /* "View.MemoryView":1405 + * cdef Py_ssize_t i + * cdef Py_ssize_t stride = strides[0] + * cdef Py_ssize_t extent = shape[0] # <<<<<<<<<<<<<< + * + * if ndim == 1: + */ + __pyx_v_extent = (__pyx_v_shape[0]); + + /* "View.MemoryView":1407 + * cdef Py_ssize_t extent = shape[0] + * + * if ndim == 1: # <<<<<<<<<<<<<< + * for i in range(extent): + * memcpy(data, item, itemsize) + */ + __pyx_t_1 = (__pyx_v_ndim == 1); + if (__pyx_t_1) { + + /* "View.MemoryView":1408 + * + * if ndim == 1: + * for i in range(extent): # <<<<<<<<<<<<<< + * memcpy(data, item, itemsize) + * data += stride + */ + __pyx_t_2 = __pyx_v_extent; + __pyx_t_3 = __pyx_t_2; + for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) { + __pyx_v_i = __pyx_t_4; + + /* "View.MemoryView":1409 + * if ndim == 1: + * for i in range(extent): + * memcpy(data, item, itemsize) # <<<<<<<<<<<<<< + * data += stride + * else: + */ + (void)(memcpy(__pyx_v_data, __pyx_v_item, __pyx_v_itemsize)); + + /* "View.MemoryView":1410 + * for i in range(extent): + * memcpy(data, item, itemsize) + * data += stride # <<<<<<<<<<<<<< + * else: + * for i in range(extent): + */ + __pyx_v_data = (__pyx_v_data + __pyx_v_stride); + } + + /* "View.MemoryView":1407 + * cdef Py_ssize_t extent = shape[0] + * + * if ndim == 1: # <<<<<<<<<<<<<< + * for i in range(extent): + * memcpy(data, item, itemsize) + */ + goto __pyx_L3; + } + + /* "View.MemoryView":1412 + * data += stride + * else: + * for i in range(extent): # <<<<<<<<<<<<<< + * _slice_assign_scalar(data, shape + 1, strides + 1, ndim - 1, itemsize, item) + * data += stride + */ + /*else*/ { + __pyx_t_2 = __pyx_v_extent; + __pyx_t_3 = __pyx_t_2; + for (__pyx_t_4 = 0; __pyx_t_4 < __pyx_t_3; __pyx_t_4+=1) { + __pyx_v_i = __pyx_t_4; + + /* "View.MemoryView":1413 + * else: + * for i in range(extent): + * _slice_assign_scalar(data, shape + 1, strides + 1, ndim - 1, itemsize, item) # <<<<<<<<<<<<<< + * data += stride + * + */ + __pyx_memoryview__slice_assign_scalar(__pyx_v_data, (__pyx_v_shape + 1), (__pyx_v_strides + 1), (__pyx_v_ndim - 1), __pyx_v_itemsize, __pyx_v_item); + + /* "View.MemoryView":1414 + * for i in range(extent): + * _slice_assign_scalar(data, shape + 1, strides + 1, ndim - 1, itemsize, item) + * data += stride # <<<<<<<<<<<<<< + * + * + */ + __pyx_v_data = (__pyx_v_data + __pyx_v_stride); + } + } + __pyx_L3:; + + /* "View.MemoryView":1400 + * + * @cname('__pyx_memoryview__slice_assign_scalar') + * cdef void _slice_assign_scalar(char *data, Py_ssize_t *shape, # <<<<<<<<<<<<<< + * Py_ssize_t *strides, int ndim, + * size_t itemsize, void *item) noexcept nogil: + */ + + /* function exit code */ +} + +/* "(tree fragment)":1 + * def __pyx_unpickle_Enum(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< + * cdef object __pyx_PickleError + * cdef object __pyx_result + */ + +/* Python wrapper */ +static PyObject *__pyx_pw_15View_dot_MemoryView_1__pyx_unpickle_Enum(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static PyMethodDef __pyx_mdef_15View_dot_MemoryView_1__pyx_unpickle_Enum = {"__pyx_unpickle_Enum", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_15View_dot_MemoryView_1__pyx_unpickle_Enum, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; +static PyObject *__pyx_pw_15View_dot_MemoryView_1__pyx_unpickle_Enum(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +) { + PyObject *__pyx_v___pyx_type = 0; + long __pyx_v___pyx_checksum; + PyObject *__pyx_v___pyx_state = 0; + #if !CYTHON_METH_FASTCALL + CYTHON_UNUSED Py_ssize_t __pyx_nargs; + #endif + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject* values[3] = {0,0,0}; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__pyx_unpickle_Enum (wrapper)", 0); + #if !CYTHON_METH_FASTCALL + #if CYTHON_ASSUME_SAFE_MACROS + __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); + #else + __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL; + #endif + #endif + __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs); + { + PyObject **__pyx_pyargnames[] = {&__pyx_n_s_pyx_type,&__pyx_n_s_pyx_checksum,&__pyx_n_s_pyx_state,0}; + if (__pyx_kwds) { + Py_ssize_t kw_args; + switch (__pyx_nargs) { + case 3: values[2] = __Pyx_Arg_FASTCALL(__pyx_args, 2); + CYTHON_FALLTHROUGH; + case 2: values[1] = __Pyx_Arg_FASTCALL(__pyx_args, 1); + CYTHON_FALLTHROUGH; + case 1: values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); + CYTHON_FALLTHROUGH; + case 0: break; + default: goto __pyx_L5_argtuple_error; + } + kw_args = __Pyx_NumKwargs_FASTCALL(__pyx_kwds); + switch (__pyx_nargs) { + case 0: + if (likely((values[0] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_pyx_type)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[0]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(1, 1, __pyx_L3_error) + else goto __pyx_L5_argtuple_error; + CYTHON_FALLTHROUGH; + case 1: + if (likely((values[1] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_pyx_checksum)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[1]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(1, 1, __pyx_L3_error) + else { + __Pyx_RaiseArgtupleInvalid("__pyx_unpickle_Enum", 1, 3, 3, 1); __PYX_ERR(1, 1, __pyx_L3_error) + } + CYTHON_FALLTHROUGH; + case 2: + if (likely((values[2] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_pyx_state)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[2]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(1, 1, __pyx_L3_error) + else { + __Pyx_RaiseArgtupleInvalid("__pyx_unpickle_Enum", 1, 3, 3, 2); __PYX_ERR(1, 1, __pyx_L3_error) + } + } + if (unlikely(kw_args > 0)) { + const Py_ssize_t kwd_pos_args = __pyx_nargs; + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "__pyx_unpickle_Enum") < 0)) __PYX_ERR(1, 1, __pyx_L3_error) + } + } else if (unlikely(__pyx_nargs != 3)) { + goto __pyx_L5_argtuple_error; + } else { + values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); + values[1] = __Pyx_Arg_FASTCALL(__pyx_args, 1); + values[2] = __Pyx_Arg_FASTCALL(__pyx_args, 2); + } + __pyx_v___pyx_type = values[0]; + __pyx_v___pyx_checksum = __Pyx_PyInt_As_long(values[1]); if (unlikely((__pyx_v___pyx_checksum == (long)-1) && PyErr_Occurred())) __PYX_ERR(1, 1, __pyx_L3_error) + __pyx_v___pyx_state = values[2]; + } + goto __pyx_L6_skip; + __pyx_L5_argtuple_error:; + __Pyx_RaiseArgtupleInvalid("__pyx_unpickle_Enum", 1, 3, 3, __pyx_nargs); __PYX_ERR(1, 1, __pyx_L3_error) + __pyx_L6_skip:; + goto __pyx_L4_argument_unpacking_done; + __pyx_L3_error:; + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]); + } + } + __Pyx_AddTraceback("View.MemoryView.__pyx_unpickle_Enum", __pyx_clineno, __pyx_lineno, __pyx_filename); + __Pyx_RefNannyFinishContext(); + return NULL; + __pyx_L4_argument_unpacking_done:; + __pyx_r = __pyx_pf_15View_dot_MemoryView___pyx_unpickle_Enum(__pyx_self, __pyx_v___pyx_type, __pyx_v___pyx_checksum, __pyx_v___pyx_state); + + /* function exit code */ + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]); + } + } + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_pf_15View_dot_MemoryView___pyx_unpickle_Enum(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v___pyx_type, long __pyx_v___pyx_checksum, PyObject *__pyx_v___pyx_state) { + PyObject *__pyx_v___pyx_PickleError = 0; + PyObject *__pyx_v___pyx_result = 0; + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + int __pyx_t_2; + PyObject *__pyx_t_3 = NULL; + PyObject *__pyx_t_4 = NULL; + int __pyx_t_5; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("__pyx_unpickle_Enum", 1); + + /* "(tree fragment)":4 + * cdef object __pyx_PickleError + * cdef object __pyx_result + * if __pyx_checksum not in (0x82a3537, 0x6ae9995, 0xb068931): # <<<<<<<<<<<<<< + * from pickle import PickleError as __pyx_PickleError + * raise __pyx_PickleError, "Incompatible checksums (0x%x vs (0x82a3537, 0x6ae9995, 0xb068931) = (name))" % __pyx_checksum + */ + __pyx_t_1 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 4, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_t_2 = (__Pyx_PySequence_ContainsTF(__pyx_t_1, __pyx_tuple__8, Py_NE)); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(1, 4, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + if (__pyx_t_2) { + + /* "(tree fragment)":5 + * cdef object __pyx_result + * if __pyx_checksum not in (0x82a3537, 0x6ae9995, 0xb068931): + * from pickle import PickleError as __pyx_PickleError # <<<<<<<<<<<<<< + * raise __pyx_PickleError, "Incompatible checksums (0x%x vs (0x82a3537, 0x6ae9995, 0xb068931) = (name))" % __pyx_checksum + * __pyx_result = Enum.__new__(__pyx_type) + */ + __pyx_t_1 = PyList_New(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 5, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __Pyx_INCREF(__pyx_n_s_PickleError); + __Pyx_GIVEREF(__pyx_n_s_PickleError); + if (__Pyx_PyList_SET_ITEM(__pyx_t_1, 0, __pyx_n_s_PickleError)) __PYX_ERR(1, 5, __pyx_L1_error); + __pyx_t_3 = __Pyx_Import(__pyx_n_s_pickle, __pyx_t_1, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 5, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __pyx_t_1 = __Pyx_ImportFrom(__pyx_t_3, __pyx_n_s_PickleError); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 5, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __Pyx_INCREF(__pyx_t_1); + __pyx_v___pyx_PickleError = __pyx_t_1; + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + + /* "(tree fragment)":6 + * if __pyx_checksum not in (0x82a3537, 0x6ae9995, 0xb068931): + * from pickle import PickleError as __pyx_PickleError + * raise __pyx_PickleError, "Incompatible checksums (0x%x vs (0x82a3537, 0x6ae9995, 0xb068931) = (name))" % __pyx_checksum # <<<<<<<<<<<<<< + * __pyx_result = Enum.__new__(__pyx_type) + * if __pyx_state is not None: + */ + __pyx_t_3 = __Pyx_PyInt_From_long(__pyx_v___pyx_checksum); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 6, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_1 = __Pyx_PyString_Format(__pyx_kp_s_Incompatible_checksums_0x_x_vs_0, __pyx_t_3); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 6, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __Pyx_Raise(__pyx_v___pyx_PickleError, __pyx_t_1, 0, 0); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __PYX_ERR(1, 6, __pyx_L1_error) + + /* "(tree fragment)":4 + * cdef object __pyx_PickleError + * cdef object __pyx_result + * if __pyx_checksum not in (0x82a3537, 0x6ae9995, 0xb068931): # <<<<<<<<<<<<<< + * from pickle import PickleError as __pyx_PickleError + * raise __pyx_PickleError, "Incompatible checksums (0x%x vs (0x82a3537, 0x6ae9995, 0xb068931) = (name))" % __pyx_checksum + */ + } + + /* "(tree fragment)":7 + * from pickle import PickleError as __pyx_PickleError + * raise __pyx_PickleError, "Incompatible checksums (0x%x vs (0x82a3537, 0x6ae9995, 0xb068931) = (name))" % __pyx_checksum + * __pyx_result = Enum.__new__(__pyx_type) # <<<<<<<<<<<<<< + * if __pyx_state is not None: + * __pyx_unpickle_Enum__set_state( __pyx_result, __pyx_state) + */ + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_MemviewEnum_type), __pyx_n_s_new); if (unlikely(!__pyx_t_3)) __PYX_ERR(1, 7, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_4 = NULL; + __pyx_t_5 = 0; + #if CYTHON_UNPACK_METHODS + if (likely(PyMethod_Check(__pyx_t_3))) { + __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_3); + if (likely(__pyx_t_4)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3); + __Pyx_INCREF(__pyx_t_4); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_3, function); + __pyx_t_5 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_v___pyx_type}; + __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_5, 1+__pyx_t_5); + __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; + if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 7, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + } + __pyx_v___pyx_result = __pyx_t_1; + __pyx_t_1 = 0; + + /* "(tree fragment)":8 + * raise __pyx_PickleError, "Incompatible checksums (0x%x vs (0x82a3537, 0x6ae9995, 0xb068931) = (name))" % __pyx_checksum + * __pyx_result = Enum.__new__(__pyx_type) + * if __pyx_state is not None: # <<<<<<<<<<<<<< + * __pyx_unpickle_Enum__set_state( __pyx_result, __pyx_state) + * return __pyx_result + */ + __pyx_t_2 = (__pyx_v___pyx_state != Py_None); + if (__pyx_t_2) { + + /* "(tree fragment)":9 + * __pyx_result = Enum.__new__(__pyx_type) + * if __pyx_state is not None: + * __pyx_unpickle_Enum__set_state( __pyx_result, __pyx_state) # <<<<<<<<<<<<<< + * return __pyx_result + * cdef __pyx_unpickle_Enum__set_state(Enum __pyx_result, tuple __pyx_state): + */ + if (!(likely(PyTuple_CheckExact(__pyx_v___pyx_state))||((__pyx_v___pyx_state) == Py_None) || __Pyx_RaiseUnexpectedTypeError("tuple", __pyx_v___pyx_state))) __PYX_ERR(1, 9, __pyx_L1_error) + __pyx_t_1 = __pyx_unpickle_Enum__set_state(((struct __pyx_MemviewEnum_obj *)__pyx_v___pyx_result), ((PyObject*)__pyx_v___pyx_state)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 9, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + + /* "(tree fragment)":8 + * raise __pyx_PickleError, "Incompatible checksums (0x%x vs (0x82a3537, 0x6ae9995, 0xb068931) = (name))" % __pyx_checksum + * __pyx_result = Enum.__new__(__pyx_type) + * if __pyx_state is not None: # <<<<<<<<<<<<<< + * __pyx_unpickle_Enum__set_state( __pyx_result, __pyx_state) + * return __pyx_result + */ + } + + /* "(tree fragment)":10 + * if __pyx_state is not None: + * __pyx_unpickle_Enum__set_state( __pyx_result, __pyx_state) + * return __pyx_result # <<<<<<<<<<<<<< + * cdef __pyx_unpickle_Enum__set_state(Enum __pyx_result, tuple __pyx_state): + * __pyx_result.name = __pyx_state[0] + */ + __Pyx_XDECREF(__pyx_r); + __Pyx_INCREF(__pyx_v___pyx_result); + __pyx_r = __pyx_v___pyx_result; + goto __pyx_L0; + + /* "(tree fragment)":1 + * def __pyx_unpickle_Enum(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< + * cdef object __pyx_PickleError + * cdef object __pyx_result + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_3); + __Pyx_XDECREF(__pyx_t_4); + __Pyx_AddTraceback("View.MemoryView.__pyx_unpickle_Enum", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __pyx_L0:; + __Pyx_XDECREF(__pyx_v___pyx_PickleError); + __Pyx_XDECREF(__pyx_v___pyx_result); + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "(tree fragment)":11 + * __pyx_unpickle_Enum__set_state( __pyx_result, __pyx_state) + * return __pyx_result + * cdef __pyx_unpickle_Enum__set_state(Enum __pyx_result, tuple __pyx_state): # <<<<<<<<<<<<<< + * __pyx_result.name = __pyx_state[0] + * if len(__pyx_state) > 1 and hasattr(__pyx_result, '__dict__'): + */ + +static PyObject *__pyx_unpickle_Enum__set_state(struct __pyx_MemviewEnum_obj *__pyx_v___pyx_result, PyObject *__pyx_v___pyx_state) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + int __pyx_t_2; + Py_ssize_t __pyx_t_3; + int __pyx_t_4; + PyObject *__pyx_t_5 = NULL; + PyObject *__pyx_t_6 = NULL; + PyObject *__pyx_t_7 = NULL; + int __pyx_t_8; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("__pyx_unpickle_Enum__set_state", 1); + + /* "(tree fragment)":12 + * return __pyx_result + * cdef __pyx_unpickle_Enum__set_state(Enum __pyx_result, tuple __pyx_state): + * __pyx_result.name = __pyx_state[0] # <<<<<<<<<<<<<< + * if len(__pyx_state) > 1 and hasattr(__pyx_result, '__dict__'): + * __pyx_result.__dict__.update(__pyx_state[1]) + */ + if (unlikely(__pyx_v___pyx_state == Py_None)) { + PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + __PYX_ERR(1, 12, __pyx_L1_error) + } + __pyx_t_1 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 0, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 12, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __Pyx_GIVEREF(__pyx_t_1); + __Pyx_GOTREF(__pyx_v___pyx_result->name); + __Pyx_DECREF(__pyx_v___pyx_result->name); + __pyx_v___pyx_result->name = __pyx_t_1; + __pyx_t_1 = 0; + + /* "(tree fragment)":13 + * cdef __pyx_unpickle_Enum__set_state(Enum __pyx_result, tuple __pyx_state): + * __pyx_result.name = __pyx_state[0] + * if len(__pyx_state) > 1 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< + * __pyx_result.__dict__.update(__pyx_state[1]) + */ + if (unlikely(__pyx_v___pyx_state == Py_None)) { + PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); + __PYX_ERR(1, 13, __pyx_L1_error) + } + __pyx_t_3 = __Pyx_PyTuple_GET_SIZE(__pyx_v___pyx_state); if (unlikely(__pyx_t_3 == ((Py_ssize_t)-1))) __PYX_ERR(1, 13, __pyx_L1_error) + __pyx_t_4 = (__pyx_t_3 > 1); + if (__pyx_t_4) { + } else { + __pyx_t_2 = __pyx_t_4; + goto __pyx_L4_bool_binop_done; + } + __pyx_t_4 = __Pyx_HasAttr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(1, 13, __pyx_L1_error) + __pyx_t_2 = __pyx_t_4; + __pyx_L4_bool_binop_done:; + if (__pyx_t_2) { + + /* "(tree fragment)":14 + * __pyx_result.name = __pyx_state[0] + * if len(__pyx_state) > 1 and hasattr(__pyx_result, '__dict__'): + * __pyx_result.__dict__.update(__pyx_state[1]) # <<<<<<<<<<<<<< + */ + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(((PyObject *)__pyx_v___pyx_result), __pyx_n_s_dict); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 14, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_update); if (unlikely(!__pyx_t_6)) __PYX_ERR(1, 14, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + if (unlikely(__pyx_v___pyx_state == Py_None)) { + PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + __PYX_ERR(1, 14, __pyx_L1_error) + } + __pyx_t_5 = __Pyx_GetItemInt_Tuple(__pyx_v___pyx_state, 1, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 14, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_t_7 = NULL; + __pyx_t_8 = 0; + #if CYTHON_UNPACK_METHODS + if (likely(PyMethod_Check(__pyx_t_6))) { + __pyx_t_7 = PyMethod_GET_SELF(__pyx_t_6); + if (likely(__pyx_t_7)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_6); + __Pyx_INCREF(__pyx_t_7); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_6, function); + __pyx_t_8 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[2] = {__pyx_t_7, __pyx_t_5}; + __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_6, __pyx_callargs+1-__pyx_t_8, 1+__pyx_t_8); + __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 14, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + + /* "(tree fragment)":13 + * cdef __pyx_unpickle_Enum__set_state(Enum __pyx_result, tuple __pyx_state): + * __pyx_result.name = __pyx_state[0] + * if len(__pyx_state) > 1 and hasattr(__pyx_result, '__dict__'): # <<<<<<<<<<<<<< + * __pyx_result.__dict__.update(__pyx_state[1]) + */ + } + + /* "(tree fragment)":11 + * __pyx_unpickle_Enum__set_state( __pyx_result, __pyx_state) + * return __pyx_result + * cdef __pyx_unpickle_Enum__set_state(Enum __pyx_result, tuple __pyx_state): # <<<<<<<<<<<<<< + * __pyx_result.name = __pyx_state[0] + * if len(__pyx_state) > 1 and hasattr(__pyx_result, '__dict__'): + */ + + /* function exit code */ + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + goto __pyx_L0; + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_5); + __Pyx_XDECREF(__pyx_t_6); + __Pyx_XDECREF(__pyx_t_7); + __Pyx_AddTraceback("View.MemoryView.__pyx_unpickle_Enum__set_state", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = 0; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":245 + * + * @property + * cdef inline PyObject* base(self) nogil: # <<<<<<<<<<<<<< + * """Returns a borrowed reference to the object owning the data/memory. + * """ + */ + +static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject *__pyx_v_self) { + PyObject *__pyx_r; + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":248 + * """Returns a borrowed reference to the object owning the data/memory. + * """ + * return PyArray_BASE(self) # <<<<<<<<<<<<<< + * + * @property + */ + __pyx_r = PyArray_BASE(__pyx_v_self); + goto __pyx_L0; + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":245 + * + * @property + * cdef inline PyObject* base(self) nogil: # <<<<<<<<<<<<<< + * """Returns a borrowed reference to the object owning the data/memory. + * """ + */ + + /* function exit code */ + __pyx_L0:; + return __pyx_r; +} + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":251 + * + * @property + * cdef inline dtype descr(self): # <<<<<<<<<<<<<< + * """Returns an owned reference to the dtype of the array. + * """ + */ + +static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArrayObject *__pyx_v_self) { + PyArray_Descr *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + PyArray_Descr *__pyx_t_1; + __Pyx_RefNannySetupContext("descr", 1); + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":254 + * """Returns an owned reference to the dtype of the array. + * """ + * return PyArray_DESCR(self) # <<<<<<<<<<<<<< + * + * @property + */ + __Pyx_XDECREF((PyObject *)__pyx_r); + __pyx_t_1 = PyArray_DESCR(__pyx_v_self); + __Pyx_INCREF((PyObject *)((PyArray_Descr *)__pyx_t_1)); + __pyx_r = ((PyArray_Descr *)__pyx_t_1); + goto __pyx_L0; + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":251 + * + * @property + * cdef inline dtype descr(self): # <<<<<<<<<<<<<< + * """Returns an owned reference to the dtype of the array. + * """ + */ + + /* function exit code */ + __pyx_L0:; + __Pyx_XGIVEREF((PyObject *)__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":257 + * + * @property + * cdef inline int ndim(self) nogil: # <<<<<<<<<<<<<< + * """Returns the number of dimensions in the array. + * """ + */ + +static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx_v_self) { + int __pyx_r; + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":260 + * """Returns the number of dimensions in the array. + * """ + * return PyArray_NDIM(self) # <<<<<<<<<<<<<< + * + * @property + */ + __pyx_r = PyArray_NDIM(__pyx_v_self); + goto __pyx_L0; + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":257 + * + * @property + * cdef inline int ndim(self) nogil: # <<<<<<<<<<<<<< + * """Returns the number of dimensions in the array. + * """ + */ + + /* function exit code */ + __pyx_L0:; + return __pyx_r; +} + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":263 + * + * @property + * cdef inline npy_intp *shape(self) nogil: # <<<<<<<<<<<<<< + * """Returns a pointer to the dimensions/shape of the array. + * The number of elements matches the number of dimensions of the array (ndim). + */ + +static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObject *__pyx_v_self) { + npy_intp *__pyx_r; + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":268 + * Can return NULL for 0-dimensional arrays. + * """ + * return PyArray_DIMS(self) # <<<<<<<<<<<<<< + * + * @property + */ + __pyx_r = PyArray_DIMS(__pyx_v_self); + goto __pyx_L0; + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":263 + * + * @property + * cdef inline npy_intp *shape(self) nogil: # <<<<<<<<<<<<<< + * """Returns a pointer to the dimensions/shape of the array. + * The number of elements matches the number of dimensions of the array (ndim). + */ + + /* function exit code */ + __pyx_L0:; + return __pyx_r; +} + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":271 + * + * @property + * cdef inline npy_intp *strides(self) nogil: # <<<<<<<<<<<<<< + * """Returns a pointer to the strides of the array. + * The number of elements matches the number of dimensions of the array (ndim). + */ + +static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayObject *__pyx_v_self) { + npy_intp *__pyx_r; + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":275 + * The number of elements matches the number of dimensions of the array (ndim). + * """ + * return PyArray_STRIDES(self) # <<<<<<<<<<<<<< + * + * @property + */ + __pyx_r = PyArray_STRIDES(__pyx_v_self); + goto __pyx_L0; + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":271 + * + * @property + * cdef inline npy_intp *strides(self) nogil: # <<<<<<<<<<<<<< + * """Returns a pointer to the strides of the array. + * The number of elements matches the number of dimensions of the array (ndim). + */ + + /* function exit code */ + __pyx_L0:; + return __pyx_r; +} + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":278 + * + * @property + * cdef inline npy_intp size(self) nogil: # <<<<<<<<<<<<<< + * """Returns the total size (in number of elements) of the array. + * """ + */ + +static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *__pyx_v_self) { + npy_intp __pyx_r; + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":281 + * """Returns the total size (in number of elements) of the array. + * """ + * return PyArray_SIZE(self) # <<<<<<<<<<<<<< + * + * @property + */ + __pyx_r = PyArray_SIZE(__pyx_v_self); + goto __pyx_L0; + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":278 + * + * @property + * cdef inline npy_intp size(self) nogil: # <<<<<<<<<<<<<< + * """Returns the total size (in number of elements) of the array. + * """ + */ + + /* function exit code */ + __pyx_L0:; + return __pyx_r; +} + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":284 + * + * @property + * cdef inline char* data(self) nogil: # <<<<<<<<<<<<<< + * """The pointer to the data buffer as a char*. + * This is provided for legacy reasons to avoid direct struct field access. + */ + +static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__pyx_v_self) { + char *__pyx_r; + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":290 + * of `PyArray_DATA()` instead, which returns a 'void*'. + * """ + * return PyArray_BYTES(self) # <<<<<<<<<<<<<< + * + * ctypedef unsigned char npy_bool + */ + __pyx_r = PyArray_BYTES(__pyx_v_self); + goto __pyx_L0; + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":284 + * + * @property + * cdef inline char* data(self) nogil: # <<<<<<<<<<<<<< + * """The pointer to the data buffer as a char*. + * This is provided for legacy reasons to avoid direct struct field access. + */ + + /* function exit code */ + __pyx_L0:; + return __pyx_r; +} + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":773 + * ctypedef npy_cdouble complex_t + * + * cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<< + * return PyArray_MultiIterNew(1, a) + * + */ + +static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__pyx_v_a) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("PyArray_MultiIterNew1", 1); + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":774 + * + * cdef inline object PyArray_MultiIterNew1(a): + * return PyArray_MultiIterNew(1, a) # <<<<<<<<<<<<<< + * + * cdef inline object PyArray_MultiIterNew2(a, b): + */ + __Pyx_XDECREF(__pyx_r); + __pyx_t_1 = PyArray_MultiIterNew(1, ((void *)__pyx_v_a)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 774, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_r = __pyx_t_1; + __pyx_t_1 = 0; + goto __pyx_L0; + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":773 + * ctypedef npy_cdouble complex_t + * + * cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<< + * return PyArray_MultiIterNew(1, a) + * + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_AddTraceback("numpy.PyArray_MultiIterNew1", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = 0; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":776 + * return PyArray_MultiIterNew(1, a) + * + * cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<< + * return PyArray_MultiIterNew(2, a, b) + * + */ + +static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__pyx_v_a, PyObject *__pyx_v_b) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("PyArray_MultiIterNew2", 1); + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":777 + * + * cdef inline object PyArray_MultiIterNew2(a, b): + * return PyArray_MultiIterNew(2, a, b) # <<<<<<<<<<<<<< + * + * cdef inline object PyArray_MultiIterNew3(a, b, c): + */ + __Pyx_XDECREF(__pyx_r); + __pyx_t_1 = PyArray_MultiIterNew(2, ((void *)__pyx_v_a), ((void *)__pyx_v_b)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 777, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_r = __pyx_t_1; + __pyx_t_1 = 0; + goto __pyx_L0; + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":776 + * return PyArray_MultiIterNew(1, a) + * + * cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<< + * return PyArray_MultiIterNew(2, a, b) + * + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_AddTraceback("numpy.PyArray_MultiIterNew2", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = 0; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":779 + * return PyArray_MultiIterNew(2, a, b) + * + * cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<< + * return PyArray_MultiIterNew(3, a, b, c) + * + */ + +static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__pyx_v_a, PyObject *__pyx_v_b, PyObject *__pyx_v_c) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("PyArray_MultiIterNew3", 1); + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":780 + * + * cdef inline object PyArray_MultiIterNew3(a, b, c): + * return PyArray_MultiIterNew(3, a, b, c) # <<<<<<<<<<<<<< + * + * cdef inline object PyArray_MultiIterNew4(a, b, c, d): + */ + __Pyx_XDECREF(__pyx_r); + __pyx_t_1 = PyArray_MultiIterNew(3, ((void *)__pyx_v_a), ((void *)__pyx_v_b), ((void *)__pyx_v_c)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 780, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_r = __pyx_t_1; + __pyx_t_1 = 0; + goto __pyx_L0; + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":779 + * return PyArray_MultiIterNew(2, a, b) + * + * cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<< + * return PyArray_MultiIterNew(3, a, b, c) + * + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_AddTraceback("numpy.PyArray_MultiIterNew3", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = 0; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":782 + * return PyArray_MultiIterNew(3, a, b, c) + * + * cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<< + * return PyArray_MultiIterNew(4, a, b, c, d) + * + */ + +static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__pyx_v_a, PyObject *__pyx_v_b, PyObject *__pyx_v_c, PyObject *__pyx_v_d) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("PyArray_MultiIterNew4", 1); + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":783 + * + * cdef inline object PyArray_MultiIterNew4(a, b, c, d): + * return PyArray_MultiIterNew(4, a, b, c, d) # <<<<<<<<<<<<<< + * + * cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): + */ + __Pyx_XDECREF(__pyx_r); + __pyx_t_1 = PyArray_MultiIterNew(4, ((void *)__pyx_v_a), ((void *)__pyx_v_b), ((void *)__pyx_v_c), ((void *)__pyx_v_d)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 783, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_r = __pyx_t_1; + __pyx_t_1 = 0; + goto __pyx_L0; + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":782 + * return PyArray_MultiIterNew(3, a, b, c) + * + * cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<< + * return PyArray_MultiIterNew(4, a, b, c, d) + * + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_AddTraceback("numpy.PyArray_MultiIterNew4", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = 0; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":785 + * return PyArray_MultiIterNew(4, a, b, c, d) + * + * cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<< + * return PyArray_MultiIterNew(5, a, b, c, d, e) + * + */ + +static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__pyx_v_a, PyObject *__pyx_v_b, PyObject *__pyx_v_c, PyObject *__pyx_v_d, PyObject *__pyx_v_e) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("PyArray_MultiIterNew5", 1); + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":786 + * + * cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): + * return PyArray_MultiIterNew(5, a, b, c, d, e) # <<<<<<<<<<<<<< + * + * cdef inline tuple PyDataType_SHAPE(dtype d): + */ + __Pyx_XDECREF(__pyx_r); + __pyx_t_1 = PyArray_MultiIterNew(5, ((void *)__pyx_v_a), ((void *)__pyx_v_b), ((void *)__pyx_v_c), ((void *)__pyx_v_d), ((void *)__pyx_v_e)); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 786, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_r = __pyx_t_1; + __pyx_t_1 = 0; + goto __pyx_L0; + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":785 + * return PyArray_MultiIterNew(4, a, b, c, d) + * + * cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<< + * return PyArray_MultiIterNew(5, a, b, c, d, e) + * + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_AddTraceback("numpy.PyArray_MultiIterNew5", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = 0; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":788 + * return PyArray_MultiIterNew(5, a, b, c, d, e) + * + * cdef inline tuple PyDataType_SHAPE(dtype d): # <<<<<<<<<<<<<< + * if PyDataType_HASSUBARRAY(d): + * return d.subarray.shape + */ + +static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__pyx_v_d) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + int __pyx_t_1; + __Pyx_RefNannySetupContext("PyDataType_SHAPE", 1); + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":789 + * + * cdef inline tuple PyDataType_SHAPE(dtype d): + * if PyDataType_HASSUBARRAY(d): # <<<<<<<<<<<<<< + * return d.subarray.shape + * else: + */ + __pyx_t_1 = PyDataType_HASSUBARRAY(__pyx_v_d); + if (__pyx_t_1) { + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":790 + * cdef inline tuple PyDataType_SHAPE(dtype d): + * if PyDataType_HASSUBARRAY(d): + * return d.subarray.shape # <<<<<<<<<<<<<< + * else: + * return () + */ + __Pyx_XDECREF(__pyx_r); + __Pyx_INCREF(((PyObject*)__pyx_v_d->subarray->shape)); + __pyx_r = ((PyObject*)__pyx_v_d->subarray->shape); + goto __pyx_L0; + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":789 + * + * cdef inline tuple PyDataType_SHAPE(dtype d): + * if PyDataType_HASSUBARRAY(d): # <<<<<<<<<<<<<< + * return d.subarray.shape + * else: + */ + } + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":792 + * return d.subarray.shape + * else: + * return () # <<<<<<<<<<<<<< + * + * + */ + /*else*/ { + __Pyx_XDECREF(__pyx_r); + __Pyx_INCREF(__pyx_empty_tuple); + __pyx_r = __pyx_empty_tuple; + goto __pyx_L0; + } + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":788 + * return PyArray_MultiIterNew(5, a, b, c, d, e) + * + * cdef inline tuple PyDataType_SHAPE(dtype d): # <<<<<<<<<<<<<< + * if PyDataType_HASSUBARRAY(d): + * return d.subarray.shape + */ + + /* function exit code */ + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":968 + * int _import_umath() except -1 + * + * cdef inline void set_array_base(ndarray arr, object base): # <<<<<<<<<<<<<< + * Py_INCREF(base) # important to do this before stealing the reference below! + * PyArray_SetBaseObject(arr, base) + */ + +static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_arr, PyObject *__pyx_v_base) { + int __pyx_t_1; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":969 + * + * cdef inline void set_array_base(ndarray arr, object base): + * Py_INCREF(base) # important to do this before stealing the reference below! # <<<<<<<<<<<<<< + * PyArray_SetBaseObject(arr, base) + * + */ + Py_INCREF(__pyx_v_base); + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":970 + * cdef inline void set_array_base(ndarray arr, object base): + * Py_INCREF(base) # important to do this before stealing the reference below! + * PyArray_SetBaseObject(arr, base) # <<<<<<<<<<<<<< + * + * cdef inline object get_array_base(ndarray arr): + */ + __pyx_t_1 = PyArray_SetBaseObject(__pyx_v_arr, __pyx_v_base); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(2, 970, __pyx_L1_error) + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":968 + * int _import_umath() except -1 + * + * cdef inline void set_array_base(ndarray arr, object base): # <<<<<<<<<<<<<< + * Py_INCREF(base) # important to do this before stealing the reference below! + * PyArray_SetBaseObject(arr, base) + */ + + /* function exit code */ + goto __pyx_L0; + __pyx_L1_error:; + __Pyx_AddTraceback("numpy.set_array_base", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_L0:; +} + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":972 + * PyArray_SetBaseObject(arr, base) + * + * cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<< + * base = PyArray_BASE(arr) + * if base is NULL: + */ + +static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__pyx_v_arr) { + PyObject *__pyx_v_base; + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + int __pyx_t_1; + __Pyx_RefNannySetupContext("get_array_base", 1); + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":973 + * + * cdef inline object get_array_base(ndarray arr): + * base = PyArray_BASE(arr) # <<<<<<<<<<<<<< + * if base is NULL: + * return None + */ + __pyx_v_base = PyArray_BASE(__pyx_v_arr); + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":974 + * cdef inline object get_array_base(ndarray arr): + * base = PyArray_BASE(arr) + * if base is NULL: # <<<<<<<<<<<<<< + * return None + * return base + */ + __pyx_t_1 = (__pyx_v_base == NULL); + if (__pyx_t_1) { + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":975 + * base = PyArray_BASE(arr) + * if base is NULL: + * return None # <<<<<<<<<<<<<< + * return base + * + */ + __Pyx_XDECREF(__pyx_r); + __pyx_r = Py_None; __Pyx_INCREF(Py_None); + goto __pyx_L0; + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":974 + * cdef inline object get_array_base(ndarray arr): + * base = PyArray_BASE(arr) + * if base is NULL: # <<<<<<<<<<<<<< + * return None + * return base + */ + } + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":976 + * if base is NULL: + * return None + * return base # <<<<<<<<<<<<<< + * + * # Versions of the import_* functions which are more suitable for + */ + __Pyx_XDECREF(__pyx_r); + __Pyx_INCREF(((PyObject *)__pyx_v_base)); + __pyx_r = ((PyObject *)__pyx_v_base); + goto __pyx_L0; + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":972 + * PyArray_SetBaseObject(arr, base) + * + * cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<< + * base = PyArray_BASE(arr) + * if base is NULL: + */ + + /* function exit code */ + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":980 + * # Versions of the import_* functions which are more suitable for + * # Cython code. + * cdef inline int import_array() except -1: # <<<<<<<<<<<<<< + * try: + * __pyx_import_array() + */ + +static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) { + int __pyx_r; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; + PyObject *__pyx_t_3 = NULL; + int __pyx_t_4; + PyObject *__pyx_t_5 = NULL; + PyObject *__pyx_t_6 = NULL; + PyObject *__pyx_t_7 = NULL; + PyObject *__pyx_t_8 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("import_array", 1); + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":981 + * # Cython code. + * cdef inline int import_array() except -1: + * try: # <<<<<<<<<<<<<< + * __pyx_import_array() + * except Exception: + */ + { + __Pyx_PyThreadState_declare + __Pyx_PyThreadState_assign + __Pyx_ExceptionSave(&__pyx_t_1, &__pyx_t_2, &__pyx_t_3); + __Pyx_XGOTREF(__pyx_t_1); + __Pyx_XGOTREF(__pyx_t_2); + __Pyx_XGOTREF(__pyx_t_3); + /*try:*/ { + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":982 + * cdef inline int import_array() except -1: + * try: + * __pyx_import_array() # <<<<<<<<<<<<<< + * except Exception: + * raise ImportError("numpy.core.multiarray failed to import") + */ + __pyx_t_4 = _import_array(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(2, 982, __pyx_L3_error) + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":981 + * # Cython code. + * cdef inline int import_array() except -1: + * try: # <<<<<<<<<<<<<< + * __pyx_import_array() + * except Exception: + */ + } + __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; + __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; + goto __pyx_L8_try_end; + __pyx_L3_error:; + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":983 + * try: + * __pyx_import_array() + * except Exception: # <<<<<<<<<<<<<< + * raise ImportError("numpy.core.multiarray failed to import") + * + */ + __pyx_t_4 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(&((PyTypeObject*)PyExc_Exception)[0]))); + if (__pyx_t_4) { + __Pyx_AddTraceback("numpy.import_array", __pyx_clineno, __pyx_lineno, __pyx_filename); + if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_6, &__pyx_t_7) < 0) __PYX_ERR(2, 983, __pyx_L5_except_error) + __Pyx_XGOTREF(__pyx_t_5); + __Pyx_XGOTREF(__pyx_t_6); + __Pyx_XGOTREF(__pyx_t_7); + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":984 + * __pyx_import_array() + * except Exception: + * raise ImportError("numpy.core.multiarray failed to import") # <<<<<<<<<<<<<< + * + * cdef inline int import_umath() except -1: + */ + __pyx_t_8 = __Pyx_PyObject_Call(__pyx_builtin_ImportError, __pyx_tuple__9, NULL); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 984, __pyx_L5_except_error) + __Pyx_GOTREF(__pyx_t_8); + __Pyx_Raise(__pyx_t_8, 0, 0, 0); + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + __PYX_ERR(2, 984, __pyx_L5_except_error) + } + goto __pyx_L5_except_error; + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":981 + * # Cython code. + * cdef inline int import_array() except -1: + * try: # <<<<<<<<<<<<<< + * __pyx_import_array() + * except Exception: + */ + __pyx_L5_except_error:; + __Pyx_XGIVEREF(__pyx_t_1); + __Pyx_XGIVEREF(__pyx_t_2); + __Pyx_XGIVEREF(__pyx_t_3); + __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3); + goto __pyx_L1_error; + __pyx_L8_try_end:; + } + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":980 + * # Versions of the import_* functions which are more suitable for + * # Cython code. + * cdef inline int import_array() except -1: # <<<<<<<<<<<<<< + * try: + * __pyx_import_array() + */ + + /* function exit code */ + __pyx_r = 0; + goto __pyx_L0; + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_5); + __Pyx_XDECREF(__pyx_t_6); + __Pyx_XDECREF(__pyx_t_7); + __Pyx_XDECREF(__pyx_t_8); + __Pyx_AddTraceback("numpy.import_array", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = -1; + __pyx_L0:; + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":986 + * raise ImportError("numpy.core.multiarray failed to import") + * + * cdef inline int import_umath() except -1: # <<<<<<<<<<<<<< + * try: + * _import_umath() + */ + +static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) { + int __pyx_r; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; + PyObject *__pyx_t_3 = NULL; + int __pyx_t_4; + PyObject *__pyx_t_5 = NULL; + PyObject *__pyx_t_6 = NULL; + PyObject *__pyx_t_7 = NULL; + PyObject *__pyx_t_8 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("import_umath", 1); + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":987 + * + * cdef inline int import_umath() except -1: + * try: # <<<<<<<<<<<<<< + * _import_umath() + * except Exception: + */ + { + __Pyx_PyThreadState_declare + __Pyx_PyThreadState_assign + __Pyx_ExceptionSave(&__pyx_t_1, &__pyx_t_2, &__pyx_t_3); + __Pyx_XGOTREF(__pyx_t_1); + __Pyx_XGOTREF(__pyx_t_2); + __Pyx_XGOTREF(__pyx_t_3); + /*try:*/ { + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":988 + * cdef inline int import_umath() except -1: + * try: + * _import_umath() # <<<<<<<<<<<<<< + * except Exception: + * raise ImportError("numpy.core.umath failed to import") + */ + __pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(2, 988, __pyx_L3_error) + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":987 + * + * cdef inline int import_umath() except -1: + * try: # <<<<<<<<<<<<<< + * _import_umath() + * except Exception: + */ + } + __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; + __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; + goto __pyx_L8_try_end; + __pyx_L3_error:; + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":989 + * try: + * _import_umath() + * except Exception: # <<<<<<<<<<<<<< + * raise ImportError("numpy.core.umath failed to import") + * + */ + __pyx_t_4 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(&((PyTypeObject*)PyExc_Exception)[0]))); + if (__pyx_t_4) { + __Pyx_AddTraceback("numpy.import_umath", __pyx_clineno, __pyx_lineno, __pyx_filename); + if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_6, &__pyx_t_7) < 0) __PYX_ERR(2, 989, __pyx_L5_except_error) + __Pyx_XGOTREF(__pyx_t_5); + __Pyx_XGOTREF(__pyx_t_6); + __Pyx_XGOTREF(__pyx_t_7); + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":990 + * _import_umath() + * except Exception: + * raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<< + * + * cdef inline int import_ufunc() except -1: + */ + __pyx_t_8 = __Pyx_PyObject_Call(__pyx_builtin_ImportError, __pyx_tuple__10, NULL); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 990, __pyx_L5_except_error) + __Pyx_GOTREF(__pyx_t_8); + __Pyx_Raise(__pyx_t_8, 0, 0, 0); + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + __PYX_ERR(2, 990, __pyx_L5_except_error) + } + goto __pyx_L5_except_error; + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":987 + * + * cdef inline int import_umath() except -1: + * try: # <<<<<<<<<<<<<< + * _import_umath() + * except Exception: + */ + __pyx_L5_except_error:; + __Pyx_XGIVEREF(__pyx_t_1); + __Pyx_XGIVEREF(__pyx_t_2); + __Pyx_XGIVEREF(__pyx_t_3); + __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3); + goto __pyx_L1_error; + __pyx_L8_try_end:; + } + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":986 + * raise ImportError("numpy.core.multiarray failed to import") + * + * cdef inline int import_umath() except -1: # <<<<<<<<<<<<<< + * try: + * _import_umath() + */ + + /* function exit code */ + __pyx_r = 0; + goto __pyx_L0; + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_5); + __Pyx_XDECREF(__pyx_t_6); + __Pyx_XDECREF(__pyx_t_7); + __Pyx_XDECREF(__pyx_t_8); + __Pyx_AddTraceback("numpy.import_umath", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = -1; + __pyx_L0:; + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":992 + * raise ImportError("numpy.core.umath failed to import") + * + * cdef inline int import_ufunc() except -1: # <<<<<<<<<<<<<< + * try: + * _import_umath() + */ + +static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) { + int __pyx_r; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; + PyObject *__pyx_t_3 = NULL; + int __pyx_t_4; + PyObject *__pyx_t_5 = NULL; + PyObject *__pyx_t_6 = NULL; + PyObject *__pyx_t_7 = NULL; + PyObject *__pyx_t_8 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("import_ufunc", 1); + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":993 + * + * cdef inline int import_ufunc() except -1: + * try: # <<<<<<<<<<<<<< + * _import_umath() + * except Exception: + */ + { + __Pyx_PyThreadState_declare + __Pyx_PyThreadState_assign + __Pyx_ExceptionSave(&__pyx_t_1, &__pyx_t_2, &__pyx_t_3); + __Pyx_XGOTREF(__pyx_t_1); + __Pyx_XGOTREF(__pyx_t_2); + __Pyx_XGOTREF(__pyx_t_3); + /*try:*/ { + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":994 + * cdef inline int import_ufunc() except -1: + * try: + * _import_umath() # <<<<<<<<<<<<<< + * except Exception: + * raise ImportError("numpy.core.umath failed to import") + */ + __pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(2, 994, __pyx_L3_error) + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":993 + * + * cdef inline int import_ufunc() except -1: + * try: # <<<<<<<<<<<<<< + * _import_umath() + * except Exception: + */ + } + __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; + __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; + goto __pyx_L8_try_end; + __pyx_L3_error:; + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":995 + * try: + * _import_umath() + * except Exception: # <<<<<<<<<<<<<< + * raise ImportError("numpy.core.umath failed to import") + * + */ + __pyx_t_4 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(&((PyTypeObject*)PyExc_Exception)[0]))); + if (__pyx_t_4) { + __Pyx_AddTraceback("numpy.import_ufunc", __pyx_clineno, __pyx_lineno, __pyx_filename); + if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_6, &__pyx_t_7) < 0) __PYX_ERR(2, 995, __pyx_L5_except_error) + __Pyx_XGOTREF(__pyx_t_5); + __Pyx_XGOTREF(__pyx_t_6); + __Pyx_XGOTREF(__pyx_t_7); + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":996 + * _import_umath() + * except Exception: + * raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<< + * + * + */ + __pyx_t_8 = __Pyx_PyObject_Call(__pyx_builtin_ImportError, __pyx_tuple__10, NULL); if (unlikely(!__pyx_t_8)) __PYX_ERR(2, 996, __pyx_L5_except_error) + __Pyx_GOTREF(__pyx_t_8); + __Pyx_Raise(__pyx_t_8, 0, 0, 0); + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + __PYX_ERR(2, 996, __pyx_L5_except_error) + } + goto __pyx_L5_except_error; + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":993 + * + * cdef inline int import_ufunc() except -1: + * try: # <<<<<<<<<<<<<< + * _import_umath() + * except Exception: + */ + __pyx_L5_except_error:; + __Pyx_XGIVEREF(__pyx_t_1); + __Pyx_XGIVEREF(__pyx_t_2); + __Pyx_XGIVEREF(__pyx_t_3); + __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3); + goto __pyx_L1_error; + __pyx_L8_try_end:; + } + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":992 + * raise ImportError("numpy.core.umath failed to import") + * + * cdef inline int import_ufunc() except -1: # <<<<<<<<<<<<<< + * try: + * _import_umath() + */ + + /* function exit code */ + __pyx_r = 0; + goto __pyx_L0; + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_5); + __Pyx_XDECREF(__pyx_t_6); + __Pyx_XDECREF(__pyx_t_7); + __Pyx_XDECREF(__pyx_t_8); + __Pyx_AddTraceback("numpy.import_ufunc", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = -1; + __pyx_L0:; + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":999 + * + * + * cdef inline bint is_timedelta64_object(object obj): # <<<<<<<<<<<<<< + * """ + * Cython equivalent of `isinstance(obj, np.timedelta64)` + */ + +static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_obj) { + int __pyx_r; + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":1011 + * bool + * """ + * return PyObject_TypeCheck(obj, &PyTimedeltaArrType_Type) # <<<<<<<<<<<<<< + * + * + */ + __pyx_r = PyObject_TypeCheck(__pyx_v_obj, (&PyTimedeltaArrType_Type)); + goto __pyx_L0; + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":999 + * + * + * cdef inline bint is_timedelta64_object(object obj): # <<<<<<<<<<<<<< + * """ + * Cython equivalent of `isinstance(obj, np.timedelta64)` + */ + + /* function exit code */ + __pyx_L0:; + return __pyx_r; +} + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":1014 + * + * + * cdef inline bint is_datetime64_object(object obj): # <<<<<<<<<<<<<< + * """ + * Cython equivalent of `isinstance(obj, np.datetime64)` + */ + +static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_obj) { + int __pyx_r; + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":1026 + * bool + * """ + * return PyObject_TypeCheck(obj, &PyDatetimeArrType_Type) # <<<<<<<<<<<<<< + * + * + */ + __pyx_r = PyObject_TypeCheck(__pyx_v_obj, (&PyDatetimeArrType_Type)); + goto __pyx_L0; + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":1014 + * + * + * cdef inline bint is_datetime64_object(object obj): # <<<<<<<<<<<<<< + * """ + * Cython equivalent of `isinstance(obj, np.datetime64)` + */ + + /* function exit code */ + __pyx_L0:; + return __pyx_r; +} + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":1029 + * + * + * cdef inline npy_datetime get_datetime64_value(object obj) nogil: # <<<<<<<<<<<<<< + * """ + * returns the int64 value underlying scalar numpy datetime64 object + */ + +static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *__pyx_v_obj) { + npy_datetime __pyx_r; + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":1036 + * also needed. That can be found using `get_datetime64_unit`. + * """ + * return (obj).obval # <<<<<<<<<<<<<< + * + * + */ + __pyx_r = ((PyDatetimeScalarObject *)__pyx_v_obj)->obval; + goto __pyx_L0; + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":1029 + * + * + * cdef inline npy_datetime get_datetime64_value(object obj) nogil: # <<<<<<<<<<<<<< + * """ + * returns the int64 value underlying scalar numpy datetime64 object + */ + + /* function exit code */ + __pyx_L0:; + return __pyx_r; +} + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":1039 + * + * + * cdef inline npy_timedelta get_timedelta64_value(object obj) nogil: # <<<<<<<<<<<<<< + * """ + * returns the int64 value underlying scalar numpy timedelta64 object + */ + +static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject *__pyx_v_obj) { + npy_timedelta __pyx_r; + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":1043 + * returns the int64 value underlying scalar numpy timedelta64 object + * """ + * return (obj).obval # <<<<<<<<<<<<<< + * + * + */ + __pyx_r = ((PyTimedeltaScalarObject *)__pyx_v_obj)->obval; + goto __pyx_L0; + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":1039 + * + * + * cdef inline npy_timedelta get_timedelta64_value(object obj) nogil: # <<<<<<<<<<<<<< + * """ + * returns the int64 value underlying scalar numpy timedelta64 object + */ + + /* function exit code */ + __pyx_L0:; + return __pyx_r; +} + +/* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":1046 + * + * + * cdef inline NPY_DATETIMEUNIT get_datetime64_unit(object obj) nogil: # <<<<<<<<<<<<<< + * """ + * returns the unit part of the dtype for a numpy datetime64 object. + */ + +static CYTHON_INLINE NPY_DATETIMEUNIT __pyx_f_5numpy_get_datetime64_unit(PyObject *__pyx_v_obj) { + NPY_DATETIMEUNIT __pyx_r; + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":1050 + * returns the unit part of the dtype for a numpy datetime64 object. + * """ + * return (obj).obmeta.base # <<<<<<<<<<<<<< + */ + __pyx_r = ((NPY_DATETIMEUNIT)((PyDatetimeScalarObject *)__pyx_v_obj)->obmeta.base); + goto __pyx_L0; + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":1046 + * + * + * cdef inline NPY_DATETIMEUNIT get_datetime64_unit(object obj) nogil: # <<<<<<<<<<<<<< + * """ + * returns the unit part of the dtype for a numpy datetime64 object. + */ + + /* function exit code */ + __pyx_L0:; + return __pyx_r; +} + +/* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":13 + * cdef float EPS = 1e-8 + * + * cpdef int partition(float[:] data, int left, int right, int pivot_index) nogil: # <<<<<<<<<<<<<< + * cdef float pivot_value = data[pivot_index] + * cdef int left_index = left + */ + +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_1partition(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static int __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_partition(__Pyx_memviewslice __pyx_v_data, int __pyx_v_left, int __pyx_v_right, int __pyx_v_pivot_index, CYTHON_UNUSED int __pyx_skip_dispatch) { + float __pyx_v_pivot_value; + int __pyx_v_left_index; + int __pyx_v_right_store_index; + int __pyx_v_i; + int __pyx_r; + Py_ssize_t __pyx_t_1; + int __pyx_t_2; + int __pyx_t_3; + float __pyx_t_4; + float __pyx_t_5; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + #ifdef WITH_THREAD + PyGILState_STATE __pyx_gilstate_save; + #endif + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":14 + * + * cpdef int partition(float[:] data, int left, int right, int pivot_index) nogil: + * cdef float pivot_value = data[pivot_index] # <<<<<<<<<<<<<< + * cdef int left_index = left + * cdef int right_store_index = right + */ + __pyx_t_1 = __pyx_v_pivot_index; + __pyx_t_2 = -1; + if (__pyx_t_1 < 0) { + __pyx_t_1 += __pyx_v_data.shape[0]; + if (unlikely(__pyx_t_1 < 0)) __pyx_t_2 = 0; + } else if (unlikely(__pyx_t_1 >= __pyx_v_data.shape[0])) __pyx_t_2 = 0; + if (unlikely(__pyx_t_2 != -1)) { + __Pyx_RaiseBufferIndexErrorNogil(__pyx_t_2); + __PYX_ERR(0, 14, __pyx_L1_error) + } + __pyx_v_pivot_value = (*((float *) ( /* dim=0 */ (__pyx_v_data.data + __pyx_t_1 * __pyx_v_data.strides[0]) ))); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":15 + * cpdef int partition(float[:] data, int left, int right, int pivot_index) nogil: + * cdef float pivot_value = data[pivot_index] + * cdef int left_index = left # <<<<<<<<<<<<<< + * cdef int right_store_index = right + * cdef int i = left + */ + __pyx_v_left_index = __pyx_v_left; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":16 + * cdef float pivot_value = data[pivot_index] + * cdef int left_index = left + * cdef int right_store_index = right # <<<<<<<<<<<<<< + * cdef int i = left + * cdef int j + */ + __pyx_v_right_store_index = __pyx_v_right; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":17 + * cdef int left_index = left + * cdef int right_store_index = right + * cdef int i = left # <<<<<<<<<<<<<< + * cdef int j + * while i <= right_store_index: + */ + __pyx_v_i = __pyx_v_left; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":19 + * cdef int i = left + * cdef int j + * while i <= right_store_index: # <<<<<<<<<<<<<< + * if data[i] < pivot_value: + * data[left_index], data[i] = data[i], data[left_index] + */ + while (1) { + __pyx_t_3 = (__pyx_v_i <= __pyx_v_right_store_index); + if (!__pyx_t_3) break; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":20 + * cdef int j + * while i <= right_store_index: + * if data[i] < pivot_value: # <<<<<<<<<<<<<< + * data[left_index], data[i] = data[i], data[left_index] + * left_index += 1 + */ + __pyx_t_1 = __pyx_v_i; + __pyx_t_2 = -1; + if (__pyx_t_1 < 0) { + __pyx_t_1 += __pyx_v_data.shape[0]; + if (unlikely(__pyx_t_1 < 0)) __pyx_t_2 = 0; + } else if (unlikely(__pyx_t_1 >= __pyx_v_data.shape[0])) __pyx_t_2 = 0; + if (unlikely(__pyx_t_2 != -1)) { + __Pyx_RaiseBufferIndexErrorNogil(__pyx_t_2); + __PYX_ERR(0, 20, __pyx_L1_error) + } + __pyx_t_3 = ((*((float *) ( /* dim=0 */ (__pyx_v_data.data + __pyx_t_1 * __pyx_v_data.strides[0]) ))) < __pyx_v_pivot_value); + if (__pyx_t_3) { + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":21 + * while i <= right_store_index: + * if data[i] < pivot_value: + * data[left_index], data[i] = data[i], data[left_index] # <<<<<<<<<<<<<< + * left_index += 1 + * elif data[i] > pivot_value: + */ + __pyx_t_1 = __pyx_v_i; + __pyx_t_2 = -1; + if (__pyx_t_1 < 0) { + __pyx_t_1 += __pyx_v_data.shape[0]; + if (unlikely(__pyx_t_1 < 0)) __pyx_t_2 = 0; + } else if (unlikely(__pyx_t_1 >= __pyx_v_data.shape[0])) __pyx_t_2 = 0; + if (unlikely(__pyx_t_2 != -1)) { + __Pyx_RaiseBufferIndexErrorNogil(__pyx_t_2); + __PYX_ERR(0, 21, __pyx_L1_error) + } + __pyx_t_4 = (*((float *) ( /* dim=0 */ (__pyx_v_data.data + __pyx_t_1 * __pyx_v_data.strides[0]) ))); + __pyx_t_1 = __pyx_v_left_index; + __pyx_t_2 = -1; + if (__pyx_t_1 < 0) { + __pyx_t_1 += __pyx_v_data.shape[0]; + if (unlikely(__pyx_t_1 < 0)) __pyx_t_2 = 0; + } else if (unlikely(__pyx_t_1 >= __pyx_v_data.shape[0])) __pyx_t_2 = 0; + if (unlikely(__pyx_t_2 != -1)) { + __Pyx_RaiseBufferIndexErrorNogil(__pyx_t_2); + __PYX_ERR(0, 21, __pyx_L1_error) + } + __pyx_t_5 = (*((float *) ( /* dim=0 */ (__pyx_v_data.data + __pyx_t_1 * __pyx_v_data.strides[0]) ))); + __pyx_t_1 = __pyx_v_left_index; + __pyx_t_2 = -1; + if (__pyx_t_1 < 0) { + __pyx_t_1 += __pyx_v_data.shape[0]; + if (unlikely(__pyx_t_1 < 0)) __pyx_t_2 = 0; + } else if (unlikely(__pyx_t_1 >= __pyx_v_data.shape[0])) __pyx_t_2 = 0; + if (unlikely(__pyx_t_2 != -1)) { + __Pyx_RaiseBufferIndexErrorNogil(__pyx_t_2); + __PYX_ERR(0, 21, __pyx_L1_error) + } + *((float *) ( /* dim=0 */ (__pyx_v_data.data + __pyx_t_1 * __pyx_v_data.strides[0]) )) = __pyx_t_4; + __pyx_t_1 = __pyx_v_i; + __pyx_t_2 = -1; + if (__pyx_t_1 < 0) { + __pyx_t_1 += __pyx_v_data.shape[0]; + if (unlikely(__pyx_t_1 < 0)) __pyx_t_2 = 0; + } else if (unlikely(__pyx_t_1 >= __pyx_v_data.shape[0])) __pyx_t_2 = 0; + if (unlikely(__pyx_t_2 != -1)) { + __Pyx_RaiseBufferIndexErrorNogil(__pyx_t_2); + __PYX_ERR(0, 21, __pyx_L1_error) + } + *((float *) ( /* dim=0 */ (__pyx_v_data.data + __pyx_t_1 * __pyx_v_data.strides[0]) )) = __pyx_t_5; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":22 + * if data[i] < pivot_value: + * data[left_index], data[i] = data[i], data[left_index] + * left_index += 1 # <<<<<<<<<<<<<< + * elif data[i] > pivot_value: + * data[right_store_index], data[i] = data[i], data[right_store_index] + */ + __pyx_v_left_index = (__pyx_v_left_index + 1); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":20 + * cdef int j + * while i <= right_store_index: + * if data[i] < pivot_value: # <<<<<<<<<<<<<< + * data[left_index], data[i] = data[i], data[left_index] + * left_index += 1 + */ + goto __pyx_L5; + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":23 + * data[left_index], data[i] = data[i], data[left_index] + * left_index += 1 + * elif data[i] > pivot_value: # <<<<<<<<<<<<<< + * data[right_store_index], data[i] = data[i], data[right_store_index] + * right_store_index -= 1 + */ + __pyx_t_1 = __pyx_v_i; + __pyx_t_2 = -1; + if (__pyx_t_1 < 0) { + __pyx_t_1 += __pyx_v_data.shape[0]; + if (unlikely(__pyx_t_1 < 0)) __pyx_t_2 = 0; + } else if (unlikely(__pyx_t_1 >= __pyx_v_data.shape[0])) __pyx_t_2 = 0; + if (unlikely(__pyx_t_2 != -1)) { + __Pyx_RaiseBufferIndexErrorNogil(__pyx_t_2); + __PYX_ERR(0, 23, __pyx_L1_error) + } + __pyx_t_3 = ((*((float *) ( /* dim=0 */ (__pyx_v_data.data + __pyx_t_1 * __pyx_v_data.strides[0]) ))) > __pyx_v_pivot_value); + if (__pyx_t_3) { + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":24 + * left_index += 1 + * elif data[i] > pivot_value: + * data[right_store_index], data[i] = data[i], data[right_store_index] # <<<<<<<<<<<<<< + * right_store_index -= 1 + * i -= 1 + */ + __pyx_t_1 = __pyx_v_i; + __pyx_t_2 = -1; + if (__pyx_t_1 < 0) { + __pyx_t_1 += __pyx_v_data.shape[0]; + if (unlikely(__pyx_t_1 < 0)) __pyx_t_2 = 0; + } else if (unlikely(__pyx_t_1 >= __pyx_v_data.shape[0])) __pyx_t_2 = 0; + if (unlikely(__pyx_t_2 != -1)) { + __Pyx_RaiseBufferIndexErrorNogil(__pyx_t_2); + __PYX_ERR(0, 24, __pyx_L1_error) + } + __pyx_t_5 = (*((float *) ( /* dim=0 */ (__pyx_v_data.data + __pyx_t_1 * __pyx_v_data.strides[0]) ))); + __pyx_t_1 = __pyx_v_right_store_index; + __pyx_t_2 = -1; + if (__pyx_t_1 < 0) { + __pyx_t_1 += __pyx_v_data.shape[0]; + if (unlikely(__pyx_t_1 < 0)) __pyx_t_2 = 0; + } else if (unlikely(__pyx_t_1 >= __pyx_v_data.shape[0])) __pyx_t_2 = 0; + if (unlikely(__pyx_t_2 != -1)) { + __Pyx_RaiseBufferIndexErrorNogil(__pyx_t_2); + __PYX_ERR(0, 24, __pyx_L1_error) + } + __pyx_t_4 = (*((float *) ( /* dim=0 */ (__pyx_v_data.data + __pyx_t_1 * __pyx_v_data.strides[0]) ))); + __pyx_t_1 = __pyx_v_right_store_index; + __pyx_t_2 = -1; + if (__pyx_t_1 < 0) { + __pyx_t_1 += __pyx_v_data.shape[0]; + if (unlikely(__pyx_t_1 < 0)) __pyx_t_2 = 0; + } else if (unlikely(__pyx_t_1 >= __pyx_v_data.shape[0])) __pyx_t_2 = 0; + if (unlikely(__pyx_t_2 != -1)) { + __Pyx_RaiseBufferIndexErrorNogil(__pyx_t_2); + __PYX_ERR(0, 24, __pyx_L1_error) + } + *((float *) ( /* dim=0 */ (__pyx_v_data.data + __pyx_t_1 * __pyx_v_data.strides[0]) )) = __pyx_t_5; + __pyx_t_1 = __pyx_v_i; + __pyx_t_2 = -1; + if (__pyx_t_1 < 0) { + __pyx_t_1 += __pyx_v_data.shape[0]; + if (unlikely(__pyx_t_1 < 0)) __pyx_t_2 = 0; + } else if (unlikely(__pyx_t_1 >= __pyx_v_data.shape[0])) __pyx_t_2 = 0; + if (unlikely(__pyx_t_2 != -1)) { + __Pyx_RaiseBufferIndexErrorNogil(__pyx_t_2); + __PYX_ERR(0, 24, __pyx_L1_error) + } + *((float *) ( /* dim=0 */ (__pyx_v_data.data + __pyx_t_1 * __pyx_v_data.strides[0]) )) = __pyx_t_4; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":25 + * elif data[i] > pivot_value: + * data[right_store_index], data[i] = data[i], data[right_store_index] + * right_store_index -= 1 # <<<<<<<<<<<<<< + * i -= 1 + * i += 1 + */ + __pyx_v_right_store_index = (__pyx_v_right_store_index - 1); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":26 + * data[right_store_index], data[i] = data[i], data[right_store_index] + * right_store_index -= 1 + * i -= 1 # <<<<<<<<<<<<<< + * i += 1 + * return (left_index + right_store_index) // 2 + */ + __pyx_v_i = (__pyx_v_i - 1); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":23 + * data[left_index], data[i] = data[i], data[left_index] + * left_index += 1 + * elif data[i] > pivot_value: # <<<<<<<<<<<<<< + * data[right_store_index], data[i] = data[i], data[right_store_index] + * right_store_index -= 1 + */ + } + __pyx_L5:; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":27 + * right_store_index -= 1 + * i -= 1 + * i += 1 # <<<<<<<<<<<<<< + * return (left_index + right_store_index) // 2 + * + */ + __pyx_v_i = (__pyx_v_i + 1); + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":28 + * i -= 1 + * i += 1 + * return (left_index + right_store_index) // 2 # <<<<<<<<<<<<<< + * + * cpdef float select(float[:] data, int left, int right, int n) nogil: + */ + __pyx_r = __Pyx_div_long((__pyx_v_left_index + __pyx_v_right_store_index), 2); + goto __pyx_L0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":13 + * cdef float EPS = 1e-8 + * + * cpdef int partition(float[:] data, int left, int right, int pivot_index) nogil: # <<<<<<<<<<<<<< + * cdef float pivot_value = data[pivot_index] + * cdef int left_index = left + */ + + /* function exit code */ + __pyx_L1_error:; + #ifdef WITH_THREAD + __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); + #endif + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.partition", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = -1; + #ifdef WITH_THREAD + __Pyx_PyGILState_Release(__pyx_gilstate_save); + #endif + __pyx_L0:; + return __pyx_r; +} + +/* Python wrapper */ +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_1partition(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static PyMethodDef __pyx_mdef_16anomaly_detector_10univariate_22_anomaly_kernel_cython_1partition = {"partition", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_1partition, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_1partition(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +) { + __Pyx_memviewslice __pyx_v_data = { 0, 0, { 0 }, { 0 }, { 0 } }; + int __pyx_v_left; + int __pyx_v_right; + int __pyx_v_pivot_index; + #if !CYTHON_METH_FASTCALL + CYTHON_UNUSED Py_ssize_t __pyx_nargs; + #endif + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject* values[4] = {0,0,0,0}; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("partition (wrapper)", 0); + #if !CYTHON_METH_FASTCALL + #if CYTHON_ASSUME_SAFE_MACROS + __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); + #else + __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL; + #endif + #endif + __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs); + { + PyObject **__pyx_pyargnames[] = {&__pyx_n_s_data,&__pyx_n_s_left,&__pyx_n_s_right,&__pyx_n_s_pivot_index,0}; + if (__pyx_kwds) { + Py_ssize_t kw_args; + switch (__pyx_nargs) { + case 4: values[3] = __Pyx_Arg_FASTCALL(__pyx_args, 3); + CYTHON_FALLTHROUGH; + case 3: values[2] = __Pyx_Arg_FASTCALL(__pyx_args, 2); + CYTHON_FALLTHROUGH; + case 2: values[1] = __Pyx_Arg_FASTCALL(__pyx_args, 1); + CYTHON_FALLTHROUGH; + case 1: values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); + CYTHON_FALLTHROUGH; + case 0: break; + default: goto __pyx_L5_argtuple_error; + } + kw_args = __Pyx_NumKwargs_FASTCALL(__pyx_kwds); + switch (__pyx_nargs) { + case 0: + if (likely((values[0] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_data)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[0]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 13, __pyx_L3_error) + else goto __pyx_L5_argtuple_error; + CYTHON_FALLTHROUGH; + case 1: + if (likely((values[1] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_left)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[1]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 13, __pyx_L3_error) + else { + __Pyx_RaiseArgtupleInvalid("partition", 1, 4, 4, 1); __PYX_ERR(0, 13, __pyx_L3_error) + } + CYTHON_FALLTHROUGH; + case 2: + if (likely((values[2] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_right)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[2]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 13, __pyx_L3_error) + else { + __Pyx_RaiseArgtupleInvalid("partition", 1, 4, 4, 2); __PYX_ERR(0, 13, __pyx_L3_error) + } + CYTHON_FALLTHROUGH; + case 3: + if (likely((values[3] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_pivot_index)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[3]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 13, __pyx_L3_error) + else { + __Pyx_RaiseArgtupleInvalid("partition", 1, 4, 4, 3); __PYX_ERR(0, 13, __pyx_L3_error) + } + } + if (unlikely(kw_args > 0)) { + const Py_ssize_t kwd_pos_args = __pyx_nargs; + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "partition") < 0)) __PYX_ERR(0, 13, __pyx_L3_error) + } + } else if (unlikely(__pyx_nargs != 4)) { + goto __pyx_L5_argtuple_error; + } else { + values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); + values[1] = __Pyx_Arg_FASTCALL(__pyx_args, 1); + values[2] = __Pyx_Arg_FASTCALL(__pyx_args, 2); + values[3] = __Pyx_Arg_FASTCALL(__pyx_args, 3); + } + __pyx_v_data = __Pyx_PyObject_to_MemoryviewSlice_ds_float(values[0], PyBUF_WRITABLE); if (unlikely(!__pyx_v_data.memview)) __PYX_ERR(0, 13, __pyx_L3_error) + __pyx_v_left = __Pyx_PyInt_As_int(values[1]); if (unlikely((__pyx_v_left == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 13, __pyx_L3_error) + __pyx_v_right = __Pyx_PyInt_As_int(values[2]); if (unlikely((__pyx_v_right == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 13, __pyx_L3_error) + __pyx_v_pivot_index = __Pyx_PyInt_As_int(values[3]); if (unlikely((__pyx_v_pivot_index == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 13, __pyx_L3_error) + } + goto __pyx_L6_skip; + __pyx_L5_argtuple_error:; + __Pyx_RaiseArgtupleInvalid("partition", 1, 4, 4, __pyx_nargs); __PYX_ERR(0, 13, __pyx_L3_error) + __pyx_L6_skip:; + goto __pyx_L4_argument_unpacking_done; + __pyx_L3_error:; + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]); + } + } + __PYX_XCLEAR_MEMVIEW(&__pyx_v_data, 1); + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.partition", __pyx_clineno, __pyx_lineno, __pyx_filename); + __Pyx_RefNannyFinishContext(); + return NULL; + __pyx_L4_argument_unpacking_done:; + __pyx_r = __pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_partition(__pyx_self, __pyx_v_data, __pyx_v_left, __pyx_v_right, __pyx_v_pivot_index); + + /* function exit code */ + __PYX_XCLEAR_MEMVIEW(&__pyx_v_data, 1); + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]); + } + } + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_partition(CYTHON_UNUSED PyObject *__pyx_self, __Pyx_memviewslice __pyx_v_data, int __pyx_v_left, int __pyx_v_right, int __pyx_v_pivot_index) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + int __pyx_t_1; + PyObject *__pyx_t_2 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("partition", 1); + __Pyx_XDECREF(__pyx_r); + if (unlikely(!__pyx_v_data.memview)) { __Pyx_RaiseUnboundLocalError("data"); __PYX_ERR(0, 13, __pyx_L1_error) } + __pyx_t_1 = __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_partition(__pyx_v_data, __pyx_v_left, __pyx_v_right, __pyx_v_pivot_index, 0); if (unlikely(__pyx_t_1 == ((int)-1) && PyErr_Occurred())) __PYX_ERR(0, 13, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 13, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_2); + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.partition", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":30 + * return (left_index + right_store_index) // 2 + * + * cpdef float select(float[:] data, int left, int right, int n) nogil: # <<<<<<<<<<<<<< + * cdef int pivot_index + * if left == right: + */ + +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_3select(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static float __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_select(__Pyx_memviewslice __pyx_v_data, int __pyx_v_left, int __pyx_v_right, int __pyx_v_n, CYTHON_UNUSED int __pyx_skip_dispatch) { + int __pyx_v_pivot_index; + int __pyx_v_rand_base; + float __pyx_r; + int __pyx_t_1; + Py_ssize_t __pyx_t_2; + int __pyx_t_3; + float __pyx_t_4; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + #ifdef WITH_THREAD + PyGILState_STATE __pyx_gilstate_save; + #endif + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":32 + * cpdef float select(float[:] data, int left, int right, int n) nogil: + * cdef int pivot_index + * if left == right: # <<<<<<<<<<<<<< + * return data[left] + * cdef int rand_base = right - left + 1 + */ + __pyx_t_1 = (__pyx_v_left == __pyx_v_right); + if (__pyx_t_1) { + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":33 + * cdef int pivot_index + * if left == right: + * return data[left] # <<<<<<<<<<<<<< + * cdef int rand_base = right - left + 1 + * pivot_index = rand()% rand_base + left + */ + __pyx_t_2 = __pyx_v_left; + __pyx_t_3 = -1; + if (__pyx_t_2 < 0) { + __pyx_t_2 += __pyx_v_data.shape[0]; + if (unlikely(__pyx_t_2 < 0)) __pyx_t_3 = 0; + } else if (unlikely(__pyx_t_2 >= __pyx_v_data.shape[0])) __pyx_t_3 = 0; + if (unlikely(__pyx_t_3 != -1)) { + __Pyx_RaiseBufferIndexErrorNogil(__pyx_t_3); + __PYX_ERR(0, 33, __pyx_L1_error) + } + __pyx_r = (*((float *) ( /* dim=0 */ (__pyx_v_data.data + __pyx_t_2 * __pyx_v_data.strides[0]) ))); + goto __pyx_L0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":32 + * cpdef float select(float[:] data, int left, int right, int n) nogil: + * cdef int pivot_index + * if left == right: # <<<<<<<<<<<<<< + * return data[left] + * cdef int rand_base = right - left + 1 + */ + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":34 + * if left == right: + * return data[left] + * cdef int rand_base = right - left + 1 # <<<<<<<<<<<<<< + * pivot_index = rand()% rand_base + left + * pivot_index = partition(data, left, right, pivot_index) + */ + __pyx_v_rand_base = ((__pyx_v_right - __pyx_v_left) + 1); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":35 + * return data[left] + * cdef int rand_base = right - left + 1 + * pivot_index = rand()% rand_base + left # <<<<<<<<<<<<<< + * pivot_index = partition(data, left, right, pivot_index) + * # The pivot is in its final sorted position + */ + __pyx_t_3 = rand(); + if (unlikely(__pyx_v_rand_base == 0)) { + #ifdef WITH_THREAD + PyGILState_STATE __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); + #endif + PyErr_SetString(PyExc_ZeroDivisionError, "integer division or modulo by zero"); + #ifdef WITH_THREAD + __Pyx_PyGILState_Release(__pyx_gilstate_save); + #endif + __PYX_ERR(0, 35, __pyx_L1_error) + } + __pyx_v_pivot_index = (__Pyx_mod_int(__pyx_t_3, __pyx_v_rand_base) + __pyx_v_left); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":36 + * cdef int rand_base = right - left + 1 + * pivot_index = rand()% rand_base + left + * pivot_index = partition(data, left, right, pivot_index) # <<<<<<<<<<<<<< + * # The pivot is in its final sorted position + * if n == pivot_index: + */ + __pyx_t_3 = __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_partition(__pyx_v_data, __pyx_v_left, __pyx_v_right, __pyx_v_pivot_index, 0); if (unlikely(__pyx_t_3 == ((int)-1) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 36, __pyx_L1_error) + __pyx_v_pivot_index = __pyx_t_3; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":38 + * pivot_index = partition(data, left, right, pivot_index) + * # The pivot is in its final sorted position + * if n == pivot_index: # <<<<<<<<<<<<<< + * return data[n] + * elif n < pivot_index: + */ + __pyx_t_1 = (__pyx_v_n == __pyx_v_pivot_index); + if (__pyx_t_1) { + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":39 + * # The pivot is in its final sorted position + * if n == pivot_index: + * return data[n] # <<<<<<<<<<<<<< + * elif n < pivot_index: + * return select(data, left, pivot_index-1, n) + */ + __pyx_t_2 = __pyx_v_n; + __pyx_t_3 = -1; + if (__pyx_t_2 < 0) { + __pyx_t_2 += __pyx_v_data.shape[0]; + if (unlikely(__pyx_t_2 < 0)) __pyx_t_3 = 0; + } else if (unlikely(__pyx_t_2 >= __pyx_v_data.shape[0])) __pyx_t_3 = 0; + if (unlikely(__pyx_t_3 != -1)) { + __Pyx_RaiseBufferIndexErrorNogil(__pyx_t_3); + __PYX_ERR(0, 39, __pyx_L1_error) + } + __pyx_r = (*((float *) ( /* dim=0 */ (__pyx_v_data.data + __pyx_t_2 * __pyx_v_data.strides[0]) ))); + goto __pyx_L0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":38 + * pivot_index = partition(data, left, right, pivot_index) + * # The pivot is in its final sorted position + * if n == pivot_index: # <<<<<<<<<<<<<< + * return data[n] + * elif n < pivot_index: + */ + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":40 + * if n == pivot_index: + * return data[n] + * elif n < pivot_index: # <<<<<<<<<<<<<< + * return select(data, left, pivot_index-1, n) + * else: + */ + __pyx_t_1 = (__pyx_v_n < __pyx_v_pivot_index); + if (__pyx_t_1) { + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":41 + * return data[n] + * elif n < pivot_index: + * return select(data, left, pivot_index-1, n) # <<<<<<<<<<<<<< + * else: + * return select(data, pivot_index+1, right, n) + */ + __pyx_t_4 = __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_select(__pyx_v_data, __pyx_v_left, (__pyx_v_pivot_index - 1), __pyx_v_n, 0); if (unlikely(__pyx_t_4 == ((float)-1) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 41, __pyx_L1_error) + __pyx_r = __pyx_t_4; + goto __pyx_L0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":40 + * if n == pivot_index: + * return data[n] + * elif n < pivot_index: # <<<<<<<<<<<<<< + * return select(data, left, pivot_index-1, n) + * else: + */ + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":43 + * return select(data, left, pivot_index-1, n) + * else: + * return select(data, pivot_index+1, right, n) # <<<<<<<<<<<<<< + * + * + */ + /*else*/ { + __pyx_t_4 = __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_select(__pyx_v_data, (__pyx_v_pivot_index + 1), __pyx_v_right, __pyx_v_n, 0); if (unlikely(__pyx_t_4 == ((float)-1) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 43, __pyx_L1_error) + __pyx_r = __pyx_t_4; + goto __pyx_L0; + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":30 + * return (left_index + right_store_index) // 2 + * + * cpdef float select(float[:] data, int left, int right, int n) nogil: # <<<<<<<<<<<<<< + * cdef int pivot_index + * if left == right: + */ + + /* function exit code */ + __pyx_L1_error:; + #ifdef WITH_THREAD + __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); + #endif + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.select", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = -1; + #ifdef WITH_THREAD + __Pyx_PyGILState_Release(__pyx_gilstate_save); + #endif + __pyx_L0:; + return __pyx_r; +} + +/* Python wrapper */ +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_3select(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static PyMethodDef __pyx_mdef_16anomaly_detector_10univariate_22_anomaly_kernel_cython_3select = {"select", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_3select, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_3select(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +) { + __Pyx_memviewslice __pyx_v_data = { 0, 0, { 0 }, { 0 }, { 0 } }; + int __pyx_v_left; + int __pyx_v_right; + int __pyx_v_n; + #if !CYTHON_METH_FASTCALL + CYTHON_UNUSED Py_ssize_t __pyx_nargs; + #endif + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject* values[4] = {0,0,0,0}; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("select (wrapper)", 0); + #if !CYTHON_METH_FASTCALL + #if CYTHON_ASSUME_SAFE_MACROS + __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); + #else + __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL; + #endif + #endif + __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs); + { + PyObject **__pyx_pyargnames[] = {&__pyx_n_s_data,&__pyx_n_s_left,&__pyx_n_s_right,&__pyx_n_s_n,0}; + if (__pyx_kwds) { + Py_ssize_t kw_args; + switch (__pyx_nargs) { + case 4: values[3] = __Pyx_Arg_FASTCALL(__pyx_args, 3); + CYTHON_FALLTHROUGH; + case 3: values[2] = __Pyx_Arg_FASTCALL(__pyx_args, 2); + CYTHON_FALLTHROUGH; + case 2: values[1] = __Pyx_Arg_FASTCALL(__pyx_args, 1); + CYTHON_FALLTHROUGH; + case 1: values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); + CYTHON_FALLTHROUGH; + case 0: break; + default: goto __pyx_L5_argtuple_error; + } + kw_args = __Pyx_NumKwargs_FASTCALL(__pyx_kwds); + switch (__pyx_nargs) { + case 0: + if (likely((values[0] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_data)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[0]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 30, __pyx_L3_error) + else goto __pyx_L5_argtuple_error; + CYTHON_FALLTHROUGH; + case 1: + if (likely((values[1] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_left)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[1]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 30, __pyx_L3_error) + else { + __Pyx_RaiseArgtupleInvalid("select", 1, 4, 4, 1); __PYX_ERR(0, 30, __pyx_L3_error) + } + CYTHON_FALLTHROUGH; + case 2: + if (likely((values[2] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_right)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[2]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 30, __pyx_L3_error) + else { + __Pyx_RaiseArgtupleInvalid("select", 1, 4, 4, 2); __PYX_ERR(0, 30, __pyx_L3_error) + } + CYTHON_FALLTHROUGH; + case 3: + if (likely((values[3] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_n)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[3]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 30, __pyx_L3_error) + else { + __Pyx_RaiseArgtupleInvalid("select", 1, 4, 4, 3); __PYX_ERR(0, 30, __pyx_L3_error) + } + } + if (unlikely(kw_args > 0)) { + const Py_ssize_t kwd_pos_args = __pyx_nargs; + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "select") < 0)) __PYX_ERR(0, 30, __pyx_L3_error) + } + } else if (unlikely(__pyx_nargs != 4)) { + goto __pyx_L5_argtuple_error; + } else { + values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); + values[1] = __Pyx_Arg_FASTCALL(__pyx_args, 1); + values[2] = __Pyx_Arg_FASTCALL(__pyx_args, 2); + values[3] = __Pyx_Arg_FASTCALL(__pyx_args, 3); + } + __pyx_v_data = __Pyx_PyObject_to_MemoryviewSlice_ds_float(values[0], PyBUF_WRITABLE); if (unlikely(!__pyx_v_data.memview)) __PYX_ERR(0, 30, __pyx_L3_error) + __pyx_v_left = __Pyx_PyInt_As_int(values[1]); if (unlikely((__pyx_v_left == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 30, __pyx_L3_error) + __pyx_v_right = __Pyx_PyInt_As_int(values[2]); if (unlikely((__pyx_v_right == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 30, __pyx_L3_error) + __pyx_v_n = __Pyx_PyInt_As_int(values[3]); if (unlikely((__pyx_v_n == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 30, __pyx_L3_error) + } + goto __pyx_L6_skip; + __pyx_L5_argtuple_error:; + __Pyx_RaiseArgtupleInvalid("select", 1, 4, 4, __pyx_nargs); __PYX_ERR(0, 30, __pyx_L3_error) + __pyx_L6_skip:; + goto __pyx_L4_argument_unpacking_done; + __pyx_L3_error:; + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]); + } + } + __PYX_XCLEAR_MEMVIEW(&__pyx_v_data, 1); + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.select", __pyx_clineno, __pyx_lineno, __pyx_filename); + __Pyx_RefNannyFinishContext(); + return NULL; + __pyx_L4_argument_unpacking_done:; + __pyx_r = __pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_2select(__pyx_self, __pyx_v_data, __pyx_v_left, __pyx_v_right, __pyx_v_n); + + /* function exit code */ + __PYX_XCLEAR_MEMVIEW(&__pyx_v_data, 1); + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]); + } + } + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_2select(CYTHON_UNUSED PyObject *__pyx_self, __Pyx_memviewslice __pyx_v_data, int __pyx_v_left, int __pyx_v_right, int __pyx_v_n) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + float __pyx_t_1; + PyObject *__pyx_t_2 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("select", 1); + __Pyx_XDECREF(__pyx_r); + if (unlikely(!__pyx_v_data.memview)) { __Pyx_RaiseUnboundLocalError("data"); __PYX_ERR(0, 30, __pyx_L1_error) } + __pyx_t_1 = __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_select(__pyx_v_data, __pyx_v_left, __pyx_v_right, __pyx_v_n, 0); if (unlikely(__pyx_t_1 == ((float)-1) && PyErr_Occurred())) __PYX_ERR(0, 30, __pyx_L1_error) + __pyx_t_2 = PyFloat_FromDouble(__pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 30, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_2); + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.select", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":46 + * + * + * cpdef float quick_select(float[:] data, int k) nogil: # <<<<<<<<<<<<<< + * return select(data, 0, len(data)-1, k-1) + * + */ + +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_5quick_select(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static float __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_quick_select(__Pyx_memviewslice __pyx_v_data, int __pyx_v_k, CYTHON_UNUSED int __pyx_skip_dispatch) { + float __pyx_r; + Py_ssize_t __pyx_t_1; + float __pyx_t_2; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + #ifdef WITH_THREAD + PyGILState_STATE __pyx_gilstate_save; + #endif + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":47 + * + * cpdef float quick_select(float[:] data, int k) nogil: + * return select(data, 0, len(data)-1, k-1) # <<<<<<<<<<<<<< + * + * cpdef float fast_median(float[:] table) nogil: + */ + __pyx_t_1 = __Pyx_MemoryView_Len(__pyx_v_data); + __pyx_t_2 = __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_select(__pyx_v_data, 0, (__pyx_t_1 - 1), (__pyx_v_k - 1), 0); if (unlikely(__pyx_t_2 == ((float)-1) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 47, __pyx_L1_error) + __pyx_r = __pyx_t_2; + goto __pyx_L0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":46 + * + * + * cpdef float quick_select(float[:] data, int k) nogil: # <<<<<<<<<<<<<< + * return select(data, 0, len(data)-1, k-1) + * + */ + + /* function exit code */ + __pyx_L1_error:; + #ifdef WITH_THREAD + __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); + #endif + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.quick_select", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = -1; + #ifdef WITH_THREAD + __Pyx_PyGILState_Release(__pyx_gilstate_save); + #endif + __pyx_L0:; + return __pyx_r; +} + +/* Python wrapper */ +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_5quick_select(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static PyMethodDef __pyx_mdef_16anomaly_detector_10univariate_22_anomaly_kernel_cython_5quick_select = {"quick_select", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_5quick_select, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_5quick_select(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +) { + __Pyx_memviewslice __pyx_v_data = { 0, 0, { 0 }, { 0 }, { 0 } }; + int __pyx_v_k; + #if !CYTHON_METH_FASTCALL + CYTHON_UNUSED Py_ssize_t __pyx_nargs; + #endif + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject* values[2] = {0,0}; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("quick_select (wrapper)", 0); + #if !CYTHON_METH_FASTCALL + #if CYTHON_ASSUME_SAFE_MACROS + __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); + #else + __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL; + #endif + #endif + __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs); + { + PyObject **__pyx_pyargnames[] = {&__pyx_n_s_data,&__pyx_n_s_k,0}; + if (__pyx_kwds) { + Py_ssize_t kw_args; + switch (__pyx_nargs) { + case 2: values[1] = __Pyx_Arg_FASTCALL(__pyx_args, 1); + CYTHON_FALLTHROUGH; + case 1: values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); + CYTHON_FALLTHROUGH; + case 0: break; + default: goto __pyx_L5_argtuple_error; + } + kw_args = __Pyx_NumKwargs_FASTCALL(__pyx_kwds); + switch (__pyx_nargs) { + case 0: + if (likely((values[0] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_data)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[0]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 46, __pyx_L3_error) + else goto __pyx_L5_argtuple_error; + CYTHON_FALLTHROUGH; + case 1: + if (likely((values[1] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_k)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[1]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 46, __pyx_L3_error) + else { + __Pyx_RaiseArgtupleInvalid("quick_select", 1, 2, 2, 1); __PYX_ERR(0, 46, __pyx_L3_error) + } + } + if (unlikely(kw_args > 0)) { + const Py_ssize_t kwd_pos_args = __pyx_nargs; + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "quick_select") < 0)) __PYX_ERR(0, 46, __pyx_L3_error) + } + } else if (unlikely(__pyx_nargs != 2)) { + goto __pyx_L5_argtuple_error; + } else { + values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); + values[1] = __Pyx_Arg_FASTCALL(__pyx_args, 1); + } + __pyx_v_data = __Pyx_PyObject_to_MemoryviewSlice_ds_float(values[0], PyBUF_WRITABLE); if (unlikely(!__pyx_v_data.memview)) __PYX_ERR(0, 46, __pyx_L3_error) + __pyx_v_k = __Pyx_PyInt_As_int(values[1]); if (unlikely((__pyx_v_k == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 46, __pyx_L3_error) + } + goto __pyx_L6_skip; + __pyx_L5_argtuple_error:; + __Pyx_RaiseArgtupleInvalid("quick_select", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 46, __pyx_L3_error) + __pyx_L6_skip:; + goto __pyx_L4_argument_unpacking_done; + __pyx_L3_error:; + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]); + } + } + __PYX_XCLEAR_MEMVIEW(&__pyx_v_data, 1); + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.quick_select", __pyx_clineno, __pyx_lineno, __pyx_filename); + __Pyx_RefNannyFinishContext(); + return NULL; + __pyx_L4_argument_unpacking_done:; + __pyx_r = __pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_4quick_select(__pyx_self, __pyx_v_data, __pyx_v_k); + + /* function exit code */ + __PYX_XCLEAR_MEMVIEW(&__pyx_v_data, 1); + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]); + } + } + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_4quick_select(CYTHON_UNUSED PyObject *__pyx_self, __Pyx_memviewslice __pyx_v_data, int __pyx_v_k) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + float __pyx_t_1; + PyObject *__pyx_t_2 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("quick_select", 1); + __Pyx_XDECREF(__pyx_r); + if (unlikely(!__pyx_v_data.memview)) { __Pyx_RaiseUnboundLocalError("data"); __PYX_ERR(0, 46, __pyx_L1_error) } + __pyx_t_1 = __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_quick_select(__pyx_v_data, __pyx_v_k, 0); if (unlikely(__pyx_t_1 == ((float)-1) && PyErr_Occurred())) __PYX_ERR(0, 46, __pyx_L1_error) + __pyx_t_2 = PyFloat_FromDouble(__pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 46, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_2); + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.quick_select", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":49 + * return select(data, 0, len(data)-1, k-1) + * + * cpdef float fast_median(float[:] table) nogil: # <<<<<<<<<<<<<< + * if len(table) % 2 == 1: + * return quick_select(table, len(table) // 2 + 1) + */ + +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_7fast_median(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static float __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_fast_median(__Pyx_memviewslice __pyx_v_table, CYTHON_UNUSED int __pyx_skip_dispatch) { + float __pyx_r; + Py_ssize_t __pyx_t_1; + int __pyx_t_2; + float __pyx_t_3; + float __pyx_t_4; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + #ifdef WITH_THREAD + PyGILState_STATE __pyx_gilstate_save; + #endif + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":50 + * + * cpdef float fast_median(float[:] table) nogil: + * if len(table) % 2 == 1: # <<<<<<<<<<<<<< + * return quick_select(table, len(table) // 2 + 1) + * else: + */ + __pyx_t_1 = __Pyx_MemoryView_Len(__pyx_v_table); + __pyx_t_2 = (__Pyx_mod_Py_ssize_t(__pyx_t_1, 2) == 1); + if (__pyx_t_2) { + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":51 + * cpdef float fast_median(float[:] table) nogil: + * if len(table) % 2 == 1: + * return quick_select(table, len(table) // 2 + 1) # <<<<<<<<<<<<<< + * else: + * return 0.5 * (quick_select(table, len(table) // 2) + + */ + __pyx_t_1 = __Pyx_MemoryView_Len(__pyx_v_table); + __pyx_t_3 = __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_quick_select(__pyx_v_table, (__Pyx_div_Py_ssize_t(__pyx_t_1, 2) + 1), 0); if (unlikely(__pyx_t_3 == ((float)-1) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 51, __pyx_L1_error) + __pyx_r = __pyx_t_3; + goto __pyx_L0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":50 + * + * cpdef float fast_median(float[:] table) nogil: + * if len(table) % 2 == 1: # <<<<<<<<<<<<<< + * return quick_select(table, len(table) // 2 + 1) + * else: + */ + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":53 + * return quick_select(table, len(table) // 2 + 1) + * else: + * return 0.5 * (quick_select(table, len(table) // 2) + # <<<<<<<<<<<<<< + * quick_select(table, len(table) // 2 + 1)) + * + */ + /*else*/ { + __pyx_t_1 = __Pyx_MemoryView_Len(__pyx_v_table); + __pyx_t_3 = __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_quick_select(__pyx_v_table, __Pyx_div_Py_ssize_t(__pyx_t_1, 2), 0); if (unlikely(__pyx_t_3 == ((float)-1) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 53, __pyx_L1_error) + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":54 + * else: + * return 0.5 * (quick_select(table, len(table) // 2) + + * quick_select(table, len(table) // 2 + 1)) # <<<<<<<<<<<<<< + * + * cpdef float calculate_esd_values(int i, float alpha, int n, bint one_tail=True): + */ + __pyx_t_1 = __Pyx_MemoryView_Len(__pyx_v_table); + __pyx_t_4 = __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_quick_select(__pyx_v_table, (__Pyx_div_Py_ssize_t(__pyx_t_1, 2) + 1), 0); if (unlikely(__pyx_t_4 == ((float)-1) && __Pyx_ErrOccurredWithGIL())) __PYX_ERR(0, 54, __pyx_L1_error) + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":53 + * return quick_select(table, len(table) // 2 + 1) + * else: + * return 0.5 * (quick_select(table, len(table) // 2) + # <<<<<<<<<<<<<< + * quick_select(table, len(table) // 2 + 1)) + * + */ + __pyx_r = (0.5 * (__pyx_t_3 + __pyx_t_4)); + goto __pyx_L0; + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":49 + * return select(data, 0, len(data)-1, k-1) + * + * cpdef float fast_median(float[:] table) nogil: # <<<<<<<<<<<<<< + * if len(table) % 2 == 1: + * return quick_select(table, len(table) // 2 + 1) + */ + + /* function exit code */ + __pyx_L1_error:; + #ifdef WITH_THREAD + __pyx_gilstate_save = __Pyx_PyGILState_Ensure(); + #endif + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.fast_median", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = -1; + #ifdef WITH_THREAD + __Pyx_PyGILState_Release(__pyx_gilstate_save); + #endif + __pyx_L0:; + return __pyx_r; +} + +/* Python wrapper */ +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_7fast_median(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static PyMethodDef __pyx_mdef_16anomaly_detector_10univariate_22_anomaly_kernel_cython_7fast_median = {"fast_median", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_7fast_median, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_7fast_median(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +) { + __Pyx_memviewslice __pyx_v_table = { 0, 0, { 0 }, { 0 }, { 0 } }; + #if !CYTHON_METH_FASTCALL + CYTHON_UNUSED Py_ssize_t __pyx_nargs; + #endif + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject* values[1] = {0}; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("fast_median (wrapper)", 0); + #if !CYTHON_METH_FASTCALL + #if CYTHON_ASSUME_SAFE_MACROS + __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); + #else + __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL; + #endif + #endif + __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs); + { + PyObject **__pyx_pyargnames[] = {&__pyx_n_s_table,0}; + if (__pyx_kwds) { + Py_ssize_t kw_args; + switch (__pyx_nargs) { + case 1: values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); + CYTHON_FALLTHROUGH; + case 0: break; + default: goto __pyx_L5_argtuple_error; + } + kw_args = __Pyx_NumKwargs_FASTCALL(__pyx_kwds); + switch (__pyx_nargs) { + case 0: + if (likely((values[0] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_table)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[0]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 49, __pyx_L3_error) + else goto __pyx_L5_argtuple_error; + } + if (unlikely(kw_args > 0)) { + const Py_ssize_t kwd_pos_args = __pyx_nargs; + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "fast_median") < 0)) __PYX_ERR(0, 49, __pyx_L3_error) + } + } else if (unlikely(__pyx_nargs != 1)) { + goto __pyx_L5_argtuple_error; + } else { + values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); + } + __pyx_v_table = __Pyx_PyObject_to_MemoryviewSlice_ds_float(values[0], PyBUF_WRITABLE); if (unlikely(!__pyx_v_table.memview)) __PYX_ERR(0, 49, __pyx_L3_error) + } + goto __pyx_L6_skip; + __pyx_L5_argtuple_error:; + __Pyx_RaiseArgtupleInvalid("fast_median", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 49, __pyx_L3_error) + __pyx_L6_skip:; + goto __pyx_L4_argument_unpacking_done; + __pyx_L3_error:; + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]); + } + } + __PYX_XCLEAR_MEMVIEW(&__pyx_v_table, 1); + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.fast_median", __pyx_clineno, __pyx_lineno, __pyx_filename); + __Pyx_RefNannyFinishContext(); + return NULL; + __pyx_L4_argument_unpacking_done:; + __pyx_r = __pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_6fast_median(__pyx_self, __pyx_v_table); + + /* function exit code */ + __PYX_XCLEAR_MEMVIEW(&__pyx_v_table, 1); + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]); + } + } + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_6fast_median(CYTHON_UNUSED PyObject *__pyx_self, __Pyx_memviewslice __pyx_v_table) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + float __pyx_t_1; + PyObject *__pyx_t_2 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("fast_median", 1); + __Pyx_XDECREF(__pyx_r); + if (unlikely(!__pyx_v_table.memview)) { __Pyx_RaiseUnboundLocalError("table"); __PYX_ERR(0, 49, __pyx_L1_error) } + __pyx_t_1 = __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_fast_median(__pyx_v_table, 0); if (unlikely(__pyx_t_1 == ((float)-1) && PyErr_Occurred())) __PYX_ERR(0, 49, __pyx_L1_error) + __pyx_t_2 = PyFloat_FromDouble(__pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 49, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_2); + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.fast_median", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":56 + * quick_select(table, len(table) // 2 + 1)) + * + * cpdef float calculate_esd_values(int i, float alpha, int n, bint one_tail=True): # <<<<<<<<<<<<<< + * if one_tail: + * p = 1 - alpha / float(n - i + 1) + */ + +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_9calculate_esd_values(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static float __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_calculate_esd_values(int __pyx_v_i, float __pyx_v_alpha, int __pyx_v_n, CYTHON_UNUSED int __pyx_skip_dispatch, struct __pyx_opt_args_16anomaly_detector_10univariate_22_anomaly_kernel_cython_calculate_esd_values *__pyx_optional_args) { + int __pyx_v_one_tail = ((int)1); + double __pyx_v_p; + PyObject *__pyx_v_t = NULL; + float __pyx_r; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; + PyObject *__pyx_t_3 = NULL; + PyObject *__pyx_t_4 = NULL; + PyObject *__pyx_t_5 = NULL; + int __pyx_t_6; + double __pyx_t_7; + float __pyx_t_8; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("calculate_esd_values", 1); + if (__pyx_optional_args) { + if (__pyx_optional_args->__pyx_n > 0) { + __pyx_v_one_tail = __pyx_optional_args->one_tail; + } + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":57 + * + * cpdef float calculate_esd_values(int i, float alpha, int n, bint one_tail=True): + * if one_tail: # <<<<<<<<<<<<<< + * p = 1 - alpha / float(n - i + 1) + * else: + */ + if (__pyx_v_one_tail) { + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":58 + * cpdef float calculate_esd_values(int i, float alpha, int n, bint one_tail=True): + * if one_tail: + * p = 1 - alpha / float(n - i + 1) # <<<<<<<<<<<<<< + * else: + * p = 1 - alpha / float(2 * (n - i + 1)) + */ + if (unlikely(((double)((__pyx_v_n - __pyx_v_i) + 1)) == 0)) { + PyErr_SetString(PyExc_ZeroDivisionError, "float division"); + __PYX_ERR(0, 58, __pyx_L1_error) + } + __pyx_v_p = (1.0 - (((double)__pyx_v_alpha) / ((double)((__pyx_v_n - __pyx_v_i) + 1)))); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":57 + * + * cpdef float calculate_esd_values(int i, float alpha, int n, bint one_tail=True): + * if one_tail: # <<<<<<<<<<<<<< + * p = 1 - alpha / float(n - i + 1) + * else: + */ + goto __pyx_L3; + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":60 + * p = 1 - alpha / float(n - i + 1) + * else: + * p = 1 - alpha / float(2 * (n - i + 1)) # <<<<<<<<<<<<<< + * t = student_t.ppf(p, (n - i - 1)) + * return t * (n - i) / float(sqrt((n - i - 1 + t ** 2) * (n - i + 1))) + */ + /*else*/ { + if (unlikely(((double)(2 * ((__pyx_v_n - __pyx_v_i) + 1))) == 0)) { + PyErr_SetString(PyExc_ZeroDivisionError, "float division"); + __PYX_ERR(0, 60, __pyx_L1_error) + } + __pyx_v_p = (1.0 - (((double)__pyx_v_alpha) / ((double)(2 * ((__pyx_v_n - __pyx_v_i) + 1))))); + } + __pyx_L3:; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":61 + * else: + * p = 1 - alpha / float(2 * (n - i + 1)) + * t = student_t.ppf(p, (n - i - 1)) # <<<<<<<<<<<<<< + * return t * (n - i) / float(sqrt((n - i - 1 + t ** 2) * (n - i + 1))) + * + */ + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_student_t); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 61, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_ppf); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 61, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_2 = PyFloat_FromDouble(__pyx_v_p); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 61, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_4 = __Pyx_PyInt_From_long(((__pyx_v_n - __pyx_v_i) - 1)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 61, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_5 = NULL; + __pyx_t_6 = 0; + #if CYTHON_UNPACK_METHODS + if (unlikely(PyMethod_Check(__pyx_t_3))) { + __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_3); + if (likely(__pyx_t_5)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3); + __Pyx_INCREF(__pyx_t_5); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_3, function); + __pyx_t_6 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[3] = {__pyx_t_5, __pyx_t_2, __pyx_t_4}; + __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_6, 2+__pyx_t_6); + __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 61, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + } + __pyx_v_t = __pyx_t_1; + __pyx_t_1 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":62 + * p = 1 - alpha / float(2 * (n - i + 1)) + * t = student_t.ppf(p, (n - i - 1)) + * return t * (n - i) / float(sqrt((n - i - 1 + t ** 2) * (n - i + 1))) # <<<<<<<<<<<<<< + * + * cpdef float sorted_median(float[:] data, int i, int j): + */ + __pyx_t_1 = __Pyx_PyInt_From_int((__pyx_v_n - __pyx_v_i)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 62, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_t_3 = PyNumber_Multiply(__pyx_v_t, __pyx_t_1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 62, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __pyx_t_1 = __Pyx_PyInt_From_long(((__pyx_v_n - __pyx_v_i) - 1)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 62, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_t_4 = PyNumber_Power(__pyx_v_t, __pyx_int_2, Py_None); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 62, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_2 = PyNumber_Add(__pyx_t_1, __pyx_t_4); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 62, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_4 = __Pyx_PyInt_From_long(((__pyx_v_n - __pyx_v_i) + 1)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 62, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_1 = PyNumber_Multiply(__pyx_t_2, __pyx_t_4); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 62, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_7 = __pyx_PyFloat_AsDouble(__pyx_t_1); if (unlikely((__pyx_t_7 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 62, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __pyx_t_1 = PyFloat_FromDouble(sqrt(__pyx_t_7)); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 62, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_t_4 = __Pyx_PyNumber_Divide(__pyx_t_3, __pyx_t_1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 62, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __pyx_t_8 = __pyx_PyFloat_AsFloat(__pyx_t_4); if (unlikely((__pyx_t_8 == (float)-1) && PyErr_Occurred())) __PYX_ERR(0, 62, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_r = __pyx_t_8; + goto __pyx_L0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":56 + * quick_select(table, len(table) // 2 + 1)) + * + * cpdef float calculate_esd_values(int i, float alpha, int n, bint one_tail=True): # <<<<<<<<<<<<<< + * if one_tail: + * p = 1 - alpha / float(n - i + 1) + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_2); + __Pyx_XDECREF(__pyx_t_3); + __Pyx_XDECREF(__pyx_t_4); + __Pyx_XDECREF(__pyx_t_5); + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.calculate_esd_values", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = -1; + __pyx_L0:; + __Pyx_XDECREF(__pyx_v_t); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* Python wrapper */ +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_9calculate_esd_values(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static PyMethodDef __pyx_mdef_16anomaly_detector_10univariate_22_anomaly_kernel_cython_9calculate_esd_values = {"calculate_esd_values", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_9calculate_esd_values, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_9calculate_esd_values(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +) { + int __pyx_v_i; + float __pyx_v_alpha; + int __pyx_v_n; + int __pyx_v_one_tail; + #if !CYTHON_METH_FASTCALL + CYTHON_UNUSED Py_ssize_t __pyx_nargs; + #endif + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject* values[4] = {0,0,0,0}; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("calculate_esd_values (wrapper)", 0); + #if !CYTHON_METH_FASTCALL + #if CYTHON_ASSUME_SAFE_MACROS + __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); + #else + __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL; + #endif + #endif + __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs); + { + PyObject **__pyx_pyargnames[] = {&__pyx_n_s_i,&__pyx_n_s_alpha,&__pyx_n_s_n,&__pyx_n_s_one_tail,0}; + if (__pyx_kwds) { + Py_ssize_t kw_args; + switch (__pyx_nargs) { + case 4: values[3] = __Pyx_Arg_FASTCALL(__pyx_args, 3); + CYTHON_FALLTHROUGH; + case 3: values[2] = __Pyx_Arg_FASTCALL(__pyx_args, 2); + CYTHON_FALLTHROUGH; + case 2: values[1] = __Pyx_Arg_FASTCALL(__pyx_args, 1); + CYTHON_FALLTHROUGH; + case 1: values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); + CYTHON_FALLTHROUGH; + case 0: break; + default: goto __pyx_L5_argtuple_error; + } + kw_args = __Pyx_NumKwargs_FASTCALL(__pyx_kwds); + switch (__pyx_nargs) { + case 0: + if (likely((values[0] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_i)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[0]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 56, __pyx_L3_error) + else goto __pyx_L5_argtuple_error; + CYTHON_FALLTHROUGH; + case 1: + if (likely((values[1] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_alpha)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[1]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 56, __pyx_L3_error) + else { + __Pyx_RaiseArgtupleInvalid("calculate_esd_values", 0, 3, 4, 1); __PYX_ERR(0, 56, __pyx_L3_error) + } + CYTHON_FALLTHROUGH; + case 2: + if (likely((values[2] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_n)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[2]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 56, __pyx_L3_error) + else { + __Pyx_RaiseArgtupleInvalid("calculate_esd_values", 0, 3, 4, 2); __PYX_ERR(0, 56, __pyx_L3_error) + } + CYTHON_FALLTHROUGH; + case 3: + if (kw_args > 0) { + PyObject* value = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_one_tail); + if (value) { values[3] = __Pyx_Arg_NewRef_FASTCALL(value); kw_args--; } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 56, __pyx_L3_error) + } + } + if (unlikely(kw_args > 0)) { + const Py_ssize_t kwd_pos_args = __pyx_nargs; + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "calculate_esd_values") < 0)) __PYX_ERR(0, 56, __pyx_L3_error) + } + } else { + switch (__pyx_nargs) { + case 4: values[3] = __Pyx_Arg_FASTCALL(__pyx_args, 3); + CYTHON_FALLTHROUGH; + case 3: values[2] = __Pyx_Arg_FASTCALL(__pyx_args, 2); + values[1] = __Pyx_Arg_FASTCALL(__pyx_args, 1); + values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); + break; + default: goto __pyx_L5_argtuple_error; + } + } + __pyx_v_i = __Pyx_PyInt_As_int(values[0]); if (unlikely((__pyx_v_i == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 56, __pyx_L3_error) + __pyx_v_alpha = __pyx_PyFloat_AsFloat(values[1]); if (unlikely((__pyx_v_alpha == (float)-1) && PyErr_Occurred())) __PYX_ERR(0, 56, __pyx_L3_error) + __pyx_v_n = __Pyx_PyInt_As_int(values[2]); if (unlikely((__pyx_v_n == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 56, __pyx_L3_error) + if (values[3]) { + __pyx_v_one_tail = __Pyx_PyObject_IsTrue(values[3]); if (unlikely((__pyx_v_one_tail == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 56, __pyx_L3_error) + } else { + __pyx_v_one_tail = ((int)1); + } + } + goto __pyx_L6_skip; + __pyx_L5_argtuple_error:; + __Pyx_RaiseArgtupleInvalid("calculate_esd_values", 0, 3, 4, __pyx_nargs); __PYX_ERR(0, 56, __pyx_L3_error) + __pyx_L6_skip:; + goto __pyx_L4_argument_unpacking_done; + __pyx_L3_error:; + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]); + } + } + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.calculate_esd_values", __pyx_clineno, __pyx_lineno, __pyx_filename); + __Pyx_RefNannyFinishContext(); + return NULL; + __pyx_L4_argument_unpacking_done:; + __pyx_r = __pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_8calculate_esd_values(__pyx_self, __pyx_v_i, __pyx_v_alpha, __pyx_v_n, __pyx_v_one_tail); + + /* function exit code */ + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]); + } + } + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_8calculate_esd_values(CYTHON_UNUSED PyObject *__pyx_self, int __pyx_v_i, float __pyx_v_alpha, int __pyx_v_n, int __pyx_v_one_tail) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + float __pyx_t_1; + struct __pyx_opt_args_16anomaly_detector_10univariate_22_anomaly_kernel_cython_calculate_esd_values __pyx_t_2; + PyObject *__pyx_t_3 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("calculate_esd_values", 1); + __Pyx_XDECREF(__pyx_r); + __pyx_t_2.__pyx_n = 1; + __pyx_t_2.one_tail = __pyx_v_one_tail; + __pyx_t_1 = __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_calculate_esd_values(__pyx_v_i, __pyx_v_alpha, __pyx_v_n, 0, &__pyx_t_2); if (unlikely(__pyx_t_1 == ((float)-1) && PyErr_Occurred())) __PYX_ERR(0, 56, __pyx_L1_error) + __pyx_t_3 = PyFloat_FromDouble(__pyx_t_1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 56, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_r = __pyx_t_3; + __pyx_t_3 = 0; + goto __pyx_L0; + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_3); + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.calculate_esd_values", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":64 + * return t * (n - i) / float(sqrt((n - i - 1 + t ** 2) * (n - i + 1))) + * + * cpdef float sorted_median(float[:] data, int i, int j): # <<<<<<<<<<<<<< + * cdef int n = j - i + * cdef int mid + */ + +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_11sorted_median(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static float __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_sorted_median(__Pyx_memviewslice __pyx_v_data, int __pyx_v_i, int __pyx_v_j, CYTHON_UNUSED int __pyx_skip_dispatch) { + int __pyx_v_n; + int __pyx_v_mid; + float __pyx_r; + __Pyx_RefNannyDeclarations + int __pyx_t_1; + PyObject *__pyx_t_2 = NULL; + Py_ssize_t __pyx_t_3; + int __pyx_t_4; + Py_ssize_t __pyx_t_5; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("sorted_median", 1); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":65 + * + * cpdef float sorted_median(float[:] data, int i, int j): + * cdef int n = j - i # <<<<<<<<<<<<<< + * cdef int mid + * if n == 0: + */ + __pyx_v_n = (__pyx_v_j - __pyx_v_i); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":67 + * cdef int n = j - i + * cdef int mid + * if n == 0: # <<<<<<<<<<<<<< + * raise Exception("no median for empty data") + * if n % 2 == 1: + */ + __pyx_t_1 = (__pyx_v_n == 0); + if (unlikely(__pyx_t_1)) { + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":68 + * cdef int mid + * if n == 0: + * raise Exception("no median for empty data") # <<<<<<<<<<<<<< + * if n % 2 == 1: + * return data[i + n // 2] + */ + __pyx_t_2 = __Pyx_PyObject_Call(((PyObject *)(&((PyTypeObject*)PyExc_Exception)[0])), __pyx_tuple__11, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 68, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_Raise(__pyx_t_2, 0, 0, 0); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __PYX_ERR(0, 68, __pyx_L1_error) + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":67 + * cdef int n = j - i + * cdef int mid + * if n == 0: # <<<<<<<<<<<<<< + * raise Exception("no median for empty data") + * if n % 2 == 1: + */ + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":69 + * if n == 0: + * raise Exception("no median for empty data") + * if n % 2 == 1: # <<<<<<<<<<<<<< + * return data[i + n // 2] + * else: + */ + __pyx_t_1 = (__Pyx_mod_long(__pyx_v_n, 2) == 1); + if (__pyx_t_1) { + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":70 + * raise Exception("no median for empty data") + * if n % 2 == 1: + * return data[i + n // 2] # <<<<<<<<<<<<<< + * else: + * mid = i + n // 2 + */ + __pyx_t_3 = (__pyx_v_i + __Pyx_div_long(__pyx_v_n, 2)); + __pyx_t_4 = -1; + if (__pyx_t_3 < 0) { + __pyx_t_3 += __pyx_v_data.shape[0]; + if (unlikely(__pyx_t_3 < 0)) __pyx_t_4 = 0; + } else if (unlikely(__pyx_t_3 >= __pyx_v_data.shape[0])) __pyx_t_4 = 0; + if (unlikely(__pyx_t_4 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_4); + __PYX_ERR(0, 70, __pyx_L1_error) + } + __pyx_r = (*((float *) ( /* dim=0 */ (__pyx_v_data.data + __pyx_t_3 * __pyx_v_data.strides[0]) ))); + goto __pyx_L0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":69 + * if n == 0: + * raise Exception("no median for empty data") + * if n % 2 == 1: # <<<<<<<<<<<<<< + * return data[i + n // 2] + * else: + */ + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":72 + * return data[i + n // 2] + * else: + * mid = i + n // 2 # <<<<<<<<<<<<<< + * return (data[mid - 1] + data[mid])/2 + * + */ + /*else*/ { + __pyx_v_mid = (__pyx_v_i + __Pyx_div_long(__pyx_v_n, 2)); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":73 + * else: + * mid = i + n // 2 + * return (data[mid - 1] + data[mid])/2 # <<<<<<<<<<<<<< + * + * cpdef float find_median_sorted_arrays(float[:] a, float[:] b, float median): + */ + __pyx_t_3 = (__pyx_v_mid - 1); + __pyx_t_4 = -1; + if (__pyx_t_3 < 0) { + __pyx_t_3 += __pyx_v_data.shape[0]; + if (unlikely(__pyx_t_3 < 0)) __pyx_t_4 = 0; + } else if (unlikely(__pyx_t_3 >= __pyx_v_data.shape[0])) __pyx_t_4 = 0; + if (unlikely(__pyx_t_4 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_4); + __PYX_ERR(0, 73, __pyx_L1_error) + } + __pyx_t_5 = __pyx_v_mid; + __pyx_t_4 = -1; + if (__pyx_t_5 < 0) { + __pyx_t_5 += __pyx_v_data.shape[0]; + if (unlikely(__pyx_t_5 < 0)) __pyx_t_4 = 0; + } else if (unlikely(__pyx_t_5 >= __pyx_v_data.shape[0])) __pyx_t_4 = 0; + if (unlikely(__pyx_t_4 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_4); + __PYX_ERR(0, 73, __pyx_L1_error) + } + __pyx_r = (((*((float *) ( /* dim=0 */ (__pyx_v_data.data + __pyx_t_3 * __pyx_v_data.strides[0]) ))) + (*((float *) ( /* dim=0 */ (__pyx_v_data.data + __pyx_t_5 * __pyx_v_data.strides[0]) )))) / 2.0); + goto __pyx_L0; + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":64 + * return t * (n - i) / float(sqrt((n - i - 1 + t ** 2) * (n - i + 1))) + * + * cpdef float sorted_median(float[:] data, int i, int j): # <<<<<<<<<<<<<< + * cdef int n = j - i + * cdef int mid + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_2); + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.sorted_median", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = -1; + __pyx_L0:; + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* Python wrapper */ +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_11sorted_median(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static PyMethodDef __pyx_mdef_16anomaly_detector_10univariate_22_anomaly_kernel_cython_11sorted_median = {"sorted_median", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_11sorted_median, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_11sorted_median(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +) { + __Pyx_memviewslice __pyx_v_data = { 0, 0, { 0 }, { 0 }, { 0 } }; + int __pyx_v_i; + int __pyx_v_j; + #if !CYTHON_METH_FASTCALL + CYTHON_UNUSED Py_ssize_t __pyx_nargs; + #endif + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject* values[3] = {0,0,0}; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("sorted_median (wrapper)", 0); + #if !CYTHON_METH_FASTCALL + #if CYTHON_ASSUME_SAFE_MACROS + __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); + #else + __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL; + #endif + #endif + __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs); + { + PyObject **__pyx_pyargnames[] = {&__pyx_n_s_data,&__pyx_n_s_i,&__pyx_n_s_j,0}; + if (__pyx_kwds) { + Py_ssize_t kw_args; + switch (__pyx_nargs) { + case 3: values[2] = __Pyx_Arg_FASTCALL(__pyx_args, 2); + CYTHON_FALLTHROUGH; + case 2: values[1] = __Pyx_Arg_FASTCALL(__pyx_args, 1); + CYTHON_FALLTHROUGH; + case 1: values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); + CYTHON_FALLTHROUGH; + case 0: break; + default: goto __pyx_L5_argtuple_error; + } + kw_args = __Pyx_NumKwargs_FASTCALL(__pyx_kwds); + switch (__pyx_nargs) { + case 0: + if (likely((values[0] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_data)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[0]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 64, __pyx_L3_error) + else goto __pyx_L5_argtuple_error; + CYTHON_FALLTHROUGH; + case 1: + if (likely((values[1] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_i)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[1]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 64, __pyx_L3_error) + else { + __Pyx_RaiseArgtupleInvalid("sorted_median", 1, 3, 3, 1); __PYX_ERR(0, 64, __pyx_L3_error) + } + CYTHON_FALLTHROUGH; + case 2: + if (likely((values[2] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_j)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[2]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 64, __pyx_L3_error) + else { + __Pyx_RaiseArgtupleInvalid("sorted_median", 1, 3, 3, 2); __PYX_ERR(0, 64, __pyx_L3_error) + } + } + if (unlikely(kw_args > 0)) { + const Py_ssize_t kwd_pos_args = __pyx_nargs; + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "sorted_median") < 0)) __PYX_ERR(0, 64, __pyx_L3_error) + } + } else if (unlikely(__pyx_nargs != 3)) { + goto __pyx_L5_argtuple_error; + } else { + values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); + values[1] = __Pyx_Arg_FASTCALL(__pyx_args, 1); + values[2] = __Pyx_Arg_FASTCALL(__pyx_args, 2); + } + __pyx_v_data = __Pyx_PyObject_to_MemoryviewSlice_ds_float(values[0], PyBUF_WRITABLE); if (unlikely(!__pyx_v_data.memview)) __PYX_ERR(0, 64, __pyx_L3_error) + __pyx_v_i = __Pyx_PyInt_As_int(values[1]); if (unlikely((__pyx_v_i == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 64, __pyx_L3_error) + __pyx_v_j = __Pyx_PyInt_As_int(values[2]); if (unlikely((__pyx_v_j == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 64, __pyx_L3_error) + } + goto __pyx_L6_skip; + __pyx_L5_argtuple_error:; + __Pyx_RaiseArgtupleInvalid("sorted_median", 1, 3, 3, __pyx_nargs); __PYX_ERR(0, 64, __pyx_L3_error) + __pyx_L6_skip:; + goto __pyx_L4_argument_unpacking_done; + __pyx_L3_error:; + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]); + } + } + __PYX_XCLEAR_MEMVIEW(&__pyx_v_data, 1); + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.sorted_median", __pyx_clineno, __pyx_lineno, __pyx_filename); + __Pyx_RefNannyFinishContext(); + return NULL; + __pyx_L4_argument_unpacking_done:; + __pyx_r = __pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_10sorted_median(__pyx_self, __pyx_v_data, __pyx_v_i, __pyx_v_j); + + /* function exit code */ + __PYX_XCLEAR_MEMVIEW(&__pyx_v_data, 1); + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]); + } + } + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_10sorted_median(CYTHON_UNUSED PyObject *__pyx_self, __Pyx_memviewslice __pyx_v_data, int __pyx_v_i, int __pyx_v_j) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + float __pyx_t_1; + PyObject *__pyx_t_2 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("sorted_median", 1); + __Pyx_XDECREF(__pyx_r); + if (unlikely(!__pyx_v_data.memview)) { __Pyx_RaiseUnboundLocalError("data"); __PYX_ERR(0, 64, __pyx_L1_error) } + __pyx_t_1 = __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_sorted_median(__pyx_v_data, __pyx_v_i, __pyx_v_j, 0); if (unlikely(__pyx_t_1 == ((float)-1) && PyErr_Occurred())) __PYX_ERR(0, 64, __pyx_L1_error) + __pyx_t_2 = PyFloat_FromDouble(__pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 64, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_2); + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.sorted_median", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":75 + * return (data[mid - 1] + data[mid])/2 + * + * cpdef float find_median_sorted_arrays(float[:] a, float[:] b, float median): # <<<<<<<<<<<<<< + * cdef int m = len(a) + * cdef int n = len(b) + */ + +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_13find_median_sorted_arrays(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static float __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_find_median_sorted_arrays(__Pyx_memviewslice __pyx_v_a, __Pyx_memviewslice __pyx_v_b, float __pyx_v_median, CYTHON_UNUSED int __pyx_skip_dispatch) { + int __pyx_v_m; + int __pyx_v_n; + int __pyx_v_i_min; + int __pyx_v_i_max; + int __pyx_v_half_len; + PyObject *__pyx_v_i = NULL; + PyObject *__pyx_v_j = NULL; + PyObject *__pyx_v_max_of_left = NULL; + PyObject *__pyx_v_min_of_right = NULL; + float __pyx_r; + __Pyx_RefNannyDeclarations + Py_ssize_t __pyx_t_1; + int __pyx_t_2; + PyObject *__pyx_t_3 = NULL; + PyObject *__pyx_t_4 = NULL; + int __pyx_t_5; + PyObject *__pyx_t_6 = NULL; + Py_ssize_t __pyx_t_7; + int __pyx_t_8; + PyObject *__pyx_t_9 = NULL; + PyObject *__pyx_t_10 = NULL; + float __pyx_t_11; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("find_median_sorted_arrays", 1); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":76 + * + * cpdef float find_median_sorted_arrays(float[:] a, float[:] b, float median): + * cdef int m = len(a) # <<<<<<<<<<<<<< + * cdef int n = len(b) + * cdef int i_min = 0 + */ + __pyx_t_1 = __Pyx_MemoryView_Len(__pyx_v_a); + __pyx_v_m = __pyx_t_1; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":77 + * cpdef float find_median_sorted_arrays(float[:] a, float[:] b, float median): + * cdef int m = len(a) + * cdef int n = len(b) # <<<<<<<<<<<<<< + * cdef int i_min = 0 + * cdef int i_max = m + */ + __pyx_t_1 = __Pyx_MemoryView_Len(__pyx_v_b); + __pyx_v_n = __pyx_t_1; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":78 + * cdef int m = len(a) + * cdef int n = len(b) + * cdef int i_min = 0 # <<<<<<<<<<<<<< + * cdef int i_max = m + * cdef int half_len = (m + n + 1) // 2 + */ + __pyx_v_i_min = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":79 + * cdef int n = len(b) + * cdef int i_min = 0 + * cdef int i_max = m # <<<<<<<<<<<<<< + * cdef int half_len = (m + n + 1) // 2 + * while i_min <= i_max: + */ + __pyx_v_i_max = __pyx_v_m; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":80 + * cdef int i_min = 0 + * cdef int i_max = m + * cdef int half_len = (m + n + 1) // 2 # <<<<<<<<<<<<<< + * while i_min <= i_max: + * i = (i_min + i_max) // 2 + */ + __pyx_v_half_len = __Pyx_div_long(((__pyx_v_m + __pyx_v_n) + 1), 2); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":81 + * cdef int i_max = m + * cdef int half_len = (m + n + 1) // 2 + * while i_min <= i_max: # <<<<<<<<<<<<<< + * i = (i_min + i_max) // 2 + * j = half_len - i + */ + while (1) { + __pyx_t_2 = (__pyx_v_i_min <= __pyx_v_i_max); + if (!__pyx_t_2) break; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":82 + * cdef int half_len = (m + n + 1) // 2 + * while i_min <= i_max: + * i = (i_min + i_max) // 2 # <<<<<<<<<<<<<< + * j = half_len - i + * if i < m and np.fabs(b[j - 1] - median) > np.fabs(a[i] - median): + */ + __pyx_t_3 = __Pyx_PyInt_From_long(__Pyx_div_long((__pyx_v_i_min + __pyx_v_i_max), 2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 82, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_XDECREF_SET(__pyx_v_i, __pyx_t_3); + __pyx_t_3 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":83 + * while i_min <= i_max: + * i = (i_min + i_max) // 2 + * j = half_len - i # <<<<<<<<<<<<<< + * if i < m and np.fabs(b[j - 1] - median) > np.fabs(a[i] - median): + * # i is too small, must increase it + */ + __pyx_t_3 = __Pyx_PyInt_From_int(__pyx_v_half_len); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 83, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_4 = PyNumber_Subtract(__pyx_t_3, __pyx_v_i); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 83, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __Pyx_XDECREF_SET(__pyx_v_j, __pyx_t_4); + __pyx_t_4 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":84 + * i = (i_min + i_max) // 2 + * j = half_len - i + * if i < m and np.fabs(b[j - 1] - median) > np.fabs(a[i] - median): # <<<<<<<<<<<<<< + * # i is too small, must increase it + * i_min = i + 1 + */ + __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_m); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 84, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_3 = PyObject_RichCompare(__pyx_v_i, __pyx_t_4, Py_LT); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 84, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 84, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + if (__pyx_t_5) { + } else { + __pyx_t_2 = __pyx_t_5; + goto __pyx_L6_bool_binop_done; + } + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_np); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 84, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_fabs); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 84, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_4 = __Pyx_PyInt_SubtractObjC(__pyx_v_j, __pyx_int_1, 1, 0, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 84, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_1 = __Pyx_PyIndex_AsSsize_t(__pyx_t_4); if (unlikely((__pyx_t_1 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 84, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_7 = __pyx_t_1; + __pyx_t_8 = -1; + if (__pyx_t_7 < 0) { + __pyx_t_7 += __pyx_v_b.shape[0]; + if (unlikely(__pyx_t_7 < 0)) __pyx_t_8 = 0; + } else if (unlikely(__pyx_t_7 >= __pyx_v_b.shape[0])) __pyx_t_8 = 0; + if (unlikely(__pyx_t_8 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_8); + __PYX_ERR(0, 84, __pyx_L1_error) + } + __pyx_t_4 = PyFloat_FromDouble(((*((float *) ( /* dim=0 */ (__pyx_v_b.data + __pyx_t_7 * __pyx_v_b.strides[0]) ))) - __pyx_v_median)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 84, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_9 = NULL; + __pyx_t_8 = 0; + #if CYTHON_UNPACK_METHODS + if (unlikely(PyMethod_Check(__pyx_t_6))) { + __pyx_t_9 = PyMethod_GET_SELF(__pyx_t_6); + if (likely(__pyx_t_9)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_6); + __Pyx_INCREF(__pyx_t_9); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_6, function); + __pyx_t_8 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[2] = {__pyx_t_9, __pyx_t_4}; + __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_6, __pyx_callargs+1-__pyx_t_8, 1+__pyx_t_8); + __Pyx_XDECREF(__pyx_t_9); __pyx_t_9 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 84, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + } + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_np); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 84, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_fabs); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 84, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_9); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_1 = __Pyx_PyIndex_AsSsize_t(__pyx_v_i); if (unlikely((__pyx_t_1 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 84, __pyx_L1_error) + __pyx_t_7 = __pyx_t_1; + __pyx_t_8 = -1; + if (__pyx_t_7 < 0) { + __pyx_t_7 += __pyx_v_a.shape[0]; + if (unlikely(__pyx_t_7 < 0)) __pyx_t_8 = 0; + } else if (unlikely(__pyx_t_7 >= __pyx_v_a.shape[0])) __pyx_t_8 = 0; + if (unlikely(__pyx_t_8 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_8); + __PYX_ERR(0, 84, __pyx_L1_error) + } + __pyx_t_4 = PyFloat_FromDouble(((*((float *) ( /* dim=0 */ (__pyx_v_a.data + __pyx_t_7 * __pyx_v_a.strides[0]) ))) - __pyx_v_median)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 84, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_10 = NULL; + __pyx_t_8 = 0; + #if CYTHON_UNPACK_METHODS + if (unlikely(PyMethod_Check(__pyx_t_9))) { + __pyx_t_10 = PyMethod_GET_SELF(__pyx_t_9); + if (likely(__pyx_t_10)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_9); + __Pyx_INCREF(__pyx_t_10); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_9, function); + __pyx_t_8 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[2] = {__pyx_t_10, __pyx_t_4}; + __pyx_t_6 = __Pyx_PyObject_FastCall(__pyx_t_9, __pyx_callargs+1-__pyx_t_8, 1+__pyx_t_8); + __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 84, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; + } + __pyx_t_9 = PyObject_RichCompare(__pyx_t_3, __pyx_t_6, Py_GT); __Pyx_XGOTREF(__pyx_t_9); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 84, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_9); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 84, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; + __pyx_t_2 = __pyx_t_5; + __pyx_L6_bool_binop_done:; + if (__pyx_t_2) { + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":86 + * if i < m and np.fabs(b[j - 1] - median) > np.fabs(a[i] - median): + * # i is too small, must increase it + * i_min = i + 1 # <<<<<<<<<<<<<< + * elif i > 0 and np.fabs(a[i - 1] - median) > np.fabs(b[j] - median): + * # i is too big, must decrease it + */ + __pyx_t_9 = __Pyx_PyInt_AddObjC(__pyx_v_i, __pyx_int_1, 1, 0, 0); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 86, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_9); + __pyx_t_8 = __Pyx_PyInt_As_int(__pyx_t_9); if (unlikely((__pyx_t_8 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 86, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; + __pyx_v_i_min = __pyx_t_8; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":84 + * i = (i_min + i_max) // 2 + * j = half_len - i + * if i < m and np.fabs(b[j - 1] - median) > np.fabs(a[i] - median): # <<<<<<<<<<<<<< + * # i is too small, must increase it + * i_min = i + 1 + */ + goto __pyx_L5; + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":87 + * # i is too small, must increase it + * i_min = i + 1 + * elif i > 0 and np.fabs(a[i - 1] - median) > np.fabs(b[j] - median): # <<<<<<<<<<<<<< + * # i is too big, must decrease it + * i_max = i - 1 + */ + __pyx_t_9 = PyObject_RichCompare(__pyx_v_i, __pyx_int_0, Py_GT); __Pyx_XGOTREF(__pyx_t_9); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 87, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_9); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 87, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; + if (__pyx_t_5) { + } else { + __pyx_t_2 = __pyx_t_5; + goto __pyx_L8_bool_binop_done; + } + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_np); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 87, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_fabs); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 87, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __pyx_t_6 = __Pyx_PyInt_SubtractObjC(__pyx_v_i, __pyx_int_1, 1, 0, 0); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 87, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __pyx_t_1 = __Pyx_PyIndex_AsSsize_t(__pyx_t_6); if (unlikely((__pyx_t_1 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 87, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __pyx_t_7 = __pyx_t_1; + __pyx_t_8 = -1; + if (__pyx_t_7 < 0) { + __pyx_t_7 += __pyx_v_a.shape[0]; + if (unlikely(__pyx_t_7 < 0)) __pyx_t_8 = 0; + } else if (unlikely(__pyx_t_7 >= __pyx_v_a.shape[0])) __pyx_t_8 = 0; + if (unlikely(__pyx_t_8 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_8); + __PYX_ERR(0, 87, __pyx_L1_error) + } + __pyx_t_6 = PyFloat_FromDouble(((*((float *) ( /* dim=0 */ (__pyx_v_a.data + __pyx_t_7 * __pyx_v_a.strides[0]) ))) - __pyx_v_median)); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 87, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __pyx_t_4 = NULL; + __pyx_t_8 = 0; + #if CYTHON_UNPACK_METHODS + if (unlikely(PyMethod_Check(__pyx_t_3))) { + __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_3); + if (likely(__pyx_t_4)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3); + __Pyx_INCREF(__pyx_t_4); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_3, function); + __pyx_t_8 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[2] = {__pyx_t_4, __pyx_t_6}; + __pyx_t_9 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_8, 1+__pyx_t_8); + __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 87, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_9); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + } + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_np); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 87, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_fabs); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 87, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __pyx_t_1 = __Pyx_PyIndex_AsSsize_t(__pyx_v_j); if (unlikely((__pyx_t_1 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 87, __pyx_L1_error) + __pyx_t_7 = __pyx_t_1; + __pyx_t_8 = -1; + if (__pyx_t_7 < 0) { + __pyx_t_7 += __pyx_v_b.shape[0]; + if (unlikely(__pyx_t_7 < 0)) __pyx_t_8 = 0; + } else if (unlikely(__pyx_t_7 >= __pyx_v_b.shape[0])) __pyx_t_8 = 0; + if (unlikely(__pyx_t_8 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_8); + __PYX_ERR(0, 87, __pyx_L1_error) + } + __pyx_t_6 = PyFloat_FromDouble(((*((float *) ( /* dim=0 */ (__pyx_v_b.data + __pyx_t_7 * __pyx_v_b.strides[0]) ))) - __pyx_v_median)); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 87, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __pyx_t_10 = NULL; + __pyx_t_8 = 0; + #if CYTHON_UNPACK_METHODS + if (unlikely(PyMethod_Check(__pyx_t_4))) { + __pyx_t_10 = PyMethod_GET_SELF(__pyx_t_4); + if (likely(__pyx_t_10)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_4); + __Pyx_INCREF(__pyx_t_10); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_4, function); + __pyx_t_8 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[2] = {__pyx_t_10, __pyx_t_6}; + __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_8, 1+__pyx_t_8); + __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0; + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 87, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + } + __pyx_t_4 = PyObject_RichCompare(__pyx_t_9, __pyx_t_3, Py_GT); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 87, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_5 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_5 < 0))) __PYX_ERR(0, 87, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_2 = __pyx_t_5; + __pyx_L8_bool_binop_done:; + if (__pyx_t_2) { + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":89 + * elif i > 0 and np.fabs(a[i - 1] - median) > np.fabs(b[j] - median): + * # i is too big, must decrease it + * i_max = i - 1 # <<<<<<<<<<<<<< + * else: + * # i is perfect + */ + __pyx_t_4 = __Pyx_PyInt_SubtractObjC(__pyx_v_i, __pyx_int_1, 1, 0, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 89, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_8 = __Pyx_PyInt_As_int(__pyx_t_4); if (unlikely((__pyx_t_8 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 89, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_v_i_max = __pyx_t_8; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":87 + * # i is too small, must increase it + * i_min = i + 1 + * elif i > 0 and np.fabs(a[i - 1] - median) > np.fabs(b[j] - median): # <<<<<<<<<<<<<< + * # i is too big, must decrease it + * i_max = i - 1 + */ + goto __pyx_L5; + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":92 + * else: + * # i is perfect + * if i == 0: # <<<<<<<<<<<<<< + * max_of_left = np.fabs(b[j - 1] - median) + * elif j == 0: + */ + /*else*/ { + __pyx_t_2 = (__Pyx_PyInt_BoolEqObjC(__pyx_v_i, __pyx_int_0, 0, 0)); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 92, __pyx_L1_error) + if (__pyx_t_2) { + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":93 + * # i is perfect + * if i == 0: + * max_of_left = np.fabs(b[j - 1] - median) # <<<<<<<<<<<<<< + * elif j == 0: + * max_of_left = np.fabs(a[i - 1] - median) + */ + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_np); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 93, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_fabs); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 93, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_9); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_3 = __Pyx_PyInt_SubtractObjC(__pyx_v_j, __pyx_int_1, 1, 0, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 93, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_1 = __Pyx_PyIndex_AsSsize_t(__pyx_t_3); if (unlikely((__pyx_t_1 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 93, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_7 = __pyx_t_1; + __pyx_t_8 = -1; + if (__pyx_t_7 < 0) { + __pyx_t_7 += __pyx_v_b.shape[0]; + if (unlikely(__pyx_t_7 < 0)) __pyx_t_8 = 0; + } else if (unlikely(__pyx_t_7 >= __pyx_v_b.shape[0])) __pyx_t_8 = 0; + if (unlikely(__pyx_t_8 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_8); + __PYX_ERR(0, 93, __pyx_L1_error) + } + __pyx_t_3 = PyFloat_FromDouble(((*((float *) ( /* dim=0 */ (__pyx_v_b.data + __pyx_t_7 * __pyx_v_b.strides[0]) ))) - __pyx_v_median)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 93, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_6 = NULL; + __pyx_t_8 = 0; + #if CYTHON_UNPACK_METHODS + if (unlikely(PyMethod_Check(__pyx_t_9))) { + __pyx_t_6 = PyMethod_GET_SELF(__pyx_t_9); + if (likely(__pyx_t_6)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_9); + __Pyx_INCREF(__pyx_t_6); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_9, function); + __pyx_t_8 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[2] = {__pyx_t_6, __pyx_t_3}; + __pyx_t_4 = __Pyx_PyObject_FastCall(__pyx_t_9, __pyx_callargs+1-__pyx_t_8, 1+__pyx_t_8); + __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 93, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; + } + __pyx_v_max_of_left = __pyx_t_4; + __pyx_t_4 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":92 + * else: + * # i is perfect + * if i == 0: # <<<<<<<<<<<<<< + * max_of_left = np.fabs(b[j - 1] - median) + * elif j == 0: + */ + goto __pyx_L10; + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":94 + * if i == 0: + * max_of_left = np.fabs(b[j - 1] - median) + * elif j == 0: # <<<<<<<<<<<<<< + * max_of_left = np.fabs(a[i - 1] - median) + * else: + */ + __pyx_t_2 = (__Pyx_PyInt_BoolEqObjC(__pyx_v_j, __pyx_int_0, 0, 0)); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 94, __pyx_L1_error) + if (__pyx_t_2) { + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":95 + * max_of_left = np.fabs(b[j - 1] - median) + * elif j == 0: + * max_of_left = np.fabs(a[i - 1] - median) # <<<<<<<<<<<<<< + * else: + * max_of_left = max(np.fabs(a[i - 1] - median), np.fabs(b[j - 1] - median)) + */ + __Pyx_GetModuleGlobalName(__pyx_t_9, __pyx_n_s_np); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 95, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_9); + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_9, __pyx_n_s_fabs); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 95, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; + __pyx_t_9 = __Pyx_PyInt_SubtractObjC(__pyx_v_i, __pyx_int_1, 1, 0, 0); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 95, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_9); + __pyx_t_1 = __Pyx_PyIndex_AsSsize_t(__pyx_t_9); if (unlikely((__pyx_t_1 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 95, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; + __pyx_t_7 = __pyx_t_1; + __pyx_t_8 = -1; + if (__pyx_t_7 < 0) { + __pyx_t_7 += __pyx_v_a.shape[0]; + if (unlikely(__pyx_t_7 < 0)) __pyx_t_8 = 0; + } else if (unlikely(__pyx_t_7 >= __pyx_v_a.shape[0])) __pyx_t_8 = 0; + if (unlikely(__pyx_t_8 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_8); + __PYX_ERR(0, 95, __pyx_L1_error) + } + __pyx_t_9 = PyFloat_FromDouble(((*((float *) ( /* dim=0 */ (__pyx_v_a.data + __pyx_t_7 * __pyx_v_a.strides[0]) ))) - __pyx_v_median)); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 95, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_9); + __pyx_t_6 = NULL; + __pyx_t_8 = 0; + #if CYTHON_UNPACK_METHODS + if (unlikely(PyMethod_Check(__pyx_t_3))) { + __pyx_t_6 = PyMethod_GET_SELF(__pyx_t_3); + if (likely(__pyx_t_6)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3); + __Pyx_INCREF(__pyx_t_6); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_3, function); + __pyx_t_8 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[2] = {__pyx_t_6, __pyx_t_9}; + __pyx_t_4 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_8, 1+__pyx_t_8); + __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; + __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 95, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + } + __pyx_v_max_of_left = __pyx_t_4; + __pyx_t_4 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":94 + * if i == 0: + * max_of_left = np.fabs(b[j - 1] - median) + * elif j == 0: # <<<<<<<<<<<<<< + * max_of_left = np.fabs(a[i - 1] - median) + * else: + */ + goto __pyx_L10; + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":97 + * max_of_left = np.fabs(a[i - 1] - median) + * else: + * max_of_left = max(np.fabs(a[i - 1] - median), np.fabs(b[j - 1] - median)) # <<<<<<<<<<<<<< + * + * if (m + n) % 2 == 1: + */ + /*else*/ { + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_np); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 97, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_fabs); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 97, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_9); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_3 = __Pyx_PyInt_SubtractObjC(__pyx_v_j, __pyx_int_1, 1, 0, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 97, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_1 = __Pyx_PyIndex_AsSsize_t(__pyx_t_3); if (unlikely((__pyx_t_1 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 97, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_7 = __pyx_t_1; + __pyx_t_8 = -1; + if (__pyx_t_7 < 0) { + __pyx_t_7 += __pyx_v_b.shape[0]; + if (unlikely(__pyx_t_7 < 0)) __pyx_t_8 = 0; + } else if (unlikely(__pyx_t_7 >= __pyx_v_b.shape[0])) __pyx_t_8 = 0; + if (unlikely(__pyx_t_8 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_8); + __PYX_ERR(0, 97, __pyx_L1_error) + } + __pyx_t_3 = PyFloat_FromDouble(((*((float *) ( /* dim=0 */ (__pyx_v_b.data + __pyx_t_7 * __pyx_v_b.strides[0]) ))) - __pyx_v_median)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 97, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_6 = NULL; + __pyx_t_8 = 0; + #if CYTHON_UNPACK_METHODS + if (unlikely(PyMethod_Check(__pyx_t_9))) { + __pyx_t_6 = PyMethod_GET_SELF(__pyx_t_9); + if (likely(__pyx_t_6)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_9); + __Pyx_INCREF(__pyx_t_6); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_9, function); + __pyx_t_8 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[2] = {__pyx_t_6, __pyx_t_3}; + __pyx_t_4 = __Pyx_PyObject_FastCall(__pyx_t_9, __pyx_callargs+1-__pyx_t_8, 1+__pyx_t_8); + __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 97, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; + } + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_np); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 97, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_fabs); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 97, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_3 = __Pyx_PyInt_SubtractObjC(__pyx_v_i, __pyx_int_1, 1, 0, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 97, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_1 = __Pyx_PyIndex_AsSsize_t(__pyx_t_3); if (unlikely((__pyx_t_1 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 97, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_7 = __pyx_t_1; + __pyx_t_8 = -1; + if (__pyx_t_7 < 0) { + __pyx_t_7 += __pyx_v_a.shape[0]; + if (unlikely(__pyx_t_7 < 0)) __pyx_t_8 = 0; + } else if (unlikely(__pyx_t_7 >= __pyx_v_a.shape[0])) __pyx_t_8 = 0; + if (unlikely(__pyx_t_8 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_8); + __PYX_ERR(0, 97, __pyx_L1_error) + } + __pyx_t_3 = PyFloat_FromDouble(((*((float *) ( /* dim=0 */ (__pyx_v_a.data + __pyx_t_7 * __pyx_v_a.strides[0]) ))) - __pyx_v_median)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 97, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_10 = NULL; + __pyx_t_8 = 0; + #if CYTHON_UNPACK_METHODS + if (unlikely(PyMethod_Check(__pyx_t_6))) { + __pyx_t_10 = PyMethod_GET_SELF(__pyx_t_6); + if (likely(__pyx_t_10)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_6); + __Pyx_INCREF(__pyx_t_10); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_6, function); + __pyx_t_8 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[2] = {__pyx_t_10, __pyx_t_3}; + __pyx_t_9 = __Pyx_PyObject_FastCall(__pyx_t_6, __pyx_callargs+1-__pyx_t_8, 1+__pyx_t_8); + __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0; + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 97, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_9); + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + } + __pyx_t_3 = PyObject_RichCompare(__pyx_t_4, __pyx_t_9, Py_GT); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 97, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 97, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + if (__pyx_t_2) { + __Pyx_INCREF(__pyx_t_4); + __pyx_t_6 = __pyx_t_4; + } else { + __Pyx_INCREF(__pyx_t_9); + __pyx_t_6 = __pyx_t_9; + } + __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_4 = __pyx_t_6; + __Pyx_INCREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __pyx_v_max_of_left = __pyx_t_4; + __pyx_t_4 = 0; + } + __pyx_L10:; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":99 + * max_of_left = max(np.fabs(a[i - 1] - median), np.fabs(b[j - 1] - median)) + * + * if (m + n) % 2 == 1: # <<<<<<<<<<<<<< + * return max_of_left + * + */ + __pyx_t_2 = (__Pyx_mod_long((__pyx_v_m + __pyx_v_n), 2) == 1); + if (__pyx_t_2) { + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":100 + * + * if (m + n) % 2 == 1: + * return max_of_left # <<<<<<<<<<<<<< + * + * if i == m: + */ + __pyx_t_11 = __pyx_PyFloat_AsFloat(__pyx_v_max_of_left); if (unlikely((__pyx_t_11 == (float)-1) && PyErr_Occurred())) __PYX_ERR(0, 100, __pyx_L1_error) + __pyx_r = __pyx_t_11; + goto __pyx_L0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":99 + * max_of_left = max(np.fabs(a[i - 1] - median), np.fabs(b[j - 1] - median)) + * + * if (m + n) % 2 == 1: # <<<<<<<<<<<<<< + * return max_of_left + * + */ + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":102 + * return max_of_left + * + * if i == m: # <<<<<<<<<<<<<< + * min_of_right = np.fabs(b[j] - median) + * elif j == n: + */ + __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_m); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 102, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_6 = PyObject_RichCompare(__pyx_v_i, __pyx_t_4, Py_EQ); __Pyx_XGOTREF(__pyx_t_6); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 102, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_6); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 102, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + if (__pyx_t_2) { + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":103 + * + * if i == m: + * min_of_right = np.fabs(b[j] - median) # <<<<<<<<<<<<<< + * elif j == n: + * min_of_right = np.fabs(a[i] - median) + */ + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_np); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 103, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_9 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_fabs); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 103, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_9); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_1 = __Pyx_PyIndex_AsSsize_t(__pyx_v_j); if (unlikely((__pyx_t_1 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 103, __pyx_L1_error) + __pyx_t_7 = __pyx_t_1; + __pyx_t_8 = -1; + if (__pyx_t_7 < 0) { + __pyx_t_7 += __pyx_v_b.shape[0]; + if (unlikely(__pyx_t_7 < 0)) __pyx_t_8 = 0; + } else if (unlikely(__pyx_t_7 >= __pyx_v_b.shape[0])) __pyx_t_8 = 0; + if (unlikely(__pyx_t_8 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_8); + __PYX_ERR(0, 103, __pyx_L1_error) + } + __pyx_t_4 = PyFloat_FromDouble(((*((float *) ( /* dim=0 */ (__pyx_v_b.data + __pyx_t_7 * __pyx_v_b.strides[0]) ))) - __pyx_v_median)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 103, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_3 = NULL; + __pyx_t_8 = 0; + #if CYTHON_UNPACK_METHODS + if (unlikely(PyMethod_Check(__pyx_t_9))) { + __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_9); + if (likely(__pyx_t_3)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_9); + __Pyx_INCREF(__pyx_t_3); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_9, function); + __pyx_t_8 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[2] = {__pyx_t_3, __pyx_t_4}; + __pyx_t_6 = __Pyx_PyObject_FastCall(__pyx_t_9, __pyx_callargs+1-__pyx_t_8, 1+__pyx_t_8); + __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 103, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; + } + __pyx_v_min_of_right = __pyx_t_6; + __pyx_t_6 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":102 + * return max_of_left + * + * if i == m: # <<<<<<<<<<<<<< + * min_of_right = np.fabs(b[j] - median) + * elif j == n: + */ + goto __pyx_L12; + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":104 + * if i == m: + * min_of_right = np.fabs(b[j] - median) + * elif j == n: # <<<<<<<<<<<<<< + * min_of_right = np.fabs(a[i] - median) + * else: + */ + __pyx_t_6 = __Pyx_PyInt_From_int(__pyx_v_n); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 104, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __pyx_t_9 = PyObject_RichCompare(__pyx_v_j, __pyx_t_6, Py_EQ); __Pyx_XGOTREF(__pyx_t_9); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 104, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_9); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 104, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; + if (__pyx_t_2) { + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":105 + * min_of_right = np.fabs(b[j] - median) + * elif j == n: + * min_of_right = np.fabs(a[i] - median) # <<<<<<<<<<<<<< + * else: + * min_of_right = min(np.fabs(a[i] - median), np.fabs(b[j] - median)) + */ + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_np); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 105, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_fabs); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 105, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __pyx_t_1 = __Pyx_PyIndex_AsSsize_t(__pyx_v_i); if (unlikely((__pyx_t_1 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 105, __pyx_L1_error) + __pyx_t_7 = __pyx_t_1; + __pyx_t_8 = -1; + if (__pyx_t_7 < 0) { + __pyx_t_7 += __pyx_v_a.shape[0]; + if (unlikely(__pyx_t_7 < 0)) __pyx_t_8 = 0; + } else if (unlikely(__pyx_t_7 >= __pyx_v_a.shape[0])) __pyx_t_8 = 0; + if (unlikely(__pyx_t_8 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_8); + __PYX_ERR(0, 105, __pyx_L1_error) + } + __pyx_t_6 = PyFloat_FromDouble(((*((float *) ( /* dim=0 */ (__pyx_v_a.data + __pyx_t_7 * __pyx_v_a.strides[0]) ))) - __pyx_v_median)); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 105, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __pyx_t_3 = NULL; + __pyx_t_8 = 0; + #if CYTHON_UNPACK_METHODS + if (unlikely(PyMethod_Check(__pyx_t_4))) { + __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_4); + if (likely(__pyx_t_3)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_4); + __Pyx_INCREF(__pyx_t_3); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_4, function); + __pyx_t_8 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[2] = {__pyx_t_3, __pyx_t_6}; + __pyx_t_9 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_8, 1+__pyx_t_8); + __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 105, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_9); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + } + __pyx_v_min_of_right = __pyx_t_9; + __pyx_t_9 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":104 + * if i == m: + * min_of_right = np.fabs(b[j] - median) + * elif j == n: # <<<<<<<<<<<<<< + * min_of_right = np.fabs(a[i] - median) + * else: + */ + goto __pyx_L12; + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":107 + * min_of_right = np.fabs(a[i] - median) + * else: + * min_of_right = min(np.fabs(a[i] - median), np.fabs(b[j] - median)) # <<<<<<<<<<<<<< + * + * return (max_of_left + min_of_right) / 2.0 + */ + /*else*/ { + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_np); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 107, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_fabs); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 107, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_1 = __Pyx_PyIndex_AsSsize_t(__pyx_v_j); if (unlikely((__pyx_t_1 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 107, __pyx_L1_error) + __pyx_t_7 = __pyx_t_1; + __pyx_t_8 = -1; + if (__pyx_t_7 < 0) { + __pyx_t_7 += __pyx_v_b.shape[0]; + if (unlikely(__pyx_t_7 < 0)) __pyx_t_8 = 0; + } else if (unlikely(__pyx_t_7 >= __pyx_v_b.shape[0])) __pyx_t_8 = 0; + if (unlikely(__pyx_t_8 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_8); + __PYX_ERR(0, 107, __pyx_L1_error) + } + __pyx_t_4 = PyFloat_FromDouble(((*((float *) ( /* dim=0 */ (__pyx_v_b.data + __pyx_t_7 * __pyx_v_b.strides[0]) ))) - __pyx_v_median)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 107, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_3 = NULL; + __pyx_t_8 = 0; + #if CYTHON_UNPACK_METHODS + if (unlikely(PyMethod_Check(__pyx_t_6))) { + __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_6); + if (likely(__pyx_t_3)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_6); + __Pyx_INCREF(__pyx_t_3); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_6, function); + __pyx_t_8 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[2] = {__pyx_t_3, __pyx_t_4}; + __pyx_t_9 = __Pyx_PyObject_FastCall(__pyx_t_6, __pyx_callargs+1-__pyx_t_8, 1+__pyx_t_8); + __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 107, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_9); + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + } + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_np); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 107, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_fabs); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 107, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_1 = __Pyx_PyIndex_AsSsize_t(__pyx_v_i); if (unlikely((__pyx_t_1 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 107, __pyx_L1_error) + __pyx_t_7 = __pyx_t_1; + __pyx_t_8 = -1; + if (__pyx_t_7 < 0) { + __pyx_t_7 += __pyx_v_a.shape[0]; + if (unlikely(__pyx_t_7 < 0)) __pyx_t_8 = 0; + } else if (unlikely(__pyx_t_7 >= __pyx_v_a.shape[0])) __pyx_t_8 = 0; + if (unlikely(__pyx_t_8 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_8); + __PYX_ERR(0, 107, __pyx_L1_error) + } + __pyx_t_4 = PyFloat_FromDouble(((*((float *) ( /* dim=0 */ (__pyx_v_a.data + __pyx_t_7 * __pyx_v_a.strides[0]) ))) - __pyx_v_median)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 107, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_10 = NULL; + __pyx_t_8 = 0; + #if CYTHON_UNPACK_METHODS + if (unlikely(PyMethod_Check(__pyx_t_3))) { + __pyx_t_10 = PyMethod_GET_SELF(__pyx_t_3); + if (likely(__pyx_t_10)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3); + __Pyx_INCREF(__pyx_t_10); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_3, function); + __pyx_t_8 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[2] = {__pyx_t_10, __pyx_t_4}; + __pyx_t_6 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_8, 1+__pyx_t_8); + __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 107, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + } + __pyx_t_4 = PyObject_RichCompare(__pyx_t_9, __pyx_t_6, Py_LT); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 107, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_2 < 0))) __PYX_ERR(0, 107, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + if (__pyx_t_2) { + __Pyx_INCREF(__pyx_t_9); + __pyx_t_3 = __pyx_t_9; + } else { + __Pyx_INCREF(__pyx_t_6); + __pyx_t_3 = __pyx_t_6; + } + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; + __pyx_t_9 = __pyx_t_3; + __Pyx_INCREF(__pyx_t_9); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_v_min_of_right = __pyx_t_9; + __pyx_t_9 = 0; + } + __pyx_L12:; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":109 + * min_of_right = min(np.fabs(a[i] - median), np.fabs(b[j] - median)) + * + * return (max_of_left + min_of_right) / 2.0 # <<<<<<<<<<<<<< + * + * cpdef bint check_anomaly_status(float median_value, float data_sigma, float value, float threshold, + */ + __pyx_t_9 = PyNumber_Add(__pyx_v_max_of_left, __pyx_v_min_of_right); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 109, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_9); + __pyx_t_3 = __Pyx_PyFloat_TrueDivideObjC(__pyx_t_9, __pyx_float_2_0, 2.0, 0, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 109, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; + __pyx_t_11 = __pyx_PyFloat_AsFloat(__pyx_t_3); if (unlikely((__pyx_t_11 == (float)-1) && PyErr_Occurred())) __PYX_ERR(0, 109, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_r = __pyx_t_11; + goto __pyx_L0; + } + __pyx_L5:; + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":75 + * return (data[mid - 1] + data[mid])/2 + * + * cpdef float find_median_sorted_arrays(float[:] a, float[:] b, float median): # <<<<<<<<<<<<<< + * cdef int m = len(a) + * cdef int n = len(b) + */ + + /* function exit code */ + __pyx_r = 0; + goto __pyx_L0; + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_3); + __Pyx_XDECREF(__pyx_t_4); + __Pyx_XDECREF(__pyx_t_6); + __Pyx_XDECREF(__pyx_t_9); + __Pyx_XDECREF(__pyx_t_10); + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.find_median_sorted_arrays", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = -1; + __pyx_L0:; + __Pyx_XDECREF(__pyx_v_i); + __Pyx_XDECREF(__pyx_v_j); + __Pyx_XDECREF(__pyx_v_max_of_left); + __Pyx_XDECREF(__pyx_v_min_of_right); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* Python wrapper */ +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_13find_median_sorted_arrays(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static PyMethodDef __pyx_mdef_16anomaly_detector_10univariate_22_anomaly_kernel_cython_13find_median_sorted_arrays = {"find_median_sorted_arrays", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_13find_median_sorted_arrays, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_13find_median_sorted_arrays(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +) { + __Pyx_memviewslice __pyx_v_a = { 0, 0, { 0 }, { 0 }, { 0 } }; + __Pyx_memviewslice __pyx_v_b = { 0, 0, { 0 }, { 0 }, { 0 } }; + float __pyx_v_median; + #if !CYTHON_METH_FASTCALL + CYTHON_UNUSED Py_ssize_t __pyx_nargs; + #endif + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject* values[3] = {0,0,0}; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("find_median_sorted_arrays (wrapper)", 0); + #if !CYTHON_METH_FASTCALL + #if CYTHON_ASSUME_SAFE_MACROS + __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); + #else + __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL; + #endif + #endif + __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs); + { + PyObject **__pyx_pyargnames[] = {&__pyx_n_s_a,&__pyx_n_s_b,&__pyx_n_s_median,0}; + if (__pyx_kwds) { + Py_ssize_t kw_args; + switch (__pyx_nargs) { + case 3: values[2] = __Pyx_Arg_FASTCALL(__pyx_args, 2); + CYTHON_FALLTHROUGH; + case 2: values[1] = __Pyx_Arg_FASTCALL(__pyx_args, 1); + CYTHON_FALLTHROUGH; + case 1: values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); + CYTHON_FALLTHROUGH; + case 0: break; + default: goto __pyx_L5_argtuple_error; + } + kw_args = __Pyx_NumKwargs_FASTCALL(__pyx_kwds); + switch (__pyx_nargs) { + case 0: + if (likely((values[0] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_a)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[0]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 75, __pyx_L3_error) + else goto __pyx_L5_argtuple_error; + CYTHON_FALLTHROUGH; + case 1: + if (likely((values[1] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_b)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[1]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 75, __pyx_L3_error) + else { + __Pyx_RaiseArgtupleInvalid("find_median_sorted_arrays", 1, 3, 3, 1); __PYX_ERR(0, 75, __pyx_L3_error) + } + CYTHON_FALLTHROUGH; + case 2: + if (likely((values[2] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_median)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[2]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 75, __pyx_L3_error) + else { + __Pyx_RaiseArgtupleInvalid("find_median_sorted_arrays", 1, 3, 3, 2); __PYX_ERR(0, 75, __pyx_L3_error) + } + } + if (unlikely(kw_args > 0)) { + const Py_ssize_t kwd_pos_args = __pyx_nargs; + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "find_median_sorted_arrays") < 0)) __PYX_ERR(0, 75, __pyx_L3_error) + } + } else if (unlikely(__pyx_nargs != 3)) { + goto __pyx_L5_argtuple_error; + } else { + values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); + values[1] = __Pyx_Arg_FASTCALL(__pyx_args, 1); + values[2] = __Pyx_Arg_FASTCALL(__pyx_args, 2); + } + __pyx_v_a = __Pyx_PyObject_to_MemoryviewSlice_ds_float(values[0], PyBUF_WRITABLE); if (unlikely(!__pyx_v_a.memview)) __PYX_ERR(0, 75, __pyx_L3_error) + __pyx_v_b = __Pyx_PyObject_to_MemoryviewSlice_ds_float(values[1], PyBUF_WRITABLE); if (unlikely(!__pyx_v_b.memview)) __PYX_ERR(0, 75, __pyx_L3_error) + __pyx_v_median = __pyx_PyFloat_AsFloat(values[2]); if (unlikely((__pyx_v_median == (float)-1) && PyErr_Occurred())) __PYX_ERR(0, 75, __pyx_L3_error) + } + goto __pyx_L6_skip; + __pyx_L5_argtuple_error:; + __Pyx_RaiseArgtupleInvalid("find_median_sorted_arrays", 1, 3, 3, __pyx_nargs); __PYX_ERR(0, 75, __pyx_L3_error) + __pyx_L6_skip:; + goto __pyx_L4_argument_unpacking_done; + __pyx_L3_error:; + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]); + } + } + __PYX_XCLEAR_MEMVIEW(&__pyx_v_a, 1); + __PYX_XCLEAR_MEMVIEW(&__pyx_v_b, 1); + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.find_median_sorted_arrays", __pyx_clineno, __pyx_lineno, __pyx_filename); + __Pyx_RefNannyFinishContext(); + return NULL; + __pyx_L4_argument_unpacking_done:; + __pyx_r = __pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_12find_median_sorted_arrays(__pyx_self, __pyx_v_a, __pyx_v_b, __pyx_v_median); + + /* function exit code */ + __PYX_XCLEAR_MEMVIEW(&__pyx_v_a, 1); + __PYX_XCLEAR_MEMVIEW(&__pyx_v_b, 1); + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]); + } + } + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_12find_median_sorted_arrays(CYTHON_UNUSED PyObject *__pyx_self, __Pyx_memviewslice __pyx_v_a, __Pyx_memviewslice __pyx_v_b, float __pyx_v_median) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + float __pyx_t_1; + PyObject *__pyx_t_2 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("find_median_sorted_arrays", 1); + __Pyx_XDECREF(__pyx_r); + if (unlikely(!__pyx_v_a.memview)) { __Pyx_RaiseUnboundLocalError("a"); __PYX_ERR(0, 75, __pyx_L1_error) } + if (unlikely(!__pyx_v_b.memview)) { __Pyx_RaiseUnboundLocalError("b"); __PYX_ERR(0, 75, __pyx_L1_error) } + __pyx_t_1 = __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_find_median_sorted_arrays(__pyx_v_a, __pyx_v_b, __pyx_v_median, 0); if (unlikely(__pyx_t_1 == ((float)-1) && PyErr_Occurred())) __PYX_ERR(0, 75, __pyx_L1_error) + __pyx_t_2 = PyFloat_FromDouble(__pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 75, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_2); + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.find_median_sorted_arrays", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":111 + * return (max_of_left + min_of_right) / 2.0 + * + * cpdef bint check_anomaly_status(float median_value, float data_sigma, float value, float threshold, # <<<<<<<<<<<<<< + * bint upper_tail): + * cdef float de_median_value = value - median_value + */ + +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_15check_anomaly_status(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static int __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_check_anomaly_status(float __pyx_v_median_value, float __pyx_v_data_sigma, float __pyx_v_value, float __pyx_v_threshold, int __pyx_v_upper_tail, CYTHON_UNUSED int __pyx_skip_dispatch) { + float __pyx_v_de_median_value; + int __pyx_r; + int __pyx_t_1; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":113 + * cpdef bint check_anomaly_status(float median_value, float data_sigma, float value, float threshold, + * bint upper_tail): + * cdef float de_median_value = value - median_value # <<<<<<<<<<<<<< + * if not upper_tail: + * de_median_value = median_value - value + */ + __pyx_v_de_median_value = (__pyx_v_value - __pyx_v_median_value); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":114 + * bint upper_tail): + * cdef float de_median_value = value - median_value + * if not upper_tail: # <<<<<<<<<<<<<< + * de_median_value = median_value - value + * if data_sigma < EPS: + */ + __pyx_t_1 = (!__pyx_v_upper_tail); + if (__pyx_t_1) { + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":115 + * cdef float de_median_value = value - median_value + * if not upper_tail: + * de_median_value = median_value - value # <<<<<<<<<<<<<< + * if data_sigma < EPS: + * data_sigma = EPS + */ + __pyx_v_de_median_value = (__pyx_v_median_value - __pyx_v_value); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":114 + * bint upper_tail): + * cdef float de_median_value = value - median_value + * if not upper_tail: # <<<<<<<<<<<<<< + * de_median_value = median_value - value + * if data_sigma < EPS: + */ + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":116 + * if not upper_tail: + * de_median_value = median_value - value + * if data_sigma < EPS: # <<<<<<<<<<<<<< + * data_sigma = EPS + * de_median_value = de_median_value / data_sigma + */ + __pyx_t_1 = (__pyx_v_data_sigma < __pyx_v_16anomaly_detector_10univariate_22_anomaly_kernel_cython_EPS); + if (__pyx_t_1) { + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":117 + * de_median_value = median_value - value + * if data_sigma < EPS: + * data_sigma = EPS # <<<<<<<<<<<<<< + * de_median_value = de_median_value / data_sigma + * if de_median_value > threshold: + */ + __pyx_v_data_sigma = __pyx_v_16anomaly_detector_10univariate_22_anomaly_kernel_cython_EPS; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":116 + * if not upper_tail: + * de_median_value = median_value - value + * if data_sigma < EPS: # <<<<<<<<<<<<<< + * data_sigma = EPS + * de_median_value = de_median_value / data_sigma + */ + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":118 + * if data_sigma < EPS: + * data_sigma = EPS + * de_median_value = de_median_value / data_sigma # <<<<<<<<<<<<<< + * if de_median_value > threshold: + * return True + */ + if (unlikely(__pyx_v_data_sigma == 0)) { + PyErr_SetString(PyExc_ZeroDivisionError, "float division"); + __PYX_ERR(0, 118, __pyx_L1_error) + } + __pyx_v_de_median_value = (__pyx_v_de_median_value / __pyx_v_data_sigma); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":119 + * data_sigma = EPS + * de_median_value = de_median_value / data_sigma + * if de_median_value > threshold: # <<<<<<<<<<<<<< + * return True + * return False + */ + __pyx_t_1 = (__pyx_v_de_median_value > __pyx_v_threshold); + if (__pyx_t_1) { + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":120 + * de_median_value = de_median_value / data_sigma + * if de_median_value > threshold: + * return True # <<<<<<<<<<<<<< + * return False + * + */ + __pyx_r = 1; + goto __pyx_L0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":119 + * data_sigma = EPS + * de_median_value = de_median_value / data_sigma + * if de_median_value > threshold: # <<<<<<<<<<<<<< + * return True + * return False + */ + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":121 + * if de_median_value > threshold: + * return True + * return False # <<<<<<<<<<<<<< + * + * + */ + __pyx_r = 0; + goto __pyx_L0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":111 + * return (max_of_left + min_of_right) / 2.0 + * + * cpdef bint check_anomaly_status(float median_value, float data_sigma, float value, float threshold, # <<<<<<<<<<<<<< + * bint upper_tail): + * cdef float de_median_value = value - median_value + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.check_anomaly_status", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = -1; + __pyx_L0:; + return __pyx_r; +} + +/* Python wrapper */ +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_15check_anomaly_status(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static PyMethodDef __pyx_mdef_16anomaly_detector_10univariate_22_anomaly_kernel_cython_15check_anomaly_status = {"check_anomaly_status", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_15check_anomaly_status, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_15check_anomaly_status(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +) { + float __pyx_v_median_value; + float __pyx_v_data_sigma; + float __pyx_v_value; + float __pyx_v_threshold; + int __pyx_v_upper_tail; + #if !CYTHON_METH_FASTCALL + CYTHON_UNUSED Py_ssize_t __pyx_nargs; + #endif + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject* values[5] = {0,0,0,0,0}; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("check_anomaly_status (wrapper)", 0); + #if !CYTHON_METH_FASTCALL + #if CYTHON_ASSUME_SAFE_MACROS + __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); + #else + __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL; + #endif + #endif + __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs); + { + PyObject **__pyx_pyargnames[] = {&__pyx_n_s_median_value,&__pyx_n_s_data_sigma,&__pyx_n_s_value,&__pyx_n_s_threshold,&__pyx_n_s_upper_tail,0}; + if (__pyx_kwds) { + Py_ssize_t kw_args; + switch (__pyx_nargs) { + case 5: values[4] = __Pyx_Arg_FASTCALL(__pyx_args, 4); + CYTHON_FALLTHROUGH; + case 4: values[3] = __Pyx_Arg_FASTCALL(__pyx_args, 3); + CYTHON_FALLTHROUGH; + case 3: values[2] = __Pyx_Arg_FASTCALL(__pyx_args, 2); + CYTHON_FALLTHROUGH; + case 2: values[1] = __Pyx_Arg_FASTCALL(__pyx_args, 1); + CYTHON_FALLTHROUGH; + case 1: values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); + CYTHON_FALLTHROUGH; + case 0: break; + default: goto __pyx_L5_argtuple_error; + } + kw_args = __Pyx_NumKwargs_FASTCALL(__pyx_kwds); + switch (__pyx_nargs) { + case 0: + if (likely((values[0] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_median_value)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[0]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 111, __pyx_L3_error) + else goto __pyx_L5_argtuple_error; + CYTHON_FALLTHROUGH; + case 1: + if (likely((values[1] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_data_sigma)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[1]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 111, __pyx_L3_error) + else { + __Pyx_RaiseArgtupleInvalid("check_anomaly_status", 1, 5, 5, 1); __PYX_ERR(0, 111, __pyx_L3_error) + } + CYTHON_FALLTHROUGH; + case 2: + if (likely((values[2] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_value)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[2]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 111, __pyx_L3_error) + else { + __Pyx_RaiseArgtupleInvalid("check_anomaly_status", 1, 5, 5, 2); __PYX_ERR(0, 111, __pyx_L3_error) + } + CYTHON_FALLTHROUGH; + case 3: + if (likely((values[3] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_threshold)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[3]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 111, __pyx_L3_error) + else { + __Pyx_RaiseArgtupleInvalid("check_anomaly_status", 1, 5, 5, 3); __PYX_ERR(0, 111, __pyx_L3_error) + } + CYTHON_FALLTHROUGH; + case 4: + if (likely((values[4] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_upper_tail)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[4]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 111, __pyx_L3_error) + else { + __Pyx_RaiseArgtupleInvalid("check_anomaly_status", 1, 5, 5, 4); __PYX_ERR(0, 111, __pyx_L3_error) + } + } + if (unlikely(kw_args > 0)) { + const Py_ssize_t kwd_pos_args = __pyx_nargs; + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "check_anomaly_status") < 0)) __PYX_ERR(0, 111, __pyx_L3_error) + } + } else if (unlikely(__pyx_nargs != 5)) { + goto __pyx_L5_argtuple_error; + } else { + values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); + values[1] = __Pyx_Arg_FASTCALL(__pyx_args, 1); + values[2] = __Pyx_Arg_FASTCALL(__pyx_args, 2); + values[3] = __Pyx_Arg_FASTCALL(__pyx_args, 3); + values[4] = __Pyx_Arg_FASTCALL(__pyx_args, 4); + } + __pyx_v_median_value = __pyx_PyFloat_AsFloat(values[0]); if (unlikely((__pyx_v_median_value == (float)-1) && PyErr_Occurred())) __PYX_ERR(0, 111, __pyx_L3_error) + __pyx_v_data_sigma = __pyx_PyFloat_AsFloat(values[1]); if (unlikely((__pyx_v_data_sigma == (float)-1) && PyErr_Occurred())) __PYX_ERR(0, 111, __pyx_L3_error) + __pyx_v_value = __pyx_PyFloat_AsFloat(values[2]); if (unlikely((__pyx_v_value == (float)-1) && PyErr_Occurred())) __PYX_ERR(0, 111, __pyx_L3_error) + __pyx_v_threshold = __pyx_PyFloat_AsFloat(values[3]); if (unlikely((__pyx_v_threshold == (float)-1) && PyErr_Occurred())) __PYX_ERR(0, 111, __pyx_L3_error) + __pyx_v_upper_tail = __Pyx_PyObject_IsTrue(values[4]); if (unlikely((__pyx_v_upper_tail == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 112, __pyx_L3_error) + } + goto __pyx_L6_skip; + __pyx_L5_argtuple_error:; + __Pyx_RaiseArgtupleInvalid("check_anomaly_status", 1, 5, 5, __pyx_nargs); __PYX_ERR(0, 111, __pyx_L3_error) + __pyx_L6_skip:; + goto __pyx_L4_argument_unpacking_done; + __pyx_L3_error:; + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]); + } + } + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.check_anomaly_status", __pyx_clineno, __pyx_lineno, __pyx_filename); + __Pyx_RefNannyFinishContext(); + return NULL; + __pyx_L4_argument_unpacking_done:; + __pyx_r = __pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_14check_anomaly_status(__pyx_self, __pyx_v_median_value, __pyx_v_data_sigma, __pyx_v_value, __pyx_v_threshold, __pyx_v_upper_tail); + + /* function exit code */ + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]); + } + } + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_14check_anomaly_status(CYTHON_UNUSED PyObject *__pyx_self, float __pyx_v_median_value, float __pyx_v_data_sigma, float __pyx_v_value, float __pyx_v_threshold, int __pyx_v_upper_tail) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + int __pyx_t_1; + PyObject *__pyx_t_2 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("check_anomaly_status", 1); + __Pyx_XDECREF(__pyx_r); + __pyx_t_1 = __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_check_anomaly_status(__pyx_v_median_value, __pyx_v_data_sigma, __pyx_v_value, __pyx_v_threshold, __pyx_v_upper_tail, 0); if (unlikely(__pyx_t_1 == ((int)-1) && PyErr_Occurred())) __PYX_ERR(0, 111, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyBool_FromLong(__pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 111, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_2); + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.check_anomaly_status", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":124 + * + * + * cpdef list dynamic_threshold(list sorted_values, list sorted_index, int max_outliers, float threshold, # <<<<<<<<<<<<<< + * bint upper_tail, int last_index): + * cdef int length = len(sorted_values) + */ + +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_17dynamic_threshold(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static PyObject *__pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_dynamic_threshold(PyObject *__pyx_v_sorted_values, PyObject *__pyx_v_sorted_index, int __pyx_v_max_outliers, float __pyx_v_threshold, int __pyx_v_upper_tail, int __pyx_v_last_index, CYTHON_UNUSED int __pyx_skip_dispatch) { + int __pyx_v_length; + int __pyx_v_num_anoms; + CYTHON_UNUSED int __pyx_v_anomaly_index; + int __pyx_v_start_index; + int __pyx_v_k; + float __pyx_v_median_value; + float __pyx_v_data_sigma; + int __pyx_v_is_anomaly; + __Pyx_memviewslice __pyx_v_values = { 0, 0, { 0 }, { 0 }, { 0 } }; + __Pyx_memviewslice __pyx_v_reverse_value = { 0, 0, { 0 }, { 0 }, { 0 } }; + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + Py_ssize_t __pyx_t_1; + PyObject *__pyx_t_2 = NULL; + PyObject *__pyx_t_3 = NULL; + PyObject *__pyx_t_4 = NULL; + int __pyx_t_5; + __Pyx_memviewslice __pyx_t_6 = { 0, 0, { 0 }, { 0 }, { 0 } }; + PyObject *__pyx_t_7 = NULL; + int __pyx_t_8; + int __pyx_t_9; + int __pyx_t_10; + float __pyx_t_11; + int __pyx_t_12; + __Pyx_memviewslice __pyx_t_13 = { 0, 0, { 0 }, { 0 }, { 0 } }; + Py_ssize_t __pyx_t_14; + float __pyx_t_15; + int __pyx_t_16; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("dynamic_threshold", 1); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":126 + * cpdef list dynamic_threshold(list sorted_values, list sorted_index, int max_outliers, float threshold, + * bint upper_tail, int last_index): + * cdef int length = len(sorted_values) # <<<<<<<<<<<<<< + * cdef int num_anoms = -1 + * cdef int anomaly_index = -1 + */ + if (unlikely(__pyx_v_sorted_values == Py_None)) { + PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); + __PYX_ERR(0, 126, __pyx_L1_error) + } + __pyx_t_1 = __Pyx_PyList_GET_SIZE(__pyx_v_sorted_values); if (unlikely(__pyx_t_1 == ((Py_ssize_t)-1))) __PYX_ERR(0, 126, __pyx_L1_error) + __pyx_v_length = __pyx_t_1; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":127 + * bint upper_tail, int last_index): + * cdef int length = len(sorted_values) + * cdef int num_anoms = -1 # <<<<<<<<<<<<<< + * cdef int anomaly_index = -1 + * cdef int start_index = 0 + */ + __pyx_v_num_anoms = -1; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":128 + * cdef int length = len(sorted_values) + * cdef int num_anoms = -1 + * cdef int anomaly_index = -1 # <<<<<<<<<<<<<< + * cdef int start_index = 0 + * cdef int k = 0 + */ + __pyx_v_anomaly_index = -1; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":129 + * cdef int num_anoms = -1 + * cdef int anomaly_index = -1 + * cdef int start_index = 0 # <<<<<<<<<<<<<< + * cdef int k = 0 + * cdef float median_value = 0 + */ + __pyx_v_start_index = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":130 + * cdef int anomaly_index = -1 + * cdef int start_index = 0 + * cdef int k = 0 # <<<<<<<<<<<<<< + * cdef float median_value = 0 + * cdef float data_sigma = 0 + */ + __pyx_v_k = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":131 + * cdef int start_index = 0 + * cdef int k = 0 + * cdef float median_value = 0 # <<<<<<<<<<<<<< + * cdef float data_sigma = 0 + * cdef bint is_anomaly = False + */ + __pyx_v_median_value = 0.0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":132 + * cdef int k = 0 + * cdef float median_value = 0 + * cdef float data_sigma = 0 # <<<<<<<<<<<<<< + * cdef bint is_anomaly = False + * + */ + __pyx_v_data_sigma = 0.0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":133 + * cdef float median_value = 0 + * cdef float data_sigma = 0 + * cdef bint is_anomaly = False # <<<<<<<<<<<<<< + * + * cdef float[:] values = array.array('f', sorted_values) + */ + __pyx_v_is_anomaly = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":135 + * cdef bint is_anomaly = False + * + * cdef float[:] values = array.array('f', sorted_values) # <<<<<<<<<<<<<< + * cdef float[:] reverse_value = array.array('f', sorted_values[::-1]) + * if last_index != -1: + */ + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_array); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 135, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_array); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 135, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_3 = NULL; + __pyx_t_5 = 0; + #if CYTHON_UNPACK_METHODS + if (unlikely(PyMethod_Check(__pyx_t_4))) { + __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_4); + if (likely(__pyx_t_3)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_4); + __Pyx_INCREF(__pyx_t_3); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_4, function); + __pyx_t_5 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[3] = {__pyx_t_3, __pyx_n_s_f, __pyx_v_sorted_values}; + __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_5, 2+__pyx_t_5); + __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 135, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + } + __pyx_t_6 = __Pyx_PyObject_to_MemoryviewSlice_ds_float(__pyx_t_2, PyBUF_WRITABLE); if (unlikely(!__pyx_t_6.memview)) __PYX_ERR(0, 135, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_v_values = __pyx_t_6; + __pyx_t_6.memview = NULL; + __pyx_t_6.data = NULL; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":136 + * + * cdef float[:] values = array.array('f', sorted_values) + * cdef float[:] reverse_value = array.array('f', sorted_values[::-1]) # <<<<<<<<<<<<<< + * if last_index != -1: + * start_index = last_index + */ + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_array); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 136, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_array); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 136, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_4 = __Pyx_PyObject_GetItem(__pyx_v_sorted_values, __pyx_slice__12); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 136, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_7 = NULL; + __pyx_t_5 = 0; + #if CYTHON_UNPACK_METHODS + if (unlikely(PyMethod_Check(__pyx_t_3))) { + __pyx_t_7 = PyMethod_GET_SELF(__pyx_t_3); + if (likely(__pyx_t_7)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3); + __Pyx_INCREF(__pyx_t_7); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_3, function); + __pyx_t_5 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[3] = {__pyx_t_7, __pyx_n_s_f, __pyx_t_4}; + __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_5, 2+__pyx_t_5); + __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 136, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + } + __pyx_t_6 = __Pyx_PyObject_to_MemoryviewSlice_ds_float(__pyx_t_2, PyBUF_WRITABLE); if (unlikely(!__pyx_t_6.memview)) __PYX_ERR(0, 136, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_v_reverse_value = __pyx_t_6; + __pyx_t_6.memview = NULL; + __pyx_t_6.data = NULL; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":137 + * cdef float[:] values = array.array('f', sorted_values) + * cdef float[:] reverse_value = array.array('f', sorted_values[::-1]) + * if last_index != -1: # <<<<<<<<<<<<<< + * start_index = last_index + * + */ + __pyx_t_8 = (__pyx_v_last_index != -1L); + if (__pyx_t_8) { + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":138 + * cdef float[:] reverse_value = array.array('f', sorted_values[::-1]) + * if last_index != -1: + * start_index = last_index # <<<<<<<<<<<<<< + * + * for k in range(start_index, max_outliers): + */ + __pyx_v_start_index = __pyx_v_last_index; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":137 + * cdef float[:] values = array.array('f', sorted_values) + * cdef float[:] reverse_value = array.array('f', sorted_values[::-1]) + * if last_index != -1: # <<<<<<<<<<<<<< + * start_index = last_index + * + */ + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":140 + * start_index = last_index + * + * for k in range(start_index, max_outliers): # <<<<<<<<<<<<<< + * median_value = sorted_median(values, k, length) + * data_sigma = find_median_sorted_arrays(reverse_value[length - k - (length - k) // 2: length - k], + */ + __pyx_t_5 = __pyx_v_max_outliers; + __pyx_t_9 = __pyx_t_5; + for (__pyx_t_10 = __pyx_v_start_index; __pyx_t_10 < __pyx_t_9; __pyx_t_10+=1) { + __pyx_v_k = __pyx_t_10; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":141 + * + * for k in range(start_index, max_outliers): + * median_value = sorted_median(values, k, length) # <<<<<<<<<<<<<< + * data_sigma = find_median_sorted_arrays(reverse_value[length - k - (length - k) // 2: length - k], + * values[k + (length - k) // 2:], median_value) / Constant + */ + __pyx_t_11 = __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_sorted_median(__pyx_v_values, __pyx_v_k, __pyx_v_length, 0); if (unlikely(__pyx_t_11 == ((float)-1) && PyErr_Occurred())) __PYX_ERR(0, 141, __pyx_L1_error) + __pyx_v_median_value = __pyx_t_11; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":142 + * for k in range(start_index, max_outliers): + * median_value = sorted_median(values, k, length) + * data_sigma = find_median_sorted_arrays(reverse_value[length - k - (length - k) // 2: length - k], # <<<<<<<<<<<<<< + * values[k + (length - k) // 2:], median_value) / Constant + * + */ + __pyx_t_6.data = __pyx_v_reverse_value.data; + __pyx_t_6.memview = __pyx_v_reverse_value.memview; + __PYX_INC_MEMVIEW(&__pyx_t_6, 1); + __pyx_t_12 = -1; + if (unlikely(__pyx_memoryview_slice_memviewslice( + &__pyx_t_6, + __pyx_v_reverse_value.shape[0], __pyx_v_reverse_value.strides[0], __pyx_v_reverse_value.suboffsets[0], + 0, + 0, + &__pyx_t_12, + ((__pyx_v_length - __pyx_v_k) - __Pyx_div_long((__pyx_v_length - __pyx_v_k), 2)), + (__pyx_v_length - __pyx_v_k), + 0, + 1, + 1, + 0, + 1) < 0)) +{ + __PYX_ERR(0, 142, __pyx_L1_error) +} + +__pyx_t_13.data = __pyx_v_values.data; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":143 + * median_value = sorted_median(values, k, length) + * data_sigma = find_median_sorted_arrays(reverse_value[length - k - (length - k) // 2: length - k], + * values[k + (length - k) // 2:], median_value) / Constant # <<<<<<<<<<<<<< + * + * is_anomaly = check_anomaly_status(median_value, data_sigma, values[k], threshold, upper_tail) + */ + __pyx_t_13.memview = __pyx_v_values.memview; + __PYX_INC_MEMVIEW(&__pyx_t_13, 1); + __pyx_t_12 = -1; + if (unlikely(__pyx_memoryview_slice_memviewslice( + &__pyx_t_13, + __pyx_v_values.shape[0], __pyx_v_values.strides[0], __pyx_v_values.suboffsets[0], + 0, + 0, + &__pyx_t_12, + (__pyx_v_k + __Pyx_div_long((__pyx_v_length - __pyx_v_k), 2)), + 0, + 0, + 1, + 0, + 0, + 1) < 0)) +{ + __PYX_ERR(0, 143, __pyx_L1_error) +} + +__pyx_t_11 = __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_find_median_sorted_arrays(__pyx_t_6, __pyx_t_13, __pyx_v_median_value, 0); if (unlikely(__pyx_t_11 == ((float)-1) && PyErr_Occurred())) __PYX_ERR(0, 142, __pyx_L1_error) + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":142 + * for k in range(start_index, max_outliers): + * median_value = sorted_median(values, k, length) + * data_sigma = find_median_sorted_arrays(reverse_value[length - k - (length - k) // 2: length - k], # <<<<<<<<<<<<<< + * values[k + (length - k) // 2:], median_value) / Constant + * + */ + __PYX_XCLEAR_MEMVIEW(&__pyx_t_6, 1); + __pyx_t_6.memview = NULL; __pyx_t_6.data = NULL; + __PYX_XCLEAR_MEMVIEW(&__pyx_t_13, 1); + __pyx_t_13.memview = NULL; __pyx_t_13.data = NULL; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":143 + * median_value = sorted_median(values, k, length) + * data_sigma = find_median_sorted_arrays(reverse_value[length - k - (length - k) // 2: length - k], + * values[k + (length - k) // 2:], median_value) / Constant # <<<<<<<<<<<<<< + * + * is_anomaly = check_anomaly_status(median_value, data_sigma, values[k], threshold, upper_tail) + */ + if (unlikely(__pyx_v_16anomaly_detector_10univariate_22_anomaly_kernel_cython_Constant == 0)) { + PyErr_SetString(PyExc_ZeroDivisionError, "float division"); + __PYX_ERR(0, 143, __pyx_L1_error) + } + __pyx_v_data_sigma = (__pyx_t_11 / __pyx_v_16anomaly_detector_10univariate_22_anomaly_kernel_cython_Constant); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":145 + * values[k + (length - k) // 2:], median_value) / Constant + * + * is_anomaly = check_anomaly_status(median_value, data_sigma, values[k], threshold, upper_tail) # <<<<<<<<<<<<<< + * + * if not is_anomaly: + */ + __pyx_t_14 = __pyx_v_k; + __pyx_t_12 = -1; + if (__pyx_t_14 < 0) { + __pyx_t_14 += __pyx_v_values.shape[0]; + if (unlikely(__pyx_t_14 < 0)) __pyx_t_12 = 0; + } else if (unlikely(__pyx_t_14 >= __pyx_v_values.shape[0])) __pyx_t_12 = 0; + if (unlikely(__pyx_t_12 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_12); + __PYX_ERR(0, 145, __pyx_L1_error) + } + __pyx_t_8 = __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_check_anomaly_status(__pyx_v_median_value, __pyx_v_data_sigma, (*((float *) ( /* dim=0 */ (__pyx_v_values.data + __pyx_t_14 * __pyx_v_values.strides[0]) ))), __pyx_v_threshold, __pyx_v_upper_tail, 0); if (unlikely(__pyx_t_8 == ((int)-1) && PyErr_Occurred())) __PYX_ERR(0, 145, __pyx_L1_error) + __pyx_v_is_anomaly = __pyx_t_8; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":147 + * is_anomaly = check_anomaly_status(median_value, data_sigma, values[k], threshold, upper_tail) + * + * if not is_anomaly: # <<<<<<<<<<<<<< + * is_anomaly = check_anomaly_status(np.mean(values[k:length]), + * np.std(values[k:length]), values[k], threshold, upper_tail) + */ + __pyx_t_8 = (!__pyx_v_is_anomaly); + if (__pyx_t_8) { + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":148 + * + * if not is_anomaly: + * is_anomaly = check_anomaly_status(np.mean(values[k:length]), # <<<<<<<<<<<<<< + * np.std(values[k:length]), values[k], threshold, upper_tail) + * + */ + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_np); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 148, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_mean); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 148, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_13.data = __pyx_v_values.data; + __pyx_t_13.memview = __pyx_v_values.memview; + __PYX_INC_MEMVIEW(&__pyx_t_13, 1); + __pyx_t_12 = -1; + if (unlikely(__pyx_memoryview_slice_memviewslice( + &__pyx_t_13, + __pyx_v_values.shape[0], __pyx_v_values.strides[0], __pyx_v_values.suboffsets[0], + 0, + 0, + &__pyx_t_12, + __pyx_v_k, + __pyx_v_length, + 0, + 1, + 1, + 0, + 1) < 0)) +{ + __PYX_ERR(0, 148, __pyx_L1_error) +} + +__pyx_t_3 = __pyx_memoryview_fromslice(__pyx_t_13, 1, (PyObject *(*)(char *)) __pyx_memview_get_float, (int (*)(char *, PyObject *)) __pyx_memview_set_float, 0);; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 148, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __PYX_XCLEAR_MEMVIEW(&__pyx_t_13, 1); + __pyx_t_13.memview = NULL; __pyx_t_13.data = NULL; + __pyx_t_7 = NULL; + __pyx_t_12 = 0; + #if CYTHON_UNPACK_METHODS + if (unlikely(PyMethod_Check(__pyx_t_4))) { + __pyx_t_7 = PyMethod_GET_SELF(__pyx_t_4); + if (likely(__pyx_t_7)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_4); + __Pyx_INCREF(__pyx_t_7); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_4, function); + __pyx_t_12 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[2] = {__pyx_t_7, __pyx_t_3}; + __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_12, 1+__pyx_t_12); + __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 148, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + } + __pyx_t_11 = __pyx_PyFloat_AsFloat(__pyx_t_2); if (unlikely((__pyx_t_11 == (float)-1) && PyErr_Occurred())) __PYX_ERR(0, 148, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":149 + * if not is_anomaly: + * is_anomaly = check_anomaly_status(np.mean(values[k:length]), + * np.std(values[k:length]), values[k], threshold, upper_tail) # <<<<<<<<<<<<<< + * + * if is_anomaly: + */ + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_np); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 149, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_std); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 149, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_13.data = __pyx_v_values.data; + __pyx_t_13.memview = __pyx_v_values.memview; + __PYX_INC_MEMVIEW(&__pyx_t_13, 1); + __pyx_t_12 = -1; + if (unlikely(__pyx_memoryview_slice_memviewslice( + &__pyx_t_13, + __pyx_v_values.shape[0], __pyx_v_values.strides[0], __pyx_v_values.suboffsets[0], + 0, + 0, + &__pyx_t_12, + __pyx_v_k, + __pyx_v_length, + 0, + 1, + 1, + 0, + 1) < 0)) +{ + __PYX_ERR(0, 149, __pyx_L1_error) +} + +__pyx_t_4 = __pyx_memoryview_fromslice(__pyx_t_13, 1, (PyObject *(*)(char *)) __pyx_memview_get_float, (int (*)(char *, PyObject *)) __pyx_memview_set_float, 0);; if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 149, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __PYX_XCLEAR_MEMVIEW(&__pyx_t_13, 1); + __pyx_t_13.memview = NULL; __pyx_t_13.data = NULL; + __pyx_t_7 = NULL; + __pyx_t_12 = 0; + #if CYTHON_UNPACK_METHODS + if (unlikely(PyMethod_Check(__pyx_t_3))) { + __pyx_t_7 = PyMethod_GET_SELF(__pyx_t_3); + if (likely(__pyx_t_7)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3); + __Pyx_INCREF(__pyx_t_7); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_3, function); + __pyx_t_12 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[2] = {__pyx_t_7, __pyx_t_4}; + __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_12, 1+__pyx_t_12); + __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 149, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + } + __pyx_t_15 = __pyx_PyFloat_AsFloat(__pyx_t_2); if (unlikely((__pyx_t_15 == (float)-1) && PyErr_Occurred())) __PYX_ERR(0, 149, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_14 = __pyx_v_k; + __pyx_t_12 = -1; + if (__pyx_t_14 < 0) { + __pyx_t_14 += __pyx_v_values.shape[0]; + if (unlikely(__pyx_t_14 < 0)) __pyx_t_12 = 0; + } else if (unlikely(__pyx_t_14 >= __pyx_v_values.shape[0])) __pyx_t_12 = 0; + if (unlikely(__pyx_t_12 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_12); + __PYX_ERR(0, 149, __pyx_L1_error) + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":148 + * + * if not is_anomaly: + * is_anomaly = check_anomaly_status(np.mean(values[k:length]), # <<<<<<<<<<<<<< + * np.std(values[k:length]), values[k], threshold, upper_tail) + * + */ + __pyx_t_8 = __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_check_anomaly_status(__pyx_t_11, __pyx_t_15, (*((float *) ( /* dim=0 */ (__pyx_v_values.data + __pyx_t_14 * __pyx_v_values.strides[0]) ))), __pyx_v_threshold, __pyx_v_upper_tail, 0); if (unlikely(__pyx_t_8 == ((int)-1) && PyErr_Occurred())) __PYX_ERR(0, 148, __pyx_L1_error) + __pyx_v_is_anomaly = __pyx_t_8; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":147 + * is_anomaly = check_anomaly_status(median_value, data_sigma, values[k], threshold, upper_tail) + * + * if not is_anomaly: # <<<<<<<<<<<<<< + * is_anomaly = check_anomaly_status(np.mean(values[k:length]), + * np.std(values[k:length]), values[k], threshold, upper_tail) + */ + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":151 + * np.std(values[k:length]), values[k], threshold, upper_tail) + * + * if is_anomaly: # <<<<<<<<<<<<<< + * num_anoms = k + * + */ + if (__pyx_v_is_anomaly) { + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":152 + * + * if is_anomaly: + * num_anoms = k # <<<<<<<<<<<<<< + * + * if is_anomaly and last_index != -1: + */ + __pyx_v_num_anoms = __pyx_v_k; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":151 + * np.std(values[k:length]), values[k], threshold, upper_tail) + * + * if is_anomaly: # <<<<<<<<<<<<<< + * num_anoms = k + * + */ + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":154 + * num_anoms = k + * + * if is_anomaly and last_index != -1: # <<<<<<<<<<<<<< + * break + * + */ + if (__pyx_v_is_anomaly) { + } else { + __pyx_t_8 = __pyx_v_is_anomaly; + goto __pyx_L9_bool_binop_done; + } + __pyx_t_16 = (__pyx_v_last_index != -1L); + __pyx_t_8 = __pyx_t_16; + __pyx_L9_bool_binop_done:; + if (__pyx_t_8) { + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":155 + * + * if is_anomaly and last_index != -1: + * break # <<<<<<<<<<<<<< + * + * return sorted_index[:num_anoms + 1] + */ + goto __pyx_L5_break; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":154 + * num_anoms = k + * + * if is_anomaly and last_index != -1: # <<<<<<<<<<<<<< + * break + * + */ + } + } + __pyx_L5_break:; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":157 + * break + * + * return sorted_index[:num_anoms + 1] # <<<<<<<<<<<<<< + * + * + */ + __Pyx_XDECREF(__pyx_r); + if (unlikely(__pyx_v_sorted_index == Py_None)) { + PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + __PYX_ERR(0, 157, __pyx_L1_error) + } + __pyx_t_2 = __Pyx_PyList_GetSlice(__pyx_v_sorted_index, 0, (__pyx_v_num_anoms + 1)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 157, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_r = ((PyObject*)__pyx_t_2); + __pyx_t_2 = 0; + goto __pyx_L0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":124 + * + * + * cpdef list dynamic_threshold(list sorted_values, list sorted_index, int max_outliers, float threshold, # <<<<<<<<<<<<<< + * bint upper_tail, int last_index): + * cdef int length = len(sorted_values) + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_2); + __Pyx_XDECREF(__pyx_t_3); + __Pyx_XDECREF(__pyx_t_4); + __PYX_XCLEAR_MEMVIEW(&__pyx_t_6, 1); + __Pyx_XDECREF(__pyx_t_7); + __PYX_XCLEAR_MEMVIEW(&__pyx_t_13, 1); + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.dynamic_threshold", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = 0; + __pyx_L0:; + __PYX_XCLEAR_MEMVIEW(&__pyx_v_values, 1); + __PYX_XCLEAR_MEMVIEW(&__pyx_v_reverse_value, 1); + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* Python wrapper */ +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_17dynamic_threshold(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static PyMethodDef __pyx_mdef_16anomaly_detector_10univariate_22_anomaly_kernel_cython_17dynamic_threshold = {"dynamic_threshold", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_17dynamic_threshold, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_17dynamic_threshold(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +) { + PyObject *__pyx_v_sorted_values = 0; + PyObject *__pyx_v_sorted_index = 0; + int __pyx_v_max_outliers; + float __pyx_v_threshold; + int __pyx_v_upper_tail; + int __pyx_v_last_index; + #if !CYTHON_METH_FASTCALL + CYTHON_UNUSED Py_ssize_t __pyx_nargs; + #endif + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject* values[6] = {0,0,0,0,0,0}; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("dynamic_threshold (wrapper)", 0); + #if !CYTHON_METH_FASTCALL + #if CYTHON_ASSUME_SAFE_MACROS + __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); + #else + __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL; + #endif + #endif + __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs); + { + PyObject **__pyx_pyargnames[] = {&__pyx_n_s_sorted_values,&__pyx_n_s_sorted_index,&__pyx_n_s_max_outliers,&__pyx_n_s_threshold,&__pyx_n_s_upper_tail,&__pyx_n_s_last_index,0}; + if (__pyx_kwds) { + Py_ssize_t kw_args; + switch (__pyx_nargs) { + case 6: values[5] = __Pyx_Arg_FASTCALL(__pyx_args, 5); + CYTHON_FALLTHROUGH; + case 5: values[4] = __Pyx_Arg_FASTCALL(__pyx_args, 4); + CYTHON_FALLTHROUGH; + case 4: values[3] = __Pyx_Arg_FASTCALL(__pyx_args, 3); + CYTHON_FALLTHROUGH; + case 3: values[2] = __Pyx_Arg_FASTCALL(__pyx_args, 2); + CYTHON_FALLTHROUGH; + case 2: values[1] = __Pyx_Arg_FASTCALL(__pyx_args, 1); + CYTHON_FALLTHROUGH; + case 1: values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); + CYTHON_FALLTHROUGH; + case 0: break; + default: goto __pyx_L5_argtuple_error; + } + kw_args = __Pyx_NumKwargs_FASTCALL(__pyx_kwds); + switch (__pyx_nargs) { + case 0: + if (likely((values[0] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_sorted_values)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[0]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 124, __pyx_L3_error) + else goto __pyx_L5_argtuple_error; + CYTHON_FALLTHROUGH; + case 1: + if (likely((values[1] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_sorted_index)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[1]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 124, __pyx_L3_error) + else { + __Pyx_RaiseArgtupleInvalid("dynamic_threshold", 1, 6, 6, 1); __PYX_ERR(0, 124, __pyx_L3_error) + } + CYTHON_FALLTHROUGH; + case 2: + if (likely((values[2] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_max_outliers)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[2]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 124, __pyx_L3_error) + else { + __Pyx_RaiseArgtupleInvalid("dynamic_threshold", 1, 6, 6, 2); __PYX_ERR(0, 124, __pyx_L3_error) + } + CYTHON_FALLTHROUGH; + case 3: + if (likely((values[3] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_threshold)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[3]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 124, __pyx_L3_error) + else { + __Pyx_RaiseArgtupleInvalid("dynamic_threshold", 1, 6, 6, 3); __PYX_ERR(0, 124, __pyx_L3_error) + } + CYTHON_FALLTHROUGH; + case 4: + if (likely((values[4] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_upper_tail)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[4]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 124, __pyx_L3_error) + else { + __Pyx_RaiseArgtupleInvalid("dynamic_threshold", 1, 6, 6, 4); __PYX_ERR(0, 124, __pyx_L3_error) + } + CYTHON_FALLTHROUGH; + case 5: + if (likely((values[5] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_last_index)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[5]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 124, __pyx_L3_error) + else { + __Pyx_RaiseArgtupleInvalid("dynamic_threshold", 1, 6, 6, 5); __PYX_ERR(0, 124, __pyx_L3_error) + } + } + if (unlikely(kw_args > 0)) { + const Py_ssize_t kwd_pos_args = __pyx_nargs; + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "dynamic_threshold") < 0)) __PYX_ERR(0, 124, __pyx_L3_error) + } + } else if (unlikely(__pyx_nargs != 6)) { + goto __pyx_L5_argtuple_error; + } else { + values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); + values[1] = __Pyx_Arg_FASTCALL(__pyx_args, 1); + values[2] = __Pyx_Arg_FASTCALL(__pyx_args, 2); + values[3] = __Pyx_Arg_FASTCALL(__pyx_args, 3); + values[4] = __Pyx_Arg_FASTCALL(__pyx_args, 4); + values[5] = __Pyx_Arg_FASTCALL(__pyx_args, 5); + } + __pyx_v_sorted_values = ((PyObject*)values[0]); + __pyx_v_sorted_index = ((PyObject*)values[1]); + __pyx_v_max_outliers = __Pyx_PyInt_As_int(values[2]); if (unlikely((__pyx_v_max_outliers == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 124, __pyx_L3_error) + __pyx_v_threshold = __pyx_PyFloat_AsFloat(values[3]); if (unlikely((__pyx_v_threshold == (float)-1) && PyErr_Occurred())) __PYX_ERR(0, 124, __pyx_L3_error) + __pyx_v_upper_tail = __Pyx_PyObject_IsTrue(values[4]); if (unlikely((__pyx_v_upper_tail == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 125, __pyx_L3_error) + __pyx_v_last_index = __Pyx_PyInt_As_int(values[5]); if (unlikely((__pyx_v_last_index == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 125, __pyx_L3_error) + } + goto __pyx_L6_skip; + __pyx_L5_argtuple_error:; + __Pyx_RaiseArgtupleInvalid("dynamic_threshold", 1, 6, 6, __pyx_nargs); __PYX_ERR(0, 124, __pyx_L3_error) + __pyx_L6_skip:; + goto __pyx_L4_argument_unpacking_done; + __pyx_L3_error:; + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]); + } + } + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.dynamic_threshold", __pyx_clineno, __pyx_lineno, __pyx_filename); + __Pyx_RefNannyFinishContext(); + return NULL; + __pyx_L4_argument_unpacking_done:; + if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_sorted_values), (&PyList_Type), 1, "sorted_values", 1))) __PYX_ERR(0, 124, __pyx_L1_error) + if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_sorted_index), (&PyList_Type), 1, "sorted_index", 1))) __PYX_ERR(0, 124, __pyx_L1_error) + __pyx_r = __pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_16dynamic_threshold(__pyx_self, __pyx_v_sorted_values, __pyx_v_sorted_index, __pyx_v_max_outliers, __pyx_v_threshold, __pyx_v_upper_tail, __pyx_v_last_index); + + /* function exit code */ + goto __pyx_L0; + __pyx_L1_error:; + __pyx_r = NULL; + __pyx_L0:; + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]); + } + } + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_16dynamic_threshold(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_sorted_values, PyObject *__pyx_v_sorted_index, int __pyx_v_max_outliers, float __pyx_v_threshold, int __pyx_v_upper_tail, int __pyx_v_last_index) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("dynamic_threshold", 1); + __Pyx_XDECREF(__pyx_r); + __pyx_t_1 = __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_dynamic_threshold(__pyx_v_sorted_values, __pyx_v_sorted_index, __pyx_v_max_outliers, __pyx_v_threshold, __pyx_v_upper_tail, __pyx_v_last_index, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 124, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_r = __pyx_t_1; + __pyx_t_1 = 0; + goto __pyx_L0; + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.dynamic_threshold", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":160 + * + * + * cpdef list generalized_esd_test(list sorted_values, list sorted_index, int max_outliers, list critical_values, # <<<<<<<<<<<<<< + * bint upper_tail, int last_index): + * cdef int length = len(sorted_values) + */ + +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_19generalized_esd_test(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static PyObject *__pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_generalized_esd_test(PyObject *__pyx_v_sorted_values, PyObject *__pyx_v_sorted_index, int __pyx_v_max_outliers, PyObject *__pyx_v_critical_values, int __pyx_v_upper_tail, int __pyx_v_last_index, CYTHON_UNUSED int __pyx_skip_dispatch) { + int __pyx_v_length; + int __pyx_v_num_anoms; + CYTHON_UNUSED int __pyx_v_anomaly_index; + int __pyx_v_start_index; + int __pyx_v_k; + __Pyx_memviewslice __pyx_v_values = { 0, 0, { 0 }, { 0 }, { 0 } }; + __Pyx_memviewslice __pyx_v_reverse_value = { 0, 0, { 0 }, { 0 }, { 0 } }; + float __pyx_v_median_value; + float __pyx_v_data_sigma; + int __pyx_v_is_anomaly; + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + Py_ssize_t __pyx_t_1; + PyObject *__pyx_t_2 = NULL; + PyObject *__pyx_t_3 = NULL; + PyObject *__pyx_t_4 = NULL; + int __pyx_t_5; + __Pyx_memviewslice __pyx_t_6 = { 0, 0, { 0 }, { 0 }, { 0 } }; + PyObject *__pyx_t_7 = NULL; + int __pyx_t_8; + int __pyx_t_9; + int __pyx_t_10; + float __pyx_t_11; + int __pyx_t_12; + __Pyx_memviewslice __pyx_t_13 = { 0, 0, { 0 }, { 0 }, { 0 } }; + Py_ssize_t __pyx_t_14; + float __pyx_t_15; + float __pyx_t_16; + int __pyx_t_17; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("generalized_esd_test", 1); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":162 + * cpdef list generalized_esd_test(list sorted_values, list sorted_index, int max_outliers, list critical_values, + * bint upper_tail, int last_index): + * cdef int length = len(sorted_values) # <<<<<<<<<<<<<< + * cdef int num_anoms = -1 + * cdef int anomaly_index = -1 + */ + if (unlikely(__pyx_v_sorted_values == Py_None)) { + PyErr_SetString(PyExc_TypeError, "object of type 'NoneType' has no len()"); + __PYX_ERR(0, 162, __pyx_L1_error) + } + __pyx_t_1 = __Pyx_PyList_GET_SIZE(__pyx_v_sorted_values); if (unlikely(__pyx_t_1 == ((Py_ssize_t)-1))) __PYX_ERR(0, 162, __pyx_L1_error) + __pyx_v_length = __pyx_t_1; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":163 + * bint upper_tail, int last_index): + * cdef int length = len(sorted_values) + * cdef int num_anoms = -1 # <<<<<<<<<<<<<< + * cdef int anomaly_index = -1 + * cdef int start_index = 0 + */ + __pyx_v_num_anoms = -1; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":164 + * cdef int length = len(sorted_values) + * cdef int num_anoms = -1 + * cdef int anomaly_index = -1 # <<<<<<<<<<<<<< + * cdef int start_index = 0 + * cdef int k = 0 + */ + __pyx_v_anomaly_index = -1; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":165 + * cdef int num_anoms = -1 + * cdef int anomaly_index = -1 + * cdef int start_index = 0 # <<<<<<<<<<<<<< + * cdef int k = 0 + * cdef float[:] values = array.array('f', sorted_values) + */ + __pyx_v_start_index = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":166 + * cdef int anomaly_index = -1 + * cdef int start_index = 0 + * cdef int k = 0 # <<<<<<<<<<<<<< + * cdef float[:] values = array.array('f', sorted_values) + * cdef float[:] reverse_value = array.array('f', sorted_values[::-1]) + */ + __pyx_v_k = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":167 + * cdef int start_index = 0 + * cdef int k = 0 + * cdef float[:] values = array.array('f', sorted_values) # <<<<<<<<<<<<<< + * cdef float[:] reverse_value = array.array('f', sorted_values[::-1]) + * cdef float median_value = 0 + */ + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_array); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 167, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_array); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 167, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_3 = NULL; + __pyx_t_5 = 0; + #if CYTHON_UNPACK_METHODS + if (unlikely(PyMethod_Check(__pyx_t_4))) { + __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_4); + if (likely(__pyx_t_3)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_4); + __Pyx_INCREF(__pyx_t_3); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_4, function); + __pyx_t_5 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[3] = {__pyx_t_3, __pyx_n_s_f, __pyx_v_sorted_values}; + __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_5, 2+__pyx_t_5); + __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 167, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + } + __pyx_t_6 = __Pyx_PyObject_to_MemoryviewSlice_ds_float(__pyx_t_2, PyBUF_WRITABLE); if (unlikely(!__pyx_t_6.memview)) __PYX_ERR(0, 167, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_v_values = __pyx_t_6; + __pyx_t_6.memview = NULL; + __pyx_t_6.data = NULL; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":168 + * cdef int k = 0 + * cdef float[:] values = array.array('f', sorted_values) + * cdef float[:] reverse_value = array.array('f', sorted_values[::-1]) # <<<<<<<<<<<<<< + * cdef float median_value = 0 + * cdef float data_sigma = 0 + */ + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_array); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 168, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_array); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 168, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_4 = __Pyx_PyObject_GetItem(__pyx_v_sorted_values, __pyx_slice__12); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 168, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_7 = NULL; + __pyx_t_5 = 0; + #if CYTHON_UNPACK_METHODS + if (unlikely(PyMethod_Check(__pyx_t_3))) { + __pyx_t_7 = PyMethod_GET_SELF(__pyx_t_3); + if (likely(__pyx_t_7)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3); + __Pyx_INCREF(__pyx_t_7); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_3, function); + __pyx_t_5 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[3] = {__pyx_t_7, __pyx_n_s_f, __pyx_t_4}; + __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_5, 2+__pyx_t_5); + __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 168, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + } + __pyx_t_6 = __Pyx_PyObject_to_MemoryviewSlice_ds_float(__pyx_t_2, PyBUF_WRITABLE); if (unlikely(!__pyx_t_6.memview)) __PYX_ERR(0, 168, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_v_reverse_value = __pyx_t_6; + __pyx_t_6.memview = NULL; + __pyx_t_6.data = NULL; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":169 + * cdef float[:] values = array.array('f', sorted_values) + * cdef float[:] reverse_value = array.array('f', sorted_values[::-1]) + * cdef float median_value = 0 # <<<<<<<<<<<<<< + * cdef float data_sigma = 0 + * cdef bint is_anomaly = False + */ + __pyx_v_median_value = 0.0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":170 + * cdef float[:] reverse_value = array.array('f', sorted_values[::-1]) + * cdef float median_value = 0 + * cdef float data_sigma = 0 # <<<<<<<<<<<<<< + * cdef bint is_anomaly = False + * if last_index != -1: + */ + __pyx_v_data_sigma = 0.0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":171 + * cdef float median_value = 0 + * cdef float data_sigma = 0 + * cdef bint is_anomaly = False # <<<<<<<<<<<<<< + * if last_index != -1: + * start_index = last_index + */ + __pyx_v_is_anomaly = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":172 + * cdef float data_sigma = 0 + * cdef bint is_anomaly = False + * if last_index != -1: # <<<<<<<<<<<<<< + * start_index = last_index + * for k in range(start_index, max_outliers): + */ + __pyx_t_8 = (__pyx_v_last_index != -1L); + if (__pyx_t_8) { + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":173 + * cdef bint is_anomaly = False + * if last_index != -1: + * start_index = last_index # <<<<<<<<<<<<<< + * for k in range(start_index, max_outliers): + * median_value = sorted_median(values, k, length) + */ + __pyx_v_start_index = __pyx_v_last_index; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":172 + * cdef float data_sigma = 0 + * cdef bint is_anomaly = False + * if last_index != -1: # <<<<<<<<<<<<<< + * start_index = last_index + * for k in range(start_index, max_outliers): + */ + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":174 + * if last_index != -1: + * start_index = last_index + * for k in range(start_index, max_outliers): # <<<<<<<<<<<<<< + * median_value = sorted_median(values, k, length) + * data_sigma = find_median_sorted_arrays(reverse_value[length - k - (length - k) // 2: length - k], + */ + __pyx_t_5 = __pyx_v_max_outliers; + __pyx_t_9 = __pyx_t_5; + for (__pyx_t_10 = __pyx_v_start_index; __pyx_t_10 < __pyx_t_9; __pyx_t_10+=1) { + __pyx_v_k = __pyx_t_10; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":175 + * start_index = last_index + * for k in range(start_index, max_outliers): + * median_value = sorted_median(values, k, length) # <<<<<<<<<<<<<< + * data_sigma = find_median_sorted_arrays(reverse_value[length - k - (length - k) // 2: length - k], + * values[k + (length - k) // 2:], median_value) / Constant + */ + __pyx_t_11 = __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_sorted_median(__pyx_v_values, __pyx_v_k, __pyx_v_length, 0); if (unlikely(__pyx_t_11 == ((float)-1) && PyErr_Occurred())) __PYX_ERR(0, 175, __pyx_L1_error) + __pyx_v_median_value = __pyx_t_11; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":176 + * for k in range(start_index, max_outliers): + * median_value = sorted_median(values, k, length) + * data_sigma = find_median_sorted_arrays(reverse_value[length - k - (length - k) // 2: length - k], # <<<<<<<<<<<<<< + * values[k + (length - k) // 2:], median_value) / Constant + * + */ + __pyx_t_6.data = __pyx_v_reverse_value.data; + __pyx_t_6.memview = __pyx_v_reverse_value.memview; + __PYX_INC_MEMVIEW(&__pyx_t_6, 1); + __pyx_t_12 = -1; + if (unlikely(__pyx_memoryview_slice_memviewslice( + &__pyx_t_6, + __pyx_v_reverse_value.shape[0], __pyx_v_reverse_value.strides[0], __pyx_v_reverse_value.suboffsets[0], + 0, + 0, + &__pyx_t_12, + ((__pyx_v_length - __pyx_v_k) - __Pyx_div_long((__pyx_v_length - __pyx_v_k), 2)), + (__pyx_v_length - __pyx_v_k), + 0, + 1, + 1, + 0, + 1) < 0)) +{ + __PYX_ERR(0, 176, __pyx_L1_error) +} + +__pyx_t_13.data = __pyx_v_values.data; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":177 + * median_value = sorted_median(values, k, length) + * data_sigma = find_median_sorted_arrays(reverse_value[length - k - (length - k) // 2: length - k], + * values[k + (length - k) // 2:], median_value) / Constant # <<<<<<<<<<<<<< + * + * is_anomaly = check_anomaly_status(median_value, data_sigma, values[k], critical_values[k], upper_tail) + */ + __pyx_t_13.memview = __pyx_v_values.memview; + __PYX_INC_MEMVIEW(&__pyx_t_13, 1); + __pyx_t_12 = -1; + if (unlikely(__pyx_memoryview_slice_memviewslice( + &__pyx_t_13, + __pyx_v_values.shape[0], __pyx_v_values.strides[0], __pyx_v_values.suboffsets[0], + 0, + 0, + &__pyx_t_12, + (__pyx_v_k + __Pyx_div_long((__pyx_v_length - __pyx_v_k), 2)), + 0, + 0, + 1, + 0, + 0, + 1) < 0)) +{ + __PYX_ERR(0, 177, __pyx_L1_error) +} + +__pyx_t_11 = __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_find_median_sorted_arrays(__pyx_t_6, __pyx_t_13, __pyx_v_median_value, 0); if (unlikely(__pyx_t_11 == ((float)-1) && PyErr_Occurred())) __PYX_ERR(0, 176, __pyx_L1_error) + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":176 + * for k in range(start_index, max_outliers): + * median_value = sorted_median(values, k, length) + * data_sigma = find_median_sorted_arrays(reverse_value[length - k - (length - k) // 2: length - k], # <<<<<<<<<<<<<< + * values[k + (length - k) // 2:], median_value) / Constant + * + */ + __PYX_XCLEAR_MEMVIEW(&__pyx_t_6, 1); + __pyx_t_6.memview = NULL; __pyx_t_6.data = NULL; + __PYX_XCLEAR_MEMVIEW(&__pyx_t_13, 1); + __pyx_t_13.memview = NULL; __pyx_t_13.data = NULL; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":177 + * median_value = sorted_median(values, k, length) + * data_sigma = find_median_sorted_arrays(reverse_value[length - k - (length - k) // 2: length - k], + * values[k + (length - k) // 2:], median_value) / Constant # <<<<<<<<<<<<<< + * + * is_anomaly = check_anomaly_status(median_value, data_sigma, values[k], critical_values[k], upper_tail) + */ + if (unlikely(__pyx_v_16anomaly_detector_10univariate_22_anomaly_kernel_cython_Constant == 0)) { + PyErr_SetString(PyExc_ZeroDivisionError, "float division"); + __PYX_ERR(0, 177, __pyx_L1_error) + } + __pyx_v_data_sigma = (__pyx_t_11 / __pyx_v_16anomaly_detector_10univariate_22_anomaly_kernel_cython_Constant); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":179 + * values[k + (length - k) // 2:], median_value) / Constant + * + * is_anomaly = check_anomaly_status(median_value, data_sigma, values[k], critical_values[k], upper_tail) # <<<<<<<<<<<<<< + * + * if not is_anomaly: + */ + __pyx_t_14 = __pyx_v_k; + __pyx_t_12 = -1; + if (__pyx_t_14 < 0) { + __pyx_t_14 += __pyx_v_values.shape[0]; + if (unlikely(__pyx_t_14 < 0)) __pyx_t_12 = 0; + } else if (unlikely(__pyx_t_14 >= __pyx_v_values.shape[0])) __pyx_t_12 = 0; + if (unlikely(__pyx_t_12 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_12); + __PYX_ERR(0, 179, __pyx_L1_error) + } + if (unlikely(__pyx_v_critical_values == Py_None)) { + PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + __PYX_ERR(0, 179, __pyx_L1_error) + } + __pyx_t_2 = __Pyx_GetItemInt_List(__pyx_v_critical_values, __pyx_v_k, int, 1, __Pyx_PyInt_From_int, 1, 1, 1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 179, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_11 = __pyx_PyFloat_AsFloat(__pyx_t_2); if (unlikely((__pyx_t_11 == (float)-1) && PyErr_Occurred())) __PYX_ERR(0, 179, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_8 = __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_check_anomaly_status(__pyx_v_median_value, __pyx_v_data_sigma, (*((float *) ( /* dim=0 */ (__pyx_v_values.data + __pyx_t_14 * __pyx_v_values.strides[0]) ))), __pyx_t_11, __pyx_v_upper_tail, 0); if (unlikely(__pyx_t_8 == ((int)-1) && PyErr_Occurred())) __PYX_ERR(0, 179, __pyx_L1_error) + __pyx_v_is_anomaly = __pyx_t_8; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":181 + * is_anomaly = check_anomaly_status(median_value, data_sigma, values[k], critical_values[k], upper_tail) + * + * if not is_anomaly: # <<<<<<<<<<<<<< + * is_anomaly = check_anomaly_status(np.mean(values[k:length]), + * np.std(values[k:length]), values[k], critical_values[k], upper_tail) + */ + __pyx_t_8 = (!__pyx_v_is_anomaly); + if (__pyx_t_8) { + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":182 + * + * if not is_anomaly: + * is_anomaly = check_anomaly_status(np.mean(values[k:length]), # <<<<<<<<<<<<<< + * np.std(values[k:length]), values[k], critical_values[k], upper_tail) + * + */ + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_np); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 182, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_mean); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 182, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_13.data = __pyx_v_values.data; + __pyx_t_13.memview = __pyx_v_values.memview; + __PYX_INC_MEMVIEW(&__pyx_t_13, 1); + __pyx_t_12 = -1; + if (unlikely(__pyx_memoryview_slice_memviewslice( + &__pyx_t_13, + __pyx_v_values.shape[0], __pyx_v_values.strides[0], __pyx_v_values.suboffsets[0], + 0, + 0, + &__pyx_t_12, + __pyx_v_k, + __pyx_v_length, + 0, + 1, + 1, + 0, + 1) < 0)) +{ + __PYX_ERR(0, 182, __pyx_L1_error) +} + +__pyx_t_3 = __pyx_memoryview_fromslice(__pyx_t_13, 1, (PyObject *(*)(char *)) __pyx_memview_get_float, (int (*)(char *, PyObject *)) __pyx_memview_set_float, 0);; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 182, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __PYX_XCLEAR_MEMVIEW(&__pyx_t_13, 1); + __pyx_t_13.memview = NULL; __pyx_t_13.data = NULL; + __pyx_t_7 = NULL; + __pyx_t_12 = 0; + #if CYTHON_UNPACK_METHODS + if (unlikely(PyMethod_Check(__pyx_t_4))) { + __pyx_t_7 = PyMethod_GET_SELF(__pyx_t_4); + if (likely(__pyx_t_7)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_4); + __Pyx_INCREF(__pyx_t_7); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_4, function); + __pyx_t_12 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[2] = {__pyx_t_7, __pyx_t_3}; + __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_12, 1+__pyx_t_12); + __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 182, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + } + __pyx_t_11 = __pyx_PyFloat_AsFloat(__pyx_t_2); if (unlikely((__pyx_t_11 == (float)-1) && PyErr_Occurred())) __PYX_ERR(0, 182, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":183 + * if not is_anomaly: + * is_anomaly = check_anomaly_status(np.mean(values[k:length]), + * np.std(values[k:length]), values[k], critical_values[k], upper_tail) # <<<<<<<<<<<<<< + * + * if is_anomaly: + */ + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_np); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 183, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_std); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 183, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_13.data = __pyx_v_values.data; + __pyx_t_13.memview = __pyx_v_values.memview; + __PYX_INC_MEMVIEW(&__pyx_t_13, 1); + __pyx_t_12 = -1; + if (unlikely(__pyx_memoryview_slice_memviewslice( + &__pyx_t_13, + __pyx_v_values.shape[0], __pyx_v_values.strides[0], __pyx_v_values.suboffsets[0], + 0, + 0, + &__pyx_t_12, + __pyx_v_k, + __pyx_v_length, + 0, + 1, + 1, + 0, + 1) < 0)) +{ + __PYX_ERR(0, 183, __pyx_L1_error) +} + +__pyx_t_4 = __pyx_memoryview_fromslice(__pyx_t_13, 1, (PyObject *(*)(char *)) __pyx_memview_get_float, (int (*)(char *, PyObject *)) __pyx_memview_set_float, 0);; if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 183, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __PYX_XCLEAR_MEMVIEW(&__pyx_t_13, 1); + __pyx_t_13.memview = NULL; __pyx_t_13.data = NULL; + __pyx_t_7 = NULL; + __pyx_t_12 = 0; + #if CYTHON_UNPACK_METHODS + if (unlikely(PyMethod_Check(__pyx_t_3))) { + __pyx_t_7 = PyMethod_GET_SELF(__pyx_t_3); + if (likely(__pyx_t_7)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3); + __Pyx_INCREF(__pyx_t_7); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_3, function); + __pyx_t_12 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[2] = {__pyx_t_7, __pyx_t_4}; + __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_12, 1+__pyx_t_12); + __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 183, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + } + __pyx_t_15 = __pyx_PyFloat_AsFloat(__pyx_t_2); if (unlikely((__pyx_t_15 == (float)-1) && PyErr_Occurred())) __PYX_ERR(0, 183, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_14 = __pyx_v_k; + __pyx_t_12 = -1; + if (__pyx_t_14 < 0) { + __pyx_t_14 += __pyx_v_values.shape[0]; + if (unlikely(__pyx_t_14 < 0)) __pyx_t_12 = 0; + } else if (unlikely(__pyx_t_14 >= __pyx_v_values.shape[0])) __pyx_t_12 = 0; + if (unlikely(__pyx_t_12 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_12); + __PYX_ERR(0, 183, __pyx_L1_error) + } + if (unlikely(__pyx_v_critical_values == Py_None)) { + PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + __PYX_ERR(0, 183, __pyx_L1_error) + } + __pyx_t_2 = __Pyx_GetItemInt_List(__pyx_v_critical_values, __pyx_v_k, int, 1, __Pyx_PyInt_From_int, 1, 1, 1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 183, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_16 = __pyx_PyFloat_AsFloat(__pyx_t_2); if (unlikely((__pyx_t_16 == (float)-1) && PyErr_Occurred())) __PYX_ERR(0, 183, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":182 + * + * if not is_anomaly: + * is_anomaly = check_anomaly_status(np.mean(values[k:length]), # <<<<<<<<<<<<<< + * np.std(values[k:length]), values[k], critical_values[k], upper_tail) + * + */ + __pyx_t_8 = __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_check_anomaly_status(__pyx_t_11, __pyx_t_15, (*((float *) ( /* dim=0 */ (__pyx_v_values.data + __pyx_t_14 * __pyx_v_values.strides[0]) ))), __pyx_t_16, __pyx_v_upper_tail, 0); if (unlikely(__pyx_t_8 == ((int)-1) && PyErr_Occurred())) __PYX_ERR(0, 182, __pyx_L1_error) + __pyx_v_is_anomaly = __pyx_t_8; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":181 + * is_anomaly = check_anomaly_status(median_value, data_sigma, values[k], critical_values[k], upper_tail) + * + * if not is_anomaly: # <<<<<<<<<<<<<< + * is_anomaly = check_anomaly_status(np.mean(values[k:length]), + * np.std(values[k:length]), values[k], critical_values[k], upper_tail) + */ + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":185 + * np.std(values[k:length]), values[k], critical_values[k], upper_tail) + * + * if is_anomaly: # <<<<<<<<<<<<<< + * num_anoms = k + * + */ + if (__pyx_v_is_anomaly) { + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":186 + * + * if is_anomaly: + * num_anoms = k # <<<<<<<<<<<<<< + * + * if is_anomaly and last_index != -1: + */ + __pyx_v_num_anoms = __pyx_v_k; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":185 + * np.std(values[k:length]), values[k], critical_values[k], upper_tail) + * + * if is_anomaly: # <<<<<<<<<<<<<< + * num_anoms = k + * + */ + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":188 + * num_anoms = k + * + * if is_anomaly and last_index != -1: # <<<<<<<<<<<<<< + * break + * + */ + if (__pyx_v_is_anomaly) { + } else { + __pyx_t_8 = __pyx_v_is_anomaly; + goto __pyx_L9_bool_binop_done; + } + __pyx_t_17 = (__pyx_v_last_index != -1L); + __pyx_t_8 = __pyx_t_17; + __pyx_L9_bool_binop_done:; + if (__pyx_t_8) { + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":189 + * + * if is_anomaly and last_index != -1: + * break # <<<<<<<<<<<<<< + * + * return sorted_index[:num_anoms + 1] + */ + goto __pyx_L5_break; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":188 + * num_anoms = k + * + * if is_anomaly and last_index != -1: # <<<<<<<<<<<<<< + * break + * + */ + } + } + __pyx_L5_break:; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":191 + * break + * + * return sorted_index[:num_anoms + 1] # <<<<<<<<<<<<<< + * + * cpdef max_gcv(np.ndarray data, np.ndarray periods): + */ + __Pyx_XDECREF(__pyx_r); + if (unlikely(__pyx_v_sorted_index == Py_None)) { + PyErr_SetString(PyExc_TypeError, "'NoneType' object is not subscriptable"); + __PYX_ERR(0, 191, __pyx_L1_error) + } + __pyx_t_2 = __Pyx_PyList_GetSlice(__pyx_v_sorted_index, 0, (__pyx_v_num_anoms + 1)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 191, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_r = ((PyObject*)__pyx_t_2); + __pyx_t_2 = 0; + goto __pyx_L0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":160 + * + * + * cpdef list generalized_esd_test(list sorted_values, list sorted_index, int max_outliers, list critical_values, # <<<<<<<<<<<<<< + * bint upper_tail, int last_index): + * cdef int length = len(sorted_values) + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_2); + __Pyx_XDECREF(__pyx_t_3); + __Pyx_XDECREF(__pyx_t_4); + __PYX_XCLEAR_MEMVIEW(&__pyx_t_6, 1); + __Pyx_XDECREF(__pyx_t_7); + __PYX_XCLEAR_MEMVIEW(&__pyx_t_13, 1); + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.generalized_esd_test", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = 0; + __pyx_L0:; + __PYX_XCLEAR_MEMVIEW(&__pyx_v_values, 1); + __PYX_XCLEAR_MEMVIEW(&__pyx_v_reverse_value, 1); + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* Python wrapper */ +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_19generalized_esd_test(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static PyMethodDef __pyx_mdef_16anomaly_detector_10univariate_22_anomaly_kernel_cython_19generalized_esd_test = {"generalized_esd_test", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_19generalized_esd_test, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_19generalized_esd_test(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +) { + PyObject *__pyx_v_sorted_values = 0; + PyObject *__pyx_v_sorted_index = 0; + int __pyx_v_max_outliers; + PyObject *__pyx_v_critical_values = 0; + int __pyx_v_upper_tail; + int __pyx_v_last_index; + #if !CYTHON_METH_FASTCALL + CYTHON_UNUSED Py_ssize_t __pyx_nargs; + #endif + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject* values[6] = {0,0,0,0,0,0}; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("generalized_esd_test (wrapper)", 0); + #if !CYTHON_METH_FASTCALL + #if CYTHON_ASSUME_SAFE_MACROS + __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); + #else + __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL; + #endif + #endif + __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs); + { + PyObject **__pyx_pyargnames[] = {&__pyx_n_s_sorted_values,&__pyx_n_s_sorted_index,&__pyx_n_s_max_outliers,&__pyx_n_s_critical_values,&__pyx_n_s_upper_tail,&__pyx_n_s_last_index,0}; + if (__pyx_kwds) { + Py_ssize_t kw_args; + switch (__pyx_nargs) { + case 6: values[5] = __Pyx_Arg_FASTCALL(__pyx_args, 5); + CYTHON_FALLTHROUGH; + case 5: values[4] = __Pyx_Arg_FASTCALL(__pyx_args, 4); + CYTHON_FALLTHROUGH; + case 4: values[3] = __Pyx_Arg_FASTCALL(__pyx_args, 3); + CYTHON_FALLTHROUGH; + case 3: values[2] = __Pyx_Arg_FASTCALL(__pyx_args, 2); + CYTHON_FALLTHROUGH; + case 2: values[1] = __Pyx_Arg_FASTCALL(__pyx_args, 1); + CYTHON_FALLTHROUGH; + case 1: values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); + CYTHON_FALLTHROUGH; + case 0: break; + default: goto __pyx_L5_argtuple_error; + } + kw_args = __Pyx_NumKwargs_FASTCALL(__pyx_kwds); + switch (__pyx_nargs) { + case 0: + if (likely((values[0] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_sorted_values)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[0]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 160, __pyx_L3_error) + else goto __pyx_L5_argtuple_error; + CYTHON_FALLTHROUGH; + case 1: + if (likely((values[1] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_sorted_index)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[1]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 160, __pyx_L3_error) + else { + __Pyx_RaiseArgtupleInvalid("generalized_esd_test", 1, 6, 6, 1); __PYX_ERR(0, 160, __pyx_L3_error) + } + CYTHON_FALLTHROUGH; + case 2: + if (likely((values[2] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_max_outliers)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[2]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 160, __pyx_L3_error) + else { + __Pyx_RaiseArgtupleInvalid("generalized_esd_test", 1, 6, 6, 2); __PYX_ERR(0, 160, __pyx_L3_error) + } + CYTHON_FALLTHROUGH; + case 3: + if (likely((values[3] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_critical_values)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[3]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 160, __pyx_L3_error) + else { + __Pyx_RaiseArgtupleInvalid("generalized_esd_test", 1, 6, 6, 3); __PYX_ERR(0, 160, __pyx_L3_error) + } + CYTHON_FALLTHROUGH; + case 4: + if (likely((values[4] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_upper_tail)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[4]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 160, __pyx_L3_error) + else { + __Pyx_RaiseArgtupleInvalid("generalized_esd_test", 1, 6, 6, 4); __PYX_ERR(0, 160, __pyx_L3_error) + } + CYTHON_FALLTHROUGH; + case 5: + if (likely((values[5] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_last_index)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[5]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 160, __pyx_L3_error) + else { + __Pyx_RaiseArgtupleInvalid("generalized_esd_test", 1, 6, 6, 5); __PYX_ERR(0, 160, __pyx_L3_error) + } + } + if (unlikely(kw_args > 0)) { + const Py_ssize_t kwd_pos_args = __pyx_nargs; + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "generalized_esd_test") < 0)) __PYX_ERR(0, 160, __pyx_L3_error) + } + } else if (unlikely(__pyx_nargs != 6)) { + goto __pyx_L5_argtuple_error; + } else { + values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); + values[1] = __Pyx_Arg_FASTCALL(__pyx_args, 1); + values[2] = __Pyx_Arg_FASTCALL(__pyx_args, 2); + values[3] = __Pyx_Arg_FASTCALL(__pyx_args, 3); + values[4] = __Pyx_Arg_FASTCALL(__pyx_args, 4); + values[5] = __Pyx_Arg_FASTCALL(__pyx_args, 5); + } + __pyx_v_sorted_values = ((PyObject*)values[0]); + __pyx_v_sorted_index = ((PyObject*)values[1]); + __pyx_v_max_outliers = __Pyx_PyInt_As_int(values[2]); if (unlikely((__pyx_v_max_outliers == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 160, __pyx_L3_error) + __pyx_v_critical_values = ((PyObject*)values[3]); + __pyx_v_upper_tail = __Pyx_PyObject_IsTrue(values[4]); if (unlikely((__pyx_v_upper_tail == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 161, __pyx_L3_error) + __pyx_v_last_index = __Pyx_PyInt_As_int(values[5]); if (unlikely((__pyx_v_last_index == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 161, __pyx_L3_error) + } + goto __pyx_L6_skip; + __pyx_L5_argtuple_error:; + __Pyx_RaiseArgtupleInvalid("generalized_esd_test", 1, 6, 6, __pyx_nargs); __PYX_ERR(0, 160, __pyx_L3_error) + __pyx_L6_skip:; + goto __pyx_L4_argument_unpacking_done; + __pyx_L3_error:; + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]); + } + } + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.generalized_esd_test", __pyx_clineno, __pyx_lineno, __pyx_filename); + __Pyx_RefNannyFinishContext(); + return NULL; + __pyx_L4_argument_unpacking_done:; + if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_sorted_values), (&PyList_Type), 1, "sorted_values", 1))) __PYX_ERR(0, 160, __pyx_L1_error) + if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_sorted_index), (&PyList_Type), 1, "sorted_index", 1))) __PYX_ERR(0, 160, __pyx_L1_error) + if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_critical_values), (&PyList_Type), 1, "critical_values", 1))) __PYX_ERR(0, 160, __pyx_L1_error) + __pyx_r = __pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_18generalized_esd_test(__pyx_self, __pyx_v_sorted_values, __pyx_v_sorted_index, __pyx_v_max_outliers, __pyx_v_critical_values, __pyx_v_upper_tail, __pyx_v_last_index); + + /* function exit code */ + goto __pyx_L0; + __pyx_L1_error:; + __pyx_r = NULL; + __pyx_L0:; + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]); + } + } + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_18generalized_esd_test(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_sorted_values, PyObject *__pyx_v_sorted_index, int __pyx_v_max_outliers, PyObject *__pyx_v_critical_values, int __pyx_v_upper_tail, int __pyx_v_last_index) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("generalized_esd_test", 1); + __Pyx_XDECREF(__pyx_r); + __pyx_t_1 = __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_generalized_esd_test(__pyx_v_sorted_values, __pyx_v_sorted_index, __pyx_v_max_outliers, __pyx_v_critical_values, __pyx_v_upper_tail, __pyx_v_last_index, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 160, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_r = __pyx_t_1; + __pyx_t_1 = 0; + goto __pyx_L0; + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.generalized_esd_test", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":193 + * return sorted_index[:num_anoms + 1] + * + * cpdef max_gcv(np.ndarray data, np.ndarray periods): # <<<<<<<<<<<<<< + * cdef float cv_mse = np.inf + * cdef float _mse = 0 + */ + +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_21max_gcv(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static PyObject *__pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_max_gcv(PyArrayObject *__pyx_v_data, PyArrayObject *__pyx_v_periods, CYTHON_UNUSED int __pyx_skip_dispatch) { + float __pyx_v_cv_mse; + float __pyx_v__mse; + __Pyx_memviewslice __pyx_v__seasons = { 0, 0, { 0 }, { 0 }, { 0 } }; + __Pyx_memviewslice __pyx_v_cv_seasons = { 0, 0, { 0 }, { 0 }, { 0 } }; + __Pyx_memviewslice __pyx_v_periods_idx = { 0, 0, { 0 }, { 0 }, { 0 } }; + int __pyx_v_i; + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; + float __pyx_t_3; + PyObject *__pyx_t_4 = NULL; + __Pyx_memviewslice __pyx_t_5 = { 0, 0, { 0 }, { 0 }, { 0 } }; + __Pyx_memviewslice __pyx_t_6 = { 0, 0, { 0 }, { 0 }, { 0 } }; + Py_ssize_t __pyx_t_7; + Py_ssize_t __pyx_t_8; + int __pyx_t_9; + Py_ssize_t __pyx_t_10; + int __pyx_t_11; + PyObject *__pyx_t_12 = NULL; + PyObject *(*__pyx_t_13)(PyObject *); + int __pyx_t_14; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("max_gcv", 1); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":194 + * + * cpdef max_gcv(np.ndarray data, np.ndarray periods): + * cdef float cv_mse = np.inf # <<<<<<<<<<<<<< + * cdef float _mse = 0 + * cdef float[:] _seasons = np.empty(1, dtype='f') + */ + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_np); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 194, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_inf); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 194, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __pyx_t_3 = __pyx_PyFloat_AsFloat(__pyx_t_2); if (unlikely((__pyx_t_3 == (float)-1) && PyErr_Occurred())) __PYX_ERR(0, 194, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_v_cv_mse = __pyx_t_3; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":195 + * cpdef max_gcv(np.ndarray data, np.ndarray periods): + * cdef float cv_mse = np.inf + * cdef float _mse = 0 # <<<<<<<<<<<<<< + * cdef float[:] _seasons = np.empty(1, dtype='f') + * cdef float[:] cv_seasons = np.empty(1, dtype='f') + */ + __pyx_v__mse = 0.0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":196 + * cdef float cv_mse = np.inf + * cdef float _mse = 0 + * cdef float[:] _seasons = np.empty(1, dtype='f') # <<<<<<<<<<<<<< + * cdef float[:] cv_seasons = np.empty(1, dtype='f') + * cdef int[:] periods_idx = periods + */ + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_np); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 196, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_empty); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 196, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_2 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 196, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_dtype, __pyx_n_s_f) < 0) __PYX_ERR(0, 196, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_tuple__13, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 196, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_5 = __Pyx_PyObject_to_MemoryviewSlice_ds_float(__pyx_t_4, PyBUF_WRITABLE); if (unlikely(!__pyx_t_5.memview)) __PYX_ERR(0, 196, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_v__seasons = __pyx_t_5; + __pyx_t_5.memview = NULL; + __pyx_t_5.data = NULL; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":197 + * cdef float _mse = 0 + * cdef float[:] _seasons = np.empty(1, dtype='f') + * cdef float[:] cv_seasons = np.empty(1, dtype='f') # <<<<<<<<<<<<<< + * cdef int[:] periods_idx = periods + * cdef int i = 0 + */ + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_np); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 197, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_empty); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 197, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_4 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 197, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + if (PyDict_SetItem(__pyx_t_4, __pyx_n_s_dtype, __pyx_n_s_f) < 0) __PYX_ERR(0, 197, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_tuple__13, __pyx_t_4); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 197, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_5 = __Pyx_PyObject_to_MemoryviewSlice_ds_float(__pyx_t_1, PyBUF_WRITABLE); if (unlikely(!__pyx_t_5.memview)) __PYX_ERR(0, 197, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __pyx_v_cv_seasons = __pyx_t_5; + __pyx_t_5.memview = NULL; + __pyx_t_5.data = NULL; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":198 + * cdef float[:] _seasons = np.empty(1, dtype='f') + * cdef float[:] cv_seasons = np.empty(1, dtype='f') + * cdef int[:] periods_idx = periods # <<<<<<<<<<<<<< + * cdef int i = 0 + * for i in range(len(periods_idx)): + */ + __pyx_t_6 = __Pyx_PyObject_to_MemoryviewSlice_ds_int(((PyObject *)__pyx_v_periods), PyBUF_WRITABLE); if (unlikely(!__pyx_t_6.memview)) __PYX_ERR(0, 198, __pyx_L1_error) + __pyx_v_periods_idx = __pyx_t_6; + __pyx_t_6.memview = NULL; + __pyx_t_6.data = NULL; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":199 + * cdef float[:] cv_seasons = np.empty(1, dtype='f') + * cdef int[:] periods_idx = periods + * cdef int i = 0 # <<<<<<<<<<<<<< + * for i in range(len(periods_idx)): + * _mse, _seasons = gcv(data, periods_idx[i]) + */ + __pyx_v_i = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":200 + * cdef int[:] periods_idx = periods + * cdef int i = 0 + * for i in range(len(periods_idx)): # <<<<<<<<<<<<<< + * _mse, _seasons = gcv(data, periods_idx[i]) + * if _mse < cv_mse: + */ + __pyx_t_7 = __Pyx_MemoryView_Len(__pyx_v_periods_idx); + __pyx_t_8 = __pyx_t_7; + for (__pyx_t_9 = 0; __pyx_t_9 < __pyx_t_8; __pyx_t_9+=1) { + __pyx_v_i = __pyx_t_9; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":201 + * cdef int i = 0 + * for i in range(len(periods_idx)): + * _mse, _seasons = gcv(data, periods_idx[i]) # <<<<<<<<<<<<<< + * if _mse < cv_mse: + * cv_mse, cv_seasons = _mse, _seasons + */ + __pyx_t_10 = __pyx_v_i; + __pyx_t_11 = -1; + if (__pyx_t_10 < 0) { + __pyx_t_10 += __pyx_v_periods_idx.shape[0]; + if (unlikely(__pyx_t_10 < 0)) __pyx_t_11 = 0; + } else if (unlikely(__pyx_t_10 >= __pyx_v_periods_idx.shape[0])) __pyx_t_11 = 0; + if (unlikely(__pyx_t_11 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_11); + __PYX_ERR(0, 201, __pyx_L1_error) + } + __pyx_t_1 = __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_gcv(__pyx_v_data, (*((int *) ( /* dim=0 */ (__pyx_v_periods_idx.data + __pyx_t_10 * __pyx_v_periods_idx.strides[0]) ))), 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 201, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + if ((likely(PyTuple_CheckExact(__pyx_t_1))) || (PyList_CheckExact(__pyx_t_1))) { + PyObject* sequence = __pyx_t_1; + Py_ssize_t size = __Pyx_PySequence_SIZE(sequence); + if (unlikely(size != 2)) { + if (size > 2) __Pyx_RaiseTooManyValuesError(2); + else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size); + __PYX_ERR(0, 201, __pyx_L1_error) + } + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + if (likely(PyTuple_CheckExact(sequence))) { + __pyx_t_4 = PyTuple_GET_ITEM(sequence, 0); + __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1); + } else { + __pyx_t_4 = PyList_GET_ITEM(sequence, 0); + __pyx_t_2 = PyList_GET_ITEM(sequence, 1); + } + __Pyx_INCREF(__pyx_t_4); + __Pyx_INCREF(__pyx_t_2); + #else + __pyx_t_4 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 201, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_2 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 201, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + #endif + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } else { + Py_ssize_t index = -1; + __pyx_t_12 = PyObject_GetIter(__pyx_t_1); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 201, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_12); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __pyx_t_13 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_12); + index = 0; __pyx_t_4 = __pyx_t_13(__pyx_t_12); if (unlikely(!__pyx_t_4)) goto __pyx_L5_unpacking_failed; + __Pyx_GOTREF(__pyx_t_4); + index = 1; __pyx_t_2 = __pyx_t_13(__pyx_t_12); if (unlikely(!__pyx_t_2)) goto __pyx_L5_unpacking_failed; + __Pyx_GOTREF(__pyx_t_2); + if (__Pyx_IternextUnpackEndCheck(__pyx_t_13(__pyx_t_12), 2) < 0) __PYX_ERR(0, 201, __pyx_L1_error) + __pyx_t_13 = NULL; + __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0; + goto __pyx_L6_unpacking_done; + __pyx_L5_unpacking_failed:; + __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0; + __pyx_t_13 = NULL; + if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); + __PYX_ERR(0, 201, __pyx_L1_error) + __pyx_L6_unpacking_done:; + } + __pyx_t_3 = __pyx_PyFloat_AsFloat(__pyx_t_4); if (unlikely((__pyx_t_3 == (float)-1) && PyErr_Occurred())) __PYX_ERR(0, 201, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_5 = __Pyx_PyObject_to_MemoryviewSlice_ds_float(__pyx_t_2, PyBUF_WRITABLE); if (unlikely(!__pyx_t_5.memview)) __PYX_ERR(0, 201, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_v__mse = __pyx_t_3; + __PYX_XCLEAR_MEMVIEW(&__pyx_v__seasons, 1); + __pyx_v__seasons = __pyx_t_5; + __pyx_t_5.memview = NULL; + __pyx_t_5.data = NULL; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":202 + * for i in range(len(periods_idx)): + * _mse, _seasons = gcv(data, periods_idx[i]) + * if _mse < cv_mse: # <<<<<<<<<<<<<< + * cv_mse, cv_seasons = _mse, _seasons + * + */ + __pyx_t_14 = (__pyx_v__mse < __pyx_v_cv_mse); + if (__pyx_t_14) { + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":203 + * _mse, _seasons = gcv(data, periods_idx[i]) + * if _mse < cv_mse: + * cv_mse, cv_seasons = _mse, _seasons # <<<<<<<<<<<<<< + * + * return cv_mse, cv_seasons + */ + __pyx_t_3 = __pyx_v__mse; + __pyx_t_5 = __pyx_v__seasons; + __PYX_INC_MEMVIEW(&__pyx_t_5, 1); + __pyx_v_cv_mse = __pyx_t_3; + __PYX_XCLEAR_MEMVIEW(&__pyx_v_cv_seasons, 1); + __pyx_v_cv_seasons = __pyx_t_5; + __pyx_t_5.memview = NULL; + __pyx_t_5.data = NULL; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":202 + * for i in range(len(periods_idx)): + * _mse, _seasons = gcv(data, periods_idx[i]) + * if _mse < cv_mse: # <<<<<<<<<<<<<< + * cv_mse, cv_seasons = _mse, _seasons + * + */ + } + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":205 + * cv_mse, cv_seasons = _mse, _seasons + * + * return cv_mse, cv_seasons # <<<<<<<<<<<<<< + * + * cpdef gcv(np.ndarray gcv_input, int period): + */ + __Pyx_XDECREF(__pyx_r); + __pyx_t_1 = PyFloat_FromDouble(__pyx_v_cv_mse); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 205, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_t_2 = __pyx_memoryview_fromslice(__pyx_v_cv_seasons, 1, (PyObject *(*)(char *)) __pyx_memview_get_float, (int (*)(char *, PyObject *)) __pyx_memview_set_float, 0);; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 205, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 205, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_GIVEREF(__pyx_t_1); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_1)) __PYX_ERR(0, 205, __pyx_L1_error); + __Pyx_GIVEREF(__pyx_t_2); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_2)) __PYX_ERR(0, 205, __pyx_L1_error); + __pyx_t_1 = 0; + __pyx_t_2 = 0; + __pyx_r = __pyx_t_4; + __pyx_t_4 = 0; + goto __pyx_L0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":193 + * return sorted_index[:num_anoms + 1] + * + * cpdef max_gcv(np.ndarray data, np.ndarray periods): # <<<<<<<<<<<<<< + * cdef float cv_mse = np.inf + * cdef float _mse = 0 + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_2); + __Pyx_XDECREF(__pyx_t_4); + __PYX_XCLEAR_MEMVIEW(&__pyx_t_5, 1); + __PYX_XCLEAR_MEMVIEW(&__pyx_t_6, 1); + __Pyx_XDECREF(__pyx_t_12); + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.max_gcv", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = 0; + __pyx_L0:; + __PYX_XCLEAR_MEMVIEW(&__pyx_v__seasons, 1); + __PYX_XCLEAR_MEMVIEW(&__pyx_v_cv_seasons, 1); + __PYX_XCLEAR_MEMVIEW(&__pyx_v_periods_idx, 1); + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* Python wrapper */ +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_21max_gcv(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static PyMethodDef __pyx_mdef_16anomaly_detector_10univariate_22_anomaly_kernel_cython_21max_gcv = {"max_gcv", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_21max_gcv, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_21max_gcv(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +) { + PyArrayObject *__pyx_v_data = 0; + PyArrayObject *__pyx_v_periods = 0; + #if !CYTHON_METH_FASTCALL + CYTHON_UNUSED Py_ssize_t __pyx_nargs; + #endif + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject* values[2] = {0,0}; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("max_gcv (wrapper)", 0); + #if !CYTHON_METH_FASTCALL + #if CYTHON_ASSUME_SAFE_MACROS + __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); + #else + __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL; + #endif + #endif + __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs); + { + PyObject **__pyx_pyargnames[] = {&__pyx_n_s_data,&__pyx_n_s_periods,0}; + if (__pyx_kwds) { + Py_ssize_t kw_args; + switch (__pyx_nargs) { + case 2: values[1] = __Pyx_Arg_FASTCALL(__pyx_args, 1); + CYTHON_FALLTHROUGH; + case 1: values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); + CYTHON_FALLTHROUGH; + case 0: break; + default: goto __pyx_L5_argtuple_error; + } + kw_args = __Pyx_NumKwargs_FASTCALL(__pyx_kwds); + switch (__pyx_nargs) { + case 0: + if (likely((values[0] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_data)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[0]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 193, __pyx_L3_error) + else goto __pyx_L5_argtuple_error; + CYTHON_FALLTHROUGH; + case 1: + if (likely((values[1] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_periods)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[1]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 193, __pyx_L3_error) + else { + __Pyx_RaiseArgtupleInvalid("max_gcv", 1, 2, 2, 1); __PYX_ERR(0, 193, __pyx_L3_error) + } + } + if (unlikely(kw_args > 0)) { + const Py_ssize_t kwd_pos_args = __pyx_nargs; + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "max_gcv") < 0)) __PYX_ERR(0, 193, __pyx_L3_error) + } + } else if (unlikely(__pyx_nargs != 2)) { + goto __pyx_L5_argtuple_error; + } else { + values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); + values[1] = __Pyx_Arg_FASTCALL(__pyx_args, 1); + } + __pyx_v_data = ((PyArrayObject *)values[0]); + __pyx_v_periods = ((PyArrayObject *)values[1]); + } + goto __pyx_L6_skip; + __pyx_L5_argtuple_error:; + __Pyx_RaiseArgtupleInvalid("max_gcv", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 193, __pyx_L3_error) + __pyx_L6_skip:; + goto __pyx_L4_argument_unpacking_done; + __pyx_L3_error:; + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]); + } + } + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.max_gcv", __pyx_clineno, __pyx_lineno, __pyx_filename); + __Pyx_RefNannyFinishContext(); + return NULL; + __pyx_L4_argument_unpacking_done:; + if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_data), __pyx_ptype_5numpy_ndarray, 1, "data", 0))) __PYX_ERR(0, 193, __pyx_L1_error) + if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_periods), __pyx_ptype_5numpy_ndarray, 1, "periods", 0))) __PYX_ERR(0, 193, __pyx_L1_error) + __pyx_r = __pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_20max_gcv(__pyx_self, __pyx_v_data, __pyx_v_periods); + + /* function exit code */ + goto __pyx_L0; + __pyx_L1_error:; + __pyx_r = NULL; + __pyx_L0:; + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]); + } + } + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_20max_gcv(CYTHON_UNUSED PyObject *__pyx_self, PyArrayObject *__pyx_v_data, PyArrayObject *__pyx_v_periods) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("max_gcv", 1); + __Pyx_XDECREF(__pyx_r); + __pyx_t_1 = __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_max_gcv(__pyx_v_data, __pyx_v_periods, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 193, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_r = __pyx_t_1; + __pyx_t_1 = 0; + goto __pyx_L0; + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.max_gcv", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":207 + * return cv_mse, cv_seasons + * + * cpdef gcv(np.ndarray gcv_input, int period): # <<<<<<<<<<<<<< + * cdef float[:] seasons = np.empty(period, dtype='f') + * cdef int[:] cycles = np.zeros(period, dtype='i') + */ + +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_23gcv(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static PyObject *__pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_gcv(PyArrayObject *__pyx_v_gcv_input, int __pyx_v_period, CYTHON_UNUSED int __pyx_skip_dispatch) { + __Pyx_memviewslice __pyx_v_seasons = { 0, 0, { 0 }, { 0 }, { 0 } }; + __Pyx_memviewslice __pyx_v_cycles = { 0, 0, { 0 }, { 0 }, { 0 } }; + __Pyx_memviewslice __pyx_v_sum_y2 = { 0, 0, { 0 }, { 0 }, { 0 } }; + __Pyx_memviewslice __pyx_v_sum_y = { 0, 0, { 0 }, { 0 }, { 0 } }; + int __pyx_v_idx; + int __pyx_v_i; + __Pyx_memviewslice __pyx_v_value_idx = { 0, 0, { 0 }, { 0 }, { 0 } }; + float __pyx_v_cv_mse; + int __pyx_v_n; + PyObject *__pyx_7genexpr__pyx_v_x = NULL; + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; + PyObject *__pyx_t_3 = NULL; + PyObject *__pyx_t_4 = NULL; + __Pyx_memviewslice __pyx_t_5 = { 0, 0, { 0 }, { 0 }, { 0 } }; + __Pyx_memviewslice __pyx_t_6 = { 0, 0, { 0 }, { 0 }, { 0 } }; + Py_ssize_t __pyx_t_7; + PyObject *(*__pyx_t_8)(PyObject *); + PyObject *__pyx_t_9 = NULL; + int __pyx_t_10; + int __pyx_t_11; + int __pyx_t_12; + Py_ssize_t __pyx_t_13; + int __pyx_t_14; + Py_ssize_t __pyx_t_15; + Py_ssize_t __pyx_t_16; + long __pyx_t_17; + float __pyx_t_18; + int __pyx_t_19; + double __pyx_t_20; + int __pyx_t_21; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("gcv", 1); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":208 + * + * cpdef gcv(np.ndarray gcv_input, int period): + * cdef float[:] seasons = np.empty(period, dtype='f') # <<<<<<<<<<<<<< + * cdef int[:] cycles = np.zeros(period, dtype='i') + * cdef float[:] sum_y2 = np.zeros(period, dtype='f') + */ + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_np); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 208, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_empty); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 208, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_period); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 208, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 208, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_GIVEREF(__pyx_t_1); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_1)) __PYX_ERR(0, 208, __pyx_L1_error); + __pyx_t_1 = 0; + __pyx_t_1 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 208, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_dtype, __pyx_n_s_f) < 0) __PYX_ERR(0, 208, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_3, __pyx_t_1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 208, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __pyx_t_5 = __Pyx_PyObject_to_MemoryviewSlice_ds_float(__pyx_t_4, PyBUF_WRITABLE); if (unlikely(!__pyx_t_5.memview)) __PYX_ERR(0, 208, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_v_seasons = __pyx_t_5; + __pyx_t_5.memview = NULL; + __pyx_t_5.data = NULL; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":209 + * cpdef gcv(np.ndarray gcv_input, int period): + * cdef float[:] seasons = np.empty(period, dtype='f') + * cdef int[:] cycles = np.zeros(period, dtype='i') # <<<<<<<<<<<<<< + * cdef float[:] sum_y2 = np.zeros(period, dtype='f') + * cdef float[:] sum_y = np.zeros(period, dtype='f') + */ + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_np); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 209, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_zeros); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 209, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_4 = __Pyx_PyInt_From_int(__pyx_v_period); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 209, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 209, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_GIVEREF(__pyx_t_4); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_4)) __PYX_ERR(0, 209, __pyx_L1_error); + __pyx_t_4 = 0; + __pyx_t_4 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 209, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + if (PyDict_SetItem(__pyx_t_4, __pyx_n_s_dtype, __pyx_n_s_i) < 0) __PYX_ERR(0, 209, __pyx_L1_error) + __pyx_t_2 = __Pyx_PyObject_Call(__pyx_t_1, __pyx_t_3, __pyx_t_4); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 209, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_6 = __Pyx_PyObject_to_MemoryviewSlice_ds_int(__pyx_t_2, PyBUF_WRITABLE); if (unlikely(!__pyx_t_6.memview)) __PYX_ERR(0, 209, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_v_cycles = __pyx_t_6; + __pyx_t_6.memview = NULL; + __pyx_t_6.data = NULL; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":210 + * cdef float[:] seasons = np.empty(period, dtype='f') + * cdef int[:] cycles = np.zeros(period, dtype='i') + * cdef float[:] sum_y2 = np.zeros(period, dtype='f') # <<<<<<<<<<<<<< + * cdef float[:] sum_y = np.zeros(period, dtype='f') + * cdef int idx = 0 + */ + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_np); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 210, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_zeros); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 210, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_period); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 210, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 210, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_GIVEREF(__pyx_t_2); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2)) __PYX_ERR(0, 210, __pyx_L1_error); + __pyx_t_2 = 0; + __pyx_t_2 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 210, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_dtype, __pyx_n_s_f) < 0) __PYX_ERR(0, 210, __pyx_L1_error) + __pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_4, __pyx_t_3, __pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 210, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_5 = __Pyx_PyObject_to_MemoryviewSlice_ds_float(__pyx_t_1, PyBUF_WRITABLE); if (unlikely(!__pyx_t_5.memview)) __PYX_ERR(0, 210, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __pyx_v_sum_y2 = __pyx_t_5; + __pyx_t_5.memview = NULL; + __pyx_t_5.data = NULL; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":211 + * cdef int[:] cycles = np.zeros(period, dtype='i') + * cdef float[:] sum_y2 = np.zeros(period, dtype='f') + * cdef float[:] sum_y = np.zeros(period, dtype='f') # <<<<<<<<<<<<<< + * cdef int idx = 0 + * cdef int i = 0 + */ + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_np); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 211, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_zeros); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 211, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_period); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 211, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 211, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_GIVEREF(__pyx_t_1); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_1)) __PYX_ERR(0, 211, __pyx_L1_error); + __pyx_t_1 = 0; + __pyx_t_1 = __Pyx_PyDict_NewPresized(1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 211, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + if (PyDict_SetItem(__pyx_t_1, __pyx_n_s_dtype, __pyx_n_s_f) < 0) __PYX_ERR(0, 211, __pyx_L1_error) + __pyx_t_4 = __Pyx_PyObject_Call(__pyx_t_2, __pyx_t_3, __pyx_t_1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 211, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __pyx_t_5 = __Pyx_PyObject_to_MemoryviewSlice_ds_float(__pyx_t_4, PyBUF_WRITABLE); if (unlikely(!__pyx_t_5.memview)) __PYX_ERR(0, 211, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_v_sum_y = __pyx_t_5; + __pyx_t_5.memview = NULL; + __pyx_t_5.data = NULL; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":212 + * cdef float[:] sum_y2 = np.zeros(period, dtype='f') + * cdef float[:] sum_y = np.zeros(period, dtype='f') + * cdef int idx = 0 # <<<<<<<<<<<<<< + * cdef int i = 0 + * cdef float[:] value_idx = array.array('f', [x for x in gcv_input]) + */ + __pyx_v_idx = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":213 + * cdef float[:] sum_y = np.zeros(period, dtype='f') + * cdef int idx = 0 + * cdef int i = 0 # <<<<<<<<<<<<<< + * cdef float[:] value_idx = array.array('f', [x for x in gcv_input]) + * cdef float cv_mse = 0 + */ + __pyx_v_i = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":214 + * cdef int idx = 0 + * cdef int i = 0 + * cdef float[:] value_idx = array.array('f', [x for x in gcv_input]) # <<<<<<<<<<<<<< + * cdef float cv_mse = 0 + * cdef int n = len(value_idx) + */ + __Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_n_s_array); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 214, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_1, __pyx_n_s_array); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 214, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + { /* enter inner scope */ + __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 214, __pyx_L5_error) + __Pyx_GOTREF(__pyx_t_1); + if (likely(PyList_CheckExact(((PyObject *)__pyx_v_gcv_input))) || PyTuple_CheckExact(((PyObject *)__pyx_v_gcv_input))) { + __pyx_t_2 = ((PyObject *)__pyx_v_gcv_input); __Pyx_INCREF(__pyx_t_2); + __pyx_t_7 = 0; + __pyx_t_8 = NULL; + } else { + __pyx_t_7 = -1; __pyx_t_2 = PyObject_GetIter(((PyObject *)__pyx_v_gcv_input)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 214, __pyx_L5_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_8 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_2); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 214, __pyx_L5_error) + } + for (;;) { + if (likely(!__pyx_t_8)) { + if (likely(PyList_CheckExact(__pyx_t_2))) { + { + Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_2); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 214, __pyx_L5_error) + #endif + if (__pyx_t_7 >= __pyx_temp) break; + } + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + __pyx_t_9 = PyList_GET_ITEM(__pyx_t_2, __pyx_t_7); __Pyx_INCREF(__pyx_t_9); __pyx_t_7++; if (unlikely((0 < 0))) __PYX_ERR(0, 214, __pyx_L5_error) + #else + __pyx_t_9 = __Pyx_PySequence_ITEM(__pyx_t_2, __pyx_t_7); __pyx_t_7++; if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 214, __pyx_L5_error) + __Pyx_GOTREF(__pyx_t_9); + #endif + } else { + { + Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_2); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 214, __pyx_L5_error) + #endif + if (__pyx_t_7 >= __pyx_temp) break; + } + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + __pyx_t_9 = PyTuple_GET_ITEM(__pyx_t_2, __pyx_t_7); __Pyx_INCREF(__pyx_t_9); __pyx_t_7++; if (unlikely((0 < 0))) __PYX_ERR(0, 214, __pyx_L5_error) + #else + __pyx_t_9 = __Pyx_PySequence_ITEM(__pyx_t_2, __pyx_t_7); __pyx_t_7++; if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 214, __pyx_L5_error) + __Pyx_GOTREF(__pyx_t_9); + #endif + } + } else { + __pyx_t_9 = __pyx_t_8(__pyx_t_2); + if (unlikely(!__pyx_t_9)) { + PyObject* exc_type = PyErr_Occurred(); + if (exc_type) { + if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear(); + else __PYX_ERR(0, 214, __pyx_L5_error) + } + break; + } + __Pyx_GOTREF(__pyx_t_9); + } + __Pyx_XDECREF_SET(__pyx_7genexpr__pyx_v_x, __pyx_t_9); + __pyx_t_9 = 0; + if (unlikely(__Pyx_ListComp_Append(__pyx_t_1, (PyObject*)__pyx_7genexpr__pyx_v_x))) __PYX_ERR(0, 214, __pyx_L5_error) + } + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_XDECREF(__pyx_7genexpr__pyx_v_x); __pyx_7genexpr__pyx_v_x = 0; + goto __pyx_L9_exit_scope; + __pyx_L5_error:; + __Pyx_XDECREF(__pyx_7genexpr__pyx_v_x); __pyx_7genexpr__pyx_v_x = 0; + goto __pyx_L1_error; + __pyx_L9_exit_scope:; + } /* exit inner scope */ + __pyx_t_2 = NULL; + __pyx_t_10 = 0; + #if CYTHON_UNPACK_METHODS + if (unlikely(PyMethod_Check(__pyx_t_3))) { + __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_3); + if (likely(__pyx_t_2)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3); + __Pyx_INCREF(__pyx_t_2); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_3, function); + __pyx_t_10 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[3] = {__pyx_t_2, __pyx_n_s_f, __pyx_t_1}; + __pyx_t_4 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_10, 2+__pyx_t_10); + __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 214, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + } + __pyx_t_5 = __Pyx_PyObject_to_MemoryviewSlice_ds_float(__pyx_t_4, PyBUF_WRITABLE); if (unlikely(!__pyx_t_5.memview)) __PYX_ERR(0, 214, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_v_value_idx = __pyx_t_5; + __pyx_t_5.memview = NULL; + __pyx_t_5.data = NULL; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":215 + * cdef int i = 0 + * cdef float[:] value_idx = array.array('f', [x for x in gcv_input]) + * cdef float cv_mse = 0 # <<<<<<<<<<<<<< + * cdef int n = len(value_idx) + * for i in range(n): + */ + __pyx_v_cv_mse = 0.0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":216 + * cdef float[:] value_idx = array.array('f', [x for x in gcv_input]) + * cdef float cv_mse = 0 + * cdef int n = len(value_idx) # <<<<<<<<<<<<<< + * for i in range(n): + * sum_y[idx] += value_idx[i] + */ + __pyx_t_7 = __Pyx_MemoryView_Len(__pyx_v_value_idx); + __pyx_v_n = __pyx_t_7; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":217 + * cdef float cv_mse = 0 + * cdef int n = len(value_idx) + * for i in range(n): # <<<<<<<<<<<<<< + * sum_y[idx] += value_idx[i] + * sum_y2[idx] += value_idx[i] * value_idx[i] + */ + __pyx_t_10 = __pyx_v_n; + __pyx_t_11 = __pyx_t_10; + for (__pyx_t_12 = 0; __pyx_t_12 < __pyx_t_11; __pyx_t_12+=1) { + __pyx_v_i = __pyx_t_12; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":218 + * cdef int n = len(value_idx) + * for i in range(n): + * sum_y[idx] += value_idx[i] # <<<<<<<<<<<<<< + * sum_y2[idx] += value_idx[i] * value_idx[i] + * cycles[idx] += 1 + */ + __pyx_t_13 = __pyx_v_i; + __pyx_t_14 = -1; + if (__pyx_t_13 < 0) { + __pyx_t_13 += __pyx_v_value_idx.shape[0]; + if (unlikely(__pyx_t_13 < 0)) __pyx_t_14 = 0; + } else if (unlikely(__pyx_t_13 >= __pyx_v_value_idx.shape[0])) __pyx_t_14 = 0; + if (unlikely(__pyx_t_14 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_14); + __PYX_ERR(0, 218, __pyx_L1_error) + } + __pyx_t_15 = __pyx_v_idx; + __pyx_t_14 = -1; + if (__pyx_t_15 < 0) { + __pyx_t_15 += __pyx_v_sum_y.shape[0]; + if (unlikely(__pyx_t_15 < 0)) __pyx_t_14 = 0; + } else if (unlikely(__pyx_t_15 >= __pyx_v_sum_y.shape[0])) __pyx_t_14 = 0; + if (unlikely(__pyx_t_14 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_14); + __PYX_ERR(0, 218, __pyx_L1_error) + } + *((float *) ( /* dim=0 */ (__pyx_v_sum_y.data + __pyx_t_15 * __pyx_v_sum_y.strides[0]) )) += (*((float *) ( /* dim=0 */ (__pyx_v_value_idx.data + __pyx_t_13 * __pyx_v_value_idx.strides[0]) ))); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":219 + * for i in range(n): + * sum_y[idx] += value_idx[i] + * sum_y2[idx] += value_idx[i] * value_idx[i] # <<<<<<<<<<<<<< + * cycles[idx] += 1 + * idx = (i+1)%period + */ + __pyx_t_13 = __pyx_v_i; + __pyx_t_14 = -1; + if (__pyx_t_13 < 0) { + __pyx_t_13 += __pyx_v_value_idx.shape[0]; + if (unlikely(__pyx_t_13 < 0)) __pyx_t_14 = 0; + } else if (unlikely(__pyx_t_13 >= __pyx_v_value_idx.shape[0])) __pyx_t_14 = 0; + if (unlikely(__pyx_t_14 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_14); + __PYX_ERR(0, 219, __pyx_L1_error) + } + __pyx_t_15 = __pyx_v_i; + __pyx_t_14 = -1; + if (__pyx_t_15 < 0) { + __pyx_t_15 += __pyx_v_value_idx.shape[0]; + if (unlikely(__pyx_t_15 < 0)) __pyx_t_14 = 0; + } else if (unlikely(__pyx_t_15 >= __pyx_v_value_idx.shape[0])) __pyx_t_14 = 0; + if (unlikely(__pyx_t_14 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_14); + __PYX_ERR(0, 219, __pyx_L1_error) + } + __pyx_t_16 = __pyx_v_idx; + __pyx_t_14 = -1; + if (__pyx_t_16 < 0) { + __pyx_t_16 += __pyx_v_sum_y2.shape[0]; + if (unlikely(__pyx_t_16 < 0)) __pyx_t_14 = 0; + } else if (unlikely(__pyx_t_16 >= __pyx_v_sum_y2.shape[0])) __pyx_t_14 = 0; + if (unlikely(__pyx_t_14 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_14); + __PYX_ERR(0, 219, __pyx_L1_error) + } + *((float *) ( /* dim=0 */ (__pyx_v_sum_y2.data + __pyx_t_16 * __pyx_v_sum_y2.strides[0]) )) += ((*((float *) ( /* dim=0 */ (__pyx_v_value_idx.data + __pyx_t_13 * __pyx_v_value_idx.strides[0]) ))) * (*((float *) ( /* dim=0 */ (__pyx_v_value_idx.data + __pyx_t_15 * __pyx_v_value_idx.strides[0]) )))); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":220 + * sum_y[idx] += value_idx[i] + * sum_y2[idx] += value_idx[i] * value_idx[i] + * cycles[idx] += 1 # <<<<<<<<<<<<<< + * idx = (i+1)%period + * + */ + __pyx_t_15 = __pyx_v_idx; + __pyx_t_14 = -1; + if (__pyx_t_15 < 0) { + __pyx_t_15 += __pyx_v_cycles.shape[0]; + if (unlikely(__pyx_t_15 < 0)) __pyx_t_14 = 0; + } else if (unlikely(__pyx_t_15 >= __pyx_v_cycles.shape[0])) __pyx_t_14 = 0; + if (unlikely(__pyx_t_14 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_14); + __PYX_ERR(0, 220, __pyx_L1_error) + } + *((int *) ( /* dim=0 */ (__pyx_v_cycles.data + __pyx_t_15 * __pyx_v_cycles.strides[0]) )) += 1; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":221 + * sum_y2[idx] += value_idx[i] * value_idx[i] + * cycles[idx] += 1 + * idx = (i+1)%period # <<<<<<<<<<<<<< + * + * for i in range(period): + */ + __pyx_t_17 = (__pyx_v_i + 1); + if (unlikely(__pyx_v_period == 0)) { + PyErr_SetString(PyExc_ZeroDivisionError, "integer division or modulo by zero"); + __PYX_ERR(0, 221, __pyx_L1_error) + } + __pyx_v_idx = __Pyx_mod_long(__pyx_t_17, __pyx_v_period); + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":223 + * idx = (i+1)%period + * + * for i in range(period): # <<<<<<<<<<<<<< + * seasons[i] = sum_y[i] / cycles[i] + * cv_mse += (cycles[i] / (cycles[i] - 1.0)) ** 2 * (sum_y2[i] - sum_y[i] ** 2 / cycles[i]) + */ + __pyx_t_10 = __pyx_v_period; + __pyx_t_11 = __pyx_t_10; + for (__pyx_t_12 = 0; __pyx_t_12 < __pyx_t_11; __pyx_t_12+=1) { + __pyx_v_i = __pyx_t_12; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":224 + * + * for i in range(period): + * seasons[i] = sum_y[i] / cycles[i] # <<<<<<<<<<<<<< + * cv_mse += (cycles[i] / (cycles[i] - 1.0)) ** 2 * (sum_y2[i] - sum_y[i] ** 2 / cycles[i]) + * + */ + __pyx_t_15 = __pyx_v_i; + __pyx_t_14 = -1; + if (__pyx_t_15 < 0) { + __pyx_t_15 += __pyx_v_sum_y.shape[0]; + if (unlikely(__pyx_t_15 < 0)) __pyx_t_14 = 0; + } else if (unlikely(__pyx_t_15 >= __pyx_v_sum_y.shape[0])) __pyx_t_14 = 0; + if (unlikely(__pyx_t_14 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_14); + __PYX_ERR(0, 224, __pyx_L1_error) + } + __pyx_t_18 = (*((float *) ( /* dim=0 */ (__pyx_v_sum_y.data + __pyx_t_15 * __pyx_v_sum_y.strides[0]) ))); + __pyx_t_15 = __pyx_v_i; + __pyx_t_14 = -1; + if (__pyx_t_15 < 0) { + __pyx_t_15 += __pyx_v_cycles.shape[0]; + if (unlikely(__pyx_t_15 < 0)) __pyx_t_14 = 0; + } else if (unlikely(__pyx_t_15 >= __pyx_v_cycles.shape[0])) __pyx_t_14 = 0; + if (unlikely(__pyx_t_14 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_14); + __PYX_ERR(0, 224, __pyx_L1_error) + } + __pyx_t_14 = (*((int *) ( /* dim=0 */ (__pyx_v_cycles.data + __pyx_t_15 * __pyx_v_cycles.strides[0]) ))); + if (unlikely(__pyx_t_14 == 0)) { + PyErr_SetString(PyExc_ZeroDivisionError, "float division"); + __PYX_ERR(0, 224, __pyx_L1_error) + } + __pyx_t_15 = __pyx_v_i; + __pyx_t_19 = -1; + if (__pyx_t_15 < 0) { + __pyx_t_15 += __pyx_v_seasons.shape[0]; + if (unlikely(__pyx_t_15 < 0)) __pyx_t_19 = 0; + } else if (unlikely(__pyx_t_15 >= __pyx_v_seasons.shape[0])) __pyx_t_19 = 0; + if (unlikely(__pyx_t_19 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_19); + __PYX_ERR(0, 224, __pyx_L1_error) + } + *((float *) ( /* dim=0 */ (__pyx_v_seasons.data + __pyx_t_15 * __pyx_v_seasons.strides[0]) )) = (__pyx_t_18 / ((float)__pyx_t_14)); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":225 + * for i in range(period): + * seasons[i] = sum_y[i] / cycles[i] + * cv_mse += (cycles[i] / (cycles[i] - 1.0)) ** 2 * (sum_y2[i] - sum_y[i] ** 2 / cycles[i]) # <<<<<<<<<<<<<< + * + * cv_mse = cv_mse / len(value_idx) + */ + __pyx_t_15 = __pyx_v_i; + __pyx_t_14 = -1; + if (__pyx_t_15 < 0) { + __pyx_t_15 += __pyx_v_cycles.shape[0]; + if (unlikely(__pyx_t_15 < 0)) __pyx_t_14 = 0; + } else if (unlikely(__pyx_t_15 >= __pyx_v_cycles.shape[0])) __pyx_t_14 = 0; + if (unlikely(__pyx_t_14 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_14); + __PYX_ERR(0, 225, __pyx_L1_error) + } + __pyx_t_14 = (*((int *) ( /* dim=0 */ (__pyx_v_cycles.data + __pyx_t_15 * __pyx_v_cycles.strides[0]) ))); + __pyx_t_15 = __pyx_v_i; + __pyx_t_19 = -1; + if (__pyx_t_15 < 0) { + __pyx_t_15 += __pyx_v_cycles.shape[0]; + if (unlikely(__pyx_t_15 < 0)) __pyx_t_19 = 0; + } else if (unlikely(__pyx_t_15 >= __pyx_v_cycles.shape[0])) __pyx_t_19 = 0; + if (unlikely(__pyx_t_19 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_19); + __PYX_ERR(0, 225, __pyx_L1_error) + } + __pyx_t_20 = ((*((int *) ( /* dim=0 */ (__pyx_v_cycles.data + __pyx_t_15 * __pyx_v_cycles.strides[0]) ))) - 1.0); + if (unlikely(__pyx_t_20 == 0)) { + PyErr_SetString(PyExc_ZeroDivisionError, "float division"); + __PYX_ERR(0, 225, __pyx_L1_error) + } + __pyx_t_15 = __pyx_v_i; + __pyx_t_19 = -1; + if (__pyx_t_15 < 0) { + __pyx_t_15 += __pyx_v_sum_y2.shape[0]; + if (unlikely(__pyx_t_15 < 0)) __pyx_t_19 = 0; + } else if (unlikely(__pyx_t_15 >= __pyx_v_sum_y2.shape[0])) __pyx_t_19 = 0; + if (unlikely(__pyx_t_19 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_19); + __PYX_ERR(0, 225, __pyx_L1_error) + } + __pyx_t_13 = __pyx_v_i; + __pyx_t_19 = -1; + if (__pyx_t_13 < 0) { + __pyx_t_13 += __pyx_v_sum_y.shape[0]; + if (unlikely(__pyx_t_13 < 0)) __pyx_t_19 = 0; + } else if (unlikely(__pyx_t_13 >= __pyx_v_sum_y.shape[0])) __pyx_t_19 = 0; + if (unlikely(__pyx_t_19 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_19); + __PYX_ERR(0, 225, __pyx_L1_error) + } + __pyx_t_18 = powf((*((float *) ( /* dim=0 */ (__pyx_v_sum_y.data + __pyx_t_13 * __pyx_v_sum_y.strides[0]) ))), 2.0); + __pyx_t_13 = __pyx_v_i; + __pyx_t_19 = -1; + if (__pyx_t_13 < 0) { + __pyx_t_13 += __pyx_v_cycles.shape[0]; + if (unlikely(__pyx_t_13 < 0)) __pyx_t_19 = 0; + } else if (unlikely(__pyx_t_13 >= __pyx_v_cycles.shape[0])) __pyx_t_19 = 0; + if (unlikely(__pyx_t_19 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_19); + __PYX_ERR(0, 225, __pyx_L1_error) + } + __pyx_t_19 = (*((int *) ( /* dim=0 */ (__pyx_v_cycles.data + __pyx_t_13 * __pyx_v_cycles.strides[0]) ))); + if (unlikely(__pyx_t_19 == 0)) { + PyErr_SetString(PyExc_ZeroDivisionError, "float division"); + __PYX_ERR(0, 225, __pyx_L1_error) + } + __pyx_v_cv_mse = (__pyx_v_cv_mse + (pow((((double)__pyx_t_14) / __pyx_t_20), 2.0) * ((*((float *) ( /* dim=0 */ (__pyx_v_sum_y2.data + __pyx_t_15 * __pyx_v_sum_y2.strides[0]) ))) - (__pyx_t_18 / ((float)__pyx_t_19))))); + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":227 + * cv_mse += (cycles[i] / (cycles[i] - 1.0)) ** 2 * (sum_y2[i] - sum_y[i] ** 2 / cycles[i]) + * + * cv_mse = cv_mse / len(value_idx) # <<<<<<<<<<<<<< + * cv_mse = 0.0 if np.isclose(cv_mse, 0.0) else cv_mse # float precision noise + * return cv_mse, seasons + */ + __pyx_t_7 = __Pyx_MemoryView_Len(__pyx_v_value_idx); + if (unlikely(__pyx_t_7 == 0)) { + PyErr_SetString(PyExc_ZeroDivisionError, "float division"); + __PYX_ERR(0, 227, __pyx_L1_error) + } + __pyx_v_cv_mse = (__pyx_v_cv_mse / ((float)__pyx_t_7)); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":228 + * + * cv_mse = cv_mse / len(value_idx) + * cv_mse = 0.0 if np.isclose(cv_mse, 0.0) else cv_mse # float precision noise # <<<<<<<<<<<<<< + * return cv_mse, seasons + * + */ + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_np); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 228, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_isclose); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 228, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_3 = PyFloat_FromDouble(__pyx_v_cv_mse); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 228, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_2 = NULL; + __pyx_t_10 = 0; + #if CYTHON_UNPACK_METHODS + if (unlikely(PyMethod_Check(__pyx_t_1))) { + __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_1); + if (likely(__pyx_t_2)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_1); + __Pyx_INCREF(__pyx_t_2); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_1, function); + __pyx_t_10 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[3] = {__pyx_t_2, __pyx_t_3, __pyx_float_0_0}; + __pyx_t_4 = __Pyx_PyObject_FastCall(__pyx_t_1, __pyx_callargs+1-__pyx_t_10, 2+__pyx_t_10); + __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 228, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + } + __pyx_t_21 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_21 < 0))) __PYX_ERR(0, 228, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + if (__pyx_t_21) { + __pyx_t_20 = 0.0; + } else { + __pyx_t_20 = __pyx_v_cv_mse; + } + __pyx_v_cv_mse = __pyx_t_20; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":229 + * cv_mse = cv_mse / len(value_idx) + * cv_mse = 0.0 if np.isclose(cv_mse, 0.0) else cv_mse # float precision noise + * return cv_mse, seasons # <<<<<<<<<<<<<< + * + * cpdef median_filter(np.ndarray data, int window, bint need_two_end=False): + */ + __Pyx_XDECREF(__pyx_r); + __pyx_t_4 = PyFloat_FromDouble(__pyx_v_cv_mse); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 229, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_1 = __pyx_memoryview_fromslice(__pyx_v_seasons, 1, (PyObject *(*)(char *)) __pyx_memview_get_float, (int (*)(char *, PyObject *)) __pyx_memview_set_float, 0);; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 229, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 229, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_GIVEREF(__pyx_t_4); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_4)) __PYX_ERR(0, 229, __pyx_L1_error); + __Pyx_GIVEREF(__pyx_t_1); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_1)) __PYX_ERR(0, 229, __pyx_L1_error); + __pyx_t_4 = 0; + __pyx_t_1 = 0; + __pyx_r = __pyx_t_3; + __pyx_t_3 = 0; + goto __pyx_L0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":207 + * return cv_mse, cv_seasons + * + * cpdef gcv(np.ndarray gcv_input, int period): # <<<<<<<<<<<<<< + * cdef float[:] seasons = np.empty(period, dtype='f') + * cdef int[:] cycles = np.zeros(period, dtype='i') + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_2); + __Pyx_XDECREF(__pyx_t_3); + __Pyx_XDECREF(__pyx_t_4); + __PYX_XCLEAR_MEMVIEW(&__pyx_t_5, 1); + __PYX_XCLEAR_MEMVIEW(&__pyx_t_6, 1); + __Pyx_XDECREF(__pyx_t_9); + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.gcv", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = 0; + __pyx_L0:; + __PYX_XCLEAR_MEMVIEW(&__pyx_v_seasons, 1); + __PYX_XCLEAR_MEMVIEW(&__pyx_v_cycles, 1); + __PYX_XCLEAR_MEMVIEW(&__pyx_v_sum_y2, 1); + __PYX_XCLEAR_MEMVIEW(&__pyx_v_sum_y, 1); + __PYX_XCLEAR_MEMVIEW(&__pyx_v_value_idx, 1); + __Pyx_XDECREF(__pyx_7genexpr__pyx_v_x); + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* Python wrapper */ +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_23gcv(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static PyMethodDef __pyx_mdef_16anomaly_detector_10univariate_22_anomaly_kernel_cython_23gcv = {"gcv", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_23gcv, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_23gcv(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +) { + PyArrayObject *__pyx_v_gcv_input = 0; + int __pyx_v_period; + #if !CYTHON_METH_FASTCALL + CYTHON_UNUSED Py_ssize_t __pyx_nargs; + #endif + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject* values[2] = {0,0}; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("gcv (wrapper)", 0); + #if !CYTHON_METH_FASTCALL + #if CYTHON_ASSUME_SAFE_MACROS + __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); + #else + __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL; + #endif + #endif + __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs); + { + PyObject **__pyx_pyargnames[] = {&__pyx_n_s_gcv_input,&__pyx_n_s_period,0}; + if (__pyx_kwds) { + Py_ssize_t kw_args; + switch (__pyx_nargs) { + case 2: values[1] = __Pyx_Arg_FASTCALL(__pyx_args, 1); + CYTHON_FALLTHROUGH; + case 1: values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); + CYTHON_FALLTHROUGH; + case 0: break; + default: goto __pyx_L5_argtuple_error; + } + kw_args = __Pyx_NumKwargs_FASTCALL(__pyx_kwds); + switch (__pyx_nargs) { + case 0: + if (likely((values[0] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_gcv_input)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[0]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 207, __pyx_L3_error) + else goto __pyx_L5_argtuple_error; + CYTHON_FALLTHROUGH; + case 1: + if (likely((values[1] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_period)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[1]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 207, __pyx_L3_error) + else { + __Pyx_RaiseArgtupleInvalid("gcv", 1, 2, 2, 1); __PYX_ERR(0, 207, __pyx_L3_error) + } + } + if (unlikely(kw_args > 0)) { + const Py_ssize_t kwd_pos_args = __pyx_nargs; + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "gcv") < 0)) __PYX_ERR(0, 207, __pyx_L3_error) + } + } else if (unlikely(__pyx_nargs != 2)) { + goto __pyx_L5_argtuple_error; + } else { + values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); + values[1] = __Pyx_Arg_FASTCALL(__pyx_args, 1); + } + __pyx_v_gcv_input = ((PyArrayObject *)values[0]); + __pyx_v_period = __Pyx_PyInt_As_int(values[1]); if (unlikely((__pyx_v_period == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 207, __pyx_L3_error) + } + goto __pyx_L6_skip; + __pyx_L5_argtuple_error:; + __Pyx_RaiseArgtupleInvalid("gcv", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 207, __pyx_L3_error) + __pyx_L6_skip:; + goto __pyx_L4_argument_unpacking_done; + __pyx_L3_error:; + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]); + } + } + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.gcv", __pyx_clineno, __pyx_lineno, __pyx_filename); + __Pyx_RefNannyFinishContext(); + return NULL; + __pyx_L4_argument_unpacking_done:; + if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_gcv_input), __pyx_ptype_5numpy_ndarray, 1, "gcv_input", 0))) __PYX_ERR(0, 207, __pyx_L1_error) + __pyx_r = __pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_22gcv(__pyx_self, __pyx_v_gcv_input, __pyx_v_period); + + /* function exit code */ + goto __pyx_L0; + __pyx_L1_error:; + __pyx_r = NULL; + __pyx_L0:; + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]); + } + } + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_22gcv(CYTHON_UNUSED PyObject *__pyx_self, PyArrayObject *__pyx_v_gcv_input, int __pyx_v_period) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("gcv", 1); + __Pyx_XDECREF(__pyx_r); + __pyx_t_1 = __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_gcv(__pyx_v_gcv_input, __pyx_v_period, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 207, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_r = __pyx_t_1; + __pyx_t_1 = 0; + goto __pyx_L0; + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.gcv", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":231 + * return cv_mse, seasons + * + * cpdef median_filter(np.ndarray data, int window, bint need_two_end=False): # <<<<<<<<<<<<<< + * cdef int w_len = window // 2 * 2 + 1 + * cdef int t_len = len(data) + */ + +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_25median_filter(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static PyObject *__pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_median_filter(PyArrayObject *__pyx_v_data, int __pyx_v_window, CYTHON_UNUSED int __pyx_skip_dispatch, struct __pyx_opt_args_16anomaly_detector_10univariate_22_anomaly_kernel_cython_median_filter *__pyx_optional_args) { + int __pyx_v_need_two_end = ((int)0); + int __pyx_v_w_len; + int __pyx_v_t_len; + __Pyx_memviewslice __pyx_v_val = { 0, 0, { 0 }, { 0 }, { 0 } }; + __Pyx_memviewslice __pyx_v_ans = { 0, 0, { 0 }, { 0 }, { 0 } }; + __Pyx_memviewslice __pyx_v_cur_windows = { 0, 0, { 0 }, { 0 }, { 0 } }; + int __pyx_v_delete_id; + int __pyx_v_add_id; + int __pyx_v_index; + PyObject *__pyx_v_i = NULL; + PyObject *__pyx_8genexpr1__pyx_v_x = NULL; + PyObject *__pyx_8genexpr2__pyx_v_x = NULL; + CYTHON_UNUSED int __pyx_8genexpr3__pyx_v_x; + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + Py_ssize_t __pyx_t_1; + PyObject *__pyx_t_2 = NULL; + PyObject *__pyx_t_3 = NULL; + PyObject *__pyx_t_4 = NULL; + PyObject *__pyx_t_5 = NULL; + PyObject *(*__pyx_t_6)(PyObject *); + PyObject *__pyx_t_7 = NULL; + int __pyx_t_8; + __Pyx_memviewslice __pyx_t_9 = { 0, 0, { 0 }, { 0 }, { 0 } }; + int __pyx_t_10; + int __pyx_t_11; + int __pyx_t_12; + Py_ssize_t __pyx_t_13; + Py_ssize_t __pyx_t_14; + PyObject *__pyx_t_15 = NULL; + Py_ssize_t __pyx_t_16; + float __pyx_t_17; + int __pyx_t_18; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("median_filter", 1); + if (__pyx_optional_args) { + if (__pyx_optional_args->__pyx_n > 0) { + __pyx_v_need_two_end = __pyx_optional_args->need_two_end; + } + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":232 + * + * cpdef median_filter(np.ndarray data, int window, bint need_two_end=False): + * cdef int w_len = window // 2 * 2 + 1 # <<<<<<<<<<<<<< + * cdef int t_len = len(data) + * cdef float[:] val = array.array('f', [x for x in data]) + */ + __pyx_v_w_len = ((__Pyx_div_long(__pyx_v_window, 2) * 2) + 1); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":233 + * cpdef median_filter(np.ndarray data, int window, bint need_two_end=False): + * cdef int w_len = window // 2 * 2 + 1 + * cdef int t_len = len(data) # <<<<<<<<<<<<<< + * cdef float[:] val = array.array('f', [x for x in data]) + * cdef float[:] ans = array.array('f', [x for x in data]) + */ + __pyx_t_1 = PyObject_Length(((PyObject *)__pyx_v_data)); if (unlikely(__pyx_t_1 == ((Py_ssize_t)-1))) __PYX_ERR(0, 233, __pyx_L1_error) + __pyx_v_t_len = __pyx_t_1; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":234 + * cdef int w_len = window // 2 * 2 + 1 + * cdef int t_len = len(data) + * cdef float[:] val = array.array('f', [x for x in data]) # <<<<<<<<<<<<<< + * cdef float[:] ans = array.array('f', [x for x in data]) + * cdef float[:] cur_windows = array.array('f', [0 for x in range(w_len)]) + */ + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_array); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 234, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_array); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 234, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + { /* enter inner scope */ + __pyx_t_3 = PyList_New(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 234, __pyx_L5_error) + __Pyx_GOTREF(__pyx_t_3); + if (likely(PyList_CheckExact(((PyObject *)__pyx_v_data))) || PyTuple_CheckExact(((PyObject *)__pyx_v_data))) { + __pyx_t_5 = ((PyObject *)__pyx_v_data); __Pyx_INCREF(__pyx_t_5); + __pyx_t_1 = 0; + __pyx_t_6 = NULL; + } else { + __pyx_t_1 = -1; __pyx_t_5 = PyObject_GetIter(((PyObject *)__pyx_v_data)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 234, __pyx_L5_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_t_6 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_5); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 234, __pyx_L5_error) + } + for (;;) { + if (likely(!__pyx_t_6)) { + if (likely(PyList_CheckExact(__pyx_t_5))) { + { + Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_5); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 234, __pyx_L5_error) + #endif + if (__pyx_t_1 >= __pyx_temp) break; + } + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + __pyx_t_7 = PyList_GET_ITEM(__pyx_t_5, __pyx_t_1); __Pyx_INCREF(__pyx_t_7); __pyx_t_1++; if (unlikely((0 < 0))) __PYX_ERR(0, 234, __pyx_L5_error) + #else + __pyx_t_7 = __Pyx_PySequence_ITEM(__pyx_t_5, __pyx_t_1); __pyx_t_1++; if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 234, __pyx_L5_error) + __Pyx_GOTREF(__pyx_t_7); + #endif + } else { + { + Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_5); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 234, __pyx_L5_error) + #endif + if (__pyx_t_1 >= __pyx_temp) break; + } + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + __pyx_t_7 = PyTuple_GET_ITEM(__pyx_t_5, __pyx_t_1); __Pyx_INCREF(__pyx_t_7); __pyx_t_1++; if (unlikely((0 < 0))) __PYX_ERR(0, 234, __pyx_L5_error) + #else + __pyx_t_7 = __Pyx_PySequence_ITEM(__pyx_t_5, __pyx_t_1); __pyx_t_1++; if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 234, __pyx_L5_error) + __Pyx_GOTREF(__pyx_t_7); + #endif + } + } else { + __pyx_t_7 = __pyx_t_6(__pyx_t_5); + if (unlikely(!__pyx_t_7)) { + PyObject* exc_type = PyErr_Occurred(); + if (exc_type) { + if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear(); + else __PYX_ERR(0, 234, __pyx_L5_error) + } + break; + } + __Pyx_GOTREF(__pyx_t_7); + } + __Pyx_XDECREF_SET(__pyx_8genexpr1__pyx_v_x, __pyx_t_7); + __pyx_t_7 = 0; + if (unlikely(__Pyx_ListComp_Append(__pyx_t_3, (PyObject*)__pyx_8genexpr1__pyx_v_x))) __PYX_ERR(0, 234, __pyx_L5_error) + } + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __Pyx_XDECREF(__pyx_8genexpr1__pyx_v_x); __pyx_8genexpr1__pyx_v_x = 0; + goto __pyx_L9_exit_scope; + __pyx_L5_error:; + __Pyx_XDECREF(__pyx_8genexpr1__pyx_v_x); __pyx_8genexpr1__pyx_v_x = 0; + goto __pyx_L1_error; + __pyx_L9_exit_scope:; + } /* exit inner scope */ + __pyx_t_5 = NULL; + __pyx_t_8 = 0; + #if CYTHON_UNPACK_METHODS + if (unlikely(PyMethod_Check(__pyx_t_4))) { + __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_4); + if (likely(__pyx_t_5)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_4); + __Pyx_INCREF(__pyx_t_5); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_4, function); + __pyx_t_8 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[3] = {__pyx_t_5, __pyx_n_s_f, __pyx_t_3}; + __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_8, 2+__pyx_t_8); + __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 234, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + } + __pyx_t_9 = __Pyx_PyObject_to_MemoryviewSlice_ds_float(__pyx_t_2, PyBUF_WRITABLE); if (unlikely(!__pyx_t_9.memview)) __PYX_ERR(0, 234, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_v_val = __pyx_t_9; + __pyx_t_9.memview = NULL; + __pyx_t_9.data = NULL; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":235 + * cdef int t_len = len(data) + * cdef float[:] val = array.array('f', [x for x in data]) + * cdef float[:] ans = array.array('f', [x for x in data]) # <<<<<<<<<<<<<< + * cdef float[:] cur_windows = array.array('f', [0 for x in range(w_len)]) + * cdef int delete_id + */ + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_array); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 235, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_array); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 235, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + { /* enter inner scope */ + __pyx_t_4 = PyList_New(0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 235, __pyx_L12_error) + __Pyx_GOTREF(__pyx_t_4); + if (likely(PyList_CheckExact(((PyObject *)__pyx_v_data))) || PyTuple_CheckExact(((PyObject *)__pyx_v_data))) { + __pyx_t_5 = ((PyObject *)__pyx_v_data); __Pyx_INCREF(__pyx_t_5); + __pyx_t_1 = 0; + __pyx_t_6 = NULL; + } else { + __pyx_t_1 = -1; __pyx_t_5 = PyObject_GetIter(((PyObject *)__pyx_v_data)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 235, __pyx_L12_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_t_6 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_5); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 235, __pyx_L12_error) + } + for (;;) { + if (likely(!__pyx_t_6)) { + if (likely(PyList_CheckExact(__pyx_t_5))) { + { + Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_5); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 235, __pyx_L12_error) + #endif + if (__pyx_t_1 >= __pyx_temp) break; + } + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + __pyx_t_7 = PyList_GET_ITEM(__pyx_t_5, __pyx_t_1); __Pyx_INCREF(__pyx_t_7); __pyx_t_1++; if (unlikely((0 < 0))) __PYX_ERR(0, 235, __pyx_L12_error) + #else + __pyx_t_7 = __Pyx_PySequence_ITEM(__pyx_t_5, __pyx_t_1); __pyx_t_1++; if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 235, __pyx_L12_error) + __Pyx_GOTREF(__pyx_t_7); + #endif + } else { + { + Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_5); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 235, __pyx_L12_error) + #endif + if (__pyx_t_1 >= __pyx_temp) break; + } + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + __pyx_t_7 = PyTuple_GET_ITEM(__pyx_t_5, __pyx_t_1); __Pyx_INCREF(__pyx_t_7); __pyx_t_1++; if (unlikely((0 < 0))) __PYX_ERR(0, 235, __pyx_L12_error) + #else + __pyx_t_7 = __Pyx_PySequence_ITEM(__pyx_t_5, __pyx_t_1); __pyx_t_1++; if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 235, __pyx_L12_error) + __Pyx_GOTREF(__pyx_t_7); + #endif + } + } else { + __pyx_t_7 = __pyx_t_6(__pyx_t_5); + if (unlikely(!__pyx_t_7)) { + PyObject* exc_type = PyErr_Occurred(); + if (exc_type) { + if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear(); + else __PYX_ERR(0, 235, __pyx_L12_error) + } + break; + } + __Pyx_GOTREF(__pyx_t_7); + } + __Pyx_XDECREF_SET(__pyx_8genexpr2__pyx_v_x, __pyx_t_7); + __pyx_t_7 = 0; + if (unlikely(__Pyx_ListComp_Append(__pyx_t_4, (PyObject*)__pyx_8genexpr2__pyx_v_x))) __PYX_ERR(0, 235, __pyx_L12_error) + } + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __Pyx_XDECREF(__pyx_8genexpr2__pyx_v_x); __pyx_8genexpr2__pyx_v_x = 0; + goto __pyx_L16_exit_scope; + __pyx_L12_error:; + __Pyx_XDECREF(__pyx_8genexpr2__pyx_v_x); __pyx_8genexpr2__pyx_v_x = 0; + goto __pyx_L1_error; + __pyx_L16_exit_scope:; + } /* exit inner scope */ + __pyx_t_5 = NULL; + __pyx_t_8 = 0; + #if CYTHON_UNPACK_METHODS + if (unlikely(PyMethod_Check(__pyx_t_3))) { + __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_3); + if (likely(__pyx_t_5)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3); + __Pyx_INCREF(__pyx_t_5); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_3, function); + __pyx_t_8 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[3] = {__pyx_t_5, __pyx_n_s_f, __pyx_t_4}; + __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_8, 2+__pyx_t_8); + __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 235, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + } + __pyx_t_9 = __Pyx_PyObject_to_MemoryviewSlice_ds_float(__pyx_t_2, PyBUF_WRITABLE); if (unlikely(!__pyx_t_9.memview)) __PYX_ERR(0, 235, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_v_ans = __pyx_t_9; + __pyx_t_9.memview = NULL; + __pyx_t_9.data = NULL; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":236 + * cdef float[:] val = array.array('f', [x for x in data]) + * cdef float[:] ans = array.array('f', [x for x in data]) + * cdef float[:] cur_windows = array.array('f', [0 for x in range(w_len)]) # <<<<<<<<<<<<<< + * cdef int delete_id + * cdef int add_id + */ + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_array); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 236, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_array); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 236, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + { /* enter inner scope */ + __pyx_t_3 = PyList_New(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 236, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_8 = __pyx_v_w_len; + __pyx_t_10 = __pyx_t_8; + for (__pyx_t_11 = 0; __pyx_t_11 < __pyx_t_10; __pyx_t_11+=1) { + __pyx_8genexpr3__pyx_v_x = __pyx_t_11; + if (unlikely(__Pyx_ListComp_Append(__pyx_t_3, (PyObject*)__pyx_int_0))) __PYX_ERR(0, 236, __pyx_L1_error) + } + } /* exit inner scope */ + __pyx_t_5 = NULL; + __pyx_t_8 = 0; + #if CYTHON_UNPACK_METHODS + if (unlikely(PyMethod_Check(__pyx_t_4))) { + __pyx_t_5 = PyMethod_GET_SELF(__pyx_t_4); + if (likely(__pyx_t_5)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_4); + __Pyx_INCREF(__pyx_t_5); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_4, function); + __pyx_t_8 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[3] = {__pyx_t_5, __pyx_n_s_f, __pyx_t_3}; + __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_8, 2+__pyx_t_8); + __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 236, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + } + __pyx_t_9 = __Pyx_PyObject_to_MemoryviewSlice_ds_float(__pyx_t_2, PyBUF_WRITABLE); if (unlikely(!__pyx_t_9.memview)) __PYX_ERR(0, 236, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_v_cur_windows = __pyx_t_9; + __pyx_t_9.memview = NULL; + __pyx_t_9.data = NULL; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":240 + * cdef int add_id + * cdef int index + * if t_len < w_len: # <<<<<<<<<<<<<< + * return ans + * for i in range(0, w_len): + */ + __pyx_t_12 = (__pyx_v_t_len < __pyx_v_w_len); + if (__pyx_t_12) { + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":241 + * cdef int index + * if t_len < w_len: + * return ans # <<<<<<<<<<<<<< + * for i in range(0, w_len): + * index = i + */ + __Pyx_XDECREF(__pyx_r); + __pyx_t_2 = __pyx_memoryview_fromslice(__pyx_v_ans, 1, (PyObject *(*)(char *)) __pyx_memview_get_float, (int (*)(char *, PyObject *)) __pyx_memview_set_float, 0);; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 241, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":240 + * cdef int add_id + * cdef int index + * if t_len < w_len: # <<<<<<<<<<<<<< + * return ans + * for i in range(0, w_len): + */ + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":242 + * if t_len < w_len: + * return ans + * for i in range(0, w_len): # <<<<<<<<<<<<<< + * index = i + * add_id = bisect.bisect_right(cur_windows[:i], val[i]) + */ + __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_w_len); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 242, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 242, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_INCREF(__pyx_int_0); + __Pyx_GIVEREF(__pyx_int_0); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_int_0)) __PYX_ERR(0, 242, __pyx_L1_error); + __Pyx_GIVEREF(__pyx_t_2); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_2)) __PYX_ERR(0, 242, __pyx_L1_error); + __pyx_t_2 = 0; + __pyx_t_2 = __Pyx_PyObject_Call(__pyx_builtin_range, __pyx_t_4, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 242, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + if (likely(PyList_CheckExact(__pyx_t_2)) || PyTuple_CheckExact(__pyx_t_2)) { + __pyx_t_4 = __pyx_t_2; __Pyx_INCREF(__pyx_t_4); + __pyx_t_1 = 0; + __pyx_t_6 = NULL; + } else { + __pyx_t_1 = -1; __pyx_t_4 = PyObject_GetIter(__pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 242, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_6 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_4); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 242, __pyx_L1_error) + } + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + for (;;) { + if (likely(!__pyx_t_6)) { + if (likely(PyList_CheckExact(__pyx_t_4))) { + { + Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_4); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 242, __pyx_L1_error) + #endif + if (__pyx_t_1 >= __pyx_temp) break; + } + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + __pyx_t_2 = PyList_GET_ITEM(__pyx_t_4, __pyx_t_1); __Pyx_INCREF(__pyx_t_2); __pyx_t_1++; if (unlikely((0 < 0))) __PYX_ERR(0, 242, __pyx_L1_error) + #else + __pyx_t_2 = __Pyx_PySequence_ITEM(__pyx_t_4, __pyx_t_1); __pyx_t_1++; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 242, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + #endif + } else { + { + Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_4); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 242, __pyx_L1_error) + #endif + if (__pyx_t_1 >= __pyx_temp) break; + } + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + __pyx_t_2 = PyTuple_GET_ITEM(__pyx_t_4, __pyx_t_1); __Pyx_INCREF(__pyx_t_2); __pyx_t_1++; if (unlikely((0 < 0))) __PYX_ERR(0, 242, __pyx_L1_error) + #else + __pyx_t_2 = __Pyx_PySequence_ITEM(__pyx_t_4, __pyx_t_1); __pyx_t_1++; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 242, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + #endif + } + } else { + __pyx_t_2 = __pyx_t_6(__pyx_t_4); + if (unlikely(!__pyx_t_2)) { + PyObject* exc_type = PyErr_Occurred(); + if (exc_type) { + if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear(); + else __PYX_ERR(0, 242, __pyx_L1_error) + } + break; + } + __Pyx_GOTREF(__pyx_t_2); + } + __Pyx_XDECREF_SET(__pyx_v_i, __pyx_t_2); + __pyx_t_2 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":243 + * return ans + * for i in range(0, w_len): + * index = i # <<<<<<<<<<<<<< + * add_id = bisect.bisect_right(cur_windows[:i], val[i]) + * while index > add_id: + */ + __pyx_t_8 = __Pyx_PyInt_As_int(__pyx_v_i); if (unlikely((__pyx_t_8 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 243, __pyx_L1_error) + __pyx_v_index = __pyx_t_8; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":244 + * for i in range(0, w_len): + * index = i + * add_id = bisect.bisect_right(cur_windows[:i], val[i]) # <<<<<<<<<<<<<< + * while index > add_id: + * cur_windows[index] = cur_windows[index - 1] + */ + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_bisect); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 244, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_bisect_right); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 244, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_13 = __Pyx_PyIndex_AsSsize_t(__pyx_v_i); if (unlikely((__pyx_t_13 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 244, __pyx_L1_error) + __pyx_t_9.data = __pyx_v_cur_windows.data; + __pyx_t_9.memview = __pyx_v_cur_windows.memview; + __PYX_INC_MEMVIEW(&__pyx_t_9, 1); + __pyx_t_8 = -1; + if (unlikely(__pyx_memoryview_slice_memviewslice( + &__pyx_t_9, + __pyx_v_cur_windows.shape[0], __pyx_v_cur_windows.strides[0], __pyx_v_cur_windows.suboffsets[0], + 0, + 0, + &__pyx_t_8, + 0, + __pyx_t_13, + 0, + 0, + 1, + 0, + 1) < 0)) +{ + __PYX_ERR(0, 244, __pyx_L1_error) +} + +__pyx_t_3 = __pyx_memoryview_fromslice(__pyx_t_9, 1, (PyObject *(*)(char *)) __pyx_memview_get_float, (int (*)(char *, PyObject *)) __pyx_memview_set_float, 0);; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 244, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __PYX_XCLEAR_MEMVIEW(&__pyx_t_9, 1); + __pyx_t_9.memview = NULL; __pyx_t_9.data = NULL; + __pyx_t_13 = __Pyx_PyIndex_AsSsize_t(__pyx_v_i); if (unlikely((__pyx_t_13 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 244, __pyx_L1_error) + __pyx_t_14 = __pyx_t_13; + __pyx_t_8 = -1; + if (__pyx_t_14 < 0) { + __pyx_t_14 += __pyx_v_val.shape[0]; + if (unlikely(__pyx_t_14 < 0)) __pyx_t_8 = 0; + } else if (unlikely(__pyx_t_14 >= __pyx_v_val.shape[0])) __pyx_t_8 = 0; + if (unlikely(__pyx_t_8 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_8); + __PYX_ERR(0, 244, __pyx_L1_error) + } + __pyx_t_7 = PyFloat_FromDouble((*((float *) ( /* dim=0 */ (__pyx_v_val.data + __pyx_t_14 * __pyx_v_val.strides[0]) )))); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 244, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + __pyx_t_15 = NULL; + __pyx_t_8 = 0; + #if CYTHON_UNPACK_METHODS + if (unlikely(PyMethod_Check(__pyx_t_5))) { + __pyx_t_15 = PyMethod_GET_SELF(__pyx_t_5); + if (likely(__pyx_t_15)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_5); + __Pyx_INCREF(__pyx_t_15); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_5, function); + __pyx_t_8 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[3] = {__pyx_t_15, __pyx_t_3, __pyx_t_7}; + __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+1-__pyx_t_8, 2+__pyx_t_8); + __Pyx_XDECREF(__pyx_t_15); __pyx_t_15 = 0; + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 244, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + } + __pyx_t_8 = __Pyx_PyInt_As_int(__pyx_t_2); if (unlikely((__pyx_t_8 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 244, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_v_add_id = __pyx_t_8; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":245 + * index = i + * add_id = bisect.bisect_right(cur_windows[:i], val[i]) + * while index > add_id: # <<<<<<<<<<<<<< + * cur_windows[index] = cur_windows[index - 1] + * index -= 1 + */ + while (1) { + __pyx_t_12 = (__pyx_v_index > __pyx_v_add_id); + if (!__pyx_t_12) break; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":246 + * add_id = bisect.bisect_right(cur_windows[:i], val[i]) + * while index > add_id: + * cur_windows[index] = cur_windows[index - 1] # <<<<<<<<<<<<<< + * index -= 1 + * cur_windows[add_id] = data[i] + */ + __pyx_t_14 = (__pyx_v_index - 1); + __pyx_t_8 = -1; + if (__pyx_t_14 < 0) { + __pyx_t_14 += __pyx_v_cur_windows.shape[0]; + if (unlikely(__pyx_t_14 < 0)) __pyx_t_8 = 0; + } else if (unlikely(__pyx_t_14 >= __pyx_v_cur_windows.shape[0])) __pyx_t_8 = 0; + if (unlikely(__pyx_t_8 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_8); + __PYX_ERR(0, 246, __pyx_L1_error) + } + __pyx_t_16 = __pyx_v_index; + __pyx_t_8 = -1; + if (__pyx_t_16 < 0) { + __pyx_t_16 += __pyx_v_cur_windows.shape[0]; + if (unlikely(__pyx_t_16 < 0)) __pyx_t_8 = 0; + } else if (unlikely(__pyx_t_16 >= __pyx_v_cur_windows.shape[0])) __pyx_t_8 = 0; + if (unlikely(__pyx_t_8 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_8); + __PYX_ERR(0, 246, __pyx_L1_error) + } + *((float *) ( /* dim=0 */ (__pyx_v_cur_windows.data + __pyx_t_16 * __pyx_v_cur_windows.strides[0]) )) = (*((float *) ( /* dim=0 */ (__pyx_v_cur_windows.data + __pyx_t_14 * __pyx_v_cur_windows.strides[0]) ))); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":247 + * while index > add_id: + * cur_windows[index] = cur_windows[index - 1] + * index -= 1 # <<<<<<<<<<<<<< + * cur_windows[add_id] = data[i] + * if i >= w_len // 2 and need_two_end: + */ + __pyx_v_index = (__pyx_v_index - 1); + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":248 + * cur_windows[index] = cur_windows[index - 1] + * index -= 1 + * cur_windows[add_id] = data[i] # <<<<<<<<<<<<<< + * if i >= w_len // 2 and need_two_end: + * ans[i - w_len // 2] = sorted_median(cur_windows, 0, i + 1) + */ + __pyx_t_2 = __Pyx_PyObject_GetItem(((PyObject *)__pyx_v_data), __pyx_v_i); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 248, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_17 = __pyx_PyFloat_AsFloat(__pyx_t_2); if (unlikely((__pyx_t_17 == (float)-1) && PyErr_Occurred())) __PYX_ERR(0, 248, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_14 = __pyx_v_add_id; + __pyx_t_8 = -1; + if (__pyx_t_14 < 0) { + __pyx_t_14 += __pyx_v_cur_windows.shape[0]; + if (unlikely(__pyx_t_14 < 0)) __pyx_t_8 = 0; + } else if (unlikely(__pyx_t_14 >= __pyx_v_cur_windows.shape[0])) __pyx_t_8 = 0; + if (unlikely(__pyx_t_8 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_8); + __PYX_ERR(0, 248, __pyx_L1_error) + } + *((float *) ( /* dim=0 */ (__pyx_v_cur_windows.data + __pyx_t_14 * __pyx_v_cur_windows.strides[0]) )) = __pyx_t_17; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":249 + * index -= 1 + * cur_windows[add_id] = data[i] + * if i >= w_len // 2 and need_two_end: # <<<<<<<<<<<<<< + * ans[i - w_len // 2] = sorted_median(cur_windows, 0, i + 1) + * ans[window // 2] = sorted_median(cur_windows, 0, w_len) + */ + __pyx_t_2 = __Pyx_PyInt_From_long(__Pyx_div_long(__pyx_v_w_len, 2)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 249, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_5 = PyObject_RichCompare(__pyx_v_i, __pyx_t_2, Py_GE); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 249, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_18 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_18 < 0))) __PYX_ERR(0, 249, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + if (__pyx_t_18) { + } else { + __pyx_t_12 = __pyx_t_18; + goto __pyx_L25_bool_binop_done; + } + __pyx_t_12 = __pyx_v_need_two_end; + __pyx_L25_bool_binop_done:; + if (__pyx_t_12) { + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":250 + * cur_windows[add_id] = data[i] + * if i >= w_len // 2 and need_two_end: + * ans[i - w_len // 2] = sorted_median(cur_windows, 0, i + 1) # <<<<<<<<<<<<<< + * ans[window // 2] = sorted_median(cur_windows, 0, w_len) + * for i in range(window // 2 + 1, t_len - window // 2): + */ + __pyx_t_5 = __Pyx_PyInt_AddObjC(__pyx_v_i, __pyx_int_1, 1, 0, 0); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 250, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_t_8 = __Pyx_PyInt_As_int(__pyx_t_5); if (unlikely((__pyx_t_8 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 250, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __pyx_t_17 = __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_sorted_median(__pyx_v_cur_windows, 0, __pyx_t_8, 0); if (unlikely(__pyx_t_17 == ((float)-1) && PyErr_Occurred())) __PYX_ERR(0, 250, __pyx_L1_error) + __pyx_t_5 = __Pyx_PyInt_From_long(__Pyx_div_long(__pyx_v_w_len, 2)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 250, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_t_2 = PyNumber_Subtract(__pyx_v_i, __pyx_t_5); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 250, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __pyx_t_13 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2); if (unlikely((__pyx_t_13 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 250, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_14 = __pyx_t_13; + __pyx_t_8 = -1; + if (__pyx_t_14 < 0) { + __pyx_t_14 += __pyx_v_ans.shape[0]; + if (unlikely(__pyx_t_14 < 0)) __pyx_t_8 = 0; + } else if (unlikely(__pyx_t_14 >= __pyx_v_ans.shape[0])) __pyx_t_8 = 0; + if (unlikely(__pyx_t_8 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_8); + __PYX_ERR(0, 250, __pyx_L1_error) + } + *((float *) ( /* dim=0 */ (__pyx_v_ans.data + __pyx_t_14 * __pyx_v_ans.strides[0]) )) = __pyx_t_17; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":249 + * index -= 1 + * cur_windows[add_id] = data[i] + * if i >= w_len // 2 and need_two_end: # <<<<<<<<<<<<<< + * ans[i - w_len // 2] = sorted_median(cur_windows, 0, i + 1) + * ans[window // 2] = sorted_median(cur_windows, 0, w_len) + */ + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":242 + * if t_len < w_len: + * return ans + * for i in range(0, w_len): # <<<<<<<<<<<<<< + * index = i + * add_id = bisect.bisect_right(cur_windows[:i], val[i]) + */ + } + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":251 + * if i >= w_len // 2 and need_two_end: + * ans[i - w_len // 2] = sorted_median(cur_windows, 0, i + 1) + * ans[window // 2] = sorted_median(cur_windows, 0, w_len) # <<<<<<<<<<<<<< + * for i in range(window // 2 + 1, t_len - window // 2): + * delete_id = bisect.bisect_right(cur_windows, val[i - window // 2 - 1]) - 1 + */ + __pyx_t_17 = __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_sorted_median(__pyx_v_cur_windows, 0, __pyx_v_w_len, 0); if (unlikely(__pyx_t_17 == ((float)-1) && PyErr_Occurred())) __PYX_ERR(0, 251, __pyx_L1_error) + __pyx_t_14 = __Pyx_div_long(__pyx_v_window, 2); + __pyx_t_8 = -1; + if (__pyx_t_14 < 0) { + __pyx_t_14 += __pyx_v_ans.shape[0]; + if (unlikely(__pyx_t_14 < 0)) __pyx_t_8 = 0; + } else if (unlikely(__pyx_t_14 >= __pyx_v_ans.shape[0])) __pyx_t_8 = 0; + if (unlikely(__pyx_t_8 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_8); + __PYX_ERR(0, 251, __pyx_L1_error) + } + *((float *) ( /* dim=0 */ (__pyx_v_ans.data + __pyx_t_14 * __pyx_v_ans.strides[0]) )) = __pyx_t_17; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":252 + * ans[i - w_len // 2] = sorted_median(cur_windows, 0, i + 1) + * ans[window // 2] = sorted_median(cur_windows, 0, w_len) + * for i in range(window // 2 + 1, t_len - window // 2): # <<<<<<<<<<<<<< + * delete_id = bisect.bisect_right(cur_windows, val[i - window // 2 - 1]) - 1 + * index = delete_id + */ + __pyx_t_4 = __Pyx_PyInt_From_long((__Pyx_div_long(__pyx_v_window, 2) + 1)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 252, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_2 = __Pyx_PyInt_From_long((__pyx_v_t_len - __Pyx_div_long(__pyx_v_window, 2))); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 252, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 252, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __Pyx_GIVEREF(__pyx_t_4); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_t_4)) __PYX_ERR(0, 252, __pyx_L1_error); + __Pyx_GIVEREF(__pyx_t_2); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_2)) __PYX_ERR(0, 252, __pyx_L1_error); + __pyx_t_4 = 0; + __pyx_t_2 = 0; + __pyx_t_2 = __Pyx_PyObject_Call(__pyx_builtin_range, __pyx_t_5, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 252, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + if (likely(PyList_CheckExact(__pyx_t_2)) || PyTuple_CheckExact(__pyx_t_2)) { + __pyx_t_5 = __pyx_t_2; __Pyx_INCREF(__pyx_t_5); + __pyx_t_1 = 0; + __pyx_t_6 = NULL; + } else { + __pyx_t_1 = -1; __pyx_t_5 = PyObject_GetIter(__pyx_t_2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 252, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_t_6 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_5); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 252, __pyx_L1_error) + } + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + for (;;) { + if (likely(!__pyx_t_6)) { + if (likely(PyList_CheckExact(__pyx_t_5))) { + { + Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_5); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 252, __pyx_L1_error) + #endif + if (__pyx_t_1 >= __pyx_temp) break; + } + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + __pyx_t_2 = PyList_GET_ITEM(__pyx_t_5, __pyx_t_1); __Pyx_INCREF(__pyx_t_2); __pyx_t_1++; if (unlikely((0 < 0))) __PYX_ERR(0, 252, __pyx_L1_error) + #else + __pyx_t_2 = __Pyx_PySequence_ITEM(__pyx_t_5, __pyx_t_1); __pyx_t_1++; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 252, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + #endif + } else { + { + Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_5); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 252, __pyx_L1_error) + #endif + if (__pyx_t_1 >= __pyx_temp) break; + } + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + __pyx_t_2 = PyTuple_GET_ITEM(__pyx_t_5, __pyx_t_1); __Pyx_INCREF(__pyx_t_2); __pyx_t_1++; if (unlikely((0 < 0))) __PYX_ERR(0, 252, __pyx_L1_error) + #else + __pyx_t_2 = __Pyx_PySequence_ITEM(__pyx_t_5, __pyx_t_1); __pyx_t_1++; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 252, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + #endif + } + } else { + __pyx_t_2 = __pyx_t_6(__pyx_t_5); + if (unlikely(!__pyx_t_2)) { + PyObject* exc_type = PyErr_Occurred(); + if (exc_type) { + if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear(); + else __PYX_ERR(0, 252, __pyx_L1_error) + } + break; + } + __Pyx_GOTREF(__pyx_t_2); + } + __Pyx_XDECREF_SET(__pyx_v_i, __pyx_t_2); + __pyx_t_2 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":253 + * ans[window // 2] = sorted_median(cur_windows, 0, w_len) + * for i in range(window // 2 + 1, t_len - window // 2): + * delete_id = bisect.bisect_right(cur_windows, val[i - window // 2 - 1]) - 1 # <<<<<<<<<<<<<< + * index = delete_id + * while index < w_len - 1: + */ + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_bisect); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 253, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_bisect_right); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 253, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_4 = __pyx_memoryview_fromslice(__pyx_v_cur_windows, 1, (PyObject *(*)(char *)) __pyx_memview_get_float, (int (*)(char *, PyObject *)) __pyx_memview_set_float, 0);; if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 253, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_3 = __Pyx_PyInt_From_long(__Pyx_div_long(__pyx_v_window, 2)); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 253, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_15 = PyNumber_Subtract(__pyx_v_i, __pyx_t_3); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 253, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_15); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_3 = __Pyx_PyInt_SubtractObjC(__pyx_t_15, __pyx_int_1, 1, 0, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 253, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_15); __pyx_t_15 = 0; + __pyx_t_13 = __Pyx_PyIndex_AsSsize_t(__pyx_t_3); if (unlikely((__pyx_t_13 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 253, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_14 = __pyx_t_13; + __pyx_t_8 = -1; + if (__pyx_t_14 < 0) { + __pyx_t_14 += __pyx_v_val.shape[0]; + if (unlikely(__pyx_t_14 < 0)) __pyx_t_8 = 0; + } else if (unlikely(__pyx_t_14 >= __pyx_v_val.shape[0])) __pyx_t_8 = 0; + if (unlikely(__pyx_t_8 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_8); + __PYX_ERR(0, 253, __pyx_L1_error) + } + __pyx_t_3 = PyFloat_FromDouble((*((float *) ( /* dim=0 */ (__pyx_v_val.data + __pyx_t_14 * __pyx_v_val.strides[0]) )))); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 253, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_15 = NULL; + __pyx_t_8 = 0; + #if CYTHON_UNPACK_METHODS + if (unlikely(PyMethod_Check(__pyx_t_7))) { + __pyx_t_15 = PyMethod_GET_SELF(__pyx_t_7); + if (likely(__pyx_t_15)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_7); + __Pyx_INCREF(__pyx_t_15); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_7, function); + __pyx_t_8 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[3] = {__pyx_t_15, __pyx_t_4, __pyx_t_3}; + __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_7, __pyx_callargs+1-__pyx_t_8, 2+__pyx_t_8); + __Pyx_XDECREF(__pyx_t_15); __pyx_t_15 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 253, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + } + __pyx_t_7 = __Pyx_PyInt_SubtractObjC(__pyx_t_2, __pyx_int_1, 1, 0, 0); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 253, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_8 = __Pyx_PyInt_As_int(__pyx_t_7); if (unlikely((__pyx_t_8 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 253, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_v_delete_id = __pyx_t_8; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":254 + * for i in range(window // 2 + 1, t_len - window // 2): + * delete_id = bisect.bisect_right(cur_windows, val[i - window // 2 - 1]) - 1 + * index = delete_id # <<<<<<<<<<<<<< + * while index < w_len - 1: + * cur_windows[index] = cur_windows[index + 1] + */ + __pyx_v_index = __pyx_v_delete_id; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":255 + * delete_id = bisect.bisect_right(cur_windows, val[i - window // 2 - 1]) - 1 + * index = delete_id + * while index < w_len - 1: # <<<<<<<<<<<<<< + * cur_windows[index] = cur_windows[index + 1] + * index += 1 + */ + while (1) { + __pyx_t_12 = (__pyx_v_index < (__pyx_v_w_len - 1)); + if (!__pyx_t_12) break; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":256 + * index = delete_id + * while index < w_len - 1: + * cur_windows[index] = cur_windows[index + 1] # <<<<<<<<<<<<<< + * index += 1 + * + */ + __pyx_t_14 = (__pyx_v_index + 1); + __pyx_t_8 = -1; + if (__pyx_t_14 < 0) { + __pyx_t_14 += __pyx_v_cur_windows.shape[0]; + if (unlikely(__pyx_t_14 < 0)) __pyx_t_8 = 0; + } else if (unlikely(__pyx_t_14 >= __pyx_v_cur_windows.shape[0])) __pyx_t_8 = 0; + if (unlikely(__pyx_t_8 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_8); + __PYX_ERR(0, 256, __pyx_L1_error) + } + __pyx_t_16 = __pyx_v_index; + __pyx_t_8 = -1; + if (__pyx_t_16 < 0) { + __pyx_t_16 += __pyx_v_cur_windows.shape[0]; + if (unlikely(__pyx_t_16 < 0)) __pyx_t_8 = 0; + } else if (unlikely(__pyx_t_16 >= __pyx_v_cur_windows.shape[0])) __pyx_t_8 = 0; + if (unlikely(__pyx_t_8 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_8); + __PYX_ERR(0, 256, __pyx_L1_error) + } + *((float *) ( /* dim=0 */ (__pyx_v_cur_windows.data + __pyx_t_16 * __pyx_v_cur_windows.strides[0]) )) = (*((float *) ( /* dim=0 */ (__pyx_v_cur_windows.data + __pyx_t_14 * __pyx_v_cur_windows.strides[0]) ))); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":257 + * while index < w_len - 1: + * cur_windows[index] = cur_windows[index + 1] + * index += 1 # <<<<<<<<<<<<<< + * + * add_id = bisect.bisect_right(cur_windows[:w_len - 1], val[i + window // 2]) + */ + __pyx_v_index = (__pyx_v_index + 1); + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":259 + * index += 1 + * + * add_id = bisect.bisect_right(cur_windows[:w_len - 1], val[i + window // 2]) # <<<<<<<<<<<<<< + * index = w_len - 1 + * while index > add_id: + */ + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_bisect); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 259, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_bisect_right); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 259, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_9.data = __pyx_v_cur_windows.data; + __pyx_t_9.memview = __pyx_v_cur_windows.memview; + __PYX_INC_MEMVIEW(&__pyx_t_9, 1); + __pyx_t_8 = -1; + if (unlikely(__pyx_memoryview_slice_memviewslice( + &__pyx_t_9, + __pyx_v_cur_windows.shape[0], __pyx_v_cur_windows.strides[0], __pyx_v_cur_windows.suboffsets[0], + 0, + 0, + &__pyx_t_8, + 0, + (__pyx_v_w_len - 1), + 0, + 0, + 1, + 0, + 1) < 0)) +{ + __PYX_ERR(0, 259, __pyx_L1_error) +} + +__pyx_t_2 = __pyx_memoryview_fromslice(__pyx_t_9, 1, (PyObject *(*)(char *)) __pyx_memview_get_float, (int (*)(char *, PyObject *)) __pyx_memview_set_float, 0);; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 259, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __PYX_XCLEAR_MEMVIEW(&__pyx_t_9, 1); + __pyx_t_9.memview = NULL; __pyx_t_9.data = NULL; + __pyx_t_4 = __Pyx_PyInt_From_long(__Pyx_div_long(__pyx_v_window, 2)); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 259, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_15 = PyNumber_Add(__pyx_v_i, __pyx_t_4); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 259, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_15); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_13 = __Pyx_PyIndex_AsSsize_t(__pyx_t_15); if (unlikely((__pyx_t_13 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 259, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_15); __pyx_t_15 = 0; + __pyx_t_14 = __pyx_t_13; + __pyx_t_8 = -1; + if (__pyx_t_14 < 0) { + __pyx_t_14 += __pyx_v_val.shape[0]; + if (unlikely(__pyx_t_14 < 0)) __pyx_t_8 = 0; + } else if (unlikely(__pyx_t_14 >= __pyx_v_val.shape[0])) __pyx_t_8 = 0; + if (unlikely(__pyx_t_8 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_8); + __PYX_ERR(0, 259, __pyx_L1_error) + } + __pyx_t_15 = PyFloat_FromDouble((*((float *) ( /* dim=0 */ (__pyx_v_val.data + __pyx_t_14 * __pyx_v_val.strides[0]) )))); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 259, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_15); + __pyx_t_4 = NULL; + __pyx_t_8 = 0; + #if CYTHON_UNPACK_METHODS + if (unlikely(PyMethod_Check(__pyx_t_3))) { + __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_3); + if (likely(__pyx_t_4)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3); + __Pyx_INCREF(__pyx_t_4); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_3, function); + __pyx_t_8 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[3] = {__pyx_t_4, __pyx_t_2, __pyx_t_15}; + __pyx_t_7 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_8, 2+__pyx_t_8); + __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_DECREF(__pyx_t_15); __pyx_t_15 = 0; + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 259, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + } + __pyx_t_8 = __Pyx_PyInt_As_int(__pyx_t_7); if (unlikely((__pyx_t_8 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 259, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_v_add_id = __pyx_t_8; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":260 + * + * add_id = bisect.bisect_right(cur_windows[:w_len - 1], val[i + window // 2]) + * index = w_len - 1 # <<<<<<<<<<<<<< + * while index > add_id: + * cur_windows[index] = cur_windows[index - 1] + */ + __pyx_v_index = (__pyx_v_w_len - 1); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":261 + * add_id = bisect.bisect_right(cur_windows[:w_len - 1], val[i + window // 2]) + * index = w_len - 1 + * while index > add_id: # <<<<<<<<<<<<<< + * cur_windows[index] = cur_windows[index - 1] + * index -= 1 + */ + while (1) { + __pyx_t_12 = (__pyx_v_index > __pyx_v_add_id); + if (!__pyx_t_12) break; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":262 + * index = w_len - 1 + * while index > add_id: + * cur_windows[index] = cur_windows[index - 1] # <<<<<<<<<<<<<< + * index -= 1 + * cur_windows[add_id] = data[i + window // 2] + */ + __pyx_t_14 = (__pyx_v_index - 1); + __pyx_t_8 = -1; + if (__pyx_t_14 < 0) { + __pyx_t_14 += __pyx_v_cur_windows.shape[0]; + if (unlikely(__pyx_t_14 < 0)) __pyx_t_8 = 0; + } else if (unlikely(__pyx_t_14 >= __pyx_v_cur_windows.shape[0])) __pyx_t_8 = 0; + if (unlikely(__pyx_t_8 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_8); + __PYX_ERR(0, 262, __pyx_L1_error) + } + __pyx_t_16 = __pyx_v_index; + __pyx_t_8 = -1; + if (__pyx_t_16 < 0) { + __pyx_t_16 += __pyx_v_cur_windows.shape[0]; + if (unlikely(__pyx_t_16 < 0)) __pyx_t_8 = 0; + } else if (unlikely(__pyx_t_16 >= __pyx_v_cur_windows.shape[0])) __pyx_t_8 = 0; + if (unlikely(__pyx_t_8 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_8); + __PYX_ERR(0, 262, __pyx_L1_error) + } + *((float *) ( /* dim=0 */ (__pyx_v_cur_windows.data + __pyx_t_16 * __pyx_v_cur_windows.strides[0]) )) = (*((float *) ( /* dim=0 */ (__pyx_v_cur_windows.data + __pyx_t_14 * __pyx_v_cur_windows.strides[0]) ))); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":263 + * while index > add_id: + * cur_windows[index] = cur_windows[index - 1] + * index -= 1 # <<<<<<<<<<<<<< + * cur_windows[add_id] = data[i + window // 2] + * + */ + __pyx_v_index = (__pyx_v_index - 1); + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":264 + * cur_windows[index] = cur_windows[index - 1] + * index -= 1 + * cur_windows[add_id] = data[i + window // 2] # <<<<<<<<<<<<<< + * + * ans[i] = sorted_median(cur_windows, 0, w_len) + */ + __pyx_t_7 = __Pyx_PyInt_From_long(__Pyx_div_long(__pyx_v_window, 2)); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 264, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + __pyx_t_3 = PyNumber_Add(__pyx_v_i, __pyx_t_7); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 264, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_7 = __Pyx_PyObject_GetItem(((PyObject *)__pyx_v_data), __pyx_t_3); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 264, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_17 = __pyx_PyFloat_AsFloat(__pyx_t_7); if (unlikely((__pyx_t_17 == (float)-1) && PyErr_Occurred())) __PYX_ERR(0, 264, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_14 = __pyx_v_add_id; + __pyx_t_8 = -1; + if (__pyx_t_14 < 0) { + __pyx_t_14 += __pyx_v_cur_windows.shape[0]; + if (unlikely(__pyx_t_14 < 0)) __pyx_t_8 = 0; + } else if (unlikely(__pyx_t_14 >= __pyx_v_cur_windows.shape[0])) __pyx_t_8 = 0; + if (unlikely(__pyx_t_8 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_8); + __PYX_ERR(0, 264, __pyx_L1_error) + } + *((float *) ( /* dim=0 */ (__pyx_v_cur_windows.data + __pyx_t_14 * __pyx_v_cur_windows.strides[0]) )) = __pyx_t_17; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":266 + * cur_windows[add_id] = data[i + window // 2] + * + * ans[i] = sorted_median(cur_windows, 0, w_len) # <<<<<<<<<<<<<< + * + * if need_two_end: + */ + __pyx_t_17 = __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_sorted_median(__pyx_v_cur_windows, 0, __pyx_v_w_len, 0); if (unlikely(__pyx_t_17 == ((float)-1) && PyErr_Occurred())) __PYX_ERR(0, 266, __pyx_L1_error) + __pyx_t_13 = __Pyx_PyIndex_AsSsize_t(__pyx_v_i); if (unlikely((__pyx_t_13 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 266, __pyx_L1_error) + __pyx_t_14 = __pyx_t_13; + __pyx_t_8 = -1; + if (__pyx_t_14 < 0) { + __pyx_t_14 += __pyx_v_ans.shape[0]; + if (unlikely(__pyx_t_14 < 0)) __pyx_t_8 = 0; + } else if (unlikely(__pyx_t_14 >= __pyx_v_ans.shape[0])) __pyx_t_8 = 0; + if (unlikely(__pyx_t_8 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_8); + __PYX_ERR(0, 266, __pyx_L1_error) + } + *((float *) ( /* dim=0 */ (__pyx_v_ans.data + __pyx_t_14 * __pyx_v_ans.strides[0]) )) = __pyx_t_17; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":252 + * ans[i - w_len // 2] = sorted_median(cur_windows, 0, i + 1) + * ans[window // 2] = sorted_median(cur_windows, 0, w_len) + * for i in range(window // 2 + 1, t_len - window // 2): # <<<<<<<<<<<<<< + * delete_id = bisect.bisect_right(cur_windows, val[i - window // 2 - 1]) - 1 + * index = delete_id + */ + } + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":268 + * ans[i] = sorted_median(cur_windows, 0, w_len) + * + * if need_two_end: # <<<<<<<<<<<<<< + * for i in range(t_len - window // 2, t_len): + * delete_id = bisect.bisect_right(cur_windows[: w_len], data[i - window // 2 - 1]) - 1 + */ + if (__pyx_v_need_two_end) { + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":269 + * + * if need_two_end: + * for i in range(t_len - window // 2, t_len): # <<<<<<<<<<<<<< + * delete_id = bisect.bisect_right(cur_windows[: w_len], data[i - window // 2 - 1]) - 1 + * index = delete_id + */ + __pyx_t_5 = __Pyx_PyInt_From_long((__pyx_v_t_len - __Pyx_div_long(__pyx_v_window, 2))); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 269, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_t_7 = __Pyx_PyInt_From_int(__pyx_v_t_len); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 269, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + __pyx_t_3 = PyTuple_New(2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 269, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_GIVEREF(__pyx_t_5); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_5)) __PYX_ERR(0, 269, __pyx_L1_error); + __Pyx_GIVEREF(__pyx_t_7); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_3, 1, __pyx_t_7)) __PYX_ERR(0, 269, __pyx_L1_error); + __pyx_t_5 = 0; + __pyx_t_7 = 0; + __pyx_t_7 = __Pyx_PyObject_Call(__pyx_builtin_range, __pyx_t_3, NULL); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 269, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + if (likely(PyList_CheckExact(__pyx_t_7)) || PyTuple_CheckExact(__pyx_t_7)) { + __pyx_t_3 = __pyx_t_7; __Pyx_INCREF(__pyx_t_3); + __pyx_t_1 = 0; + __pyx_t_6 = NULL; + } else { + __pyx_t_1 = -1; __pyx_t_3 = PyObject_GetIter(__pyx_t_7); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 269, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_6 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_3); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 269, __pyx_L1_error) + } + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + for (;;) { + if (likely(!__pyx_t_6)) { + if (likely(PyList_CheckExact(__pyx_t_3))) { + { + Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_3); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 269, __pyx_L1_error) + #endif + if (__pyx_t_1 >= __pyx_temp) break; + } + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + __pyx_t_7 = PyList_GET_ITEM(__pyx_t_3, __pyx_t_1); __Pyx_INCREF(__pyx_t_7); __pyx_t_1++; if (unlikely((0 < 0))) __PYX_ERR(0, 269, __pyx_L1_error) + #else + __pyx_t_7 = __Pyx_PySequence_ITEM(__pyx_t_3, __pyx_t_1); __pyx_t_1++; if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 269, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + #endif + } else { + { + Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_3); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 269, __pyx_L1_error) + #endif + if (__pyx_t_1 >= __pyx_temp) break; + } + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + __pyx_t_7 = PyTuple_GET_ITEM(__pyx_t_3, __pyx_t_1); __Pyx_INCREF(__pyx_t_7); __pyx_t_1++; if (unlikely((0 < 0))) __PYX_ERR(0, 269, __pyx_L1_error) + #else + __pyx_t_7 = __Pyx_PySequence_ITEM(__pyx_t_3, __pyx_t_1); __pyx_t_1++; if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 269, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + #endif + } + } else { + __pyx_t_7 = __pyx_t_6(__pyx_t_3); + if (unlikely(!__pyx_t_7)) { + PyObject* exc_type = PyErr_Occurred(); + if (exc_type) { + if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear(); + else __PYX_ERR(0, 269, __pyx_L1_error) + } + break; + } + __Pyx_GOTREF(__pyx_t_7); + } + __Pyx_XDECREF_SET(__pyx_v_i, __pyx_t_7); + __pyx_t_7 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":270 + * if need_two_end: + * for i in range(t_len - window // 2, t_len): + * delete_id = bisect.bisect_right(cur_windows[: w_len], data[i - window // 2 - 1]) - 1 # <<<<<<<<<<<<<< + * index = delete_id + * while index < w_len - 1: + */ + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_bisect); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 270, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_t_15 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_bisect_right); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 270, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_15); + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __pyx_t_9.data = __pyx_v_cur_windows.data; + __pyx_t_9.memview = __pyx_v_cur_windows.memview; + __PYX_INC_MEMVIEW(&__pyx_t_9, 1); + __pyx_t_8 = -1; + if (unlikely(__pyx_memoryview_slice_memviewslice( + &__pyx_t_9, + __pyx_v_cur_windows.shape[0], __pyx_v_cur_windows.strides[0], __pyx_v_cur_windows.suboffsets[0], + 0, + 0, + &__pyx_t_8, + 0, + __pyx_v_w_len, + 0, + 0, + 1, + 0, + 1) < 0)) +{ + __PYX_ERR(0, 270, __pyx_L1_error) +} + +__pyx_t_5 = __pyx_memoryview_fromslice(__pyx_t_9, 1, (PyObject *(*)(char *)) __pyx_memview_get_float, (int (*)(char *, PyObject *)) __pyx_memview_set_float, 0);; if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 270, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __PYX_XCLEAR_MEMVIEW(&__pyx_t_9, 1); + __pyx_t_9.memview = NULL; __pyx_t_9.data = NULL; + __pyx_t_2 = __Pyx_PyInt_From_long(__Pyx_div_long(__pyx_v_window, 2)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 270, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_4 = PyNumber_Subtract(__pyx_v_i, __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 270, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_2 = __Pyx_PyInt_SubtractObjC(__pyx_t_4, __pyx_int_1, 1, 0, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 270, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_4 = __Pyx_PyObject_GetItem(((PyObject *)__pyx_v_data), __pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 270, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_2 = NULL; + __pyx_t_8 = 0; + #if CYTHON_UNPACK_METHODS + if (unlikely(PyMethod_Check(__pyx_t_15))) { + __pyx_t_2 = PyMethod_GET_SELF(__pyx_t_15); + if (likely(__pyx_t_2)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_15); + __Pyx_INCREF(__pyx_t_2); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_15, function); + __pyx_t_8 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[3] = {__pyx_t_2, __pyx_t_5, __pyx_t_4}; + __pyx_t_7 = __Pyx_PyObject_FastCall(__pyx_t_15, __pyx_callargs+1-__pyx_t_8, 2+__pyx_t_8); + __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 270, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + __Pyx_DECREF(__pyx_t_15); __pyx_t_15 = 0; + } + __pyx_t_15 = __Pyx_PyInt_SubtractObjC(__pyx_t_7, __pyx_int_1, 1, 0, 0); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 270, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_15); + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_8 = __Pyx_PyInt_As_int(__pyx_t_15); if (unlikely((__pyx_t_8 == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 270, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_15); __pyx_t_15 = 0; + __pyx_v_delete_id = __pyx_t_8; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":271 + * for i in range(t_len - window // 2, t_len): + * delete_id = bisect.bisect_right(cur_windows[: w_len], data[i - window // 2 - 1]) - 1 + * index = delete_id # <<<<<<<<<<<<<< + * while index < w_len - 1: + * cur_windows[index] = cur_windows[index + 1] + */ + __pyx_v_index = __pyx_v_delete_id; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":272 + * delete_id = bisect.bisect_right(cur_windows[: w_len], data[i - window // 2 - 1]) - 1 + * index = delete_id + * while index < w_len - 1: # <<<<<<<<<<<<<< + * cur_windows[index] = cur_windows[index + 1] + * index += 1 + */ + while (1) { + __pyx_t_12 = (__pyx_v_index < (__pyx_v_w_len - 1)); + if (!__pyx_t_12) break; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":273 + * index = delete_id + * while index < w_len - 1: + * cur_windows[index] = cur_windows[index + 1] # <<<<<<<<<<<<<< + * index += 1 + * w_len -= 1 + */ + __pyx_t_14 = (__pyx_v_index + 1); + __pyx_t_8 = -1; + if (__pyx_t_14 < 0) { + __pyx_t_14 += __pyx_v_cur_windows.shape[0]; + if (unlikely(__pyx_t_14 < 0)) __pyx_t_8 = 0; + } else if (unlikely(__pyx_t_14 >= __pyx_v_cur_windows.shape[0])) __pyx_t_8 = 0; + if (unlikely(__pyx_t_8 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_8); + __PYX_ERR(0, 273, __pyx_L1_error) + } + __pyx_t_16 = __pyx_v_index; + __pyx_t_8 = -1; + if (__pyx_t_16 < 0) { + __pyx_t_16 += __pyx_v_cur_windows.shape[0]; + if (unlikely(__pyx_t_16 < 0)) __pyx_t_8 = 0; + } else if (unlikely(__pyx_t_16 >= __pyx_v_cur_windows.shape[0])) __pyx_t_8 = 0; + if (unlikely(__pyx_t_8 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_8); + __PYX_ERR(0, 273, __pyx_L1_error) + } + *((float *) ( /* dim=0 */ (__pyx_v_cur_windows.data + __pyx_t_16 * __pyx_v_cur_windows.strides[0]) )) = (*((float *) ( /* dim=0 */ (__pyx_v_cur_windows.data + __pyx_t_14 * __pyx_v_cur_windows.strides[0]) ))); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":274 + * while index < w_len - 1: + * cur_windows[index] = cur_windows[index + 1] + * index += 1 # <<<<<<<<<<<<<< + * w_len -= 1 + * ans[i] = sorted_median(cur_windows[: w_len], 0, w_len) + */ + __pyx_v_index = (__pyx_v_index + 1); + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":275 + * cur_windows[index] = cur_windows[index + 1] + * index += 1 + * w_len -= 1 # <<<<<<<<<<<<<< + * ans[i] = sorted_median(cur_windows[: w_len], 0, w_len) + * + */ + __pyx_v_w_len = (__pyx_v_w_len - 1); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":276 + * index += 1 + * w_len -= 1 + * ans[i] = sorted_median(cur_windows[: w_len], 0, w_len) # <<<<<<<<<<<<<< + * + * return ans + */ + __pyx_t_9.data = __pyx_v_cur_windows.data; + __pyx_t_9.memview = __pyx_v_cur_windows.memview; + __PYX_INC_MEMVIEW(&__pyx_t_9, 1); + __pyx_t_8 = -1; + if (unlikely(__pyx_memoryview_slice_memviewslice( + &__pyx_t_9, + __pyx_v_cur_windows.shape[0], __pyx_v_cur_windows.strides[0], __pyx_v_cur_windows.suboffsets[0], + 0, + 0, + &__pyx_t_8, + 0, + __pyx_v_w_len, + 0, + 0, + 1, + 0, + 1) < 0)) +{ + __PYX_ERR(0, 276, __pyx_L1_error) +} + +__pyx_t_17 = __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_sorted_median(__pyx_t_9, 0, __pyx_v_w_len, 0); if (unlikely(__pyx_t_17 == ((float)-1) && PyErr_Occurred())) __PYX_ERR(0, 276, __pyx_L1_error) + __PYX_XCLEAR_MEMVIEW(&__pyx_t_9, 1); + __pyx_t_9.memview = NULL; __pyx_t_9.data = NULL; + __pyx_t_13 = __Pyx_PyIndex_AsSsize_t(__pyx_v_i); if (unlikely((__pyx_t_13 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 276, __pyx_L1_error) + __pyx_t_14 = __pyx_t_13; + __pyx_t_8 = -1; + if (__pyx_t_14 < 0) { + __pyx_t_14 += __pyx_v_ans.shape[0]; + if (unlikely(__pyx_t_14 < 0)) __pyx_t_8 = 0; + } else if (unlikely(__pyx_t_14 >= __pyx_v_ans.shape[0])) __pyx_t_8 = 0; + if (unlikely(__pyx_t_8 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_8); + __PYX_ERR(0, 276, __pyx_L1_error) + } + *((float *) ( /* dim=0 */ (__pyx_v_ans.data + __pyx_t_14 * __pyx_v_ans.strides[0]) )) = __pyx_t_17; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":269 + * + * if need_two_end: + * for i in range(t_len - window // 2, t_len): # <<<<<<<<<<<<<< + * delete_id = bisect.bisect_right(cur_windows[: w_len], data[i - window // 2 - 1]) - 1 + * index = delete_id + */ + } + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":268 + * ans[i] = sorted_median(cur_windows, 0, w_len) + * + * if need_two_end: # <<<<<<<<<<<<<< + * for i in range(t_len - window // 2, t_len): + * delete_id = bisect.bisect_right(cur_windows[: w_len], data[i - window // 2 - 1]) - 1 + */ + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":278 + * ans[i] = sorted_median(cur_windows[: w_len], 0, w_len) + * + * return ans # <<<<<<<<<<<<<< + * + * + */ + __Pyx_XDECREF(__pyx_r); + __pyx_t_3 = __pyx_memoryview_fromslice(__pyx_v_ans, 1, (PyObject *(*)(char *)) __pyx_memview_get_float, (int (*)(char *, PyObject *)) __pyx_memview_set_float, 0);; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 278, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_r = __pyx_t_3; + __pyx_t_3 = 0; + goto __pyx_L0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":231 + * return cv_mse, seasons + * + * cpdef median_filter(np.ndarray data, int window, bint need_two_end=False): # <<<<<<<<<<<<<< + * cdef int w_len = window // 2 * 2 + 1 + * cdef int t_len = len(data) + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_2); + __Pyx_XDECREF(__pyx_t_3); + __Pyx_XDECREF(__pyx_t_4); + __Pyx_XDECREF(__pyx_t_5); + __Pyx_XDECREF(__pyx_t_7); + __PYX_XCLEAR_MEMVIEW(&__pyx_t_9, 1); + __Pyx_XDECREF(__pyx_t_15); + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.median_filter", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = 0; + __pyx_L0:; + __PYX_XCLEAR_MEMVIEW(&__pyx_v_val, 1); + __PYX_XCLEAR_MEMVIEW(&__pyx_v_ans, 1); + __PYX_XCLEAR_MEMVIEW(&__pyx_v_cur_windows, 1); + __Pyx_XDECREF(__pyx_v_i); + __Pyx_XDECREF(__pyx_8genexpr1__pyx_v_x); + __Pyx_XDECREF(__pyx_8genexpr2__pyx_v_x); + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* Python wrapper */ +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_25median_filter(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static PyMethodDef __pyx_mdef_16anomaly_detector_10univariate_22_anomaly_kernel_cython_25median_filter = {"median_filter", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_25median_filter, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_25median_filter(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +) { + PyArrayObject *__pyx_v_data = 0; + int __pyx_v_window; + int __pyx_v_need_two_end; + #if !CYTHON_METH_FASTCALL + CYTHON_UNUSED Py_ssize_t __pyx_nargs; + #endif + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject* values[3] = {0,0,0}; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("median_filter (wrapper)", 0); + #if !CYTHON_METH_FASTCALL + #if CYTHON_ASSUME_SAFE_MACROS + __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); + #else + __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL; + #endif + #endif + __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs); + { + PyObject **__pyx_pyargnames[] = {&__pyx_n_s_data,&__pyx_n_s_window,&__pyx_n_s_need_two_end,0}; + if (__pyx_kwds) { + Py_ssize_t kw_args; + switch (__pyx_nargs) { + case 3: values[2] = __Pyx_Arg_FASTCALL(__pyx_args, 2); + CYTHON_FALLTHROUGH; + case 2: values[1] = __Pyx_Arg_FASTCALL(__pyx_args, 1); + CYTHON_FALLTHROUGH; + case 1: values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); + CYTHON_FALLTHROUGH; + case 0: break; + default: goto __pyx_L5_argtuple_error; + } + kw_args = __Pyx_NumKwargs_FASTCALL(__pyx_kwds); + switch (__pyx_nargs) { + case 0: + if (likely((values[0] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_data)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[0]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 231, __pyx_L3_error) + else goto __pyx_L5_argtuple_error; + CYTHON_FALLTHROUGH; + case 1: + if (likely((values[1] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_window)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[1]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 231, __pyx_L3_error) + else { + __Pyx_RaiseArgtupleInvalid("median_filter", 0, 2, 3, 1); __PYX_ERR(0, 231, __pyx_L3_error) + } + CYTHON_FALLTHROUGH; + case 2: + if (kw_args > 0) { + PyObject* value = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_need_two_end); + if (value) { values[2] = __Pyx_Arg_NewRef_FASTCALL(value); kw_args--; } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 231, __pyx_L3_error) + } + } + if (unlikely(kw_args > 0)) { + const Py_ssize_t kwd_pos_args = __pyx_nargs; + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "median_filter") < 0)) __PYX_ERR(0, 231, __pyx_L3_error) + } + } else { + switch (__pyx_nargs) { + case 3: values[2] = __Pyx_Arg_FASTCALL(__pyx_args, 2); + CYTHON_FALLTHROUGH; + case 2: values[1] = __Pyx_Arg_FASTCALL(__pyx_args, 1); + values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); + break; + default: goto __pyx_L5_argtuple_error; + } + } + __pyx_v_data = ((PyArrayObject *)values[0]); + __pyx_v_window = __Pyx_PyInt_As_int(values[1]); if (unlikely((__pyx_v_window == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 231, __pyx_L3_error) + if (values[2]) { + __pyx_v_need_two_end = __Pyx_PyObject_IsTrue(values[2]); if (unlikely((__pyx_v_need_two_end == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 231, __pyx_L3_error) + } else { + __pyx_v_need_two_end = ((int)0); + } + } + goto __pyx_L6_skip; + __pyx_L5_argtuple_error:; + __Pyx_RaiseArgtupleInvalid("median_filter", 0, 2, 3, __pyx_nargs); __PYX_ERR(0, 231, __pyx_L3_error) + __pyx_L6_skip:; + goto __pyx_L4_argument_unpacking_done; + __pyx_L3_error:; + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]); + } + } + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.median_filter", __pyx_clineno, __pyx_lineno, __pyx_filename); + __Pyx_RefNannyFinishContext(); + return NULL; + __pyx_L4_argument_unpacking_done:; + if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_data), __pyx_ptype_5numpy_ndarray, 1, "data", 0))) __PYX_ERR(0, 231, __pyx_L1_error) + __pyx_r = __pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_24median_filter(__pyx_self, __pyx_v_data, __pyx_v_window, __pyx_v_need_two_end); + + /* function exit code */ + goto __pyx_L0; + __pyx_L1_error:; + __pyx_r = NULL; + __pyx_L0:; + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]); + } + } + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_24median_filter(CYTHON_UNUSED PyObject *__pyx_self, PyArrayObject *__pyx_v_data, int __pyx_v_window, int __pyx_v_need_two_end) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + struct __pyx_opt_args_16anomaly_detector_10univariate_22_anomaly_kernel_cython_median_filter __pyx_t_2; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("median_filter", 1); + __Pyx_XDECREF(__pyx_r); + __pyx_t_2.__pyx_n = 1; + __pyx_t_2.need_two_end = __pyx_v_need_two_end; + __pyx_t_1 = __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_median_filter(__pyx_v_data, __pyx_v_window, 0, &__pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 231, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_r = __pyx_t_1; + __pyx_t_1 = 0; + goto __pyx_L0; + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.median_filter", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":281 + * + * + * def spectral_residual_transform_core(list values): # <<<<<<<<<<<<<< + * """ + * This method transform a time series into spectral residual series + */ + +/* Python wrapper */ +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_27spectral_residual_transform_core(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +PyDoc_STRVAR(__pyx_doc_16anomaly_detector_10univariate_22_anomaly_kernel_cython_26spectral_residual_transform_core, "\n This method transform a time series into spectral residual series\n :param values: list.\n a list of float values.\n :return: mag: list.\n a list of float values as the spectral residual values\n "); +static PyMethodDef __pyx_mdef_16anomaly_detector_10univariate_22_anomaly_kernel_cython_27spectral_residual_transform_core = {"spectral_residual_transform_core", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_27spectral_residual_transform_core, __Pyx_METH_FASTCALL|METH_KEYWORDS, __pyx_doc_16anomaly_detector_10univariate_22_anomaly_kernel_cython_26spectral_residual_transform_core}; +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_27spectral_residual_transform_core(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +) { + PyObject *__pyx_v_values = 0; + #if !CYTHON_METH_FASTCALL + CYTHON_UNUSED Py_ssize_t __pyx_nargs; + #endif + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject* values[1] = {0}; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("spectral_residual_transform_core (wrapper)", 0); + #if !CYTHON_METH_FASTCALL + #if CYTHON_ASSUME_SAFE_MACROS + __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); + #else + __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL; + #endif + #endif + __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs); + { + PyObject **__pyx_pyargnames[] = {&__pyx_n_s_values,0}; + if (__pyx_kwds) { + Py_ssize_t kw_args; + switch (__pyx_nargs) { + case 1: values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); + CYTHON_FALLTHROUGH; + case 0: break; + default: goto __pyx_L5_argtuple_error; + } + kw_args = __Pyx_NumKwargs_FASTCALL(__pyx_kwds); + switch (__pyx_nargs) { + case 0: + if (likely((values[0] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_values)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[0]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 281, __pyx_L3_error) + else goto __pyx_L5_argtuple_error; + } + if (unlikely(kw_args > 0)) { + const Py_ssize_t kwd_pos_args = __pyx_nargs; + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "spectral_residual_transform_core") < 0)) __PYX_ERR(0, 281, __pyx_L3_error) + } + } else if (unlikely(__pyx_nargs != 1)) { + goto __pyx_L5_argtuple_error; + } else { + values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); + } + __pyx_v_values = ((PyObject*)values[0]); + } + goto __pyx_L6_skip; + __pyx_L5_argtuple_error:; + __Pyx_RaiseArgtupleInvalid("spectral_residual_transform_core", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 281, __pyx_L3_error) + __pyx_L6_skip:; + goto __pyx_L4_argument_unpacking_done; + __pyx_L3_error:; + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]); + } + } + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.spectral_residual_transform_core", __pyx_clineno, __pyx_lineno, __pyx_filename); + __Pyx_RefNannyFinishContext(); + return NULL; + __pyx_L4_argument_unpacking_done:; + if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_values), (&PyList_Type), 1, "values", 1))) __PYX_ERR(0, 281, __pyx_L1_error) + __pyx_r = __pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_26spectral_residual_transform_core(__pyx_self, __pyx_v_values); + + /* function exit code */ + goto __pyx_L0; + __pyx_L1_error:; + __pyx_r = NULL; + __pyx_L0:; + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]); + } + } + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_26spectral_residual_transform_core(CYTHON_UNUSED PyObject *__pyx_self, PyObject *__pyx_v_values) { + __Pyx_memviewslice __pyx_v_amplitude = { 0, 0, { 0 }, { 0 }, { 0 } }; + __Pyx_memviewslice __pyx_v_mag = { 0, 0, { 0 }, { 0 }, { 0 } }; + double __pyx_v_current; + int __pyx_v_window; + PyObject *__pyx_v_trans = NULL; + PyObject *__pyx_v_i = NULL; + PyObject *__pyx_v_d = NULL; + PyObject *__pyx_v_wave_r = NULL; + PyObject *__pyx_8genexpr4__pyx_v_x = NULL; + PyObject *__pyx_8genexpr5__pyx_v_x = NULL; + PyObject *__pyx_8genexpr6__pyx_v_ireal = NULL; + PyObject *__pyx_8genexpr6__pyx_v_a = NULL; + PyObject *__pyx_8genexpr7__pyx_v_iimag = NULL; + PyObject *__pyx_8genexpr7__pyx_v_a = NULL; + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; + PyObject *__pyx_t_3 = NULL; + PyObject *__pyx_t_4 = NULL; + Py_ssize_t __pyx_t_5; + PyObject *__pyx_t_6 = NULL; + int __pyx_t_7; + __Pyx_memviewslice __pyx_t_8 = { 0, 0, { 0 }, { 0 }, { 0 } }; + Py_ssize_t __pyx_t_9; + Py_ssize_t __pyx_t_10; + Py_ssize_t __pyx_t_11; + int __pyx_t_12; + double __pyx_t_13; + Py_ssize_t __pyx_t_14; + PyObject *(*__pyx_t_15)(PyObject *); + PyObject *__pyx_t_16 = NULL; + PyObject *(*__pyx_t_17)(PyObject *); + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("spectral_residual_transform_core", 1); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":290 + * """ + * + * cdef double[:] amplitude = array.array('d', [x for x in values]) # <<<<<<<<<<<<<< + * cdef double[:] mag = array.array('d', [x for x in values]) + * cdef double current = 1.0 + */ + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_array); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 290, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_array); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 290, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + { /* enter inner scope */ + __pyx_t_2 = PyList_New(0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 290, __pyx_L5_error) + __Pyx_GOTREF(__pyx_t_2); + if (unlikely(__pyx_v_values == Py_None)) { + PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable"); + __PYX_ERR(0, 290, __pyx_L5_error) + } + __pyx_t_4 = __pyx_v_values; __Pyx_INCREF(__pyx_t_4); + __pyx_t_5 = 0; + for (;;) { + { + Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_4); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 290, __pyx_L5_error) + #endif + if (__pyx_t_5 >= __pyx_temp) break; + } + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + __pyx_t_6 = PyList_GET_ITEM(__pyx_t_4, __pyx_t_5); __Pyx_INCREF(__pyx_t_6); __pyx_t_5++; if (unlikely((0 < 0))) __PYX_ERR(0, 290, __pyx_L5_error) + #else + __pyx_t_6 = __Pyx_PySequence_ITEM(__pyx_t_4, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 290, __pyx_L5_error) + __Pyx_GOTREF(__pyx_t_6); + #endif + __Pyx_XDECREF_SET(__pyx_8genexpr4__pyx_v_x, __pyx_t_6); + __pyx_t_6 = 0; + if (unlikely(__Pyx_ListComp_Append(__pyx_t_2, (PyObject*)__pyx_8genexpr4__pyx_v_x))) __PYX_ERR(0, 290, __pyx_L5_error) + } + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_XDECREF(__pyx_8genexpr4__pyx_v_x); __pyx_8genexpr4__pyx_v_x = 0; + goto __pyx_L9_exit_scope; + __pyx_L5_error:; + __Pyx_XDECREF(__pyx_8genexpr4__pyx_v_x); __pyx_8genexpr4__pyx_v_x = 0; + goto __pyx_L1_error; + __pyx_L9_exit_scope:; + } /* exit inner scope */ + __pyx_t_4 = NULL; + __pyx_t_7 = 0; + #if CYTHON_UNPACK_METHODS + if (unlikely(PyMethod_Check(__pyx_t_3))) { + __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_3); + if (likely(__pyx_t_4)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3); + __Pyx_INCREF(__pyx_t_4); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_3, function); + __pyx_t_7 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[3] = {__pyx_t_4, __pyx_n_s_d, __pyx_t_2}; + __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_7, 2+__pyx_t_7); + __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 290, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + } + __pyx_t_8 = __Pyx_PyObject_to_MemoryviewSlice_ds_double(__pyx_t_1, PyBUF_WRITABLE); if (unlikely(!__pyx_t_8.memview)) __PYX_ERR(0, 290, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __pyx_v_amplitude = __pyx_t_8; + __pyx_t_8.memview = NULL; + __pyx_t_8.data = NULL; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":291 + * + * cdef double[:] amplitude = array.array('d', [x for x in values]) + * cdef double[:] mag = array.array('d', [x for x in values]) # <<<<<<<<<<<<<< + * cdef double current = 1.0 + * cdef int window = 3 + */ + __Pyx_GetModuleGlobalName(__pyx_t_3, __pyx_n_s_array); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 291, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_array); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 291, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + { /* enter inner scope */ + __pyx_t_3 = PyList_New(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 291, __pyx_L12_error) + __Pyx_GOTREF(__pyx_t_3); + if (unlikely(__pyx_v_values == Py_None)) { + PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable"); + __PYX_ERR(0, 291, __pyx_L12_error) + } + __pyx_t_4 = __pyx_v_values; __Pyx_INCREF(__pyx_t_4); + __pyx_t_5 = 0; + for (;;) { + { + Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_4); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 291, __pyx_L12_error) + #endif + if (__pyx_t_5 >= __pyx_temp) break; + } + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + __pyx_t_6 = PyList_GET_ITEM(__pyx_t_4, __pyx_t_5); __Pyx_INCREF(__pyx_t_6); __pyx_t_5++; if (unlikely((0 < 0))) __PYX_ERR(0, 291, __pyx_L12_error) + #else + __pyx_t_6 = __Pyx_PySequence_ITEM(__pyx_t_4, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 291, __pyx_L12_error) + __Pyx_GOTREF(__pyx_t_6); + #endif + __Pyx_XDECREF_SET(__pyx_8genexpr5__pyx_v_x, __pyx_t_6); + __pyx_t_6 = 0; + if (unlikely(__Pyx_ListComp_Append(__pyx_t_3, (PyObject*)__pyx_8genexpr5__pyx_v_x))) __PYX_ERR(0, 291, __pyx_L12_error) + } + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_XDECREF(__pyx_8genexpr5__pyx_v_x); __pyx_8genexpr5__pyx_v_x = 0; + goto __pyx_L16_exit_scope; + __pyx_L12_error:; + __Pyx_XDECREF(__pyx_8genexpr5__pyx_v_x); __pyx_8genexpr5__pyx_v_x = 0; + goto __pyx_L1_error; + __pyx_L16_exit_scope:; + } /* exit inner scope */ + __pyx_t_4 = NULL; + __pyx_t_7 = 0; + #if CYTHON_UNPACK_METHODS + if (unlikely(PyMethod_Check(__pyx_t_2))) { + __pyx_t_4 = PyMethod_GET_SELF(__pyx_t_2); + if (likely(__pyx_t_4)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2); + __Pyx_INCREF(__pyx_t_4); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_2, function); + __pyx_t_7 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[3] = {__pyx_t_4, __pyx_n_s_d, __pyx_t_3}; + __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+1-__pyx_t_7, 2+__pyx_t_7); + __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 291, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + } + __pyx_t_8 = __Pyx_PyObject_to_MemoryviewSlice_ds_double(__pyx_t_1, PyBUF_WRITABLE); if (unlikely(!__pyx_t_8.memview)) __PYX_ERR(0, 291, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __pyx_v_mag = __pyx_t_8; + __pyx_t_8.memview = NULL; + __pyx_t_8.data = NULL; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":292 + * cdef double[:] amplitude = array.array('d', [x for x in values]) + * cdef double[:] mag = array.array('d', [x for x in values]) + * cdef double current = 1.0 # <<<<<<<<<<<<<< + * cdef int window = 3 + * + */ + __pyx_v_current = 1.0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":293 + * cdef double[:] mag = array.array('d', [x for x in values]) + * cdef double current = 1.0 + * cdef int window = 3 # <<<<<<<<<<<<<< + * + * + */ + __pyx_v_window = 3; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":296 + * + * + * trans = np.fft.fft(values) # <<<<<<<<<<<<<< + * mag = np.sqrt(trans.real ** 2 + trans.imag ** 2) + * + */ + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_np); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 296, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_fft); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 296, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_fft); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 296, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_3 = NULL; + __pyx_t_7 = 0; + #if CYTHON_UNPACK_METHODS + if (likely(PyMethod_Check(__pyx_t_2))) { + __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_2); + if (likely(__pyx_t_3)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_2); + __Pyx_INCREF(__pyx_t_3); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_2, function); + __pyx_t_7 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[2] = {__pyx_t_3, __pyx_v_values}; + __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_2, __pyx_callargs+1-__pyx_t_7, 1+__pyx_t_7); + __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 296, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + } + __pyx_v_trans = __pyx_t_1; + __pyx_t_1 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":297 + * + * trans = np.fft.fft(values) + * mag = np.sqrt(trans.real ** 2 + trans.imag ** 2) # <<<<<<<<<<<<<< + * + * ### the following lines are the same as the codes in comments + */ + __Pyx_GetModuleGlobalName(__pyx_t_2, __pyx_n_s_np); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 297, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_2, __pyx_n_s_sqrt); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 297, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_trans, __pyx_n_s_real); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 297, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_4 = PyNumber_Power(__pyx_t_2, __pyx_int_2, Py_None); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 297, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_trans, __pyx_n_s_imag); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 297, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_6 = PyNumber_Power(__pyx_t_2, __pyx_int_2, Py_None); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 297, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_2 = PyNumber_Add(__pyx_t_4, __pyx_t_6); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 297, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __pyx_t_6 = NULL; + __pyx_t_7 = 0; + #if CYTHON_UNPACK_METHODS + if (unlikely(PyMethod_Check(__pyx_t_3))) { + __pyx_t_6 = PyMethod_GET_SELF(__pyx_t_3); + if (likely(__pyx_t_6)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3); + __Pyx_INCREF(__pyx_t_6); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_3, function); + __pyx_t_7 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[2] = {__pyx_t_6, __pyx_t_2}; + __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_7, 1+__pyx_t_7); + __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 297, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + } + __pyx_t_8 = __Pyx_PyObject_to_MemoryviewSlice_ds_double(__pyx_t_1, PyBUF_WRITABLE); if (unlikely(!__pyx_t_8.memview)) __PYX_ERR(0, 297, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __PYX_XCLEAR_MEMVIEW(&__pyx_v_mag, 1); + __pyx_v_mag = __pyx_t_8; + __pyx_t_8.memview = NULL; + __pyx_t_8.data = NULL; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":306 + * # trans.imag = [iimag * ispectral / imag if imag != 0 else 0 + * # for iimag, ispectral, imag in zip(trans.imag, spectral, mag)] + * for i, d in enumerate(mag): # <<<<<<<<<<<<<< + * if d > 0: + * current = current * d + */ + __Pyx_INCREF(__pyx_int_0); + __pyx_t_1 = __pyx_int_0; + if (unlikely(((PyObject *) __pyx_v_mag.memview) == Py_None)) { + PyErr_SetString(PyExc_TypeError, "'NoneType' is not iterable"); + __PYX_ERR(0, 306, __pyx_L1_error) + } + __PYX_INC_MEMVIEW(&__pyx_v_mag, 1); + __pyx_t_8 = __pyx_v_mag; + __pyx_t_5 = __Pyx_MemoryView_Len(__pyx_t_8); + for (__pyx_t_10 = 0; __pyx_t_10 < __pyx_t_5; __pyx_t_10++) { + __pyx_t_9 = __pyx_t_10; + __pyx_t_11 = __pyx_t_9; + __pyx_t_3 = PyFloat_FromDouble((*((double *) ( /* dim=0 */ (__pyx_t_8.data + __pyx_t_11 * __pyx_t_8.strides[0]) )))); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 306, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_XDECREF_SET(__pyx_v_d, __pyx_t_3); + __pyx_t_3 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":307 + * # for iimag, ispectral, imag in zip(trans.imag, spectral, mag)] + * for i, d in enumerate(mag): + * if d > 0: # <<<<<<<<<<<<<< + * current = current * d + * + */ + __Pyx_INCREF(__pyx_t_1); + __Pyx_XDECREF_SET(__pyx_v_i, __pyx_t_1); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":306 + * # trans.imag = [iimag * ispectral / imag if imag != 0 else 0 + * # for iimag, ispectral, imag in zip(trans.imag, spectral, mag)] + * for i, d in enumerate(mag): # <<<<<<<<<<<<<< + * if d > 0: + * current = current * d + */ + __pyx_t_3 = __Pyx_PyInt_AddObjC(__pyx_t_1, __pyx_int_1, 1, 0, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 306, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_1); + __pyx_t_1 = __pyx_t_3; + __pyx_t_3 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":307 + * # for iimag, ispectral, imag in zip(trans.imag, spectral, mag)] + * for i, d in enumerate(mag): + * if d > 0: # <<<<<<<<<<<<<< + * current = current * d + * + */ + __pyx_t_3 = PyObject_RichCompare(__pyx_v_d, __pyx_int_0, Py_GT); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 307, __pyx_L1_error) + __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 307, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + if (__pyx_t_12) { + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":308 + * for i, d in enumerate(mag): + * if d > 0: + * current = current * d # <<<<<<<<<<<<<< + * + * if i < window: + */ + __pyx_t_3 = PyFloat_FromDouble(__pyx_v_current); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 308, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_2 = PyNumber_Multiply(__pyx_t_3, __pyx_v_d); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 308, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_13 = __pyx_PyFloat_AsDouble(__pyx_t_2); if (unlikely((__pyx_t_13 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 308, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_v_current = __pyx_t_13; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":307 + * # for iimag, ispectral, imag in zip(trans.imag, spectral, mag)] + * for i, d in enumerate(mag): + * if d > 0: # <<<<<<<<<<<<<< + * current = current * d + * + */ + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":310 + * current = current * d + * + * if i < window: # <<<<<<<<<<<<<< + * amplitude[i] = pow(current, 1. / (i+1)) + * else: + */ + __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_window); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 310, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_3 = PyObject_RichCompare(__pyx_v_i, __pyx_t_2, Py_LT); __Pyx_XGOTREF(__pyx_t_3); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 310, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_12 = __Pyx_PyObject_IsTrue(__pyx_t_3); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 310, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + if (__pyx_t_12) { + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":311 + * + * if i < window: + * amplitude[i] = pow(current, 1. / (i+1)) # <<<<<<<<<<<<<< + * else: + * if mag[i - window] > 0: + */ + __pyx_t_3 = __Pyx_PyInt_AddObjC(__pyx_v_i, __pyx_int_1, 1, 0, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 311, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_2 = __Pyx_PyFloat_TrueDivideCObj(__pyx_float_1_, __pyx_t_3, 1., 0, 1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 311, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_13 = __pyx_PyFloat_AsDouble(__pyx_t_2); if (unlikely((__pyx_t_13 == (double)-1) && PyErr_Occurred())) __PYX_ERR(0, 311, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_14 = __Pyx_PyIndex_AsSsize_t(__pyx_v_i); if (unlikely((__pyx_t_14 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 311, __pyx_L1_error) + __pyx_t_11 = __pyx_t_14; + __pyx_t_7 = -1; + if (__pyx_t_11 < 0) { + __pyx_t_11 += __pyx_v_amplitude.shape[0]; + if (unlikely(__pyx_t_11 < 0)) __pyx_t_7 = 0; + } else if (unlikely(__pyx_t_11 >= __pyx_v_amplitude.shape[0])) __pyx_t_7 = 0; + if (unlikely(__pyx_t_7 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_7); + __PYX_ERR(0, 311, __pyx_L1_error) + } + *((double *) ( /* dim=0 */ (__pyx_v_amplitude.data + __pyx_t_11 * __pyx_v_amplitude.strides[0]) )) = pow(__pyx_v_current, __pyx_t_13); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":310 + * current = current * d + * + * if i < window: # <<<<<<<<<<<<<< + * amplitude[i] = pow(current, 1. / (i+1)) + * else: + */ + goto __pyx_L20; + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":313 + * amplitude[i] = pow(current, 1. / (i+1)) + * else: + * if mag[i - window] > 0: # <<<<<<<<<<<<<< + * current = current / mag[i - window] + * + */ + /*else*/ { + __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_window); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 313, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_3 = PyNumber_Subtract(__pyx_v_i, __pyx_t_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 313, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_14 = __Pyx_PyIndex_AsSsize_t(__pyx_t_3); if (unlikely((__pyx_t_14 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 313, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_11 = __pyx_t_14; + __pyx_t_7 = -1; + if (__pyx_t_11 < 0) { + __pyx_t_11 += __pyx_v_mag.shape[0]; + if (unlikely(__pyx_t_11 < 0)) __pyx_t_7 = 0; + } else if (unlikely(__pyx_t_11 >= __pyx_v_mag.shape[0])) __pyx_t_7 = 0; + if (unlikely(__pyx_t_7 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_7); + __PYX_ERR(0, 313, __pyx_L1_error) + } + __pyx_t_12 = ((*((double *) ( /* dim=0 */ (__pyx_v_mag.data + __pyx_t_11 * __pyx_v_mag.strides[0]) ))) > 0.0); + if (__pyx_t_12) { + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":314 + * else: + * if mag[i - window] > 0: + * current = current / mag[i - window] # <<<<<<<<<<<<<< + * + * amplitude[i] = pow(current, 1. / window) + */ + __pyx_t_3 = __Pyx_PyInt_From_int(__pyx_v_window); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 314, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_2 = PyNumber_Subtract(__pyx_v_i, __pyx_t_3); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 314, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_14 = __Pyx_PyIndex_AsSsize_t(__pyx_t_2); if (unlikely((__pyx_t_14 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 314, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_11 = __pyx_t_14; + __pyx_t_7 = -1; + if (__pyx_t_11 < 0) { + __pyx_t_11 += __pyx_v_mag.shape[0]; + if (unlikely(__pyx_t_11 < 0)) __pyx_t_7 = 0; + } else if (unlikely(__pyx_t_11 >= __pyx_v_mag.shape[0])) __pyx_t_7 = 0; + if (unlikely(__pyx_t_7 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_7); + __PYX_ERR(0, 314, __pyx_L1_error) + } + __pyx_t_13 = (*((double *) ( /* dim=0 */ (__pyx_v_mag.data + __pyx_t_11 * __pyx_v_mag.strides[0]) ))); + if (unlikely(__pyx_t_13 == 0)) { + PyErr_SetString(PyExc_ZeroDivisionError, "float division"); + __PYX_ERR(0, 314, __pyx_L1_error) + } + __pyx_v_current = (__pyx_v_current / __pyx_t_13); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":313 + * amplitude[i] = pow(current, 1. / (i+1)) + * else: + * if mag[i - window] > 0: # <<<<<<<<<<<<<< + * current = current / mag[i - window] + * + */ + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":316 + * current = current / mag[i - window] + * + * amplitude[i] = pow(current, 1. / window) # <<<<<<<<<<<<<< + * + * trans.real = [ireal / a if a != 0 else 0 for ireal, a in zip(trans.real, amplitude)] + */ + if (unlikely(__pyx_v_window == 0)) { + PyErr_SetString(PyExc_ZeroDivisionError, "float division"); + __PYX_ERR(0, 316, __pyx_L1_error) + } + __pyx_t_14 = __Pyx_PyIndex_AsSsize_t(__pyx_v_i); if (unlikely((__pyx_t_14 == (Py_ssize_t)-1) && PyErr_Occurred())) __PYX_ERR(0, 316, __pyx_L1_error) + __pyx_t_11 = __pyx_t_14; + __pyx_t_7 = -1; + if (__pyx_t_11 < 0) { + __pyx_t_11 += __pyx_v_amplitude.shape[0]; + if (unlikely(__pyx_t_11 < 0)) __pyx_t_7 = 0; + } else if (unlikely(__pyx_t_11 >= __pyx_v_amplitude.shape[0])) __pyx_t_7 = 0; + if (unlikely(__pyx_t_7 != -1)) { + __Pyx_RaiseBufferIndexError(__pyx_t_7); + __PYX_ERR(0, 316, __pyx_L1_error) + } + *((double *) ( /* dim=0 */ (__pyx_v_amplitude.data + __pyx_t_11 * __pyx_v_amplitude.strides[0]) )) = pow(__pyx_v_current, (1. / ((double)__pyx_v_window))); + } + __pyx_L20:; + } + __PYX_XCLEAR_MEMVIEW(&__pyx_t_8, 1); + __pyx_t_8.memview = NULL; __pyx_t_8.data = NULL; + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":318 + * amplitude[i] = pow(current, 1. / window) + * + * trans.real = [ireal / a if a != 0 else 0 for ireal, a in zip(trans.real, amplitude)] # <<<<<<<<<<<<<< + * trans.imag = [iimag / a if a != 0 else 0 for iimag, a in zip(trans.imag, amplitude)] + * # end of region + */ + { /* enter inner scope */ + __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 318, __pyx_L24_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_t_2 = __Pyx_PyObject_GetAttrStr(__pyx_v_trans, __pyx_n_s_real); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 318, __pyx_L24_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_3 = __pyx_memoryview_fromslice(__pyx_v_amplitude, 1, (PyObject *(*)(char *)) __pyx_memview_get_double, (int (*)(char *, PyObject *)) __pyx_memview_set_double, 0);; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 318, __pyx_L24_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_6 = PyTuple_New(2); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 318, __pyx_L24_error) + __Pyx_GOTREF(__pyx_t_6); + __Pyx_GIVEREF(__pyx_t_2); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 0, __pyx_t_2)) __PYX_ERR(0, 318, __pyx_L24_error); + __Pyx_GIVEREF(__pyx_t_3); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_6, 1, __pyx_t_3)) __PYX_ERR(0, 318, __pyx_L24_error); + __pyx_t_2 = 0; + __pyx_t_3 = 0; + __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_zip, __pyx_t_6, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 318, __pyx_L24_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + if (likely(PyList_CheckExact(__pyx_t_3)) || PyTuple_CheckExact(__pyx_t_3)) { + __pyx_t_6 = __pyx_t_3; __Pyx_INCREF(__pyx_t_6); + __pyx_t_5 = 0; + __pyx_t_15 = NULL; + } else { + __pyx_t_5 = -1; __pyx_t_6 = PyObject_GetIter(__pyx_t_3); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 318, __pyx_L24_error) + __Pyx_GOTREF(__pyx_t_6); + __pyx_t_15 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_6); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 318, __pyx_L24_error) + } + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + for (;;) { + if (likely(!__pyx_t_15)) { + if (likely(PyList_CheckExact(__pyx_t_6))) { + { + Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_6); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 318, __pyx_L24_error) + #endif + if (__pyx_t_5 >= __pyx_temp) break; + } + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + __pyx_t_3 = PyList_GET_ITEM(__pyx_t_6, __pyx_t_5); __Pyx_INCREF(__pyx_t_3); __pyx_t_5++; if (unlikely((0 < 0))) __PYX_ERR(0, 318, __pyx_L24_error) + #else + __pyx_t_3 = __Pyx_PySequence_ITEM(__pyx_t_6, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 318, __pyx_L24_error) + __Pyx_GOTREF(__pyx_t_3); + #endif + } else { + { + Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_6); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 318, __pyx_L24_error) + #endif + if (__pyx_t_5 >= __pyx_temp) break; + } + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + __pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_6, __pyx_t_5); __Pyx_INCREF(__pyx_t_3); __pyx_t_5++; if (unlikely((0 < 0))) __PYX_ERR(0, 318, __pyx_L24_error) + #else + __pyx_t_3 = __Pyx_PySequence_ITEM(__pyx_t_6, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 318, __pyx_L24_error) + __Pyx_GOTREF(__pyx_t_3); + #endif + } + } else { + __pyx_t_3 = __pyx_t_15(__pyx_t_6); + if (unlikely(!__pyx_t_3)) { + PyObject* exc_type = PyErr_Occurred(); + if (exc_type) { + if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear(); + else __PYX_ERR(0, 318, __pyx_L24_error) + } + break; + } + __Pyx_GOTREF(__pyx_t_3); + } + if ((likely(PyTuple_CheckExact(__pyx_t_3))) || (PyList_CheckExact(__pyx_t_3))) { + PyObject* sequence = __pyx_t_3; + Py_ssize_t size = __Pyx_PySequence_SIZE(sequence); + if (unlikely(size != 2)) { + if (size > 2) __Pyx_RaiseTooManyValuesError(2); + else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size); + __PYX_ERR(0, 318, __pyx_L24_error) + } + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + if (likely(PyTuple_CheckExact(sequence))) { + __pyx_t_2 = PyTuple_GET_ITEM(sequence, 0); + __pyx_t_4 = PyTuple_GET_ITEM(sequence, 1); + } else { + __pyx_t_2 = PyList_GET_ITEM(sequence, 0); + __pyx_t_4 = PyList_GET_ITEM(sequence, 1); + } + __Pyx_INCREF(__pyx_t_2); + __Pyx_INCREF(__pyx_t_4); + #else + __pyx_t_2 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 318, __pyx_L24_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_4 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 318, __pyx_L24_error) + __Pyx_GOTREF(__pyx_t_4); + #endif + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + } else { + Py_ssize_t index = -1; + __pyx_t_16 = PyObject_GetIter(__pyx_t_3); if (unlikely(!__pyx_t_16)) __PYX_ERR(0, 318, __pyx_L24_error) + __Pyx_GOTREF(__pyx_t_16); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_17 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_16); + index = 0; __pyx_t_2 = __pyx_t_17(__pyx_t_16); if (unlikely(!__pyx_t_2)) goto __pyx_L27_unpacking_failed; + __Pyx_GOTREF(__pyx_t_2); + index = 1; __pyx_t_4 = __pyx_t_17(__pyx_t_16); if (unlikely(!__pyx_t_4)) goto __pyx_L27_unpacking_failed; + __Pyx_GOTREF(__pyx_t_4); + if (__Pyx_IternextUnpackEndCheck(__pyx_t_17(__pyx_t_16), 2) < 0) __PYX_ERR(0, 318, __pyx_L24_error) + __pyx_t_17 = NULL; + __Pyx_DECREF(__pyx_t_16); __pyx_t_16 = 0; + goto __pyx_L28_unpacking_done; + __pyx_L27_unpacking_failed:; + __Pyx_DECREF(__pyx_t_16); __pyx_t_16 = 0; + __pyx_t_17 = NULL; + if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); + __PYX_ERR(0, 318, __pyx_L24_error) + __pyx_L28_unpacking_done:; + } + __Pyx_XDECREF_SET(__pyx_8genexpr6__pyx_v_ireal, __pyx_t_2); + __pyx_t_2 = 0; + __Pyx_XDECREF_SET(__pyx_8genexpr6__pyx_v_a, __pyx_t_4); + __pyx_t_4 = 0; + __pyx_t_12 = (__Pyx_PyInt_BoolNeObjC(__pyx_8genexpr6__pyx_v_a, __pyx_int_0, 0, 0)); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 318, __pyx_L24_error) + if (__pyx_t_12) { + __pyx_t_4 = __Pyx_PyNumber_Divide(__pyx_8genexpr6__pyx_v_ireal, __pyx_8genexpr6__pyx_v_a); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 318, __pyx_L24_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_3 = __pyx_t_4; + __pyx_t_4 = 0; + } else { + __Pyx_INCREF(__pyx_int_0); + __pyx_t_3 = __pyx_int_0; + } + if (unlikely(__Pyx_ListComp_Append(__pyx_t_1, (PyObject*)__pyx_t_3))) __PYX_ERR(0, 318, __pyx_L24_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + } + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __Pyx_XDECREF(__pyx_8genexpr6__pyx_v_a); __pyx_8genexpr6__pyx_v_a = 0; + __Pyx_XDECREF(__pyx_8genexpr6__pyx_v_ireal); __pyx_8genexpr6__pyx_v_ireal = 0; + goto __pyx_L30_exit_scope; + __pyx_L24_error:; + __Pyx_XDECREF(__pyx_8genexpr6__pyx_v_a); __pyx_8genexpr6__pyx_v_a = 0; + __Pyx_XDECREF(__pyx_8genexpr6__pyx_v_ireal); __pyx_8genexpr6__pyx_v_ireal = 0; + goto __pyx_L1_error; + __pyx_L30_exit_scope:; + } /* exit inner scope */ + if (__Pyx_PyObject_SetAttrStr(__pyx_v_trans, __pyx_n_s_real, __pyx_t_1) < 0) __PYX_ERR(0, 318, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":319 + * + * trans.real = [ireal / a if a != 0 else 0 for ireal, a in zip(trans.real, amplitude)] + * trans.imag = [iimag / a if a != 0 else 0 for iimag, a in zip(trans.imag, amplitude)] # <<<<<<<<<<<<<< + * # end of region + * + */ + { /* enter inner scope */ + __pyx_t_1 = PyList_New(0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 319, __pyx_L33_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_v_trans, __pyx_n_s_imag); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 319, __pyx_L33_error) + __Pyx_GOTREF(__pyx_t_6); + __pyx_t_3 = __pyx_memoryview_fromslice(__pyx_v_amplitude, 1, (PyObject *(*)(char *)) __pyx_memview_get_double, (int (*)(char *, PyObject *)) __pyx_memview_set_double, 0);; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 319, __pyx_L33_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 319, __pyx_L33_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_GIVEREF(__pyx_t_6); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_6)) __PYX_ERR(0, 319, __pyx_L33_error); + __Pyx_GIVEREF(__pyx_t_3); + if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_3)) __PYX_ERR(0, 319, __pyx_L33_error); + __pyx_t_6 = 0; + __pyx_t_3 = 0; + __pyx_t_3 = __Pyx_PyObject_Call(__pyx_builtin_zip, __pyx_t_4, NULL); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 319, __pyx_L33_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + if (likely(PyList_CheckExact(__pyx_t_3)) || PyTuple_CheckExact(__pyx_t_3)) { + __pyx_t_4 = __pyx_t_3; __Pyx_INCREF(__pyx_t_4); + __pyx_t_5 = 0; + __pyx_t_15 = NULL; + } else { + __pyx_t_5 = -1; __pyx_t_4 = PyObject_GetIter(__pyx_t_3); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 319, __pyx_L33_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_15 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_4); if (unlikely(!__pyx_t_15)) __PYX_ERR(0, 319, __pyx_L33_error) + } + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + for (;;) { + if (likely(!__pyx_t_15)) { + if (likely(PyList_CheckExact(__pyx_t_4))) { + { + Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_4); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 319, __pyx_L33_error) + #endif + if (__pyx_t_5 >= __pyx_temp) break; + } + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + __pyx_t_3 = PyList_GET_ITEM(__pyx_t_4, __pyx_t_5); __Pyx_INCREF(__pyx_t_3); __pyx_t_5++; if (unlikely((0 < 0))) __PYX_ERR(0, 319, __pyx_L33_error) + #else + __pyx_t_3 = __Pyx_PySequence_ITEM(__pyx_t_4, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 319, __pyx_L33_error) + __Pyx_GOTREF(__pyx_t_3); + #endif + } else { + { + Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_4); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 319, __pyx_L33_error) + #endif + if (__pyx_t_5 >= __pyx_temp) break; + } + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + __pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_4, __pyx_t_5); __Pyx_INCREF(__pyx_t_3); __pyx_t_5++; if (unlikely((0 < 0))) __PYX_ERR(0, 319, __pyx_L33_error) + #else + __pyx_t_3 = __Pyx_PySequence_ITEM(__pyx_t_4, __pyx_t_5); __pyx_t_5++; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 319, __pyx_L33_error) + __Pyx_GOTREF(__pyx_t_3); + #endif + } + } else { + __pyx_t_3 = __pyx_t_15(__pyx_t_4); + if (unlikely(!__pyx_t_3)) { + PyObject* exc_type = PyErr_Occurred(); + if (exc_type) { + if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear(); + else __PYX_ERR(0, 319, __pyx_L33_error) + } + break; + } + __Pyx_GOTREF(__pyx_t_3); + } + if ((likely(PyTuple_CheckExact(__pyx_t_3))) || (PyList_CheckExact(__pyx_t_3))) { + PyObject* sequence = __pyx_t_3; + Py_ssize_t size = __Pyx_PySequence_SIZE(sequence); + if (unlikely(size != 2)) { + if (size > 2) __Pyx_RaiseTooManyValuesError(2); + else if (size >= 0) __Pyx_RaiseNeedMoreValuesError(size); + __PYX_ERR(0, 319, __pyx_L33_error) + } + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + if (likely(PyTuple_CheckExact(sequence))) { + __pyx_t_6 = PyTuple_GET_ITEM(sequence, 0); + __pyx_t_2 = PyTuple_GET_ITEM(sequence, 1); + } else { + __pyx_t_6 = PyList_GET_ITEM(sequence, 0); + __pyx_t_2 = PyList_GET_ITEM(sequence, 1); + } + __Pyx_INCREF(__pyx_t_6); + __Pyx_INCREF(__pyx_t_2); + #else + __pyx_t_6 = PySequence_ITEM(sequence, 0); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 319, __pyx_L33_error) + __Pyx_GOTREF(__pyx_t_6); + __pyx_t_2 = PySequence_ITEM(sequence, 1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 319, __pyx_L33_error) + __Pyx_GOTREF(__pyx_t_2); + #endif + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + } else { + Py_ssize_t index = -1; + __pyx_t_16 = PyObject_GetIter(__pyx_t_3); if (unlikely(!__pyx_t_16)) __PYX_ERR(0, 319, __pyx_L33_error) + __Pyx_GOTREF(__pyx_t_16); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_17 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_16); + index = 0; __pyx_t_6 = __pyx_t_17(__pyx_t_16); if (unlikely(!__pyx_t_6)) goto __pyx_L36_unpacking_failed; + __Pyx_GOTREF(__pyx_t_6); + index = 1; __pyx_t_2 = __pyx_t_17(__pyx_t_16); if (unlikely(!__pyx_t_2)) goto __pyx_L36_unpacking_failed; + __Pyx_GOTREF(__pyx_t_2); + if (__Pyx_IternextUnpackEndCheck(__pyx_t_17(__pyx_t_16), 2) < 0) __PYX_ERR(0, 319, __pyx_L33_error) + __pyx_t_17 = NULL; + __Pyx_DECREF(__pyx_t_16); __pyx_t_16 = 0; + goto __pyx_L37_unpacking_done; + __pyx_L36_unpacking_failed:; + __Pyx_DECREF(__pyx_t_16); __pyx_t_16 = 0; + __pyx_t_17 = NULL; + if (__Pyx_IterFinish() == 0) __Pyx_RaiseNeedMoreValuesError(index); + __PYX_ERR(0, 319, __pyx_L33_error) + __pyx_L37_unpacking_done:; + } + __Pyx_XDECREF_SET(__pyx_8genexpr7__pyx_v_iimag, __pyx_t_6); + __pyx_t_6 = 0; + __Pyx_XDECREF_SET(__pyx_8genexpr7__pyx_v_a, __pyx_t_2); + __pyx_t_2 = 0; + __pyx_t_12 = (__Pyx_PyInt_BoolNeObjC(__pyx_8genexpr7__pyx_v_a, __pyx_int_0, 0, 0)); if (unlikely((__pyx_t_12 < 0))) __PYX_ERR(0, 319, __pyx_L33_error) + if (__pyx_t_12) { + __pyx_t_2 = __Pyx_PyNumber_Divide(__pyx_8genexpr7__pyx_v_iimag, __pyx_8genexpr7__pyx_v_a); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 319, __pyx_L33_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_3 = __pyx_t_2; + __pyx_t_2 = 0; + } else { + __Pyx_INCREF(__pyx_int_0); + __pyx_t_3 = __pyx_int_0; + } + if (unlikely(__Pyx_ListComp_Append(__pyx_t_1, (PyObject*)__pyx_t_3))) __PYX_ERR(0, 319, __pyx_L33_error) + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + } + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_XDECREF(__pyx_8genexpr7__pyx_v_a); __pyx_8genexpr7__pyx_v_a = 0; + __Pyx_XDECREF(__pyx_8genexpr7__pyx_v_iimag); __pyx_8genexpr7__pyx_v_iimag = 0; + goto __pyx_L39_exit_scope; + __pyx_L33_error:; + __Pyx_XDECREF(__pyx_8genexpr7__pyx_v_a); __pyx_8genexpr7__pyx_v_a = 0; + __Pyx_XDECREF(__pyx_8genexpr7__pyx_v_iimag); __pyx_8genexpr7__pyx_v_iimag = 0; + goto __pyx_L1_error; + __pyx_L39_exit_scope:; + } /* exit inner scope */ + if (__Pyx_PyObject_SetAttrStr(__pyx_v_trans, __pyx_n_s_imag, __pyx_t_1) < 0) __PYX_ERR(0, 319, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":322 + * # end of region + * + * wave_r = np.fft.ifft(trans) # <<<<<<<<<<<<<< + * mag = np.sqrt(wave_r.real ** 2 + wave_r.imag ** 2) + * + */ + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_np); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 322, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_fft); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 322, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_3, __pyx_n_s_ifft); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 322, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_3 = NULL; + __pyx_t_7 = 0; + #if CYTHON_UNPACK_METHODS + if (likely(PyMethod_Check(__pyx_t_4))) { + __pyx_t_3 = PyMethod_GET_SELF(__pyx_t_4); + if (likely(__pyx_t_3)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_4); + __Pyx_INCREF(__pyx_t_3); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_4, function); + __pyx_t_7 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[2] = {__pyx_t_3, __pyx_v_trans}; + __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_4, __pyx_callargs+1-__pyx_t_7, 1+__pyx_t_7); + __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 322, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + } + __pyx_v_wave_r = __pyx_t_1; + __pyx_t_1 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":323 + * + * wave_r = np.fft.ifft(trans) + * mag = np.sqrt(wave_r.real ** 2 + wave_r.imag ** 2) # <<<<<<<<<<<<<< + * + * return mag + */ + __Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_n_s_np); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 323, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_3 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_sqrt); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 323, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_wave_r, __pyx_n_s_real); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 323, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_2 = PyNumber_Power(__pyx_t_4, __pyx_int_2, Py_None); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 323, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_v_wave_r, __pyx_n_s_imag); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 323, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_6 = PyNumber_Power(__pyx_t_4, __pyx_int_2, Py_None); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 323, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_4 = PyNumber_Add(__pyx_t_2, __pyx_t_6); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 323, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __pyx_t_6 = NULL; + __pyx_t_7 = 0; + #if CYTHON_UNPACK_METHODS + if (unlikely(PyMethod_Check(__pyx_t_3))) { + __pyx_t_6 = PyMethod_GET_SELF(__pyx_t_3); + if (likely(__pyx_t_6)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_3); + __Pyx_INCREF(__pyx_t_6); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_3, function); + __pyx_t_7 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[2] = {__pyx_t_6, __pyx_t_4}; + __pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_3, __pyx_callargs+1-__pyx_t_7, 1+__pyx_t_7); + __Pyx_XDECREF(__pyx_t_6); __pyx_t_6 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 323, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + } + __pyx_t_8 = __Pyx_PyObject_to_MemoryviewSlice_ds_double(__pyx_t_1, PyBUF_WRITABLE); if (unlikely(!__pyx_t_8.memview)) __PYX_ERR(0, 323, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __PYX_XCLEAR_MEMVIEW(&__pyx_v_mag, 1); + __pyx_v_mag = __pyx_t_8; + __pyx_t_8.memview = NULL; + __pyx_t_8.data = NULL; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":325 + * mag = np.sqrt(wave_r.real ** 2 + wave_r.imag ** 2) + * + * return mag # <<<<<<<<<<<<<< + * + * + */ + __Pyx_XDECREF(__pyx_r); + __pyx_t_1 = __pyx_memoryview_fromslice(__pyx_v_mag, 1, (PyObject *(*)(char *)) __pyx_memview_get_double, (int (*)(char *, PyObject *)) __pyx_memview_set_double, 0);; if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 325, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_r = __pyx_t_1; + __pyx_t_1 = 0; + goto __pyx_L0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":281 + * + * + * def spectral_residual_transform_core(list values): # <<<<<<<<<<<<<< + * """ + * This method transform a time series into spectral residual series + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_2); + __Pyx_XDECREF(__pyx_t_3); + __Pyx_XDECREF(__pyx_t_4); + __Pyx_XDECREF(__pyx_t_6); + __PYX_XCLEAR_MEMVIEW(&__pyx_t_8, 1); + __Pyx_XDECREF(__pyx_t_16); + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.spectral_residual_transform_core", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __pyx_L0:; + __PYX_XCLEAR_MEMVIEW(&__pyx_v_amplitude, 1); + __PYX_XCLEAR_MEMVIEW(&__pyx_v_mag, 1); + __Pyx_XDECREF(__pyx_v_trans); + __Pyx_XDECREF(__pyx_v_i); + __Pyx_XDECREF(__pyx_v_d); + __Pyx_XDECREF(__pyx_v_wave_r); + __Pyx_XDECREF(__pyx_8genexpr4__pyx_v_x); + __Pyx_XDECREF(__pyx_8genexpr5__pyx_v_x); + __Pyx_XDECREF(__pyx_8genexpr6__pyx_v_ireal); + __Pyx_XDECREF(__pyx_8genexpr6__pyx_v_a); + __Pyx_XDECREF(__pyx_8genexpr7__pyx_v_iimag); + __Pyx_XDECREF(__pyx_8genexpr7__pyx_v_a); + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":328 + * + * + * cpdef is_straight(np.ndarray values, int step): # <<<<<<<<<<<<<< + * cdef int total_cnt = 0 + * cdef int cnt = 0 + */ + +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_29is_straight(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static PyObject *__pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_is_straight(PyArrayObject *__pyx_v_values, int __pyx_v_step, CYTHON_UNUSED int __pyx_skip_dispatch) { + int __pyx_v_total_cnt; + int __pyx_v_cnt; + double __pyx_v_THRESHOLD; + PyObject *__pyx_v_i = NULL; + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + Py_ssize_t __pyx_t_1; + PyObject *__pyx_t_2 = NULL; + PyObject *__pyx_t_3 = NULL; + PyObject *(*__pyx_t_4)(PyObject *); + PyObject *__pyx_t_5 = NULL; + PyObject *__pyx_t_6 = NULL; + PyObject *__pyx_t_7 = NULL; + PyObject *__pyx_t_8 = NULL; + PyObject *__pyx_t_9 = NULL; + Py_ssize_t __pyx_t_10; + PyObject *__pyx_t_11 = NULL; + PyObject *__pyx_t_12 = NULL; + int __pyx_t_13; + int __pyx_t_14; + long __pyx_t_15; + long __pyx_t_16; + long __pyx_t_17; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("is_straight", 1); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":329 + * + * cpdef is_straight(np.ndarray values, int step): + * cdef int total_cnt = 0 # <<<<<<<<<<<<<< + * cdef int cnt = 0 + * cdef double THRESHOLD = 1e-8 + */ + __pyx_v_total_cnt = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":330 + * cpdef is_straight(np.ndarray values, int step): + * cdef int total_cnt = 0 + * cdef int cnt = 0 # <<<<<<<<<<<<<< + * cdef double THRESHOLD = 1e-8 + * for i in range(len(values)): + */ + __pyx_v_cnt = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":331 + * cdef int total_cnt = 0 + * cdef int cnt = 0 + * cdef double THRESHOLD = 1e-8 # <<<<<<<<<<<<<< + * for i in range(len(values)): + * if np.abs(np.var(values[i:min(len(values), i + step)])) - 0.0 < THRESHOLD: + */ + __pyx_v_THRESHOLD = 1e-8; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":332 + * cdef int cnt = 0 + * cdef double THRESHOLD = 1e-8 + * for i in range(len(values)): # <<<<<<<<<<<<<< + * if np.abs(np.var(values[i:min(len(values), i + step)])) - 0.0 < THRESHOLD: + * cnt += 1 + */ + __pyx_t_1 = PyObject_Length(((PyObject *)__pyx_v_values)); if (unlikely(__pyx_t_1 == ((Py_ssize_t)-1))) __PYX_ERR(0, 332, __pyx_L1_error) + __pyx_t_2 = PyInt_FromSsize_t(__pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 332, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_3 = __Pyx_PyObject_CallOneArg(__pyx_builtin_range, __pyx_t_2); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 332, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + if (likely(PyList_CheckExact(__pyx_t_3)) || PyTuple_CheckExact(__pyx_t_3)) { + __pyx_t_2 = __pyx_t_3; __Pyx_INCREF(__pyx_t_2); + __pyx_t_1 = 0; + __pyx_t_4 = NULL; + } else { + __pyx_t_1 = -1; __pyx_t_2 = PyObject_GetIter(__pyx_t_3); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 332, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_4 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 332, __pyx_L1_error) + } + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + for (;;) { + if (likely(!__pyx_t_4)) { + if (likely(PyList_CheckExact(__pyx_t_2))) { + { + Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_2); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 332, __pyx_L1_error) + #endif + if (__pyx_t_1 >= __pyx_temp) break; + } + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + __pyx_t_3 = PyList_GET_ITEM(__pyx_t_2, __pyx_t_1); __Pyx_INCREF(__pyx_t_3); __pyx_t_1++; if (unlikely((0 < 0))) __PYX_ERR(0, 332, __pyx_L1_error) + #else + __pyx_t_3 = __Pyx_PySequence_ITEM(__pyx_t_2, __pyx_t_1); __pyx_t_1++; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 332, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + #endif + } else { + { + Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_2); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 332, __pyx_L1_error) + #endif + if (__pyx_t_1 >= __pyx_temp) break; + } + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + __pyx_t_3 = PyTuple_GET_ITEM(__pyx_t_2, __pyx_t_1); __Pyx_INCREF(__pyx_t_3); __pyx_t_1++; if (unlikely((0 < 0))) __PYX_ERR(0, 332, __pyx_L1_error) + #else + __pyx_t_3 = __Pyx_PySequence_ITEM(__pyx_t_2, __pyx_t_1); __pyx_t_1++; if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 332, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + #endif + } + } else { + __pyx_t_3 = __pyx_t_4(__pyx_t_2); + if (unlikely(!__pyx_t_3)) { + PyObject* exc_type = PyErr_Occurred(); + if (exc_type) { + if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear(); + else __PYX_ERR(0, 332, __pyx_L1_error) + } + break; + } + __Pyx_GOTREF(__pyx_t_3); + } + __Pyx_XDECREF_SET(__pyx_v_i, __pyx_t_3); + __pyx_t_3 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":333 + * cdef double THRESHOLD = 1e-8 + * for i in range(len(values)): + * if np.abs(np.var(values[i:min(len(values), i + step)])) - 0.0 < THRESHOLD: # <<<<<<<<<<<<<< + * cnt += 1 + * total_cnt += 1 + */ + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_np); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 333, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_abs); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 333, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_np); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 333, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + __pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_var); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 333, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_8); + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_7 = __Pyx_PyInt_From_int(__pyx_v_step); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 333, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + __pyx_t_9 = PyNumber_Add(__pyx_v_i, __pyx_t_7); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 333, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_9); + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_10 = PyObject_Length(((PyObject *)__pyx_v_values)); if (unlikely(__pyx_t_10 == ((Py_ssize_t)-1))) __PYX_ERR(0, 333, __pyx_L1_error) + __pyx_t_11 = PyInt_FromSsize_t(__pyx_t_10); if (unlikely(!__pyx_t_11)) __PYX_ERR(0, 333, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_11); + __pyx_t_12 = PyObject_RichCompare(__pyx_t_9, __pyx_t_11, Py_LT); __Pyx_XGOTREF(__pyx_t_12); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 333, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_11); __pyx_t_11 = 0; + __pyx_t_13 = __Pyx_PyObject_IsTrue(__pyx_t_12); if (unlikely((__pyx_t_13 < 0))) __PYX_ERR(0, 333, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0; + if (__pyx_t_13) { + __Pyx_INCREF(__pyx_t_9); + __pyx_t_7 = __pyx_t_9; + } else { + __pyx_t_12 = PyInt_FromSsize_t(__pyx_t_10); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 333, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_12); + __pyx_t_7 = __pyx_t_12; + __pyx_t_12 = 0; + } + __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; + __pyx_t_9 = __Pyx_PyObject_GetSlice(((PyObject *)__pyx_v_values), 0, 0, &__pyx_v_i, &__pyx_t_7, NULL, 0, 0, 1); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 333, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_9); + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_7 = NULL; + __pyx_t_14 = 0; + #if CYTHON_UNPACK_METHODS + if (unlikely(PyMethod_Check(__pyx_t_8))) { + __pyx_t_7 = PyMethod_GET_SELF(__pyx_t_8); + if (likely(__pyx_t_7)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_8); + __Pyx_INCREF(__pyx_t_7); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_8, function); + __pyx_t_14 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[2] = {__pyx_t_7, __pyx_t_9}; + __pyx_t_5 = __Pyx_PyObject_FastCall(__pyx_t_8, __pyx_callargs+1-__pyx_t_14, 1+__pyx_t_14); + __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_DECREF(__pyx_t_9); __pyx_t_9 = 0; + if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 333, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0; + } + __pyx_t_8 = NULL; + __pyx_t_14 = 0; + #if CYTHON_UNPACK_METHODS + if (unlikely(PyMethod_Check(__pyx_t_6))) { + __pyx_t_8 = PyMethod_GET_SELF(__pyx_t_6); + if (likely(__pyx_t_8)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_6); + __Pyx_INCREF(__pyx_t_8); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_6, function); + __pyx_t_14 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[2] = {__pyx_t_8, __pyx_t_5}; + __pyx_t_3 = __Pyx_PyObject_FastCall(__pyx_t_6, __pyx_callargs+1-__pyx_t_14, 1+__pyx_t_14); + __Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0; + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 333, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + } + __pyx_t_6 = __Pyx_PyFloat_SubtractObjC(__pyx_t_3, __pyx_float_0_0, 0.0, 0, 0); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 333, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_3 = PyFloat_FromDouble(__pyx_v_THRESHOLD); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 333, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_3); + __pyx_t_5 = PyObject_RichCompare(__pyx_t_6, __pyx_t_3, Py_LT); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 333, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + __Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0; + __pyx_t_13 = __Pyx_PyObject_IsTrue(__pyx_t_5); if (unlikely((__pyx_t_13 < 0))) __PYX_ERR(0, 333, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + if (__pyx_t_13) { + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":334 + * for i in range(len(values)): + * if np.abs(np.var(values[i:min(len(values), i + step)])) - 0.0 < THRESHOLD: + * cnt += 1 # <<<<<<<<<<<<<< + * total_cnt += 1 + * total_cnt = max(1, total_cnt // 2) + */ + __pyx_v_cnt = (__pyx_v_cnt + 1); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":333 + * cdef double THRESHOLD = 1e-8 + * for i in range(len(values)): + * if np.abs(np.var(values[i:min(len(values), i + step)])) - 0.0 < THRESHOLD: # <<<<<<<<<<<<<< + * cnt += 1 + * total_cnt += 1 + */ + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":335 + * if np.abs(np.var(values[i:min(len(values), i + step)])) - 0.0 < THRESHOLD: + * cnt += 1 + * total_cnt += 1 # <<<<<<<<<<<<<< + * total_cnt = max(1, total_cnt // 2) + * return total_cnt <= cnt + */ + __pyx_v_total_cnt = (__pyx_v_total_cnt + 1); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":332 + * cdef int cnt = 0 + * cdef double THRESHOLD = 1e-8 + * for i in range(len(values)): # <<<<<<<<<<<<<< + * if np.abs(np.var(values[i:min(len(values), i + step)])) - 0.0 < THRESHOLD: + * cnt += 1 + */ + } + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":336 + * cnt += 1 + * total_cnt += 1 + * total_cnt = max(1, total_cnt // 2) # <<<<<<<<<<<<<< + * return total_cnt <= cnt + * + */ + __pyx_t_15 = __Pyx_div_long(__pyx_v_total_cnt, 2); + __pyx_t_16 = 1; + __pyx_t_13 = (__pyx_t_15 > __pyx_t_16); + if (__pyx_t_13) { + __pyx_t_17 = __pyx_t_15; + } else { + __pyx_t_17 = __pyx_t_16; + } + __pyx_v_total_cnt = __pyx_t_17; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":337 + * total_cnt += 1 + * total_cnt = max(1, total_cnt // 2) + * return total_cnt <= cnt # <<<<<<<<<<<<<< + * + * cpdef remove_anomaly_in_bucket(np.ndarray values, int period): + */ + __Pyx_XDECREF(__pyx_r); + __pyx_t_2 = __Pyx_PyBool_FromLong((__pyx_v_total_cnt <= __pyx_v_cnt)); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 337, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_r = __pyx_t_2; + __pyx_t_2 = 0; + goto __pyx_L0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":328 + * + * + * cpdef is_straight(np.ndarray values, int step): # <<<<<<<<<<<<<< + * cdef int total_cnt = 0 + * cdef int cnt = 0 + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_2); + __Pyx_XDECREF(__pyx_t_3); + __Pyx_XDECREF(__pyx_t_5); + __Pyx_XDECREF(__pyx_t_6); + __Pyx_XDECREF(__pyx_t_7); + __Pyx_XDECREF(__pyx_t_8); + __Pyx_XDECREF(__pyx_t_9); + __Pyx_XDECREF(__pyx_t_11); + __Pyx_XDECREF(__pyx_t_12); + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.is_straight", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = 0; + __pyx_L0:; + __Pyx_XDECREF(__pyx_v_i); + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* Python wrapper */ +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_29is_straight(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static PyMethodDef __pyx_mdef_16anomaly_detector_10univariate_22_anomaly_kernel_cython_29is_straight = {"is_straight", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_29is_straight, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_29is_straight(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +) { + PyArrayObject *__pyx_v_values = 0; + int __pyx_v_step; + #if !CYTHON_METH_FASTCALL + CYTHON_UNUSED Py_ssize_t __pyx_nargs; + #endif + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject* values[2] = {0,0}; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("is_straight (wrapper)", 0); + #if !CYTHON_METH_FASTCALL + #if CYTHON_ASSUME_SAFE_MACROS + __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); + #else + __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL; + #endif + #endif + __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs); + { + PyObject **__pyx_pyargnames[] = {&__pyx_n_s_values,&__pyx_n_s_step,0}; + if (__pyx_kwds) { + Py_ssize_t kw_args; + switch (__pyx_nargs) { + case 2: values[1] = __Pyx_Arg_FASTCALL(__pyx_args, 1); + CYTHON_FALLTHROUGH; + case 1: values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); + CYTHON_FALLTHROUGH; + case 0: break; + default: goto __pyx_L5_argtuple_error; + } + kw_args = __Pyx_NumKwargs_FASTCALL(__pyx_kwds); + switch (__pyx_nargs) { + case 0: + if (likely((values[0] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_values)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[0]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 328, __pyx_L3_error) + else goto __pyx_L5_argtuple_error; + CYTHON_FALLTHROUGH; + case 1: + if (likely((values[1] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_step)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[1]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 328, __pyx_L3_error) + else { + __Pyx_RaiseArgtupleInvalid("is_straight", 1, 2, 2, 1); __PYX_ERR(0, 328, __pyx_L3_error) + } + } + if (unlikely(kw_args > 0)) { + const Py_ssize_t kwd_pos_args = __pyx_nargs; + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "is_straight") < 0)) __PYX_ERR(0, 328, __pyx_L3_error) + } + } else if (unlikely(__pyx_nargs != 2)) { + goto __pyx_L5_argtuple_error; + } else { + values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); + values[1] = __Pyx_Arg_FASTCALL(__pyx_args, 1); + } + __pyx_v_values = ((PyArrayObject *)values[0]); + __pyx_v_step = __Pyx_PyInt_As_int(values[1]); if (unlikely((__pyx_v_step == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 328, __pyx_L3_error) + } + goto __pyx_L6_skip; + __pyx_L5_argtuple_error:; + __Pyx_RaiseArgtupleInvalid("is_straight", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 328, __pyx_L3_error) + __pyx_L6_skip:; + goto __pyx_L4_argument_unpacking_done; + __pyx_L3_error:; + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]); + } + } + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.is_straight", __pyx_clineno, __pyx_lineno, __pyx_filename); + __Pyx_RefNannyFinishContext(); + return NULL; + __pyx_L4_argument_unpacking_done:; + if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_values), __pyx_ptype_5numpy_ndarray, 1, "values", 0))) __PYX_ERR(0, 328, __pyx_L1_error) + __pyx_r = __pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_28is_straight(__pyx_self, __pyx_v_values, __pyx_v_step); + + /* function exit code */ + goto __pyx_L0; + __pyx_L1_error:; + __pyx_r = NULL; + __pyx_L0:; + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]); + } + } + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_28is_straight(CYTHON_UNUSED PyObject *__pyx_self, PyArrayObject *__pyx_v_values, int __pyx_v_step) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("is_straight", 1); + __Pyx_XDECREF(__pyx_r); + __pyx_t_1 = __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_is_straight(__pyx_v_values, __pyx_v_step, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 328, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_r = __pyx_t_1; + __pyx_t_1 = 0; + goto __pyx_L0; + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.is_straight", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":339 + * return total_cnt <= cnt + * + * cpdef remove_anomaly_in_bucket(np.ndarray values, int period): # <<<<<<<<<<<<<< + * cdef float[:] sub_values_array + * for i in range(period): + */ + +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_31remove_anomaly_in_bucket(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static PyObject *__pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_remove_anomaly_in_bucket(PyArrayObject *__pyx_v_values, int __pyx_v_period, CYTHON_UNUSED int __pyx_skip_dispatch) { + __Pyx_memviewslice __pyx_v_sub_values_array = { 0, 0, { 0 }, { 0 }, { 0 } }; + PyObject *__pyx_v_i = NULL; + PyObject *__pyx_v_sub_values = NULL; + float __pyx_v_median; + double __pyx_v_mad; + PyObject *__pyx_v_spike_index = NULL; + Py_ssize_t __pyx_v_k; + PyObject *__pyx_8genexpr8__pyx_v_x = NULL; + PyObject *__pyx_8genexpr9__pyx_v_x = NULL; + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; + Py_ssize_t __pyx_t_3; + PyObject *(*__pyx_t_4)(PyObject *); + PyObject *__pyx_t_5 = NULL; + PyObject *__pyx_t_6 = NULL; + PyObject *__pyx_t_7 = NULL; + Py_ssize_t __pyx_t_8; + PyObject *(*__pyx_t_9)(PyObject *); + PyObject *__pyx_t_10 = NULL; + int __pyx_t_11; + __Pyx_memviewslice __pyx_t_12 = { 0, 0, { 0 }, { 0 }, { 0 } }; + float __pyx_t_13; + Py_ssize_t __pyx_t_14; + Py_ssize_t __pyx_t_15; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("remove_anomaly_in_bucket", 1); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":341 + * cpdef remove_anomaly_in_bucket(np.ndarray values, int period): + * cdef float[:] sub_values_array + * for i in range(period): # <<<<<<<<<<<<<< + * sub_values = values[i::period] + * sub_values_array = array.array('f', [x for x in sub_values]) + */ + __pyx_t_1 = __Pyx_PyInt_From_int(__pyx_v_period); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 341, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_t_2 = __Pyx_PyObject_CallOneArg(__pyx_builtin_range, __pyx_t_1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 341, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + if (likely(PyList_CheckExact(__pyx_t_2)) || PyTuple_CheckExact(__pyx_t_2)) { + __pyx_t_1 = __pyx_t_2; __Pyx_INCREF(__pyx_t_1); + __pyx_t_3 = 0; + __pyx_t_4 = NULL; + } else { + __pyx_t_3 = -1; __pyx_t_1 = PyObject_GetIter(__pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 341, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_t_4 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 341, __pyx_L1_error) + } + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + for (;;) { + if (likely(!__pyx_t_4)) { + if (likely(PyList_CheckExact(__pyx_t_1))) { + { + Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_1); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 341, __pyx_L1_error) + #endif + if (__pyx_t_3 >= __pyx_temp) break; + } + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + __pyx_t_2 = PyList_GET_ITEM(__pyx_t_1, __pyx_t_3); __Pyx_INCREF(__pyx_t_2); __pyx_t_3++; if (unlikely((0 < 0))) __PYX_ERR(0, 341, __pyx_L1_error) + #else + __pyx_t_2 = __Pyx_PySequence_ITEM(__pyx_t_1, __pyx_t_3); __pyx_t_3++; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 341, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + #endif + } else { + { + Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_1); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 341, __pyx_L1_error) + #endif + if (__pyx_t_3 >= __pyx_temp) break; + } + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + __pyx_t_2 = PyTuple_GET_ITEM(__pyx_t_1, __pyx_t_3); __Pyx_INCREF(__pyx_t_2); __pyx_t_3++; if (unlikely((0 < 0))) __PYX_ERR(0, 341, __pyx_L1_error) + #else + __pyx_t_2 = __Pyx_PySequence_ITEM(__pyx_t_1, __pyx_t_3); __pyx_t_3++; if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 341, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + #endif + } + } else { + __pyx_t_2 = __pyx_t_4(__pyx_t_1); + if (unlikely(!__pyx_t_2)) { + PyObject* exc_type = PyErr_Occurred(); + if (exc_type) { + if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear(); + else __PYX_ERR(0, 341, __pyx_L1_error) + } + break; + } + __Pyx_GOTREF(__pyx_t_2); + } + __Pyx_XDECREF_SET(__pyx_v_i, __pyx_t_2); + __pyx_t_2 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":342 + * cdef float[:] sub_values_array + * for i in range(period): + * sub_values = values[i::period] # <<<<<<<<<<<<<< + * sub_values_array = array.array('f', [x for x in sub_values]) + * median = fast_median(sub_values_array) + */ + __pyx_t_2 = __Pyx_PyInt_From_int(__pyx_v_period); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 342, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_5 = PySlice_New(__pyx_v_i, Py_None, __pyx_t_2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 342, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __pyx_t_2 = __Pyx_PyObject_GetItem(((PyObject *)__pyx_v_values), __pyx_t_5); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 342, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __Pyx_XDECREF_SET(__pyx_v_sub_values, __pyx_t_2); + __pyx_t_2 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":343 + * for i in range(period): + * sub_values = values[i::period] + * sub_values_array = array.array('f', [x for x in sub_values]) # <<<<<<<<<<<<<< + * median = fast_median(sub_values_array) + * sub_values_array = array.array('f', [x for x in (sub_values - median)]) + */ + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_array); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 343, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_array); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 343, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + { /* enter inner scope */ + __pyx_t_5 = PyList_New(0); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 343, __pyx_L7_error) + __Pyx_GOTREF(__pyx_t_5); + if (likely(PyList_CheckExact(__pyx_v_sub_values)) || PyTuple_CheckExact(__pyx_v_sub_values)) { + __pyx_t_7 = __pyx_v_sub_values; __Pyx_INCREF(__pyx_t_7); + __pyx_t_8 = 0; + __pyx_t_9 = NULL; + } else { + __pyx_t_8 = -1; __pyx_t_7 = PyObject_GetIter(__pyx_v_sub_values); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 343, __pyx_L7_error) + __Pyx_GOTREF(__pyx_t_7); + __pyx_t_9 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_7); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 343, __pyx_L7_error) + } + for (;;) { + if (likely(!__pyx_t_9)) { + if (likely(PyList_CheckExact(__pyx_t_7))) { + { + Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_7); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 343, __pyx_L7_error) + #endif + if (__pyx_t_8 >= __pyx_temp) break; + } + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + __pyx_t_10 = PyList_GET_ITEM(__pyx_t_7, __pyx_t_8); __Pyx_INCREF(__pyx_t_10); __pyx_t_8++; if (unlikely((0 < 0))) __PYX_ERR(0, 343, __pyx_L7_error) + #else + __pyx_t_10 = __Pyx_PySequence_ITEM(__pyx_t_7, __pyx_t_8); __pyx_t_8++; if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 343, __pyx_L7_error) + __Pyx_GOTREF(__pyx_t_10); + #endif + } else { + { + Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_7); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 343, __pyx_L7_error) + #endif + if (__pyx_t_8 >= __pyx_temp) break; + } + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + __pyx_t_10 = PyTuple_GET_ITEM(__pyx_t_7, __pyx_t_8); __Pyx_INCREF(__pyx_t_10); __pyx_t_8++; if (unlikely((0 < 0))) __PYX_ERR(0, 343, __pyx_L7_error) + #else + __pyx_t_10 = __Pyx_PySequence_ITEM(__pyx_t_7, __pyx_t_8); __pyx_t_8++; if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 343, __pyx_L7_error) + __Pyx_GOTREF(__pyx_t_10); + #endif + } + } else { + __pyx_t_10 = __pyx_t_9(__pyx_t_7); + if (unlikely(!__pyx_t_10)) { + PyObject* exc_type = PyErr_Occurred(); + if (exc_type) { + if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear(); + else __PYX_ERR(0, 343, __pyx_L7_error) + } + break; + } + __Pyx_GOTREF(__pyx_t_10); + } + __Pyx_XDECREF_SET(__pyx_8genexpr8__pyx_v_x, __pyx_t_10); + __pyx_t_10 = 0; + if (unlikely(__Pyx_ListComp_Append(__pyx_t_5, (PyObject*)__pyx_8genexpr8__pyx_v_x))) __PYX_ERR(0, 343, __pyx_L7_error) + } + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_XDECREF(__pyx_8genexpr8__pyx_v_x); __pyx_8genexpr8__pyx_v_x = 0; + goto __pyx_L11_exit_scope; + __pyx_L7_error:; + __Pyx_XDECREF(__pyx_8genexpr8__pyx_v_x); __pyx_8genexpr8__pyx_v_x = 0; + goto __pyx_L1_error; + __pyx_L11_exit_scope:; + } /* exit inner scope */ + __pyx_t_7 = NULL; + __pyx_t_11 = 0; + #if CYTHON_UNPACK_METHODS + if (unlikely(PyMethod_Check(__pyx_t_6))) { + __pyx_t_7 = PyMethod_GET_SELF(__pyx_t_6); + if (likely(__pyx_t_7)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_6); + __Pyx_INCREF(__pyx_t_7); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_6, function); + __pyx_t_11 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[3] = {__pyx_t_7, __pyx_n_s_f, __pyx_t_5}; + __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_6, __pyx_callargs+1-__pyx_t_11, 2+__pyx_t_11); + __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 343, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + } + __pyx_t_12 = __Pyx_PyObject_to_MemoryviewSlice_ds_float(__pyx_t_2, PyBUF_WRITABLE); if (unlikely(!__pyx_t_12.memview)) __PYX_ERR(0, 343, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __PYX_XCLEAR_MEMVIEW(&__pyx_v_sub_values_array, 1); + __pyx_v_sub_values_array = __pyx_t_12; + __pyx_t_12.memview = NULL; + __pyx_t_12.data = NULL; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":344 + * sub_values = values[i::period] + * sub_values_array = array.array('f', [x for x in sub_values]) + * median = fast_median(sub_values_array) # <<<<<<<<<<<<<< + * sub_values_array = array.array('f', [x for x in (sub_values - median)]) + * mad = 1.4826 * fast_median(sub_values_array) + 1e-8 + */ + __pyx_t_13 = __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_fast_median(__pyx_v_sub_values_array, 0); if (unlikely(__pyx_t_13 == ((float)-1) && PyErr_Occurred())) __PYX_ERR(0, 344, __pyx_L1_error) + __pyx_v_median = __pyx_t_13; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":345 + * sub_values_array = array.array('f', [x for x in sub_values]) + * median = fast_median(sub_values_array) + * sub_values_array = array.array('f', [x for x in (sub_values - median)]) # <<<<<<<<<<<<<< + * mad = 1.4826 * fast_median(sub_values_array) + 1e-8 + * spike_index = np.where((sub_values - median) / mad >= 3.0)[0] + */ + __Pyx_GetModuleGlobalName(__pyx_t_6, __pyx_n_s_array); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 345, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_6, __pyx_n_s_array); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 345, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + { /* enter inner scope */ + __pyx_t_6 = PyList_New(0); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 345, __pyx_L14_error) + __Pyx_GOTREF(__pyx_t_6); + __pyx_t_7 = PyFloat_FromDouble(__pyx_v_median); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 345, __pyx_L14_error) + __Pyx_GOTREF(__pyx_t_7); + __pyx_t_10 = PyNumber_Subtract(__pyx_v_sub_values, __pyx_t_7); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 345, __pyx_L14_error) + __Pyx_GOTREF(__pyx_t_10); + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + if (likely(PyList_CheckExact(__pyx_t_10)) || PyTuple_CheckExact(__pyx_t_10)) { + __pyx_t_7 = __pyx_t_10; __Pyx_INCREF(__pyx_t_7); + __pyx_t_8 = 0; + __pyx_t_9 = NULL; + } else { + __pyx_t_8 = -1; __pyx_t_7 = PyObject_GetIter(__pyx_t_10); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 345, __pyx_L14_error) + __Pyx_GOTREF(__pyx_t_7); + __pyx_t_9 = __Pyx_PyObject_GetIterNextFunc(__pyx_t_7); if (unlikely(!__pyx_t_9)) __PYX_ERR(0, 345, __pyx_L14_error) + } + __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; + for (;;) { + if (likely(!__pyx_t_9)) { + if (likely(PyList_CheckExact(__pyx_t_7))) { + { + Py_ssize_t __pyx_temp = __Pyx_PyList_GET_SIZE(__pyx_t_7); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 345, __pyx_L14_error) + #endif + if (__pyx_t_8 >= __pyx_temp) break; + } + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + __pyx_t_10 = PyList_GET_ITEM(__pyx_t_7, __pyx_t_8); __Pyx_INCREF(__pyx_t_10); __pyx_t_8++; if (unlikely((0 < 0))) __PYX_ERR(0, 345, __pyx_L14_error) + #else + __pyx_t_10 = __Pyx_PySequence_ITEM(__pyx_t_7, __pyx_t_8); __pyx_t_8++; if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 345, __pyx_L14_error) + __Pyx_GOTREF(__pyx_t_10); + #endif + } else { + { + Py_ssize_t __pyx_temp = __Pyx_PyTuple_GET_SIZE(__pyx_t_7); + #if !CYTHON_ASSUME_SAFE_MACROS + if (unlikely((__pyx_temp < 0))) __PYX_ERR(0, 345, __pyx_L14_error) + #endif + if (__pyx_t_8 >= __pyx_temp) break; + } + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + __pyx_t_10 = PyTuple_GET_ITEM(__pyx_t_7, __pyx_t_8); __Pyx_INCREF(__pyx_t_10); __pyx_t_8++; if (unlikely((0 < 0))) __PYX_ERR(0, 345, __pyx_L14_error) + #else + __pyx_t_10 = __Pyx_PySequence_ITEM(__pyx_t_7, __pyx_t_8); __pyx_t_8++; if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 345, __pyx_L14_error) + __Pyx_GOTREF(__pyx_t_10); + #endif + } + } else { + __pyx_t_10 = __pyx_t_9(__pyx_t_7); + if (unlikely(!__pyx_t_10)) { + PyObject* exc_type = PyErr_Occurred(); + if (exc_type) { + if (likely(__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) PyErr_Clear(); + else __PYX_ERR(0, 345, __pyx_L14_error) + } + break; + } + __Pyx_GOTREF(__pyx_t_10); + } + __Pyx_XDECREF_SET(__pyx_8genexpr9__pyx_v_x, __pyx_t_10); + __pyx_t_10 = 0; + if (unlikely(__Pyx_ListComp_Append(__pyx_t_6, (PyObject*)__pyx_8genexpr9__pyx_v_x))) __PYX_ERR(0, 345, __pyx_L14_error) + } + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_XDECREF(__pyx_8genexpr9__pyx_v_x); __pyx_8genexpr9__pyx_v_x = 0; + goto __pyx_L18_exit_scope; + __pyx_L14_error:; + __Pyx_XDECREF(__pyx_8genexpr9__pyx_v_x); __pyx_8genexpr9__pyx_v_x = 0; + goto __pyx_L1_error; + __pyx_L18_exit_scope:; + } /* exit inner scope */ + __pyx_t_7 = NULL; + __pyx_t_11 = 0; + #if CYTHON_UNPACK_METHODS + if (unlikely(PyMethod_Check(__pyx_t_5))) { + __pyx_t_7 = PyMethod_GET_SELF(__pyx_t_5); + if (likely(__pyx_t_7)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_5); + __Pyx_INCREF(__pyx_t_7); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_5, function); + __pyx_t_11 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[3] = {__pyx_t_7, __pyx_n_s_f, __pyx_t_6}; + __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+1-__pyx_t_11, 2+__pyx_t_11); + __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 345, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + } + __pyx_t_12 = __Pyx_PyObject_to_MemoryviewSlice_ds_float(__pyx_t_2, PyBUF_WRITABLE); if (unlikely(!__pyx_t_12.memview)) __PYX_ERR(0, 345, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __PYX_XCLEAR_MEMVIEW(&__pyx_v_sub_values_array, 1); + __pyx_v_sub_values_array = __pyx_t_12; + __pyx_t_12.memview = NULL; + __pyx_t_12.data = NULL; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":346 + * median = fast_median(sub_values_array) + * sub_values_array = array.array('f', [x for x in (sub_values - median)]) + * mad = 1.4826 * fast_median(sub_values_array) + 1e-8 # <<<<<<<<<<<<<< + * spike_index = np.where((sub_values - median) / mad >= 3.0)[0] + * for k in range(len(spike_index)): + */ + __pyx_t_13 = __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_fast_median(__pyx_v_sub_values_array, 0); if (unlikely(__pyx_t_13 == ((float)-1) && PyErr_Occurred())) __PYX_ERR(0, 346, __pyx_L1_error) + __pyx_v_mad = ((1.4826 * __pyx_t_13) + 1e-8); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":347 + * sub_values_array = array.array('f', [x for x in (sub_values - median)]) + * mad = 1.4826 * fast_median(sub_values_array) + 1e-8 + * spike_index = np.where((sub_values - median) / mad >= 3.0)[0] # <<<<<<<<<<<<<< + * for k in range(len(spike_index)): + * values[spike_index[k] * period + i] = median + */ + __Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_np); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 347, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_t_6 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_where); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 347, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __pyx_t_5 = PyFloat_FromDouble(__pyx_v_median); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 347, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_t_7 = PyNumber_Subtract(__pyx_v_sub_values, __pyx_t_5); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 347, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __pyx_t_5 = PyFloat_FromDouble(__pyx_v_mad); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 347, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_t_10 = __Pyx_PyNumber_Divide(__pyx_t_7, __pyx_t_5); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 347, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_10); + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __pyx_t_5 = PyObject_RichCompare(__pyx_t_10, __pyx_float_3_0, Py_GE); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 347, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; + __pyx_t_10 = NULL; + __pyx_t_11 = 0; + #if CYTHON_UNPACK_METHODS + if (unlikely(PyMethod_Check(__pyx_t_6))) { + __pyx_t_10 = PyMethod_GET_SELF(__pyx_t_6); + if (likely(__pyx_t_10)) { + PyObject* function = PyMethod_GET_FUNCTION(__pyx_t_6); + __Pyx_INCREF(__pyx_t_10); + __Pyx_INCREF(function); + __Pyx_DECREF_SET(__pyx_t_6, function); + __pyx_t_11 = 1; + } + } + #endif + { + PyObject *__pyx_callargs[2] = {__pyx_t_10, __pyx_t_5}; + __pyx_t_2 = __Pyx_PyObject_FastCall(__pyx_t_6, __pyx_callargs+1-__pyx_t_11, 1+__pyx_t_11); + __Pyx_XDECREF(__pyx_t_10); __pyx_t_10 = 0; + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 347, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + } + __pyx_t_6 = __Pyx_GetItemInt(__pyx_t_2, 0, long, 1, __Pyx_PyInt_From_long, 0, 0, 1); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 347, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_XDECREF_SET(__pyx_v_spike_index, __pyx_t_6); + __pyx_t_6 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":348 + * mad = 1.4826 * fast_median(sub_values_array) + 1e-8 + * spike_index = np.where((sub_values - median) / mad >= 3.0)[0] + * for k in range(len(spike_index)): # <<<<<<<<<<<<<< + * values[spike_index[k] * period + i] = median + * return values + */ + __pyx_t_8 = PyObject_Length(__pyx_v_spike_index); if (unlikely(__pyx_t_8 == ((Py_ssize_t)-1))) __PYX_ERR(0, 348, __pyx_L1_error) + __pyx_t_14 = __pyx_t_8; + for (__pyx_t_15 = 0; __pyx_t_15 < __pyx_t_14; __pyx_t_15+=1) { + __pyx_v_k = __pyx_t_15; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":349 + * spike_index = np.where((sub_values - median) / mad >= 3.0)[0] + * for k in range(len(spike_index)): + * values[spike_index[k] * period + i] = median # <<<<<<<<<<<<<< + * return values + */ + __pyx_t_6 = PyFloat_FromDouble(__pyx_v_median); if (unlikely(!__pyx_t_6)) __PYX_ERR(0, 349, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_6); + __pyx_t_2 = __Pyx_GetItemInt(__pyx_v_spike_index, __pyx_v_k, Py_ssize_t, 1, PyInt_FromSsize_t, 0, 1, 1); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 349, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_2); + __pyx_t_5 = __Pyx_PyInt_From_int(__pyx_v_period); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 349, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __pyx_t_10 = PyNumber_Multiply(__pyx_t_2, __pyx_t_5); if (unlikely(!__pyx_t_10)) __PYX_ERR(0, 349, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_10); + __Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __pyx_t_5 = PyNumber_Add(__pyx_t_10, __pyx_v_i); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 349, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __Pyx_DECREF(__pyx_t_10); __pyx_t_10 = 0; + if (unlikely((PyObject_SetItem(((PyObject *)__pyx_v_values), __pyx_t_5, __pyx_t_6) < 0))) __PYX_ERR(0, 349, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __Pyx_DECREF(__pyx_t_6); __pyx_t_6 = 0; + } + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":341 + * cpdef remove_anomaly_in_bucket(np.ndarray values, int period): + * cdef float[:] sub_values_array + * for i in range(period): # <<<<<<<<<<<<<< + * sub_values = values[i::period] + * sub_values_array = array.array('f', [x for x in sub_values]) + */ + } + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":350 + * for k in range(len(spike_index)): + * values[spike_index[k] * period + i] = median + * return values # <<<<<<<<<<<<<< + */ + __Pyx_XDECREF(__pyx_r); + __Pyx_INCREF((PyObject *)__pyx_v_values); + __pyx_r = ((PyObject *)__pyx_v_values); + goto __pyx_L0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":339 + * return total_cnt <= cnt + * + * cpdef remove_anomaly_in_bucket(np.ndarray values, int period): # <<<<<<<<<<<<<< + * cdef float[:] sub_values_array + * for i in range(period): + */ + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_XDECREF(__pyx_t_2); + __Pyx_XDECREF(__pyx_t_5); + __Pyx_XDECREF(__pyx_t_6); + __Pyx_XDECREF(__pyx_t_7); + __Pyx_XDECREF(__pyx_t_10); + __PYX_XCLEAR_MEMVIEW(&__pyx_t_12, 1); + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.remove_anomaly_in_bucket", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = 0; + __pyx_L0:; + __PYX_XCLEAR_MEMVIEW(&__pyx_v_sub_values_array, 1); + __Pyx_XDECREF(__pyx_v_i); + __Pyx_XDECREF(__pyx_v_sub_values); + __Pyx_XDECREF(__pyx_v_spike_index); + __Pyx_XDECREF(__pyx_8genexpr8__pyx_v_x); + __Pyx_XDECREF(__pyx_8genexpr9__pyx_v_x); + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* Python wrapper */ +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_31remove_anomaly_in_bucket(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +); /*proto*/ +static PyMethodDef __pyx_mdef_16anomaly_detector_10univariate_22_anomaly_kernel_cython_31remove_anomaly_in_bucket = {"remove_anomaly_in_bucket", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_31remove_anomaly_in_bucket, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}; +static PyObject *__pyx_pw_16anomaly_detector_10univariate_22_anomaly_kernel_cython_31remove_anomaly_in_bucket(PyObject *__pyx_self, +#if CYTHON_METH_FASTCALL +PyObject *const *__pyx_args, Py_ssize_t __pyx_nargs, PyObject *__pyx_kwds +#else +PyObject *__pyx_args, PyObject *__pyx_kwds +#endif +) { + PyArrayObject *__pyx_v_values = 0; + int __pyx_v_period; + #if !CYTHON_METH_FASTCALL + CYTHON_UNUSED Py_ssize_t __pyx_nargs; + #endif + CYTHON_UNUSED PyObject *const *__pyx_kwvalues; + PyObject* values[2] = {0,0}; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + PyObject *__pyx_r = 0; + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("remove_anomaly_in_bucket (wrapper)", 0); + #if !CYTHON_METH_FASTCALL + #if CYTHON_ASSUME_SAFE_MACROS + __pyx_nargs = PyTuple_GET_SIZE(__pyx_args); + #else + __pyx_nargs = PyTuple_Size(__pyx_args); if (unlikely(__pyx_nargs < 0)) return NULL; + #endif + #endif + __pyx_kwvalues = __Pyx_KwValues_FASTCALL(__pyx_args, __pyx_nargs); + { + PyObject **__pyx_pyargnames[] = {&__pyx_n_s_values,&__pyx_n_s_period,0}; + if (__pyx_kwds) { + Py_ssize_t kw_args; + switch (__pyx_nargs) { + case 2: values[1] = __Pyx_Arg_FASTCALL(__pyx_args, 1); + CYTHON_FALLTHROUGH; + case 1: values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); + CYTHON_FALLTHROUGH; + case 0: break; + default: goto __pyx_L5_argtuple_error; + } + kw_args = __Pyx_NumKwargs_FASTCALL(__pyx_kwds); + switch (__pyx_nargs) { + case 0: + if (likely((values[0] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_values)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[0]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 339, __pyx_L3_error) + else goto __pyx_L5_argtuple_error; + CYTHON_FALLTHROUGH; + case 1: + if (likely((values[1] = __Pyx_GetKwValue_FASTCALL(__pyx_kwds, __pyx_kwvalues, __pyx_n_s_period)) != 0)) { + (void)__Pyx_Arg_NewRef_FASTCALL(values[1]); + kw_args--; + } + else if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 339, __pyx_L3_error) + else { + __Pyx_RaiseArgtupleInvalid("remove_anomaly_in_bucket", 1, 2, 2, 1); __PYX_ERR(0, 339, __pyx_L3_error) + } + } + if (unlikely(kw_args > 0)) { + const Py_ssize_t kwd_pos_args = __pyx_nargs; + if (unlikely(__Pyx_ParseOptionalKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values + 0, kwd_pos_args, "remove_anomaly_in_bucket") < 0)) __PYX_ERR(0, 339, __pyx_L3_error) + } + } else if (unlikely(__pyx_nargs != 2)) { + goto __pyx_L5_argtuple_error; + } else { + values[0] = __Pyx_Arg_FASTCALL(__pyx_args, 0); + values[1] = __Pyx_Arg_FASTCALL(__pyx_args, 1); + } + __pyx_v_values = ((PyArrayObject *)values[0]); + __pyx_v_period = __Pyx_PyInt_As_int(values[1]); if (unlikely((__pyx_v_period == (int)-1) && PyErr_Occurred())) __PYX_ERR(0, 339, __pyx_L3_error) + } + goto __pyx_L6_skip; + __pyx_L5_argtuple_error:; + __Pyx_RaiseArgtupleInvalid("remove_anomaly_in_bucket", 1, 2, 2, __pyx_nargs); __PYX_ERR(0, 339, __pyx_L3_error) + __pyx_L6_skip:; + goto __pyx_L4_argument_unpacking_done; + __pyx_L3_error:; + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]); + } + } + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.remove_anomaly_in_bucket", __pyx_clineno, __pyx_lineno, __pyx_filename); + __Pyx_RefNannyFinishContext(); + return NULL; + __pyx_L4_argument_unpacking_done:; + if (unlikely(!__Pyx_ArgTypeTest(((PyObject *)__pyx_v_values), __pyx_ptype_5numpy_ndarray, 1, "values", 0))) __PYX_ERR(0, 339, __pyx_L1_error) + __pyx_r = __pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_30remove_anomaly_in_bucket(__pyx_self, __pyx_v_values, __pyx_v_period); + + /* function exit code */ + goto __pyx_L0; + __pyx_L1_error:; + __pyx_r = NULL; + __pyx_L0:; + { + Py_ssize_t __pyx_temp; + for (__pyx_temp=0; __pyx_temp < (Py_ssize_t)(sizeof(values)/sizeof(values[0])); ++__pyx_temp) { + __Pyx_Arg_XDECREF_FASTCALL(values[__pyx_temp]); + } + } + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +static PyObject *__pyx_pf_16anomaly_detector_10univariate_22_anomaly_kernel_cython_30remove_anomaly_in_bucket(CYTHON_UNUSED PyObject *__pyx_self, PyArrayObject *__pyx_v_values, int __pyx_v_period) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("remove_anomaly_in_bucket", 1); + __Pyx_XDECREF(__pyx_r); + __pyx_t_1 = __pyx_f_16anomaly_detector_10univariate_22_anomaly_kernel_cython_remove_anomaly_in_bucket(__pyx_v_values, __pyx_v_period, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 339, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_r = __pyx_t_1; + __pyx_t_1 = 0; + goto __pyx_L0; + + /* function exit code */ + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_AddTraceback("anomaly_detector.univariate._anomaly_kernel_cython.remove_anomaly_in_bucket", __pyx_clineno, __pyx_lineno, __pyx_filename); + __pyx_r = NULL; + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} +static struct __pyx_vtabstruct_array __pyx_vtable_array; + +static PyObject *__pyx_tp_new_array(PyTypeObject *t, PyObject *a, PyObject *k) { + struct __pyx_array_obj *p; + PyObject *o; + #if CYTHON_COMPILING_IN_LIMITED_API + allocfunc alloc_func = (allocfunc)PyType_GetSlot(t, Py_tp_alloc); + o = alloc_func(t, 0); + #else + if (likely(!__Pyx_PyType_HasFeature(t, Py_TPFLAGS_IS_ABSTRACT))) { + o = (*t->tp_alloc)(t, 0); + } else { + o = (PyObject *) PyBaseObject_Type.tp_new(t, __pyx_empty_tuple, 0); + } + if (unlikely(!o)) return 0; + #endif + p = ((struct __pyx_array_obj *)o); + p->__pyx_vtab = __pyx_vtabptr_array; + p->mode = ((PyObject*)Py_None); Py_INCREF(Py_None); + p->_format = ((PyObject*)Py_None); Py_INCREF(Py_None); + if (unlikely(__pyx_array___cinit__(o, a, k) < 0)) goto bad; + return o; + bad: + Py_DECREF(o); o = 0; + return NULL; +} + +static void __pyx_tp_dealloc_array(PyObject *o) { + struct __pyx_array_obj *p = (struct __pyx_array_obj *)o; + #if CYTHON_USE_TP_FINALIZE + if (unlikely((PY_VERSION_HEX >= 0x03080000 || __Pyx_PyType_HasFeature(Py_TYPE(o), Py_TPFLAGS_HAVE_FINALIZE)) && __Pyx_PyObject_GetSlot(o, tp_finalize, destructor)) && (!PyType_IS_GC(Py_TYPE(o)) || !__Pyx_PyObject_GC_IsFinalized(o))) { + if (__Pyx_PyObject_GetSlot(o, tp_dealloc, destructor) == __pyx_tp_dealloc_array) { + if (PyObject_CallFinalizerFromDealloc(o)) return; + } + } + #endif + { + PyObject *etype, *eval, *etb; + PyErr_Fetch(&etype, &eval, &etb); + __Pyx_SET_REFCNT(o, Py_REFCNT(o) + 1); + __pyx_array___dealloc__(o); + __Pyx_SET_REFCNT(o, Py_REFCNT(o) - 1); + PyErr_Restore(etype, eval, etb); + } + Py_CLEAR(p->mode); + Py_CLEAR(p->_format); + #if CYTHON_USE_TYPE_SLOTS || CYTHON_COMPILING_IN_PYPY + (*Py_TYPE(o)->tp_free)(o); + #else + { + freefunc tp_free = (freefunc)PyType_GetSlot(Py_TYPE(o), Py_tp_free); + if (tp_free) tp_free(o); + } + #endif +} +static PyObject *__pyx_sq_item_array(PyObject *o, Py_ssize_t i) { + PyObject *r; + PyObject *x = PyInt_FromSsize_t(i); if(!x) return 0; + r = Py_TYPE(o)->tp_as_mapping->mp_subscript(o, x); + Py_DECREF(x); + return r; +} + +static int __pyx_mp_ass_subscript_array(PyObject *o, PyObject *i, PyObject *v) { + if (v) { + return __pyx_array___setitem__(o, i, v); + } + else { + __Pyx_TypeName o_type_name; + o_type_name = __Pyx_PyType_GetName(Py_TYPE(o)); + PyErr_Format(PyExc_NotImplementedError, + "Subscript deletion not supported by " __Pyx_FMT_TYPENAME, o_type_name); + __Pyx_DECREF_TypeName(o_type_name); + return -1; + } +} + +static PyObject *__pyx_tp_getattro_array(PyObject *o, PyObject *n) { + PyObject *v = __Pyx_PyObject_GenericGetAttr(o, n); + if (!v && PyErr_ExceptionMatches(PyExc_AttributeError)) { + PyErr_Clear(); + v = __pyx_array___getattr__(o, n); + } + return v; +} + +static PyObject *__pyx_getprop___pyx_array_memview(PyObject *o, CYTHON_UNUSED void *x) { + return __pyx_pw_15View_dot_MemoryView_5array_7memview_1__get__(o); +} + +static PyMethodDef __pyx_methods_array[] = { + {"__getattr__", (PyCFunction)__pyx_array___getattr__, METH_O|METH_COEXIST, 0}, + {"__reduce_cython__", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw___pyx_array_1__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}, + {"__setstate_cython__", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw___pyx_array_3__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}, + {0, 0, 0, 0} +}; + +static struct PyGetSetDef __pyx_getsets_array[] = { + {(char *)"memview", __pyx_getprop___pyx_array_memview, 0, (char *)0, 0}, + {0, 0, 0, 0, 0} +}; +#if CYTHON_USE_TYPE_SPECS +#if !CYTHON_COMPILING_IN_LIMITED_API + +static PyBufferProcs __pyx_tp_as_buffer_array = { + #if PY_MAJOR_VERSION < 3 + 0, /*bf_getreadbuffer*/ + #endif + #if PY_MAJOR_VERSION < 3 + 0, /*bf_getwritebuffer*/ + #endif + #if PY_MAJOR_VERSION < 3 + 0, /*bf_getsegcount*/ + #endif + #if PY_MAJOR_VERSION < 3 + 0, /*bf_getcharbuffer*/ + #endif + __pyx_array_getbuffer, /*bf_getbuffer*/ + 0, /*bf_releasebuffer*/ +}; +#endif +static PyType_Slot __pyx_type___pyx_array_slots[] = { + {Py_tp_dealloc, (void *)__pyx_tp_dealloc_array}, + {Py_sq_length, (void *)__pyx_array___len__}, + {Py_sq_item, (void *)__pyx_sq_item_array}, + {Py_mp_length, (void *)__pyx_array___len__}, + {Py_mp_subscript, (void *)__pyx_array___getitem__}, + {Py_mp_ass_subscript, (void *)__pyx_mp_ass_subscript_array}, + {Py_tp_getattro, (void *)__pyx_tp_getattro_array}, + #if defined(Py_bf_getbuffer) + {Py_bf_getbuffer, (void *)__pyx_array_getbuffer}, + #endif + {Py_tp_methods, (void *)__pyx_methods_array}, + {Py_tp_getset, (void *)__pyx_getsets_array}, + {Py_tp_new, (void *)__pyx_tp_new_array}, + {0, 0}, +}; +static PyType_Spec __pyx_type___pyx_array_spec = { + "anomaly_detector.univariate._anomaly_kernel_cython.array", + sizeof(struct __pyx_array_obj), + 0, + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_SEQUENCE, + __pyx_type___pyx_array_slots, +}; +#else + +static PySequenceMethods __pyx_tp_as_sequence_array = { + __pyx_array___len__, /*sq_length*/ + 0, /*sq_concat*/ + 0, /*sq_repeat*/ + __pyx_sq_item_array, /*sq_item*/ + 0, /*sq_slice*/ + 0, /*sq_ass_item*/ + 0, /*sq_ass_slice*/ + 0, /*sq_contains*/ + 0, /*sq_inplace_concat*/ + 0, /*sq_inplace_repeat*/ +}; + +static PyMappingMethods __pyx_tp_as_mapping_array = { + __pyx_array___len__, /*mp_length*/ + __pyx_array___getitem__, /*mp_subscript*/ + __pyx_mp_ass_subscript_array, /*mp_ass_subscript*/ +}; + +static PyBufferProcs __pyx_tp_as_buffer_array = { + #if PY_MAJOR_VERSION < 3 + 0, /*bf_getreadbuffer*/ + #endif + #if PY_MAJOR_VERSION < 3 + 0, /*bf_getwritebuffer*/ + #endif + #if PY_MAJOR_VERSION < 3 + 0, /*bf_getsegcount*/ + #endif + #if PY_MAJOR_VERSION < 3 + 0, /*bf_getcharbuffer*/ + #endif + __pyx_array_getbuffer, /*bf_getbuffer*/ + 0, /*bf_releasebuffer*/ +}; + +static PyTypeObject __pyx_type___pyx_array = { + PyVarObject_HEAD_INIT(0, 0) + "anomaly_detector.univariate._anomaly_kernel_cython.""array", /*tp_name*/ + sizeof(struct __pyx_array_obj), /*tp_basicsize*/ + 0, /*tp_itemsize*/ + __pyx_tp_dealloc_array, /*tp_dealloc*/ + #if PY_VERSION_HEX < 0x030800b4 + 0, /*tp_print*/ + #endif + #if PY_VERSION_HEX >= 0x030800b4 + 0, /*tp_vectorcall_offset*/ + #endif + 0, /*tp_getattr*/ + 0, /*tp_setattr*/ + #if PY_MAJOR_VERSION < 3 + 0, /*tp_compare*/ + #endif + #if PY_MAJOR_VERSION >= 3 + 0, /*tp_as_async*/ + #endif + 0, /*tp_repr*/ + 0, /*tp_as_number*/ + &__pyx_tp_as_sequence_array, /*tp_as_sequence*/ + &__pyx_tp_as_mapping_array, /*tp_as_mapping*/ + 0, /*tp_hash*/ + 0, /*tp_call*/ + 0, /*tp_str*/ + __pyx_tp_getattro_array, /*tp_getattro*/ + 0, /*tp_setattro*/ + &__pyx_tp_as_buffer_array, /*tp_as_buffer*/ + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_SEQUENCE, /*tp_flags*/ + 0, /*tp_doc*/ + 0, /*tp_traverse*/ + 0, /*tp_clear*/ + 0, /*tp_richcompare*/ + 0, /*tp_weaklistoffset*/ + 0, /*tp_iter*/ + 0, /*tp_iternext*/ + __pyx_methods_array, /*tp_methods*/ + 0, /*tp_members*/ + __pyx_getsets_array, /*tp_getset*/ + 0, /*tp_base*/ + 0, /*tp_dict*/ + 0, /*tp_descr_get*/ + 0, /*tp_descr_set*/ + #if !CYTHON_USE_TYPE_SPECS + 0, /*tp_dictoffset*/ + #endif + 0, /*tp_init*/ + 0, /*tp_alloc*/ + __pyx_tp_new_array, /*tp_new*/ + 0, /*tp_free*/ + 0, /*tp_is_gc*/ + 0, /*tp_bases*/ + 0, /*tp_mro*/ + 0, /*tp_cache*/ + 0, /*tp_subclasses*/ + 0, /*tp_weaklist*/ + 0, /*tp_del*/ + 0, /*tp_version_tag*/ + #if PY_VERSION_HEX >= 0x030400a1 + #if CYTHON_USE_TP_FINALIZE + 0, /*tp_finalize*/ + #else + NULL, /*tp_finalize*/ + #endif + #endif + #if PY_VERSION_HEX >= 0x030800b1 && (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800) + 0, /*tp_vectorcall*/ + #endif + #if __PYX_NEED_TP_PRINT_SLOT == 1 + 0, /*tp_print*/ + #endif + #if PY_VERSION_HEX >= 0x030C0000 + 0, /*tp_watched*/ + #endif + #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000 + 0, /*tp_pypy_flags*/ + #endif +}; +#endif + +static PyObject *__pyx_tp_new_Enum(PyTypeObject *t, CYTHON_UNUSED PyObject *a, CYTHON_UNUSED PyObject *k) { + struct __pyx_MemviewEnum_obj *p; + PyObject *o; + #if CYTHON_COMPILING_IN_LIMITED_API + allocfunc alloc_func = (allocfunc)PyType_GetSlot(t, Py_tp_alloc); + o = alloc_func(t, 0); + #else + if (likely(!__Pyx_PyType_HasFeature(t, Py_TPFLAGS_IS_ABSTRACT))) { + o = (*t->tp_alloc)(t, 0); + } else { + o = (PyObject *) PyBaseObject_Type.tp_new(t, __pyx_empty_tuple, 0); + } + if (unlikely(!o)) return 0; + #endif + p = ((struct __pyx_MemviewEnum_obj *)o); + p->name = Py_None; Py_INCREF(Py_None); + return o; +} + +static void __pyx_tp_dealloc_Enum(PyObject *o) { + struct __pyx_MemviewEnum_obj *p = (struct __pyx_MemviewEnum_obj *)o; + #if CYTHON_USE_TP_FINALIZE + if (unlikely((PY_VERSION_HEX >= 0x03080000 || __Pyx_PyType_HasFeature(Py_TYPE(o), Py_TPFLAGS_HAVE_FINALIZE)) && __Pyx_PyObject_GetSlot(o, tp_finalize, destructor)) && !__Pyx_PyObject_GC_IsFinalized(o)) { + if (__Pyx_PyObject_GetSlot(o, tp_dealloc, destructor) == __pyx_tp_dealloc_Enum) { + if (PyObject_CallFinalizerFromDealloc(o)) return; + } + } + #endif + PyObject_GC_UnTrack(o); + Py_CLEAR(p->name); + #if CYTHON_USE_TYPE_SLOTS || CYTHON_COMPILING_IN_PYPY + (*Py_TYPE(o)->tp_free)(o); + #else + { + freefunc tp_free = (freefunc)PyType_GetSlot(Py_TYPE(o), Py_tp_free); + if (tp_free) tp_free(o); + } + #endif +} + +static int __pyx_tp_traverse_Enum(PyObject *o, visitproc v, void *a) { + int e; + struct __pyx_MemviewEnum_obj *p = (struct __pyx_MemviewEnum_obj *)o; + if (p->name) { + e = (*v)(p->name, a); if (e) return e; + } + return 0; +} + +static int __pyx_tp_clear_Enum(PyObject *o) { + PyObject* tmp; + struct __pyx_MemviewEnum_obj *p = (struct __pyx_MemviewEnum_obj *)o; + tmp = ((PyObject*)p->name); + p->name = Py_None; Py_INCREF(Py_None); + Py_XDECREF(tmp); + return 0; +} + +static PyObject *__pyx_specialmethod___pyx_MemviewEnum___repr__(PyObject *self, CYTHON_UNUSED PyObject *arg) { + return __pyx_MemviewEnum___repr__(self); +} + +static PyMethodDef __pyx_methods_Enum[] = { + {"__repr__", (PyCFunction)__pyx_specialmethod___pyx_MemviewEnum___repr__, METH_NOARGS|METH_COEXIST, 0}, + {"__reduce_cython__", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw___pyx_MemviewEnum_1__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}, + {"__setstate_cython__", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw___pyx_MemviewEnum_3__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}, + {0, 0, 0, 0} +}; +#if CYTHON_USE_TYPE_SPECS +static PyType_Slot __pyx_type___pyx_MemviewEnum_slots[] = { + {Py_tp_dealloc, (void *)__pyx_tp_dealloc_Enum}, + {Py_tp_repr, (void *)__pyx_MemviewEnum___repr__}, + {Py_tp_traverse, (void *)__pyx_tp_traverse_Enum}, + {Py_tp_clear, (void *)__pyx_tp_clear_Enum}, + {Py_tp_methods, (void *)__pyx_methods_Enum}, + {Py_tp_init, (void *)__pyx_MemviewEnum___init__}, + {Py_tp_new, (void *)__pyx_tp_new_Enum}, + {0, 0}, +}; +static PyType_Spec __pyx_type___pyx_MemviewEnum_spec = { + "anomaly_detector.univariate._anomaly_kernel_cython.Enum", + sizeof(struct __pyx_MemviewEnum_obj), + 0, + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, + __pyx_type___pyx_MemviewEnum_slots, +}; +#else + +static PyTypeObject __pyx_type___pyx_MemviewEnum = { + PyVarObject_HEAD_INIT(0, 0) + "anomaly_detector.univariate._anomaly_kernel_cython.""Enum", /*tp_name*/ + sizeof(struct __pyx_MemviewEnum_obj), /*tp_basicsize*/ + 0, /*tp_itemsize*/ + __pyx_tp_dealloc_Enum, /*tp_dealloc*/ + #if PY_VERSION_HEX < 0x030800b4 + 0, /*tp_print*/ + #endif + #if PY_VERSION_HEX >= 0x030800b4 + 0, /*tp_vectorcall_offset*/ + #endif + 0, /*tp_getattr*/ + 0, /*tp_setattr*/ + #if PY_MAJOR_VERSION < 3 + 0, /*tp_compare*/ + #endif + #if PY_MAJOR_VERSION >= 3 + 0, /*tp_as_async*/ + #endif + __pyx_MemviewEnum___repr__, /*tp_repr*/ + 0, /*tp_as_number*/ + 0, /*tp_as_sequence*/ + 0, /*tp_as_mapping*/ + 0, /*tp_hash*/ + 0, /*tp_call*/ + 0, /*tp_str*/ + 0, /*tp_getattro*/ + 0, /*tp_setattro*/ + 0, /*tp_as_buffer*/ + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/ + 0, /*tp_doc*/ + __pyx_tp_traverse_Enum, /*tp_traverse*/ + __pyx_tp_clear_Enum, /*tp_clear*/ + 0, /*tp_richcompare*/ + 0, /*tp_weaklistoffset*/ + 0, /*tp_iter*/ + 0, /*tp_iternext*/ + __pyx_methods_Enum, /*tp_methods*/ + 0, /*tp_members*/ + 0, /*tp_getset*/ + 0, /*tp_base*/ + 0, /*tp_dict*/ + 0, /*tp_descr_get*/ + 0, /*tp_descr_set*/ + #if !CYTHON_USE_TYPE_SPECS + 0, /*tp_dictoffset*/ + #endif + __pyx_MemviewEnum___init__, /*tp_init*/ + 0, /*tp_alloc*/ + __pyx_tp_new_Enum, /*tp_new*/ + 0, /*tp_free*/ + 0, /*tp_is_gc*/ + 0, /*tp_bases*/ + 0, /*tp_mro*/ + 0, /*tp_cache*/ + 0, /*tp_subclasses*/ + 0, /*tp_weaklist*/ + 0, /*tp_del*/ + 0, /*tp_version_tag*/ + #if PY_VERSION_HEX >= 0x030400a1 + #if CYTHON_USE_TP_FINALIZE + 0, /*tp_finalize*/ + #else + NULL, /*tp_finalize*/ + #endif + #endif + #if PY_VERSION_HEX >= 0x030800b1 && (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800) + 0, /*tp_vectorcall*/ + #endif + #if __PYX_NEED_TP_PRINT_SLOT == 1 + 0, /*tp_print*/ + #endif + #if PY_VERSION_HEX >= 0x030C0000 + 0, /*tp_watched*/ + #endif + #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000 + 0, /*tp_pypy_flags*/ + #endif +}; +#endif +static struct __pyx_vtabstruct_memoryview __pyx_vtable_memoryview; + +static PyObject *__pyx_tp_new_memoryview(PyTypeObject *t, PyObject *a, PyObject *k) { + struct __pyx_memoryview_obj *p; + PyObject *o; + #if CYTHON_COMPILING_IN_LIMITED_API + allocfunc alloc_func = (allocfunc)PyType_GetSlot(t, Py_tp_alloc); + o = alloc_func(t, 0); + #else + if (likely(!__Pyx_PyType_HasFeature(t, Py_TPFLAGS_IS_ABSTRACT))) { + o = (*t->tp_alloc)(t, 0); + } else { + o = (PyObject *) PyBaseObject_Type.tp_new(t, __pyx_empty_tuple, 0); + } + if (unlikely(!o)) return 0; + #endif + p = ((struct __pyx_memoryview_obj *)o); + p->__pyx_vtab = __pyx_vtabptr_memoryview; + p->obj = Py_None; Py_INCREF(Py_None); + p->_size = Py_None; Py_INCREF(Py_None); + p->_array_interface = Py_None; Py_INCREF(Py_None); + p->view.obj = NULL; + if (unlikely(__pyx_memoryview___cinit__(o, a, k) < 0)) goto bad; + return o; + bad: + Py_DECREF(o); o = 0; + return NULL; +} + +static void __pyx_tp_dealloc_memoryview(PyObject *o) { + struct __pyx_memoryview_obj *p = (struct __pyx_memoryview_obj *)o; + #if CYTHON_USE_TP_FINALIZE + if (unlikely((PY_VERSION_HEX >= 0x03080000 || __Pyx_PyType_HasFeature(Py_TYPE(o), Py_TPFLAGS_HAVE_FINALIZE)) && __Pyx_PyObject_GetSlot(o, tp_finalize, destructor)) && !__Pyx_PyObject_GC_IsFinalized(o)) { + if (__Pyx_PyObject_GetSlot(o, tp_dealloc, destructor) == __pyx_tp_dealloc_memoryview) { + if (PyObject_CallFinalizerFromDealloc(o)) return; + } + } + #endif + PyObject_GC_UnTrack(o); + { + PyObject *etype, *eval, *etb; + PyErr_Fetch(&etype, &eval, &etb); + __Pyx_SET_REFCNT(o, Py_REFCNT(o) + 1); + __pyx_memoryview___dealloc__(o); + __Pyx_SET_REFCNT(o, Py_REFCNT(o) - 1); + PyErr_Restore(etype, eval, etb); + } + Py_CLEAR(p->obj); + Py_CLEAR(p->_size); + Py_CLEAR(p->_array_interface); + #if CYTHON_USE_TYPE_SLOTS || CYTHON_COMPILING_IN_PYPY + (*Py_TYPE(o)->tp_free)(o); + #else + { + freefunc tp_free = (freefunc)PyType_GetSlot(Py_TYPE(o), Py_tp_free); + if (tp_free) tp_free(o); + } + #endif +} + +static int __pyx_tp_traverse_memoryview(PyObject *o, visitproc v, void *a) { + int e; + struct __pyx_memoryview_obj *p = (struct __pyx_memoryview_obj *)o; + if (p->obj) { + e = (*v)(p->obj, a); if (e) return e; + } + if (p->_size) { + e = (*v)(p->_size, a); if (e) return e; + } + if (p->_array_interface) { + e = (*v)(p->_array_interface, a); if (e) return e; + } + if (p->view.obj) { + e = (*v)(p->view.obj, a); if (e) return e; + } + return 0; +} + +static int __pyx_tp_clear_memoryview(PyObject *o) { + PyObject* tmp; + struct __pyx_memoryview_obj *p = (struct __pyx_memoryview_obj *)o; + tmp = ((PyObject*)p->obj); + p->obj = Py_None; Py_INCREF(Py_None); + Py_XDECREF(tmp); + tmp = ((PyObject*)p->_size); + p->_size = Py_None; Py_INCREF(Py_None); + Py_XDECREF(tmp); + tmp = ((PyObject*)p->_array_interface); + p->_array_interface = Py_None; Py_INCREF(Py_None); + Py_XDECREF(tmp); + Py_CLEAR(p->view.obj); + return 0; +} +static PyObject *__pyx_sq_item_memoryview(PyObject *o, Py_ssize_t i) { + PyObject *r; + PyObject *x = PyInt_FromSsize_t(i); if(!x) return 0; + r = Py_TYPE(o)->tp_as_mapping->mp_subscript(o, x); + Py_DECREF(x); + return r; +} + +static int __pyx_mp_ass_subscript_memoryview(PyObject *o, PyObject *i, PyObject *v) { + if (v) { + return __pyx_memoryview___setitem__(o, i, v); + } + else { + __Pyx_TypeName o_type_name; + o_type_name = __Pyx_PyType_GetName(Py_TYPE(o)); + PyErr_Format(PyExc_NotImplementedError, + "Subscript deletion not supported by " __Pyx_FMT_TYPENAME, o_type_name); + __Pyx_DECREF_TypeName(o_type_name); + return -1; + } +} + +static PyObject *__pyx_getprop___pyx_memoryview_T(PyObject *o, CYTHON_UNUSED void *x) { + return __pyx_pw_15View_dot_MemoryView_10memoryview_1T_1__get__(o); +} + +static PyObject *__pyx_getprop___pyx_memoryview_base(PyObject *o, CYTHON_UNUSED void *x) { + return __pyx_pw_15View_dot_MemoryView_10memoryview_4base_1__get__(o); +} + +static PyObject *__pyx_getprop___pyx_memoryview_shape(PyObject *o, CYTHON_UNUSED void *x) { + return __pyx_pw_15View_dot_MemoryView_10memoryview_5shape_1__get__(o); +} + +static PyObject *__pyx_getprop___pyx_memoryview_strides(PyObject *o, CYTHON_UNUSED void *x) { + return __pyx_pw_15View_dot_MemoryView_10memoryview_7strides_1__get__(o); +} + +static PyObject *__pyx_getprop___pyx_memoryview_suboffsets(PyObject *o, CYTHON_UNUSED void *x) { + return __pyx_pw_15View_dot_MemoryView_10memoryview_10suboffsets_1__get__(o); +} + +static PyObject *__pyx_getprop___pyx_memoryview_ndim(PyObject *o, CYTHON_UNUSED void *x) { + return __pyx_pw_15View_dot_MemoryView_10memoryview_4ndim_1__get__(o); +} + +static PyObject *__pyx_getprop___pyx_memoryview_itemsize(PyObject *o, CYTHON_UNUSED void *x) { + return __pyx_pw_15View_dot_MemoryView_10memoryview_8itemsize_1__get__(o); +} + +static PyObject *__pyx_getprop___pyx_memoryview_nbytes(PyObject *o, CYTHON_UNUSED void *x) { + return __pyx_pw_15View_dot_MemoryView_10memoryview_6nbytes_1__get__(o); +} + +static PyObject *__pyx_getprop___pyx_memoryview_size(PyObject *o, CYTHON_UNUSED void *x) { + return __pyx_pw_15View_dot_MemoryView_10memoryview_4size_1__get__(o); +} + +static PyObject *__pyx_specialmethod___pyx_memoryview___repr__(PyObject *self, CYTHON_UNUSED PyObject *arg) { + return __pyx_memoryview___repr__(self); +} + +static PyMethodDef __pyx_methods_memoryview[] = { + {"__repr__", (PyCFunction)__pyx_specialmethod___pyx_memoryview___repr__, METH_NOARGS|METH_COEXIST, 0}, + {"is_c_contig", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_memoryview_is_c_contig, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}, + {"is_f_contig", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_memoryview_is_f_contig, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}, + {"copy", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_memoryview_copy, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}, + {"copy_fortran", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_memoryview_copy_fortran, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}, + {"__reduce_cython__", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw___pyx_memoryview_1__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}, + {"__setstate_cython__", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw___pyx_memoryview_3__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}, + {0, 0, 0, 0} +}; + +static struct PyGetSetDef __pyx_getsets_memoryview[] = { + {(char *)"T", __pyx_getprop___pyx_memoryview_T, 0, (char *)0, 0}, + {(char *)"base", __pyx_getprop___pyx_memoryview_base, 0, (char *)0, 0}, + {(char *)"shape", __pyx_getprop___pyx_memoryview_shape, 0, (char *)0, 0}, + {(char *)"strides", __pyx_getprop___pyx_memoryview_strides, 0, (char *)0, 0}, + {(char *)"suboffsets", __pyx_getprop___pyx_memoryview_suboffsets, 0, (char *)0, 0}, + {(char *)"ndim", __pyx_getprop___pyx_memoryview_ndim, 0, (char *)0, 0}, + {(char *)"itemsize", __pyx_getprop___pyx_memoryview_itemsize, 0, (char *)0, 0}, + {(char *)"nbytes", __pyx_getprop___pyx_memoryview_nbytes, 0, (char *)0, 0}, + {(char *)"size", __pyx_getprop___pyx_memoryview_size, 0, (char *)0, 0}, + {0, 0, 0, 0, 0} +}; +#if CYTHON_USE_TYPE_SPECS +#if !CYTHON_COMPILING_IN_LIMITED_API + +static PyBufferProcs __pyx_tp_as_buffer_memoryview = { + #if PY_MAJOR_VERSION < 3 + 0, /*bf_getreadbuffer*/ + #endif + #if PY_MAJOR_VERSION < 3 + 0, /*bf_getwritebuffer*/ + #endif + #if PY_MAJOR_VERSION < 3 + 0, /*bf_getsegcount*/ + #endif + #if PY_MAJOR_VERSION < 3 + 0, /*bf_getcharbuffer*/ + #endif + __pyx_memoryview_getbuffer, /*bf_getbuffer*/ + 0, /*bf_releasebuffer*/ +}; +#endif +static PyType_Slot __pyx_type___pyx_memoryview_slots[] = { + {Py_tp_dealloc, (void *)__pyx_tp_dealloc_memoryview}, + {Py_tp_repr, (void *)__pyx_memoryview___repr__}, + {Py_sq_length, (void *)__pyx_memoryview___len__}, + {Py_sq_item, (void *)__pyx_sq_item_memoryview}, + {Py_mp_length, (void *)__pyx_memoryview___len__}, + {Py_mp_subscript, (void *)__pyx_memoryview___getitem__}, + {Py_mp_ass_subscript, (void *)__pyx_mp_ass_subscript_memoryview}, + {Py_tp_str, (void *)__pyx_memoryview___str__}, + #if defined(Py_bf_getbuffer) + {Py_bf_getbuffer, (void *)__pyx_memoryview_getbuffer}, + #endif + {Py_tp_traverse, (void *)__pyx_tp_traverse_memoryview}, + {Py_tp_clear, (void *)__pyx_tp_clear_memoryview}, + {Py_tp_methods, (void *)__pyx_methods_memoryview}, + {Py_tp_getset, (void *)__pyx_getsets_memoryview}, + {Py_tp_new, (void *)__pyx_tp_new_memoryview}, + {0, 0}, +}; +static PyType_Spec __pyx_type___pyx_memoryview_spec = { + "anomaly_detector.univariate._anomaly_kernel_cython.memoryview", + sizeof(struct __pyx_memoryview_obj), + 0, + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, + __pyx_type___pyx_memoryview_slots, +}; +#else + +static PySequenceMethods __pyx_tp_as_sequence_memoryview = { + __pyx_memoryview___len__, /*sq_length*/ + 0, /*sq_concat*/ + 0, /*sq_repeat*/ + __pyx_sq_item_memoryview, /*sq_item*/ + 0, /*sq_slice*/ + 0, /*sq_ass_item*/ + 0, /*sq_ass_slice*/ + 0, /*sq_contains*/ + 0, /*sq_inplace_concat*/ + 0, /*sq_inplace_repeat*/ +}; + +static PyMappingMethods __pyx_tp_as_mapping_memoryview = { + __pyx_memoryview___len__, /*mp_length*/ + __pyx_memoryview___getitem__, /*mp_subscript*/ + __pyx_mp_ass_subscript_memoryview, /*mp_ass_subscript*/ +}; + +static PyBufferProcs __pyx_tp_as_buffer_memoryview = { + #if PY_MAJOR_VERSION < 3 + 0, /*bf_getreadbuffer*/ + #endif + #if PY_MAJOR_VERSION < 3 + 0, /*bf_getwritebuffer*/ + #endif + #if PY_MAJOR_VERSION < 3 + 0, /*bf_getsegcount*/ + #endif + #if PY_MAJOR_VERSION < 3 + 0, /*bf_getcharbuffer*/ + #endif + __pyx_memoryview_getbuffer, /*bf_getbuffer*/ + 0, /*bf_releasebuffer*/ +}; + +static PyTypeObject __pyx_type___pyx_memoryview = { + PyVarObject_HEAD_INIT(0, 0) + "anomaly_detector.univariate._anomaly_kernel_cython.""memoryview", /*tp_name*/ + sizeof(struct __pyx_memoryview_obj), /*tp_basicsize*/ + 0, /*tp_itemsize*/ + __pyx_tp_dealloc_memoryview, /*tp_dealloc*/ + #if PY_VERSION_HEX < 0x030800b4 + 0, /*tp_print*/ + #endif + #if PY_VERSION_HEX >= 0x030800b4 + 0, /*tp_vectorcall_offset*/ + #endif + 0, /*tp_getattr*/ + 0, /*tp_setattr*/ + #if PY_MAJOR_VERSION < 3 + 0, /*tp_compare*/ + #endif + #if PY_MAJOR_VERSION >= 3 + 0, /*tp_as_async*/ + #endif + __pyx_memoryview___repr__, /*tp_repr*/ + 0, /*tp_as_number*/ + &__pyx_tp_as_sequence_memoryview, /*tp_as_sequence*/ + &__pyx_tp_as_mapping_memoryview, /*tp_as_mapping*/ + 0, /*tp_hash*/ + 0, /*tp_call*/ + __pyx_memoryview___str__, /*tp_str*/ + 0, /*tp_getattro*/ + 0, /*tp_setattro*/ + &__pyx_tp_as_buffer_memoryview, /*tp_as_buffer*/ + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC, /*tp_flags*/ + 0, /*tp_doc*/ + __pyx_tp_traverse_memoryview, /*tp_traverse*/ + __pyx_tp_clear_memoryview, /*tp_clear*/ + 0, /*tp_richcompare*/ + 0, /*tp_weaklistoffset*/ + 0, /*tp_iter*/ + 0, /*tp_iternext*/ + __pyx_methods_memoryview, /*tp_methods*/ + 0, /*tp_members*/ + __pyx_getsets_memoryview, /*tp_getset*/ + 0, /*tp_base*/ + 0, /*tp_dict*/ + 0, /*tp_descr_get*/ + 0, /*tp_descr_set*/ + #if !CYTHON_USE_TYPE_SPECS + 0, /*tp_dictoffset*/ + #endif + 0, /*tp_init*/ + 0, /*tp_alloc*/ + __pyx_tp_new_memoryview, /*tp_new*/ + 0, /*tp_free*/ + 0, /*tp_is_gc*/ + 0, /*tp_bases*/ + 0, /*tp_mro*/ + 0, /*tp_cache*/ + 0, /*tp_subclasses*/ + 0, /*tp_weaklist*/ + 0, /*tp_del*/ + 0, /*tp_version_tag*/ + #if PY_VERSION_HEX >= 0x030400a1 + #if CYTHON_USE_TP_FINALIZE + 0, /*tp_finalize*/ + #else + NULL, /*tp_finalize*/ + #endif + #endif + #if PY_VERSION_HEX >= 0x030800b1 && (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800) + 0, /*tp_vectorcall*/ + #endif + #if __PYX_NEED_TP_PRINT_SLOT == 1 + 0, /*tp_print*/ + #endif + #if PY_VERSION_HEX >= 0x030C0000 + 0, /*tp_watched*/ + #endif + #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000 + 0, /*tp_pypy_flags*/ + #endif +}; +#endif +static struct __pyx_vtabstruct__memoryviewslice __pyx_vtable__memoryviewslice; + +static PyObject *__pyx_tp_new__memoryviewslice(PyTypeObject *t, PyObject *a, PyObject *k) { + struct __pyx_memoryviewslice_obj *p; + PyObject *o = __pyx_tp_new_memoryview(t, a, k); + if (unlikely(!o)) return 0; + p = ((struct __pyx_memoryviewslice_obj *)o); + p->__pyx_base.__pyx_vtab = (struct __pyx_vtabstruct_memoryview*)__pyx_vtabptr__memoryviewslice; + p->from_object = Py_None; Py_INCREF(Py_None); + p->from_slice.memview = NULL; + return o; +} + +static void __pyx_tp_dealloc__memoryviewslice(PyObject *o) { + struct __pyx_memoryviewslice_obj *p = (struct __pyx_memoryviewslice_obj *)o; + #if CYTHON_USE_TP_FINALIZE + if (unlikely((PY_VERSION_HEX >= 0x03080000 || __Pyx_PyType_HasFeature(Py_TYPE(o), Py_TPFLAGS_HAVE_FINALIZE)) && __Pyx_PyObject_GetSlot(o, tp_finalize, destructor)) && !__Pyx_PyObject_GC_IsFinalized(o)) { + if (__Pyx_PyObject_GetSlot(o, tp_dealloc, destructor) == __pyx_tp_dealloc__memoryviewslice) { + if (PyObject_CallFinalizerFromDealloc(o)) return; + } + } + #endif + PyObject_GC_UnTrack(o); + { + PyObject *etype, *eval, *etb; + PyErr_Fetch(&etype, &eval, &etb); + __Pyx_SET_REFCNT(o, Py_REFCNT(o) + 1); + __pyx_memoryviewslice___dealloc__(o); + __Pyx_SET_REFCNT(o, Py_REFCNT(o) - 1); + PyErr_Restore(etype, eval, etb); + } + Py_CLEAR(p->from_object); + PyObject_GC_Track(o); + __pyx_tp_dealloc_memoryview(o); +} + +static int __pyx_tp_traverse__memoryviewslice(PyObject *o, visitproc v, void *a) { + int e; + struct __pyx_memoryviewslice_obj *p = (struct __pyx_memoryviewslice_obj *)o; + e = __pyx_tp_traverse_memoryview(o, v, a); if (e) return e; + if (p->from_object) { + e = (*v)(p->from_object, a); if (e) return e; + } + return 0; +} + +static int __pyx_tp_clear__memoryviewslice(PyObject *o) { + PyObject* tmp; + struct __pyx_memoryviewslice_obj *p = (struct __pyx_memoryviewslice_obj *)o; + __pyx_tp_clear_memoryview(o); + tmp = ((PyObject*)p->from_object); + p->from_object = Py_None; Py_INCREF(Py_None); + Py_XDECREF(tmp); + __PYX_XCLEAR_MEMVIEW(&p->from_slice, 1); + return 0; +} + +static PyMethodDef __pyx_methods__memoryviewslice[] = { + {"__reduce_cython__", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw___pyx_memoryviewslice_1__reduce_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}, + {"__setstate_cython__", (PyCFunction)(void*)(__Pyx_PyCFunction_FastCallWithKeywords)__pyx_pw___pyx_memoryviewslice_3__setstate_cython__, __Pyx_METH_FASTCALL|METH_KEYWORDS, 0}, + {0, 0, 0, 0} +}; +#if CYTHON_USE_TYPE_SPECS +static PyType_Slot __pyx_type___pyx_memoryviewslice_slots[] = { + {Py_tp_dealloc, (void *)__pyx_tp_dealloc__memoryviewslice}, + {Py_tp_doc, (void *)PyDoc_STR("Internal class for passing memoryview slices to Python")}, + {Py_tp_traverse, (void *)__pyx_tp_traverse__memoryviewslice}, + {Py_tp_clear, (void *)__pyx_tp_clear__memoryviewslice}, + {Py_tp_methods, (void *)__pyx_methods__memoryviewslice}, + {Py_tp_new, (void *)__pyx_tp_new__memoryviewslice}, + {0, 0}, +}; +static PyType_Spec __pyx_type___pyx_memoryviewslice_spec = { + "anomaly_detector.univariate._anomaly_kernel_cython._memoryviewslice", + sizeof(struct __pyx_memoryviewslice_obj), + 0, + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC|Py_TPFLAGS_SEQUENCE, + __pyx_type___pyx_memoryviewslice_slots, +}; +#else + +static PyTypeObject __pyx_type___pyx_memoryviewslice = { + PyVarObject_HEAD_INIT(0, 0) + "anomaly_detector.univariate._anomaly_kernel_cython.""_memoryviewslice", /*tp_name*/ + sizeof(struct __pyx_memoryviewslice_obj), /*tp_basicsize*/ + 0, /*tp_itemsize*/ + __pyx_tp_dealloc__memoryviewslice, /*tp_dealloc*/ + #if PY_VERSION_HEX < 0x030800b4 + 0, /*tp_print*/ + #endif + #if PY_VERSION_HEX >= 0x030800b4 + 0, /*tp_vectorcall_offset*/ + #endif + 0, /*tp_getattr*/ + 0, /*tp_setattr*/ + #if PY_MAJOR_VERSION < 3 + 0, /*tp_compare*/ + #endif + #if PY_MAJOR_VERSION >= 3 + 0, /*tp_as_async*/ + #endif + #if CYTHON_COMPILING_IN_PYPY || 0 + __pyx_memoryview___repr__, /*tp_repr*/ + #else + 0, /*tp_repr*/ + #endif + 0, /*tp_as_number*/ + 0, /*tp_as_sequence*/ + 0, /*tp_as_mapping*/ + 0, /*tp_hash*/ + 0, /*tp_call*/ + #if CYTHON_COMPILING_IN_PYPY || 0 + __pyx_memoryview___str__, /*tp_str*/ + #else + 0, /*tp_str*/ + #endif + 0, /*tp_getattro*/ + 0, /*tp_setattro*/ + 0, /*tp_as_buffer*/ + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_HAVE_VERSION_TAG|Py_TPFLAGS_CHECKTYPES|Py_TPFLAGS_HAVE_NEWBUFFER|Py_TPFLAGS_BASETYPE|Py_TPFLAGS_HAVE_GC|Py_TPFLAGS_SEQUENCE, /*tp_flags*/ + PyDoc_STR("Internal class for passing memoryview slices to Python"), /*tp_doc*/ + __pyx_tp_traverse__memoryviewslice, /*tp_traverse*/ + __pyx_tp_clear__memoryviewslice, /*tp_clear*/ + 0, /*tp_richcompare*/ + 0, /*tp_weaklistoffset*/ + 0, /*tp_iter*/ + 0, /*tp_iternext*/ + __pyx_methods__memoryviewslice, /*tp_methods*/ + 0, /*tp_members*/ + 0, /*tp_getset*/ + 0, /*tp_base*/ + 0, /*tp_dict*/ + 0, /*tp_descr_get*/ + 0, /*tp_descr_set*/ + #if !CYTHON_USE_TYPE_SPECS + 0, /*tp_dictoffset*/ + #endif + 0, /*tp_init*/ + 0, /*tp_alloc*/ + __pyx_tp_new__memoryviewslice, /*tp_new*/ + 0, /*tp_free*/ + 0, /*tp_is_gc*/ + 0, /*tp_bases*/ + 0, /*tp_mro*/ + 0, /*tp_cache*/ + 0, /*tp_subclasses*/ + 0, /*tp_weaklist*/ + 0, /*tp_del*/ + 0, /*tp_version_tag*/ + #if PY_VERSION_HEX >= 0x030400a1 + #if CYTHON_USE_TP_FINALIZE + 0, /*tp_finalize*/ + #else + NULL, /*tp_finalize*/ + #endif + #endif + #if PY_VERSION_HEX >= 0x030800b1 && (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800) + 0, /*tp_vectorcall*/ + #endif + #if __PYX_NEED_TP_PRINT_SLOT == 1 + 0, /*tp_print*/ + #endif + #if PY_VERSION_HEX >= 0x030C0000 + 0, /*tp_watched*/ + #endif + #if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000 + 0, /*tp_pypy_flags*/ + #endif +}; +#endif + +static PyMethodDef __pyx_methods[] = { + {0, 0, 0, 0} +}; +#ifndef CYTHON_SMALL_CODE +#if defined(__clang__) + #define CYTHON_SMALL_CODE +#elif defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)) + #define CYTHON_SMALL_CODE __attribute__((cold)) +#else + #define CYTHON_SMALL_CODE +#endif +#endif +/* #### Code section: pystring_table ### */ + +static int __Pyx_CreateStringTabAndInitStrings(void) { + __Pyx_StringTabEntry __pyx_string_tab[] = { + {&__pyx_kp_u_, __pyx_k_, sizeof(__pyx_k_), 0, 1, 0, 0}, + {&__pyx_n_s_ASCII, __pyx_k_ASCII, sizeof(__pyx_k_ASCII), 0, 0, 1, 1}, + {&__pyx_kp_s_All_dimensions_preceding_dimensi, __pyx_k_All_dimensions_preceding_dimensi, sizeof(__pyx_k_All_dimensions_preceding_dimensi), 0, 0, 1, 0}, + {&__pyx_n_s_AssertionError, __pyx_k_AssertionError, sizeof(__pyx_k_AssertionError), 0, 0, 1, 1}, + {&__pyx_kp_s_Buffer_view_does_not_expose_stri, __pyx_k_Buffer_view_does_not_expose_stri, sizeof(__pyx_k_Buffer_view_does_not_expose_stri), 0, 0, 1, 0}, + {&__pyx_kp_s_Can_only_create_a_buffer_that_is, __pyx_k_Can_only_create_a_buffer_that_is, sizeof(__pyx_k_Can_only_create_a_buffer_that_is), 0, 0, 1, 0}, + {&__pyx_kp_s_Cannot_assign_to_read_only_memor, __pyx_k_Cannot_assign_to_read_only_memor, sizeof(__pyx_k_Cannot_assign_to_read_only_memor), 0, 0, 1, 0}, + {&__pyx_kp_s_Cannot_create_writable_memory_vi, __pyx_k_Cannot_create_writable_memory_vi, sizeof(__pyx_k_Cannot_create_writable_memory_vi), 0, 0, 1, 0}, + {&__pyx_kp_u_Cannot_index_with_type, __pyx_k_Cannot_index_with_type, sizeof(__pyx_k_Cannot_index_with_type), 0, 1, 0, 0}, + {&__pyx_kp_s_Cannot_transpose_memoryview_with, __pyx_k_Cannot_transpose_memoryview_with, sizeof(__pyx_k_Cannot_transpose_memoryview_with), 0, 0, 1, 0}, + {&__pyx_kp_s_Dimension_d_is_not_direct, __pyx_k_Dimension_d_is_not_direct, sizeof(__pyx_k_Dimension_d_is_not_direct), 0, 0, 1, 0}, + {&__pyx_n_s_Ellipsis, __pyx_k_Ellipsis, sizeof(__pyx_k_Ellipsis), 0, 0, 1, 1}, + {&__pyx_kp_s_Empty_shape_tuple_for_cython_arr, __pyx_k_Empty_shape_tuple_for_cython_arr, sizeof(__pyx_k_Empty_shape_tuple_for_cython_arr), 0, 0, 1, 0}, + {&__pyx_n_s_Gaussian, __pyx_k_Gaussian, sizeof(__pyx_k_Gaussian), 0, 0, 1, 1}, + {&__pyx_n_s_ImportError, __pyx_k_ImportError, sizeof(__pyx_k_ImportError), 0, 0, 1, 1}, + {&__pyx_kp_s_Incompatible_checksums_0x_x_vs_0, __pyx_k_Incompatible_checksums_0x_x_vs_0, sizeof(__pyx_k_Incompatible_checksums_0x_x_vs_0), 0, 0, 1, 0}, + {&__pyx_n_s_IndexError, __pyx_k_IndexError, sizeof(__pyx_k_IndexError), 0, 0, 1, 1}, + {&__pyx_kp_s_Index_out_of_bounds_axis_d, __pyx_k_Index_out_of_bounds_axis_d, sizeof(__pyx_k_Index_out_of_bounds_axis_d), 0, 0, 1, 0}, + {&__pyx_kp_s_Indirect_dimensions_not_supporte, __pyx_k_Indirect_dimensions_not_supporte, sizeof(__pyx_k_Indirect_dimensions_not_supporte), 0, 0, 1, 0}, + {&__pyx_kp_u_Invalid_mode_expected_c_or_fortr, __pyx_k_Invalid_mode_expected_c_or_fortr, sizeof(__pyx_k_Invalid_mode_expected_c_or_fortr), 0, 1, 0, 0}, + {&__pyx_kp_u_Invalid_shape_in_axis, __pyx_k_Invalid_shape_in_axis, sizeof(__pyx_k_Invalid_shape_in_axis), 0, 1, 0, 0}, + {&__pyx_n_s_MemoryError, __pyx_k_MemoryError, sizeof(__pyx_k_MemoryError), 0, 0, 1, 1}, + {&__pyx_kp_s_MemoryView_of_r_at_0x_x, __pyx_k_MemoryView_of_r_at_0x_x, sizeof(__pyx_k_MemoryView_of_r_at_0x_x), 0, 0, 1, 0}, + {&__pyx_kp_s_MemoryView_of_r_object, __pyx_k_MemoryView_of_r_object, sizeof(__pyx_k_MemoryView_of_r_object), 0, 0, 1, 0}, + {&__pyx_n_b_O, __pyx_k_O, sizeof(__pyx_k_O), 0, 0, 0, 1}, + {&__pyx_kp_u_Out_of_bounds_on_buffer_access_a, __pyx_k_Out_of_bounds_on_buffer_access_a, sizeof(__pyx_k_Out_of_bounds_on_buffer_access_a), 0, 1, 0, 0}, + {&__pyx_n_s_PickleError, __pyx_k_PickleError, sizeof(__pyx_k_PickleError), 0, 0, 1, 1}, + {&__pyx_n_s_Sequence, __pyx_k_Sequence, sizeof(__pyx_k_Sequence), 0, 0, 1, 1}, + {&__pyx_kp_s_Step_may_not_be_zero_axis_d, __pyx_k_Step_may_not_be_zero_axis_d, sizeof(__pyx_k_Step_may_not_be_zero_axis_d), 0, 0, 1, 0}, + {&__pyx_n_s_TypeError, __pyx_k_TypeError, sizeof(__pyx_k_TypeError), 0, 0, 1, 1}, + {&__pyx_kp_s_Unable_to_convert_item_to_object, __pyx_k_Unable_to_convert_item_to_object, sizeof(__pyx_k_Unable_to_convert_item_to_object), 0, 0, 1, 0}, + {&__pyx_n_s_ValueError, __pyx_k_ValueError, sizeof(__pyx_k_ValueError), 0, 0, 1, 1}, + {&__pyx_n_s_View_MemoryView, __pyx_k_View_MemoryView, sizeof(__pyx_k_View_MemoryView), 0, 0, 1, 1}, + {&__pyx_kp_u__2, __pyx_k__2, sizeof(__pyx_k__2), 0, 1, 0, 0}, + {&__pyx_n_s__3, __pyx_k__3, sizeof(__pyx_k__3), 0, 0, 1, 1}, + {&__pyx_n_s__59, __pyx_k__59, sizeof(__pyx_k__59), 0, 0, 1, 1}, + {&__pyx_kp_u__6, __pyx_k__6, sizeof(__pyx_k__6), 0, 1, 0, 0}, + {&__pyx_kp_u__7, __pyx_k__7, sizeof(__pyx_k__7), 0, 1, 0, 0}, + {&__pyx_n_s_a, __pyx_k_a, sizeof(__pyx_k_a), 0, 0, 1, 1}, + {&__pyx_n_s_abc, __pyx_k_abc, sizeof(__pyx_k_abc), 0, 0, 1, 1}, + {&__pyx_n_s_abs, __pyx_k_abs, sizeof(__pyx_k_abs), 0, 0, 1, 1}, + {&__pyx_n_s_allocate_buffer, __pyx_k_allocate_buffer, sizeof(__pyx_k_allocate_buffer), 0, 0, 1, 1}, + {&__pyx_n_s_alpha, __pyx_k_alpha, sizeof(__pyx_k_alpha), 0, 0, 1, 1}, + {&__pyx_n_s_amplitude, __pyx_k_amplitude, sizeof(__pyx_k_amplitude), 0, 0, 1, 1}, + {&__pyx_kp_u_and, __pyx_k_and, sizeof(__pyx_k_and), 0, 1, 0, 0}, + {&__pyx_n_s_anomaly_detector_univariate__ano, __pyx_k_anomaly_detector_univariate__ano, sizeof(__pyx_k_anomaly_detector_univariate__ano), 0, 0, 1, 1}, + {&__pyx_kp_s_anomaly_kernel_cython_pyx, __pyx_k_anomaly_kernel_cython_pyx, sizeof(__pyx_k_anomaly_kernel_cython_pyx), 0, 0, 1, 0}, + {&__pyx_n_s_array, __pyx_k_array, sizeof(__pyx_k_array), 0, 0, 1, 1}, + {&__pyx_n_s_asyncio_coroutines, __pyx_k_asyncio_coroutines, sizeof(__pyx_k_asyncio_coroutines), 0, 0, 1, 1}, + {&__pyx_n_s_b, __pyx_k_b, sizeof(__pyx_k_b), 0, 0, 1, 1}, + {&__pyx_n_s_base, __pyx_k_base, sizeof(__pyx_k_base), 0, 0, 1, 1}, + {&__pyx_n_s_bisect, __pyx_k_bisect, sizeof(__pyx_k_bisect), 0, 0, 1, 1}, + {&__pyx_n_s_bisect_right, __pyx_k_bisect_right, sizeof(__pyx_k_bisect_right), 0, 0, 1, 1}, + {&__pyx_n_s_c, __pyx_k_c, sizeof(__pyx_k_c), 0, 0, 1, 1}, + {&__pyx_n_u_c, __pyx_k_c, sizeof(__pyx_k_c), 0, 1, 0, 1}, + {&__pyx_n_s_calculate_esd_values, __pyx_k_calculate_esd_values, sizeof(__pyx_k_calculate_esd_values), 0, 0, 1, 1}, + {&__pyx_n_s_check_anomaly_status, __pyx_k_check_anomaly_status, sizeof(__pyx_k_check_anomaly_status), 0, 0, 1, 1}, + {&__pyx_n_s_class, __pyx_k_class, sizeof(__pyx_k_class), 0, 0, 1, 1}, + {&__pyx_n_s_class_getitem, __pyx_k_class_getitem, sizeof(__pyx_k_class_getitem), 0, 0, 1, 1}, + {&__pyx_n_s_cline_in_traceback, __pyx_k_cline_in_traceback, sizeof(__pyx_k_cline_in_traceback), 0, 0, 1, 1}, + {&__pyx_n_s_collections, __pyx_k_collections, sizeof(__pyx_k_collections), 0, 0, 1, 1}, + {&__pyx_kp_s_collections_abc, __pyx_k_collections_abc, sizeof(__pyx_k_collections_abc), 0, 0, 1, 0}, + {&__pyx_kp_s_contiguous_and_direct, __pyx_k_contiguous_and_direct, sizeof(__pyx_k_contiguous_and_direct), 0, 0, 1, 0}, + {&__pyx_kp_s_contiguous_and_indirect, __pyx_k_contiguous_and_indirect, sizeof(__pyx_k_contiguous_and_indirect), 0, 0, 1, 0}, + {&__pyx_n_s_count, __pyx_k_count, sizeof(__pyx_k_count), 0, 0, 1, 1}, + {&__pyx_n_s_critical_values, __pyx_k_critical_values, sizeof(__pyx_k_critical_values), 0, 0, 1, 1}, + {&__pyx_n_s_current, __pyx_k_current, sizeof(__pyx_k_current), 0, 0, 1, 1}, + {&__pyx_n_s_d, __pyx_k_d, sizeof(__pyx_k_d), 0, 0, 1, 1}, + {&__pyx_n_s_data, __pyx_k_data, sizeof(__pyx_k_data), 0, 0, 1, 1}, + {&__pyx_n_s_data_sigma, __pyx_k_data_sigma, sizeof(__pyx_k_data_sigma), 0, 0, 1, 1}, + {&__pyx_n_s_dict, __pyx_k_dict, sizeof(__pyx_k_dict), 0, 0, 1, 1}, + {&__pyx_kp_u_disable, __pyx_k_disable, sizeof(__pyx_k_disable), 0, 1, 0, 0}, + {&__pyx_n_s_dtype, __pyx_k_dtype, sizeof(__pyx_k_dtype), 0, 0, 1, 1}, + {&__pyx_n_s_dtype_is_object, __pyx_k_dtype_is_object, sizeof(__pyx_k_dtype_is_object), 0, 0, 1, 1}, + {&__pyx_n_s_dynamic_threshold, __pyx_k_dynamic_threshold, sizeof(__pyx_k_dynamic_threshold), 0, 0, 1, 1}, + {&__pyx_n_s_empty, __pyx_k_empty, sizeof(__pyx_k_empty), 0, 0, 1, 1}, + {&__pyx_kp_u_enable, __pyx_k_enable, sizeof(__pyx_k_enable), 0, 1, 0, 0}, + {&__pyx_n_s_encode, __pyx_k_encode, sizeof(__pyx_k_encode), 0, 0, 1, 1}, + {&__pyx_n_s_enumerate, __pyx_k_enumerate, sizeof(__pyx_k_enumerate), 0, 0, 1, 1}, + {&__pyx_n_s_error, __pyx_k_error, sizeof(__pyx_k_error), 0, 0, 1, 1}, + {&__pyx_n_s_f, __pyx_k_f, sizeof(__pyx_k_f), 0, 0, 1, 1}, + {&__pyx_n_s_fabs, __pyx_k_fabs, sizeof(__pyx_k_fabs), 0, 0, 1, 1}, + {&__pyx_n_s_fast_median, __pyx_k_fast_median, sizeof(__pyx_k_fast_median), 0, 0, 1, 1}, + {&__pyx_n_s_fft, __pyx_k_fft, sizeof(__pyx_k_fft), 0, 0, 1, 1}, + {&__pyx_n_s_find_median_sorted_arrays, __pyx_k_find_median_sorted_arrays, sizeof(__pyx_k_find_median_sorted_arrays), 0, 0, 1, 1}, + {&__pyx_n_s_flags, __pyx_k_flags, sizeof(__pyx_k_flags), 0, 0, 1, 1}, + {&__pyx_n_s_format, __pyx_k_format, sizeof(__pyx_k_format), 0, 0, 1, 1}, + {&__pyx_n_s_fortran, __pyx_k_fortran, sizeof(__pyx_k_fortran), 0, 0, 1, 1}, + {&__pyx_n_u_fortran, __pyx_k_fortran, sizeof(__pyx_k_fortran), 0, 1, 0, 1}, + {&__pyx_kp_u_gc, __pyx_k_gc, sizeof(__pyx_k_gc), 0, 1, 0, 0}, + {&__pyx_n_s_gcv, __pyx_k_gcv, sizeof(__pyx_k_gcv), 0, 0, 1, 1}, + {&__pyx_n_s_gcv_input, __pyx_k_gcv_input, sizeof(__pyx_k_gcv_input), 0, 0, 1, 1}, + {&__pyx_n_s_generalized_esd_test, __pyx_k_generalized_esd_test, sizeof(__pyx_k_generalized_esd_test), 0, 0, 1, 1}, + {&__pyx_n_s_getstate, __pyx_k_getstate, sizeof(__pyx_k_getstate), 0, 0, 1, 1}, + {&__pyx_kp_u_got, __pyx_k_got, sizeof(__pyx_k_got), 0, 1, 0, 0}, + {&__pyx_kp_u_got_differing_extents_in_dimensi, __pyx_k_got_differing_extents_in_dimensi, sizeof(__pyx_k_got_differing_extents_in_dimensi), 0, 1, 0, 0}, + {&__pyx_n_s_i, __pyx_k_i, sizeof(__pyx_k_i), 0, 0, 1, 1}, + {&__pyx_n_s_id, __pyx_k_id, sizeof(__pyx_k_id), 0, 0, 1, 1}, + {&__pyx_n_s_ifft, __pyx_k_ifft, sizeof(__pyx_k_ifft), 0, 0, 1, 1}, + {&__pyx_n_s_iimag, __pyx_k_iimag, sizeof(__pyx_k_iimag), 0, 0, 1, 1}, + {&__pyx_n_s_imag, __pyx_k_imag, sizeof(__pyx_k_imag), 0, 0, 1, 1}, + {&__pyx_n_s_import, __pyx_k_import, sizeof(__pyx_k_import), 0, 0, 1, 1}, + {&__pyx_n_s_index, __pyx_k_index, sizeof(__pyx_k_index), 0, 0, 1, 1}, + {&__pyx_n_s_inf, __pyx_k_inf, sizeof(__pyx_k_inf), 0, 0, 1, 1}, + {&__pyx_n_s_initializing, __pyx_k_initializing, sizeof(__pyx_k_initializing), 0, 0, 1, 1}, + {&__pyx_n_s_ireal, __pyx_k_ireal, sizeof(__pyx_k_ireal), 0, 0, 1, 1}, + {&__pyx_n_s_is_coroutine, __pyx_k_is_coroutine, sizeof(__pyx_k_is_coroutine), 0, 0, 1, 1}, + {&__pyx_n_s_is_straight, __pyx_k_is_straight, sizeof(__pyx_k_is_straight), 0, 0, 1, 1}, + {&__pyx_n_s_isclose, __pyx_k_isclose, sizeof(__pyx_k_isclose), 0, 0, 1, 1}, + {&__pyx_kp_u_isenabled, __pyx_k_isenabled, sizeof(__pyx_k_isenabled), 0, 1, 0, 0}, + {&__pyx_n_s_itemsize, __pyx_k_itemsize, sizeof(__pyx_k_itemsize), 0, 0, 1, 1}, + {&__pyx_kp_s_itemsize_0_for_cython_array, __pyx_k_itemsize_0_for_cython_array, sizeof(__pyx_k_itemsize_0_for_cython_array), 0, 0, 1, 0}, + {&__pyx_n_s_j, __pyx_k_j, sizeof(__pyx_k_j), 0, 0, 1, 1}, + {&__pyx_n_s_k, __pyx_k_k, sizeof(__pyx_k_k), 0, 0, 1, 1}, + {&__pyx_n_s_last_index, __pyx_k_last_index, sizeof(__pyx_k_last_index), 0, 0, 1, 1}, + {&__pyx_n_s_left, __pyx_k_left, sizeof(__pyx_k_left), 0, 0, 1, 1}, + {&__pyx_n_s_mag, __pyx_k_mag, sizeof(__pyx_k_mag), 0, 0, 1, 1}, + {&__pyx_n_s_main, __pyx_k_main, sizeof(__pyx_k_main), 0, 0, 1, 1}, + {&__pyx_n_s_max_gcv, __pyx_k_max_gcv, sizeof(__pyx_k_max_gcv), 0, 0, 1, 1}, + {&__pyx_n_s_max_outliers, __pyx_k_max_outliers, sizeof(__pyx_k_max_outliers), 0, 0, 1, 1}, + {&__pyx_n_s_mean, __pyx_k_mean, sizeof(__pyx_k_mean), 0, 0, 1, 1}, + {&__pyx_n_s_median, __pyx_k_median, sizeof(__pyx_k_median), 0, 0, 1, 1}, + {&__pyx_n_s_median_filter, __pyx_k_median_filter, sizeof(__pyx_k_median_filter), 0, 0, 1, 1}, + {&__pyx_n_s_median_value, __pyx_k_median_value, sizeof(__pyx_k_median_value), 0, 0, 1, 1}, + {&__pyx_n_s_memview, __pyx_k_memview, sizeof(__pyx_k_memview), 0, 0, 1, 1}, + {&__pyx_n_s_mode, __pyx_k_mode, sizeof(__pyx_k_mode), 0, 0, 1, 1}, + {&__pyx_n_s_n, __pyx_k_n, sizeof(__pyx_k_n), 0, 0, 1, 1}, + {&__pyx_n_s_name, __pyx_k_name, sizeof(__pyx_k_name), 0, 0, 1, 1}, + {&__pyx_n_s_name_2, __pyx_k_name_2, sizeof(__pyx_k_name_2), 0, 0, 1, 1}, + {&__pyx_n_s_ndim, __pyx_k_ndim, sizeof(__pyx_k_ndim), 0, 0, 1, 1}, + {&__pyx_n_s_need_two_end, __pyx_k_need_two_end, sizeof(__pyx_k_need_two_end), 0, 0, 1, 1}, + {&__pyx_n_s_new, __pyx_k_new, sizeof(__pyx_k_new), 0, 0, 1, 1}, + {&__pyx_kp_s_no_default___reduce___due_to_non, __pyx_k_no_default___reduce___due_to_non, sizeof(__pyx_k_no_default___reduce___due_to_non), 0, 0, 1, 0}, + {&__pyx_kp_s_no_median_for_empty_data, __pyx_k_no_median_for_empty_data, sizeof(__pyx_k_no_median_for_empty_data), 0, 0, 1, 0}, + {&__pyx_n_s_norm, __pyx_k_norm, sizeof(__pyx_k_norm), 0, 0, 1, 1}, + {&__pyx_n_s_np, __pyx_k_np, sizeof(__pyx_k_np), 0, 0, 1, 1}, + {&__pyx_n_s_numpy, __pyx_k_numpy, sizeof(__pyx_k_numpy), 0, 0, 1, 1}, + {&__pyx_kp_s_numpy_core_multiarray_failed_to, __pyx_k_numpy_core_multiarray_failed_to, sizeof(__pyx_k_numpy_core_multiarray_failed_to), 0, 0, 1, 0}, + {&__pyx_kp_s_numpy_core_umath_failed_to_impor, __pyx_k_numpy_core_umath_failed_to_impor, sizeof(__pyx_k_numpy_core_umath_failed_to_impor), 0, 0, 1, 0}, + {&__pyx_n_s_obj, __pyx_k_obj, sizeof(__pyx_k_obj), 0, 0, 1, 1}, + {&__pyx_n_s_one_tail, __pyx_k_one_tail, sizeof(__pyx_k_one_tail), 0, 0, 1, 1}, + {&__pyx_n_s_pack, __pyx_k_pack, sizeof(__pyx_k_pack), 0, 0, 1, 1}, + {&__pyx_n_s_partition, __pyx_k_partition, sizeof(__pyx_k_partition), 0, 0, 1, 1}, + {&__pyx_n_s_period, __pyx_k_period, sizeof(__pyx_k_period), 0, 0, 1, 1}, + {&__pyx_n_s_periods, __pyx_k_periods, sizeof(__pyx_k_periods), 0, 0, 1, 1}, + {&__pyx_n_s_pickle, __pyx_k_pickle, sizeof(__pyx_k_pickle), 0, 0, 1, 1}, + {&__pyx_n_s_pivot_index, __pyx_k_pivot_index, sizeof(__pyx_k_pivot_index), 0, 0, 1, 1}, + {&__pyx_n_s_ppf, __pyx_k_ppf, sizeof(__pyx_k_ppf), 0, 0, 1, 1}, + {&__pyx_n_s_pyx_PickleError, __pyx_k_pyx_PickleError, sizeof(__pyx_k_pyx_PickleError), 0, 0, 1, 1}, + {&__pyx_n_s_pyx_checksum, __pyx_k_pyx_checksum, sizeof(__pyx_k_pyx_checksum), 0, 0, 1, 1}, + {&__pyx_n_s_pyx_result, __pyx_k_pyx_result, sizeof(__pyx_k_pyx_result), 0, 0, 1, 1}, + {&__pyx_n_s_pyx_state, __pyx_k_pyx_state, sizeof(__pyx_k_pyx_state), 0, 0, 1, 1}, + {&__pyx_n_s_pyx_type, __pyx_k_pyx_type, sizeof(__pyx_k_pyx_type), 0, 0, 1, 1}, + {&__pyx_n_s_pyx_unpickle_Enum, __pyx_k_pyx_unpickle_Enum, sizeof(__pyx_k_pyx_unpickle_Enum), 0, 0, 1, 1}, + {&__pyx_n_s_pyx_vtable, __pyx_k_pyx_vtable, sizeof(__pyx_k_pyx_vtable), 0, 0, 1, 1}, + {&__pyx_n_s_quick_select, __pyx_k_quick_select, sizeof(__pyx_k_quick_select), 0, 0, 1, 1}, + {&__pyx_n_s_range, __pyx_k_range, sizeof(__pyx_k_range), 0, 0, 1, 1}, + {&__pyx_n_s_real, __pyx_k_real, sizeof(__pyx_k_real), 0, 0, 1, 1}, + {&__pyx_n_s_reduce, __pyx_k_reduce, sizeof(__pyx_k_reduce), 0, 0, 1, 1}, + {&__pyx_n_s_reduce_cython, __pyx_k_reduce_cython, sizeof(__pyx_k_reduce_cython), 0, 0, 1, 1}, + {&__pyx_n_s_reduce_ex, __pyx_k_reduce_ex, sizeof(__pyx_k_reduce_ex), 0, 0, 1, 1}, + {&__pyx_n_s_register, __pyx_k_register, sizeof(__pyx_k_register), 0, 0, 1, 1}, + {&__pyx_n_s_remove_anomaly_in_bucket, __pyx_k_remove_anomaly_in_bucket, sizeof(__pyx_k_remove_anomaly_in_bucket), 0, 0, 1, 1}, + {&__pyx_n_s_right, __pyx_k_right, sizeof(__pyx_k_right), 0, 0, 1, 1}, + {&__pyx_n_s_scipy_stats, __pyx_k_scipy_stats, sizeof(__pyx_k_scipy_stats), 0, 0, 1, 1}, + {&__pyx_n_s_select, __pyx_k_select, sizeof(__pyx_k_select), 0, 0, 1, 1}, + {&__pyx_n_s_setstate, __pyx_k_setstate, sizeof(__pyx_k_setstate), 0, 0, 1, 1}, + {&__pyx_n_s_setstate_cython, __pyx_k_setstate_cython, sizeof(__pyx_k_setstate_cython), 0, 0, 1, 1}, + {&__pyx_n_s_shape, __pyx_k_shape, sizeof(__pyx_k_shape), 0, 0, 1, 1}, + {&__pyx_n_s_size, __pyx_k_size, sizeof(__pyx_k_size), 0, 0, 1, 1}, + {&__pyx_n_s_sorted_index, __pyx_k_sorted_index, sizeof(__pyx_k_sorted_index), 0, 0, 1, 1}, + {&__pyx_n_s_sorted_median, __pyx_k_sorted_median, sizeof(__pyx_k_sorted_median), 0, 0, 1, 1}, + {&__pyx_n_s_sorted_values, __pyx_k_sorted_values, sizeof(__pyx_k_sorted_values), 0, 0, 1, 1}, + {&__pyx_n_s_spec, __pyx_k_spec, sizeof(__pyx_k_spec), 0, 0, 1, 1}, + {&__pyx_n_s_spectral_residual_transform_core, __pyx_k_spectral_residual_transform_core, sizeof(__pyx_k_spectral_residual_transform_core), 0, 0, 1, 1}, + {&__pyx_n_s_sqrt, __pyx_k_sqrt, sizeof(__pyx_k_sqrt), 0, 0, 1, 1}, + {&__pyx_n_s_start, __pyx_k_start, sizeof(__pyx_k_start), 0, 0, 1, 1}, + {&__pyx_n_s_std, __pyx_k_std, sizeof(__pyx_k_std), 0, 0, 1, 1}, + {&__pyx_n_s_step, __pyx_k_step, sizeof(__pyx_k_step), 0, 0, 1, 1}, + {&__pyx_n_s_stop, __pyx_k_stop, sizeof(__pyx_k_stop), 0, 0, 1, 1}, + {&__pyx_kp_s_strided_and_direct, __pyx_k_strided_and_direct, sizeof(__pyx_k_strided_and_direct), 0, 0, 1, 0}, + {&__pyx_kp_s_strided_and_direct_or_indirect, __pyx_k_strided_and_direct_or_indirect, sizeof(__pyx_k_strided_and_direct_or_indirect), 0, 0, 1, 0}, + {&__pyx_kp_s_strided_and_indirect, __pyx_k_strided_and_indirect, sizeof(__pyx_k_strided_and_indirect), 0, 0, 1, 0}, + {&__pyx_kp_s_stringsource, __pyx_k_stringsource, sizeof(__pyx_k_stringsource), 0, 0, 1, 0}, + {&__pyx_n_s_struct, __pyx_k_struct, sizeof(__pyx_k_struct), 0, 0, 1, 1}, + {&__pyx_n_s_student_t, __pyx_k_student_t, sizeof(__pyx_k_student_t), 0, 0, 1, 1}, + {&__pyx_n_s_sys, __pyx_k_sys, sizeof(__pyx_k_sys), 0, 0, 1, 1}, + {&__pyx_n_s_t, __pyx_k_t, sizeof(__pyx_k_t), 0, 0, 1, 1}, + {&__pyx_n_s_table, __pyx_k_table, sizeof(__pyx_k_table), 0, 0, 1, 1}, + {&__pyx_n_s_test, __pyx_k_test, sizeof(__pyx_k_test), 0, 0, 1, 1}, + {&__pyx_n_s_threshold, __pyx_k_threshold, sizeof(__pyx_k_threshold), 0, 0, 1, 1}, + {&__pyx_n_s_trans, __pyx_k_trans, sizeof(__pyx_k_trans), 0, 0, 1, 1}, + {&__pyx_kp_s_unable_to_allocate_array_data, __pyx_k_unable_to_allocate_array_data, sizeof(__pyx_k_unable_to_allocate_array_data), 0, 0, 1, 0}, + {&__pyx_kp_s_unable_to_allocate_shape_and_str, __pyx_k_unable_to_allocate_shape_and_str, sizeof(__pyx_k_unable_to_allocate_shape_and_str), 0, 0, 1, 0}, + {&__pyx_n_s_unpack, __pyx_k_unpack, sizeof(__pyx_k_unpack), 0, 0, 1, 1}, + {&__pyx_n_s_update, __pyx_k_update, sizeof(__pyx_k_update), 0, 0, 1, 1}, + {&__pyx_n_s_upper_tail, __pyx_k_upper_tail, sizeof(__pyx_k_upper_tail), 0, 0, 1, 1}, + {&__pyx_n_s_value, __pyx_k_value, sizeof(__pyx_k_value), 0, 0, 1, 1}, + {&__pyx_n_s_values, __pyx_k_values, sizeof(__pyx_k_values), 0, 0, 1, 1}, + {&__pyx_n_s_var, __pyx_k_var, sizeof(__pyx_k_var), 0, 0, 1, 1}, + {&__pyx_n_s_version_info, __pyx_k_version_info, sizeof(__pyx_k_version_info), 0, 0, 1, 1}, + {&__pyx_n_s_wave_r, __pyx_k_wave_r, sizeof(__pyx_k_wave_r), 0, 0, 1, 1}, + {&__pyx_n_s_where, __pyx_k_where, sizeof(__pyx_k_where), 0, 0, 1, 1}, + {&__pyx_n_s_window, __pyx_k_window, sizeof(__pyx_k_window), 0, 0, 1, 1}, + {&__pyx_n_s_x, __pyx_k_x, sizeof(__pyx_k_x), 0, 0, 1, 1}, + {&__pyx_n_s_zeros, __pyx_k_zeros, sizeof(__pyx_k_zeros), 0, 0, 1, 1}, + {&__pyx_n_s_zip, __pyx_k_zip, sizeof(__pyx_k_zip), 0, 0, 1, 1}, + {0, 0, 0, 0, 0, 0, 0} + }; + return __Pyx_InitStrings(__pyx_string_tab); +} +/* #### Code section: cached_builtins ### */ +static CYTHON_SMALL_CODE int __Pyx_InitCachedBuiltins(void) { + __pyx_builtin_range = __Pyx_GetBuiltinName(__pyx_n_s_range); if (!__pyx_builtin_range) __PYX_ERR(0, 140, __pyx_L1_error) + __pyx_builtin_enumerate = __Pyx_GetBuiltinName(__pyx_n_s_enumerate); if (!__pyx_builtin_enumerate) __PYX_ERR(0, 306, __pyx_L1_error) + __pyx_builtin_zip = __Pyx_GetBuiltinName(__pyx_n_s_zip); if (!__pyx_builtin_zip) __PYX_ERR(0, 318, __pyx_L1_error) + __pyx_builtin___import__ = __Pyx_GetBuiltinName(__pyx_n_s_import); if (!__pyx_builtin___import__) __PYX_ERR(1, 100, __pyx_L1_error) + __pyx_builtin_ValueError = __Pyx_GetBuiltinName(__pyx_n_s_ValueError); if (!__pyx_builtin_ValueError) __PYX_ERR(1, 141, __pyx_L1_error) + __pyx_builtin_MemoryError = __Pyx_GetBuiltinName(__pyx_n_s_MemoryError); if (!__pyx_builtin_MemoryError) __PYX_ERR(1, 156, __pyx_L1_error) + __pyx_builtin_TypeError = __Pyx_GetBuiltinName(__pyx_n_s_TypeError); if (!__pyx_builtin_TypeError) __PYX_ERR(1, 2, __pyx_L1_error) + __pyx_builtin_AssertionError = __Pyx_GetBuiltinName(__pyx_n_s_AssertionError); if (!__pyx_builtin_AssertionError) __PYX_ERR(1, 373, __pyx_L1_error) + __pyx_builtin_Ellipsis = __Pyx_GetBuiltinName(__pyx_n_s_Ellipsis); if (!__pyx_builtin_Ellipsis) __PYX_ERR(1, 408, __pyx_L1_error) + __pyx_builtin_id = __Pyx_GetBuiltinName(__pyx_n_s_id); if (!__pyx_builtin_id) __PYX_ERR(1, 618, __pyx_L1_error) + __pyx_builtin_IndexError = __Pyx_GetBuiltinName(__pyx_n_s_IndexError); if (!__pyx_builtin_IndexError) __PYX_ERR(1, 914, __pyx_L1_error) + __pyx_builtin_ImportError = __Pyx_GetBuiltinName(__pyx_n_s_ImportError); if (!__pyx_builtin_ImportError) __PYX_ERR(2, 984, __pyx_L1_error) + return 0; + __pyx_L1_error:; + return -1; +} +/* #### Code section: cached_constants ### */ + +static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__Pyx_InitCachedConstants", 0); + + /* "View.MemoryView":582 + * def suboffsets(self): + * if self.view.suboffsets == NULL: + * return (-1,) * self.view.ndim # <<<<<<<<<<<<<< + * + * return tuple([suboffset for suboffset in self.view.suboffsets[:self.view.ndim]]) + */ + __pyx_tuple__4 = PyTuple_New(1); if (unlikely(!__pyx_tuple__4)) __PYX_ERR(1, 582, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__4); + __Pyx_INCREF(__pyx_int_neg_1); + __Pyx_GIVEREF(__pyx_int_neg_1); + if (__Pyx_PyTuple_SET_ITEM(__pyx_tuple__4, 0, __pyx_int_neg_1)) __PYX_ERR(1, 582, __pyx_L1_error); + __Pyx_GIVEREF(__pyx_tuple__4); + + /* "View.MemoryView":679 + * tup = index if isinstance(index, tuple) else (index,) + * + * result = [slice(None)] * ndim # <<<<<<<<<<<<<< + * have_slices = False + * seen_ellipsis = False + */ + __pyx_slice__5 = PySlice_New(Py_None, Py_None, Py_None); if (unlikely(!__pyx_slice__5)) __PYX_ERR(1, 679, __pyx_L1_error) + __Pyx_GOTREF(__pyx_slice__5); + __Pyx_GIVEREF(__pyx_slice__5); + + /* "(tree fragment)":4 + * cdef object __pyx_PickleError + * cdef object __pyx_result + * if __pyx_checksum not in (0x82a3537, 0x6ae9995, 0xb068931): # <<<<<<<<<<<<<< + * from pickle import PickleError as __pyx_PickleError + * raise __pyx_PickleError, "Incompatible checksums (0x%x vs (0x82a3537, 0x6ae9995, 0xb068931) = (name))" % __pyx_checksum + */ + __pyx_tuple__8 = PyTuple_Pack(3, __pyx_int_136983863, __pyx_int_112105877, __pyx_int_184977713); if (unlikely(!__pyx_tuple__8)) __PYX_ERR(1, 4, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__8); + __Pyx_GIVEREF(__pyx_tuple__8); + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":984 + * __pyx_import_array() + * except Exception: + * raise ImportError("numpy.core.multiarray failed to import") # <<<<<<<<<<<<<< + * + * cdef inline int import_umath() except -1: + */ + __pyx_tuple__9 = PyTuple_Pack(1, __pyx_kp_s_numpy_core_multiarray_failed_to); if (unlikely(!__pyx_tuple__9)) __PYX_ERR(2, 984, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__9); + __Pyx_GIVEREF(__pyx_tuple__9); + + /* "../../../.venv/lib/site-packages/numpy/__init__.cython-30.pxd":990 + * _import_umath() + * except Exception: + * raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<< + * + * cdef inline int import_ufunc() except -1: + */ + __pyx_tuple__10 = PyTuple_Pack(1, __pyx_kp_s_numpy_core_umath_failed_to_impor); if (unlikely(!__pyx_tuple__10)) __PYX_ERR(2, 990, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__10); + __Pyx_GIVEREF(__pyx_tuple__10); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":68 + * cdef int mid + * if n == 0: + * raise Exception("no median for empty data") # <<<<<<<<<<<<<< + * if n % 2 == 1: + * return data[i + n // 2] + */ + __pyx_tuple__11 = PyTuple_Pack(1, __pyx_kp_s_no_median_for_empty_data); if (unlikely(!__pyx_tuple__11)) __PYX_ERR(0, 68, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__11); + __Pyx_GIVEREF(__pyx_tuple__11); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":136 + * + * cdef float[:] values = array.array('f', sorted_values) + * cdef float[:] reverse_value = array.array('f', sorted_values[::-1]) # <<<<<<<<<<<<<< + * if last_index != -1: + * start_index = last_index + */ + __pyx_slice__12 = PySlice_New(Py_None, Py_None, __pyx_int_neg_1); if (unlikely(!__pyx_slice__12)) __PYX_ERR(0, 136, __pyx_L1_error) + __Pyx_GOTREF(__pyx_slice__12); + __Pyx_GIVEREF(__pyx_slice__12); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":196 + * cdef float cv_mse = np.inf + * cdef float _mse = 0 + * cdef float[:] _seasons = np.empty(1, dtype='f') # <<<<<<<<<<<<<< + * cdef float[:] cv_seasons = np.empty(1, dtype='f') + * cdef int[:] periods_idx = periods + */ + __pyx_tuple__13 = PyTuple_Pack(1, __pyx_int_1); if (unlikely(!__pyx_tuple__13)) __PYX_ERR(0, 196, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__13); + __Pyx_GIVEREF(__pyx_tuple__13); + + /* "View.MemoryView":100 + * cdef object __pyx_collections_abc_Sequence "__pyx_collections_abc_Sequence" + * try: + * if __import__("sys").version_info >= (3, 3): # <<<<<<<<<<<<<< + * __pyx_collections_abc_Sequence = __import__("collections.abc").abc.Sequence + * else: + */ + __pyx_tuple__14 = PyTuple_Pack(1, __pyx_n_s_sys); if (unlikely(!__pyx_tuple__14)) __PYX_ERR(1, 100, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__14); + __Pyx_GIVEREF(__pyx_tuple__14); + __pyx_tuple__15 = PyTuple_Pack(2, __pyx_int_3, __pyx_int_3); if (unlikely(!__pyx_tuple__15)) __PYX_ERR(1, 100, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__15); + __Pyx_GIVEREF(__pyx_tuple__15); + + /* "View.MemoryView":101 + * try: + * if __import__("sys").version_info >= (3, 3): + * __pyx_collections_abc_Sequence = __import__("collections.abc").abc.Sequence # <<<<<<<<<<<<<< + * else: + * __pyx_collections_abc_Sequence = __import__("collections").Sequence + */ + __pyx_tuple__16 = PyTuple_Pack(1, __pyx_kp_s_collections_abc); if (unlikely(!__pyx_tuple__16)) __PYX_ERR(1, 101, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__16); + __Pyx_GIVEREF(__pyx_tuple__16); + + /* "View.MemoryView":103 + * __pyx_collections_abc_Sequence = __import__("collections.abc").abc.Sequence + * else: + * __pyx_collections_abc_Sequence = __import__("collections").Sequence # <<<<<<<<<<<<<< + * except: + * + */ + __pyx_tuple__17 = PyTuple_Pack(1, __pyx_n_s_collections); if (unlikely(!__pyx_tuple__17)) __PYX_ERR(1, 103, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__17); + __Pyx_GIVEREF(__pyx_tuple__17); + + /* "View.MemoryView":309 + * return self.name + * + * cdef generic = Enum("") # <<<<<<<<<<<<<< + * cdef strided = Enum("") # default + * cdef indirect = Enum("") + */ + __pyx_tuple__18 = PyTuple_Pack(1, __pyx_kp_s_strided_and_direct_or_indirect); if (unlikely(!__pyx_tuple__18)) __PYX_ERR(1, 309, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__18); + __Pyx_GIVEREF(__pyx_tuple__18); + + /* "View.MemoryView":310 + * + * cdef generic = Enum("") + * cdef strided = Enum("") # default # <<<<<<<<<<<<<< + * cdef indirect = Enum("") + * + */ + __pyx_tuple__19 = PyTuple_Pack(1, __pyx_kp_s_strided_and_direct); if (unlikely(!__pyx_tuple__19)) __PYX_ERR(1, 310, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__19); + __Pyx_GIVEREF(__pyx_tuple__19); + + /* "View.MemoryView":311 + * cdef generic = Enum("") + * cdef strided = Enum("") # default + * cdef indirect = Enum("") # <<<<<<<<<<<<<< + * + * + */ + __pyx_tuple__20 = PyTuple_Pack(1, __pyx_kp_s_strided_and_indirect); if (unlikely(!__pyx_tuple__20)) __PYX_ERR(1, 311, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__20); + __Pyx_GIVEREF(__pyx_tuple__20); + + /* "View.MemoryView":314 + * + * + * cdef contiguous = Enum("") # <<<<<<<<<<<<<< + * cdef indirect_contiguous = Enum("") + * + */ + __pyx_tuple__21 = PyTuple_Pack(1, __pyx_kp_s_contiguous_and_direct); if (unlikely(!__pyx_tuple__21)) __PYX_ERR(1, 314, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__21); + __Pyx_GIVEREF(__pyx_tuple__21); + + /* "View.MemoryView":315 + * + * cdef contiguous = Enum("") + * cdef indirect_contiguous = Enum("") # <<<<<<<<<<<<<< + * + * + */ + __pyx_tuple__22 = PyTuple_Pack(1, __pyx_kp_s_contiguous_and_indirect); if (unlikely(!__pyx_tuple__22)) __PYX_ERR(1, 315, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__22); + __Pyx_GIVEREF(__pyx_tuple__22); + + /* "(tree fragment)":1 + * def __pyx_unpickle_Enum(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< + * cdef object __pyx_PickleError + * cdef object __pyx_result + */ + __pyx_tuple__23 = PyTuple_Pack(5, __pyx_n_s_pyx_type, __pyx_n_s_pyx_checksum, __pyx_n_s_pyx_state, __pyx_n_s_pyx_PickleError, __pyx_n_s_pyx_result); if (unlikely(!__pyx_tuple__23)) __PYX_ERR(1, 1, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__23); + __Pyx_GIVEREF(__pyx_tuple__23); + __pyx_codeobj__24 = (PyObject*)__Pyx_PyCode_New(3, 0, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__23, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_stringsource, __pyx_n_s_pyx_unpickle_Enum, 1, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__24)) __PYX_ERR(1, 1, __pyx_L1_error) + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":13 + * cdef float EPS = 1e-8 + * + * cpdef int partition(float[:] data, int left, int right, int pivot_index) nogil: # <<<<<<<<<<<<<< + * cdef float pivot_value = data[pivot_index] + * cdef int left_index = left + */ + __pyx_tuple__25 = PyTuple_Pack(4, __pyx_n_s_data, __pyx_n_s_left, __pyx_n_s_right, __pyx_n_s_pivot_index); if (unlikely(!__pyx_tuple__25)) __PYX_ERR(0, 13, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__25); + __Pyx_GIVEREF(__pyx_tuple__25); + __pyx_codeobj__26 = (PyObject*)__Pyx_PyCode_New(4, 0, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__25, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_anomaly_kernel_cython_pyx, __pyx_n_s_partition, 13, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__26)) __PYX_ERR(0, 13, __pyx_L1_error) + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":30 + * return (left_index + right_store_index) // 2 + * + * cpdef float select(float[:] data, int left, int right, int n) nogil: # <<<<<<<<<<<<<< + * cdef int pivot_index + * if left == right: + */ + __pyx_tuple__27 = PyTuple_Pack(4, __pyx_n_s_data, __pyx_n_s_left, __pyx_n_s_right, __pyx_n_s_n); if (unlikely(!__pyx_tuple__27)) __PYX_ERR(0, 30, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__27); + __Pyx_GIVEREF(__pyx_tuple__27); + __pyx_codeobj__28 = (PyObject*)__Pyx_PyCode_New(4, 0, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__27, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_anomaly_kernel_cython_pyx, __pyx_n_s_select, 30, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__28)) __PYX_ERR(0, 30, __pyx_L1_error) + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":46 + * + * + * cpdef float quick_select(float[:] data, int k) nogil: # <<<<<<<<<<<<<< + * return select(data, 0, len(data)-1, k-1) + * + */ + __pyx_tuple__29 = PyTuple_Pack(2, __pyx_n_s_data, __pyx_n_s_k); if (unlikely(!__pyx_tuple__29)) __PYX_ERR(0, 46, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__29); + __Pyx_GIVEREF(__pyx_tuple__29); + __pyx_codeobj__30 = (PyObject*)__Pyx_PyCode_New(2, 0, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__29, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_anomaly_kernel_cython_pyx, __pyx_n_s_quick_select, 46, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__30)) __PYX_ERR(0, 46, __pyx_L1_error) + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":49 + * return select(data, 0, len(data)-1, k-1) + * + * cpdef float fast_median(float[:] table) nogil: # <<<<<<<<<<<<<< + * if len(table) % 2 == 1: + * return quick_select(table, len(table) // 2 + 1) + */ + __pyx_tuple__31 = PyTuple_Pack(1, __pyx_n_s_table); if (unlikely(!__pyx_tuple__31)) __PYX_ERR(0, 49, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__31); + __Pyx_GIVEREF(__pyx_tuple__31); + __pyx_codeobj__32 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__31, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_anomaly_kernel_cython_pyx, __pyx_n_s_fast_median, 49, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__32)) __PYX_ERR(0, 49, __pyx_L1_error) + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":56 + * quick_select(table, len(table) // 2 + 1)) + * + * cpdef float calculate_esd_values(int i, float alpha, int n, bint one_tail=True): # <<<<<<<<<<<<<< + * if one_tail: + * p = 1 - alpha / float(n - i + 1) + */ + __pyx_tuple__33 = PyTuple_Pack(4, __pyx_n_s_i, __pyx_n_s_alpha, __pyx_n_s_n, __pyx_n_s_one_tail); if (unlikely(!__pyx_tuple__33)) __PYX_ERR(0, 56, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__33); + __Pyx_GIVEREF(__pyx_tuple__33); + __pyx_codeobj__34 = (PyObject*)__Pyx_PyCode_New(4, 0, 0, 4, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__33, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_anomaly_kernel_cython_pyx, __pyx_n_s_calculate_esd_values, 56, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__34)) __PYX_ERR(0, 56, __pyx_L1_error) + __pyx_tuple__35 = PyTuple_Pack(1, Py_True); if (unlikely(!__pyx_tuple__35)) __PYX_ERR(0, 56, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__35); + __Pyx_GIVEREF(__pyx_tuple__35); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":64 + * return t * (n - i) / float(sqrt((n - i - 1 + t ** 2) * (n - i + 1))) + * + * cpdef float sorted_median(float[:] data, int i, int j): # <<<<<<<<<<<<<< + * cdef int n = j - i + * cdef int mid + */ + __pyx_tuple__36 = PyTuple_Pack(3, __pyx_n_s_data, __pyx_n_s_i, __pyx_n_s_j); if (unlikely(!__pyx_tuple__36)) __PYX_ERR(0, 64, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__36); + __Pyx_GIVEREF(__pyx_tuple__36); + __pyx_codeobj__37 = (PyObject*)__Pyx_PyCode_New(3, 0, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__36, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_anomaly_kernel_cython_pyx, __pyx_n_s_sorted_median, 64, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__37)) __PYX_ERR(0, 64, __pyx_L1_error) + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":75 + * return (data[mid - 1] + data[mid])/2 + * + * cpdef float find_median_sorted_arrays(float[:] a, float[:] b, float median): # <<<<<<<<<<<<<< + * cdef int m = len(a) + * cdef int n = len(b) + */ + __pyx_tuple__38 = PyTuple_Pack(3, __pyx_n_s_a, __pyx_n_s_b, __pyx_n_s_median); if (unlikely(!__pyx_tuple__38)) __PYX_ERR(0, 75, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__38); + __Pyx_GIVEREF(__pyx_tuple__38); + __pyx_codeobj__39 = (PyObject*)__Pyx_PyCode_New(3, 0, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__38, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_anomaly_kernel_cython_pyx, __pyx_n_s_find_median_sorted_arrays, 75, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__39)) __PYX_ERR(0, 75, __pyx_L1_error) + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":111 + * return (max_of_left + min_of_right) / 2.0 + * + * cpdef bint check_anomaly_status(float median_value, float data_sigma, float value, float threshold, # <<<<<<<<<<<<<< + * bint upper_tail): + * cdef float de_median_value = value - median_value + */ + __pyx_tuple__40 = PyTuple_Pack(5, __pyx_n_s_median_value, __pyx_n_s_data_sigma, __pyx_n_s_value, __pyx_n_s_threshold, __pyx_n_s_upper_tail); if (unlikely(!__pyx_tuple__40)) __PYX_ERR(0, 111, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__40); + __Pyx_GIVEREF(__pyx_tuple__40); + __pyx_codeobj__41 = (PyObject*)__Pyx_PyCode_New(5, 0, 0, 5, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__40, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_anomaly_kernel_cython_pyx, __pyx_n_s_check_anomaly_status, 111, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__41)) __PYX_ERR(0, 111, __pyx_L1_error) + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":124 + * + * + * cpdef list dynamic_threshold(list sorted_values, list sorted_index, int max_outliers, float threshold, # <<<<<<<<<<<<<< + * bint upper_tail, int last_index): + * cdef int length = len(sorted_values) + */ + __pyx_tuple__42 = PyTuple_Pack(6, __pyx_n_s_sorted_values, __pyx_n_s_sorted_index, __pyx_n_s_max_outliers, __pyx_n_s_threshold, __pyx_n_s_upper_tail, __pyx_n_s_last_index); if (unlikely(!__pyx_tuple__42)) __PYX_ERR(0, 124, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__42); + __Pyx_GIVEREF(__pyx_tuple__42); + __pyx_codeobj__43 = (PyObject*)__Pyx_PyCode_New(6, 0, 0, 6, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__42, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_anomaly_kernel_cython_pyx, __pyx_n_s_dynamic_threshold, 124, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__43)) __PYX_ERR(0, 124, __pyx_L1_error) + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":160 + * + * + * cpdef list generalized_esd_test(list sorted_values, list sorted_index, int max_outliers, list critical_values, # <<<<<<<<<<<<<< + * bint upper_tail, int last_index): + * cdef int length = len(sorted_values) + */ + __pyx_tuple__44 = PyTuple_Pack(6, __pyx_n_s_sorted_values, __pyx_n_s_sorted_index, __pyx_n_s_max_outliers, __pyx_n_s_critical_values, __pyx_n_s_upper_tail, __pyx_n_s_last_index); if (unlikely(!__pyx_tuple__44)) __PYX_ERR(0, 160, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__44); + __Pyx_GIVEREF(__pyx_tuple__44); + __pyx_codeobj__45 = (PyObject*)__Pyx_PyCode_New(6, 0, 0, 6, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__44, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_anomaly_kernel_cython_pyx, __pyx_n_s_generalized_esd_test, 160, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__45)) __PYX_ERR(0, 160, __pyx_L1_error) + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":193 + * return sorted_index[:num_anoms + 1] + * + * cpdef max_gcv(np.ndarray data, np.ndarray periods): # <<<<<<<<<<<<<< + * cdef float cv_mse = np.inf + * cdef float _mse = 0 + */ + __pyx_tuple__46 = PyTuple_Pack(2, __pyx_n_s_data, __pyx_n_s_periods); if (unlikely(!__pyx_tuple__46)) __PYX_ERR(0, 193, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__46); + __Pyx_GIVEREF(__pyx_tuple__46); + __pyx_codeobj__47 = (PyObject*)__Pyx_PyCode_New(2, 0, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__46, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_anomaly_kernel_cython_pyx, __pyx_n_s_max_gcv, 193, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__47)) __PYX_ERR(0, 193, __pyx_L1_error) + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":207 + * return cv_mse, cv_seasons + * + * cpdef gcv(np.ndarray gcv_input, int period): # <<<<<<<<<<<<<< + * cdef float[:] seasons = np.empty(period, dtype='f') + * cdef int[:] cycles = np.zeros(period, dtype='i') + */ + __pyx_tuple__48 = PyTuple_Pack(2, __pyx_n_s_gcv_input, __pyx_n_s_period); if (unlikely(!__pyx_tuple__48)) __PYX_ERR(0, 207, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__48); + __Pyx_GIVEREF(__pyx_tuple__48); + __pyx_codeobj__49 = (PyObject*)__Pyx_PyCode_New(2, 0, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__48, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_anomaly_kernel_cython_pyx, __pyx_n_s_gcv, 207, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__49)) __PYX_ERR(0, 207, __pyx_L1_error) + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":231 + * return cv_mse, seasons + * + * cpdef median_filter(np.ndarray data, int window, bint need_two_end=False): # <<<<<<<<<<<<<< + * cdef int w_len = window // 2 * 2 + 1 + * cdef int t_len = len(data) + */ + __pyx_tuple__50 = PyTuple_Pack(3, __pyx_n_s_data, __pyx_n_s_window, __pyx_n_s_need_two_end); if (unlikely(!__pyx_tuple__50)) __PYX_ERR(0, 231, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__50); + __Pyx_GIVEREF(__pyx_tuple__50); + __pyx_codeobj__51 = (PyObject*)__Pyx_PyCode_New(3, 0, 0, 3, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__50, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_anomaly_kernel_cython_pyx, __pyx_n_s_median_filter, 231, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__51)) __PYX_ERR(0, 231, __pyx_L1_error) + __pyx_tuple__52 = PyTuple_Pack(1, Py_False); if (unlikely(!__pyx_tuple__52)) __PYX_ERR(0, 231, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__52); + __Pyx_GIVEREF(__pyx_tuple__52); + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":281 + * + * + * def spectral_residual_transform_core(list values): # <<<<<<<<<<<<<< + * """ + * This method transform a time series into spectral residual series + */ + __pyx_tuple__53 = PyTuple_Pack(15, __pyx_n_s_values, __pyx_n_s_amplitude, __pyx_n_s_mag, __pyx_n_s_current, __pyx_n_s_window, __pyx_n_s_trans, __pyx_n_s_i, __pyx_n_s_d, __pyx_n_s_wave_r, __pyx_n_s_x, __pyx_n_s_x, __pyx_n_s_ireal, __pyx_n_s_a, __pyx_n_s_iimag, __pyx_n_s_a); if (unlikely(!__pyx_tuple__53)) __PYX_ERR(0, 281, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__53); + __Pyx_GIVEREF(__pyx_tuple__53); + __pyx_codeobj__54 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 15, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__53, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_anomaly_kernel_cython_pyx, __pyx_n_s_spectral_residual_transform_core, 281, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__54)) __PYX_ERR(0, 281, __pyx_L1_error) + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":328 + * + * + * cpdef is_straight(np.ndarray values, int step): # <<<<<<<<<<<<<< + * cdef int total_cnt = 0 + * cdef int cnt = 0 + */ + __pyx_tuple__55 = PyTuple_Pack(2, __pyx_n_s_values, __pyx_n_s_step); if (unlikely(!__pyx_tuple__55)) __PYX_ERR(0, 328, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__55); + __Pyx_GIVEREF(__pyx_tuple__55); + __pyx_codeobj__56 = (PyObject*)__Pyx_PyCode_New(2, 0, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__55, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_anomaly_kernel_cython_pyx, __pyx_n_s_is_straight, 328, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__56)) __PYX_ERR(0, 328, __pyx_L1_error) + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":339 + * return total_cnt <= cnt + * + * cpdef remove_anomaly_in_bucket(np.ndarray values, int period): # <<<<<<<<<<<<<< + * cdef float[:] sub_values_array + * for i in range(period): + */ + __pyx_tuple__57 = PyTuple_Pack(2, __pyx_n_s_values, __pyx_n_s_period); if (unlikely(!__pyx_tuple__57)) __PYX_ERR(0, 339, __pyx_L1_error) + __Pyx_GOTREF(__pyx_tuple__57); + __Pyx_GIVEREF(__pyx_tuple__57); + __pyx_codeobj__58 = (PyObject*)__Pyx_PyCode_New(2, 0, 0, 2, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__57, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_anomaly_kernel_cython_pyx, __pyx_n_s_remove_anomaly_in_bucket, 339, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__58)) __PYX_ERR(0, 339, __pyx_L1_error) + __Pyx_RefNannyFinishContext(); + return 0; + __pyx_L1_error:; + __Pyx_RefNannyFinishContext(); + return -1; +} +/* #### Code section: init_constants ### */ + +static CYTHON_SMALL_CODE int __Pyx_InitConstants(void) { + if (__Pyx_CreateStringTabAndInitStrings() < 0) __PYX_ERR(0, 1, __pyx_L1_error); + __pyx_float_1_ = PyFloat_FromDouble(1.); if (unlikely(!__pyx_float_1_)) __PYX_ERR(0, 1, __pyx_L1_error) + __pyx_float_0_0 = PyFloat_FromDouble(0.0); if (unlikely(!__pyx_float_0_0)) __PYX_ERR(0, 1, __pyx_L1_error) + __pyx_float_2_0 = PyFloat_FromDouble(2.0); if (unlikely(!__pyx_float_2_0)) __PYX_ERR(0, 1, __pyx_L1_error) + __pyx_float_3_0 = PyFloat_FromDouble(3.0); if (unlikely(!__pyx_float_3_0)) __PYX_ERR(0, 1, __pyx_L1_error) + __pyx_int_0 = PyInt_FromLong(0); if (unlikely(!__pyx_int_0)) __PYX_ERR(0, 1, __pyx_L1_error) + __pyx_int_1 = PyInt_FromLong(1); if (unlikely(!__pyx_int_1)) __PYX_ERR(0, 1, __pyx_L1_error) + __pyx_int_2 = PyInt_FromLong(2); if (unlikely(!__pyx_int_2)) __PYX_ERR(0, 1, __pyx_L1_error) + __pyx_int_3 = PyInt_FromLong(3); if (unlikely(!__pyx_int_3)) __PYX_ERR(0, 1, __pyx_L1_error) + __pyx_int_112105877 = PyInt_FromLong(112105877L); if (unlikely(!__pyx_int_112105877)) __PYX_ERR(0, 1, __pyx_L1_error) + __pyx_int_136983863 = PyInt_FromLong(136983863L); if (unlikely(!__pyx_int_136983863)) __PYX_ERR(0, 1, __pyx_L1_error) + __pyx_int_184977713 = PyInt_FromLong(184977713L); if (unlikely(!__pyx_int_184977713)) __PYX_ERR(0, 1, __pyx_L1_error) + __pyx_int_neg_1 = PyInt_FromLong(-1); if (unlikely(!__pyx_int_neg_1)) __PYX_ERR(0, 1, __pyx_L1_error) + return 0; + __pyx_L1_error:; + return -1; +} +/* #### Code section: init_globals ### */ + +static CYTHON_SMALL_CODE int __Pyx_InitGlobals(void) { + /* AssertionsEnabled.init */ + if (likely(__Pyx_init_assertions_enabled() == 0)); else + +if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1, __pyx_L1_error) + + /* NumpyImportArray.init */ + /* + * Cython has automatically inserted a call to _import_array since + * you didn't include one when you cimported numpy. To disable this + * add the line + * numpy._import_array + */ +#ifdef NPY_FEATURE_VERSION +#ifndef NO_IMPORT_ARRAY +if (unlikely(_import_array() == -1)) { + PyErr_SetString(PyExc_ImportError, "numpy.core.multiarray failed to import " + "(auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; " + "use 'numpy._import_array' to disable if you are certain you don't need it)."); +} +#endif +#endif + +if (unlikely(PyErr_Occurred())) __PYX_ERR(0, 1, __pyx_L1_error) + + return 0; + __pyx_L1_error:; + return -1; +} +/* #### Code section: init_module ### */ + +static CYTHON_SMALL_CODE int __Pyx_modinit_global_init_code(void); /*proto*/ +static CYTHON_SMALL_CODE int __Pyx_modinit_variable_export_code(void); /*proto*/ +static CYTHON_SMALL_CODE int __Pyx_modinit_function_export_code(void); /*proto*/ +static CYTHON_SMALL_CODE int __Pyx_modinit_type_init_code(void); /*proto*/ +static CYTHON_SMALL_CODE int __Pyx_modinit_type_import_code(void); /*proto*/ +static CYTHON_SMALL_CODE int __Pyx_modinit_variable_import_code(void); /*proto*/ +static CYTHON_SMALL_CODE int __Pyx_modinit_function_import_code(void); /*proto*/ + +static int __Pyx_modinit_global_init_code(void) { + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__Pyx_modinit_global_init_code", 0); + /*--- Global init code ---*/ + __pyx_collections_abc_Sequence = Py_None; Py_INCREF(Py_None); + generic = Py_None; Py_INCREF(Py_None); + strided = Py_None; Py_INCREF(Py_None); + indirect = Py_None; Py_INCREF(Py_None); + contiguous = Py_None; Py_INCREF(Py_None); + indirect_contiguous = Py_None; Py_INCREF(Py_None); + __Pyx_RefNannyFinishContext(); + return 0; +} + +static int __Pyx_modinit_variable_export_code(void) { + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__Pyx_modinit_variable_export_code", 0); + /*--- Variable export code ---*/ + __Pyx_RefNannyFinishContext(); + return 0; +} + +static int __Pyx_modinit_function_export_code(void) { + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__Pyx_modinit_function_export_code", 0); + /*--- Function export code ---*/ + __Pyx_RefNannyFinishContext(); + return 0; +} + +static int __Pyx_modinit_type_init_code(void) { + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("__Pyx_modinit_type_init_code", 0); + /*--- Type init code ---*/ + __pyx_vtabptr_array = &__pyx_vtable_array; + __pyx_vtable_array.get_memview = (PyObject *(*)(struct __pyx_array_obj *))__pyx_array_get_memview; + #if CYTHON_USE_TYPE_SPECS + __pyx_array_type = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type___pyx_array_spec, NULL); if (unlikely(!__pyx_array_type)) __PYX_ERR(1, 114, __pyx_L1_error) + #if !CYTHON_COMPILING_IN_LIMITED_API + __pyx_array_type->tp_as_buffer = &__pyx_tp_as_buffer_array; + if (!__pyx_array_type->tp_as_buffer->bf_releasebuffer && __pyx_array_type->tp_base->tp_as_buffer && __pyx_array_type->tp_base->tp_as_buffer->bf_releasebuffer) { + __pyx_array_type->tp_as_buffer->bf_releasebuffer = __pyx_array_type->tp_base->tp_as_buffer->bf_releasebuffer; + } + #elif defined(Py_bf_getbuffer) && defined(Py_bf_releasebuffer) + /* PY_VERSION_HEX >= 0x03090000 || Py_LIMITED_API >= 0x030B0000 */ + #elif defined(_MSC_VER) + #pragma message ("The buffer protocol is not supported in the Limited C-API < 3.11.") + #else + #warning "The buffer protocol is not supported in the Limited C-API < 3.11." + #endif + if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type___pyx_array_spec, __pyx_array_type) < 0) __PYX_ERR(1, 114, __pyx_L1_error) + #else + __pyx_array_type = &__pyx_type___pyx_array; + #endif + #if !CYTHON_COMPILING_IN_LIMITED_API + #endif + #if !CYTHON_USE_TYPE_SPECS + if (__Pyx_PyType_Ready(__pyx_array_type) < 0) __PYX_ERR(1, 114, __pyx_L1_error) + #endif + #if PY_MAJOR_VERSION < 3 + __pyx_array_type->tp_print = 0; + #endif + if (__Pyx_SetVtable(__pyx_array_type, __pyx_vtabptr_array) < 0) __PYX_ERR(1, 114, __pyx_L1_error) + #if !CYTHON_COMPILING_IN_LIMITED_API + if (__Pyx_MergeVtables(__pyx_array_type) < 0) __PYX_ERR(1, 114, __pyx_L1_error) + #endif + #if !CYTHON_COMPILING_IN_LIMITED_API + if (__Pyx_setup_reduce((PyObject *) __pyx_array_type) < 0) __PYX_ERR(1, 114, __pyx_L1_error) + #endif + #if CYTHON_USE_TYPE_SPECS + __pyx_MemviewEnum_type = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type___pyx_MemviewEnum_spec, NULL); if (unlikely(!__pyx_MemviewEnum_type)) __PYX_ERR(1, 302, __pyx_L1_error) + if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type___pyx_MemviewEnum_spec, __pyx_MemviewEnum_type) < 0) __PYX_ERR(1, 302, __pyx_L1_error) + #else + __pyx_MemviewEnum_type = &__pyx_type___pyx_MemviewEnum; + #endif + #if !CYTHON_COMPILING_IN_LIMITED_API + #endif + #if !CYTHON_USE_TYPE_SPECS + if (__Pyx_PyType_Ready(__pyx_MemviewEnum_type) < 0) __PYX_ERR(1, 302, __pyx_L1_error) + #endif + #if PY_MAJOR_VERSION < 3 + __pyx_MemviewEnum_type->tp_print = 0; + #endif + #if !CYTHON_COMPILING_IN_LIMITED_API + if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_MemviewEnum_type->tp_dictoffset && __pyx_MemviewEnum_type->tp_getattro == PyObject_GenericGetAttr)) { + __pyx_MemviewEnum_type->tp_getattro = __Pyx_PyObject_GenericGetAttr; + } + #endif + #if !CYTHON_COMPILING_IN_LIMITED_API + if (__Pyx_setup_reduce((PyObject *) __pyx_MemviewEnum_type) < 0) __PYX_ERR(1, 302, __pyx_L1_error) + #endif + __pyx_vtabptr_memoryview = &__pyx_vtable_memoryview; + __pyx_vtable_memoryview.get_item_pointer = (char *(*)(struct __pyx_memoryview_obj *, PyObject *))__pyx_memoryview_get_item_pointer; + __pyx_vtable_memoryview.is_slice = (PyObject *(*)(struct __pyx_memoryview_obj *, PyObject *))__pyx_memoryview_is_slice; + __pyx_vtable_memoryview.setitem_slice_assignment = (PyObject *(*)(struct __pyx_memoryview_obj *, PyObject *, PyObject *))__pyx_memoryview_setitem_slice_assignment; + __pyx_vtable_memoryview.setitem_slice_assign_scalar = (PyObject *(*)(struct __pyx_memoryview_obj *, struct __pyx_memoryview_obj *, PyObject *))__pyx_memoryview_setitem_slice_assign_scalar; + __pyx_vtable_memoryview.setitem_indexed = (PyObject *(*)(struct __pyx_memoryview_obj *, PyObject *, PyObject *))__pyx_memoryview_setitem_indexed; + __pyx_vtable_memoryview.convert_item_to_object = (PyObject *(*)(struct __pyx_memoryview_obj *, char *))__pyx_memoryview_convert_item_to_object; + __pyx_vtable_memoryview.assign_item_from_object = (PyObject *(*)(struct __pyx_memoryview_obj *, char *, PyObject *))__pyx_memoryview_assign_item_from_object; + __pyx_vtable_memoryview._get_base = (PyObject *(*)(struct __pyx_memoryview_obj *))__pyx_memoryview__get_base; + #if CYTHON_USE_TYPE_SPECS + __pyx_memoryview_type = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type___pyx_memoryview_spec, NULL); if (unlikely(!__pyx_memoryview_type)) __PYX_ERR(1, 337, __pyx_L1_error) + #if !CYTHON_COMPILING_IN_LIMITED_API + __pyx_memoryview_type->tp_as_buffer = &__pyx_tp_as_buffer_memoryview; + if (!__pyx_memoryview_type->tp_as_buffer->bf_releasebuffer && __pyx_memoryview_type->tp_base->tp_as_buffer && __pyx_memoryview_type->tp_base->tp_as_buffer->bf_releasebuffer) { + __pyx_memoryview_type->tp_as_buffer->bf_releasebuffer = __pyx_memoryview_type->tp_base->tp_as_buffer->bf_releasebuffer; + } + #elif defined(Py_bf_getbuffer) && defined(Py_bf_releasebuffer) + /* PY_VERSION_HEX >= 0x03090000 || Py_LIMITED_API >= 0x030B0000 */ + #elif defined(_MSC_VER) + #pragma message ("The buffer protocol is not supported in the Limited C-API < 3.11.") + #else + #warning "The buffer protocol is not supported in the Limited C-API < 3.11." + #endif + if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type___pyx_memoryview_spec, __pyx_memoryview_type) < 0) __PYX_ERR(1, 337, __pyx_L1_error) + #else + __pyx_memoryview_type = &__pyx_type___pyx_memoryview; + #endif + #if !CYTHON_COMPILING_IN_LIMITED_API + #endif + #if !CYTHON_USE_TYPE_SPECS + if (__Pyx_PyType_Ready(__pyx_memoryview_type) < 0) __PYX_ERR(1, 337, __pyx_L1_error) + #endif + #if PY_MAJOR_VERSION < 3 + __pyx_memoryview_type->tp_print = 0; + #endif + #if !CYTHON_COMPILING_IN_LIMITED_API + if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_memoryview_type->tp_dictoffset && __pyx_memoryview_type->tp_getattro == PyObject_GenericGetAttr)) { + __pyx_memoryview_type->tp_getattro = __Pyx_PyObject_GenericGetAttr; + } + #endif + if (__Pyx_SetVtable(__pyx_memoryview_type, __pyx_vtabptr_memoryview) < 0) __PYX_ERR(1, 337, __pyx_L1_error) + #if !CYTHON_COMPILING_IN_LIMITED_API + if (__Pyx_MergeVtables(__pyx_memoryview_type) < 0) __PYX_ERR(1, 337, __pyx_L1_error) + #endif + #if !CYTHON_COMPILING_IN_LIMITED_API + if (__Pyx_setup_reduce((PyObject *) __pyx_memoryview_type) < 0) __PYX_ERR(1, 337, __pyx_L1_error) + #endif + __pyx_vtabptr__memoryviewslice = &__pyx_vtable__memoryviewslice; + __pyx_vtable__memoryviewslice.__pyx_base = *__pyx_vtabptr_memoryview; + __pyx_vtable__memoryviewslice.__pyx_base.convert_item_to_object = (PyObject *(*)(struct __pyx_memoryview_obj *, char *))__pyx_memoryviewslice_convert_item_to_object; + __pyx_vtable__memoryviewslice.__pyx_base.assign_item_from_object = (PyObject *(*)(struct __pyx_memoryview_obj *, char *, PyObject *))__pyx_memoryviewslice_assign_item_from_object; + __pyx_vtable__memoryviewslice.__pyx_base._get_base = (PyObject *(*)(struct __pyx_memoryview_obj *))__pyx_memoryviewslice__get_base; + #if CYTHON_USE_TYPE_SPECS + __pyx_t_1 = PyTuple_Pack(1, (PyObject *)__pyx_memoryview_type); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 952, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_memoryviewslice_type = (PyTypeObject *) __Pyx_PyType_FromModuleAndSpec(__pyx_m, &__pyx_type___pyx_memoryviewslice_spec, __pyx_t_1); + __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; + if (unlikely(!__pyx_memoryviewslice_type)) __PYX_ERR(1, 952, __pyx_L1_error) + if (__Pyx_fix_up_extension_type_from_spec(&__pyx_type___pyx_memoryviewslice_spec, __pyx_memoryviewslice_type) < 0) __PYX_ERR(1, 952, __pyx_L1_error) + #else + __pyx_memoryviewslice_type = &__pyx_type___pyx_memoryviewslice; + #endif + #if !CYTHON_COMPILING_IN_LIMITED_API + __pyx_memoryviewslice_type->tp_base = __pyx_memoryview_type; + #endif + #if !CYTHON_USE_TYPE_SPECS + if (__Pyx_PyType_Ready(__pyx_memoryviewslice_type) < 0) __PYX_ERR(1, 952, __pyx_L1_error) + #endif + #if PY_MAJOR_VERSION < 3 + __pyx_memoryviewslice_type->tp_print = 0; + #endif + #if !CYTHON_COMPILING_IN_LIMITED_API + if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) && likely(!__pyx_memoryviewslice_type->tp_dictoffset && __pyx_memoryviewslice_type->tp_getattro == PyObject_GenericGetAttr)) { + __pyx_memoryviewslice_type->tp_getattro = __Pyx_PyObject_GenericGetAttr; + } + #endif + if (__Pyx_SetVtable(__pyx_memoryviewslice_type, __pyx_vtabptr__memoryviewslice) < 0) __PYX_ERR(1, 952, __pyx_L1_error) + #if !CYTHON_COMPILING_IN_LIMITED_API + if (__Pyx_MergeVtables(__pyx_memoryviewslice_type) < 0) __PYX_ERR(1, 952, __pyx_L1_error) + #endif + #if !CYTHON_COMPILING_IN_LIMITED_API + if (__Pyx_setup_reduce((PyObject *) __pyx_memoryviewslice_type) < 0) __PYX_ERR(1, 952, __pyx_L1_error) + #endif + __Pyx_RefNannyFinishContext(); + return 0; + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_RefNannyFinishContext(); + return -1; +} + +static int __Pyx_modinit_type_import_code(void) { + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1 = NULL; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannySetupContext("__Pyx_modinit_type_import_code", 0); + /*--- Type import code ---*/ + __pyx_t_1 = PyImport_ImportModule(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_t_1)) __PYX_ERR(3, 9, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_ptype_7cpython_4type_type = __Pyx_ImportType_3_0_9(__pyx_t_1, __Pyx_BUILTIN_MODULE_NAME, "type", + #if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000 + sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_9(PyTypeObject), + #elif CYTHON_COMPILING_IN_LIMITED_API + sizeof(PyTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_9(PyTypeObject), + #else + sizeof(PyHeapTypeObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_9(PyHeapTypeObject), + #endif + __Pyx_ImportType_CheckSize_Warn_3_0_9); if (!__pyx_ptype_7cpython_4type_type) __PYX_ERR(3, 9, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __pyx_t_1 = PyImport_ImportModule("numpy"); if (unlikely(!__pyx_t_1)) __PYX_ERR(2, 202, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_1); + __pyx_ptype_5numpy_dtype = __Pyx_ImportType_3_0_9(__pyx_t_1, "numpy", "dtype", sizeof(PyArray_Descr), __PYX_GET_STRUCT_ALIGNMENT_3_0_9(PyArray_Descr),__Pyx_ImportType_CheckSize_Ignore_3_0_9); if (!__pyx_ptype_5numpy_dtype) __PYX_ERR(2, 202, __pyx_L1_error) + __pyx_ptype_5numpy_flatiter = __Pyx_ImportType_3_0_9(__pyx_t_1, "numpy", "flatiter", sizeof(PyArrayIterObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_9(PyArrayIterObject),__Pyx_ImportType_CheckSize_Ignore_3_0_9); if (!__pyx_ptype_5numpy_flatiter) __PYX_ERR(2, 225, __pyx_L1_error) + __pyx_ptype_5numpy_broadcast = __Pyx_ImportType_3_0_9(__pyx_t_1, "numpy", "broadcast", sizeof(PyArrayMultiIterObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_9(PyArrayMultiIterObject),__Pyx_ImportType_CheckSize_Ignore_3_0_9); if (!__pyx_ptype_5numpy_broadcast) __PYX_ERR(2, 229, __pyx_L1_error) + __pyx_ptype_5numpy_ndarray = __Pyx_ImportType_3_0_9(__pyx_t_1, "numpy", "ndarray", sizeof(PyArrayObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_9(PyArrayObject),__Pyx_ImportType_CheckSize_Ignore_3_0_9); if (!__pyx_ptype_5numpy_ndarray) __PYX_ERR(2, 238, __pyx_L1_error) + __pyx_ptype_5numpy_generic = __Pyx_ImportType_3_0_9(__pyx_t_1, "numpy", "generic", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_9(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_9); if (!__pyx_ptype_5numpy_generic) __PYX_ERR(2, 809, __pyx_L1_error) + __pyx_ptype_5numpy_number = __Pyx_ImportType_3_0_9(__pyx_t_1, "numpy", "number", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_9(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_9); if (!__pyx_ptype_5numpy_number) __PYX_ERR(2, 811, __pyx_L1_error) + __pyx_ptype_5numpy_integer = __Pyx_ImportType_3_0_9(__pyx_t_1, "numpy", "integer", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_9(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_9); if (!__pyx_ptype_5numpy_integer) __PYX_ERR(2, 813, __pyx_L1_error) + __pyx_ptype_5numpy_signedinteger = __Pyx_ImportType_3_0_9(__pyx_t_1, "numpy", "signedinteger", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_9(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_9); if (!__pyx_ptype_5numpy_signedinteger) __PYX_ERR(2, 815, __pyx_L1_error) + __pyx_ptype_5numpy_unsignedinteger = __Pyx_ImportType_3_0_9(__pyx_t_1, "numpy", "unsignedinteger", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_9(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_9); if (!__pyx_ptype_5numpy_unsignedinteger) __PYX_ERR(2, 817, __pyx_L1_error) + __pyx_ptype_5numpy_inexact = __Pyx_ImportType_3_0_9(__pyx_t_1, "numpy", "inexact", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_9(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_9); if (!__pyx_ptype_5numpy_inexact) __PYX_ERR(2, 819, __pyx_L1_error) + __pyx_ptype_5numpy_floating = __Pyx_ImportType_3_0_9(__pyx_t_1, "numpy", "floating", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_9(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_9); if (!__pyx_ptype_5numpy_floating) __PYX_ERR(2, 821, __pyx_L1_error) + __pyx_ptype_5numpy_complexfloating = __Pyx_ImportType_3_0_9(__pyx_t_1, "numpy", "complexfloating", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_9(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_9); if (!__pyx_ptype_5numpy_complexfloating) __PYX_ERR(2, 823, __pyx_L1_error) + __pyx_ptype_5numpy_flexible = __Pyx_ImportType_3_0_9(__pyx_t_1, "numpy", "flexible", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_9(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_9); if (!__pyx_ptype_5numpy_flexible) __PYX_ERR(2, 825, __pyx_L1_error) + __pyx_ptype_5numpy_character = __Pyx_ImportType_3_0_9(__pyx_t_1, "numpy", "character", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_9(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_9); if (!__pyx_ptype_5numpy_character) __PYX_ERR(2, 827, __pyx_L1_error) + __pyx_ptype_5numpy_ufunc = __Pyx_ImportType_3_0_9(__pyx_t_1, "numpy", "ufunc", sizeof(PyUFuncObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_9(PyUFuncObject),__Pyx_ImportType_CheckSize_Ignore_3_0_9); if (!__pyx_ptype_5numpy_ufunc) __PYX_ERR(2, 866, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; + __Pyx_RefNannyFinishContext(); + return 0; + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_1); + __Pyx_RefNannyFinishContext(); + return -1; +} + +static int __Pyx_modinit_variable_import_code(void) { + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__Pyx_modinit_variable_import_code", 0); + /*--- Variable import code ---*/ + __Pyx_RefNannyFinishContext(); + return 0; +} + +static int __Pyx_modinit_function_import_code(void) { + __Pyx_RefNannyDeclarations + __Pyx_RefNannySetupContext("__Pyx_modinit_function_import_code", 0); + /*--- Function import code ---*/ + __Pyx_RefNannyFinishContext(); + return 0; +} + + +#if PY_MAJOR_VERSION >= 3 +#if CYTHON_PEP489_MULTI_PHASE_INIT +static PyObject* __pyx_pymod_create(PyObject *spec, PyModuleDef *def); /*proto*/ +static int __pyx_pymod_exec__anomaly_kernel_cython(PyObject* module); /*proto*/ +static PyModuleDef_Slot __pyx_moduledef_slots[] = { + {Py_mod_create, (void*)__pyx_pymod_create}, + {Py_mod_exec, (void*)__pyx_pymod_exec__anomaly_kernel_cython}, + {0, NULL} +}; +#endif + +#ifdef __cplusplus +namespace { + struct PyModuleDef __pyx_moduledef = + #else + static struct PyModuleDef __pyx_moduledef = + #endif + { + PyModuleDef_HEAD_INIT, + "_anomaly_kernel_cython", + 0, /* m_doc */ + #if CYTHON_PEP489_MULTI_PHASE_INIT + 0, /* m_size */ + #elif CYTHON_USE_MODULE_STATE + sizeof(__pyx_mstate), /* m_size */ + #else + -1, /* m_size */ + #endif + __pyx_methods /* m_methods */, + #if CYTHON_PEP489_MULTI_PHASE_INIT + __pyx_moduledef_slots, /* m_slots */ + #else + NULL, /* m_reload */ + #endif + #if CYTHON_USE_MODULE_STATE + __pyx_m_traverse, /* m_traverse */ + __pyx_m_clear, /* m_clear */ + NULL /* m_free */ + #else + NULL, /* m_traverse */ + NULL, /* m_clear */ + NULL /* m_free */ + #endif + }; + #ifdef __cplusplus +} /* anonymous namespace */ +#endif +#endif + +#ifndef CYTHON_NO_PYINIT_EXPORT +#define __Pyx_PyMODINIT_FUNC PyMODINIT_FUNC +#elif PY_MAJOR_VERSION < 3 +#ifdef __cplusplus +#define __Pyx_PyMODINIT_FUNC extern "C" void +#else +#define __Pyx_PyMODINIT_FUNC void +#endif +#else +#ifdef __cplusplus +#define __Pyx_PyMODINIT_FUNC extern "C" PyObject * +#else +#define __Pyx_PyMODINIT_FUNC PyObject * +#endif +#endif + + +#if PY_MAJOR_VERSION < 3 +__Pyx_PyMODINIT_FUNC init_anomaly_kernel_cython(void) CYTHON_SMALL_CODE; /*proto*/ +__Pyx_PyMODINIT_FUNC init_anomaly_kernel_cython(void) +#else +__Pyx_PyMODINIT_FUNC PyInit__anomaly_kernel_cython(void) CYTHON_SMALL_CODE; /*proto*/ +__Pyx_PyMODINIT_FUNC PyInit__anomaly_kernel_cython(void) +#if CYTHON_PEP489_MULTI_PHASE_INIT +{ + return PyModuleDef_Init(&__pyx_moduledef); +} +static CYTHON_SMALL_CODE int __Pyx_check_single_interpreter(void) { + #if PY_VERSION_HEX >= 0x030700A1 + static PY_INT64_T main_interpreter_id = -1; + PY_INT64_T current_id = PyInterpreterState_GetID(PyThreadState_Get()->interp); + if (main_interpreter_id == -1) { + main_interpreter_id = current_id; + return (unlikely(current_id == -1)) ? -1 : 0; + } else if (unlikely(main_interpreter_id != current_id)) + #else + static PyInterpreterState *main_interpreter = NULL; + PyInterpreterState *current_interpreter = PyThreadState_Get()->interp; + if (!main_interpreter) { + main_interpreter = current_interpreter; + } else if (unlikely(main_interpreter != current_interpreter)) + #endif + { + PyErr_SetString( + PyExc_ImportError, + "Interpreter change detected - this module can only be loaded into one interpreter per process."); + return -1; + } + return 0; +} +#if CYTHON_COMPILING_IN_LIMITED_API +static CYTHON_SMALL_CODE int __Pyx_copy_spec_to_module(PyObject *spec, PyObject *module, const char* from_name, const char* to_name, int allow_none) +#else +static CYTHON_SMALL_CODE int __Pyx_copy_spec_to_module(PyObject *spec, PyObject *moddict, const char* from_name, const char* to_name, int allow_none) +#endif +{ + PyObject *value = PyObject_GetAttrString(spec, from_name); + int result = 0; + if (likely(value)) { + if (allow_none || value != Py_None) { +#if CYTHON_COMPILING_IN_LIMITED_API + result = PyModule_AddObject(module, to_name, value); +#else + result = PyDict_SetItemString(moddict, to_name, value); +#endif + } + Py_DECREF(value); + } else if (PyErr_ExceptionMatches(PyExc_AttributeError)) { + PyErr_Clear(); + } else { + result = -1; + } + return result; +} +static CYTHON_SMALL_CODE PyObject* __pyx_pymod_create(PyObject *spec, PyModuleDef *def) { + PyObject *module = NULL, *moddict, *modname; + CYTHON_UNUSED_VAR(def); + if (__Pyx_check_single_interpreter()) + return NULL; + if (__pyx_m) + return __Pyx_NewRef(__pyx_m); + modname = PyObject_GetAttrString(spec, "name"); + if (unlikely(!modname)) goto bad; + module = PyModule_NewObject(modname); + Py_DECREF(modname); + if (unlikely(!module)) goto bad; +#if CYTHON_COMPILING_IN_LIMITED_API + moddict = module; +#else + moddict = PyModule_GetDict(module); + if (unlikely(!moddict)) goto bad; +#endif + if (unlikely(__Pyx_copy_spec_to_module(spec, moddict, "loader", "__loader__", 1) < 0)) goto bad; + if (unlikely(__Pyx_copy_spec_to_module(spec, moddict, "origin", "__file__", 1) < 0)) goto bad; + if (unlikely(__Pyx_copy_spec_to_module(spec, moddict, "parent", "__package__", 1) < 0)) goto bad; + if (unlikely(__Pyx_copy_spec_to_module(spec, moddict, "submodule_search_locations", "__path__", 0) < 0)) goto bad; + return module; +bad: + Py_XDECREF(module); + return NULL; +} + + +static CYTHON_SMALL_CODE int __pyx_pymod_exec__anomaly_kernel_cython(PyObject *__pyx_pyinit_module) +#endif +#endif +{ + int stringtab_initialized = 0; + #if CYTHON_USE_MODULE_STATE + int pystate_addmodule_run = 0; + #endif + PyObject *__pyx_t_1 = NULL; + PyObject *__pyx_t_2 = NULL; + PyObject *__pyx_t_3 = NULL; + PyObject *__pyx_t_4 = NULL; + PyObject *__pyx_t_5 = NULL; + int __pyx_t_6; + PyObject *__pyx_t_7 = NULL; + static PyThread_type_lock __pyx_t_8[8]; + float __pyx_t_9; + int __pyx_lineno = 0; + const char *__pyx_filename = NULL; + int __pyx_clineno = 0; + __Pyx_RefNannyDeclarations + #if CYTHON_PEP489_MULTI_PHASE_INIT + if (__pyx_m) { + if (__pyx_m == __pyx_pyinit_module) return 0; + PyErr_SetString(PyExc_RuntimeError, "Module '_anomaly_kernel_cython' has already been imported. Re-initialisation is not supported."); + return -1; + } + #elif PY_MAJOR_VERSION >= 3 + if (__pyx_m) return __Pyx_NewRef(__pyx_m); + #endif + /*--- Module creation code ---*/ + #if CYTHON_PEP489_MULTI_PHASE_INIT + __pyx_m = __pyx_pyinit_module; + Py_INCREF(__pyx_m); + #else + #if PY_MAJOR_VERSION < 3 + __pyx_m = Py_InitModule4("_anomaly_kernel_cython", __pyx_methods, 0, 0, PYTHON_API_VERSION); Py_XINCREF(__pyx_m); + if (unlikely(!__pyx_m)) __PYX_ERR(0, 1, __pyx_L1_error) + #elif CYTHON_USE_MODULE_STATE + __pyx_t_1 = PyModule_Create(&__pyx_moduledef); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 1, __pyx_L1_error) + { + int add_module_result = PyState_AddModule(__pyx_t_1, &__pyx_moduledef); + __pyx_t_1 = 0; /* transfer ownership from __pyx_t_1 to "_anomaly_kernel_cython" pseudovariable */ + if (unlikely((add_module_result < 0))) __PYX_ERR(0, 1, __pyx_L1_error) + pystate_addmodule_run = 1; + } + #else + __pyx_m = PyModule_Create(&__pyx_moduledef); + if (unlikely(!__pyx_m)) __PYX_ERR(0, 1, __pyx_L1_error) + #endif + #endif + CYTHON_UNUSED_VAR(__pyx_t_1); + __pyx_d = PyModule_GetDict(__pyx_m); if (unlikely(!__pyx_d)) __PYX_ERR(0, 1, __pyx_L1_error) + Py_INCREF(__pyx_d); + __pyx_b = __Pyx_PyImport_AddModuleRef(__Pyx_BUILTIN_MODULE_NAME); if (unlikely(!__pyx_b)) __PYX_ERR(0, 1, __pyx_L1_error) + __pyx_cython_runtime = __Pyx_PyImport_AddModuleRef((const char *) "cython_runtime"); if (unlikely(!__pyx_cython_runtime)) __PYX_ERR(0, 1, __pyx_L1_error) + if (PyObject_SetAttrString(__pyx_m, "__builtins__", __pyx_b) < 0) __PYX_ERR(0, 1, __pyx_L1_error) + #if CYTHON_REFNANNY +__Pyx_RefNanny = __Pyx_RefNannyImportAPI("refnanny"); +if (!__Pyx_RefNanny) { + PyErr_Clear(); + __Pyx_RefNanny = __Pyx_RefNannyImportAPI("Cython.Runtime.refnanny"); + if (!__Pyx_RefNanny) + Py_FatalError("failed to import 'refnanny' module"); +} +#endif + __Pyx_RefNannySetupContext("__Pyx_PyMODINIT_FUNC PyInit__anomaly_kernel_cython(void)", 0); + if (__Pyx_check_binary_version(__PYX_LIMITED_VERSION_HEX, __Pyx_get_runtime_version(), CYTHON_COMPILING_IN_LIMITED_API) < 0) __PYX_ERR(0, 1, __pyx_L1_error) + #ifdef __Pxy_PyFrame_Initialize_Offsets + __Pxy_PyFrame_Initialize_Offsets(); + #endif + __pyx_empty_tuple = PyTuple_New(0); if (unlikely(!__pyx_empty_tuple)) __PYX_ERR(0, 1, __pyx_L1_error) + __pyx_empty_bytes = PyBytes_FromStringAndSize("", 0); if (unlikely(!__pyx_empty_bytes)) __PYX_ERR(0, 1, __pyx_L1_error) + __pyx_empty_unicode = PyUnicode_FromStringAndSize("", 0); if (unlikely(!__pyx_empty_unicode)) __PYX_ERR(0, 1, __pyx_L1_error) + #ifdef __Pyx_CyFunction_USED + if (__pyx_CyFunction_init(__pyx_m) < 0) __PYX_ERR(0, 1, __pyx_L1_error) + #endif + #ifdef __Pyx_FusedFunction_USED + if (__pyx_FusedFunction_init(__pyx_m) < 0) __PYX_ERR(0, 1, __pyx_L1_error) + #endif + #ifdef __Pyx_Coroutine_USED + if (__pyx_Coroutine_init(__pyx_m) < 0) __PYX_ERR(0, 1, __pyx_L1_error) + #endif + #ifdef __Pyx_Generator_USED + if (__pyx_Generator_init(__pyx_m) < 0) __PYX_ERR(0, 1, __pyx_L1_error) + #endif + #ifdef __Pyx_AsyncGen_USED + if (__pyx_AsyncGen_init(__pyx_m) < 0) __PYX_ERR(0, 1, __pyx_L1_error) + #endif + #ifdef __Pyx_StopAsyncIteration_USED + if (__pyx_StopAsyncIteration_init(__pyx_m) < 0) __PYX_ERR(0, 1, __pyx_L1_error) + #endif + /*--- Library function declarations ---*/ + /*--- Threads initialization code ---*/ + #if defined(WITH_THREAD) && PY_VERSION_HEX < 0x030700F0 && defined(__PYX_FORCE_INIT_THREADS) && __PYX_FORCE_INIT_THREADS + PyEval_InitThreads(); + #endif + /*--- Initialize various global constants etc. ---*/ + if (__Pyx_InitConstants() < 0) __PYX_ERR(0, 1, __pyx_L1_error) + stringtab_initialized = 1; + if (__Pyx_InitGlobals() < 0) __PYX_ERR(0, 1, __pyx_L1_error) + #if PY_MAJOR_VERSION < 3 && (__PYX_DEFAULT_STRING_ENCODING_IS_ASCII || __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT) + if (__Pyx_init_sys_getdefaultencoding_params() < 0) __PYX_ERR(0, 1, __pyx_L1_error) + #endif + if (__pyx_module_is_main_anomaly_detector__univariate___anomaly_kernel_cython) { + if (PyObject_SetAttr(__pyx_m, __pyx_n_s_name_2, __pyx_n_s_main) < 0) __PYX_ERR(0, 1, __pyx_L1_error) + } + #if PY_MAJOR_VERSION >= 3 + { + PyObject *modules = PyImport_GetModuleDict(); if (unlikely(!modules)) __PYX_ERR(0, 1, __pyx_L1_error) + if (!PyDict_GetItemString(modules, "anomaly_detector.univariate._anomaly_kernel_cython")) { + if (unlikely((PyDict_SetItemString(modules, "anomaly_detector.univariate._anomaly_kernel_cython", __pyx_m) < 0))) __PYX_ERR(0, 1, __pyx_L1_error) + } + } + #endif + /*--- Builtin init code ---*/ + if (__Pyx_InitCachedBuiltins() < 0) __PYX_ERR(0, 1, __pyx_L1_error) + /*--- Constants init code ---*/ + if (__Pyx_InitCachedConstants() < 0) __PYX_ERR(0, 1, __pyx_L1_error) + /*--- Global type/function init code ---*/ + (void)__Pyx_modinit_global_init_code(); + (void)__Pyx_modinit_variable_export_code(); + (void)__Pyx_modinit_function_export_code(); + if (unlikely((__Pyx_modinit_type_init_code() < 0))) __PYX_ERR(0, 1, __pyx_L1_error) + if (unlikely((__Pyx_modinit_type_import_code() < 0))) __PYX_ERR(0, 1, __pyx_L1_error) + (void)__Pyx_modinit_variable_import_code(); + (void)__Pyx_modinit_function_import_code(); + /*--- Execution code ---*/ + #if defined(__Pyx_Generator_USED) || defined(__Pyx_Coroutine_USED) + if (__Pyx_patch_abc() < 0) __PYX_ERR(0, 1, __pyx_L1_error) + #endif + + /* "View.MemoryView":99 + * + * cdef object __pyx_collections_abc_Sequence "__pyx_collections_abc_Sequence" + * try: # <<<<<<<<<<<<<< + * if __import__("sys").version_info >= (3, 3): + * __pyx_collections_abc_Sequence = __import__("collections.abc").abc.Sequence + */ + { + __Pyx_PyThreadState_declare + __Pyx_PyThreadState_assign + __Pyx_ExceptionSave(&__pyx_t_1, &__pyx_t_2, &__pyx_t_3); + __Pyx_XGOTREF(__pyx_t_1); + __Pyx_XGOTREF(__pyx_t_2); + __Pyx_XGOTREF(__pyx_t_3); + /*try:*/ { + + /* "View.MemoryView":100 + * cdef object __pyx_collections_abc_Sequence "__pyx_collections_abc_Sequence" + * try: + * if __import__("sys").version_info >= (3, 3): # <<<<<<<<<<<<<< + * __pyx_collections_abc_Sequence = __import__("collections.abc").abc.Sequence + * else: + */ + __pyx_t_4 = __Pyx_PyObject_Call(__pyx_builtin___import__, __pyx_tuple__14, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 100, __pyx_L2_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_version_info); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 100, __pyx_L2_error) + __Pyx_GOTREF(__pyx_t_5); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_4 = PyObject_RichCompare(__pyx_t_5, __pyx_tuple__15, Py_GE); __Pyx_XGOTREF(__pyx_t_4); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 100, __pyx_L2_error) + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_t_4); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(1, 100, __pyx_L2_error) + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + if (__pyx_t_6) { + + /* "View.MemoryView":101 + * try: + * if __import__("sys").version_info >= (3, 3): + * __pyx_collections_abc_Sequence = __import__("collections.abc").abc.Sequence # <<<<<<<<<<<<<< + * else: + * __pyx_collections_abc_Sequence = __import__("collections").Sequence + */ + __pyx_t_4 = __Pyx_PyObject_Call(__pyx_builtin___import__, __pyx_tuple__16, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 101, __pyx_L2_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_abc); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 101, __pyx_L2_error) + __Pyx_GOTREF(__pyx_t_5); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_Sequence); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 101, __pyx_L2_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __Pyx_XGOTREF(__pyx_collections_abc_Sequence); + __Pyx_DECREF_SET(__pyx_collections_abc_Sequence, __pyx_t_4); + __Pyx_GIVEREF(__pyx_t_4); + __pyx_t_4 = 0; + + /* "View.MemoryView":100 + * cdef object __pyx_collections_abc_Sequence "__pyx_collections_abc_Sequence" + * try: + * if __import__("sys").version_info >= (3, 3): # <<<<<<<<<<<<<< + * __pyx_collections_abc_Sequence = __import__("collections.abc").abc.Sequence + * else: + */ + goto __pyx_L8; + } + + /* "View.MemoryView":103 + * __pyx_collections_abc_Sequence = __import__("collections.abc").abc.Sequence + * else: + * __pyx_collections_abc_Sequence = __import__("collections").Sequence # <<<<<<<<<<<<<< + * except: + * + */ + /*else*/ { + __pyx_t_4 = __Pyx_PyObject_Call(__pyx_builtin___import__, __pyx_tuple__17, NULL); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 103, __pyx_L2_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_5 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_n_s_Sequence); if (unlikely(!__pyx_t_5)) __PYX_ERR(1, 103, __pyx_L2_error) + __Pyx_GOTREF(__pyx_t_5); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_XGOTREF(__pyx_collections_abc_Sequence); + __Pyx_DECREF_SET(__pyx_collections_abc_Sequence, __pyx_t_5); + __Pyx_GIVEREF(__pyx_t_5); + __pyx_t_5 = 0; + } + __pyx_L8:; + + /* "View.MemoryView":99 + * + * cdef object __pyx_collections_abc_Sequence "__pyx_collections_abc_Sequence" + * try: # <<<<<<<<<<<<<< + * if __import__("sys").version_info >= (3, 3): + * __pyx_collections_abc_Sequence = __import__("collections.abc").abc.Sequence + */ + } + __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; + __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; + goto __pyx_L7_try_end; + __pyx_L2_error:; + __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; + + /* "View.MemoryView":104 + * else: + * __pyx_collections_abc_Sequence = __import__("collections").Sequence + * except: # <<<<<<<<<<<<<< + * + * __pyx_collections_abc_Sequence = None + */ + /*except:*/ { + __Pyx_AddTraceback("View.MemoryView", __pyx_clineno, __pyx_lineno, __pyx_filename); + if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_4, &__pyx_t_7) < 0) __PYX_ERR(1, 104, __pyx_L4_except_error) + __Pyx_XGOTREF(__pyx_t_5); + __Pyx_XGOTREF(__pyx_t_4); + __Pyx_XGOTREF(__pyx_t_7); + + /* "View.MemoryView":106 + * except: + * + * __pyx_collections_abc_Sequence = None # <<<<<<<<<<<<<< + * + * + */ + __Pyx_INCREF(Py_None); + __Pyx_XGOTREF(__pyx_collections_abc_Sequence); + __Pyx_DECREF_SET(__pyx_collections_abc_Sequence, Py_None); + __Pyx_GIVEREF(Py_None); + __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; + __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; + goto __pyx_L3_exception_handled; + } + + /* "View.MemoryView":99 + * + * cdef object __pyx_collections_abc_Sequence "__pyx_collections_abc_Sequence" + * try: # <<<<<<<<<<<<<< + * if __import__("sys").version_info >= (3, 3): + * __pyx_collections_abc_Sequence = __import__("collections.abc").abc.Sequence + */ + __pyx_L4_except_error:; + __Pyx_XGIVEREF(__pyx_t_1); + __Pyx_XGIVEREF(__pyx_t_2); + __Pyx_XGIVEREF(__pyx_t_3); + __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3); + goto __pyx_L1_error; + __pyx_L3_exception_handled:; + __Pyx_XGIVEREF(__pyx_t_1); + __Pyx_XGIVEREF(__pyx_t_2); + __Pyx_XGIVEREF(__pyx_t_3); + __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3); + __pyx_L7_try_end:; + } + + /* "View.MemoryView":241 + * + * + * try: # <<<<<<<<<<<<<< + * count = __pyx_collections_abc_Sequence.count + * index = __pyx_collections_abc_Sequence.index + */ + { + __Pyx_PyThreadState_declare + __Pyx_PyThreadState_assign + __Pyx_ExceptionSave(&__pyx_t_3, &__pyx_t_2, &__pyx_t_1); + __Pyx_XGOTREF(__pyx_t_3); + __Pyx_XGOTREF(__pyx_t_2); + __Pyx_XGOTREF(__pyx_t_1); + /*try:*/ { + + /* "View.MemoryView":242 + * + * try: + * count = __pyx_collections_abc_Sequence.count # <<<<<<<<<<<<<< + * index = __pyx_collections_abc_Sequence.index + * except: + */ + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_collections_abc_Sequence, __pyx_n_s_count); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 242, __pyx_L11_error) + __Pyx_GOTREF(__pyx_t_7); + if (__Pyx_SetItemOnTypeDict(__pyx_array_type, __pyx_n_s_count, __pyx_t_7) < 0) __PYX_ERR(1, 242, __pyx_L11_error) + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + PyType_Modified(__pyx_array_type); + + /* "View.MemoryView":243 + * try: + * count = __pyx_collections_abc_Sequence.count + * index = __pyx_collections_abc_Sequence.index # <<<<<<<<<<<<<< + * except: + * pass + */ + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_collections_abc_Sequence, __pyx_n_s_index); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 243, __pyx_L11_error) + __Pyx_GOTREF(__pyx_t_7); + if (__Pyx_SetItemOnTypeDict(__pyx_array_type, __pyx_n_s_index, __pyx_t_7) < 0) __PYX_ERR(1, 243, __pyx_L11_error) + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + PyType_Modified(__pyx_array_type); + + /* "View.MemoryView":241 + * + * + * try: # <<<<<<<<<<<<<< + * count = __pyx_collections_abc_Sequence.count + * index = __pyx_collections_abc_Sequence.index + */ + } + __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; + __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; + goto __pyx_L16_try_end; + __pyx_L11_error:; + __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; + __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; + + /* "View.MemoryView":244 + * count = __pyx_collections_abc_Sequence.count + * index = __pyx_collections_abc_Sequence.index + * except: # <<<<<<<<<<<<<< + * pass + * + */ + /*except:*/ { + __Pyx_ErrRestore(0,0,0); + goto __pyx_L12_exception_handled; + } + __pyx_L12_exception_handled:; + __Pyx_XGIVEREF(__pyx_t_3); + __Pyx_XGIVEREF(__pyx_t_2); + __Pyx_XGIVEREF(__pyx_t_1); + __Pyx_ExceptionReset(__pyx_t_3, __pyx_t_2, __pyx_t_1); + __pyx_L16_try_end:; + } + + /* "View.MemoryView":309 + * return self.name + * + * cdef generic = Enum("") # <<<<<<<<<<<<<< + * cdef strided = Enum("") # default + * cdef indirect = Enum("") + */ + __pyx_t_7 = __Pyx_PyObject_Call(((PyObject *)__pyx_MemviewEnum_type), __pyx_tuple__18, NULL); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 309, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + __Pyx_XGOTREF(generic); + __Pyx_DECREF_SET(generic, __pyx_t_7); + __Pyx_GIVEREF(__pyx_t_7); + __pyx_t_7 = 0; + + /* "View.MemoryView":310 + * + * cdef generic = Enum("") + * cdef strided = Enum("") # default # <<<<<<<<<<<<<< + * cdef indirect = Enum("") + * + */ + __pyx_t_7 = __Pyx_PyObject_Call(((PyObject *)__pyx_MemviewEnum_type), __pyx_tuple__19, NULL); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 310, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + __Pyx_XGOTREF(strided); + __Pyx_DECREF_SET(strided, __pyx_t_7); + __Pyx_GIVEREF(__pyx_t_7); + __pyx_t_7 = 0; + + /* "View.MemoryView":311 + * cdef generic = Enum("") + * cdef strided = Enum("") # default + * cdef indirect = Enum("") # <<<<<<<<<<<<<< + * + * + */ + __pyx_t_7 = __Pyx_PyObject_Call(((PyObject *)__pyx_MemviewEnum_type), __pyx_tuple__20, NULL); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 311, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + __Pyx_XGOTREF(indirect); + __Pyx_DECREF_SET(indirect, __pyx_t_7); + __Pyx_GIVEREF(__pyx_t_7); + __pyx_t_7 = 0; + + /* "View.MemoryView":314 + * + * + * cdef contiguous = Enum("") # <<<<<<<<<<<<<< + * cdef indirect_contiguous = Enum("") + * + */ + __pyx_t_7 = __Pyx_PyObject_Call(((PyObject *)__pyx_MemviewEnum_type), __pyx_tuple__21, NULL); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 314, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + __Pyx_XGOTREF(contiguous); + __Pyx_DECREF_SET(contiguous, __pyx_t_7); + __Pyx_GIVEREF(__pyx_t_7); + __pyx_t_7 = 0; + + /* "View.MemoryView":315 + * + * cdef contiguous = Enum("") + * cdef indirect_contiguous = Enum("") # <<<<<<<<<<<<<< + * + * + */ + __pyx_t_7 = __Pyx_PyObject_Call(((PyObject *)__pyx_MemviewEnum_type), __pyx_tuple__22, NULL); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 315, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + __Pyx_XGOTREF(indirect_contiguous); + __Pyx_DECREF_SET(indirect_contiguous, __pyx_t_7); + __Pyx_GIVEREF(__pyx_t_7); + __pyx_t_7 = 0; + + /* "View.MemoryView":323 + * + * + * cdef int __pyx_memoryview_thread_locks_used = 0 # <<<<<<<<<<<<<< + * cdef PyThread_type_lock[8] __pyx_memoryview_thread_locks = [ + * PyThread_allocate_lock(), + */ + __pyx_memoryview_thread_locks_used = 0; + + /* "View.MemoryView":324 + * + * cdef int __pyx_memoryview_thread_locks_used = 0 + * cdef PyThread_type_lock[8] __pyx_memoryview_thread_locks = [ # <<<<<<<<<<<<<< + * PyThread_allocate_lock(), + * PyThread_allocate_lock(), + */ + __pyx_t_8[0] = PyThread_allocate_lock(); + __pyx_t_8[1] = PyThread_allocate_lock(); + __pyx_t_8[2] = PyThread_allocate_lock(); + __pyx_t_8[3] = PyThread_allocate_lock(); + __pyx_t_8[4] = PyThread_allocate_lock(); + __pyx_t_8[5] = PyThread_allocate_lock(); + __pyx_t_8[6] = PyThread_allocate_lock(); + __pyx_t_8[7] = PyThread_allocate_lock(); + memcpy(&(__pyx_memoryview_thread_locks[0]), __pyx_t_8, sizeof(__pyx_memoryview_thread_locks[0]) * (8)); + + /* "View.MemoryView":982 + * + * + * try: # <<<<<<<<<<<<<< + * count = __pyx_collections_abc_Sequence.count + * index = __pyx_collections_abc_Sequence.index + */ + { + __Pyx_PyThreadState_declare + __Pyx_PyThreadState_assign + __Pyx_ExceptionSave(&__pyx_t_1, &__pyx_t_2, &__pyx_t_3); + __Pyx_XGOTREF(__pyx_t_1); + __Pyx_XGOTREF(__pyx_t_2); + __Pyx_XGOTREF(__pyx_t_3); + /*try:*/ { + + /* "View.MemoryView":983 + * + * try: + * count = __pyx_collections_abc_Sequence.count # <<<<<<<<<<<<<< + * index = __pyx_collections_abc_Sequence.index + * except: + */ + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_collections_abc_Sequence, __pyx_n_s_count); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 983, __pyx_L17_error) + __Pyx_GOTREF(__pyx_t_7); + if (__Pyx_SetItemOnTypeDict(__pyx_memoryviewslice_type, __pyx_n_s_count, __pyx_t_7) < 0) __PYX_ERR(1, 983, __pyx_L17_error) + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + PyType_Modified(__pyx_memoryviewslice_type); + + /* "View.MemoryView":984 + * try: + * count = __pyx_collections_abc_Sequence.count + * index = __pyx_collections_abc_Sequence.index # <<<<<<<<<<<<<< + * except: + * pass + */ + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_collections_abc_Sequence, __pyx_n_s_index); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 984, __pyx_L17_error) + __Pyx_GOTREF(__pyx_t_7); + if (__Pyx_SetItemOnTypeDict(__pyx_memoryviewslice_type, __pyx_n_s_index, __pyx_t_7) < 0) __PYX_ERR(1, 984, __pyx_L17_error) + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + PyType_Modified(__pyx_memoryviewslice_type); + + /* "View.MemoryView":982 + * + * + * try: # <<<<<<<<<<<<<< + * count = __pyx_collections_abc_Sequence.count + * index = __pyx_collections_abc_Sequence.index + */ + } + __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; + __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; + goto __pyx_L22_try_end; + __pyx_L17_error:; + __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; + __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; + + /* "View.MemoryView":985 + * count = __pyx_collections_abc_Sequence.count + * index = __pyx_collections_abc_Sequence.index + * except: # <<<<<<<<<<<<<< + * pass + * + */ + /*except:*/ { + __Pyx_ErrRestore(0,0,0); + goto __pyx_L18_exception_handled; + } + __pyx_L18_exception_handled:; + __Pyx_XGIVEREF(__pyx_t_1); + __Pyx_XGIVEREF(__pyx_t_2); + __Pyx_XGIVEREF(__pyx_t_3); + __Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3); + __pyx_L22_try_end:; + } + + /* "View.MemoryView":988 + * pass + * + * try: # <<<<<<<<<<<<<< + * if __pyx_collections_abc_Sequence: + * + */ + { + __Pyx_PyThreadState_declare + __Pyx_PyThreadState_assign + __Pyx_ExceptionSave(&__pyx_t_3, &__pyx_t_2, &__pyx_t_1); + __Pyx_XGOTREF(__pyx_t_3); + __Pyx_XGOTREF(__pyx_t_2); + __Pyx_XGOTREF(__pyx_t_1); + /*try:*/ { + + /* "View.MemoryView":989 + * + * try: + * if __pyx_collections_abc_Sequence: # <<<<<<<<<<<<<< + * + * + */ + __pyx_t_6 = __Pyx_PyObject_IsTrue(__pyx_collections_abc_Sequence); if (unlikely((__pyx_t_6 < 0))) __PYX_ERR(1, 989, __pyx_L23_error) + if (__pyx_t_6) { + + /* "View.MemoryView":993 + * + * + * __pyx_collections_abc_Sequence.register(_memoryviewslice) # <<<<<<<<<<<<<< + * __pyx_collections_abc_Sequence.register(array) + * except: + */ + __pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_collections_abc_Sequence, __pyx_n_s_register); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 993, __pyx_L23_error) + __Pyx_GOTREF(__pyx_t_7); + __pyx_t_4 = __Pyx_PyObject_CallOneArg(__pyx_t_7, ((PyObject *)__pyx_memoryviewslice_type)); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 993, __pyx_L23_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + + /* "View.MemoryView":994 + * + * __pyx_collections_abc_Sequence.register(_memoryviewslice) + * __pyx_collections_abc_Sequence.register(array) # <<<<<<<<<<<<<< + * except: + * pass # ignore failure, it's a minor issue + */ + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_collections_abc_Sequence, __pyx_n_s_register); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 994, __pyx_L23_error) + __Pyx_GOTREF(__pyx_t_4); + __pyx_t_7 = __Pyx_PyObject_CallOneArg(__pyx_t_4, ((PyObject *)__pyx_array_type)); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 994, __pyx_L23_error) + __Pyx_GOTREF(__pyx_t_7); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + + /* "View.MemoryView":989 + * + * try: + * if __pyx_collections_abc_Sequence: # <<<<<<<<<<<<<< + * + * + */ + } + + /* "View.MemoryView":988 + * pass + * + * try: # <<<<<<<<<<<<<< + * if __pyx_collections_abc_Sequence: + * + */ + } + __Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0; + __Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0; + __Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0; + goto __pyx_L28_try_end; + __pyx_L23_error:; + __Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0; + __Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0; + + /* "View.MemoryView":995 + * __pyx_collections_abc_Sequence.register(_memoryviewslice) + * __pyx_collections_abc_Sequence.register(array) + * except: # <<<<<<<<<<<<<< + * pass # ignore failure, it's a minor issue + * + */ + /*except:*/ { + __Pyx_ErrRestore(0,0,0); + goto __pyx_L24_exception_handled; + } + __pyx_L24_exception_handled:; + __Pyx_XGIVEREF(__pyx_t_3); + __Pyx_XGIVEREF(__pyx_t_2); + __Pyx_XGIVEREF(__pyx_t_1); + __Pyx_ExceptionReset(__pyx_t_3, __pyx_t_2, __pyx_t_1); + __pyx_L28_try_end:; + } + + /* "(tree fragment)":1 + * def __pyx_unpickle_Enum(__pyx_type, long __pyx_checksum, __pyx_state): # <<<<<<<<<<<<<< + * cdef object __pyx_PickleError + * cdef object __pyx_result + */ + __pyx_t_7 = PyCFunction_NewEx(&__pyx_mdef_15View_dot_MemoryView_1__pyx_unpickle_Enum, NULL, __pyx_n_s_View_MemoryView); if (unlikely(!__pyx_t_7)) __PYX_ERR(1, 1, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + if (PyDict_SetItem(__pyx_d, __pyx_n_s_pyx_unpickle_Enum, __pyx_t_7) < 0) __PYX_ERR(1, 1, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":1 + * from scipy.stats import norm as Gaussian # <<<<<<<<<<<<<< + * from libc.math cimport sqrt, pow + * from scipy.stats import t as student_t + */ + __pyx_t_7 = PyList_New(1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + __Pyx_INCREF(__pyx_n_s_norm); + __Pyx_GIVEREF(__pyx_n_s_norm); + if (__Pyx_PyList_SET_ITEM(__pyx_t_7, 0, __pyx_n_s_norm)) __PYX_ERR(0, 1, __pyx_L1_error); + __pyx_t_4 = __Pyx_Import(__pyx_n_s_scipy_stats, __pyx_t_7, 0); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 1, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_7 = __Pyx_ImportFrom(__pyx_t_4, __pyx_n_s_norm); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 1, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + if (PyDict_SetItem(__pyx_d, __pyx_n_s_Gaussian, __pyx_t_7) < 0) __PYX_ERR(0, 1, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":3 + * from scipy.stats import norm as Gaussian + * from libc.math cimport sqrt, pow + * from scipy.stats import t as student_t # <<<<<<<<<<<<<< + * import numpy as np + * cimport numpy as np + */ + __pyx_t_4 = PyList_New(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 3, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_INCREF(__pyx_n_s_t); + __Pyx_GIVEREF(__pyx_n_s_t); + if (__Pyx_PyList_SET_ITEM(__pyx_t_4, 0, __pyx_n_s_t)) __PYX_ERR(0, 3, __pyx_L1_error); + __pyx_t_7 = __Pyx_Import(__pyx_n_s_scipy_stats, __pyx_t_4, 0); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 3, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __pyx_t_4 = __Pyx_ImportFrom(__pyx_t_7, __pyx_n_s_t); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 3, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + if (PyDict_SetItem(__pyx_d, __pyx_n_s_student_t, __pyx_t_4) < 0) __PYX_ERR(0, 3, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":4 + * from libc.math cimport sqrt, pow + * from scipy.stats import t as student_t + * import numpy as np # <<<<<<<<<<<<<< + * cimport numpy as np + * import array + */ + __pyx_t_7 = __Pyx_ImportDottedModule(__pyx_n_s_numpy, NULL); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 4, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + if (PyDict_SetItem(__pyx_d, __pyx_n_s_np, __pyx_t_7) < 0) __PYX_ERR(0, 4, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":6 + * import numpy as np + * cimport numpy as np + * import array # <<<<<<<<<<<<<< + * cdef float Constant = Gaussian.ppf(3/4.) + * import bisect + */ + __pyx_t_7 = __Pyx_ImportDottedModule(__pyx_n_s_array, NULL); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 6, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + if (PyDict_SetItem(__pyx_d, __pyx_n_s_array, __pyx_t_7) < 0) __PYX_ERR(0, 6, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":7 + * cimport numpy as np + * import array + * cdef float Constant = Gaussian.ppf(3/4.) # <<<<<<<<<<<<<< + * import bisect + * from libc.stdlib cimport rand + */ + __Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_n_s_Gaussian); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 7, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + __pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_n_s_ppf); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 7, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_4); + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_7 = PyFloat_FromDouble((3.0 / 4.)); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 7, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_7); + __pyx_t_5 = __Pyx_PyObject_CallOneArg(__pyx_t_4, __pyx_t_7); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 7, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0; + __Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0; + __pyx_t_9 = __pyx_PyFloat_AsFloat(__pyx_t_5); if (unlikely((__pyx_t_9 == (float)-1) && PyErr_Occurred())) __PYX_ERR(0, 7, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + __pyx_v_16anomaly_detector_10univariate_22_anomaly_kernel_cython_Constant = __pyx_t_9; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":8 + * import array + * cdef float Constant = Gaussian.ppf(3/4.) + * import bisect # <<<<<<<<<<<<<< + * from libc.stdlib cimport rand + * + */ + __pyx_t_5 = __Pyx_ImportDottedModule(__pyx_n_s_bisect, NULL); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 8, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + if (PyDict_SetItem(__pyx_d, __pyx_n_s_bisect, __pyx_t_5) < 0) __PYX_ERR(0, 8, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":11 + * from libc.stdlib cimport rand + * + * cdef float EPS = 1e-8 # <<<<<<<<<<<<<< + * + * cpdef int partition(float[:] data, int left, int right, int pivot_index) nogil: + */ + __pyx_v_16anomaly_detector_10univariate_22_anomaly_kernel_cython_EPS = 1e-8; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":13 + * cdef float EPS = 1e-8 + * + * cpdef int partition(float[:] data, int left, int right, int pivot_index) nogil: # <<<<<<<<<<<<<< + * cdef float pivot_value = data[pivot_index] + * cdef int left_index = left + */ + __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_16anomaly_detector_10univariate_22_anomaly_kernel_cython_1partition, 0, __pyx_n_s_partition, NULL, __pyx_n_s_anomaly_detector_univariate__ano, __pyx_d, ((PyObject *)__pyx_codeobj__26)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 13, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + if (PyDict_SetItem(__pyx_d, __pyx_n_s_partition, __pyx_t_5) < 0) __PYX_ERR(0, 13, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":30 + * return (left_index + right_store_index) // 2 + * + * cpdef float select(float[:] data, int left, int right, int n) nogil: # <<<<<<<<<<<<<< + * cdef int pivot_index + * if left == right: + */ + __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_16anomaly_detector_10univariate_22_anomaly_kernel_cython_3select, 0, __pyx_n_s_select, NULL, __pyx_n_s_anomaly_detector_univariate__ano, __pyx_d, ((PyObject *)__pyx_codeobj__28)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 30, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + if (PyDict_SetItem(__pyx_d, __pyx_n_s_select, __pyx_t_5) < 0) __PYX_ERR(0, 30, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":46 + * + * + * cpdef float quick_select(float[:] data, int k) nogil: # <<<<<<<<<<<<<< + * return select(data, 0, len(data)-1, k-1) + * + */ + __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_16anomaly_detector_10univariate_22_anomaly_kernel_cython_5quick_select, 0, __pyx_n_s_quick_select, NULL, __pyx_n_s_anomaly_detector_univariate__ano, __pyx_d, ((PyObject *)__pyx_codeobj__30)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 46, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + if (PyDict_SetItem(__pyx_d, __pyx_n_s_quick_select, __pyx_t_5) < 0) __PYX_ERR(0, 46, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":49 + * return select(data, 0, len(data)-1, k-1) + * + * cpdef float fast_median(float[:] table) nogil: # <<<<<<<<<<<<<< + * if len(table) % 2 == 1: + * return quick_select(table, len(table) // 2 + 1) + */ + __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_16anomaly_detector_10univariate_22_anomaly_kernel_cython_7fast_median, 0, __pyx_n_s_fast_median, NULL, __pyx_n_s_anomaly_detector_univariate__ano, __pyx_d, ((PyObject *)__pyx_codeobj__32)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 49, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + if (PyDict_SetItem(__pyx_d, __pyx_n_s_fast_median, __pyx_t_5) < 0) __PYX_ERR(0, 49, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":56 + * quick_select(table, len(table) // 2 + 1)) + * + * cpdef float calculate_esd_values(int i, float alpha, int n, bint one_tail=True): # <<<<<<<<<<<<<< + * if one_tail: + * p = 1 - alpha / float(n - i + 1) + */ + __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_16anomaly_detector_10univariate_22_anomaly_kernel_cython_9calculate_esd_values, 0, __pyx_n_s_calculate_esd_values, NULL, __pyx_n_s_anomaly_detector_univariate__ano, __pyx_d, ((PyObject *)__pyx_codeobj__34)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 56, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __Pyx_CyFunction_SetDefaultsTuple(__pyx_t_5, __pyx_tuple__35); + if (PyDict_SetItem(__pyx_d, __pyx_n_s_calculate_esd_values, __pyx_t_5) < 0) __PYX_ERR(0, 56, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":64 + * return t * (n - i) / float(sqrt((n - i - 1 + t ** 2) * (n - i + 1))) + * + * cpdef float sorted_median(float[:] data, int i, int j): # <<<<<<<<<<<<<< + * cdef int n = j - i + * cdef int mid + */ + __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_16anomaly_detector_10univariate_22_anomaly_kernel_cython_11sorted_median, 0, __pyx_n_s_sorted_median, NULL, __pyx_n_s_anomaly_detector_univariate__ano, __pyx_d, ((PyObject *)__pyx_codeobj__37)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 64, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + if (PyDict_SetItem(__pyx_d, __pyx_n_s_sorted_median, __pyx_t_5) < 0) __PYX_ERR(0, 64, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":75 + * return (data[mid - 1] + data[mid])/2 + * + * cpdef float find_median_sorted_arrays(float[:] a, float[:] b, float median): # <<<<<<<<<<<<<< + * cdef int m = len(a) + * cdef int n = len(b) + */ + __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_16anomaly_detector_10univariate_22_anomaly_kernel_cython_13find_median_sorted_arrays, 0, __pyx_n_s_find_median_sorted_arrays, NULL, __pyx_n_s_anomaly_detector_univariate__ano, __pyx_d, ((PyObject *)__pyx_codeobj__39)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 75, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + if (PyDict_SetItem(__pyx_d, __pyx_n_s_find_median_sorted_arrays, __pyx_t_5) < 0) __PYX_ERR(0, 75, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":111 + * return (max_of_left + min_of_right) / 2.0 + * + * cpdef bint check_anomaly_status(float median_value, float data_sigma, float value, float threshold, # <<<<<<<<<<<<<< + * bint upper_tail): + * cdef float de_median_value = value - median_value + */ + __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_16anomaly_detector_10univariate_22_anomaly_kernel_cython_15check_anomaly_status, 0, __pyx_n_s_check_anomaly_status, NULL, __pyx_n_s_anomaly_detector_univariate__ano, __pyx_d, ((PyObject *)__pyx_codeobj__41)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 111, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + if (PyDict_SetItem(__pyx_d, __pyx_n_s_check_anomaly_status, __pyx_t_5) < 0) __PYX_ERR(0, 111, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":124 + * + * + * cpdef list dynamic_threshold(list sorted_values, list sorted_index, int max_outliers, float threshold, # <<<<<<<<<<<<<< + * bint upper_tail, int last_index): + * cdef int length = len(sorted_values) + */ + __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_16anomaly_detector_10univariate_22_anomaly_kernel_cython_17dynamic_threshold, 0, __pyx_n_s_dynamic_threshold, NULL, __pyx_n_s_anomaly_detector_univariate__ano, __pyx_d, ((PyObject *)__pyx_codeobj__43)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 124, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + if (PyDict_SetItem(__pyx_d, __pyx_n_s_dynamic_threshold, __pyx_t_5) < 0) __PYX_ERR(0, 124, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":160 + * + * + * cpdef list generalized_esd_test(list sorted_values, list sorted_index, int max_outliers, list critical_values, # <<<<<<<<<<<<<< + * bint upper_tail, int last_index): + * cdef int length = len(sorted_values) + */ + __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_16anomaly_detector_10univariate_22_anomaly_kernel_cython_19generalized_esd_test, 0, __pyx_n_s_generalized_esd_test, NULL, __pyx_n_s_anomaly_detector_univariate__ano, __pyx_d, ((PyObject *)__pyx_codeobj__45)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 160, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + if (PyDict_SetItem(__pyx_d, __pyx_n_s_generalized_esd_test, __pyx_t_5) < 0) __PYX_ERR(0, 160, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":193 + * return sorted_index[:num_anoms + 1] + * + * cpdef max_gcv(np.ndarray data, np.ndarray periods): # <<<<<<<<<<<<<< + * cdef float cv_mse = np.inf + * cdef float _mse = 0 + */ + __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_16anomaly_detector_10univariate_22_anomaly_kernel_cython_21max_gcv, 0, __pyx_n_s_max_gcv, NULL, __pyx_n_s_anomaly_detector_univariate__ano, __pyx_d, ((PyObject *)__pyx_codeobj__47)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 193, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + if (PyDict_SetItem(__pyx_d, __pyx_n_s_max_gcv, __pyx_t_5) < 0) __PYX_ERR(0, 193, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":207 + * return cv_mse, cv_seasons + * + * cpdef gcv(np.ndarray gcv_input, int period): # <<<<<<<<<<<<<< + * cdef float[:] seasons = np.empty(period, dtype='f') + * cdef int[:] cycles = np.zeros(period, dtype='i') + */ + __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_16anomaly_detector_10univariate_22_anomaly_kernel_cython_23gcv, 0, __pyx_n_s_gcv, NULL, __pyx_n_s_anomaly_detector_univariate__ano, __pyx_d, ((PyObject *)__pyx_codeobj__49)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 207, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + if (PyDict_SetItem(__pyx_d, __pyx_n_s_gcv, __pyx_t_5) < 0) __PYX_ERR(0, 207, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":231 + * return cv_mse, seasons + * + * cpdef median_filter(np.ndarray data, int window, bint need_two_end=False): # <<<<<<<<<<<<<< + * cdef int w_len = window // 2 * 2 + 1 + * cdef int t_len = len(data) + */ + __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_16anomaly_detector_10univariate_22_anomaly_kernel_cython_25median_filter, 0, __pyx_n_s_median_filter, NULL, __pyx_n_s_anomaly_detector_univariate__ano, __pyx_d, ((PyObject *)__pyx_codeobj__51)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 231, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + __Pyx_CyFunction_SetDefaultsTuple(__pyx_t_5, __pyx_tuple__52); + if (PyDict_SetItem(__pyx_d, __pyx_n_s_median_filter, __pyx_t_5) < 0) __PYX_ERR(0, 231, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":281 + * + * + * def spectral_residual_transform_core(list values): # <<<<<<<<<<<<<< + * """ + * This method transform a time series into spectral residual series + */ + __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_16anomaly_detector_10univariate_22_anomaly_kernel_cython_27spectral_residual_transform_core, 0, __pyx_n_s_spectral_residual_transform_core, NULL, __pyx_n_s_anomaly_detector_univariate__ano, __pyx_d, ((PyObject *)__pyx_codeobj__54)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 281, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + if (PyDict_SetItem(__pyx_d, __pyx_n_s_spectral_residual_transform_core, __pyx_t_5) < 0) __PYX_ERR(0, 281, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":328 + * + * + * cpdef is_straight(np.ndarray values, int step): # <<<<<<<<<<<<<< + * cdef int total_cnt = 0 + * cdef int cnt = 0 + */ + __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_16anomaly_detector_10univariate_22_anomaly_kernel_cython_29is_straight, 0, __pyx_n_s_is_straight, NULL, __pyx_n_s_anomaly_detector_univariate__ano, __pyx_d, ((PyObject *)__pyx_codeobj__56)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 328, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + if (PyDict_SetItem(__pyx_d, __pyx_n_s_is_straight, __pyx_t_5) < 0) __PYX_ERR(0, 328, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":339 + * return total_cnt <= cnt + * + * cpdef remove_anomaly_in_bucket(np.ndarray values, int period): # <<<<<<<<<<<<<< + * cdef float[:] sub_values_array + * for i in range(period): + */ + __pyx_t_5 = __Pyx_CyFunction_New(&__pyx_mdef_16anomaly_detector_10univariate_22_anomaly_kernel_cython_31remove_anomaly_in_bucket, 0, __pyx_n_s_remove_anomaly_in_bucket, NULL, __pyx_n_s_anomaly_detector_univariate__ano, __pyx_d, ((PyObject *)__pyx_codeobj__58)); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 339, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + if (PyDict_SetItem(__pyx_d, __pyx_n_s_remove_anomaly_in_bucket, __pyx_t_5) < 0) __PYX_ERR(0, 339, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + + /* "anomaly_detector/univariate/_anomaly_kernel_cython.pyx":1 + * from scipy.stats import norm as Gaussian # <<<<<<<<<<<<<< + * from libc.math cimport sqrt, pow + * from scipy.stats import t as student_t + */ + __pyx_t_5 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 1, __pyx_L1_error) + __Pyx_GOTREF(__pyx_t_5); + if (PyDict_SetItem(__pyx_d, __pyx_n_s_test, __pyx_t_5) < 0) __PYX_ERR(0, 1, __pyx_L1_error) + __Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0; + + /*--- Wrapped vars code ---*/ + + goto __pyx_L0; + __pyx_L1_error:; + __Pyx_XDECREF(__pyx_t_4); + __Pyx_XDECREF(__pyx_t_5); + __Pyx_XDECREF(__pyx_t_7); + if (__pyx_m) { + if (__pyx_d && stringtab_initialized) { + __Pyx_AddTraceback("init anomaly_detector.univariate._anomaly_kernel_cython", __pyx_clineno, __pyx_lineno, __pyx_filename); + } + #if !CYTHON_USE_MODULE_STATE + Py_CLEAR(__pyx_m); + #else + Py_DECREF(__pyx_m); + if (pystate_addmodule_run) { + PyObject *tp, *value, *tb; + PyErr_Fetch(&tp, &value, &tb); + PyState_RemoveModule(&__pyx_moduledef); + PyErr_Restore(tp, value, tb); + } + #endif + } else if (!PyErr_Occurred()) { + PyErr_SetString(PyExc_ImportError, "init anomaly_detector.univariate._anomaly_kernel_cython"); + } + __pyx_L0:; + __Pyx_RefNannyFinishContext(); + #if CYTHON_PEP489_MULTI_PHASE_INIT + return (__pyx_m != NULL) ? 0 : -1; + #elif PY_MAJOR_VERSION >= 3 + return __pyx_m; + #else + return; + #endif +} +/* #### Code section: cleanup_globals ### */ +/* #### Code section: cleanup_module ### */ +/* #### Code section: main_method ### */ +/* #### Code section: utility_code_pragmas ### */ +#ifdef _MSC_VER +#pragma warning( push ) +/* Warning 4127: conditional expression is constant + * Cython uses constant conditional expressions to allow in inline functions to be optimized at + * compile-time, so this warning is not useful + */ +#pragma warning( disable : 4127 ) +#endif + + + +/* #### Code section: utility_code_def ### */ + +/* --- Runtime support code --- */ +/* Refnanny */ +#if CYTHON_REFNANNY +static __Pyx_RefNannyAPIStruct *__Pyx_RefNannyImportAPI(const char *modname) { + PyObject *m = NULL, *p = NULL; + void *r = NULL; + m = PyImport_ImportModule(modname); + if (!m) goto end; + p = PyObject_GetAttrString(m, "RefNannyAPI"); + if (!p) goto end; + r = PyLong_AsVoidPtr(p); +end: + Py_XDECREF(p); + Py_XDECREF(m); + return (__Pyx_RefNannyAPIStruct *)r; +} +#endif + +/* PyErrExceptionMatches */ +#if CYTHON_FAST_THREAD_STATE +static int __Pyx_PyErr_ExceptionMatchesTuple(PyObject *exc_type, PyObject *tuple) { + Py_ssize_t i, n; + n = PyTuple_GET_SIZE(tuple); +#if PY_MAJOR_VERSION >= 3 + for (i=0; i= 0x030C00A6 + PyObject *current_exception = tstate->current_exception; + if (unlikely(!current_exception)) return 0; + exc_type = (PyObject*) Py_TYPE(current_exception); + if (exc_type == err) return 1; +#else + exc_type = tstate->curexc_type; + if (exc_type == err) return 1; + if (unlikely(!exc_type)) return 0; +#endif + #if CYTHON_AVOID_BORROWED_REFS + Py_INCREF(exc_type); + #endif + if (unlikely(PyTuple_Check(err))) { + result = __Pyx_PyErr_ExceptionMatchesTuple(exc_type, err); + } else { + result = __Pyx_PyErr_GivenExceptionMatches(exc_type, err); + } + #if CYTHON_AVOID_BORROWED_REFS + Py_DECREF(exc_type); + #endif + return result; +} +#endif + +/* PyErrFetchRestore */ +#if CYTHON_FAST_THREAD_STATE +static CYTHON_INLINE void __Pyx_ErrRestoreInState(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb) { +#if PY_VERSION_HEX >= 0x030C00A6 + PyObject *tmp_value; + assert(type == NULL || (value != NULL && type == (PyObject*) Py_TYPE(value))); + if (value) { + #if CYTHON_COMPILING_IN_CPYTHON + if (unlikely(((PyBaseExceptionObject*) value)->traceback != tb)) + #endif + PyException_SetTraceback(value, tb); + } + tmp_value = tstate->current_exception; + tstate->current_exception = value; + Py_XDECREF(tmp_value); + Py_XDECREF(type); + Py_XDECREF(tb); +#else + PyObject *tmp_type, *tmp_value, *tmp_tb; + tmp_type = tstate->curexc_type; + tmp_value = tstate->curexc_value; + tmp_tb = tstate->curexc_traceback; + tstate->curexc_type = type; + tstate->curexc_value = value; + tstate->curexc_traceback = tb; + Py_XDECREF(tmp_type); + Py_XDECREF(tmp_value); + Py_XDECREF(tmp_tb); +#endif +} +static CYTHON_INLINE void __Pyx_ErrFetchInState(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb) { +#if PY_VERSION_HEX >= 0x030C00A6 + PyObject* exc_value; + exc_value = tstate->current_exception; + tstate->current_exception = 0; + *value = exc_value; + *type = NULL; + *tb = NULL; + if (exc_value) { + *type = (PyObject*) Py_TYPE(exc_value); + Py_INCREF(*type); + #if CYTHON_COMPILING_IN_CPYTHON + *tb = ((PyBaseExceptionObject*) exc_value)->traceback; + Py_XINCREF(*tb); + #else + *tb = PyException_GetTraceback(exc_value); + #endif + } +#else + *type = tstate->curexc_type; + *value = tstate->curexc_value; + *tb = tstate->curexc_traceback; + tstate->curexc_type = 0; + tstate->curexc_value = 0; + tstate->curexc_traceback = 0; +#endif +} +#endif + +/* PyObjectGetAttrStr */ +#if CYTHON_USE_TYPE_SLOTS +static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStr(PyObject* obj, PyObject* attr_name) { + PyTypeObject* tp = Py_TYPE(obj); + if (likely(tp->tp_getattro)) + return tp->tp_getattro(obj, attr_name); +#if PY_MAJOR_VERSION < 3 + if (likely(tp->tp_getattr)) + return tp->tp_getattr(obj, PyString_AS_STRING(attr_name)); +#endif + return PyObject_GetAttr(obj, attr_name); +} +#endif + +/* PyObjectGetAttrStrNoError */ +#if __PYX_LIMITED_VERSION_HEX < 0x030d00A1 +static void __Pyx_PyObject_GetAttrStr_ClearAttributeError(void) { + __Pyx_PyThreadState_declare + __Pyx_PyThreadState_assign + if (likely(__Pyx_PyErr_ExceptionMatches(PyExc_AttributeError))) + __Pyx_PyErr_Clear(); +} +#endif +static CYTHON_INLINE PyObject* __Pyx_PyObject_GetAttrStrNoError(PyObject* obj, PyObject* attr_name) { + PyObject *result; +#if __PYX_LIMITED_VERSION_HEX >= 0x030d00A1 + (void) PyObject_GetOptionalAttr(obj, attr_name, &result); + return result; +#else +#if CYTHON_COMPILING_IN_CPYTHON && CYTHON_USE_TYPE_SLOTS && PY_VERSION_HEX >= 0x030700B1 + PyTypeObject* tp = Py_TYPE(obj); + if (likely(tp->tp_getattro == PyObject_GenericGetAttr)) { + return _PyObject_GenericGetAttrWithDict(obj, attr_name, NULL, 1); + } +#endif + result = __Pyx_PyObject_GetAttrStr(obj, attr_name); + if (unlikely(!result)) { + __Pyx_PyObject_GetAttrStr_ClearAttributeError(); + } + return result; +#endif +} + +/* GetBuiltinName */ +static PyObject *__Pyx_GetBuiltinName(PyObject *name) { + PyObject* result = __Pyx_PyObject_GetAttrStrNoError(__pyx_b, name); + if (unlikely(!result) && !PyErr_Occurred()) { + PyErr_Format(PyExc_NameError, +#if PY_MAJOR_VERSION >= 3 + "name '%U' is not defined", name); +#else + "name '%.200s' is not defined", PyString_AS_STRING(name)); +#endif + } + return result; +} + +/* TupleAndListFromArray */ +#if CYTHON_COMPILING_IN_CPYTHON +static CYTHON_INLINE void __Pyx_copy_object_array(PyObject *const *CYTHON_RESTRICT src, PyObject** CYTHON_RESTRICT dest, Py_ssize_t length) { + PyObject *v; + Py_ssize_t i; + for (i = 0; i < length; i++) { + v = dest[i] = src[i]; + Py_INCREF(v); + } +} +static CYTHON_INLINE PyObject * +__Pyx_PyTuple_FromArray(PyObject *const *src, Py_ssize_t n) +{ + PyObject *res; + if (n <= 0) { + Py_INCREF(__pyx_empty_tuple); + return __pyx_empty_tuple; + } + res = PyTuple_New(n); + if (unlikely(res == NULL)) return NULL; + __Pyx_copy_object_array(src, ((PyTupleObject*)res)->ob_item, n); + return res; +} +static CYTHON_INLINE PyObject * +__Pyx_PyList_FromArray(PyObject *const *src, Py_ssize_t n) +{ + PyObject *res; + if (n <= 0) { + return PyList_New(0); + } + res = PyList_New(n); + if (unlikely(res == NULL)) return NULL; + __Pyx_copy_object_array(src, ((PyListObject*)res)->ob_item, n); + return res; +} +#endif + +/* BytesEquals */ +static CYTHON_INLINE int __Pyx_PyBytes_Equals(PyObject* s1, PyObject* s2, int equals) { +#if CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API + return PyObject_RichCompareBool(s1, s2, equals); +#else + if (s1 == s2) { + return (equals == Py_EQ); + } else if (PyBytes_CheckExact(s1) & PyBytes_CheckExact(s2)) { + const char *ps1, *ps2; + Py_ssize_t length = PyBytes_GET_SIZE(s1); + if (length != PyBytes_GET_SIZE(s2)) + return (equals == Py_NE); + ps1 = PyBytes_AS_STRING(s1); + ps2 = PyBytes_AS_STRING(s2); + if (ps1[0] != ps2[0]) { + return (equals == Py_NE); + } else if (length == 1) { + return (equals == Py_EQ); + } else { + int result; +#if CYTHON_USE_UNICODE_INTERNALS && (PY_VERSION_HEX < 0x030B0000) + Py_hash_t hash1, hash2; + hash1 = ((PyBytesObject*)s1)->ob_shash; + hash2 = ((PyBytesObject*)s2)->ob_shash; + if (hash1 != hash2 && hash1 != -1 && hash2 != -1) { + return (equals == Py_NE); + } +#endif + result = memcmp(ps1, ps2, (size_t)length); + return (equals == Py_EQ) ? (result == 0) : (result != 0); + } + } else if ((s1 == Py_None) & PyBytes_CheckExact(s2)) { + return (equals == Py_NE); + } else if ((s2 == Py_None) & PyBytes_CheckExact(s1)) { + return (equals == Py_NE); + } else { + int result; + PyObject* py_result = PyObject_RichCompare(s1, s2, equals); + if (!py_result) + return -1; + result = __Pyx_PyObject_IsTrue(py_result); + Py_DECREF(py_result); + return result; + } +#endif +} + +/* UnicodeEquals */ +static CYTHON_INLINE int __Pyx_PyUnicode_Equals(PyObject* s1, PyObject* s2, int equals) { +#if CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API + return PyObject_RichCompareBool(s1, s2, equals); +#else +#if PY_MAJOR_VERSION < 3 + PyObject* owned_ref = NULL; +#endif + int s1_is_unicode, s2_is_unicode; + if (s1 == s2) { + goto return_eq; + } + s1_is_unicode = PyUnicode_CheckExact(s1); + s2_is_unicode = PyUnicode_CheckExact(s2); +#if PY_MAJOR_VERSION < 3 + if ((s1_is_unicode & (!s2_is_unicode)) && PyString_CheckExact(s2)) { + owned_ref = PyUnicode_FromObject(s2); + if (unlikely(!owned_ref)) + return -1; + s2 = owned_ref; + s2_is_unicode = 1; + } else if ((s2_is_unicode & (!s1_is_unicode)) && PyString_CheckExact(s1)) { + owned_ref = PyUnicode_FromObject(s1); + if (unlikely(!owned_ref)) + return -1; + s1 = owned_ref; + s1_is_unicode = 1; + } else if (((!s2_is_unicode) & (!s1_is_unicode))) { + return __Pyx_PyBytes_Equals(s1, s2, equals); + } +#endif + if (s1_is_unicode & s2_is_unicode) { + Py_ssize_t length; + int kind; + void *data1, *data2; + if (unlikely(__Pyx_PyUnicode_READY(s1) < 0) || unlikely(__Pyx_PyUnicode_READY(s2) < 0)) + return -1; + length = __Pyx_PyUnicode_GET_LENGTH(s1); + if (length != __Pyx_PyUnicode_GET_LENGTH(s2)) { + goto return_ne; + } +#if CYTHON_USE_UNICODE_INTERNALS + { + Py_hash_t hash1, hash2; + #if CYTHON_PEP393_ENABLED + hash1 = ((PyASCIIObject*)s1)->hash; + hash2 = ((PyASCIIObject*)s2)->hash; + #else + hash1 = ((PyUnicodeObject*)s1)->hash; + hash2 = ((PyUnicodeObject*)s2)->hash; + #endif + if (hash1 != hash2 && hash1 != -1 && hash2 != -1) { + goto return_ne; + } + } +#endif + kind = __Pyx_PyUnicode_KIND(s1); + if (kind != __Pyx_PyUnicode_KIND(s2)) { + goto return_ne; + } + data1 = __Pyx_PyUnicode_DATA(s1); + data2 = __Pyx_PyUnicode_DATA(s2); + if (__Pyx_PyUnicode_READ(kind, data1, 0) != __Pyx_PyUnicode_READ(kind, data2, 0)) { + goto return_ne; + } else if (length == 1) { + goto return_eq; + } else { + int result = memcmp(data1, data2, (size_t)(length * kind)); + #if PY_MAJOR_VERSION < 3 + Py_XDECREF(owned_ref); + #endif + return (equals == Py_EQ) ? (result == 0) : (result != 0); + } + } else if ((s1 == Py_None) & s2_is_unicode) { + goto return_ne; + } else if ((s2 == Py_None) & s1_is_unicode) { + goto return_ne; + } else { + int result; + PyObject* py_result = PyObject_RichCompare(s1, s2, equals); + #if PY_MAJOR_VERSION < 3 + Py_XDECREF(owned_ref); + #endif + if (!py_result) + return -1; + result = __Pyx_PyObject_IsTrue(py_result); + Py_DECREF(py_result); + return result; + } +return_eq: + #if PY_MAJOR_VERSION < 3 + Py_XDECREF(owned_ref); + #endif + return (equals == Py_EQ); +return_ne: + #if PY_MAJOR_VERSION < 3 + Py_XDECREF(owned_ref); + #endif + return (equals == Py_NE); +#endif +} + +/* fastcall */ +#if CYTHON_METH_FASTCALL +static CYTHON_INLINE PyObject * __Pyx_GetKwValue_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues, PyObject *s) +{ + Py_ssize_t i, n = PyTuple_GET_SIZE(kwnames); + for (i = 0; i < n; i++) + { + if (s == PyTuple_GET_ITEM(kwnames, i)) return kwvalues[i]; + } + for (i = 0; i < n; i++) + { + int eq = __Pyx_PyUnicode_Equals(s, PyTuple_GET_ITEM(kwnames, i), Py_EQ); + if (unlikely(eq != 0)) { + if (unlikely(eq < 0)) return NULL; + return kwvalues[i]; + } + } + return NULL; +} +#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030d0000 +CYTHON_UNUSED static PyObject *__Pyx_KwargsAsDict_FASTCALL(PyObject *kwnames, PyObject *const *kwvalues) { + Py_ssize_t i, nkwargs = PyTuple_GET_SIZE(kwnames); + PyObject *dict; + dict = PyDict_New(); + if (unlikely(!dict)) + return NULL; + for (i=0; i= 3 + "%s() got multiple values for keyword argument '%U'", func_name, kw_name); + #else + "%s() got multiple values for keyword argument '%s'", func_name, + PyString_AsString(kw_name)); + #endif +} + +/* ParseKeywords */ +static int __Pyx_ParseOptionalKeywords( + PyObject *kwds, + PyObject *const *kwvalues, + PyObject **argnames[], + PyObject *kwds2, + PyObject *values[], + Py_ssize_t num_pos_args, + const char* function_name) +{ + PyObject *key = 0, *value = 0; + Py_ssize_t pos = 0; + PyObject*** name; + PyObject*** first_kw_arg = argnames + num_pos_args; + int kwds_is_tuple = CYTHON_METH_FASTCALL && likely(PyTuple_Check(kwds)); + while (1) { + Py_XDECREF(key); key = NULL; + Py_XDECREF(value); value = NULL; + if (kwds_is_tuple) { + Py_ssize_t size; +#if CYTHON_ASSUME_SAFE_MACROS + size = PyTuple_GET_SIZE(kwds); +#else + size = PyTuple_Size(kwds); + if (size < 0) goto bad; +#endif + if (pos >= size) break; +#if CYTHON_AVOID_BORROWED_REFS + key = __Pyx_PySequence_ITEM(kwds, pos); + if (!key) goto bad; +#elif CYTHON_ASSUME_SAFE_MACROS + key = PyTuple_GET_ITEM(kwds, pos); +#else + key = PyTuple_GetItem(kwds, pos); + if (!key) goto bad; +#endif + value = kwvalues[pos]; + pos++; + } + else + { + if (!PyDict_Next(kwds, &pos, &key, &value)) break; +#if CYTHON_AVOID_BORROWED_REFS + Py_INCREF(key); +#endif + } + name = first_kw_arg; + while (*name && (**name != key)) name++; + if (*name) { + values[name-argnames] = value; +#if CYTHON_AVOID_BORROWED_REFS + Py_INCREF(value); + Py_DECREF(key); +#endif + key = NULL; + value = NULL; + continue; + } +#if !CYTHON_AVOID_BORROWED_REFS + Py_INCREF(key); +#endif + Py_INCREF(value); + name = first_kw_arg; + #if PY_MAJOR_VERSION < 3 + if (likely(PyString_Check(key))) { + while (*name) { + if ((CYTHON_COMPILING_IN_PYPY || PyString_GET_SIZE(**name) == PyString_GET_SIZE(key)) + && _PyString_Eq(**name, key)) { + values[name-argnames] = value; +#if CYTHON_AVOID_BORROWED_REFS + value = NULL; +#endif + break; + } + name++; + } + if (*name) continue; + else { + PyObject*** argname = argnames; + while (argname != first_kw_arg) { + if ((**argname == key) || ( + (CYTHON_COMPILING_IN_PYPY || PyString_GET_SIZE(**argname) == PyString_GET_SIZE(key)) + && _PyString_Eq(**argname, key))) { + goto arg_passed_twice; + } + argname++; + } + } + } else + #endif + if (likely(PyUnicode_Check(key))) { + while (*name) { + int cmp = ( + #if !CYTHON_COMPILING_IN_PYPY && PY_MAJOR_VERSION >= 3 + (__Pyx_PyUnicode_GET_LENGTH(**name) != __Pyx_PyUnicode_GET_LENGTH(key)) ? 1 : + #endif + PyUnicode_Compare(**name, key) + ); + if (cmp < 0 && unlikely(PyErr_Occurred())) goto bad; + if (cmp == 0) { + values[name-argnames] = value; +#if CYTHON_AVOID_BORROWED_REFS + value = NULL; +#endif + break; + } + name++; + } + if (*name) continue; + else { + PyObject*** argname = argnames; + while (argname != first_kw_arg) { + int cmp = (**argname == key) ? 0 : + #if !CYTHON_COMPILING_IN_PYPY && PY_MAJOR_VERSION >= 3 + (__Pyx_PyUnicode_GET_LENGTH(**argname) != __Pyx_PyUnicode_GET_LENGTH(key)) ? 1 : + #endif + PyUnicode_Compare(**argname, key); + if (cmp < 0 && unlikely(PyErr_Occurred())) goto bad; + if (cmp == 0) goto arg_passed_twice; + argname++; + } + } + } else + goto invalid_keyword_type; + if (kwds2) { + if (unlikely(PyDict_SetItem(kwds2, key, value))) goto bad; + } else { + goto invalid_keyword; + } + } + Py_XDECREF(key); + Py_XDECREF(value); + return 0; +arg_passed_twice: + __Pyx_RaiseDoubleKeywordsError(function_name, key); + goto bad; +invalid_keyword_type: + PyErr_Format(PyExc_TypeError, + "%.200s() keywords must be strings", function_name); + goto bad; +invalid_keyword: + #if PY_MAJOR_VERSION < 3 + PyErr_Format(PyExc_TypeError, + "%.200s() got an unexpected keyword argument '%.200s'", + function_name, PyString_AsString(key)); + #else + PyErr_Format(PyExc_TypeError, + "%s() got an unexpected keyword argument '%U'", + function_name, key); + #endif +bad: + Py_XDECREF(key); + Py_XDECREF(value); + return -1; +} + +/* ArgTypeTest */ +static int __Pyx__ArgTypeTest(PyObject *obj, PyTypeObject *type, const char *name, int exact) +{ + __Pyx_TypeName type_name; + __Pyx_TypeName obj_type_name; + if (unlikely(!type)) { + PyErr_SetString(PyExc_SystemError, "Missing type object"); + return 0; + } + else if (exact) { + #if PY_MAJOR_VERSION == 2 + if ((type == &PyBaseString_Type) && likely(__Pyx_PyBaseString_CheckExact(obj))) return 1; + #endif + } + else { + if (likely(__Pyx_TypeCheck(obj, type))) return 1; + } + type_name = __Pyx_PyType_GetName(type); + obj_type_name = __Pyx_PyType_GetName(Py_TYPE(obj)); + PyErr_Format(PyExc_TypeError, + "Argument '%.200s' has incorrect type (expected " __Pyx_FMT_TYPENAME + ", got " __Pyx_FMT_TYPENAME ")", name, type_name, obj_type_name); + __Pyx_DECREF_TypeName(type_name); + __Pyx_DECREF_TypeName(obj_type_name); + return 0; +} + +/* RaiseException */ +#if PY_MAJOR_VERSION < 3 +static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, PyObject *cause) { + __Pyx_PyThreadState_declare + CYTHON_UNUSED_VAR(cause); + Py_XINCREF(type); + if (!value || value == Py_None) + value = NULL; + else + Py_INCREF(value); + if (!tb || tb == Py_None) + tb = NULL; + else { + Py_INCREF(tb); + if (!PyTraceBack_Check(tb)) { + PyErr_SetString(PyExc_TypeError, + "raise: arg 3 must be a traceback or None"); + goto raise_error; + } + } + if (PyType_Check(type)) { +#if CYTHON_COMPILING_IN_PYPY + if (!value) { + Py_INCREF(Py_None); + value = Py_None; + } +#endif + PyErr_NormalizeException(&type, &value, &tb); + } else { + if (value) { + PyErr_SetString(PyExc_TypeError, + "instance exception may not have a separate value"); + goto raise_error; + } + value = type; + type = (PyObject*) Py_TYPE(type); + Py_INCREF(type); + if (!PyType_IsSubtype((PyTypeObject *)type, (PyTypeObject *)PyExc_BaseException)) { + PyErr_SetString(PyExc_TypeError, + "raise: exception class must be a subclass of BaseException"); + goto raise_error; + } + } + __Pyx_PyThreadState_assign + __Pyx_ErrRestore(type, value, tb); + return; +raise_error: + Py_XDECREF(value); + Py_XDECREF(type); + Py_XDECREF(tb); + return; +} +#else +static void __Pyx_Raise(PyObject *type, PyObject *value, PyObject *tb, PyObject *cause) { + PyObject* owned_instance = NULL; + if (tb == Py_None) { + tb = 0; + } else if (tb && !PyTraceBack_Check(tb)) { + PyErr_SetString(PyExc_TypeError, + "raise: arg 3 must be a traceback or None"); + goto bad; + } + if (value == Py_None) + value = 0; + if (PyExceptionInstance_Check(type)) { + if (value) { + PyErr_SetString(PyExc_TypeError, + "instance exception may not have a separate value"); + goto bad; + } + value = type; + type = (PyObject*) Py_TYPE(value); + } else if (PyExceptionClass_Check(type)) { + PyObject *instance_class = NULL; + if (value && PyExceptionInstance_Check(value)) { + instance_class = (PyObject*) Py_TYPE(value); + if (instance_class != type) { + int is_subclass = PyObject_IsSubclass(instance_class, type); + if (!is_subclass) { + instance_class = NULL; + } else if (unlikely(is_subclass == -1)) { + goto bad; + } else { + type = instance_class; + } + } + } + if (!instance_class) { + PyObject *args; + if (!value) + args = PyTuple_New(0); + else if (PyTuple_Check(value)) { + Py_INCREF(value); + args = value; + } else + args = PyTuple_Pack(1, value); + if (!args) + goto bad; + owned_instance = PyObject_Call(type, args, NULL); + Py_DECREF(args); + if (!owned_instance) + goto bad; + value = owned_instance; + if (!PyExceptionInstance_Check(value)) { + PyErr_Format(PyExc_TypeError, + "calling %R should have returned an instance of " + "BaseException, not %R", + type, Py_TYPE(value)); + goto bad; + } + } + } else { + PyErr_SetString(PyExc_TypeError, + "raise: exception class must be a subclass of BaseException"); + goto bad; + } + if (cause) { + PyObject *fixed_cause; + if (cause == Py_None) { + fixed_cause = NULL; + } else if (PyExceptionClass_Check(cause)) { + fixed_cause = PyObject_CallObject(cause, NULL); + if (fixed_cause == NULL) + goto bad; + } else if (PyExceptionInstance_Check(cause)) { + fixed_cause = cause; + Py_INCREF(fixed_cause); + } else { + PyErr_SetString(PyExc_TypeError, + "exception causes must derive from " + "BaseException"); + goto bad; + } + PyException_SetCause(value, fixed_cause); + } + PyErr_SetObject(type, value); + if (tb) { + #if PY_VERSION_HEX >= 0x030C00A6 + PyException_SetTraceback(value, tb); + #elif CYTHON_FAST_THREAD_STATE + PyThreadState *tstate = __Pyx_PyThreadState_Current; + PyObject* tmp_tb = tstate->curexc_traceback; + if (tb != tmp_tb) { + Py_INCREF(tb); + tstate->curexc_traceback = tb; + Py_XDECREF(tmp_tb); + } +#else + PyObject *tmp_type, *tmp_value, *tmp_tb; + PyErr_Fetch(&tmp_type, &tmp_value, &tmp_tb); + Py_INCREF(tb); + PyErr_Restore(tmp_type, tmp_value, tb); + Py_XDECREF(tmp_tb); +#endif + } +bad: + Py_XDECREF(owned_instance); + return; +} +#endif + +/* PyFunctionFastCall */ +#if CYTHON_FAST_PYCALL && !CYTHON_VECTORCALL +static PyObject* __Pyx_PyFunction_FastCallNoKw(PyCodeObject *co, PyObject **args, Py_ssize_t na, + PyObject *globals) { + PyFrameObject *f; + PyThreadState *tstate = __Pyx_PyThreadState_Current; + PyObject **fastlocals; + Py_ssize_t i; + PyObject *result; + assert(globals != NULL); + /* XXX Perhaps we should create a specialized + PyFrame_New() that doesn't take locals, but does + take builtins without sanity checking them. + */ + assert(tstate != NULL); + f = PyFrame_New(tstate, co, globals, NULL); + if (f == NULL) { + return NULL; + } + fastlocals = __Pyx_PyFrame_GetLocalsplus(f); + for (i = 0; i < na; i++) { + Py_INCREF(*args); + fastlocals[i] = *args++; + } + result = PyEval_EvalFrameEx(f,0); + ++tstate->recursion_depth; + Py_DECREF(f); + --tstate->recursion_depth; + return result; +} +static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args, Py_ssize_t nargs, PyObject *kwargs) { + PyCodeObject *co = (PyCodeObject *)PyFunction_GET_CODE(func); + PyObject *globals = PyFunction_GET_GLOBALS(func); + PyObject *argdefs = PyFunction_GET_DEFAULTS(func); + PyObject *closure; +#if PY_MAJOR_VERSION >= 3 + PyObject *kwdefs; +#endif + PyObject *kwtuple, **k; + PyObject **d; + Py_ssize_t nd; + Py_ssize_t nk; + PyObject *result; + assert(kwargs == NULL || PyDict_Check(kwargs)); + nk = kwargs ? PyDict_Size(kwargs) : 0; + #if PY_MAJOR_VERSION < 3 + if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object"))) { + return NULL; + } + #else + if (unlikely(Py_EnterRecursiveCall(" while calling a Python object"))) { + return NULL; + } + #endif + if ( +#if PY_MAJOR_VERSION >= 3 + co->co_kwonlyargcount == 0 && +#endif + likely(kwargs == NULL || nk == 0) && + co->co_flags == (CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE)) { + if (argdefs == NULL && co->co_argcount == nargs) { + result = __Pyx_PyFunction_FastCallNoKw(co, args, nargs, globals); + goto done; + } + else if (nargs == 0 && argdefs != NULL + && co->co_argcount == Py_SIZE(argdefs)) { + /* function called with no arguments, but all parameters have + a default value: use default values as arguments .*/ + args = &PyTuple_GET_ITEM(argdefs, 0); + result =__Pyx_PyFunction_FastCallNoKw(co, args, Py_SIZE(argdefs), globals); + goto done; + } + } + if (kwargs != NULL) { + Py_ssize_t pos, i; + kwtuple = PyTuple_New(2 * nk); + if (kwtuple == NULL) { + result = NULL; + goto done; + } + k = &PyTuple_GET_ITEM(kwtuple, 0); + pos = i = 0; + while (PyDict_Next(kwargs, &pos, &k[i], &k[i+1])) { + Py_INCREF(k[i]); + Py_INCREF(k[i+1]); + i += 2; + } + nk = i / 2; + } + else { + kwtuple = NULL; + k = NULL; + } + closure = PyFunction_GET_CLOSURE(func); +#if PY_MAJOR_VERSION >= 3 + kwdefs = PyFunction_GET_KW_DEFAULTS(func); +#endif + if (argdefs != NULL) { + d = &PyTuple_GET_ITEM(argdefs, 0); + nd = Py_SIZE(argdefs); + } + else { + d = NULL; + nd = 0; + } +#if PY_MAJOR_VERSION >= 3 + result = PyEval_EvalCodeEx((PyObject*)co, globals, (PyObject *)NULL, + args, (int)nargs, + k, (int)nk, + d, (int)nd, kwdefs, closure); +#else + result = PyEval_EvalCodeEx(co, globals, (PyObject *)NULL, + args, (int)nargs, + k, (int)nk, + d, (int)nd, closure); +#endif + Py_XDECREF(kwtuple); +done: + Py_LeaveRecursiveCall(); + return result; +} +#endif + +/* PyObjectCall */ +#if CYTHON_COMPILING_IN_CPYTHON +static CYTHON_INLINE PyObject* __Pyx_PyObject_Call(PyObject *func, PyObject *arg, PyObject *kw) { + PyObject *result; + ternaryfunc call = Py_TYPE(func)->tp_call; + if (unlikely(!call)) + return PyObject_Call(func, arg, kw); + #if PY_MAJOR_VERSION < 3 + if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object"))) + return NULL; + #else + if (unlikely(Py_EnterRecursiveCall(" while calling a Python object"))) + return NULL; + #endif + result = (*call)(func, arg, kw); + Py_LeaveRecursiveCall(); + if (unlikely(!result) && unlikely(!PyErr_Occurred())) { + PyErr_SetString( + PyExc_SystemError, + "NULL result without error in PyObject_Call"); + } + return result; +} +#endif + +/* PyObjectCallMethO */ +#if CYTHON_COMPILING_IN_CPYTHON +static CYTHON_INLINE PyObject* __Pyx_PyObject_CallMethO(PyObject *func, PyObject *arg) { + PyObject *self, *result; + PyCFunction cfunc; + cfunc = __Pyx_CyOrPyCFunction_GET_FUNCTION(func); + self = __Pyx_CyOrPyCFunction_GET_SELF(func); + #if PY_MAJOR_VERSION < 3 + if (unlikely(Py_EnterRecursiveCall((char*)" while calling a Python object"))) + return NULL; + #else + if (unlikely(Py_EnterRecursiveCall(" while calling a Python object"))) + return NULL; + #endif + result = cfunc(self, arg); + Py_LeaveRecursiveCall(); + if (unlikely(!result) && unlikely(!PyErr_Occurred())) { + PyErr_SetString( + PyExc_SystemError, + "NULL result without error in PyObject_Call"); + } + return result; +} +#endif + +/* PyObjectFastCall */ +#if PY_VERSION_HEX < 0x03090000 || CYTHON_COMPILING_IN_LIMITED_API +static PyObject* __Pyx_PyObject_FastCall_fallback(PyObject *func, PyObject **args, size_t nargs, PyObject *kwargs) { + PyObject *argstuple; + PyObject *result = 0; + size_t i; + argstuple = PyTuple_New((Py_ssize_t)nargs); + if (unlikely(!argstuple)) return NULL; + for (i = 0; i < nargs; i++) { + Py_INCREF(args[i]); + if (__Pyx_PyTuple_SET_ITEM(argstuple, (Py_ssize_t)i, args[i]) < 0) goto bad; + } + result = __Pyx_PyObject_Call(func, argstuple, kwargs); + bad: + Py_DECREF(argstuple); + return result; +} +#endif +static CYTHON_INLINE PyObject* __Pyx_PyObject_FastCallDict(PyObject *func, PyObject **args, size_t _nargs, PyObject *kwargs) { + Py_ssize_t nargs = __Pyx_PyVectorcall_NARGS(_nargs); +#if CYTHON_COMPILING_IN_CPYTHON + if (nargs == 0 && kwargs == NULL) { + if (__Pyx_CyOrPyCFunction_Check(func) && likely( __Pyx_CyOrPyCFunction_GET_FLAGS(func) & METH_NOARGS)) + return __Pyx_PyObject_CallMethO(func, NULL); + } + else if (nargs == 1 && kwargs == NULL) { + if (__Pyx_CyOrPyCFunction_Check(func) && likely( __Pyx_CyOrPyCFunction_GET_FLAGS(func) & METH_O)) + return __Pyx_PyObject_CallMethO(func, args[0]); + } +#endif + #if PY_VERSION_HEX < 0x030800B1 + #if CYTHON_FAST_PYCCALL + if (PyCFunction_Check(func)) { + if (kwargs) { + return _PyCFunction_FastCallDict(func, args, nargs, kwargs); + } else { + return _PyCFunction_FastCallKeywords(func, args, nargs, NULL); + } + } + #if PY_VERSION_HEX >= 0x030700A1 + if (!kwargs && __Pyx_IS_TYPE(func, &PyMethodDescr_Type)) { + return _PyMethodDescr_FastCallKeywords(func, args, nargs, NULL); + } + #endif + #endif + #if CYTHON_FAST_PYCALL + if (PyFunction_Check(func)) { + return __Pyx_PyFunction_FastCallDict(func, args, nargs, kwargs); + } + #endif + #endif + if (kwargs == NULL) { + #if CYTHON_VECTORCALL + #if PY_VERSION_HEX < 0x03090000 + vectorcallfunc f = _PyVectorcall_Function(func); + #else + vectorcallfunc f = PyVectorcall_Function(func); + #endif + if (f) { + return f(func, args, (size_t)nargs, NULL); + } + #elif defined(__Pyx_CyFunction_USED) && CYTHON_BACKPORT_VECTORCALL + if (__Pyx_CyFunction_CheckExact(func)) { + __pyx_vectorcallfunc f = __Pyx_CyFunction_func_vectorcall(func); + if (f) return f(func, args, (size_t)nargs, NULL); + } + #endif + } + if (nargs == 0) { + return __Pyx_PyObject_Call(func, __pyx_empty_tuple, kwargs); + } + #if PY_VERSION_HEX >= 0x03090000 && !CYTHON_COMPILING_IN_LIMITED_API + return PyObject_VectorcallDict(func, args, (size_t)nargs, kwargs); + #else + return __Pyx_PyObject_FastCall_fallback(func, args, (size_t)nargs, kwargs); + #endif +} + +/* RaiseUnexpectedTypeError */ +static int +__Pyx_RaiseUnexpectedTypeError(const char *expected, PyObject *obj) +{ + __Pyx_TypeName obj_type_name = __Pyx_PyType_GetName(Py_TYPE(obj)); + PyErr_Format(PyExc_TypeError, "Expected %s, got " __Pyx_FMT_TYPENAME, + expected, obj_type_name); + __Pyx_DECREF_TypeName(obj_type_name); + return 0; +} + +/* CIntToDigits */ +static const char DIGIT_PAIRS_10[2*10*10+1] = { + "00010203040506070809" + "10111213141516171819" + "20212223242526272829" + "30313233343536373839" + "40414243444546474849" + "50515253545556575859" + "60616263646566676869" + "70717273747576777879" + "80818283848586878889" + "90919293949596979899" +}; +static const char DIGIT_PAIRS_8[2*8*8+1] = { + "0001020304050607" + "1011121314151617" + "2021222324252627" + "3031323334353637" + "4041424344454647" + "5051525354555657" + "6061626364656667" + "7071727374757677" +}; +static const char DIGITS_HEX[2*16+1] = { + "0123456789abcdef" + "0123456789ABCDEF" +}; + +/* BuildPyUnicode */ +static PyObject* __Pyx_PyUnicode_BuildFromAscii(Py_ssize_t ulength, char* chars, int clength, + int prepend_sign, char padding_char) { + PyObject *uval; + Py_ssize_t uoffset = ulength - clength; +#if CYTHON_USE_UNICODE_INTERNALS + Py_ssize_t i; +#if CYTHON_PEP393_ENABLED + void *udata; + uval = PyUnicode_New(ulength, 127); + if (unlikely(!uval)) return NULL; + udata = PyUnicode_DATA(uval); +#else + Py_UNICODE *udata; + uval = PyUnicode_FromUnicode(NULL, ulength); + if (unlikely(!uval)) return NULL; + udata = PyUnicode_AS_UNICODE(uval); +#endif + if (uoffset > 0) { + i = 0; + if (prepend_sign) { + __Pyx_PyUnicode_WRITE(PyUnicode_1BYTE_KIND, udata, 0, '-'); + i++; + } + for (; i < uoffset; i++) { + __Pyx_PyUnicode_WRITE(PyUnicode_1BYTE_KIND, udata, i, padding_char); + } + } + for (i=0; i < clength; i++) { + __Pyx_PyUnicode_WRITE(PyUnicode_1BYTE_KIND, udata, uoffset+i, chars[i]); + } +#else + { + PyObject *sign = NULL, *padding = NULL; + uval = NULL; + if (uoffset > 0) { + prepend_sign = !!prepend_sign; + if (uoffset > prepend_sign) { + padding = PyUnicode_FromOrdinal(padding_char); + if (likely(padding) && uoffset > prepend_sign + 1) { + PyObject *tmp; + PyObject *repeat = PyInt_FromSsize_t(uoffset - prepend_sign); + if (unlikely(!repeat)) goto done_or_error; + tmp = PyNumber_Multiply(padding, repeat); + Py_DECREF(repeat); + Py_DECREF(padding); + padding = tmp; + } + if (unlikely(!padding)) goto done_or_error; + } + if (prepend_sign) { + sign = PyUnicode_FromOrdinal('-'); + if (unlikely(!sign)) goto done_or_error; + } + } + uval = PyUnicode_DecodeASCII(chars, clength, NULL); + if (likely(uval) && padding) { + PyObject *tmp = PyNumber_Add(padding, uval); + Py_DECREF(uval); + uval = tmp; + } + if (likely(uval) && sign) { + PyObject *tmp = PyNumber_Add(sign, uval); + Py_DECREF(uval); + uval = tmp; + } +done_or_error: + Py_XDECREF(padding); + Py_XDECREF(sign); + } +#endif + return uval; +} + +/* CIntToPyUnicode */ +static CYTHON_INLINE PyObject* __Pyx_PyUnicode_From_int(int value, Py_ssize_t width, char padding_char, char format_char) { + char digits[sizeof(int)*3+2]; + char *dpos, *end = digits + sizeof(int)*3+2; + const char *hex_digits = DIGITS_HEX; + Py_ssize_t length, ulength; + int prepend_sign, last_one_off; + int remaining; +#ifdef __Pyx_HAS_GCC_DIAGNOSTIC +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wconversion" +#endif + const int neg_one = (int) -1, const_zero = (int) 0; +#ifdef __Pyx_HAS_GCC_DIAGNOSTIC +#pragma GCC diagnostic pop +#endif + const int is_unsigned = neg_one > const_zero; + if (format_char == 'X') { + hex_digits += 16; + format_char = 'x'; + } + remaining = value; + last_one_off = 0; + dpos = end; + do { + int digit_pos; + switch (format_char) { + case 'o': + digit_pos = abs((int)(remaining % (8*8))); + remaining = (int) (remaining / (8*8)); + dpos -= 2; + memcpy(dpos, DIGIT_PAIRS_8 + digit_pos * 2, 2); + last_one_off = (digit_pos < 8); + break; + case 'd': + digit_pos = abs((int)(remaining % (10*10))); + remaining = (int) (remaining / (10*10)); + dpos -= 2; + memcpy(dpos, DIGIT_PAIRS_10 + digit_pos * 2, 2); + last_one_off = (digit_pos < 10); + break; + case 'x': + *(--dpos) = hex_digits[abs((int)(remaining % 16))]; + remaining = (int) (remaining / 16); + break; + default: + assert(0); + break; + } + } while (unlikely(remaining != 0)); + assert(!last_one_off || *dpos == '0'); + dpos += last_one_off; + length = end - dpos; + ulength = length; + prepend_sign = 0; + if (!is_unsigned && value <= neg_one) { + if (padding_char == ' ' || width <= length + 1) { + *(--dpos) = '-'; + ++length; + } else { + prepend_sign = 1; + } + ++ulength; + } + if (width > ulength) { + ulength = width; + } + if (ulength == 1) { + return PyUnicode_FromOrdinal(*dpos); + } + return __Pyx_PyUnicode_BuildFromAscii(ulength, dpos, (int) length, prepend_sign, padding_char); +} + +/* CIntToPyUnicode */ +static CYTHON_INLINE PyObject* __Pyx_PyUnicode_From_Py_ssize_t(Py_ssize_t value, Py_ssize_t width, char padding_char, char format_char) { + char digits[sizeof(Py_ssize_t)*3+2]; + char *dpos, *end = digits + sizeof(Py_ssize_t)*3+2; + const char *hex_digits = DIGITS_HEX; + Py_ssize_t length, ulength; + int prepend_sign, last_one_off; + Py_ssize_t remaining; +#ifdef __Pyx_HAS_GCC_DIAGNOSTIC +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wconversion" +#endif + const Py_ssize_t neg_one = (Py_ssize_t) -1, const_zero = (Py_ssize_t) 0; +#ifdef __Pyx_HAS_GCC_DIAGNOSTIC +#pragma GCC diagnostic pop +#endif + const int is_unsigned = neg_one > const_zero; + if (format_char == 'X') { + hex_digits += 16; + format_char = 'x'; + } + remaining = value; + last_one_off = 0; + dpos = end; + do { + int digit_pos; + switch (format_char) { + case 'o': + digit_pos = abs((int)(remaining % (8*8))); + remaining = (Py_ssize_t) (remaining / (8*8)); + dpos -= 2; + memcpy(dpos, DIGIT_PAIRS_8 + digit_pos * 2, 2); + last_one_off = (digit_pos < 8); + break; + case 'd': + digit_pos = abs((int)(remaining % (10*10))); + remaining = (Py_ssize_t) (remaining / (10*10)); + dpos -= 2; + memcpy(dpos, DIGIT_PAIRS_10 + digit_pos * 2, 2); + last_one_off = (digit_pos < 10); + break; + case 'x': + *(--dpos) = hex_digits[abs((int)(remaining % 16))]; + remaining = (Py_ssize_t) (remaining / 16); + break; + default: + assert(0); + break; + } + } while (unlikely(remaining != 0)); + assert(!last_one_off || *dpos == '0'); + dpos += last_one_off; + length = end - dpos; + ulength = length; + prepend_sign = 0; + if (!is_unsigned && value <= neg_one) { + if (padding_char == ' ' || width <= length + 1) { + *(--dpos) = '-'; + ++length; + } else { + prepend_sign = 1; + } + ++ulength; + } + if (width > ulength) { + ulength = width; + } + if (ulength == 1) { + return PyUnicode_FromOrdinal(*dpos); + } + return __Pyx_PyUnicode_BuildFromAscii(ulength, dpos, (int) length, prepend_sign, padding_char); +} + +/* JoinPyUnicode */ +static PyObject* __Pyx_PyUnicode_Join(PyObject* value_tuple, Py_ssize_t value_count, Py_ssize_t result_ulength, + Py_UCS4 max_char) { +#if CYTHON_USE_UNICODE_INTERNALS && CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + PyObject *result_uval; + int result_ukind, kind_shift; + Py_ssize_t i, char_pos; + void *result_udata; + CYTHON_MAYBE_UNUSED_VAR(max_char); +#if CYTHON_PEP393_ENABLED + result_uval = PyUnicode_New(result_ulength, max_char); + if (unlikely(!result_uval)) return NULL; + result_ukind = (max_char <= 255) ? PyUnicode_1BYTE_KIND : (max_char <= 65535) ? PyUnicode_2BYTE_KIND : PyUnicode_4BYTE_KIND; + kind_shift = (result_ukind == PyUnicode_4BYTE_KIND) ? 2 : result_ukind - 1; + result_udata = PyUnicode_DATA(result_uval); +#else + result_uval = PyUnicode_FromUnicode(NULL, result_ulength); + if (unlikely(!result_uval)) return NULL; + result_ukind = sizeof(Py_UNICODE); + kind_shift = (result_ukind == 4) ? 2 : result_ukind - 1; + result_udata = PyUnicode_AS_UNICODE(result_uval); +#endif + assert(kind_shift == 2 || kind_shift == 1 || kind_shift == 0); + char_pos = 0; + for (i=0; i < value_count; i++) { + int ukind; + Py_ssize_t ulength; + void *udata; + PyObject *uval = PyTuple_GET_ITEM(value_tuple, i); + if (unlikely(__Pyx_PyUnicode_READY(uval))) + goto bad; + ulength = __Pyx_PyUnicode_GET_LENGTH(uval); + if (unlikely(!ulength)) + continue; + if (unlikely((PY_SSIZE_T_MAX >> kind_shift) - ulength < char_pos)) + goto overflow; + ukind = __Pyx_PyUnicode_KIND(uval); + udata = __Pyx_PyUnicode_DATA(uval); + if (!CYTHON_PEP393_ENABLED || ukind == result_ukind) { + memcpy((char *)result_udata + (char_pos << kind_shift), udata, (size_t) (ulength << kind_shift)); + } else { + #if PY_VERSION_HEX >= 0x030d0000 + if (unlikely(PyUnicode_CopyCharacters(result_uval, char_pos, uval, 0, ulength) < 0)) goto bad; + #elif CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030300F0 || defined(_PyUnicode_FastCopyCharacters) + _PyUnicode_FastCopyCharacters(result_uval, char_pos, uval, 0, ulength); + #else + Py_ssize_t j; + for (j=0; j < ulength; j++) { + Py_UCS4 uchar = __Pyx_PyUnicode_READ(ukind, udata, j); + __Pyx_PyUnicode_WRITE(result_ukind, result_udata, char_pos+j, uchar); + } + #endif + } + char_pos += ulength; + } + return result_uval; +overflow: + PyErr_SetString(PyExc_OverflowError, "join() result is too long for a Python string"); +bad: + Py_DECREF(result_uval); + return NULL; +#else + CYTHON_UNUSED_VAR(max_char); + CYTHON_UNUSED_VAR(result_ulength); + CYTHON_UNUSED_VAR(value_count); + return PyUnicode_Join(__pyx_empty_unicode, value_tuple); +#endif +} + +/* GetAttr */ +static CYTHON_INLINE PyObject *__Pyx_GetAttr(PyObject *o, PyObject *n) { +#if CYTHON_USE_TYPE_SLOTS +#if PY_MAJOR_VERSION >= 3 + if (likely(PyUnicode_Check(n))) +#else + if (likely(PyString_Check(n))) +#endif + return __Pyx_PyObject_GetAttrStr(o, n); +#endif + return PyObject_GetAttr(o, n); +} + +/* GetItemInt */ +static PyObject *__Pyx_GetItemInt_Generic(PyObject *o, PyObject* j) { + PyObject *r; + if (unlikely(!j)) return NULL; + r = PyObject_GetItem(o, j); + Py_DECREF(j); + return r; +} +static CYTHON_INLINE PyObject *__Pyx_GetItemInt_List_Fast(PyObject *o, Py_ssize_t i, + CYTHON_NCP_UNUSED int wraparound, + CYTHON_NCP_UNUSED int boundscheck) { +#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + Py_ssize_t wrapped_i = i; + if (wraparound & unlikely(i < 0)) { + wrapped_i += PyList_GET_SIZE(o); + } + if ((!boundscheck) || likely(__Pyx_is_valid_index(wrapped_i, PyList_GET_SIZE(o)))) { + PyObject *r = PyList_GET_ITEM(o, wrapped_i); + Py_INCREF(r); + return r; + } + return __Pyx_GetItemInt_Generic(o, PyInt_FromSsize_t(i)); +#else + return PySequence_GetItem(o, i); +#endif +} +static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Tuple_Fast(PyObject *o, Py_ssize_t i, + CYTHON_NCP_UNUSED int wraparound, + CYTHON_NCP_UNUSED int boundscheck) { +#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + Py_ssize_t wrapped_i = i; + if (wraparound & unlikely(i < 0)) { + wrapped_i += PyTuple_GET_SIZE(o); + } + if ((!boundscheck) || likely(__Pyx_is_valid_index(wrapped_i, PyTuple_GET_SIZE(o)))) { + PyObject *r = PyTuple_GET_ITEM(o, wrapped_i); + Py_INCREF(r); + return r; + } + return __Pyx_GetItemInt_Generic(o, PyInt_FromSsize_t(i)); +#else + return PySequence_GetItem(o, i); +#endif +} +static CYTHON_INLINE PyObject *__Pyx_GetItemInt_Fast(PyObject *o, Py_ssize_t i, int is_list, + CYTHON_NCP_UNUSED int wraparound, + CYTHON_NCP_UNUSED int boundscheck) { +#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS && CYTHON_USE_TYPE_SLOTS + if (is_list || PyList_CheckExact(o)) { + Py_ssize_t n = ((!wraparound) | likely(i >= 0)) ? i : i + PyList_GET_SIZE(o); + if ((!boundscheck) || (likely(__Pyx_is_valid_index(n, PyList_GET_SIZE(o))))) { + PyObject *r = PyList_GET_ITEM(o, n); + Py_INCREF(r); + return r; + } + } + else if (PyTuple_CheckExact(o)) { + Py_ssize_t n = ((!wraparound) | likely(i >= 0)) ? i : i + PyTuple_GET_SIZE(o); + if ((!boundscheck) || likely(__Pyx_is_valid_index(n, PyTuple_GET_SIZE(o)))) { + PyObject *r = PyTuple_GET_ITEM(o, n); + Py_INCREF(r); + return r; + } + } else { + PyMappingMethods *mm = Py_TYPE(o)->tp_as_mapping; + PySequenceMethods *sm = Py_TYPE(o)->tp_as_sequence; + if (mm && mm->mp_subscript) { + PyObject *r, *key = PyInt_FromSsize_t(i); + if (unlikely(!key)) return NULL; + r = mm->mp_subscript(o, key); + Py_DECREF(key); + return r; + } + if (likely(sm && sm->sq_item)) { + if (wraparound && unlikely(i < 0) && likely(sm->sq_length)) { + Py_ssize_t l = sm->sq_length(o); + if (likely(l >= 0)) { + i += l; + } else { + if (!PyErr_ExceptionMatches(PyExc_OverflowError)) + return NULL; + PyErr_Clear(); + } + } + return sm->sq_item(o, i); + } + } +#else + if (is_list || !PyMapping_Check(o)) { + return PySequence_GetItem(o, i); + } +#endif + return __Pyx_GetItemInt_Generic(o, PyInt_FromSsize_t(i)); +} + +/* PyObjectCallOneArg */ +static CYTHON_INLINE PyObject* __Pyx_PyObject_CallOneArg(PyObject *func, PyObject *arg) { + PyObject *args[2] = {NULL, arg}; + return __Pyx_PyObject_FastCall(func, args+1, 1 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET); +} + +/* ObjectGetItem */ +#if CYTHON_USE_TYPE_SLOTS +static PyObject *__Pyx_PyObject_GetIndex(PyObject *obj, PyObject *index) { + PyObject *runerr = NULL; + Py_ssize_t key_value; + key_value = __Pyx_PyIndex_AsSsize_t(index); + if (likely(key_value != -1 || !(runerr = PyErr_Occurred()))) { + return __Pyx_GetItemInt_Fast(obj, key_value, 0, 1, 1); + } + if (PyErr_GivenExceptionMatches(runerr, PyExc_OverflowError)) { + __Pyx_TypeName index_type_name = __Pyx_PyType_GetName(Py_TYPE(index)); + PyErr_Clear(); + PyErr_Format(PyExc_IndexError, + "cannot fit '" __Pyx_FMT_TYPENAME "' into an index-sized integer", index_type_name); + __Pyx_DECREF_TypeName(index_type_name); + } + return NULL; +} +static PyObject *__Pyx_PyObject_GetItem_Slow(PyObject *obj, PyObject *key) { + __Pyx_TypeName obj_type_name; + if (likely(PyType_Check(obj))) { + PyObject *meth = __Pyx_PyObject_GetAttrStrNoError(obj, __pyx_n_s_class_getitem); + if (!meth) { + PyErr_Clear(); + } else { + PyObject *result = __Pyx_PyObject_CallOneArg(meth, key); + Py_DECREF(meth); + return result; + } + } + obj_type_name = __Pyx_PyType_GetName(Py_TYPE(obj)); + PyErr_Format(PyExc_TypeError, + "'" __Pyx_FMT_TYPENAME "' object is not subscriptable", obj_type_name); + __Pyx_DECREF_TypeName(obj_type_name); + return NULL; +} +static PyObject *__Pyx_PyObject_GetItem(PyObject *obj, PyObject *key) { + PyTypeObject *tp = Py_TYPE(obj); + PyMappingMethods *mm = tp->tp_as_mapping; + PySequenceMethods *sm = tp->tp_as_sequence; + if (likely(mm && mm->mp_subscript)) { + return mm->mp_subscript(obj, key); + } + if (likely(sm && sm->sq_item)) { + return __Pyx_PyObject_GetIndex(obj, key); + } + return __Pyx_PyObject_GetItem_Slow(obj, key); +} +#endif + +/* KeywordStringCheck */ +static int __Pyx_CheckKeywordStrings( + PyObject *kw, + const char* function_name, + int kw_allowed) +{ + PyObject* key = 0; + Py_ssize_t pos = 0; +#if CYTHON_COMPILING_IN_PYPY + if (!kw_allowed && PyDict_Next(kw, &pos, &key, 0)) + goto invalid_keyword; + return 1; +#else + if (CYTHON_METH_FASTCALL && likely(PyTuple_Check(kw))) { + Py_ssize_t kwsize; +#if CYTHON_ASSUME_SAFE_MACROS + kwsize = PyTuple_GET_SIZE(kw); +#else + kwsize = PyTuple_Size(kw); + if (kwsize < 0) return 0; +#endif + if (unlikely(kwsize == 0)) + return 1; + if (!kw_allowed) { +#if CYTHON_ASSUME_SAFE_MACROS + key = PyTuple_GET_ITEM(kw, 0); +#else + key = PyTuple_GetItem(kw, pos); + if (!key) return 0; +#endif + goto invalid_keyword; + } +#if PY_VERSION_HEX < 0x03090000 + for (pos = 0; pos < kwsize; pos++) { +#if CYTHON_ASSUME_SAFE_MACROS + key = PyTuple_GET_ITEM(kw, pos); +#else + key = PyTuple_GetItem(kw, pos); + if (!key) return 0; +#endif + if (unlikely(!PyUnicode_Check(key))) + goto invalid_keyword_type; + } +#endif + return 1; + } + while (PyDict_Next(kw, &pos, &key, 0)) { + #if PY_MAJOR_VERSION < 3 + if (unlikely(!PyString_Check(key))) + #endif + if (unlikely(!PyUnicode_Check(key))) + goto invalid_keyword_type; + } + if (!kw_allowed && unlikely(key)) + goto invalid_keyword; + return 1; +invalid_keyword_type: + PyErr_Format(PyExc_TypeError, + "%.200s() keywords must be strings", function_name); + return 0; +#endif +invalid_keyword: + #if PY_MAJOR_VERSION < 3 + PyErr_Format(PyExc_TypeError, + "%.200s() got an unexpected keyword argument '%.200s'", + function_name, PyString_AsString(key)); + #else + PyErr_Format(PyExc_TypeError, + "%s() got an unexpected keyword argument '%U'", + function_name, key); + #endif + return 0; +} + +/* DivInt[Py_ssize_t] */ +static CYTHON_INLINE Py_ssize_t __Pyx_div_Py_ssize_t(Py_ssize_t a, Py_ssize_t b) { + Py_ssize_t q = a / b; + Py_ssize_t r = a - q*b; + q -= ((r != 0) & ((r ^ b) < 0)); + return q; +} + +/* GetAttr3 */ +#if __PYX_LIMITED_VERSION_HEX < 0x030d00A1 +static PyObject *__Pyx_GetAttr3Default(PyObject *d) { + __Pyx_PyThreadState_declare + __Pyx_PyThreadState_assign + if (unlikely(!__Pyx_PyErr_ExceptionMatches(PyExc_AttributeError))) + return NULL; + __Pyx_PyErr_Clear(); + Py_INCREF(d); + return d; +} +#endif +static CYTHON_INLINE PyObject *__Pyx_GetAttr3(PyObject *o, PyObject *n, PyObject *d) { + PyObject *r; +#if __PYX_LIMITED_VERSION_HEX >= 0x030d00A1 + int res = PyObject_GetOptionalAttr(o, n, &r); + return (res != 0) ? r : __Pyx_NewRef(d); +#else + #if CYTHON_USE_TYPE_SLOTS + if (likely(PyString_Check(n))) { + r = __Pyx_PyObject_GetAttrStrNoError(o, n); + if (unlikely(!r) && likely(!PyErr_Occurred())) { + r = __Pyx_NewRef(d); + } + return r; + } + #endif + r = PyObject_GetAttr(o, n); + return (likely(r)) ? r : __Pyx_GetAttr3Default(d); +#endif +} + +/* PyDictVersioning */ +#if CYTHON_USE_DICT_VERSIONS && CYTHON_USE_TYPE_SLOTS +static CYTHON_INLINE PY_UINT64_T __Pyx_get_tp_dict_version(PyObject *obj) { + PyObject *dict = Py_TYPE(obj)->tp_dict; + return likely(dict) ? __PYX_GET_DICT_VERSION(dict) : 0; +} +static CYTHON_INLINE PY_UINT64_T __Pyx_get_object_dict_version(PyObject *obj) { + PyObject **dictptr = NULL; + Py_ssize_t offset = Py_TYPE(obj)->tp_dictoffset; + if (offset) { +#if CYTHON_COMPILING_IN_CPYTHON + dictptr = (likely(offset > 0)) ? (PyObject **) ((char *)obj + offset) : _PyObject_GetDictPtr(obj); +#else + dictptr = _PyObject_GetDictPtr(obj); +#endif + } + return (dictptr && *dictptr) ? __PYX_GET_DICT_VERSION(*dictptr) : 0; +} +static CYTHON_INLINE int __Pyx_object_dict_version_matches(PyObject* obj, PY_UINT64_T tp_dict_version, PY_UINT64_T obj_dict_version) { + PyObject *dict = Py_TYPE(obj)->tp_dict; + if (unlikely(!dict) || unlikely(tp_dict_version != __PYX_GET_DICT_VERSION(dict))) + return 0; + return obj_dict_version == __Pyx_get_object_dict_version(obj); +} +#endif + +/* GetModuleGlobalName */ +#if CYTHON_USE_DICT_VERSIONS +static PyObject *__Pyx__GetModuleGlobalName(PyObject *name, PY_UINT64_T *dict_version, PyObject **dict_cached_value) +#else +static CYTHON_INLINE PyObject *__Pyx__GetModuleGlobalName(PyObject *name) +#endif +{ + PyObject *result; +#if !CYTHON_AVOID_BORROWED_REFS +#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030500A1 && PY_VERSION_HEX < 0x030d0000 + result = _PyDict_GetItem_KnownHash(__pyx_d, name, ((PyASCIIObject *) name)->hash); + __PYX_UPDATE_DICT_CACHE(__pyx_d, result, *dict_cached_value, *dict_version) + if (likely(result)) { + return __Pyx_NewRef(result); + } else if (unlikely(PyErr_Occurred())) { + return NULL; + } +#elif CYTHON_COMPILING_IN_LIMITED_API + if (unlikely(!__pyx_m)) { + return NULL; + } + result = PyObject_GetAttr(__pyx_m, name); + if (likely(result)) { + return result; + } +#else + result = PyDict_GetItem(__pyx_d, name); + __PYX_UPDATE_DICT_CACHE(__pyx_d, result, *dict_cached_value, *dict_version) + if (likely(result)) { + return __Pyx_NewRef(result); + } +#endif +#else + result = PyObject_GetItem(__pyx_d, name); + __PYX_UPDATE_DICT_CACHE(__pyx_d, result, *dict_cached_value, *dict_version) + if (likely(result)) { + return __Pyx_NewRef(result); + } + PyErr_Clear(); +#endif + return __Pyx_GetBuiltinName(name); +} + +/* RaiseTooManyValuesToUnpack */ +static CYTHON_INLINE void __Pyx_RaiseTooManyValuesError(Py_ssize_t expected) { + PyErr_Format(PyExc_ValueError, + "too many values to unpack (expected %" CYTHON_FORMAT_SSIZE_T "d)", expected); +} + +/* RaiseNeedMoreValuesToUnpack */ +static CYTHON_INLINE void __Pyx_RaiseNeedMoreValuesError(Py_ssize_t index) { + PyErr_Format(PyExc_ValueError, + "need more than %" CYTHON_FORMAT_SSIZE_T "d value%.1s to unpack", + index, (index == 1) ? "" : "s"); +} + +/* RaiseNoneIterError */ +static CYTHON_INLINE void __Pyx_RaiseNoneNotIterableError(void) { + PyErr_SetString(PyExc_TypeError, "'NoneType' object is not iterable"); +} + +/* ExtTypeTest */ +static CYTHON_INLINE int __Pyx_TypeTest(PyObject *obj, PyTypeObject *type) { + __Pyx_TypeName obj_type_name; + __Pyx_TypeName type_name; + if (unlikely(!type)) { + PyErr_SetString(PyExc_SystemError, "Missing type object"); + return 0; + } + if (likely(__Pyx_TypeCheck(obj, type))) + return 1; + obj_type_name = __Pyx_PyType_GetName(Py_TYPE(obj)); + type_name = __Pyx_PyType_GetName(type); + PyErr_Format(PyExc_TypeError, + "Cannot convert " __Pyx_FMT_TYPENAME " to " __Pyx_FMT_TYPENAME, + obj_type_name, type_name); + __Pyx_DECREF_TypeName(obj_type_name); + __Pyx_DECREF_TypeName(type_name); + return 0; +} + +/* GetTopmostException */ +#if CYTHON_USE_EXC_INFO_STACK && CYTHON_FAST_THREAD_STATE +static _PyErr_StackItem * +__Pyx_PyErr_GetTopmostException(PyThreadState *tstate) +{ + _PyErr_StackItem *exc_info = tstate->exc_info; + while ((exc_info->exc_value == NULL || exc_info->exc_value == Py_None) && + exc_info->previous_item != NULL) + { + exc_info = exc_info->previous_item; + } + return exc_info; +} +#endif + +/* SaveResetException */ +#if CYTHON_FAST_THREAD_STATE +static CYTHON_INLINE void __Pyx__ExceptionSave(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb) { + #if CYTHON_USE_EXC_INFO_STACK && PY_VERSION_HEX >= 0x030B00a4 + _PyErr_StackItem *exc_info = __Pyx_PyErr_GetTopmostException(tstate); + PyObject *exc_value = exc_info->exc_value; + if (exc_value == NULL || exc_value == Py_None) { + *value = NULL; + *type = NULL; + *tb = NULL; + } else { + *value = exc_value; + Py_INCREF(*value); + *type = (PyObject*) Py_TYPE(exc_value); + Py_INCREF(*type); + *tb = PyException_GetTraceback(exc_value); + } + #elif CYTHON_USE_EXC_INFO_STACK + _PyErr_StackItem *exc_info = __Pyx_PyErr_GetTopmostException(tstate); + *type = exc_info->exc_type; + *value = exc_info->exc_value; + *tb = exc_info->exc_traceback; + Py_XINCREF(*type); + Py_XINCREF(*value); + Py_XINCREF(*tb); + #else + *type = tstate->exc_type; + *value = tstate->exc_value; + *tb = tstate->exc_traceback; + Py_XINCREF(*type); + Py_XINCREF(*value); + Py_XINCREF(*tb); + #endif +} +static CYTHON_INLINE void __Pyx__ExceptionReset(PyThreadState *tstate, PyObject *type, PyObject *value, PyObject *tb) { + #if CYTHON_USE_EXC_INFO_STACK && PY_VERSION_HEX >= 0x030B00a4 + _PyErr_StackItem *exc_info = tstate->exc_info; + PyObject *tmp_value = exc_info->exc_value; + exc_info->exc_value = value; + Py_XDECREF(tmp_value); + Py_XDECREF(type); + Py_XDECREF(tb); + #else + PyObject *tmp_type, *tmp_value, *tmp_tb; + #if CYTHON_USE_EXC_INFO_STACK + _PyErr_StackItem *exc_info = tstate->exc_info; + tmp_type = exc_info->exc_type; + tmp_value = exc_info->exc_value; + tmp_tb = exc_info->exc_traceback; + exc_info->exc_type = type; + exc_info->exc_value = value; + exc_info->exc_traceback = tb; + #else + tmp_type = tstate->exc_type; + tmp_value = tstate->exc_value; + tmp_tb = tstate->exc_traceback; + tstate->exc_type = type; + tstate->exc_value = value; + tstate->exc_traceback = tb; + #endif + Py_XDECREF(tmp_type); + Py_XDECREF(tmp_value); + Py_XDECREF(tmp_tb); + #endif +} +#endif + +/* GetException */ +#if CYTHON_FAST_THREAD_STATE +static int __Pyx__GetException(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb) +#else +static int __Pyx_GetException(PyObject **type, PyObject **value, PyObject **tb) +#endif +{ + PyObject *local_type = NULL, *local_value, *local_tb = NULL; +#if CYTHON_FAST_THREAD_STATE + PyObject *tmp_type, *tmp_value, *tmp_tb; + #if PY_VERSION_HEX >= 0x030C00A6 + local_value = tstate->current_exception; + tstate->current_exception = 0; + if (likely(local_value)) { + local_type = (PyObject*) Py_TYPE(local_value); + Py_INCREF(local_type); + local_tb = PyException_GetTraceback(local_value); + } + #else + local_type = tstate->curexc_type; + local_value = tstate->curexc_value; + local_tb = tstate->curexc_traceback; + tstate->curexc_type = 0; + tstate->curexc_value = 0; + tstate->curexc_traceback = 0; + #endif +#else + PyErr_Fetch(&local_type, &local_value, &local_tb); +#endif + PyErr_NormalizeException(&local_type, &local_value, &local_tb); +#if CYTHON_FAST_THREAD_STATE && PY_VERSION_HEX >= 0x030C00A6 + if (unlikely(tstate->current_exception)) +#elif CYTHON_FAST_THREAD_STATE + if (unlikely(tstate->curexc_type)) +#else + if (unlikely(PyErr_Occurred())) +#endif + goto bad; + #if PY_MAJOR_VERSION >= 3 + if (local_tb) { + if (unlikely(PyException_SetTraceback(local_value, local_tb) < 0)) + goto bad; + } + #endif + Py_XINCREF(local_tb); + Py_XINCREF(local_type); + Py_XINCREF(local_value); + *type = local_type; + *value = local_value; + *tb = local_tb; +#if CYTHON_FAST_THREAD_STATE + #if CYTHON_USE_EXC_INFO_STACK + { + _PyErr_StackItem *exc_info = tstate->exc_info; + #if PY_VERSION_HEX >= 0x030B00a4 + tmp_value = exc_info->exc_value; + exc_info->exc_value = local_value; + tmp_type = NULL; + tmp_tb = NULL; + Py_XDECREF(local_type); + Py_XDECREF(local_tb); + #else + tmp_type = exc_info->exc_type; + tmp_value = exc_info->exc_value; + tmp_tb = exc_info->exc_traceback; + exc_info->exc_type = local_type; + exc_info->exc_value = local_value; + exc_info->exc_traceback = local_tb; + #endif + } + #else + tmp_type = tstate->exc_type; + tmp_value = tstate->exc_value; + tmp_tb = tstate->exc_traceback; + tstate->exc_type = local_type; + tstate->exc_value = local_value; + tstate->exc_traceback = local_tb; + #endif + Py_XDECREF(tmp_type); + Py_XDECREF(tmp_value); + Py_XDECREF(tmp_tb); +#else + PyErr_SetExcInfo(local_type, local_value, local_tb); +#endif + return 0; +bad: + *type = 0; + *value = 0; + *tb = 0; + Py_XDECREF(local_type); + Py_XDECREF(local_value); + Py_XDECREF(local_tb); + return -1; +} + +/* SwapException */ +#if CYTHON_FAST_THREAD_STATE +static CYTHON_INLINE void __Pyx__ExceptionSwap(PyThreadState *tstate, PyObject **type, PyObject **value, PyObject **tb) { + PyObject *tmp_type, *tmp_value, *tmp_tb; + #if CYTHON_USE_EXC_INFO_STACK && PY_VERSION_HEX >= 0x030B00a4 + _PyErr_StackItem *exc_info = tstate->exc_info; + tmp_value = exc_info->exc_value; + exc_info->exc_value = *value; + if (tmp_value == NULL || tmp_value == Py_None) { + Py_XDECREF(tmp_value); + tmp_value = NULL; + tmp_type = NULL; + tmp_tb = NULL; + } else { + tmp_type = (PyObject*) Py_TYPE(tmp_value); + Py_INCREF(tmp_type); + #if CYTHON_COMPILING_IN_CPYTHON + tmp_tb = ((PyBaseExceptionObject*) tmp_value)->traceback; + Py_XINCREF(tmp_tb); + #else + tmp_tb = PyException_GetTraceback(tmp_value); + #endif + } + #elif CYTHON_USE_EXC_INFO_STACK + _PyErr_StackItem *exc_info = tstate->exc_info; + tmp_type = exc_info->exc_type; + tmp_value = exc_info->exc_value; + tmp_tb = exc_info->exc_traceback; + exc_info->exc_type = *type; + exc_info->exc_value = *value; + exc_info->exc_traceback = *tb; + #else + tmp_type = tstate->exc_type; + tmp_value = tstate->exc_value; + tmp_tb = tstate->exc_traceback; + tstate->exc_type = *type; + tstate->exc_value = *value; + tstate->exc_traceback = *tb; + #endif + *type = tmp_type; + *value = tmp_value; + *tb = tmp_tb; +} +#else +static CYTHON_INLINE void __Pyx_ExceptionSwap(PyObject **type, PyObject **value, PyObject **tb) { + PyObject *tmp_type, *tmp_value, *tmp_tb; + PyErr_GetExcInfo(&tmp_type, &tmp_value, &tmp_tb); + PyErr_SetExcInfo(*type, *value, *tb); + *type = tmp_type; + *value = tmp_value; + *tb = tmp_tb; +} +#endif + +/* Import */ +static PyObject *__Pyx_Import(PyObject *name, PyObject *from_list, int level) { + PyObject *module = 0; + PyObject *empty_dict = 0; + PyObject *empty_list = 0; + #if PY_MAJOR_VERSION < 3 + PyObject *py_import; + py_import = __Pyx_PyObject_GetAttrStr(__pyx_b, __pyx_n_s_import); + if (unlikely(!py_import)) + goto bad; + if (!from_list) { + empty_list = PyList_New(0); + if (unlikely(!empty_list)) + goto bad; + from_list = empty_list; + } + #endif + empty_dict = PyDict_New(); + if (unlikely(!empty_dict)) + goto bad; + { + #if PY_MAJOR_VERSION >= 3 + if (level == -1) { + if (strchr(__Pyx_MODULE_NAME, '.') != NULL) { + module = PyImport_ImportModuleLevelObject( + name, __pyx_d, empty_dict, from_list, 1); + if (unlikely(!module)) { + if (unlikely(!PyErr_ExceptionMatches(PyExc_ImportError))) + goto bad; + PyErr_Clear(); + } + } + level = 0; + } + #endif + if (!module) { + #if PY_MAJOR_VERSION < 3 + PyObject *py_level = PyInt_FromLong(level); + if (unlikely(!py_level)) + goto bad; + module = PyObject_CallFunctionObjArgs(py_import, + name, __pyx_d, empty_dict, from_list, py_level, (PyObject *)NULL); + Py_DECREF(py_level); + #else + module = PyImport_ImportModuleLevelObject( + name, __pyx_d, empty_dict, from_list, level); + #endif + } + } +bad: + Py_XDECREF(empty_dict); + Py_XDECREF(empty_list); + #if PY_MAJOR_VERSION < 3 + Py_XDECREF(py_import); + #endif + return module; +} + +/* ImportDottedModule */ +#if PY_MAJOR_VERSION >= 3 +static PyObject *__Pyx__ImportDottedModule_Error(PyObject *name, PyObject *parts_tuple, Py_ssize_t count) { + PyObject *partial_name = NULL, *slice = NULL, *sep = NULL; + if (unlikely(PyErr_Occurred())) { + PyErr_Clear(); + } + if (likely(PyTuple_GET_SIZE(parts_tuple) == count)) { + partial_name = name; + } else { + slice = PySequence_GetSlice(parts_tuple, 0, count); + if (unlikely(!slice)) + goto bad; + sep = PyUnicode_FromStringAndSize(".", 1); + if (unlikely(!sep)) + goto bad; + partial_name = PyUnicode_Join(sep, slice); + } + PyErr_Format( +#if PY_MAJOR_VERSION < 3 + PyExc_ImportError, + "No module named '%s'", PyString_AS_STRING(partial_name)); +#else +#if PY_VERSION_HEX >= 0x030600B1 + PyExc_ModuleNotFoundError, +#else + PyExc_ImportError, +#endif + "No module named '%U'", partial_name); +#endif +bad: + Py_XDECREF(sep); + Py_XDECREF(slice); + Py_XDECREF(partial_name); + return NULL; +} +#endif +#if PY_MAJOR_VERSION >= 3 +static PyObject *__Pyx__ImportDottedModule_Lookup(PyObject *name) { + PyObject *imported_module; +#if PY_VERSION_HEX < 0x030700A1 || (CYTHON_COMPILING_IN_PYPY && PYPY_VERSION_NUM < 0x07030400) + PyObject *modules = PyImport_GetModuleDict(); + if (unlikely(!modules)) + return NULL; + imported_module = __Pyx_PyDict_GetItemStr(modules, name); + Py_XINCREF(imported_module); +#else + imported_module = PyImport_GetModule(name); +#endif + return imported_module; +} +#endif +#if PY_MAJOR_VERSION >= 3 +static PyObject *__Pyx_ImportDottedModule_WalkParts(PyObject *module, PyObject *name, PyObject *parts_tuple) { + Py_ssize_t i, nparts; + nparts = PyTuple_GET_SIZE(parts_tuple); + for (i=1; i < nparts && module; i++) { + PyObject *part, *submodule; +#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + part = PyTuple_GET_ITEM(parts_tuple, i); +#else + part = PySequence_ITEM(parts_tuple, i); +#endif + submodule = __Pyx_PyObject_GetAttrStrNoError(module, part); +#if !(CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS) + Py_DECREF(part); +#endif + Py_DECREF(module); + module = submodule; + } + if (unlikely(!module)) { + return __Pyx__ImportDottedModule_Error(name, parts_tuple, i); + } + return module; +} +#endif +static PyObject *__Pyx__ImportDottedModule(PyObject *name, PyObject *parts_tuple) { +#if PY_MAJOR_VERSION < 3 + PyObject *module, *from_list, *star = __pyx_n_s__3; + CYTHON_UNUSED_VAR(parts_tuple); + from_list = PyList_New(1); + if (unlikely(!from_list)) + return NULL; + Py_INCREF(star); + PyList_SET_ITEM(from_list, 0, star); + module = __Pyx_Import(name, from_list, 0); + Py_DECREF(from_list); + return module; +#else + PyObject *imported_module; + PyObject *module = __Pyx_Import(name, NULL, 0); + if (!parts_tuple || unlikely(!module)) + return module; + imported_module = __Pyx__ImportDottedModule_Lookup(name); + if (likely(imported_module)) { + Py_DECREF(module); + return imported_module; + } + PyErr_Clear(); + return __Pyx_ImportDottedModule_WalkParts(module, name, parts_tuple); +#endif +} +static PyObject *__Pyx_ImportDottedModule(PyObject *name, PyObject *parts_tuple) { +#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX >= 0x030400B1 + PyObject *module = __Pyx__ImportDottedModule_Lookup(name); + if (likely(module)) { + PyObject *spec = __Pyx_PyObject_GetAttrStrNoError(module, __pyx_n_s_spec); + if (likely(spec)) { + PyObject *unsafe = __Pyx_PyObject_GetAttrStrNoError(spec, __pyx_n_s_initializing); + if (likely(!unsafe || !__Pyx_PyObject_IsTrue(unsafe))) { + Py_DECREF(spec); + spec = NULL; + } + Py_XDECREF(unsafe); + } + if (likely(!spec)) { + PyErr_Clear(); + return module; + } + Py_DECREF(spec); + Py_DECREF(module); + } else if (PyErr_Occurred()) { + PyErr_Clear(); + } +#endif + return __Pyx__ImportDottedModule(name, parts_tuple); +} + +/* FastTypeChecks */ +#if CYTHON_COMPILING_IN_CPYTHON +static int __Pyx_InBases(PyTypeObject *a, PyTypeObject *b) { + while (a) { + a = __Pyx_PyType_GetSlot(a, tp_base, PyTypeObject*); + if (a == b) + return 1; + } + return b == &PyBaseObject_Type; +} +static CYTHON_INLINE int __Pyx_IsSubtype(PyTypeObject *a, PyTypeObject *b) { + PyObject *mro; + if (a == b) return 1; + mro = a->tp_mro; + if (likely(mro)) { + Py_ssize_t i, n; + n = PyTuple_GET_SIZE(mro); + for (i = 0; i < n; i++) { + if (PyTuple_GET_ITEM(mro, i) == (PyObject *)b) + return 1; + } + return 0; + } + return __Pyx_InBases(a, b); +} +static CYTHON_INLINE int __Pyx_IsAnySubtype2(PyTypeObject *cls, PyTypeObject *a, PyTypeObject *b) { + PyObject *mro; + if (cls == a || cls == b) return 1; + mro = cls->tp_mro; + if (likely(mro)) { + Py_ssize_t i, n; + n = PyTuple_GET_SIZE(mro); + for (i = 0; i < n; i++) { + PyObject *base = PyTuple_GET_ITEM(mro, i); + if (base == (PyObject *)a || base == (PyObject *)b) + return 1; + } + return 0; + } + return __Pyx_InBases(cls, a) || __Pyx_InBases(cls, b); +} +#if PY_MAJOR_VERSION == 2 +static int __Pyx_inner_PyErr_GivenExceptionMatches2(PyObject *err, PyObject* exc_type1, PyObject* exc_type2) { + PyObject *exception, *value, *tb; + int res; + __Pyx_PyThreadState_declare + __Pyx_PyThreadState_assign + __Pyx_ErrFetch(&exception, &value, &tb); + res = exc_type1 ? PyObject_IsSubclass(err, exc_type1) : 0; + if (unlikely(res == -1)) { + PyErr_WriteUnraisable(err); + res = 0; + } + if (!res) { + res = PyObject_IsSubclass(err, exc_type2); + if (unlikely(res == -1)) { + PyErr_WriteUnraisable(err); + res = 0; + } + } + __Pyx_ErrRestore(exception, value, tb); + return res; +} +#else +static CYTHON_INLINE int __Pyx_inner_PyErr_GivenExceptionMatches2(PyObject *err, PyObject* exc_type1, PyObject *exc_type2) { + if (exc_type1) { + return __Pyx_IsAnySubtype2((PyTypeObject*)err, (PyTypeObject*)exc_type1, (PyTypeObject*)exc_type2); + } else { + return __Pyx_IsSubtype((PyTypeObject*)err, (PyTypeObject*)exc_type2); + } +} +#endif +static int __Pyx_PyErr_GivenExceptionMatchesTuple(PyObject *exc_type, PyObject *tuple) { + Py_ssize_t i, n; + assert(PyExceptionClass_Check(exc_type)); + n = PyTuple_GET_SIZE(tuple); +#if PY_MAJOR_VERSION >= 3 + for (i=0; itp_as_sequence && type->tp_as_sequence->sq_repeat)) { + return type->tp_as_sequence->sq_repeat(seq, mul); + } else +#endif + { + return __Pyx_PySequence_Multiply_Generic(seq, mul); + } +} + +/* SetItemInt */ +static int __Pyx_SetItemInt_Generic(PyObject *o, PyObject *j, PyObject *v) { + int r; + if (unlikely(!j)) return -1; + r = PyObject_SetItem(o, j, v); + Py_DECREF(j); + return r; +} +static CYTHON_INLINE int __Pyx_SetItemInt_Fast(PyObject *o, Py_ssize_t i, PyObject *v, int is_list, + CYTHON_NCP_UNUSED int wraparound, CYTHON_NCP_UNUSED int boundscheck) { +#if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS && CYTHON_USE_TYPE_SLOTS + if (is_list || PyList_CheckExact(o)) { + Py_ssize_t n = (!wraparound) ? i : ((likely(i >= 0)) ? i : i + PyList_GET_SIZE(o)); + if ((!boundscheck) || likely(__Pyx_is_valid_index(n, PyList_GET_SIZE(o)))) { + PyObject* old = PyList_GET_ITEM(o, n); + Py_INCREF(v); + PyList_SET_ITEM(o, n, v); + Py_DECREF(old); + return 1; + } + } else { + PyMappingMethods *mm = Py_TYPE(o)->tp_as_mapping; + PySequenceMethods *sm = Py_TYPE(o)->tp_as_sequence; + if (mm && mm->mp_ass_subscript) { + int r; + PyObject *key = PyInt_FromSsize_t(i); + if (unlikely(!key)) return -1; + r = mm->mp_ass_subscript(o, key, v); + Py_DECREF(key); + return r; + } + if (likely(sm && sm->sq_ass_item)) { + if (wraparound && unlikely(i < 0) && likely(sm->sq_length)) { + Py_ssize_t l = sm->sq_length(o); + if (likely(l >= 0)) { + i += l; + } else { + if (!PyErr_ExceptionMatches(PyExc_OverflowError)) + return -1; + PyErr_Clear(); + } + } + return sm->sq_ass_item(o, i, v); + } + } +#else + if (is_list || !PyMapping_Check(o)) + { + return PySequence_SetItem(o, i, v); + } +#endif + return __Pyx_SetItemInt_Generic(o, PyInt_FromSsize_t(i), v); +} + +/* RaiseUnboundLocalError */ +static CYTHON_INLINE void __Pyx_RaiseUnboundLocalError(const char *varname) { + PyErr_Format(PyExc_UnboundLocalError, "local variable '%s' referenced before assignment", varname); +} + +/* DivInt[long] */ +static CYTHON_INLINE long __Pyx_div_long(long a, long b) { + long q = a / b; + long r = a - q*b; + q -= ((r != 0) & ((r ^ b) < 0)); + return q; +} + +/* ImportFrom */ +static PyObject* __Pyx_ImportFrom(PyObject* module, PyObject* name) { + PyObject* value = __Pyx_PyObject_GetAttrStr(module, name); + if (unlikely(!value) && PyErr_ExceptionMatches(PyExc_AttributeError)) { + const char* module_name_str = 0; + PyObject* module_name = 0; + PyObject* module_dot = 0; + PyObject* full_name = 0; + PyErr_Clear(); + module_name_str = PyModule_GetName(module); + if (unlikely(!module_name_str)) { goto modbad; } + module_name = PyUnicode_FromString(module_name_str); + if (unlikely(!module_name)) { goto modbad; } + module_dot = PyUnicode_Concat(module_name, __pyx_kp_u__2); + if (unlikely(!module_dot)) { goto modbad; } + full_name = PyUnicode_Concat(module_dot, name); + if (unlikely(!full_name)) { goto modbad; } + #if PY_VERSION_HEX < 0x030700A1 || (CYTHON_COMPILING_IN_PYPY && PYPY_VERSION_NUM < 0x07030400) + { + PyObject *modules = PyImport_GetModuleDict(); + if (unlikely(!modules)) + goto modbad; + value = PyObject_GetItem(modules, full_name); + } + #else + value = PyImport_GetModule(full_name); + #endif + modbad: + Py_XDECREF(full_name); + Py_XDECREF(module_dot); + Py_XDECREF(module_name); + } + if (unlikely(!value)) { + PyErr_Format(PyExc_ImportError, + #if PY_MAJOR_VERSION < 3 + "cannot import name %.230s", PyString_AS_STRING(name)); + #else + "cannot import name %S", name); + #endif + } + return value; +} + +/* HasAttr */ +#if __PYX_LIMITED_VERSION_HEX < 0x030d00A1 +static CYTHON_INLINE int __Pyx_HasAttr(PyObject *o, PyObject *n) { + PyObject *r; + if (unlikely(!__Pyx_PyBaseString_Check(n))) { + PyErr_SetString(PyExc_TypeError, + "hasattr(): attribute name must be string"); + return -1; + } + r = __Pyx_GetAttr(o, n); + if (!r) { + PyErr_Clear(); + return 0; + } else { + Py_DECREF(r); + return 1; + } +} +#endif + +/* BufferIndexError */ +static void __Pyx_RaiseBufferIndexError(int axis) { + PyErr_Format(PyExc_IndexError, + "Out of bounds on buffer access (axis %d)", axis); +} + +/* BufferIndexErrorNogil */ +static void __Pyx_RaiseBufferIndexErrorNogil(int axis) { + #ifdef WITH_THREAD + PyGILState_STATE gilstate = PyGILState_Ensure(); + #endif + __Pyx_RaiseBufferIndexError(axis); + #ifdef WITH_THREAD + PyGILState_Release(gilstate); + #endif +} + +/* ModInt[int] */ +static CYTHON_INLINE int __Pyx_mod_int(int a, int b) { + int r = a % b; + r += ((r != 0) & ((r ^ b) < 0)) * b; + return r; +} + +/* ErrOccurredWithGIL */ +static CYTHON_INLINE int __Pyx_ErrOccurredWithGIL(void) { + int err; + #ifdef WITH_THREAD + PyGILState_STATE _save = PyGILState_Ensure(); + #endif + err = !!PyErr_Occurred(); + #ifdef WITH_THREAD + PyGILState_Release(_save); + #endif + return err; +} + +/* ModInt[Py_ssize_t] */ +static CYTHON_INLINE Py_ssize_t __Pyx_mod_Py_ssize_t(Py_ssize_t a, Py_ssize_t b) { + Py_ssize_t r = a % b; + r += ((r != 0) & ((r ^ b) < 0)) * b; + return r; +} + +/* ModInt[long] */ +static CYTHON_INLINE long __Pyx_mod_long(long a, long b) { + long r = a % b; + r += ((r != 0) & ((r ^ b) < 0)) * b; + return r; +} + +/* PyIntBinop */ +#if !CYTHON_COMPILING_IN_PYPY +static PyObject* __Pyx_PyInt_SubtractObjC(PyObject *op1, PyObject *op2, long intval, int inplace, int zerodivision_check) { + CYTHON_MAYBE_UNUSED_VAR(intval); + CYTHON_MAYBE_UNUSED_VAR(inplace); + CYTHON_UNUSED_VAR(zerodivision_check); + #if PY_MAJOR_VERSION < 3 + if (likely(PyInt_CheckExact(op1))) { + const long b = intval; + long x; + long a = PyInt_AS_LONG(op1); + + x = (long)((unsigned long)a - (unsigned long)b); + if (likely((x^a) >= 0 || (x^~b) >= 0)) + return PyInt_FromLong(x); + return PyLong_Type.tp_as_number->nb_subtract(op1, op2); + } + #endif + #if CYTHON_USE_PYLONG_INTERNALS + if (likely(PyLong_CheckExact(op1))) { + const long b = intval; + long a, x; +#ifdef HAVE_LONG_LONG + const PY_LONG_LONG llb = intval; + PY_LONG_LONG lla, llx; +#endif + if (unlikely(__Pyx_PyLong_IsZero(op1))) { + return PyLong_FromLong(-intval); + } + if (likely(__Pyx_PyLong_IsCompact(op1))) { + a = __Pyx_PyLong_CompactValue(op1); + } else { + const digit* digits = __Pyx_PyLong_Digits(op1); + const Py_ssize_t size = __Pyx_PyLong_SignedDigitCount(op1); + switch (size) { + case -2: + if (8 * sizeof(long) - 1 > 2 * PyLong_SHIFT) { + a = -(long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + break; + #ifdef HAVE_LONG_LONG + } else if (8 * sizeof(PY_LONG_LONG) - 1 > 2 * PyLong_SHIFT) { + lla = -(PY_LONG_LONG) (((((unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0])); + goto long_long; + #endif + } + CYTHON_FALLTHROUGH; + case 2: + if (8 * sizeof(long) - 1 > 2 * PyLong_SHIFT) { + a = (long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + break; + #ifdef HAVE_LONG_LONG + } else if (8 * sizeof(PY_LONG_LONG) - 1 > 2 * PyLong_SHIFT) { + lla = (PY_LONG_LONG) (((((unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0])); + goto long_long; + #endif + } + CYTHON_FALLTHROUGH; + case -3: + if (8 * sizeof(long) - 1 > 3 * PyLong_SHIFT) { + a = -(long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + break; + #ifdef HAVE_LONG_LONG + } else if (8 * sizeof(PY_LONG_LONG) - 1 > 3 * PyLong_SHIFT) { + lla = -(PY_LONG_LONG) (((((((unsigned PY_LONG_LONG)digits[2]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0])); + goto long_long; + #endif + } + CYTHON_FALLTHROUGH; + case 3: + if (8 * sizeof(long) - 1 > 3 * PyLong_SHIFT) { + a = (long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + break; + #ifdef HAVE_LONG_LONG + } else if (8 * sizeof(PY_LONG_LONG) - 1 > 3 * PyLong_SHIFT) { + lla = (PY_LONG_LONG) (((((((unsigned PY_LONG_LONG)digits[2]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0])); + goto long_long; + #endif + } + CYTHON_FALLTHROUGH; + case -4: + if (8 * sizeof(long) - 1 > 4 * PyLong_SHIFT) { + a = -(long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + break; + #ifdef HAVE_LONG_LONG + } else if (8 * sizeof(PY_LONG_LONG) - 1 > 4 * PyLong_SHIFT) { + lla = -(PY_LONG_LONG) (((((((((unsigned PY_LONG_LONG)digits[3]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[2]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0])); + goto long_long; + #endif + } + CYTHON_FALLTHROUGH; + case 4: + if (8 * sizeof(long) - 1 > 4 * PyLong_SHIFT) { + a = (long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + break; + #ifdef HAVE_LONG_LONG + } else if (8 * sizeof(PY_LONG_LONG) - 1 > 4 * PyLong_SHIFT) { + lla = (PY_LONG_LONG) (((((((((unsigned PY_LONG_LONG)digits[3]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[2]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0])); + goto long_long; + #endif + } + CYTHON_FALLTHROUGH; + default: return PyLong_Type.tp_as_number->nb_subtract(op1, op2); + } + } + x = a - b; + return PyLong_FromLong(x); +#ifdef HAVE_LONG_LONG + long_long: + llx = lla - llb; + return PyLong_FromLongLong(llx); +#endif + + + } + #endif + if (PyFloat_CheckExact(op1)) { + const long b = intval; +#if CYTHON_COMPILING_IN_LIMITED_API + double a = __pyx_PyFloat_AsDouble(op1); +#else + double a = PyFloat_AS_DOUBLE(op1); +#endif + double result; + + PyFPE_START_PROTECT("subtract", return NULL) + result = ((double)a) - (double)b; + PyFPE_END_PROTECT(result) + return PyFloat_FromDouble(result); + } + return (inplace ? PyNumber_InPlaceSubtract : PyNumber_Subtract)(op1, op2); +} +#endif + +/* PyIntBinop */ +#if !CYTHON_COMPILING_IN_PYPY +static PyObject* __Pyx_PyInt_AddObjC(PyObject *op1, PyObject *op2, long intval, int inplace, int zerodivision_check) { + CYTHON_MAYBE_UNUSED_VAR(intval); + CYTHON_MAYBE_UNUSED_VAR(inplace); + CYTHON_UNUSED_VAR(zerodivision_check); + #if PY_MAJOR_VERSION < 3 + if (likely(PyInt_CheckExact(op1))) { + const long b = intval; + long x; + long a = PyInt_AS_LONG(op1); + + x = (long)((unsigned long)a + (unsigned long)b); + if (likely((x^a) >= 0 || (x^b) >= 0)) + return PyInt_FromLong(x); + return PyLong_Type.tp_as_number->nb_add(op1, op2); + } + #endif + #if CYTHON_USE_PYLONG_INTERNALS + if (likely(PyLong_CheckExact(op1))) { + const long b = intval; + long a, x; +#ifdef HAVE_LONG_LONG + const PY_LONG_LONG llb = intval; + PY_LONG_LONG lla, llx; +#endif + if (unlikely(__Pyx_PyLong_IsZero(op1))) { + return __Pyx_NewRef(op2); + } + if (likely(__Pyx_PyLong_IsCompact(op1))) { + a = __Pyx_PyLong_CompactValue(op1); + } else { + const digit* digits = __Pyx_PyLong_Digits(op1); + const Py_ssize_t size = __Pyx_PyLong_SignedDigitCount(op1); + switch (size) { + case -2: + if (8 * sizeof(long) - 1 > 2 * PyLong_SHIFT) { + a = -(long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + break; + #ifdef HAVE_LONG_LONG + } else if (8 * sizeof(PY_LONG_LONG) - 1 > 2 * PyLong_SHIFT) { + lla = -(PY_LONG_LONG) (((((unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0])); + goto long_long; + #endif + } + CYTHON_FALLTHROUGH; + case 2: + if (8 * sizeof(long) - 1 > 2 * PyLong_SHIFT) { + a = (long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + break; + #ifdef HAVE_LONG_LONG + } else if (8 * sizeof(PY_LONG_LONG) - 1 > 2 * PyLong_SHIFT) { + lla = (PY_LONG_LONG) (((((unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0])); + goto long_long; + #endif + } + CYTHON_FALLTHROUGH; + case -3: + if (8 * sizeof(long) - 1 > 3 * PyLong_SHIFT) { + a = -(long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + break; + #ifdef HAVE_LONG_LONG + } else if (8 * sizeof(PY_LONG_LONG) - 1 > 3 * PyLong_SHIFT) { + lla = -(PY_LONG_LONG) (((((((unsigned PY_LONG_LONG)digits[2]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0])); + goto long_long; + #endif + } + CYTHON_FALLTHROUGH; + case 3: + if (8 * sizeof(long) - 1 > 3 * PyLong_SHIFT) { + a = (long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + break; + #ifdef HAVE_LONG_LONG + } else if (8 * sizeof(PY_LONG_LONG) - 1 > 3 * PyLong_SHIFT) { + lla = (PY_LONG_LONG) (((((((unsigned PY_LONG_LONG)digits[2]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0])); + goto long_long; + #endif + } + CYTHON_FALLTHROUGH; + case -4: + if (8 * sizeof(long) - 1 > 4 * PyLong_SHIFT) { + a = -(long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + break; + #ifdef HAVE_LONG_LONG + } else if (8 * sizeof(PY_LONG_LONG) - 1 > 4 * PyLong_SHIFT) { + lla = -(PY_LONG_LONG) (((((((((unsigned PY_LONG_LONG)digits[3]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[2]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0])); + goto long_long; + #endif + } + CYTHON_FALLTHROUGH; + case 4: + if (8 * sizeof(long) - 1 > 4 * PyLong_SHIFT) { + a = (long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + break; + #ifdef HAVE_LONG_LONG + } else if (8 * sizeof(PY_LONG_LONG) - 1 > 4 * PyLong_SHIFT) { + lla = (PY_LONG_LONG) (((((((((unsigned PY_LONG_LONG)digits[3]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[2]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[1]) << PyLong_SHIFT) | (unsigned PY_LONG_LONG)digits[0])); + goto long_long; + #endif + } + CYTHON_FALLTHROUGH; + default: return PyLong_Type.tp_as_number->nb_add(op1, op2); + } + } + x = a + b; + return PyLong_FromLong(x); +#ifdef HAVE_LONG_LONG + long_long: + llx = lla + llb; + return PyLong_FromLongLong(llx); +#endif + + + } + #endif + if (PyFloat_CheckExact(op1)) { + const long b = intval; +#if CYTHON_COMPILING_IN_LIMITED_API + double a = __pyx_PyFloat_AsDouble(op1); +#else + double a = PyFloat_AS_DOUBLE(op1); +#endif + double result; + + PyFPE_START_PROTECT("add", return NULL) + result = ((double)a) + (double)b; + PyFPE_END_PROTECT(result) + return PyFloat_FromDouble(result); + } + return (inplace ? PyNumber_InPlaceAdd : PyNumber_Add)(op1, op2); +} +#endif + +/* PyIntCompare */ +static CYTHON_INLINE int __Pyx_PyInt_BoolEqObjC(PyObject *op1, PyObject *op2, long intval, long inplace) { + CYTHON_MAYBE_UNUSED_VAR(intval); + CYTHON_UNUSED_VAR(inplace); + if (op1 == op2) { + return 1; + } + #if PY_MAJOR_VERSION < 3 + if (likely(PyInt_CheckExact(op1))) { + const long b = intval; + long a = PyInt_AS_LONG(op1); + return (a == b); + } + #endif + #if CYTHON_USE_PYLONG_INTERNALS + if (likely(PyLong_CheckExact(op1))) { + int unequal; + unsigned long uintval; + Py_ssize_t size = __Pyx_PyLong_DigitCount(op1); + const digit* digits = __Pyx_PyLong_Digits(op1); + if (intval == 0) { + return (__Pyx_PyLong_IsZero(op1) == 1); + } else if (intval < 0) { + if (__Pyx_PyLong_IsNonNeg(op1)) + return 0; + intval = -intval; + } else { + if (__Pyx_PyLong_IsNeg(op1)) + return 0; + } + uintval = (unsigned long) intval; +#if PyLong_SHIFT * 4 < SIZEOF_LONG*8 + if (uintval >> (PyLong_SHIFT * 4)) { + unequal = (size != 5) || (digits[0] != (uintval & (unsigned long) PyLong_MASK)) + | (digits[1] != ((uintval >> (1 * PyLong_SHIFT)) & (unsigned long) PyLong_MASK)) | (digits[2] != ((uintval >> (2 * PyLong_SHIFT)) & (unsigned long) PyLong_MASK)) | (digits[3] != ((uintval >> (3 * PyLong_SHIFT)) & (unsigned long) PyLong_MASK)) | (digits[4] != ((uintval >> (4 * PyLong_SHIFT)) & (unsigned long) PyLong_MASK)); + } else +#endif +#if PyLong_SHIFT * 3 < SIZEOF_LONG*8 + if (uintval >> (PyLong_SHIFT * 3)) { + unequal = (size != 4) || (digits[0] != (uintval & (unsigned long) PyLong_MASK)) + | (digits[1] != ((uintval >> (1 * PyLong_SHIFT)) & (unsigned long) PyLong_MASK)) | (digits[2] != ((uintval >> (2 * PyLong_SHIFT)) & (unsigned long) PyLong_MASK)) | (digits[3] != ((uintval >> (3 * PyLong_SHIFT)) & (unsigned long) PyLong_MASK)); + } else +#endif +#if PyLong_SHIFT * 2 < SIZEOF_LONG*8 + if (uintval >> (PyLong_SHIFT * 2)) { + unequal = (size != 3) || (digits[0] != (uintval & (unsigned long) PyLong_MASK)) + | (digits[1] != ((uintval >> (1 * PyLong_SHIFT)) & (unsigned long) PyLong_MASK)) | (digits[2] != ((uintval >> (2 * PyLong_SHIFT)) & (unsigned long) PyLong_MASK)); + } else +#endif +#if PyLong_SHIFT * 1 < SIZEOF_LONG*8 + if (uintval >> (PyLong_SHIFT * 1)) { + unequal = (size != 2) || (digits[0] != (uintval & (unsigned long) PyLong_MASK)) + | (digits[1] != ((uintval >> (1 * PyLong_SHIFT)) & (unsigned long) PyLong_MASK)); + } else +#endif + unequal = (size != 1) || (((unsigned long) digits[0]) != (uintval & (unsigned long) PyLong_MASK)); + return (unequal == 0); + } + #endif + if (PyFloat_CheckExact(op1)) { + const long b = intval; +#if CYTHON_COMPILING_IN_LIMITED_API + double a = __pyx_PyFloat_AsDouble(op1); +#else + double a = PyFloat_AS_DOUBLE(op1); +#endif + return ((double)a == (double)b); + } + return __Pyx_PyObject_IsTrueAndDecref( + PyObject_RichCompare(op1, op2, Py_EQ)); +} + +/* PyFloatBinop */ +#if !CYTHON_COMPILING_IN_PYPY +static PyObject* __Pyx_PyFloat_TrueDivideObjC(PyObject *op1, PyObject *op2, double floatval, int inplace, int zerodivision_check) { + const double b = floatval; + double a, result; + CYTHON_UNUSED_VAR(inplace); + CYTHON_UNUSED_VAR(zerodivision_check); + if (likely(PyFloat_CheckExact(op1))) { +#if CYTHON_COMPILING_IN_LIMITED_API + a = __pyx_PyFloat_AsDouble(op1); +#else + a = PyFloat_AS_DOUBLE(op1); +#endif + + } else + #if PY_MAJOR_VERSION < 3 + if (likely(PyInt_CheckExact(op1))) { + a = (double) PyInt_AS_LONG(op1); + + } else + #endif + if (likely(PyLong_CheckExact(op1))) { + #if CYTHON_USE_PYLONG_INTERNALS + if (__Pyx_PyLong_IsZero(op1)) { + a = 0.0; + + } else if (__Pyx_PyLong_IsCompact(op1)) { + a = (double) __Pyx_PyLong_CompactValue(op1); + } else { + const digit* digits = __Pyx_PyLong_Digits(op1); + const Py_ssize_t size = __Pyx_PyLong_SignedDigitCount(op1); + switch (size) { + case -2: + case 2: + if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT && ((8 * sizeof(unsigned long) < 53) || (1 * PyLong_SHIFT < 53))) { + a = (double) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + if ((8 * sizeof(unsigned long) < 53) || (2 * PyLong_SHIFT < 53) || (a < (double) ((PY_LONG_LONG)1 << 53))) { + if (size == -2) + a = -a; + break; + } + } + CYTHON_FALLTHROUGH; + case -3: + case 3: + if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT && ((8 * sizeof(unsigned long) < 53) || (2 * PyLong_SHIFT < 53))) { + a = (double) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + if ((8 * sizeof(unsigned long) < 53) || (3 * PyLong_SHIFT < 53) || (a < (double) ((PY_LONG_LONG)1 << 53))) { + if (size == -3) + a = -a; + break; + } + } + CYTHON_FALLTHROUGH; + case -4: + case 4: + if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT && ((8 * sizeof(unsigned long) < 53) || (3 * PyLong_SHIFT < 53))) { + a = (double) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + if ((8 * sizeof(unsigned long) < 53) || (4 * PyLong_SHIFT < 53) || (a < (double) ((PY_LONG_LONG)1 << 53))) { + if (size == -4) + a = -a; + break; + } + } + CYTHON_FALLTHROUGH; + default: + #endif + a = PyLong_AsDouble(op1); + if (unlikely(a == -1.0 && PyErr_Occurred())) return NULL; + #if CYTHON_USE_PYLONG_INTERNALS + } + } + #endif + } else { + return (inplace ? PyNumber_InPlaceTrueDivide : PyNumber_TrueDivide)(op1, op2); + } + PyFPE_START_PROTECT("divide", return NULL) + result = a / b; + PyFPE_END_PROTECT(result) + return PyFloat_FromDouble(result); +} +#endif + +/* SliceTupleAndList */ +#if CYTHON_COMPILING_IN_CPYTHON +static CYTHON_INLINE void __Pyx_crop_slice(Py_ssize_t* _start, Py_ssize_t* _stop, Py_ssize_t* _length) { + Py_ssize_t start = *_start, stop = *_stop, length = *_length; + if (start < 0) { + start += length; + if (start < 0) + start = 0; + } + if (stop < 0) + stop += length; + else if (stop > length) + stop = length; + *_length = stop - start; + *_start = start; + *_stop = stop; +} +static CYTHON_INLINE PyObject* __Pyx_PyList_GetSlice( + PyObject* src, Py_ssize_t start, Py_ssize_t stop) { + Py_ssize_t length = PyList_GET_SIZE(src); + __Pyx_crop_slice(&start, &stop, &length); + if (length <= 0) { + return PyList_New(0); + } + return __Pyx_PyList_FromArray(((PyListObject*)src)->ob_item + start, length); +} +static CYTHON_INLINE PyObject* __Pyx_PyTuple_GetSlice( + PyObject* src, Py_ssize_t start, Py_ssize_t stop) { + Py_ssize_t length = PyTuple_GET_SIZE(src); + __Pyx_crop_slice(&start, &stop, &length); + return __Pyx_PyTuple_FromArray(((PyTupleObject*)src)->ob_item + start, length); +} +#endif + +/* IterFinish */ +static CYTHON_INLINE int __Pyx_IterFinish(void) { + PyObject* exc_type; + __Pyx_PyThreadState_declare + __Pyx_PyThreadState_assign + exc_type = __Pyx_PyErr_CurrentExceptionType(); + if (unlikely(exc_type)) { + if (unlikely(!__Pyx_PyErr_GivenExceptionMatches(exc_type, PyExc_StopIteration))) + return -1; + __Pyx_PyErr_Clear(); + return 0; + } + return 0; +} + +/* UnpackItemEndCheck */ +static int __Pyx_IternextUnpackEndCheck(PyObject *retval, Py_ssize_t expected) { + if (unlikely(retval)) { + Py_DECREF(retval); + __Pyx_RaiseTooManyValuesError(expected); + return -1; + } + return __Pyx_IterFinish(); +} + +/* PyFloatBinop */ +#if !CYTHON_COMPILING_IN_PYPY +static PyObject* __Pyx_PyFloat_TrueDivideCObj(PyObject *op1, PyObject *op2, double floatval, int inplace, int zerodivision_check) { + const double a = floatval; + double b, result; + CYTHON_UNUSED_VAR(inplace); + CYTHON_UNUSED_VAR(zerodivision_check); + if (likely(PyFloat_CheckExact(op2))) { +#if CYTHON_COMPILING_IN_LIMITED_API + b = __pyx_PyFloat_AsDouble(op2); +#else + b = PyFloat_AS_DOUBLE(op2); +#endif + if (unlikely(zerodivision_check && ((b) == 0.0))) { PyErr_SetString(PyExc_ZeroDivisionError, "float division by zero"); return NULL;} + } else + #if PY_MAJOR_VERSION < 3 + if (likely(PyInt_CheckExact(op2))) { + b = (double) PyInt_AS_LONG(op2); + if (unlikely(zerodivision_check && ((b) == 0.0))) { PyErr_SetString(PyExc_ZeroDivisionError, "float division by zero"); return NULL;} + } else + #endif + if (likely(PyLong_CheckExact(op2))) { + #if CYTHON_USE_PYLONG_INTERNALS + if (__Pyx_PyLong_IsZero(op2)) { + b = 0.0; + if (unlikely(zerodivision_check && ((b) == 0.0))) { PyErr_SetString(PyExc_ZeroDivisionError, "float division by zero"); return NULL;} + } else if (__Pyx_PyLong_IsCompact(op2)) { + b = (double) __Pyx_PyLong_CompactValue(op2); + } else { + const digit* digits = __Pyx_PyLong_Digits(op2); + const Py_ssize_t size = __Pyx_PyLong_SignedDigitCount(op2); + switch (size) { + case -2: + case 2: + if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT && ((8 * sizeof(unsigned long) < 53) || (1 * PyLong_SHIFT < 53))) { + b = (double) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + if ((8 * sizeof(unsigned long) < 53) || (2 * PyLong_SHIFT < 53) || (b < (double) ((PY_LONG_LONG)1 << 53))) { + if (size == -2) + b = -b; + break; + } + } + CYTHON_FALLTHROUGH; + case -3: + case 3: + if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT && ((8 * sizeof(unsigned long) < 53) || (2 * PyLong_SHIFT < 53))) { + b = (double) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + if ((8 * sizeof(unsigned long) < 53) || (3 * PyLong_SHIFT < 53) || (b < (double) ((PY_LONG_LONG)1 << 53))) { + if (size == -3) + b = -b; + break; + } + } + CYTHON_FALLTHROUGH; + case -4: + case 4: + if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT && ((8 * sizeof(unsigned long) < 53) || (3 * PyLong_SHIFT < 53))) { + b = (double) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + if ((8 * sizeof(unsigned long) < 53) || (4 * PyLong_SHIFT < 53) || (b < (double) ((PY_LONG_LONG)1 << 53))) { + if (size == -4) + b = -b; + break; + } + } + CYTHON_FALLTHROUGH; + default: + #endif + b = PyLong_AsDouble(op2); + if (unlikely(b == -1.0 && PyErr_Occurred())) return NULL; + #if !CYTHON_USE_PYLONG_INTERNALS + if (unlikely(zerodivision_check && ((b) == 0.0))) { PyErr_SetString(PyExc_ZeroDivisionError, "float division by zero"); return NULL;} + #endif + #if CYTHON_USE_PYLONG_INTERNALS + } + } + #endif + } else { + return (inplace ? PyNumber_InPlaceTrueDivide : PyNumber_TrueDivide)(op1, op2); + } + PyFPE_START_PROTECT("divide", return NULL) + result = a / b; + PyFPE_END_PROTECT(result) + return PyFloat_FromDouble(result); +} +#endif + +/* PyIntCompare */ +static CYTHON_INLINE int __Pyx_PyInt_BoolNeObjC(PyObject *op1, PyObject *op2, long intval, long inplace) { + CYTHON_MAYBE_UNUSED_VAR(intval); + CYTHON_UNUSED_VAR(inplace); + if (op1 == op2) { + return 0; + } + #if PY_MAJOR_VERSION < 3 + if (likely(PyInt_CheckExact(op1))) { + const long b = intval; + long a = PyInt_AS_LONG(op1); + return (a != b); + } + #endif + #if CYTHON_USE_PYLONG_INTERNALS + if (likely(PyLong_CheckExact(op1))) { + int unequal; + unsigned long uintval; + Py_ssize_t size = __Pyx_PyLong_DigitCount(op1); + const digit* digits = __Pyx_PyLong_Digits(op1); + if (intval == 0) { + return (__Pyx_PyLong_IsZero(op1) != 1); + } else if (intval < 0) { + if (__Pyx_PyLong_IsNonNeg(op1)) + return 1; + intval = -intval; + } else { + if (__Pyx_PyLong_IsNeg(op1)) + return 1; + } + uintval = (unsigned long) intval; +#if PyLong_SHIFT * 4 < SIZEOF_LONG*8 + if (uintval >> (PyLong_SHIFT * 4)) { + unequal = (size != 5) || (digits[0] != (uintval & (unsigned long) PyLong_MASK)) + | (digits[1] != ((uintval >> (1 * PyLong_SHIFT)) & (unsigned long) PyLong_MASK)) | (digits[2] != ((uintval >> (2 * PyLong_SHIFT)) & (unsigned long) PyLong_MASK)) | (digits[3] != ((uintval >> (3 * PyLong_SHIFT)) & (unsigned long) PyLong_MASK)) | (digits[4] != ((uintval >> (4 * PyLong_SHIFT)) & (unsigned long) PyLong_MASK)); + } else +#endif +#if PyLong_SHIFT * 3 < SIZEOF_LONG*8 + if (uintval >> (PyLong_SHIFT * 3)) { + unequal = (size != 4) || (digits[0] != (uintval & (unsigned long) PyLong_MASK)) + | (digits[1] != ((uintval >> (1 * PyLong_SHIFT)) & (unsigned long) PyLong_MASK)) | (digits[2] != ((uintval >> (2 * PyLong_SHIFT)) & (unsigned long) PyLong_MASK)) | (digits[3] != ((uintval >> (3 * PyLong_SHIFT)) & (unsigned long) PyLong_MASK)); + } else +#endif +#if PyLong_SHIFT * 2 < SIZEOF_LONG*8 + if (uintval >> (PyLong_SHIFT * 2)) { + unequal = (size != 3) || (digits[0] != (uintval & (unsigned long) PyLong_MASK)) + | (digits[1] != ((uintval >> (1 * PyLong_SHIFT)) & (unsigned long) PyLong_MASK)) | (digits[2] != ((uintval >> (2 * PyLong_SHIFT)) & (unsigned long) PyLong_MASK)); + } else +#endif +#if PyLong_SHIFT * 1 < SIZEOF_LONG*8 + if (uintval >> (PyLong_SHIFT * 1)) { + unequal = (size != 2) || (digits[0] != (uintval & (unsigned long) PyLong_MASK)) + | (digits[1] != ((uintval >> (1 * PyLong_SHIFT)) & (unsigned long) PyLong_MASK)); + } else +#endif + unequal = (size != 1) || (((unsigned long) digits[0]) != (uintval & (unsigned long) PyLong_MASK)); + return (unequal != 0); + } + #endif + if (PyFloat_CheckExact(op1)) { + const long b = intval; +#if CYTHON_COMPILING_IN_LIMITED_API + double a = __pyx_PyFloat_AsDouble(op1); +#else + double a = PyFloat_AS_DOUBLE(op1); +#endif + return ((double)a != (double)b); + } + return __Pyx_PyObject_IsTrueAndDecref( + PyObject_RichCompare(op1, op2, Py_NE)); +} + +/* PyObjectSetAttrStr */ +#if CYTHON_USE_TYPE_SLOTS +static CYTHON_INLINE int __Pyx_PyObject_SetAttrStr(PyObject* obj, PyObject* attr_name, PyObject* value) { + PyTypeObject* tp = Py_TYPE(obj); + if (likely(tp->tp_setattro)) + return tp->tp_setattro(obj, attr_name, value); +#if PY_MAJOR_VERSION < 3 + if (likely(tp->tp_setattr)) + return tp->tp_setattr(obj, PyString_AS_STRING(attr_name), value); +#endif + return PyObject_SetAttr(obj, attr_name, value); +} +#endif + +/* PyFloatBinop */ +#if !CYTHON_COMPILING_IN_PYPY +static PyObject* __Pyx_PyFloat_SubtractObjC(PyObject *op1, PyObject *op2, double floatval, int inplace, int zerodivision_check) { + const double b = floatval; + double a, result; + CYTHON_UNUSED_VAR(inplace); + CYTHON_UNUSED_VAR(zerodivision_check); + if (likely(PyFloat_CheckExact(op1))) { +#if CYTHON_COMPILING_IN_LIMITED_API + a = __pyx_PyFloat_AsDouble(op1); +#else + a = PyFloat_AS_DOUBLE(op1); +#endif + + } else + #if PY_MAJOR_VERSION < 3 + if (likely(PyInt_CheckExact(op1))) { + a = (double) PyInt_AS_LONG(op1); + + } else + #endif + if (likely(PyLong_CheckExact(op1))) { + #if CYTHON_USE_PYLONG_INTERNALS + if (__Pyx_PyLong_IsZero(op1)) { + a = 0.0; + + } else if (__Pyx_PyLong_IsCompact(op1)) { + a = (double) __Pyx_PyLong_CompactValue(op1); + } else { + const digit* digits = __Pyx_PyLong_Digits(op1); + const Py_ssize_t size = __Pyx_PyLong_SignedDigitCount(op1); + switch (size) { + case -2: + case 2: + if (8 * sizeof(unsigned long) > 2 * PyLong_SHIFT && ((8 * sizeof(unsigned long) < 53) || (1 * PyLong_SHIFT < 53))) { + a = (double) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + if ((8 * sizeof(unsigned long) < 53) || (2 * PyLong_SHIFT < 53) || (a < (double) ((PY_LONG_LONG)1 << 53))) { + if (size == -2) + a = -a; + break; + } + } + CYTHON_FALLTHROUGH; + case -3: + case 3: + if (8 * sizeof(unsigned long) > 3 * PyLong_SHIFT && ((8 * sizeof(unsigned long) < 53) || (2 * PyLong_SHIFT < 53))) { + a = (double) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + if ((8 * sizeof(unsigned long) < 53) || (3 * PyLong_SHIFT < 53) || (a < (double) ((PY_LONG_LONG)1 << 53))) { + if (size == -3) + a = -a; + break; + } + } + CYTHON_FALLTHROUGH; + case -4: + case 4: + if (8 * sizeof(unsigned long) > 4 * PyLong_SHIFT && ((8 * sizeof(unsigned long) < 53) || (3 * PyLong_SHIFT < 53))) { + a = (double) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0])); + if ((8 * sizeof(unsigned long) < 53) || (4 * PyLong_SHIFT < 53) || (a < (double) ((PY_LONG_LONG)1 << 53))) { + if (size == -4) + a = -a; + break; + } + } + CYTHON_FALLTHROUGH; + default: + #endif + a = PyLong_AsDouble(op1); + if (unlikely(a == -1.0 && PyErr_Occurred())) return NULL; + #if CYTHON_USE_PYLONG_INTERNALS + } + } + #endif + } else { + return (inplace ? PyNumber_InPlaceSubtract : PyNumber_Subtract)(op1, op2); + } + PyFPE_START_PROTECT("subtract", return NULL) + result = a - b; + PyFPE_END_PROTECT(result) + return PyFloat_FromDouble(result); +} +#endif + +/* SliceObject */ +static CYTHON_INLINE PyObject* __Pyx_PyObject_GetSlice(PyObject* obj, + Py_ssize_t cstart, Py_ssize_t cstop, + PyObject** _py_start, PyObject** _py_stop, PyObject** _py_slice, + int has_cstart, int has_cstop, int wraparound) { + __Pyx_TypeName obj_type_name; +#if CYTHON_USE_TYPE_SLOTS + PyMappingMethods* mp; +#if PY_MAJOR_VERSION < 3 + PySequenceMethods* ms = Py_TYPE(obj)->tp_as_sequence; + if (likely(ms && ms->sq_slice)) { + if (!has_cstart) { + if (_py_start && (*_py_start != Py_None)) { + cstart = __Pyx_PyIndex_AsSsize_t(*_py_start); + if ((cstart == (Py_ssize_t)-1) && PyErr_Occurred()) goto bad; + } else + cstart = 0; + } + if (!has_cstop) { + if (_py_stop && (*_py_stop != Py_None)) { + cstop = __Pyx_PyIndex_AsSsize_t(*_py_stop); + if ((cstop == (Py_ssize_t)-1) && PyErr_Occurred()) goto bad; + } else + cstop = PY_SSIZE_T_MAX; + } + if (wraparound && unlikely((cstart < 0) | (cstop < 0)) && likely(ms->sq_length)) { + Py_ssize_t l = ms->sq_length(obj); + if (likely(l >= 0)) { + if (cstop < 0) { + cstop += l; + if (cstop < 0) cstop = 0; + } + if (cstart < 0) { + cstart += l; + if (cstart < 0) cstart = 0; + } + } else { + if (!PyErr_ExceptionMatches(PyExc_OverflowError)) + goto bad; + PyErr_Clear(); + } + } + return ms->sq_slice(obj, cstart, cstop); + } +#else + CYTHON_UNUSED_VAR(wraparound); +#endif + mp = Py_TYPE(obj)->tp_as_mapping; + if (likely(mp && mp->mp_subscript)) +#else + CYTHON_UNUSED_VAR(wraparound); +#endif + { + PyObject* result; + PyObject *py_slice, *py_start, *py_stop; + if (_py_slice) { + py_slice = *_py_slice; + } else { + PyObject* owned_start = NULL; + PyObject* owned_stop = NULL; + if (_py_start) { + py_start = *_py_start; + } else { + if (has_cstart) { + owned_start = py_start = PyInt_FromSsize_t(cstart); + if (unlikely(!py_start)) goto bad; + } else + py_start = Py_None; + } + if (_py_stop) { + py_stop = *_py_stop; + } else { + if (has_cstop) { + owned_stop = py_stop = PyInt_FromSsize_t(cstop); + if (unlikely(!py_stop)) { + Py_XDECREF(owned_start); + goto bad; + } + } else + py_stop = Py_None; + } + py_slice = PySlice_New(py_start, py_stop, Py_None); + Py_XDECREF(owned_start); + Py_XDECREF(owned_stop); + if (unlikely(!py_slice)) goto bad; + } +#if CYTHON_USE_TYPE_SLOTS + result = mp->mp_subscript(obj, py_slice); +#else + result = PyObject_GetItem(obj, py_slice); +#endif + if (!_py_slice) { + Py_DECREF(py_slice); + } + return result; + } + obj_type_name = __Pyx_PyType_GetName(Py_TYPE(obj)); + PyErr_Format(PyExc_TypeError, + "'" __Pyx_FMT_TYPENAME "' object is unsliceable", obj_type_name); + __Pyx_DECREF_TypeName(obj_type_name); +bad: + return NULL; +} + +/* PyObject_GenericGetAttrNoDict */ +#if CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP && PY_VERSION_HEX < 0x03070000 +static PyObject *__Pyx_RaiseGenericGetAttributeError(PyTypeObject *tp, PyObject *attr_name) { + __Pyx_TypeName type_name = __Pyx_PyType_GetName(tp); + PyErr_Format(PyExc_AttributeError, +#if PY_MAJOR_VERSION >= 3 + "'" __Pyx_FMT_TYPENAME "' object has no attribute '%U'", + type_name, attr_name); +#else + "'" __Pyx_FMT_TYPENAME "' object has no attribute '%.400s'", + type_name, PyString_AS_STRING(attr_name)); +#endif + __Pyx_DECREF_TypeName(type_name); + return NULL; +} +static CYTHON_INLINE PyObject* __Pyx_PyObject_GenericGetAttrNoDict(PyObject* obj, PyObject* attr_name) { + PyObject *descr; + PyTypeObject *tp = Py_TYPE(obj); + if (unlikely(!PyString_Check(attr_name))) { + return PyObject_GenericGetAttr(obj, attr_name); + } + assert(!tp->tp_dictoffset); + descr = _PyType_Lookup(tp, attr_name); + if (unlikely(!descr)) { + return __Pyx_RaiseGenericGetAttributeError(tp, attr_name); + } + Py_INCREF(descr); + #if PY_MAJOR_VERSION < 3 + if (likely(PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_HAVE_CLASS))) + #endif + { + descrgetfunc f = Py_TYPE(descr)->tp_descr_get; + if (unlikely(f)) { + PyObject *res = f(descr, obj, (PyObject *)tp); + Py_DECREF(descr); + return res; + } + } + return descr; +} +#endif + +/* PyObject_GenericGetAttr */ +#if CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP && PY_VERSION_HEX < 0x03070000 +static PyObject* __Pyx_PyObject_GenericGetAttr(PyObject* obj, PyObject* attr_name) { + if (unlikely(Py_TYPE(obj)->tp_dictoffset)) { + return PyObject_GenericGetAttr(obj, attr_name); + } + return __Pyx_PyObject_GenericGetAttrNoDict(obj, attr_name); +} +#endif + +/* FixUpExtensionType */ +#if CYTHON_USE_TYPE_SPECS +static int __Pyx_fix_up_extension_type_from_spec(PyType_Spec *spec, PyTypeObject *type) { +#if PY_VERSION_HEX > 0x030900B1 || CYTHON_COMPILING_IN_LIMITED_API + CYTHON_UNUSED_VAR(spec); + CYTHON_UNUSED_VAR(type); +#else + const PyType_Slot *slot = spec->slots; + while (slot && slot->slot && slot->slot != Py_tp_members) + slot++; + if (slot && slot->slot == Py_tp_members) { + int changed = 0; +#if !(PY_VERSION_HEX <= 0x030900b1 && CYTHON_COMPILING_IN_CPYTHON) + const +#endif + PyMemberDef *memb = (PyMemberDef*) slot->pfunc; + while (memb && memb->name) { + if (memb->name[0] == '_' && memb->name[1] == '_') { +#if PY_VERSION_HEX < 0x030900b1 + if (strcmp(memb->name, "__weaklistoffset__") == 0) { + assert(memb->type == T_PYSSIZET); + assert(memb->flags == READONLY); + type->tp_weaklistoffset = memb->offset; + changed = 1; + } + else if (strcmp(memb->name, "__dictoffset__") == 0) { + assert(memb->type == T_PYSSIZET); + assert(memb->flags == READONLY); + type->tp_dictoffset = memb->offset; + changed = 1; + } +#if CYTHON_METH_FASTCALL + else if (strcmp(memb->name, "__vectorcalloffset__") == 0) { + assert(memb->type == T_PYSSIZET); + assert(memb->flags == READONLY); +#if PY_VERSION_HEX >= 0x030800b4 + type->tp_vectorcall_offset = memb->offset; +#else + type->tp_print = (printfunc) memb->offset; +#endif + changed = 1; + } +#endif +#else + if ((0)); +#endif +#if PY_VERSION_HEX <= 0x030900b1 && CYTHON_COMPILING_IN_CPYTHON + else if (strcmp(memb->name, "__module__") == 0) { + PyObject *descr; + assert(memb->type == T_OBJECT); + assert(memb->flags == 0 || memb->flags == READONLY); + descr = PyDescr_NewMember(type, memb); + if (unlikely(!descr)) + return -1; + if (unlikely(PyDict_SetItem(type->tp_dict, PyDescr_NAME(descr), descr) < 0)) { + Py_DECREF(descr); + return -1; + } + Py_DECREF(descr); + changed = 1; + } +#endif + } + memb++; + } + if (changed) + PyType_Modified(type); + } +#endif + return 0; +} +#endif + +/* PyObjectCallNoArg */ +static CYTHON_INLINE PyObject* __Pyx_PyObject_CallNoArg(PyObject *func) { + PyObject *arg[2] = {NULL, NULL}; + return __Pyx_PyObject_FastCall(func, arg + 1, 0 | __Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET); +} + +/* PyObjectGetMethod */ +static int __Pyx_PyObject_GetMethod(PyObject *obj, PyObject *name, PyObject **method) { + PyObject *attr; +#if CYTHON_UNPACK_METHODS && CYTHON_COMPILING_IN_CPYTHON && CYTHON_USE_PYTYPE_LOOKUP + __Pyx_TypeName type_name; + PyTypeObject *tp = Py_TYPE(obj); + PyObject *descr; + descrgetfunc f = NULL; + PyObject **dictptr, *dict; + int meth_found = 0; + assert (*method == NULL); + if (unlikely(tp->tp_getattro != PyObject_GenericGetAttr)) { + attr = __Pyx_PyObject_GetAttrStr(obj, name); + goto try_unpack; + } + if (unlikely(tp->tp_dict == NULL) && unlikely(PyType_Ready(tp) < 0)) { + return 0; + } + descr = _PyType_Lookup(tp, name); + if (likely(descr != NULL)) { + Py_INCREF(descr); +#if defined(Py_TPFLAGS_METHOD_DESCRIPTOR) && Py_TPFLAGS_METHOD_DESCRIPTOR + if (__Pyx_PyType_HasFeature(Py_TYPE(descr), Py_TPFLAGS_METHOD_DESCRIPTOR)) +#elif PY_MAJOR_VERSION >= 3 + #ifdef __Pyx_CyFunction_USED + if (likely(PyFunction_Check(descr) || __Pyx_IS_TYPE(descr, &PyMethodDescr_Type) || __Pyx_CyFunction_Check(descr))) + #else + if (likely(PyFunction_Check(descr) || __Pyx_IS_TYPE(descr, &PyMethodDescr_Type))) + #endif +#else + #ifdef __Pyx_CyFunction_USED + if (likely(PyFunction_Check(descr) || __Pyx_CyFunction_Check(descr))) + #else + if (likely(PyFunction_Check(descr))) + #endif +#endif + { + meth_found = 1; + } else { + f = Py_TYPE(descr)->tp_descr_get; + if (f != NULL && PyDescr_IsData(descr)) { + attr = f(descr, obj, (PyObject *)Py_TYPE(obj)); + Py_DECREF(descr); + goto try_unpack; + } + } + } + dictptr = _PyObject_GetDictPtr(obj); + if (dictptr != NULL && (dict = *dictptr) != NULL) { + Py_INCREF(dict); + attr = __Pyx_PyDict_GetItemStr(dict, name); + if (attr != NULL) { + Py_INCREF(attr); + Py_DECREF(dict); + Py_XDECREF(descr); + goto try_unpack; + } + Py_DECREF(dict); + } + if (meth_found) { + *method = descr; + return 1; + } + if (f != NULL) { + attr = f(descr, obj, (PyObject *)Py_TYPE(obj)); + Py_DECREF(descr); + goto try_unpack; + } + if (likely(descr != NULL)) { + *method = descr; + return 0; + } + type_name = __Pyx_PyType_GetName(tp); + PyErr_Format(PyExc_AttributeError, +#if PY_MAJOR_VERSION >= 3 + "'" __Pyx_FMT_TYPENAME "' object has no attribute '%U'", + type_name, name); +#else + "'" __Pyx_FMT_TYPENAME "' object has no attribute '%.400s'", + type_name, PyString_AS_STRING(name)); +#endif + __Pyx_DECREF_TypeName(type_name); + return 0; +#else + attr = __Pyx_PyObject_GetAttrStr(obj, name); + goto try_unpack; +#endif +try_unpack: +#if CYTHON_UNPACK_METHODS + if (likely(attr) && PyMethod_Check(attr) && likely(PyMethod_GET_SELF(attr) == obj)) { + PyObject *function = PyMethod_GET_FUNCTION(attr); + Py_INCREF(function); + Py_DECREF(attr); + *method = function; + return 1; + } +#endif + *method = attr; + return 0; +} + +/* PyObjectCallMethod0 */ +static PyObject* __Pyx_PyObject_CallMethod0(PyObject* obj, PyObject* method_name) { + PyObject *method = NULL, *result = NULL; + int is_method = __Pyx_PyObject_GetMethod(obj, method_name, &method); + if (likely(is_method)) { + result = __Pyx_PyObject_CallOneArg(method, obj); + Py_DECREF(method); + return result; + } + if (unlikely(!method)) goto bad; + result = __Pyx_PyObject_CallNoArg(method); + Py_DECREF(method); +bad: + return result; +} + +/* ValidateBasesTuple */ +#if CYTHON_COMPILING_IN_CPYTHON || CYTHON_COMPILING_IN_LIMITED_API || CYTHON_USE_TYPE_SPECS +static int __Pyx_validate_bases_tuple(const char *type_name, Py_ssize_t dictoffset, PyObject *bases) { + Py_ssize_t i, n; +#if CYTHON_ASSUME_SAFE_MACROS + n = PyTuple_GET_SIZE(bases); +#else + n = PyTuple_Size(bases); + if (n < 0) return -1; +#endif + for (i = 1; i < n; i++) + { +#if CYTHON_AVOID_BORROWED_REFS + PyObject *b0 = PySequence_GetItem(bases, i); + if (!b0) return -1; +#elif CYTHON_ASSUME_SAFE_MACROS + PyObject *b0 = PyTuple_GET_ITEM(bases, i); +#else + PyObject *b0 = PyTuple_GetItem(bases, i); + if (!b0) return -1; +#endif + PyTypeObject *b; +#if PY_MAJOR_VERSION < 3 + if (PyClass_Check(b0)) + { + PyErr_Format(PyExc_TypeError, "base class '%.200s' is an old-style class", + PyString_AS_STRING(((PyClassObject*)b0)->cl_name)); +#if CYTHON_AVOID_BORROWED_REFS + Py_DECREF(b0); +#endif + return -1; + } +#endif + b = (PyTypeObject*) b0; + if (!__Pyx_PyType_HasFeature(b, Py_TPFLAGS_HEAPTYPE)) + { + __Pyx_TypeName b_name = __Pyx_PyType_GetName(b); + PyErr_Format(PyExc_TypeError, + "base class '" __Pyx_FMT_TYPENAME "' is not a heap type", b_name); + __Pyx_DECREF_TypeName(b_name); +#if CYTHON_AVOID_BORROWED_REFS + Py_DECREF(b0); +#endif + return -1; + } + if (dictoffset == 0) + { + Py_ssize_t b_dictoffset = 0; +#if CYTHON_USE_TYPE_SLOTS || CYTHON_COMPILING_IN_PYPY + b_dictoffset = b->tp_dictoffset; +#else + PyObject *py_b_dictoffset = PyObject_GetAttrString((PyObject*)b, "__dictoffset__"); + if (!py_b_dictoffset) goto dictoffset_return; + b_dictoffset = PyLong_AsSsize_t(py_b_dictoffset); + Py_DECREF(py_b_dictoffset); + if (b_dictoffset == -1 && PyErr_Occurred()) goto dictoffset_return; +#endif + if (b_dictoffset) { + { + __Pyx_TypeName b_name = __Pyx_PyType_GetName(b); + PyErr_Format(PyExc_TypeError, + "extension type '%.200s' has no __dict__ slot, " + "but base type '" __Pyx_FMT_TYPENAME "' has: " + "either add 'cdef dict __dict__' to the extension type " + "or add '__slots__ = [...]' to the base type", + type_name, b_name); + __Pyx_DECREF_TypeName(b_name); + } +#if !(CYTHON_USE_TYPE_SLOTS || CYTHON_COMPILING_IN_PYPY) + dictoffset_return: +#endif +#if CYTHON_AVOID_BORROWED_REFS + Py_DECREF(b0); +#endif + return -1; + } + } +#if CYTHON_AVOID_BORROWED_REFS + Py_DECREF(b0); +#endif + } + return 0; +} +#endif + +/* PyType_Ready */ +static int __Pyx_PyType_Ready(PyTypeObject *t) { +#if CYTHON_USE_TYPE_SPECS || !(CYTHON_COMPILING_IN_CPYTHON || CYTHON_COMPILING_IN_LIMITED_API) || defined(PYSTON_MAJOR_VERSION) + (void)__Pyx_PyObject_CallMethod0; +#if CYTHON_USE_TYPE_SPECS + (void)__Pyx_validate_bases_tuple; +#endif + return PyType_Ready(t); +#else + int r; + PyObject *bases = __Pyx_PyType_GetSlot(t, tp_bases, PyObject*); + if (bases && unlikely(__Pyx_validate_bases_tuple(t->tp_name, t->tp_dictoffset, bases) == -1)) + return -1; +#if PY_VERSION_HEX >= 0x03050000 && !defined(PYSTON_MAJOR_VERSION) + { + int gc_was_enabled; + #if PY_VERSION_HEX >= 0x030A00b1 + gc_was_enabled = PyGC_Disable(); + (void)__Pyx_PyObject_CallMethod0; + #else + PyObject *ret, *py_status; + PyObject *gc = NULL; + #if PY_VERSION_HEX >= 0x030700a1 && (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM+0 >= 0x07030400) + gc = PyImport_GetModule(__pyx_kp_u_gc); + #endif + if (unlikely(!gc)) gc = PyImport_Import(__pyx_kp_u_gc); + if (unlikely(!gc)) return -1; + py_status = __Pyx_PyObject_CallMethod0(gc, __pyx_kp_u_isenabled); + if (unlikely(!py_status)) { + Py_DECREF(gc); + return -1; + } + gc_was_enabled = __Pyx_PyObject_IsTrue(py_status); + Py_DECREF(py_status); + if (gc_was_enabled > 0) { + ret = __Pyx_PyObject_CallMethod0(gc, __pyx_kp_u_disable); + if (unlikely(!ret)) { + Py_DECREF(gc); + return -1; + } + Py_DECREF(ret); + } else if (unlikely(gc_was_enabled == -1)) { + Py_DECREF(gc); + return -1; + } + #endif + t->tp_flags |= Py_TPFLAGS_HEAPTYPE; +#if PY_VERSION_HEX >= 0x030A0000 + t->tp_flags |= Py_TPFLAGS_IMMUTABLETYPE; +#endif +#else + (void)__Pyx_PyObject_CallMethod0; +#endif + r = PyType_Ready(t); +#if PY_VERSION_HEX >= 0x03050000 && !defined(PYSTON_MAJOR_VERSION) + t->tp_flags &= ~Py_TPFLAGS_HEAPTYPE; + #if PY_VERSION_HEX >= 0x030A00b1 + if (gc_was_enabled) + PyGC_Enable(); + #else + if (gc_was_enabled) { + PyObject *tp, *v, *tb; + PyErr_Fetch(&tp, &v, &tb); + ret = __Pyx_PyObject_CallMethod0(gc, __pyx_kp_u_enable); + if (likely(ret || r == -1)) { + Py_XDECREF(ret); + PyErr_Restore(tp, v, tb); + } else { + Py_XDECREF(tp); + Py_XDECREF(v); + Py_XDECREF(tb); + r = -1; + } + } + Py_DECREF(gc); + #endif + } +#endif + return r; +#endif +} + +/* SetVTable */ +static int __Pyx_SetVtable(PyTypeObject *type, void *vtable) { + PyObject *ob = PyCapsule_New(vtable, 0, 0); + if (unlikely(!ob)) + goto bad; +#if CYTHON_COMPILING_IN_LIMITED_API + if (unlikely(PyObject_SetAttr((PyObject *) type, __pyx_n_s_pyx_vtable, ob) < 0)) +#else + if (unlikely(PyDict_SetItem(type->tp_dict, __pyx_n_s_pyx_vtable, ob) < 0)) +#endif + goto bad; + Py_DECREF(ob); + return 0; +bad: + Py_XDECREF(ob); + return -1; +} + +/* GetVTable */ +static void* __Pyx_GetVtable(PyTypeObject *type) { + void* ptr; +#if CYTHON_COMPILING_IN_LIMITED_API + PyObject *ob = PyObject_GetAttr((PyObject *)type, __pyx_n_s_pyx_vtable); +#else + PyObject *ob = PyObject_GetItem(type->tp_dict, __pyx_n_s_pyx_vtable); +#endif + if (!ob) + goto bad; + ptr = PyCapsule_GetPointer(ob, 0); + if (!ptr && !PyErr_Occurred()) + PyErr_SetString(PyExc_RuntimeError, "invalid vtable found for imported type"); + Py_DECREF(ob); + return ptr; +bad: + Py_XDECREF(ob); + return NULL; +} + +/* MergeVTables */ +#if !CYTHON_COMPILING_IN_LIMITED_API +static int __Pyx_MergeVtables(PyTypeObject *type) { + int i; + void** base_vtables; + __Pyx_TypeName tp_base_name; + __Pyx_TypeName base_name; + void* unknown = (void*)-1; + PyObject* bases = type->tp_bases; + int base_depth = 0; + { + PyTypeObject* base = type->tp_base; + while (base) { + base_depth += 1; + base = base->tp_base; + } + } + base_vtables = (void**) malloc(sizeof(void*) * (size_t)(base_depth + 1)); + base_vtables[0] = unknown; + for (i = 1; i < PyTuple_GET_SIZE(bases); i++) { + void* base_vtable = __Pyx_GetVtable(((PyTypeObject*)PyTuple_GET_ITEM(bases, i))); + if (base_vtable != NULL) { + int j; + PyTypeObject* base = type->tp_base; + for (j = 0; j < base_depth; j++) { + if (base_vtables[j] == unknown) { + base_vtables[j] = __Pyx_GetVtable(base); + base_vtables[j + 1] = unknown; + } + if (base_vtables[j] == base_vtable) { + break; + } else if (base_vtables[j] == NULL) { + goto bad; + } + base = base->tp_base; + } + } + } + PyErr_Clear(); + free(base_vtables); + return 0; +bad: + tp_base_name = __Pyx_PyType_GetName(type->tp_base); + base_name = __Pyx_PyType_GetName((PyTypeObject*)PyTuple_GET_ITEM(bases, i)); + PyErr_Format(PyExc_TypeError, + "multiple bases have vtable conflict: '" __Pyx_FMT_TYPENAME "' and '" __Pyx_FMT_TYPENAME "'", tp_base_name, base_name); + __Pyx_DECREF_TypeName(tp_base_name); + __Pyx_DECREF_TypeName(base_name); + free(base_vtables); + return -1; +} +#endif + +/* SetupReduce */ +#if !CYTHON_COMPILING_IN_LIMITED_API +static int __Pyx_setup_reduce_is_named(PyObject* meth, PyObject* name) { + int ret; + PyObject *name_attr; + name_attr = __Pyx_PyObject_GetAttrStrNoError(meth, __pyx_n_s_name_2); + if (likely(name_attr)) { + ret = PyObject_RichCompareBool(name_attr, name, Py_EQ); + } else { + ret = -1; + } + if (unlikely(ret < 0)) { + PyErr_Clear(); + ret = 0; + } + Py_XDECREF(name_attr); + return ret; +} +static int __Pyx_setup_reduce(PyObject* type_obj) { + int ret = 0; + PyObject *object_reduce = NULL; + PyObject *object_getstate = NULL; + PyObject *object_reduce_ex = NULL; + PyObject *reduce = NULL; + PyObject *reduce_ex = NULL; + PyObject *reduce_cython = NULL; + PyObject *setstate = NULL; + PyObject *setstate_cython = NULL; + PyObject *getstate = NULL; +#if CYTHON_USE_PYTYPE_LOOKUP + getstate = _PyType_Lookup((PyTypeObject*)type_obj, __pyx_n_s_getstate); +#else + getstate = __Pyx_PyObject_GetAttrStrNoError(type_obj, __pyx_n_s_getstate); + if (!getstate && PyErr_Occurred()) { + goto __PYX_BAD; + } +#endif + if (getstate) { +#if CYTHON_USE_PYTYPE_LOOKUP + object_getstate = _PyType_Lookup(&PyBaseObject_Type, __pyx_n_s_getstate); +#else + object_getstate = __Pyx_PyObject_GetAttrStrNoError((PyObject*)&PyBaseObject_Type, __pyx_n_s_getstate); + if (!object_getstate && PyErr_Occurred()) { + goto __PYX_BAD; + } +#endif + if (object_getstate != getstate) { + goto __PYX_GOOD; + } + } +#if CYTHON_USE_PYTYPE_LOOKUP + object_reduce_ex = _PyType_Lookup(&PyBaseObject_Type, __pyx_n_s_reduce_ex); if (!object_reduce_ex) goto __PYX_BAD; +#else + object_reduce_ex = __Pyx_PyObject_GetAttrStr((PyObject*)&PyBaseObject_Type, __pyx_n_s_reduce_ex); if (!object_reduce_ex) goto __PYX_BAD; +#endif + reduce_ex = __Pyx_PyObject_GetAttrStr(type_obj, __pyx_n_s_reduce_ex); if (unlikely(!reduce_ex)) goto __PYX_BAD; + if (reduce_ex == object_reduce_ex) { +#if CYTHON_USE_PYTYPE_LOOKUP + object_reduce = _PyType_Lookup(&PyBaseObject_Type, __pyx_n_s_reduce); if (!object_reduce) goto __PYX_BAD; +#else + object_reduce = __Pyx_PyObject_GetAttrStr((PyObject*)&PyBaseObject_Type, __pyx_n_s_reduce); if (!object_reduce) goto __PYX_BAD; +#endif + reduce = __Pyx_PyObject_GetAttrStr(type_obj, __pyx_n_s_reduce); if (unlikely(!reduce)) goto __PYX_BAD; + if (reduce == object_reduce || __Pyx_setup_reduce_is_named(reduce, __pyx_n_s_reduce_cython)) { + reduce_cython = __Pyx_PyObject_GetAttrStrNoError(type_obj, __pyx_n_s_reduce_cython); + if (likely(reduce_cython)) { + ret = PyDict_SetItem(((PyTypeObject*)type_obj)->tp_dict, __pyx_n_s_reduce, reduce_cython); if (unlikely(ret < 0)) goto __PYX_BAD; + ret = PyDict_DelItem(((PyTypeObject*)type_obj)->tp_dict, __pyx_n_s_reduce_cython); if (unlikely(ret < 0)) goto __PYX_BAD; + } else if (reduce == object_reduce || PyErr_Occurred()) { + goto __PYX_BAD; + } + setstate = __Pyx_PyObject_GetAttrStrNoError(type_obj, __pyx_n_s_setstate); + if (!setstate) PyErr_Clear(); + if (!setstate || __Pyx_setup_reduce_is_named(setstate, __pyx_n_s_setstate_cython)) { + setstate_cython = __Pyx_PyObject_GetAttrStrNoError(type_obj, __pyx_n_s_setstate_cython); + if (likely(setstate_cython)) { + ret = PyDict_SetItem(((PyTypeObject*)type_obj)->tp_dict, __pyx_n_s_setstate, setstate_cython); if (unlikely(ret < 0)) goto __PYX_BAD; + ret = PyDict_DelItem(((PyTypeObject*)type_obj)->tp_dict, __pyx_n_s_setstate_cython); if (unlikely(ret < 0)) goto __PYX_BAD; + } else if (!setstate || PyErr_Occurred()) { + goto __PYX_BAD; + } + } + PyType_Modified((PyTypeObject*)type_obj); + } + } + goto __PYX_GOOD; +__PYX_BAD: + if (!PyErr_Occurred()) { + __Pyx_TypeName type_obj_name = + __Pyx_PyType_GetName((PyTypeObject*)type_obj); + PyErr_Format(PyExc_RuntimeError, + "Unable to initialize pickling for " __Pyx_FMT_TYPENAME, type_obj_name); + __Pyx_DECREF_TypeName(type_obj_name); + } + ret = -1; +__PYX_GOOD: +#if !CYTHON_USE_PYTYPE_LOOKUP + Py_XDECREF(object_reduce); + Py_XDECREF(object_reduce_ex); + Py_XDECREF(object_getstate); + Py_XDECREF(getstate); +#endif + Py_XDECREF(reduce); + Py_XDECREF(reduce_ex); + Py_XDECREF(reduce_cython); + Py_XDECREF(setstate); + Py_XDECREF(setstate_cython); + return ret; +} +#endif + +/* TypeImport */ +#ifndef __PYX_HAVE_RT_ImportType_3_0_9 +#define __PYX_HAVE_RT_ImportType_3_0_9 +static PyTypeObject *__Pyx_ImportType_3_0_9(PyObject *module, const char *module_name, const char *class_name, + size_t size, size_t alignment, enum __Pyx_ImportType_CheckSize_3_0_9 check_size) +{ + PyObject *result = 0; + char warning[200]; + Py_ssize_t basicsize; + Py_ssize_t itemsize; +#if CYTHON_COMPILING_IN_LIMITED_API + PyObject *py_basicsize; + PyObject *py_itemsize; +#endif + result = PyObject_GetAttrString(module, class_name); + if (!result) + goto bad; + if (!PyType_Check(result)) { + PyErr_Format(PyExc_TypeError, + "%.200s.%.200s is not a type object", + module_name, class_name); + goto bad; + } +#if !CYTHON_COMPILING_IN_LIMITED_API + basicsize = ((PyTypeObject *)result)->tp_basicsize; + itemsize = ((PyTypeObject *)result)->tp_itemsize; +#else + py_basicsize = PyObject_GetAttrString(result, "__basicsize__"); + if (!py_basicsize) + goto bad; + basicsize = PyLong_AsSsize_t(py_basicsize); + Py_DECREF(py_basicsize); + py_basicsize = 0; + if (basicsize == (Py_ssize_t)-1 && PyErr_Occurred()) + goto bad; + py_itemsize = PyObject_GetAttrString(result, "__itemsize__"); + if (!py_itemsize) + goto bad; + itemsize = PyLong_AsSsize_t(py_itemsize); + Py_DECREF(py_itemsize); + py_itemsize = 0; + if (itemsize == (Py_ssize_t)-1 && PyErr_Occurred()) + goto bad; +#endif + if (itemsize) { + if (size % alignment) { + alignment = size % alignment; + } + if (itemsize < (Py_ssize_t)alignment) + itemsize = (Py_ssize_t)alignment; + } + if ((size_t)(basicsize + itemsize) < size) { + PyErr_Format(PyExc_ValueError, + "%.200s.%.200s size changed, may indicate binary incompatibility. " + "Expected %zd from C header, got %zd from PyObject", + module_name, class_name, size, basicsize+itemsize); + goto bad; + } + if (check_size == __Pyx_ImportType_CheckSize_Error_3_0_9 && + ((size_t)basicsize > size || (size_t)(basicsize + itemsize) < size)) { + PyErr_Format(PyExc_ValueError, + "%.200s.%.200s size changed, may indicate binary incompatibility. " + "Expected %zd from C header, got %zd-%zd from PyObject", + module_name, class_name, size, basicsize, basicsize+itemsize); + goto bad; + } + else if (check_size == __Pyx_ImportType_CheckSize_Warn_3_0_9 && (size_t)basicsize > size) { + PyOS_snprintf(warning, sizeof(warning), + "%s.%s size changed, may indicate binary incompatibility. " + "Expected %zd from C header, got %zd from PyObject", + module_name, class_name, size, basicsize); + if (PyErr_WarnEx(NULL, warning, 0) < 0) goto bad; + } + return (PyTypeObject *)result; +bad: + Py_XDECREF(result); + return NULL; +} +#endif + +/* FetchSharedCythonModule */ +static PyObject *__Pyx_FetchSharedCythonABIModule(void) { + return __Pyx_PyImport_AddModuleRef((char*) __PYX_ABI_MODULE_NAME); +} + +/* FetchCommonType */ +static int __Pyx_VerifyCachedType(PyObject *cached_type, + const char *name, + Py_ssize_t basicsize, + Py_ssize_t expected_basicsize) { + if (!PyType_Check(cached_type)) { + PyErr_Format(PyExc_TypeError, + "Shared Cython type %.200s is not a type object", name); + return -1; + } + if (basicsize != expected_basicsize) { + PyErr_Format(PyExc_TypeError, + "Shared Cython type %.200s has the wrong size, try recompiling", + name); + return -1; + } + return 0; +} +#if !CYTHON_USE_TYPE_SPECS +static PyTypeObject* __Pyx_FetchCommonType(PyTypeObject* type) { + PyObject* abi_module; + const char* object_name; + PyTypeObject *cached_type = NULL; + abi_module = __Pyx_FetchSharedCythonABIModule(); + if (!abi_module) return NULL; + object_name = strrchr(type->tp_name, '.'); + object_name = object_name ? object_name+1 : type->tp_name; + cached_type = (PyTypeObject*) PyObject_GetAttrString(abi_module, object_name); + if (cached_type) { + if (__Pyx_VerifyCachedType( + (PyObject *)cached_type, + object_name, + cached_type->tp_basicsize, + type->tp_basicsize) < 0) { + goto bad; + } + goto done; + } + if (!PyErr_ExceptionMatches(PyExc_AttributeError)) goto bad; + PyErr_Clear(); + if (PyType_Ready(type) < 0) goto bad; + if (PyObject_SetAttrString(abi_module, object_name, (PyObject *)type) < 0) + goto bad; + Py_INCREF(type); + cached_type = type; +done: + Py_DECREF(abi_module); + return cached_type; +bad: + Py_XDECREF(cached_type); + cached_type = NULL; + goto done; +} +#else +static PyTypeObject *__Pyx_FetchCommonTypeFromSpec(PyObject *module, PyType_Spec *spec, PyObject *bases) { + PyObject *abi_module, *cached_type = NULL; + const char* object_name = strrchr(spec->name, '.'); + object_name = object_name ? object_name+1 : spec->name; + abi_module = __Pyx_FetchSharedCythonABIModule(); + if (!abi_module) return NULL; + cached_type = PyObject_GetAttrString(abi_module, object_name); + if (cached_type) { + Py_ssize_t basicsize; +#if CYTHON_COMPILING_IN_LIMITED_API + PyObject *py_basicsize; + py_basicsize = PyObject_GetAttrString(cached_type, "__basicsize__"); + if (unlikely(!py_basicsize)) goto bad; + basicsize = PyLong_AsSsize_t(py_basicsize); + Py_DECREF(py_basicsize); + py_basicsize = 0; + if (unlikely(basicsize == (Py_ssize_t)-1) && PyErr_Occurred()) goto bad; +#else + basicsize = likely(PyType_Check(cached_type)) ? ((PyTypeObject*) cached_type)->tp_basicsize : -1; +#endif + if (__Pyx_VerifyCachedType( + cached_type, + object_name, + basicsize, + spec->basicsize) < 0) { + goto bad; + } + goto done; + } + if (!PyErr_ExceptionMatches(PyExc_AttributeError)) goto bad; + PyErr_Clear(); + CYTHON_UNUSED_VAR(module); + cached_type = __Pyx_PyType_FromModuleAndSpec(abi_module, spec, bases); + if (unlikely(!cached_type)) goto bad; + if (unlikely(__Pyx_fix_up_extension_type_from_spec(spec, (PyTypeObject *) cached_type) < 0)) goto bad; + if (PyObject_SetAttrString(abi_module, object_name, cached_type) < 0) goto bad; +done: + Py_DECREF(abi_module); + assert(cached_type == NULL || PyType_Check(cached_type)); + return (PyTypeObject *) cached_type; +bad: + Py_XDECREF(cached_type); + cached_type = NULL; + goto done; +} +#endif + +/* PyVectorcallFastCallDict */ +#if CYTHON_METH_FASTCALL +static PyObject *__Pyx_PyVectorcall_FastCallDict_kw(PyObject *func, __pyx_vectorcallfunc vc, PyObject *const *args, size_t nargs, PyObject *kw) +{ + PyObject *res = NULL; + PyObject *kwnames; + PyObject **newargs; + PyObject **kwvalues; + Py_ssize_t i, pos; + size_t j; + PyObject *key, *value; + unsigned long keys_are_strings; + Py_ssize_t nkw = PyDict_GET_SIZE(kw); + newargs = (PyObject **)PyMem_Malloc((nargs + (size_t)nkw) * sizeof(args[0])); + if (unlikely(newargs == NULL)) { + PyErr_NoMemory(); + return NULL; + } + for (j = 0; j < nargs; j++) newargs[j] = args[j]; + kwnames = PyTuple_New(nkw); + if (unlikely(kwnames == NULL)) { + PyMem_Free(newargs); + return NULL; + } + kwvalues = newargs + nargs; + pos = i = 0; + keys_are_strings = Py_TPFLAGS_UNICODE_SUBCLASS; + while (PyDict_Next(kw, &pos, &key, &value)) { + keys_are_strings &= Py_TYPE(key)->tp_flags; + Py_INCREF(key); + Py_INCREF(value); + PyTuple_SET_ITEM(kwnames, i, key); + kwvalues[i] = value; + i++; + } + if (unlikely(!keys_are_strings)) { + PyErr_SetString(PyExc_TypeError, "keywords must be strings"); + goto cleanup; + } + res = vc(func, newargs, nargs, kwnames); +cleanup: + Py_DECREF(kwnames); + for (i = 0; i < nkw; i++) + Py_DECREF(kwvalues[i]); + PyMem_Free(newargs); + return res; +} +static CYTHON_INLINE PyObject *__Pyx_PyVectorcall_FastCallDict(PyObject *func, __pyx_vectorcallfunc vc, PyObject *const *args, size_t nargs, PyObject *kw) +{ + if (likely(kw == NULL) || PyDict_GET_SIZE(kw) == 0) { + return vc(func, args, nargs, NULL); + } + return __Pyx_PyVectorcall_FastCallDict_kw(func, vc, args, nargs, kw); +} +#endif + +/* CythonFunctionShared */ +#if CYTHON_COMPILING_IN_LIMITED_API +static CYTHON_INLINE int __Pyx__IsSameCyOrCFunction(PyObject *func, void *cfunc) { + if (__Pyx_CyFunction_Check(func)) { + return PyCFunction_GetFunction(((__pyx_CyFunctionObject*)func)->func) == (PyCFunction) cfunc; + } else if (PyCFunction_Check(func)) { + return PyCFunction_GetFunction(func) == (PyCFunction) cfunc; + } + return 0; +} +#else +static CYTHON_INLINE int __Pyx__IsSameCyOrCFunction(PyObject *func, void *cfunc) { + return __Pyx_CyOrPyCFunction_Check(func) && __Pyx_CyOrPyCFunction_GET_FUNCTION(func) == (PyCFunction) cfunc; +} +#endif +static CYTHON_INLINE void __Pyx__CyFunction_SetClassObj(__pyx_CyFunctionObject* f, PyObject* classobj) { +#if PY_VERSION_HEX < 0x030900B1 || CYTHON_COMPILING_IN_LIMITED_API + __Pyx_Py_XDECREF_SET( + __Pyx_CyFunction_GetClassObj(f), + ((classobj) ? __Pyx_NewRef(classobj) : NULL)); +#else + __Pyx_Py_XDECREF_SET( + ((PyCMethodObject *) (f))->mm_class, + (PyTypeObject*)((classobj) ? __Pyx_NewRef(classobj) : NULL)); +#endif +} +static PyObject * +__Pyx_CyFunction_get_doc(__pyx_CyFunctionObject *op, void *closure) +{ + CYTHON_UNUSED_VAR(closure); + if (unlikely(op->func_doc == NULL)) { +#if CYTHON_COMPILING_IN_LIMITED_API + op->func_doc = PyObject_GetAttrString(op->func, "__doc__"); + if (unlikely(!op->func_doc)) return NULL; +#else + if (((PyCFunctionObject*)op)->m_ml->ml_doc) { +#if PY_MAJOR_VERSION >= 3 + op->func_doc = PyUnicode_FromString(((PyCFunctionObject*)op)->m_ml->ml_doc); +#else + op->func_doc = PyString_FromString(((PyCFunctionObject*)op)->m_ml->ml_doc); +#endif + if (unlikely(op->func_doc == NULL)) + return NULL; + } else { + Py_INCREF(Py_None); + return Py_None; + } +#endif + } + Py_INCREF(op->func_doc); + return op->func_doc; +} +static int +__Pyx_CyFunction_set_doc(__pyx_CyFunctionObject *op, PyObject *value, void *context) +{ + CYTHON_UNUSED_VAR(context); + if (value == NULL) { + value = Py_None; + } + Py_INCREF(value); + __Pyx_Py_XDECREF_SET(op->func_doc, value); + return 0; +} +static PyObject * +__Pyx_CyFunction_get_name(__pyx_CyFunctionObject *op, void *context) +{ + CYTHON_UNUSED_VAR(context); + if (unlikely(op->func_name == NULL)) { +#if CYTHON_COMPILING_IN_LIMITED_API + op->func_name = PyObject_GetAttrString(op->func, "__name__"); +#elif PY_MAJOR_VERSION >= 3 + op->func_name = PyUnicode_InternFromString(((PyCFunctionObject*)op)->m_ml->ml_name); +#else + op->func_name = PyString_InternFromString(((PyCFunctionObject*)op)->m_ml->ml_name); +#endif + if (unlikely(op->func_name == NULL)) + return NULL; + } + Py_INCREF(op->func_name); + return op->func_name; +} +static int +__Pyx_CyFunction_set_name(__pyx_CyFunctionObject *op, PyObject *value, void *context) +{ + CYTHON_UNUSED_VAR(context); +#if PY_MAJOR_VERSION >= 3 + if (unlikely(value == NULL || !PyUnicode_Check(value))) +#else + if (unlikely(value == NULL || !PyString_Check(value))) +#endif + { + PyErr_SetString(PyExc_TypeError, + "__name__ must be set to a string object"); + return -1; + } + Py_INCREF(value); + __Pyx_Py_XDECREF_SET(op->func_name, value); + return 0; +} +static PyObject * +__Pyx_CyFunction_get_qualname(__pyx_CyFunctionObject *op, void *context) +{ + CYTHON_UNUSED_VAR(context); + Py_INCREF(op->func_qualname); + return op->func_qualname; +} +static int +__Pyx_CyFunction_set_qualname(__pyx_CyFunctionObject *op, PyObject *value, void *context) +{ + CYTHON_UNUSED_VAR(context); +#if PY_MAJOR_VERSION >= 3 + if (unlikely(value == NULL || !PyUnicode_Check(value))) +#else + if (unlikely(value == NULL || !PyString_Check(value))) +#endif + { + PyErr_SetString(PyExc_TypeError, + "__qualname__ must be set to a string object"); + return -1; + } + Py_INCREF(value); + __Pyx_Py_XDECREF_SET(op->func_qualname, value); + return 0; +} +static PyObject * +__Pyx_CyFunction_get_dict(__pyx_CyFunctionObject *op, void *context) +{ + CYTHON_UNUSED_VAR(context); + if (unlikely(op->func_dict == NULL)) { + op->func_dict = PyDict_New(); + if (unlikely(op->func_dict == NULL)) + return NULL; + } + Py_INCREF(op->func_dict); + return op->func_dict; +} +static int +__Pyx_CyFunction_set_dict(__pyx_CyFunctionObject *op, PyObject *value, void *context) +{ + CYTHON_UNUSED_VAR(context); + if (unlikely(value == NULL)) { + PyErr_SetString(PyExc_TypeError, + "function's dictionary may not be deleted"); + return -1; + } + if (unlikely(!PyDict_Check(value))) { + PyErr_SetString(PyExc_TypeError, + "setting function's dictionary to a non-dict"); + return -1; + } + Py_INCREF(value); + __Pyx_Py_XDECREF_SET(op->func_dict, value); + return 0; +} +static PyObject * +__Pyx_CyFunction_get_globals(__pyx_CyFunctionObject *op, void *context) +{ + CYTHON_UNUSED_VAR(context); + Py_INCREF(op->func_globals); + return op->func_globals; +} +static PyObject * +__Pyx_CyFunction_get_closure(__pyx_CyFunctionObject *op, void *context) +{ + CYTHON_UNUSED_VAR(op); + CYTHON_UNUSED_VAR(context); + Py_INCREF(Py_None); + return Py_None; +} +static PyObject * +__Pyx_CyFunction_get_code(__pyx_CyFunctionObject *op, void *context) +{ + PyObject* result = (op->func_code) ? op->func_code : Py_None; + CYTHON_UNUSED_VAR(context); + Py_INCREF(result); + return result; +} +static int +__Pyx_CyFunction_init_defaults(__pyx_CyFunctionObject *op) { + int result = 0; + PyObject *res = op->defaults_getter((PyObject *) op); + if (unlikely(!res)) + return -1; + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + op->defaults_tuple = PyTuple_GET_ITEM(res, 0); + Py_INCREF(op->defaults_tuple); + op->defaults_kwdict = PyTuple_GET_ITEM(res, 1); + Py_INCREF(op->defaults_kwdict); + #else + op->defaults_tuple = __Pyx_PySequence_ITEM(res, 0); + if (unlikely(!op->defaults_tuple)) result = -1; + else { + op->defaults_kwdict = __Pyx_PySequence_ITEM(res, 1); + if (unlikely(!op->defaults_kwdict)) result = -1; + } + #endif + Py_DECREF(res); + return result; +} +static int +__Pyx_CyFunction_set_defaults(__pyx_CyFunctionObject *op, PyObject* value, void *context) { + CYTHON_UNUSED_VAR(context); + if (!value) { + value = Py_None; + } else if (unlikely(value != Py_None && !PyTuple_Check(value))) { + PyErr_SetString(PyExc_TypeError, + "__defaults__ must be set to a tuple object"); + return -1; + } + PyErr_WarnEx(PyExc_RuntimeWarning, "changes to cyfunction.__defaults__ will not " + "currently affect the values used in function calls", 1); + Py_INCREF(value); + __Pyx_Py_XDECREF_SET(op->defaults_tuple, value); + return 0; +} +static PyObject * +__Pyx_CyFunction_get_defaults(__pyx_CyFunctionObject *op, void *context) { + PyObject* result = op->defaults_tuple; + CYTHON_UNUSED_VAR(context); + if (unlikely(!result)) { + if (op->defaults_getter) { + if (unlikely(__Pyx_CyFunction_init_defaults(op) < 0)) return NULL; + result = op->defaults_tuple; + } else { + result = Py_None; + } + } + Py_INCREF(result); + return result; +} +static int +__Pyx_CyFunction_set_kwdefaults(__pyx_CyFunctionObject *op, PyObject* value, void *context) { + CYTHON_UNUSED_VAR(context); + if (!value) { + value = Py_None; + } else if (unlikely(value != Py_None && !PyDict_Check(value))) { + PyErr_SetString(PyExc_TypeError, + "__kwdefaults__ must be set to a dict object"); + return -1; + } + PyErr_WarnEx(PyExc_RuntimeWarning, "changes to cyfunction.__kwdefaults__ will not " + "currently affect the values used in function calls", 1); + Py_INCREF(value); + __Pyx_Py_XDECREF_SET(op->defaults_kwdict, value); + return 0; +} +static PyObject * +__Pyx_CyFunction_get_kwdefaults(__pyx_CyFunctionObject *op, void *context) { + PyObject* result = op->defaults_kwdict; + CYTHON_UNUSED_VAR(context); + if (unlikely(!result)) { + if (op->defaults_getter) { + if (unlikely(__Pyx_CyFunction_init_defaults(op) < 0)) return NULL; + result = op->defaults_kwdict; + } else { + result = Py_None; + } + } + Py_INCREF(result); + return result; +} +static int +__Pyx_CyFunction_set_annotations(__pyx_CyFunctionObject *op, PyObject* value, void *context) { + CYTHON_UNUSED_VAR(context); + if (!value || value == Py_None) { + value = NULL; + } else if (unlikely(!PyDict_Check(value))) { + PyErr_SetString(PyExc_TypeError, + "__annotations__ must be set to a dict object"); + return -1; + } + Py_XINCREF(value); + __Pyx_Py_XDECREF_SET(op->func_annotations, value); + return 0; +} +static PyObject * +__Pyx_CyFunction_get_annotations(__pyx_CyFunctionObject *op, void *context) { + PyObject* result = op->func_annotations; + CYTHON_UNUSED_VAR(context); + if (unlikely(!result)) { + result = PyDict_New(); + if (unlikely(!result)) return NULL; + op->func_annotations = result; + } + Py_INCREF(result); + return result; +} +static PyObject * +__Pyx_CyFunction_get_is_coroutine(__pyx_CyFunctionObject *op, void *context) { + int is_coroutine; + CYTHON_UNUSED_VAR(context); + if (op->func_is_coroutine) { + return __Pyx_NewRef(op->func_is_coroutine); + } + is_coroutine = op->flags & __Pyx_CYFUNCTION_COROUTINE; +#if PY_VERSION_HEX >= 0x03050000 + if (is_coroutine) { + PyObject *module, *fromlist, *marker = __pyx_n_s_is_coroutine; + fromlist = PyList_New(1); + if (unlikely(!fromlist)) return NULL; + Py_INCREF(marker); +#if CYTHON_ASSUME_SAFE_MACROS + PyList_SET_ITEM(fromlist, 0, marker); +#else + if (unlikely(PyList_SetItem(fromlist, 0, marker) < 0)) { + Py_DECREF(marker); + Py_DECREF(fromlist); + return NULL; + } +#endif + module = PyImport_ImportModuleLevelObject(__pyx_n_s_asyncio_coroutines, NULL, NULL, fromlist, 0); + Py_DECREF(fromlist); + if (unlikely(!module)) goto ignore; + op->func_is_coroutine = __Pyx_PyObject_GetAttrStr(module, marker); + Py_DECREF(module); + if (likely(op->func_is_coroutine)) { + return __Pyx_NewRef(op->func_is_coroutine); + } +ignore: + PyErr_Clear(); + } +#endif + op->func_is_coroutine = __Pyx_PyBool_FromLong(is_coroutine); + return __Pyx_NewRef(op->func_is_coroutine); +} +#if CYTHON_COMPILING_IN_LIMITED_API +static PyObject * +__Pyx_CyFunction_get_module(__pyx_CyFunctionObject *op, void *context) { + CYTHON_UNUSED_VAR(context); + return PyObject_GetAttrString(op->func, "__module__"); +} +static int +__Pyx_CyFunction_set_module(__pyx_CyFunctionObject *op, PyObject* value, void *context) { + CYTHON_UNUSED_VAR(context); + return PyObject_SetAttrString(op->func, "__module__", value); +} +#endif +static PyGetSetDef __pyx_CyFunction_getsets[] = { + {(char *) "func_doc", (getter)__Pyx_CyFunction_get_doc, (setter)__Pyx_CyFunction_set_doc, 0, 0}, + {(char *) "__doc__", (getter)__Pyx_CyFunction_get_doc, (setter)__Pyx_CyFunction_set_doc, 0, 0}, + {(char *) "func_name", (getter)__Pyx_CyFunction_get_name, (setter)__Pyx_CyFunction_set_name, 0, 0}, + {(char *) "__name__", (getter)__Pyx_CyFunction_get_name, (setter)__Pyx_CyFunction_set_name, 0, 0}, + {(char *) "__qualname__", (getter)__Pyx_CyFunction_get_qualname, (setter)__Pyx_CyFunction_set_qualname, 0, 0}, + {(char *) "func_dict", (getter)__Pyx_CyFunction_get_dict, (setter)__Pyx_CyFunction_set_dict, 0, 0}, + {(char *) "__dict__", (getter)__Pyx_CyFunction_get_dict, (setter)__Pyx_CyFunction_set_dict, 0, 0}, + {(char *) "func_globals", (getter)__Pyx_CyFunction_get_globals, 0, 0, 0}, + {(char *) "__globals__", (getter)__Pyx_CyFunction_get_globals, 0, 0, 0}, + {(char *) "func_closure", (getter)__Pyx_CyFunction_get_closure, 0, 0, 0}, + {(char *) "__closure__", (getter)__Pyx_CyFunction_get_closure, 0, 0, 0}, + {(char *) "func_code", (getter)__Pyx_CyFunction_get_code, 0, 0, 0}, + {(char *) "__code__", (getter)__Pyx_CyFunction_get_code, 0, 0, 0}, + {(char *) "func_defaults", (getter)__Pyx_CyFunction_get_defaults, (setter)__Pyx_CyFunction_set_defaults, 0, 0}, + {(char *) "__defaults__", (getter)__Pyx_CyFunction_get_defaults, (setter)__Pyx_CyFunction_set_defaults, 0, 0}, + {(char *) "__kwdefaults__", (getter)__Pyx_CyFunction_get_kwdefaults, (setter)__Pyx_CyFunction_set_kwdefaults, 0, 0}, + {(char *) "__annotations__", (getter)__Pyx_CyFunction_get_annotations, (setter)__Pyx_CyFunction_set_annotations, 0, 0}, + {(char *) "_is_coroutine", (getter)__Pyx_CyFunction_get_is_coroutine, 0, 0, 0}, +#if CYTHON_COMPILING_IN_LIMITED_API + {"__module__", (getter)__Pyx_CyFunction_get_module, (setter)__Pyx_CyFunction_set_module, 0, 0}, +#endif + {0, 0, 0, 0, 0} +}; +static PyMemberDef __pyx_CyFunction_members[] = { +#if !CYTHON_COMPILING_IN_LIMITED_API + {(char *) "__module__", T_OBJECT, offsetof(PyCFunctionObject, m_module), 0, 0}, +#endif +#if CYTHON_USE_TYPE_SPECS + {(char *) "__dictoffset__", T_PYSSIZET, offsetof(__pyx_CyFunctionObject, func_dict), READONLY, 0}, +#if CYTHON_METH_FASTCALL +#if CYTHON_BACKPORT_VECTORCALL + {(char *) "__vectorcalloffset__", T_PYSSIZET, offsetof(__pyx_CyFunctionObject, func_vectorcall), READONLY, 0}, +#else +#if !CYTHON_COMPILING_IN_LIMITED_API + {(char *) "__vectorcalloffset__", T_PYSSIZET, offsetof(PyCFunctionObject, vectorcall), READONLY, 0}, +#endif +#endif +#endif +#if PY_VERSION_HEX < 0x030500A0 || CYTHON_COMPILING_IN_LIMITED_API + {(char *) "__weaklistoffset__", T_PYSSIZET, offsetof(__pyx_CyFunctionObject, func_weakreflist), READONLY, 0}, +#else + {(char *) "__weaklistoffset__", T_PYSSIZET, offsetof(PyCFunctionObject, m_weakreflist), READONLY, 0}, +#endif +#endif + {0, 0, 0, 0, 0} +}; +static PyObject * +__Pyx_CyFunction_reduce(__pyx_CyFunctionObject *m, PyObject *args) +{ + CYTHON_UNUSED_VAR(args); +#if PY_MAJOR_VERSION >= 3 + Py_INCREF(m->func_qualname); + return m->func_qualname; +#else + return PyString_FromString(((PyCFunctionObject*)m)->m_ml->ml_name); +#endif +} +static PyMethodDef __pyx_CyFunction_methods[] = { + {"__reduce__", (PyCFunction)__Pyx_CyFunction_reduce, METH_VARARGS, 0}, + {0, 0, 0, 0} +}; +#if PY_VERSION_HEX < 0x030500A0 || CYTHON_COMPILING_IN_LIMITED_API +#define __Pyx_CyFunction_weakreflist(cyfunc) ((cyfunc)->func_weakreflist) +#else +#define __Pyx_CyFunction_weakreflist(cyfunc) (((PyCFunctionObject*)cyfunc)->m_weakreflist) +#endif +static PyObject *__Pyx_CyFunction_Init(__pyx_CyFunctionObject *op, PyMethodDef *ml, int flags, PyObject* qualname, + PyObject *closure, PyObject *module, PyObject* globals, PyObject* code) { +#if !CYTHON_COMPILING_IN_LIMITED_API + PyCFunctionObject *cf = (PyCFunctionObject*) op; +#endif + if (unlikely(op == NULL)) + return NULL; +#if CYTHON_COMPILING_IN_LIMITED_API + op->func = PyCFunction_NewEx(ml, (PyObject*)op, module); + if (unlikely(!op->func)) return NULL; +#endif + op->flags = flags; + __Pyx_CyFunction_weakreflist(op) = NULL; +#if !CYTHON_COMPILING_IN_LIMITED_API + cf->m_ml = ml; + cf->m_self = (PyObject *) op; +#endif + Py_XINCREF(closure); + op->func_closure = closure; +#if !CYTHON_COMPILING_IN_LIMITED_API + Py_XINCREF(module); + cf->m_module = module; +#endif + op->func_dict = NULL; + op->func_name = NULL; + Py_INCREF(qualname); + op->func_qualname = qualname; + op->func_doc = NULL; +#if PY_VERSION_HEX < 0x030900B1 || CYTHON_COMPILING_IN_LIMITED_API + op->func_classobj = NULL; +#else + ((PyCMethodObject*)op)->mm_class = NULL; +#endif + op->func_globals = globals; + Py_INCREF(op->func_globals); + Py_XINCREF(code); + op->func_code = code; + op->defaults_pyobjects = 0; + op->defaults_size = 0; + op->defaults = NULL; + op->defaults_tuple = NULL; + op->defaults_kwdict = NULL; + op->defaults_getter = NULL; + op->func_annotations = NULL; + op->func_is_coroutine = NULL; +#if CYTHON_METH_FASTCALL + switch (ml->ml_flags & (METH_VARARGS | METH_FASTCALL | METH_NOARGS | METH_O | METH_KEYWORDS | METH_METHOD)) { + case METH_NOARGS: + __Pyx_CyFunction_func_vectorcall(op) = __Pyx_CyFunction_Vectorcall_NOARGS; + break; + case METH_O: + __Pyx_CyFunction_func_vectorcall(op) = __Pyx_CyFunction_Vectorcall_O; + break; + case METH_METHOD | METH_FASTCALL | METH_KEYWORDS: + __Pyx_CyFunction_func_vectorcall(op) = __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS_METHOD; + break; + case METH_FASTCALL | METH_KEYWORDS: + __Pyx_CyFunction_func_vectorcall(op) = __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS; + break; + case METH_VARARGS | METH_KEYWORDS: + __Pyx_CyFunction_func_vectorcall(op) = NULL; + break; + default: + PyErr_SetString(PyExc_SystemError, "Bad call flags for CyFunction"); + Py_DECREF(op); + return NULL; + } +#endif + return (PyObject *) op; +} +static int +__Pyx_CyFunction_clear(__pyx_CyFunctionObject *m) +{ + Py_CLEAR(m->func_closure); +#if CYTHON_COMPILING_IN_LIMITED_API + Py_CLEAR(m->func); +#else + Py_CLEAR(((PyCFunctionObject*)m)->m_module); +#endif + Py_CLEAR(m->func_dict); + Py_CLEAR(m->func_name); + Py_CLEAR(m->func_qualname); + Py_CLEAR(m->func_doc); + Py_CLEAR(m->func_globals); + Py_CLEAR(m->func_code); +#if !CYTHON_COMPILING_IN_LIMITED_API +#if PY_VERSION_HEX < 0x030900B1 + Py_CLEAR(__Pyx_CyFunction_GetClassObj(m)); +#else + { + PyObject *cls = (PyObject*) ((PyCMethodObject *) (m))->mm_class; + ((PyCMethodObject *) (m))->mm_class = NULL; + Py_XDECREF(cls); + } +#endif +#endif + Py_CLEAR(m->defaults_tuple); + Py_CLEAR(m->defaults_kwdict); + Py_CLEAR(m->func_annotations); + Py_CLEAR(m->func_is_coroutine); + if (m->defaults) { + PyObject **pydefaults = __Pyx_CyFunction_Defaults(PyObject *, m); + int i; + for (i = 0; i < m->defaults_pyobjects; i++) + Py_XDECREF(pydefaults[i]); + PyObject_Free(m->defaults); + m->defaults = NULL; + } + return 0; +} +static void __Pyx__CyFunction_dealloc(__pyx_CyFunctionObject *m) +{ + if (__Pyx_CyFunction_weakreflist(m) != NULL) + PyObject_ClearWeakRefs((PyObject *) m); + __Pyx_CyFunction_clear(m); + __Pyx_PyHeapTypeObject_GC_Del(m); +} +static void __Pyx_CyFunction_dealloc(__pyx_CyFunctionObject *m) +{ + PyObject_GC_UnTrack(m); + __Pyx__CyFunction_dealloc(m); +} +static int __Pyx_CyFunction_traverse(__pyx_CyFunctionObject *m, visitproc visit, void *arg) +{ + Py_VISIT(m->func_closure); +#if CYTHON_COMPILING_IN_LIMITED_API + Py_VISIT(m->func); +#else + Py_VISIT(((PyCFunctionObject*)m)->m_module); +#endif + Py_VISIT(m->func_dict); + Py_VISIT(m->func_name); + Py_VISIT(m->func_qualname); + Py_VISIT(m->func_doc); + Py_VISIT(m->func_globals); + Py_VISIT(m->func_code); +#if !CYTHON_COMPILING_IN_LIMITED_API + Py_VISIT(__Pyx_CyFunction_GetClassObj(m)); +#endif + Py_VISIT(m->defaults_tuple); + Py_VISIT(m->defaults_kwdict); + Py_VISIT(m->func_is_coroutine); + if (m->defaults) { + PyObject **pydefaults = __Pyx_CyFunction_Defaults(PyObject *, m); + int i; + for (i = 0; i < m->defaults_pyobjects; i++) + Py_VISIT(pydefaults[i]); + } + return 0; +} +static PyObject* +__Pyx_CyFunction_repr(__pyx_CyFunctionObject *op) +{ +#if PY_MAJOR_VERSION >= 3 + return PyUnicode_FromFormat("", + op->func_qualname, (void *)op); +#else + return PyString_FromFormat("", + PyString_AsString(op->func_qualname), (void *)op); +#endif +} +static PyObject * __Pyx_CyFunction_CallMethod(PyObject *func, PyObject *self, PyObject *arg, PyObject *kw) { +#if CYTHON_COMPILING_IN_LIMITED_API + PyObject *f = ((__pyx_CyFunctionObject*)func)->func; + PyObject *py_name = NULL; + PyCFunction meth; + int flags; + meth = PyCFunction_GetFunction(f); + if (unlikely(!meth)) return NULL; + flags = PyCFunction_GetFlags(f); + if (unlikely(flags < 0)) return NULL; +#else + PyCFunctionObject* f = (PyCFunctionObject*)func; + PyCFunction meth = f->m_ml->ml_meth; + int flags = f->m_ml->ml_flags; +#endif + Py_ssize_t size; + switch (flags & (METH_VARARGS | METH_KEYWORDS | METH_NOARGS | METH_O)) { + case METH_VARARGS: + if (likely(kw == NULL || PyDict_Size(kw) == 0)) + return (*meth)(self, arg); + break; + case METH_VARARGS | METH_KEYWORDS: + return (*(PyCFunctionWithKeywords)(void*)meth)(self, arg, kw); + case METH_NOARGS: + if (likely(kw == NULL || PyDict_Size(kw) == 0)) { +#if CYTHON_ASSUME_SAFE_MACROS + size = PyTuple_GET_SIZE(arg); +#else + size = PyTuple_Size(arg); + if (unlikely(size < 0)) return NULL; +#endif + if (likely(size == 0)) + return (*meth)(self, NULL); +#if CYTHON_COMPILING_IN_LIMITED_API + py_name = __Pyx_CyFunction_get_name((__pyx_CyFunctionObject*)func, NULL); + if (!py_name) return NULL; + PyErr_Format(PyExc_TypeError, + "%.200S() takes no arguments (%" CYTHON_FORMAT_SSIZE_T "d given)", + py_name, size); + Py_DECREF(py_name); +#else + PyErr_Format(PyExc_TypeError, + "%.200s() takes no arguments (%" CYTHON_FORMAT_SSIZE_T "d given)", + f->m_ml->ml_name, size); +#endif + return NULL; + } + break; + case METH_O: + if (likely(kw == NULL || PyDict_Size(kw) == 0)) { +#if CYTHON_ASSUME_SAFE_MACROS + size = PyTuple_GET_SIZE(arg); +#else + size = PyTuple_Size(arg); + if (unlikely(size < 0)) return NULL; +#endif + if (likely(size == 1)) { + PyObject *result, *arg0; + #if CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS + arg0 = PyTuple_GET_ITEM(arg, 0); + #else + arg0 = __Pyx_PySequence_ITEM(arg, 0); if (unlikely(!arg0)) return NULL; + #endif + result = (*meth)(self, arg0); + #if !(CYTHON_ASSUME_SAFE_MACROS && !CYTHON_AVOID_BORROWED_REFS) + Py_DECREF(arg0); + #endif + return result; + } +#if CYTHON_COMPILING_IN_LIMITED_API + py_name = __Pyx_CyFunction_get_name((__pyx_CyFunctionObject*)func, NULL); + if (!py_name) return NULL; + PyErr_Format(PyExc_TypeError, + "%.200S() takes exactly one argument (%" CYTHON_FORMAT_SSIZE_T "d given)", + py_name, size); + Py_DECREF(py_name); +#else + PyErr_Format(PyExc_TypeError, + "%.200s() takes exactly one argument (%" CYTHON_FORMAT_SSIZE_T "d given)", + f->m_ml->ml_name, size); +#endif + return NULL; + } + break; + default: + PyErr_SetString(PyExc_SystemError, "Bad call flags for CyFunction"); + return NULL; + } +#if CYTHON_COMPILING_IN_LIMITED_API + py_name = __Pyx_CyFunction_get_name((__pyx_CyFunctionObject*)func, NULL); + if (!py_name) return NULL; + PyErr_Format(PyExc_TypeError, "%.200S() takes no keyword arguments", + py_name); + Py_DECREF(py_name); +#else + PyErr_Format(PyExc_TypeError, "%.200s() takes no keyword arguments", + f->m_ml->ml_name); +#endif + return NULL; +} +static CYTHON_INLINE PyObject *__Pyx_CyFunction_Call(PyObject *func, PyObject *arg, PyObject *kw) { + PyObject *self, *result; +#if CYTHON_COMPILING_IN_LIMITED_API + self = PyCFunction_GetSelf(((__pyx_CyFunctionObject*)func)->func); + if (unlikely(!self) && PyErr_Occurred()) return NULL; +#else + self = ((PyCFunctionObject*)func)->m_self; +#endif + result = __Pyx_CyFunction_CallMethod(func, self, arg, kw); + return result; +} +static PyObject *__Pyx_CyFunction_CallAsMethod(PyObject *func, PyObject *args, PyObject *kw) { + PyObject *result; + __pyx_CyFunctionObject *cyfunc = (__pyx_CyFunctionObject *) func; +#if CYTHON_METH_FASTCALL + __pyx_vectorcallfunc vc = __Pyx_CyFunction_func_vectorcall(cyfunc); + if (vc) { +#if CYTHON_ASSUME_SAFE_MACROS + return __Pyx_PyVectorcall_FastCallDict(func, vc, &PyTuple_GET_ITEM(args, 0), (size_t)PyTuple_GET_SIZE(args), kw); +#else + (void) &__Pyx_PyVectorcall_FastCallDict; + return PyVectorcall_Call(func, args, kw); +#endif + } +#endif + if ((cyfunc->flags & __Pyx_CYFUNCTION_CCLASS) && !(cyfunc->flags & __Pyx_CYFUNCTION_STATICMETHOD)) { + Py_ssize_t argc; + PyObject *new_args; + PyObject *self; +#if CYTHON_ASSUME_SAFE_MACROS + argc = PyTuple_GET_SIZE(args); +#else + argc = PyTuple_Size(args); + if (unlikely(!argc) < 0) return NULL; +#endif + new_args = PyTuple_GetSlice(args, 1, argc); + if (unlikely(!new_args)) + return NULL; + self = PyTuple_GetItem(args, 0); + if (unlikely(!self)) { + Py_DECREF(new_args); +#if PY_MAJOR_VERSION > 2 + PyErr_Format(PyExc_TypeError, + "unbound method %.200S() needs an argument", + cyfunc->func_qualname); +#else + PyErr_SetString(PyExc_TypeError, + "unbound method needs an argument"); +#endif + return NULL; + } + result = __Pyx_CyFunction_CallMethod(func, self, new_args, kw); + Py_DECREF(new_args); + } else { + result = __Pyx_CyFunction_Call(func, args, kw); + } + return result; +} +#if CYTHON_METH_FASTCALL +static CYTHON_INLINE int __Pyx_CyFunction_Vectorcall_CheckArgs(__pyx_CyFunctionObject *cyfunc, Py_ssize_t nargs, PyObject *kwnames) +{ + int ret = 0; + if ((cyfunc->flags & __Pyx_CYFUNCTION_CCLASS) && !(cyfunc->flags & __Pyx_CYFUNCTION_STATICMETHOD)) { + if (unlikely(nargs < 1)) { + PyErr_Format(PyExc_TypeError, "%.200s() needs an argument", + ((PyCFunctionObject*)cyfunc)->m_ml->ml_name); + return -1; + } + ret = 1; + } + if (unlikely(kwnames) && unlikely(PyTuple_GET_SIZE(kwnames))) { + PyErr_Format(PyExc_TypeError, + "%.200s() takes no keyword arguments", ((PyCFunctionObject*)cyfunc)->m_ml->ml_name); + return -1; + } + return ret; +} +static PyObject * __Pyx_CyFunction_Vectorcall_NOARGS(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames) +{ + __pyx_CyFunctionObject *cyfunc = (__pyx_CyFunctionObject *)func; + PyMethodDef* def = ((PyCFunctionObject*)cyfunc)->m_ml; +#if CYTHON_BACKPORT_VECTORCALL + Py_ssize_t nargs = (Py_ssize_t)nargsf; +#else + Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); +#endif + PyObject *self; + switch (__Pyx_CyFunction_Vectorcall_CheckArgs(cyfunc, nargs, kwnames)) { + case 1: + self = args[0]; + args += 1; + nargs -= 1; + break; + case 0: + self = ((PyCFunctionObject*)cyfunc)->m_self; + break; + default: + return NULL; + } + if (unlikely(nargs != 0)) { + PyErr_Format(PyExc_TypeError, + "%.200s() takes no arguments (%" CYTHON_FORMAT_SSIZE_T "d given)", + def->ml_name, nargs); + return NULL; + } + return def->ml_meth(self, NULL); +} +static PyObject * __Pyx_CyFunction_Vectorcall_O(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames) +{ + __pyx_CyFunctionObject *cyfunc = (__pyx_CyFunctionObject *)func; + PyMethodDef* def = ((PyCFunctionObject*)cyfunc)->m_ml; +#if CYTHON_BACKPORT_VECTORCALL + Py_ssize_t nargs = (Py_ssize_t)nargsf; +#else + Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); +#endif + PyObject *self; + switch (__Pyx_CyFunction_Vectorcall_CheckArgs(cyfunc, nargs, kwnames)) { + case 1: + self = args[0]; + args += 1; + nargs -= 1; + break; + case 0: + self = ((PyCFunctionObject*)cyfunc)->m_self; + break; + default: + return NULL; + } + if (unlikely(nargs != 1)) { + PyErr_Format(PyExc_TypeError, + "%.200s() takes exactly one argument (%" CYTHON_FORMAT_SSIZE_T "d given)", + def->ml_name, nargs); + return NULL; + } + return def->ml_meth(self, args[0]); +} +static PyObject * __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames) +{ + __pyx_CyFunctionObject *cyfunc = (__pyx_CyFunctionObject *)func; + PyMethodDef* def = ((PyCFunctionObject*)cyfunc)->m_ml; +#if CYTHON_BACKPORT_VECTORCALL + Py_ssize_t nargs = (Py_ssize_t)nargsf; +#else + Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); +#endif + PyObject *self; + switch (__Pyx_CyFunction_Vectorcall_CheckArgs(cyfunc, nargs, NULL)) { + case 1: + self = args[0]; + args += 1; + nargs -= 1; + break; + case 0: + self = ((PyCFunctionObject*)cyfunc)->m_self; + break; + default: + return NULL; + } + return ((__Pyx_PyCFunctionFastWithKeywords)(void(*)(void))def->ml_meth)(self, args, nargs, kwnames); +} +static PyObject * __Pyx_CyFunction_Vectorcall_FASTCALL_KEYWORDS_METHOD(PyObject *func, PyObject *const *args, size_t nargsf, PyObject *kwnames) +{ + __pyx_CyFunctionObject *cyfunc = (__pyx_CyFunctionObject *)func; + PyMethodDef* def = ((PyCFunctionObject*)cyfunc)->m_ml; + PyTypeObject *cls = (PyTypeObject *) __Pyx_CyFunction_GetClassObj(cyfunc); +#if CYTHON_BACKPORT_VECTORCALL + Py_ssize_t nargs = (Py_ssize_t)nargsf; +#else + Py_ssize_t nargs = PyVectorcall_NARGS(nargsf); +#endif + PyObject *self; + switch (__Pyx_CyFunction_Vectorcall_CheckArgs(cyfunc, nargs, NULL)) { + case 1: + self = args[0]; + args += 1; + nargs -= 1; + break; + case 0: + self = ((PyCFunctionObject*)cyfunc)->m_self; + break; + default: + return NULL; + } + return ((__Pyx_PyCMethod)(void(*)(void))def->ml_meth)(self, cls, args, (size_t)nargs, kwnames); +} +#endif +#if CYTHON_USE_TYPE_SPECS +static PyType_Slot __pyx_CyFunctionType_slots[] = { + {Py_tp_dealloc, (void *)__Pyx_CyFunction_dealloc}, + {Py_tp_repr, (void *)__Pyx_CyFunction_repr}, + {Py_tp_call, (void *)__Pyx_CyFunction_CallAsMethod}, + {Py_tp_traverse, (void *)__Pyx_CyFunction_traverse}, + {Py_tp_clear, (void *)__Pyx_CyFunction_clear}, + {Py_tp_methods, (void *)__pyx_CyFunction_methods}, + {Py_tp_members, (void *)__pyx_CyFunction_members}, + {Py_tp_getset, (void *)__pyx_CyFunction_getsets}, + {Py_tp_descr_get, (void *)__Pyx_PyMethod_New}, + {0, 0}, +}; +static PyType_Spec __pyx_CyFunctionType_spec = { + __PYX_TYPE_MODULE_PREFIX "cython_function_or_method", + sizeof(__pyx_CyFunctionObject), + 0, +#ifdef Py_TPFLAGS_METHOD_DESCRIPTOR + Py_TPFLAGS_METHOD_DESCRIPTOR | +#endif +#if (defined(_Py_TPFLAGS_HAVE_VECTORCALL) && CYTHON_METH_FASTCALL) + _Py_TPFLAGS_HAVE_VECTORCALL | +#endif + Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC | Py_TPFLAGS_BASETYPE, + __pyx_CyFunctionType_slots +}; +#else +static PyTypeObject __pyx_CyFunctionType_type = { + PyVarObject_HEAD_INIT(0, 0) + __PYX_TYPE_MODULE_PREFIX "cython_function_or_method", + sizeof(__pyx_CyFunctionObject), + 0, + (destructor) __Pyx_CyFunction_dealloc, +#if !CYTHON_METH_FASTCALL + 0, +#elif CYTHON_BACKPORT_VECTORCALL + (printfunc)offsetof(__pyx_CyFunctionObject, func_vectorcall), +#else + offsetof(PyCFunctionObject, vectorcall), +#endif + 0, + 0, +#if PY_MAJOR_VERSION < 3 + 0, +#else + 0, +#endif + (reprfunc) __Pyx_CyFunction_repr, + 0, + 0, + 0, + 0, + __Pyx_CyFunction_CallAsMethod, + 0, + 0, + 0, + 0, +#ifdef Py_TPFLAGS_METHOD_DESCRIPTOR + Py_TPFLAGS_METHOD_DESCRIPTOR | +#endif +#if defined(_Py_TPFLAGS_HAVE_VECTORCALL) && CYTHON_METH_FASTCALL + _Py_TPFLAGS_HAVE_VECTORCALL | +#endif + Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC | Py_TPFLAGS_BASETYPE, + 0, + (traverseproc) __Pyx_CyFunction_traverse, + (inquiry) __Pyx_CyFunction_clear, + 0, +#if PY_VERSION_HEX < 0x030500A0 + offsetof(__pyx_CyFunctionObject, func_weakreflist), +#else + offsetof(PyCFunctionObject, m_weakreflist), +#endif + 0, + 0, + __pyx_CyFunction_methods, + __pyx_CyFunction_members, + __pyx_CyFunction_getsets, + 0, + 0, + __Pyx_PyMethod_New, + 0, + offsetof(__pyx_CyFunctionObject, func_dict), + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, +#if PY_VERSION_HEX >= 0x030400a1 + 0, +#endif +#if PY_VERSION_HEX >= 0x030800b1 && (!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800) + 0, +#endif +#if __PYX_NEED_TP_PRINT_SLOT + 0, +#endif +#if PY_VERSION_HEX >= 0x030C0000 + 0, +#endif +#if CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEX < 0x030a0000 + 0, +#endif +}; +#endif +static int __pyx_CyFunction_init(PyObject *module) { +#if CYTHON_USE_TYPE_SPECS + __pyx_CyFunctionType = __Pyx_FetchCommonTypeFromSpec(module, &__pyx_CyFunctionType_spec, NULL); +#else + CYTHON_UNUSED_VAR(module); + __pyx_CyFunctionType = __Pyx_FetchCommonType(&__pyx_CyFunctionType_type); +#endif + if (unlikely(__pyx_CyFunctionType == NULL)) { + return -1; + } + return 0; +} +static CYTHON_INLINE void *__Pyx_CyFunction_InitDefaults(PyObject *func, size_t size, int pyobjects) { + __pyx_CyFunctionObject *m = (__pyx_CyFunctionObject *) func; + m->defaults = PyObject_Malloc(size); + if (unlikely(!m->defaults)) + return PyErr_NoMemory(); + memset(m->defaults, 0, size); + m->defaults_pyobjects = pyobjects; + m->defaults_size = size; + return m->defaults; +} +static CYTHON_INLINE void __Pyx_CyFunction_SetDefaultsTuple(PyObject *func, PyObject *tuple) { + __pyx_CyFunctionObject *m = (__pyx_CyFunctionObject *) func; + m->defaults_tuple = tuple; + Py_INCREF(tuple); +} +static CYTHON_INLINE void __Pyx_CyFunction_SetDefaultsKwDict(PyObject *func, PyObject *dict) { + __pyx_CyFunctionObject *m = (__pyx_CyFunctionObject *) func; + m->defaults_kwdict = dict; + Py_INCREF(dict); +} +static CYTHON_INLINE void __Pyx_CyFunction_SetAnnotationsDict(PyObject *func, PyObject *dict) { + __pyx_CyFunctionObject *m = (__pyx_CyFunctionObject *) func; + m->func_annotations = dict; + Py_INCREF(dict); +} + +/* CythonFunction */ +static PyObject *__Pyx_CyFunction_New(PyMethodDef *ml, int flags, PyObject* qualname, + PyObject *closure, PyObject *module, PyObject* globals, PyObject* code) { + PyObject *op = __Pyx_CyFunction_Init( + PyObject_GC_New(__pyx_CyFunctionObject, __pyx_CyFunctionType), + ml, flags, qualname, closure, module, globals, code + ); + if (likely(op)) { + PyObject_GC_Track(op); + } + return op; +} + +/* CLineInTraceback */ +#ifndef CYTHON_CLINE_IN_TRACEBACK +static int __Pyx_CLineForTraceback(PyThreadState *tstate, int c_line) { + PyObject *use_cline; + PyObject *ptype, *pvalue, *ptraceback; +#if CYTHON_COMPILING_IN_CPYTHON + PyObject **cython_runtime_dict; +#endif + CYTHON_MAYBE_UNUSED_VAR(tstate); + if (unlikely(!__pyx_cython_runtime)) { + return c_line; + } + __Pyx_ErrFetchInState(tstate, &ptype, &pvalue, &ptraceback); +#if CYTHON_COMPILING_IN_CPYTHON + cython_runtime_dict = _PyObject_GetDictPtr(__pyx_cython_runtime); + if (likely(cython_runtime_dict)) { + __PYX_PY_DICT_LOOKUP_IF_MODIFIED( + use_cline, *cython_runtime_dict, + __Pyx_PyDict_GetItemStr(*cython_runtime_dict, __pyx_n_s_cline_in_traceback)) + } else +#endif + { + PyObject *use_cline_obj = __Pyx_PyObject_GetAttrStrNoError(__pyx_cython_runtime, __pyx_n_s_cline_in_traceback); + if (use_cline_obj) { + use_cline = PyObject_Not(use_cline_obj) ? Py_False : Py_True; + Py_DECREF(use_cline_obj); + } else { + PyErr_Clear(); + use_cline = NULL; + } + } + if (!use_cline) { + c_line = 0; + (void) PyObject_SetAttr(__pyx_cython_runtime, __pyx_n_s_cline_in_traceback, Py_False); + } + else if (use_cline == Py_False || (use_cline != Py_True && PyObject_Not(use_cline) != 0)) { + c_line = 0; + } + __Pyx_ErrRestoreInState(tstate, ptype, pvalue, ptraceback); + return c_line; +} +#endif + +/* CodeObjectCache */ +#if !CYTHON_COMPILING_IN_LIMITED_API +static int __pyx_bisect_code_objects(__Pyx_CodeObjectCacheEntry* entries, int count, int code_line) { + int start = 0, mid = 0, end = count - 1; + if (end >= 0 && code_line > entries[end].code_line) { + return count; + } + while (start < end) { + mid = start + (end - start) / 2; + if (code_line < entries[mid].code_line) { + end = mid; + } else if (code_line > entries[mid].code_line) { + start = mid + 1; + } else { + return mid; + } + } + if (code_line <= entries[mid].code_line) { + return mid; + } else { + return mid + 1; + } +} +static PyCodeObject *__pyx_find_code_object(int code_line) { + PyCodeObject* code_object; + int pos; + if (unlikely(!code_line) || unlikely(!__pyx_code_cache.entries)) { + return NULL; + } + pos = __pyx_bisect_code_objects(__pyx_code_cache.entries, __pyx_code_cache.count, code_line); + if (unlikely(pos >= __pyx_code_cache.count) || unlikely(__pyx_code_cache.entries[pos].code_line != code_line)) { + return NULL; + } + code_object = __pyx_code_cache.entries[pos].code_object; + Py_INCREF(code_object); + return code_object; +} +static void __pyx_insert_code_object(int code_line, PyCodeObject* code_object) { + int pos, i; + __Pyx_CodeObjectCacheEntry* entries = __pyx_code_cache.entries; + if (unlikely(!code_line)) { + return; + } + if (unlikely(!entries)) { + entries = (__Pyx_CodeObjectCacheEntry*)PyMem_Malloc(64*sizeof(__Pyx_CodeObjectCacheEntry)); + if (likely(entries)) { + __pyx_code_cache.entries = entries; + __pyx_code_cache.max_count = 64; + __pyx_code_cache.count = 1; + entries[0].code_line = code_line; + entries[0].code_object = code_object; + Py_INCREF(code_object); + } + return; + } + pos = __pyx_bisect_code_objects(__pyx_code_cache.entries, __pyx_code_cache.count, code_line); + if ((pos < __pyx_code_cache.count) && unlikely(__pyx_code_cache.entries[pos].code_line == code_line)) { + PyCodeObject* tmp = entries[pos].code_object; + entries[pos].code_object = code_object; + Py_DECREF(tmp); + return; + } + if (__pyx_code_cache.count == __pyx_code_cache.max_count) { + int new_max = __pyx_code_cache.max_count + 64; + entries = (__Pyx_CodeObjectCacheEntry*)PyMem_Realloc( + __pyx_code_cache.entries, ((size_t)new_max) * sizeof(__Pyx_CodeObjectCacheEntry)); + if (unlikely(!entries)) { + return; + } + __pyx_code_cache.entries = entries; + __pyx_code_cache.max_count = new_max; + } + for (i=__pyx_code_cache.count; i>pos; i--) { + entries[i] = entries[i-1]; + } + entries[pos].code_line = code_line; + entries[pos].code_object = code_object; + __pyx_code_cache.count++; + Py_INCREF(code_object); +} +#endif + +/* AddTraceback */ +#include "compile.h" +#include "frameobject.h" +#include "traceback.h" +#if PY_VERSION_HEX >= 0x030b00a6 && !CYTHON_COMPILING_IN_LIMITED_API + #ifndef Py_BUILD_CORE + #define Py_BUILD_CORE 1 + #endif + #include "internal/pycore_frame.h" +#endif +#if CYTHON_COMPILING_IN_LIMITED_API +static PyObject *__Pyx_PyCode_Replace_For_AddTraceback(PyObject *code, PyObject *scratch_dict, + PyObject *firstlineno, PyObject *name) { + PyObject *replace = NULL; + if (unlikely(PyDict_SetItemString(scratch_dict, "co_firstlineno", firstlineno))) return NULL; + if (unlikely(PyDict_SetItemString(scratch_dict, "co_name", name))) return NULL; + replace = PyObject_GetAttrString(code, "replace"); + if (likely(replace)) { + PyObject *result; + result = PyObject_Call(replace, __pyx_empty_tuple, scratch_dict); + Py_DECREF(replace); + return result; + } + PyErr_Clear(); + #if __PYX_LIMITED_VERSION_HEX < 0x030780000 + { + PyObject *compiled = NULL, *result = NULL; + if (unlikely(PyDict_SetItemString(scratch_dict, "code", code))) return NULL; + if (unlikely(PyDict_SetItemString(scratch_dict, "type", (PyObject*)(&PyType_Type)))) return NULL; + compiled = Py_CompileString( + "out = type(code)(\n" + " code.co_argcount, code.co_kwonlyargcount, code.co_nlocals, code.co_stacksize,\n" + " code.co_flags, code.co_code, code.co_consts, code.co_names,\n" + " code.co_varnames, code.co_filename, co_name, co_firstlineno,\n" + " code.co_lnotab)\n", "", Py_file_input); + if (!compiled) return NULL; + result = PyEval_EvalCode(compiled, scratch_dict, scratch_dict); + Py_DECREF(compiled); + if (!result) PyErr_Print(); + Py_DECREF(result); + result = PyDict_GetItemString(scratch_dict, "out"); + if (result) Py_INCREF(result); + return result; + } + #else + return NULL; + #endif +} +static void __Pyx_AddTraceback(const char *funcname, int c_line, + int py_line, const char *filename) { + PyObject *code_object = NULL, *py_py_line = NULL, *py_funcname = NULL, *dict = NULL; + PyObject *replace = NULL, *getframe = NULL, *frame = NULL; + PyObject *exc_type, *exc_value, *exc_traceback; + int success = 0; + if (c_line) { + (void) __pyx_cfilenm; + (void) __Pyx_CLineForTraceback(__Pyx_PyThreadState_Current, c_line); + } + PyErr_Fetch(&exc_type, &exc_value, &exc_traceback); + code_object = Py_CompileString("_getframe()", filename, Py_eval_input); + if (unlikely(!code_object)) goto bad; + py_py_line = PyLong_FromLong(py_line); + if (unlikely(!py_py_line)) goto bad; + py_funcname = PyUnicode_FromString(funcname); + if (unlikely(!py_funcname)) goto bad; + dict = PyDict_New(); + if (unlikely(!dict)) goto bad; + { + PyObject *old_code_object = code_object; + code_object = __Pyx_PyCode_Replace_For_AddTraceback(code_object, dict, py_py_line, py_funcname); + Py_DECREF(old_code_object); + } + if (unlikely(!code_object)) goto bad; + getframe = PySys_GetObject("_getframe"); + if (unlikely(!getframe)) goto bad; + if (unlikely(PyDict_SetItemString(dict, "_getframe", getframe))) goto bad; + frame = PyEval_EvalCode(code_object, dict, dict); + if (unlikely(!frame) || frame == Py_None) goto bad; + success = 1; + bad: + PyErr_Restore(exc_type, exc_value, exc_traceback); + Py_XDECREF(code_object); + Py_XDECREF(py_py_line); + Py_XDECREF(py_funcname); + Py_XDECREF(dict); + Py_XDECREF(replace); + if (success) { + PyTraceBack_Here( + (struct _frame*)frame); + } + Py_XDECREF(frame); +} +#else +static PyCodeObject* __Pyx_CreateCodeObjectForTraceback( + const char *funcname, int c_line, + int py_line, const char *filename) { + PyCodeObject *py_code = NULL; + PyObject *py_funcname = NULL; + #if PY_MAJOR_VERSION < 3 + PyObject *py_srcfile = NULL; + py_srcfile = PyString_FromString(filename); + if (!py_srcfile) goto bad; + #endif + if (c_line) { + #if PY_MAJOR_VERSION < 3 + py_funcname = PyString_FromFormat( "%s (%s:%d)", funcname, __pyx_cfilenm, c_line); + if (!py_funcname) goto bad; + #else + py_funcname = PyUnicode_FromFormat( "%s (%s:%d)", funcname, __pyx_cfilenm, c_line); + if (!py_funcname) goto bad; + funcname = PyUnicode_AsUTF8(py_funcname); + if (!funcname) goto bad; + #endif + } + else { + #if PY_MAJOR_VERSION < 3 + py_funcname = PyString_FromString(funcname); + if (!py_funcname) goto bad; + #endif + } + #if PY_MAJOR_VERSION < 3 + py_code = __Pyx_PyCode_New( + 0, + 0, + 0, + 0, + 0, + 0, + __pyx_empty_bytes, /*PyObject *code,*/ + __pyx_empty_tuple, /*PyObject *consts,*/ + __pyx_empty_tuple, /*PyObject *names,*/ + __pyx_empty_tuple, /*PyObject *varnames,*/ + __pyx_empty_tuple, /*PyObject *freevars,*/ + __pyx_empty_tuple, /*PyObject *cellvars,*/ + py_srcfile, /*PyObject *filename,*/ + py_funcname, /*PyObject *name,*/ + py_line, + __pyx_empty_bytes /*PyObject *lnotab*/ + ); + Py_DECREF(py_srcfile); + #else + py_code = PyCode_NewEmpty(filename, funcname, py_line); + #endif + Py_XDECREF(py_funcname); + return py_code; +bad: + Py_XDECREF(py_funcname); + #if PY_MAJOR_VERSION < 3 + Py_XDECREF(py_srcfile); + #endif + return NULL; +} +static void __Pyx_AddTraceback(const char *funcname, int c_line, + int py_line, const char *filename) { + PyCodeObject *py_code = 0; + PyFrameObject *py_frame = 0; + PyThreadState *tstate = __Pyx_PyThreadState_Current; + PyObject *ptype, *pvalue, *ptraceback; + if (c_line) { + c_line = __Pyx_CLineForTraceback(tstate, c_line); + } + py_code = __pyx_find_code_object(c_line ? -c_line : py_line); + if (!py_code) { + __Pyx_ErrFetchInState(tstate, &ptype, &pvalue, &ptraceback); + py_code = __Pyx_CreateCodeObjectForTraceback( + funcname, c_line, py_line, filename); + if (!py_code) { + /* If the code object creation fails, then we should clear the + fetched exception references and propagate the new exception */ + Py_XDECREF(ptype); + Py_XDECREF(pvalue); + Py_XDECREF(ptraceback); + goto bad; + } + __Pyx_ErrRestoreInState(tstate, ptype, pvalue, ptraceback); + __pyx_insert_code_object(c_line ? -c_line : py_line, py_code); + } + py_frame = PyFrame_New( + tstate, /*PyThreadState *tstate,*/ + py_code, /*PyCodeObject *code,*/ + __pyx_d, /*PyObject *globals,*/ + 0 /*PyObject *locals*/ + ); + if (!py_frame) goto bad; + __Pyx_PyFrame_SetLineNumber(py_frame, py_line); + PyTraceBack_Here(py_frame); +bad: + Py_XDECREF(py_code); + Py_XDECREF(py_frame); +} +#endif + +#if PY_MAJOR_VERSION < 3 +static int __Pyx_GetBuffer(PyObject *obj, Py_buffer *view, int flags) { + __Pyx_TypeName obj_type_name; + if (PyObject_CheckBuffer(obj)) return PyObject_GetBuffer(obj, view, flags); + if (__Pyx_TypeCheck(obj, __pyx_array_type)) return __pyx_array_getbuffer(obj, view, flags); + if (__Pyx_TypeCheck(obj, __pyx_memoryview_type)) return __pyx_memoryview_getbuffer(obj, view, flags); + obj_type_name = __Pyx_PyType_GetName(Py_TYPE(obj)); + PyErr_Format(PyExc_TypeError, + "'" __Pyx_FMT_TYPENAME "' does not have the buffer interface", + obj_type_name); + __Pyx_DECREF_TypeName(obj_type_name); + return -1; +} +static void __Pyx_ReleaseBuffer(Py_buffer *view) { + PyObject *obj = view->obj; + if (!obj) return; + if (PyObject_CheckBuffer(obj)) { + PyBuffer_Release(view); + return; + } + if ((0)) {} + view->obj = NULL; + Py_DECREF(obj); +} +#endif + + +/* MemviewSliceIsContig */ +static int +__pyx_memviewslice_is_contig(const __Pyx_memviewslice mvs, char order, int ndim) +{ + int i, index, step, start; + Py_ssize_t itemsize = mvs.memview->view.itemsize; + if (order == 'F') { + step = 1; + start = 0; + } else { + step = -1; + start = ndim - 1; + } + for (i = 0; i < ndim; i++) { + index = start + step * i; + if (mvs.suboffsets[index] >= 0 || mvs.strides[index] != itemsize) + return 0; + itemsize *= mvs.shape[index]; + } + return 1; +} + +/* OverlappingSlices */ +static void +__pyx_get_array_memory_extents(__Pyx_memviewslice *slice, + void **out_start, void **out_end, + int ndim, size_t itemsize) +{ + char *start, *end; + int i; + start = end = slice->data; + for (i = 0; i < ndim; i++) { + Py_ssize_t stride = slice->strides[i]; + Py_ssize_t extent = slice->shape[i]; + if (extent == 0) { + *out_start = *out_end = start; + return; + } else { + if (stride > 0) + end += stride * (extent - 1); + else + start += stride * (extent - 1); + } + } + *out_start = start; + *out_end = end + itemsize; +} +static int +__pyx_slices_overlap(__Pyx_memviewslice *slice1, + __Pyx_memviewslice *slice2, + int ndim, size_t itemsize) +{ + void *start1, *end1, *start2, *end2; + __pyx_get_array_memory_extents(slice1, &start1, &end1, ndim, itemsize); + __pyx_get_array_memory_extents(slice2, &start2, &end2, ndim, itemsize); + return (start1 < end2) && (start2 < end1); +} + +/* IsLittleEndian */ +static CYTHON_INLINE int __Pyx_Is_Little_Endian(void) +{ + union { + uint32_t u32; + uint8_t u8[4]; + } S; + S.u32 = 0x01020304; + return S.u8[0] == 4; +} + +/* BufferFormatCheck */ +static void __Pyx_BufFmt_Init(__Pyx_BufFmt_Context* ctx, + __Pyx_BufFmt_StackElem* stack, + __Pyx_TypeInfo* type) { + stack[0].field = &ctx->root; + stack[0].parent_offset = 0; + ctx->root.type = type; + ctx->root.name = "buffer dtype"; + ctx->root.offset = 0; + ctx->head = stack; + ctx->head->field = &ctx->root; + ctx->fmt_offset = 0; + ctx->head->parent_offset = 0; + ctx->new_packmode = '@'; + ctx->enc_packmode = '@'; + ctx->new_count = 1; + ctx->enc_count = 0; + ctx->enc_type = 0; + ctx->is_complex = 0; + ctx->is_valid_array = 0; + ctx->struct_alignment = 0; + while (type->typegroup == 'S') { + ++ctx->head; + ctx->head->field = type->fields; + ctx->head->parent_offset = 0; + type = type->fields->type; + } +} +static int __Pyx_BufFmt_ParseNumber(const char** ts) { + int count; + const char* t = *ts; + if (*t < '0' || *t > '9') { + return -1; + } else { + count = *t++ - '0'; + while (*t >= '0' && *t <= '9') { + count *= 10; + count += *t++ - '0'; + } + } + *ts = t; + return count; +} +static int __Pyx_BufFmt_ExpectNumber(const char **ts) { + int number = __Pyx_BufFmt_ParseNumber(ts); + if (number == -1) + PyErr_Format(PyExc_ValueError,\ + "Does not understand character buffer dtype format string ('%c')", **ts); + return number; +} +static void __Pyx_BufFmt_RaiseUnexpectedChar(char ch) { + PyErr_Format(PyExc_ValueError, + "Unexpected format string character: '%c'", ch); +} +static const char* __Pyx_BufFmt_DescribeTypeChar(char ch, int is_complex) { + switch (ch) { + case '?': return "'bool'"; + case 'c': return "'char'"; + case 'b': return "'signed char'"; + case 'B': return "'unsigned char'"; + case 'h': return "'short'"; + case 'H': return "'unsigned short'"; + case 'i': return "'int'"; + case 'I': return "'unsigned int'"; + case 'l': return "'long'"; + case 'L': return "'unsigned long'"; + case 'q': return "'long long'"; + case 'Q': return "'unsigned long long'"; + case 'f': return (is_complex ? "'complex float'" : "'float'"); + case 'd': return (is_complex ? "'complex double'" : "'double'"); + case 'g': return (is_complex ? "'complex long double'" : "'long double'"); + case 'T': return "a struct"; + case 'O': return "Python object"; + case 'P': return "a pointer"; + case 's': case 'p': return "a string"; + case 0: return "end"; + default: return "unparsable format string"; + } +} +static size_t __Pyx_BufFmt_TypeCharToStandardSize(char ch, int is_complex) { + switch (ch) { + case '?': case 'c': case 'b': case 'B': case 's': case 'p': return 1; + case 'h': case 'H': return 2; + case 'i': case 'I': case 'l': case 'L': return 4; + case 'q': case 'Q': return 8; + case 'f': return (is_complex ? 8 : 4); + case 'd': return (is_complex ? 16 : 8); + case 'g': { + PyErr_SetString(PyExc_ValueError, "Python does not define a standard format string size for long double ('g').."); + return 0; + } + case 'O': case 'P': return sizeof(void*); + default: + __Pyx_BufFmt_RaiseUnexpectedChar(ch); + return 0; + } +} +static size_t __Pyx_BufFmt_TypeCharToNativeSize(char ch, int is_complex) { + switch (ch) { + case '?': case 'c': case 'b': case 'B': case 's': case 'p': return 1; + case 'h': case 'H': return sizeof(short); + case 'i': case 'I': return sizeof(int); + case 'l': case 'L': return sizeof(long); + #ifdef HAVE_LONG_LONG + case 'q': case 'Q': return sizeof(PY_LONG_LONG); + #endif + case 'f': return sizeof(float) * (is_complex ? 2 : 1); + case 'd': return sizeof(double) * (is_complex ? 2 : 1); + case 'g': return sizeof(long double) * (is_complex ? 2 : 1); + case 'O': case 'P': return sizeof(void*); + default: { + __Pyx_BufFmt_RaiseUnexpectedChar(ch); + return 0; + } + } +} +typedef struct { char c; short x; } __Pyx_st_short; +typedef struct { char c; int x; } __Pyx_st_int; +typedef struct { char c; long x; } __Pyx_st_long; +typedef struct { char c; float x; } __Pyx_st_float; +typedef struct { char c; double x; } __Pyx_st_double; +typedef struct { char c; long double x; } __Pyx_st_longdouble; +typedef struct { char c; void *x; } __Pyx_st_void_p; +#ifdef HAVE_LONG_LONG +typedef struct { char c; PY_LONG_LONG x; } __Pyx_st_longlong; +#endif +static size_t __Pyx_BufFmt_TypeCharToAlignment(char ch, int is_complex) { + CYTHON_UNUSED_VAR(is_complex); + switch (ch) { + case '?': case 'c': case 'b': case 'B': case 's': case 'p': return 1; + case 'h': case 'H': return sizeof(__Pyx_st_short) - sizeof(short); + case 'i': case 'I': return sizeof(__Pyx_st_int) - sizeof(int); + case 'l': case 'L': return sizeof(__Pyx_st_long) - sizeof(long); +#ifdef HAVE_LONG_LONG + case 'q': case 'Q': return sizeof(__Pyx_st_longlong) - sizeof(PY_LONG_LONG); +#endif + case 'f': return sizeof(__Pyx_st_float) - sizeof(float); + case 'd': return sizeof(__Pyx_st_double) - sizeof(double); + case 'g': return sizeof(__Pyx_st_longdouble) - sizeof(long double); + case 'P': case 'O': return sizeof(__Pyx_st_void_p) - sizeof(void*); + default: + __Pyx_BufFmt_RaiseUnexpectedChar(ch); + return 0; + } +} +/* These are for computing the padding at the end of the struct to align + on the first member of the struct. This will probably the same as above, + but we don't have any guarantees. + */ +typedef struct { short x; char c; } __Pyx_pad_short; +typedef struct { int x; char c; } __Pyx_pad_int; +typedef struct { long x; char c; } __Pyx_pad_long; +typedef struct { float x; char c; } __Pyx_pad_float; +typedef struct { double x; char c; } __Pyx_pad_double; +typedef struct { long double x; char c; } __Pyx_pad_longdouble; +typedef struct { void *x; char c; } __Pyx_pad_void_p; +#ifdef HAVE_LONG_LONG +typedef struct { PY_LONG_LONG x; char c; } __Pyx_pad_longlong; +#endif +static size_t __Pyx_BufFmt_TypeCharToPadding(char ch, int is_complex) { + CYTHON_UNUSED_VAR(is_complex); + switch (ch) { + case '?': case 'c': case 'b': case 'B': case 's': case 'p': return 1; + case 'h': case 'H': return sizeof(__Pyx_pad_short) - sizeof(short); + case 'i': case 'I': return sizeof(__Pyx_pad_int) - sizeof(int); + case 'l': case 'L': return sizeof(__Pyx_pad_long) - sizeof(long); +#ifdef HAVE_LONG_LONG + case 'q': case 'Q': return sizeof(__Pyx_pad_longlong) - sizeof(PY_LONG_LONG); +#endif + case 'f': return sizeof(__Pyx_pad_float) - sizeof(float); + case 'd': return sizeof(__Pyx_pad_double) - sizeof(double); + case 'g': return sizeof(__Pyx_pad_longdouble) - sizeof(long double); + case 'P': case 'O': return sizeof(__Pyx_pad_void_p) - sizeof(void*); + default: + __Pyx_BufFmt_RaiseUnexpectedChar(ch); + return 0; + } +} +static char __Pyx_BufFmt_TypeCharToGroup(char ch, int is_complex) { + switch (ch) { + case 'c': + return 'H'; + case 'b': case 'h': case 'i': + case 'l': case 'q': case 's': case 'p': + return 'I'; + case '?': case 'B': case 'H': case 'I': case 'L': case 'Q': + return 'U'; + case 'f': case 'd': case 'g': + return (is_complex ? 'C' : 'R'); + case 'O': + return 'O'; + case 'P': + return 'P'; + default: { + __Pyx_BufFmt_RaiseUnexpectedChar(ch); + return 0; + } + } +} +static void __Pyx_BufFmt_RaiseExpected(__Pyx_BufFmt_Context* ctx) { + if (ctx->head == NULL || ctx->head->field == &ctx->root) { + const char* expected; + const char* quote; + if (ctx->head == NULL) { + expected = "end"; + quote = ""; + } else { + expected = ctx->head->field->type->name; + quote = "'"; + } + PyErr_Format(PyExc_ValueError, + "Buffer dtype mismatch, expected %s%s%s but got %s", + quote, expected, quote, + __Pyx_BufFmt_DescribeTypeChar(ctx->enc_type, ctx->is_complex)); + } else { + __Pyx_StructField* field = ctx->head->field; + __Pyx_StructField* parent = (ctx->head - 1)->field; + PyErr_Format(PyExc_ValueError, + "Buffer dtype mismatch, expected '%s' but got %s in '%s.%s'", + field->type->name, __Pyx_BufFmt_DescribeTypeChar(ctx->enc_type, ctx->is_complex), + parent->type->name, field->name); + } +} +static int __Pyx_BufFmt_ProcessTypeChunk(__Pyx_BufFmt_Context* ctx) { + char group; + size_t size, offset, arraysize = 1; + if (ctx->enc_type == 0) return 0; + if (ctx->head->field->type->arraysize[0]) { + int i, ndim = 0; + if (ctx->enc_type == 's' || ctx->enc_type == 'p') { + ctx->is_valid_array = ctx->head->field->type->ndim == 1; + ndim = 1; + if (ctx->enc_count != ctx->head->field->type->arraysize[0]) { + PyErr_Format(PyExc_ValueError, + "Expected a dimension of size %zu, got %zu", + ctx->head->field->type->arraysize[0], ctx->enc_count); + return -1; + } + } + if (!ctx->is_valid_array) { + PyErr_Format(PyExc_ValueError, "Expected %d dimensions, got %d", + ctx->head->field->type->ndim, ndim); + return -1; + } + for (i = 0; i < ctx->head->field->type->ndim; i++) { + arraysize *= ctx->head->field->type->arraysize[i]; + } + ctx->is_valid_array = 0; + ctx->enc_count = 1; + } + group = __Pyx_BufFmt_TypeCharToGroup(ctx->enc_type, ctx->is_complex); + do { + __Pyx_StructField* field = ctx->head->field; + __Pyx_TypeInfo* type = field->type; + if (ctx->enc_packmode == '@' || ctx->enc_packmode == '^') { + size = __Pyx_BufFmt_TypeCharToNativeSize(ctx->enc_type, ctx->is_complex); + } else { + size = __Pyx_BufFmt_TypeCharToStandardSize(ctx->enc_type, ctx->is_complex); + } + if (ctx->enc_packmode == '@') { + size_t align_at = __Pyx_BufFmt_TypeCharToAlignment(ctx->enc_type, ctx->is_complex); + size_t align_mod_offset; + if (align_at == 0) return -1; + align_mod_offset = ctx->fmt_offset % align_at; + if (align_mod_offset > 0) ctx->fmt_offset += align_at - align_mod_offset; + if (ctx->struct_alignment == 0) + ctx->struct_alignment = __Pyx_BufFmt_TypeCharToPadding(ctx->enc_type, + ctx->is_complex); + } + if (type->size != size || type->typegroup != group) { + if (type->typegroup == 'C' && type->fields != NULL) { + size_t parent_offset = ctx->head->parent_offset + field->offset; + ++ctx->head; + ctx->head->field = type->fields; + ctx->head->parent_offset = parent_offset; + continue; + } + if ((type->typegroup == 'H' || group == 'H') && type->size == size) { + } else { + __Pyx_BufFmt_RaiseExpected(ctx); + return -1; + } + } + offset = ctx->head->parent_offset + field->offset; + if (ctx->fmt_offset != offset) { + PyErr_Format(PyExc_ValueError, + "Buffer dtype mismatch; next field is at offset %" CYTHON_FORMAT_SSIZE_T "d but %" CYTHON_FORMAT_SSIZE_T "d expected", + (Py_ssize_t)ctx->fmt_offset, (Py_ssize_t)offset); + return -1; + } + ctx->fmt_offset += size; + if (arraysize) + ctx->fmt_offset += (arraysize - 1) * size; + --ctx->enc_count; + while (1) { + if (field == &ctx->root) { + ctx->head = NULL; + if (ctx->enc_count != 0) { + __Pyx_BufFmt_RaiseExpected(ctx); + return -1; + } + break; + } + ctx->head->field = ++field; + if (field->type == NULL) { + --ctx->head; + field = ctx->head->field; + continue; + } else if (field->type->typegroup == 'S') { + size_t parent_offset = ctx->head->parent_offset + field->offset; + if (field->type->fields->type == NULL) continue; + field = field->type->fields; + ++ctx->head; + ctx->head->field = field; + ctx->head->parent_offset = parent_offset; + break; + } else { + break; + } + } + } while (ctx->enc_count); + ctx->enc_type = 0; + ctx->is_complex = 0; + return 0; +} +static int +__pyx_buffmt_parse_array(__Pyx_BufFmt_Context* ctx, const char** tsp) +{ + const char *ts = *tsp; + int i = 0, number, ndim; + ++ts; + if (ctx->new_count != 1) { + PyErr_SetString(PyExc_ValueError, + "Cannot handle repeated arrays in format string"); + return -1; + } + if (__Pyx_BufFmt_ProcessTypeChunk(ctx) == -1) return -1; + ndim = ctx->head->field->type->ndim; + while (*ts && *ts != ')') { + switch (*ts) { + case ' ': case '\f': case '\r': case '\n': case '\t': case '\v': continue; + default: break; + } + number = __Pyx_BufFmt_ExpectNumber(&ts); + if (number == -1) return -1; + if (i < ndim && (size_t) number != ctx->head->field->type->arraysize[i]) { + PyErr_Format(PyExc_ValueError, + "Expected a dimension of size %zu, got %d", + ctx->head->field->type->arraysize[i], number); + return -1; + } + if (*ts != ',' && *ts != ')') { + PyErr_Format(PyExc_ValueError, + "Expected a comma in format string, got '%c'", *ts); + return -1; + } + if (*ts == ',') ts++; + i++; + } + if (i != ndim) { + PyErr_Format(PyExc_ValueError, "Expected %d dimension(s), got %d", + ctx->head->field->type->ndim, i); + return -1; + } + if (!*ts) { + PyErr_SetString(PyExc_ValueError, + "Unexpected end of format string, expected ')'"); + return -1; + } + ctx->is_valid_array = 1; + ctx->new_count = 1; + *tsp = ++ts; + return 0; +} +static const char* __Pyx_BufFmt_CheckString(__Pyx_BufFmt_Context* ctx, const char* ts) { + int got_Z = 0; + while (1) { + switch(*ts) { + case 0: + if (ctx->enc_type != 0 && ctx->head == NULL) { + __Pyx_BufFmt_RaiseExpected(ctx); + return NULL; + } + if (__Pyx_BufFmt_ProcessTypeChunk(ctx) == -1) return NULL; + if (ctx->head != NULL) { + __Pyx_BufFmt_RaiseExpected(ctx); + return NULL; + } + return ts; + case ' ': + case '\r': + case '\n': + ++ts; + break; + case '<': + if (!__Pyx_Is_Little_Endian()) { + PyErr_SetString(PyExc_ValueError, "Little-endian buffer not supported on big-endian compiler"); + return NULL; + } + ctx->new_packmode = '='; + ++ts; + break; + case '>': + case '!': + if (__Pyx_Is_Little_Endian()) { + PyErr_SetString(PyExc_ValueError, "Big-endian buffer not supported on little-endian compiler"); + return NULL; + } + ctx->new_packmode = '='; + ++ts; + break; + case '=': + case '@': + case '^': + ctx->new_packmode = *ts++; + break; + case 'T': + { + const char* ts_after_sub; + size_t i, struct_count = ctx->new_count; + size_t struct_alignment = ctx->struct_alignment; + ctx->new_count = 1; + ++ts; + if (*ts != '{') { + PyErr_SetString(PyExc_ValueError, "Buffer acquisition: Expected '{' after 'T'"); + return NULL; + } + if (__Pyx_BufFmt_ProcessTypeChunk(ctx) == -1) return NULL; + ctx->enc_type = 0; + ctx->enc_count = 0; + ctx->struct_alignment = 0; + ++ts; + ts_after_sub = ts; + for (i = 0; i != struct_count; ++i) { + ts_after_sub = __Pyx_BufFmt_CheckString(ctx, ts); + if (!ts_after_sub) return NULL; + } + ts = ts_after_sub; + if (struct_alignment) ctx->struct_alignment = struct_alignment; + } + break; + case '}': + { + size_t alignment = ctx->struct_alignment; + ++ts; + if (__Pyx_BufFmt_ProcessTypeChunk(ctx) == -1) return NULL; + ctx->enc_type = 0; + if (alignment && ctx->fmt_offset % alignment) { + ctx->fmt_offset += alignment - (ctx->fmt_offset % alignment); + } + } + return ts; + case 'x': + if (__Pyx_BufFmt_ProcessTypeChunk(ctx) == -1) return NULL; + ctx->fmt_offset += ctx->new_count; + ctx->new_count = 1; + ctx->enc_count = 0; + ctx->enc_type = 0; + ctx->enc_packmode = ctx->new_packmode; + ++ts; + break; + case 'Z': + got_Z = 1; + ++ts; + if (*ts != 'f' && *ts != 'd' && *ts != 'g') { + __Pyx_BufFmt_RaiseUnexpectedChar('Z'); + return NULL; + } + CYTHON_FALLTHROUGH; + case '?': case 'c': case 'b': case 'B': case 'h': case 'H': case 'i': case 'I': + case 'l': case 'L': case 'q': case 'Q': + case 'f': case 'd': case 'g': + case 'O': case 'p': + if ((ctx->enc_type == *ts) && (got_Z == ctx->is_complex) && + (ctx->enc_packmode == ctx->new_packmode) && (!ctx->is_valid_array)) { + ctx->enc_count += ctx->new_count; + ctx->new_count = 1; + got_Z = 0; + ++ts; + break; + } + CYTHON_FALLTHROUGH; + case 's': + if (__Pyx_BufFmt_ProcessTypeChunk(ctx) == -1) return NULL; + ctx->enc_count = ctx->new_count; + ctx->enc_packmode = ctx->new_packmode; + ctx->enc_type = *ts; + ctx->is_complex = got_Z; + ++ts; + ctx->new_count = 1; + got_Z = 0; + break; + case ':': + ++ts; + while(*ts != ':') ++ts; + ++ts; + break; + case '(': + if (__pyx_buffmt_parse_array(ctx, &ts) < 0) return NULL; + break; + default: + { + int number = __Pyx_BufFmt_ExpectNumber(&ts); + if (number == -1) return NULL; + ctx->new_count = (size_t)number; + } + } + } +} + +/* TypeInfoCompare */ + static int +__pyx_typeinfo_cmp(__Pyx_TypeInfo *a, __Pyx_TypeInfo *b) +{ + int i; + if (!a || !b) + return 0; + if (a == b) + return 1; + if (a->size != b->size || a->typegroup != b->typegroup || + a->is_unsigned != b->is_unsigned || a->ndim != b->ndim) { + if (a->typegroup == 'H' || b->typegroup == 'H') { + return a->size == b->size; + } else { + return 0; + } + } + if (a->ndim) { + for (i = 0; i < a->ndim; i++) + if (a->arraysize[i] != b->arraysize[i]) + return 0; + } + if (a->typegroup == 'S') { + if (a->flags != b->flags) + return 0; + if (a->fields || b->fields) { + if (!(a->fields && b->fields)) + return 0; + for (i = 0; a->fields[i].type && b->fields[i].type; i++) { + __Pyx_StructField *field_a = a->fields + i; + __Pyx_StructField *field_b = b->fields + i; + if (field_a->offset != field_b->offset || + !__pyx_typeinfo_cmp(field_a->type, field_b->type)) + return 0; + } + return !a->fields[i].type && !b->fields[i].type; + } + } + return 1; +} + +/* MemviewSliceValidateAndInit */ + static int +__pyx_check_strides(Py_buffer *buf, int dim, int ndim, int spec) +{ + if (buf->shape[dim] <= 1) + return 1; + if (buf->strides) { + if (spec & __Pyx_MEMVIEW_CONTIG) { + if (spec & (__Pyx_MEMVIEW_PTR|__Pyx_MEMVIEW_FULL)) { + if (unlikely(buf->strides[dim] != sizeof(void *))) { + PyErr_Format(PyExc_ValueError, + "Buffer is not indirectly contiguous " + "in dimension %d.", dim); + goto fail; + } + } else if (unlikely(buf->strides[dim] != buf->itemsize)) { + PyErr_SetString(PyExc_ValueError, + "Buffer and memoryview are not contiguous " + "in the same dimension."); + goto fail; + } + } + if (spec & __Pyx_MEMVIEW_FOLLOW) { + Py_ssize_t stride = buf->strides[dim]; + if (stride < 0) + stride = -stride; + if (unlikely(stride < buf->itemsize)) { + PyErr_SetString(PyExc_ValueError, + "Buffer and memoryview are not contiguous " + "in the same dimension."); + goto fail; + } + } + } else { + if (unlikely(spec & __Pyx_MEMVIEW_CONTIG && dim != ndim - 1)) { + PyErr_Format(PyExc_ValueError, + "C-contiguous buffer is not contiguous in " + "dimension %d", dim); + goto fail; + } else if (unlikely(spec & (__Pyx_MEMVIEW_PTR))) { + PyErr_Format(PyExc_ValueError, + "C-contiguous buffer is not indirect in " + "dimension %d", dim); + goto fail; + } else if (unlikely(buf->suboffsets)) { + PyErr_SetString(PyExc_ValueError, + "Buffer exposes suboffsets but no strides"); + goto fail; + } + } + return 1; +fail: + return 0; +} +static int +__pyx_check_suboffsets(Py_buffer *buf, int dim, int ndim, int spec) +{ + CYTHON_UNUSED_VAR(ndim); + if (spec & __Pyx_MEMVIEW_DIRECT) { + if (unlikely(buf->suboffsets && buf->suboffsets[dim] >= 0)) { + PyErr_Format(PyExc_ValueError, + "Buffer not compatible with direct access " + "in dimension %d.", dim); + goto fail; + } + } + if (spec & __Pyx_MEMVIEW_PTR) { + if (unlikely(!buf->suboffsets || (buf->suboffsets[dim] < 0))) { + PyErr_Format(PyExc_ValueError, + "Buffer is not indirectly accessible " + "in dimension %d.", dim); + goto fail; + } + } + return 1; +fail: + return 0; +} +static int +__pyx_verify_contig(Py_buffer *buf, int ndim, int c_or_f_flag) +{ + int i; + if (c_or_f_flag & __Pyx_IS_F_CONTIG) { + Py_ssize_t stride = 1; + for (i = 0; i < ndim; i++) { + if (unlikely(stride * buf->itemsize != buf->strides[i] && buf->shape[i] > 1)) { + PyErr_SetString(PyExc_ValueError, + "Buffer not fortran contiguous."); + goto fail; + } + stride = stride * buf->shape[i]; + } + } else if (c_or_f_flag & __Pyx_IS_C_CONTIG) { + Py_ssize_t stride = 1; + for (i = ndim - 1; i >- 1; i--) { + if (unlikely(stride * buf->itemsize != buf->strides[i] && buf->shape[i] > 1)) { + PyErr_SetString(PyExc_ValueError, + "Buffer not C contiguous."); + goto fail; + } + stride = stride * buf->shape[i]; + } + } + return 1; +fail: + return 0; +} +static int __Pyx_ValidateAndInit_memviewslice( + int *axes_specs, + int c_or_f_flag, + int buf_flags, + int ndim, + __Pyx_TypeInfo *dtype, + __Pyx_BufFmt_StackElem stack[], + __Pyx_memviewslice *memviewslice, + PyObject *original_obj) +{ + struct __pyx_memoryview_obj *memview, *new_memview; + __Pyx_RefNannyDeclarations + Py_buffer *buf; + int i, spec = 0, retval = -1; + __Pyx_BufFmt_Context ctx; + int from_memoryview = __pyx_memoryview_check(original_obj); + __Pyx_RefNannySetupContext("ValidateAndInit_memviewslice", 0); + if (from_memoryview && __pyx_typeinfo_cmp(dtype, ((struct __pyx_memoryview_obj *) + original_obj)->typeinfo)) { + memview = (struct __pyx_memoryview_obj *) original_obj; + new_memview = NULL; + } else { + memview = (struct __pyx_memoryview_obj *) __pyx_memoryview_new( + original_obj, buf_flags, 0, dtype); + new_memview = memview; + if (unlikely(!memview)) + goto fail; + } + buf = &memview->view; + if (unlikely(buf->ndim != ndim)) { + PyErr_Format(PyExc_ValueError, + "Buffer has wrong number of dimensions (expected %d, got %d)", + ndim, buf->ndim); + goto fail; + } + if (new_memview) { + __Pyx_BufFmt_Init(&ctx, stack, dtype); + if (unlikely(!__Pyx_BufFmt_CheckString(&ctx, buf->format))) goto fail; + } + if (unlikely((unsigned) buf->itemsize != dtype->size)) { + PyErr_Format(PyExc_ValueError, + "Item size of buffer (%" CYTHON_FORMAT_SSIZE_T "u byte%s) " + "does not match size of '%s' (%" CYTHON_FORMAT_SSIZE_T "u byte%s)", + buf->itemsize, + (buf->itemsize > 1) ? "s" : "", + dtype->name, + dtype->size, + (dtype->size > 1) ? "s" : ""); + goto fail; + } + if (buf->len > 0) { + for (i = 0; i < ndim; i++) { + spec = axes_specs[i]; + if (unlikely(!__pyx_check_strides(buf, i, ndim, spec))) + goto fail; + if (unlikely(!__pyx_check_suboffsets(buf, i, ndim, spec))) + goto fail; + } + if (unlikely(buf->strides && !__pyx_verify_contig(buf, ndim, c_or_f_flag))) + goto fail; + } + if (unlikely(__Pyx_init_memviewslice(memview, ndim, memviewslice, + new_memview != NULL) == -1)) { + goto fail; + } + retval = 0; + goto no_fail; +fail: + Py_XDECREF(new_memview); + retval = -1; +no_fail: + __Pyx_RefNannyFinishContext(); + return retval; +} + +/* ObjectToMemviewSlice */ + static CYTHON_INLINE __Pyx_memviewslice __Pyx_PyObject_to_MemoryviewSlice_ds_float(PyObject *obj, int writable_flag) { + __Pyx_memviewslice result = { 0, 0, { 0 }, { 0 }, { 0 } }; + __Pyx_BufFmt_StackElem stack[1]; + int axes_specs[] = { (__Pyx_MEMVIEW_DIRECT | __Pyx_MEMVIEW_STRIDED) }; + int retcode; + if (obj == Py_None) { + result.memview = (struct __pyx_memoryview_obj *) Py_None; + return result; + } + retcode = __Pyx_ValidateAndInit_memviewslice(axes_specs, 0, + PyBUF_RECORDS_RO | writable_flag, 1, + &__Pyx_TypeInfo_float, stack, + &result, obj); + if (unlikely(retcode == -1)) + goto __pyx_fail; + return result; +__pyx_fail: + result.memview = NULL; + result.data = NULL; + return result; +} + +/* CIntFromPyVerify */ + #define __PYX_VERIFY_RETURN_INT(target_type, func_type, func_value)\ + __PYX__VERIFY_RETURN_INT(target_type, func_type, func_value, 0) +#define __PYX_VERIFY_RETURN_INT_EXC(target_type, func_type, func_value)\ + __PYX__VERIFY_RETURN_INT(target_type, func_type, func_value, 1) +#define __PYX__VERIFY_RETURN_INT(target_type, func_type, func_value, exc)\ + {\ + func_type value = func_value;\ + if (sizeof(target_type) < sizeof(func_type)) {\ + if (unlikely(value != (func_type) (target_type) value)) {\ + func_type zero = 0;\ + if (exc && unlikely(value == (func_type)-1 && PyErr_Occurred()))\ + return (target_type) -1;\ + if (is_unsigned && unlikely(value < zero))\ + goto raise_neg_overflow;\ + else\ + goto raise_overflow;\ + }\ + }\ + return (target_type) value;\ + } + +/* MemviewDtypeToObject */ + static CYTHON_INLINE PyObject *__pyx_memview_get_float(const char *itemp) { + return (PyObject *) PyFloat_FromDouble(*(float *) itemp); +} +static CYTHON_INLINE int __pyx_memview_set_float(const char *itemp, PyObject *obj) { + float value = __pyx_PyFloat_AsFloat(obj); + if (unlikely((value == (float)-1) && PyErr_Occurred())) + return 0; + *(float *) itemp = value; + return 1; +} + +/* ObjectToMemviewSlice */ + static CYTHON_INLINE __Pyx_memviewslice __Pyx_PyObject_to_MemoryviewSlice_ds_int(PyObject *obj, int writable_flag) { + __Pyx_memviewslice result = { 0, 0, { 0 }, { 0 }, { 0 } }; + __Pyx_BufFmt_StackElem stack[1]; + int axes_specs[] = { (__Pyx_MEMVIEW_DIRECT | __Pyx_MEMVIEW_STRIDED) }; + int retcode; + if (obj == Py_None) { + result.memview = (struct __pyx_memoryview_obj *) Py_None; + return result; + } + retcode = __Pyx_ValidateAndInit_memviewslice(axes_specs, 0, + PyBUF_RECORDS_RO | writable_flag, 1, + &__Pyx_TypeInfo_int, stack, + &result, obj); + if (unlikely(retcode == -1)) + goto __pyx_fail; + return result; +__pyx_fail: + result.memview = NULL; + result.data = NULL; + return result; +} + +/* MemviewDtypeToObject */ + static CYTHON_INLINE PyObject *__pyx_memview_get_int(const char *itemp) { + return (PyObject *) __Pyx_PyInt_From_int(*(int *) itemp); +} +static CYTHON_INLINE int __pyx_memview_set_int(const char *itemp, PyObject *obj) { + int value = __Pyx_PyInt_As_int(obj); + if (unlikely((value == (int)-1) && PyErr_Occurred())) + return 0; + *(int *) itemp = value; + return 1; +} + +/* ObjectToMemviewSlice */ + static CYTHON_INLINE __Pyx_memviewslice __Pyx_PyObject_to_MemoryviewSlice_ds_double(PyObject *obj, int writable_flag) { + __Pyx_memviewslice result = { 0, 0, { 0 }, { 0 }, { 0 } }; + __Pyx_BufFmt_StackElem stack[1]; + int axes_specs[] = { (__Pyx_MEMVIEW_DIRECT | __Pyx_MEMVIEW_STRIDED) }; + int retcode; + if (obj == Py_None) { + result.memview = (struct __pyx_memoryview_obj *) Py_None; + return result; + } + retcode = __Pyx_ValidateAndInit_memviewslice(axes_specs, 0, + PyBUF_RECORDS_RO | writable_flag, 1, + &__Pyx_TypeInfo_double, stack, + &result, obj); + if (unlikely(retcode == -1)) + goto __pyx_fail; + return result; +__pyx_fail: + result.memview = NULL; + result.data = NULL; + return result; +} + +/* MemviewDtypeToObject */ + static CYTHON_INLINE PyObject *__pyx_memview_get_double(const char *itemp) { + return (PyObject *) PyFloat_FromDouble(*(double *) itemp); +} +static CYTHON_INLINE int __pyx_memview_set_double(const char *itemp, PyObject *obj) { + double value = __pyx_PyFloat_AsDouble(obj); + if (unlikely((value == (double)-1) && PyErr_Occurred())) + return 0; + *(double *) itemp = value; + return 1; +} + +/* Declarations */ + #if CYTHON_CCOMPLEX && (1) && (!0 || __cplusplus) + #ifdef __cplusplus + static CYTHON_INLINE __pyx_t_float_complex __pyx_t_float_complex_from_parts(float x, float y) { + return ::std::complex< float >(x, y); + } + #else + static CYTHON_INLINE __pyx_t_float_complex __pyx_t_float_complex_from_parts(float x, float y) { + return x + y*(__pyx_t_float_complex)_Complex_I; + } + #endif +#else + static CYTHON_INLINE __pyx_t_float_complex __pyx_t_float_complex_from_parts(float x, float y) { + __pyx_t_float_complex z; + z.real = x; + z.imag = y; + return z; + } +#endif + +/* Arithmetic */ + #if CYTHON_CCOMPLEX && (1) && (!0 || __cplusplus) +#else + static CYTHON_INLINE int __Pyx_c_eq_float(__pyx_t_float_complex a, __pyx_t_float_complex b) { + return (a.real == b.real) && (a.imag == b.imag); + } + static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_sum_float(__pyx_t_float_complex a, __pyx_t_float_complex b) { + __pyx_t_float_complex z; + z.real = a.real + b.real; + z.imag = a.imag + b.imag; + return z; + } + static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_diff_float(__pyx_t_float_complex a, __pyx_t_float_complex b) { + __pyx_t_float_complex z; + z.real = a.real - b.real; + z.imag = a.imag - b.imag; + return z; + } + static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_prod_float(__pyx_t_float_complex a, __pyx_t_float_complex b) { + __pyx_t_float_complex z; + z.real = a.real * b.real - a.imag * b.imag; + z.imag = a.real * b.imag + a.imag * b.real; + return z; + } + #if 1 + static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_quot_float(__pyx_t_float_complex a, __pyx_t_float_complex b) { + if (b.imag == 0) { + return __pyx_t_float_complex_from_parts(a.real / b.real, a.imag / b.real); + } else if (fabsf(b.real) >= fabsf(b.imag)) { + if (b.real == 0 && b.imag == 0) { + return __pyx_t_float_complex_from_parts(a.real / b.real, a.imag / b.imag); + } else { + float r = b.imag / b.real; + float s = (float)(1.0) / (b.real + b.imag * r); + return __pyx_t_float_complex_from_parts( + (a.real + a.imag * r) * s, (a.imag - a.real * r) * s); + } + } else { + float r = b.real / b.imag; + float s = (float)(1.0) / (b.imag + b.real * r); + return __pyx_t_float_complex_from_parts( + (a.real * r + a.imag) * s, (a.imag * r - a.real) * s); + } + } + #else + static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_quot_float(__pyx_t_float_complex a, __pyx_t_float_complex b) { + if (b.imag == 0) { + return __pyx_t_float_complex_from_parts(a.real / b.real, a.imag / b.real); + } else { + float denom = b.real * b.real + b.imag * b.imag; + return __pyx_t_float_complex_from_parts( + (a.real * b.real + a.imag * b.imag) / denom, + (a.imag * b.real - a.real * b.imag) / denom); + } + } + #endif + static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_neg_float(__pyx_t_float_complex a) { + __pyx_t_float_complex z; + z.real = -a.real; + z.imag = -a.imag; + return z; + } + static CYTHON_INLINE int __Pyx_c_is_zero_float(__pyx_t_float_complex a) { + return (a.real == 0) && (a.imag == 0); + } + static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_conj_float(__pyx_t_float_complex a) { + __pyx_t_float_complex z; + z.real = a.real; + z.imag = -a.imag; + return z; + } + #if 1 + static CYTHON_INLINE float __Pyx_c_abs_float(__pyx_t_float_complex z) { + #if !defined(HAVE_HYPOT) || defined(_MSC_VER) + return sqrtf(z.real*z.real + z.imag*z.imag); + #else + return hypotf(z.real, z.imag); + #endif + } + static CYTHON_INLINE __pyx_t_float_complex __Pyx_c_pow_float(__pyx_t_float_complex a, __pyx_t_float_complex b) { + __pyx_t_float_complex z; + float r, lnr, theta, z_r, z_theta; + if (b.imag == 0 && b.real == (int)b.real) { + if (b.real < 0) { + float denom = a.real * a.real + a.imag * a.imag; + a.real = a.real / denom; + a.imag = -a.imag / denom; + b.real = -b.real; + } + switch ((int)b.real) { + case 0: + z.real = 1; + z.imag = 0; + return z; + case 1: + return a; + case 2: + return __Pyx_c_prod_float(a, a); + case 3: + z = __Pyx_c_prod_float(a, a); + return __Pyx_c_prod_float(z, a); + case 4: + z = __Pyx_c_prod_float(a, a); + return __Pyx_c_prod_float(z, z); + } + } + if (a.imag == 0) { + if (a.real == 0) { + return a; + } else if ((b.imag == 0) && (a.real >= 0)) { + z.real = powf(a.real, b.real); + z.imag = 0; + return z; + } else if (a.real > 0) { + r = a.real; + theta = 0; + } else { + r = -a.real; + theta = atan2f(0.0, -1.0); + } + } else { + r = __Pyx_c_abs_float(a); + theta = atan2f(a.imag, a.real); + } + lnr = logf(r); + z_r = expf(lnr * b.real - theta * b.imag); + z_theta = theta * b.real + lnr * b.imag; + z.real = z_r * cosf(z_theta); + z.imag = z_r * sinf(z_theta); + return z; + } + #endif +#endif + +/* Declarations */ + #if CYTHON_CCOMPLEX && (1) && (!0 || __cplusplus) + #ifdef __cplusplus + static CYTHON_INLINE __pyx_t_double_complex __pyx_t_double_complex_from_parts(double x, double y) { + return ::std::complex< double >(x, y); + } + #else + static CYTHON_INLINE __pyx_t_double_complex __pyx_t_double_complex_from_parts(double x, double y) { + return x + y*(__pyx_t_double_complex)_Complex_I; + } + #endif +#else + static CYTHON_INLINE __pyx_t_double_complex __pyx_t_double_complex_from_parts(double x, double y) { + __pyx_t_double_complex z; + z.real = x; + z.imag = y; + return z; + } +#endif + +/* Arithmetic */ + #if CYTHON_CCOMPLEX && (1) && (!0 || __cplusplus) +#else + static CYTHON_INLINE int __Pyx_c_eq_double(__pyx_t_double_complex a, __pyx_t_double_complex b) { + return (a.real == b.real) && (a.imag == b.imag); + } + static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_sum_double(__pyx_t_double_complex a, __pyx_t_double_complex b) { + __pyx_t_double_complex z; + z.real = a.real + b.real; + z.imag = a.imag + b.imag; + return z; + } + static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_diff_double(__pyx_t_double_complex a, __pyx_t_double_complex b) { + __pyx_t_double_complex z; + z.real = a.real - b.real; + z.imag = a.imag - b.imag; + return z; + } + static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_prod_double(__pyx_t_double_complex a, __pyx_t_double_complex b) { + __pyx_t_double_complex z; + z.real = a.real * b.real - a.imag * b.imag; + z.imag = a.real * b.imag + a.imag * b.real; + return z; + } + #if 1 + static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_quot_double(__pyx_t_double_complex a, __pyx_t_double_complex b) { + if (b.imag == 0) { + return __pyx_t_double_complex_from_parts(a.real / b.real, a.imag / b.real); + } else if (fabs(b.real) >= fabs(b.imag)) { + if (b.real == 0 && b.imag == 0) { + return __pyx_t_double_complex_from_parts(a.real / b.real, a.imag / b.imag); + } else { + double r = b.imag / b.real; + double s = (double)(1.0) / (b.real + b.imag * r); + return __pyx_t_double_complex_from_parts( + (a.real + a.imag * r) * s, (a.imag - a.real * r) * s); + } + } else { + double r = b.real / b.imag; + double s = (double)(1.0) / (b.imag + b.real * r); + return __pyx_t_double_complex_from_parts( + (a.real * r + a.imag) * s, (a.imag * r - a.real) * s); + } + } + #else + static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_quot_double(__pyx_t_double_complex a, __pyx_t_double_complex b) { + if (b.imag == 0) { + return __pyx_t_double_complex_from_parts(a.real / b.real, a.imag / b.real); + } else { + double denom = b.real * b.real + b.imag * b.imag; + return __pyx_t_double_complex_from_parts( + (a.real * b.real + a.imag * b.imag) / denom, + (a.imag * b.real - a.real * b.imag) / denom); + } + } + #endif + static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_neg_double(__pyx_t_double_complex a) { + __pyx_t_double_complex z; + z.real = -a.real; + z.imag = -a.imag; + return z; + } + static CYTHON_INLINE int __Pyx_c_is_zero_double(__pyx_t_double_complex a) { + return (a.real == 0) && (a.imag == 0); + } + static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_conj_double(__pyx_t_double_complex a) { + __pyx_t_double_complex z; + z.real = a.real; + z.imag = -a.imag; + return z; + } + #if 1 + static CYTHON_INLINE double __Pyx_c_abs_double(__pyx_t_double_complex z) { + #if !defined(HAVE_HYPOT) || defined(_MSC_VER) + return sqrt(z.real*z.real + z.imag*z.imag); + #else + return hypot(z.real, z.imag); + #endif + } + static CYTHON_INLINE __pyx_t_double_complex __Pyx_c_pow_double(__pyx_t_double_complex a, __pyx_t_double_complex b) { + __pyx_t_double_complex z; + double r, lnr, theta, z_r, z_theta; + if (b.imag == 0 && b.real == (int)b.real) { + if (b.real < 0) { + double denom = a.real * a.real + a.imag * a.imag; + a.real = a.real / denom; + a.imag = -a.imag / denom; + b.real = -b.real; + } + switch ((int)b.real) { + case 0: + z.real = 1; + z.imag = 0; + return z; + case 1: + return a; + case 2: + return __Pyx_c_prod_double(a, a); + case 3: + z = __Pyx_c_prod_double(a, a); + return __Pyx_c_prod_double(z, a); + case 4: + z = __Pyx_c_prod_double(a, a); + return __Pyx_c_prod_double(z, z); + } + } + if (a.imag == 0) { + if (a.real == 0) { + return a; + } else if ((b.imag == 0) && (a.real >= 0)) { + z.real = pow(a.real, b.real); + z.imag = 0; + return z; + } else if (a.real > 0) { + r = a.real; + theta = 0; + } else { + r = -a.real; + theta = atan2(0.0, -1.0); + } + } else { + r = __Pyx_c_abs_double(a); + theta = atan2(a.imag, a.real); + } + lnr = log(r); + z_r = exp(lnr * b.real - theta * b.imag); + z_theta = theta * b.real + lnr * b.imag; + z.real = z_r * cos(z_theta); + z.imag = z_r * sin(z_theta); + return z; + } + #endif +#endif + +/* MemviewSliceCopyTemplate */ + static __Pyx_memviewslice +__pyx_memoryview_copy_new_contig(const __Pyx_memviewslice *from_mvs, + const char *mode, int ndim, + size_t sizeof_dtype, int contig_flag, + int dtype_is_object) +{ + __Pyx_RefNannyDeclarations + int i; + __Pyx_memviewslice new_mvs = { 0, 0, { 0 }, { 0 }, { 0 } }; + struct __pyx_memoryview_obj *from_memview = from_mvs->memview; + Py_buffer *buf = &from_memview->view; + PyObject *shape_tuple = NULL; + PyObject *temp_int = NULL; + struct __pyx_array_obj *array_obj = NULL; + struct __pyx_memoryview_obj *memview_obj = NULL; + __Pyx_RefNannySetupContext("__pyx_memoryview_copy_new_contig", 0); + for (i = 0; i < ndim; i++) { + if (unlikely(from_mvs->suboffsets[i] >= 0)) { + PyErr_Format(PyExc_ValueError, "Cannot copy memoryview slice with " + "indirect dimensions (axis %d)", i); + goto fail; + } + } + shape_tuple = PyTuple_New(ndim); + if (unlikely(!shape_tuple)) { + goto fail; + } + __Pyx_GOTREF(shape_tuple); + for(i = 0; i < ndim; i++) { + temp_int = PyInt_FromSsize_t(from_mvs->shape[i]); + if(unlikely(!temp_int)) { + goto fail; + } else { + PyTuple_SET_ITEM(shape_tuple, i, temp_int); + temp_int = NULL; + } + } + array_obj = __pyx_array_new(shape_tuple, sizeof_dtype, buf->format, (char *) mode, NULL); + if (unlikely(!array_obj)) { + goto fail; + } + __Pyx_GOTREF(array_obj); + memview_obj = (struct __pyx_memoryview_obj *) __pyx_memoryview_new( + (PyObject *) array_obj, contig_flag, + dtype_is_object, + from_mvs->memview->typeinfo); + if (unlikely(!memview_obj)) + goto fail; + if (unlikely(__Pyx_init_memviewslice(memview_obj, ndim, &new_mvs, 1) < 0)) + goto fail; + if (unlikely(__pyx_memoryview_copy_contents(*from_mvs, new_mvs, ndim, ndim, + dtype_is_object) < 0)) + goto fail; + goto no_fail; +fail: + __Pyx_XDECREF(new_mvs.memview); + new_mvs.memview = NULL; + new_mvs.data = NULL; +no_fail: + __Pyx_XDECREF(shape_tuple); + __Pyx_XDECREF(temp_int); + __Pyx_XDECREF(array_obj); + __Pyx_RefNannyFinishContext(); + return new_mvs; +} + +/* MemviewSliceInit */ + static int +__Pyx_init_memviewslice(struct __pyx_memoryview_obj *memview, + int ndim, + __Pyx_memviewslice *memviewslice, + int memview_is_new_reference) +{ + __Pyx_RefNannyDeclarations + int i, retval=-1; + Py_buffer *buf = &memview->view; + __Pyx_RefNannySetupContext("init_memviewslice", 0); + if (unlikely(memviewslice->memview || memviewslice->data)) { + PyErr_SetString(PyExc_ValueError, + "memviewslice is already initialized!"); + goto fail; + } + if (buf->strides) { + for (i = 0; i < ndim; i++) { + memviewslice->strides[i] = buf->strides[i]; + } + } else { + Py_ssize_t stride = buf->itemsize; + for (i = ndim - 1; i >= 0; i--) { + memviewslice->strides[i] = stride; + stride *= buf->shape[i]; + } + } + for (i = 0; i < ndim; i++) { + memviewslice->shape[i] = buf->shape[i]; + if (buf->suboffsets) { + memviewslice->suboffsets[i] = buf->suboffsets[i]; + } else { + memviewslice->suboffsets[i] = -1; + } + } + memviewslice->memview = memview; + memviewslice->data = (char *)buf->buf; + if (__pyx_add_acquisition_count(memview) == 0 && !memview_is_new_reference) { + Py_INCREF(memview); + } + retval = 0; + goto no_fail; +fail: + memviewslice->memview = 0; + memviewslice->data = 0; + retval = -1; +no_fail: + __Pyx_RefNannyFinishContext(); + return retval; +} +#ifndef Py_NO_RETURN +#define Py_NO_RETURN +#endif +static void __pyx_fatalerror(const char *fmt, ...) Py_NO_RETURN { + va_list vargs; + char msg[200]; +#if PY_VERSION_HEX >= 0x030A0000 || defined(HAVE_STDARG_PROTOTYPES) + va_start(vargs, fmt); +#else + va_start(vargs); +#endif + vsnprintf(msg, 200, fmt, vargs); + va_end(vargs); + Py_FatalError(msg); +} +static CYTHON_INLINE int +__pyx_add_acquisition_count_locked(__pyx_atomic_int_type *acquisition_count, + PyThread_type_lock lock) +{ + int result; + PyThread_acquire_lock(lock, 1); + result = (*acquisition_count)++; + PyThread_release_lock(lock); + return result; +} +static CYTHON_INLINE int +__pyx_sub_acquisition_count_locked(__pyx_atomic_int_type *acquisition_count, + PyThread_type_lock lock) +{ + int result; + PyThread_acquire_lock(lock, 1); + result = (*acquisition_count)--; + PyThread_release_lock(lock); + return result; +} +static CYTHON_INLINE void +__Pyx_INC_MEMVIEW(__Pyx_memviewslice *memslice, int have_gil, int lineno) +{ + __pyx_nonatomic_int_type old_acquisition_count; + struct __pyx_memoryview_obj *memview = memslice->memview; + if (unlikely(!memview || (PyObject *) memview == Py_None)) { + return; + } + old_acquisition_count = __pyx_add_acquisition_count(memview); + if (unlikely(old_acquisition_count <= 0)) { + if (likely(old_acquisition_count == 0)) { + if (have_gil) { + Py_INCREF((PyObject *) memview); + } else { + PyGILState_STATE _gilstate = PyGILState_Ensure(); + Py_INCREF((PyObject *) memview); + PyGILState_Release(_gilstate); + } + } else { + __pyx_fatalerror("Acquisition count is %d (line %d)", + old_acquisition_count+1, lineno); + } + } +} +static CYTHON_INLINE void __Pyx_XCLEAR_MEMVIEW(__Pyx_memviewslice *memslice, + int have_gil, int lineno) { + __pyx_nonatomic_int_type old_acquisition_count; + struct __pyx_memoryview_obj *memview = memslice->memview; + if (unlikely(!memview || (PyObject *) memview == Py_None)) { + memslice->memview = NULL; + return; + } + old_acquisition_count = __pyx_sub_acquisition_count(memview); + memslice->data = NULL; + if (likely(old_acquisition_count > 1)) { + memslice->memview = NULL; + } else if (likely(old_acquisition_count == 1)) { + if (have_gil) { + Py_CLEAR(memslice->memview); + } else { + PyGILState_STATE _gilstate = PyGILState_Ensure(); + Py_CLEAR(memslice->memview); + PyGILState_Release(_gilstate); + } + } else { + __pyx_fatalerror("Acquisition count is %d (line %d)", + old_acquisition_count-1, lineno); + } +} + +/* CIntFromPy */ + static CYTHON_INLINE int __Pyx_PyInt_As_int(PyObject *x) { +#ifdef __Pyx_HAS_GCC_DIAGNOSTIC +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wconversion" +#endif + const int neg_one = (int) -1, const_zero = (int) 0; +#ifdef __Pyx_HAS_GCC_DIAGNOSTIC +#pragma GCC diagnostic pop +#endif + const int is_unsigned = neg_one > const_zero; +#if PY_MAJOR_VERSION < 3 + if (likely(PyInt_Check(x))) { + if ((sizeof(int) < sizeof(long))) { + __PYX_VERIFY_RETURN_INT(int, long, PyInt_AS_LONG(x)) + } else { + long val = PyInt_AS_LONG(x); + if (is_unsigned && unlikely(val < 0)) { + goto raise_neg_overflow; + } + return (int) val; + } + } else +#endif + if (likely(PyLong_Check(x))) { + if (is_unsigned) { +#if CYTHON_USE_PYLONG_INTERNALS + if (unlikely(__Pyx_PyLong_IsNeg(x))) { + goto raise_neg_overflow; + } else if (__Pyx_PyLong_IsCompact(x)) { + __PYX_VERIFY_RETURN_INT(int, __Pyx_compact_upylong, __Pyx_PyLong_CompactValueUnsigned(x)) + } else { + const digit* digits = __Pyx_PyLong_Digits(x); + assert(__Pyx_PyLong_DigitCount(x) > 1); + switch (__Pyx_PyLong_DigitCount(x)) { + case 2: + if ((8 * sizeof(int) > 1 * PyLong_SHIFT)) { + if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(int) >= 2 * PyLong_SHIFT)) { + return (int) (((((int)digits[1]) << PyLong_SHIFT) | (int)digits[0])); + } + } + break; + case 3: + if ((8 * sizeof(int) > 2 * PyLong_SHIFT)) { + if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(int) >= 3 * PyLong_SHIFT)) { + return (int) (((((((int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0])); + } + } + break; + case 4: + if ((8 * sizeof(int) > 3 * PyLong_SHIFT)) { + if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(int) >= 4 * PyLong_SHIFT)) { + return (int) (((((((((int)digits[3]) << PyLong_SHIFT) | (int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0])); + } + } + break; + } + } +#endif +#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x030C00A7 + if (unlikely(Py_SIZE(x) < 0)) { + goto raise_neg_overflow; + } +#else + { + int result = PyObject_RichCompareBool(x, Py_False, Py_LT); + if (unlikely(result < 0)) + return (int) -1; + if (unlikely(result == 1)) + goto raise_neg_overflow; + } +#endif + if ((sizeof(int) <= sizeof(unsigned long))) { + __PYX_VERIFY_RETURN_INT_EXC(int, unsigned long, PyLong_AsUnsignedLong(x)) +#ifdef HAVE_LONG_LONG + } else if ((sizeof(int) <= sizeof(unsigned PY_LONG_LONG))) { + __PYX_VERIFY_RETURN_INT_EXC(int, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x)) +#endif + } + } else { +#if CYTHON_USE_PYLONG_INTERNALS + if (__Pyx_PyLong_IsCompact(x)) { + __PYX_VERIFY_RETURN_INT(int, __Pyx_compact_pylong, __Pyx_PyLong_CompactValue(x)) + } else { + const digit* digits = __Pyx_PyLong_Digits(x); + assert(__Pyx_PyLong_DigitCount(x) > 1); + switch (__Pyx_PyLong_SignedDigitCount(x)) { + case -2: + if ((8 * sizeof(int) - 1 > 1 * PyLong_SHIFT)) { + if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(int, long, -(long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(int) - 1 > 2 * PyLong_SHIFT)) { + return (int) (((int)-1)*(((((int)digits[1]) << PyLong_SHIFT) | (int)digits[0]))); + } + } + break; + case 2: + if ((8 * sizeof(int) > 1 * PyLong_SHIFT)) { + if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(int) - 1 > 2 * PyLong_SHIFT)) { + return (int) ((((((int)digits[1]) << PyLong_SHIFT) | (int)digits[0]))); + } + } + break; + case -3: + if ((8 * sizeof(int) - 1 > 2 * PyLong_SHIFT)) { + if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(int, long, -(long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(int) - 1 > 3 * PyLong_SHIFT)) { + return (int) (((int)-1)*(((((((int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0]))); + } + } + break; + case 3: + if ((8 * sizeof(int) > 2 * PyLong_SHIFT)) { + if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(int) - 1 > 3 * PyLong_SHIFT)) { + return (int) ((((((((int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0]))); + } + } + break; + case -4: + if ((8 * sizeof(int) - 1 > 3 * PyLong_SHIFT)) { + if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(int, long, -(long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(int) - 1 > 4 * PyLong_SHIFT)) { + return (int) (((int)-1)*(((((((((int)digits[3]) << PyLong_SHIFT) | (int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0]))); + } + } + break; + case 4: + if ((8 * sizeof(int) > 3 * PyLong_SHIFT)) { + if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(int, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(int) - 1 > 4 * PyLong_SHIFT)) { + return (int) ((((((((((int)digits[3]) << PyLong_SHIFT) | (int)digits[2]) << PyLong_SHIFT) | (int)digits[1]) << PyLong_SHIFT) | (int)digits[0]))); + } + } + break; + } + } +#endif + if ((sizeof(int) <= sizeof(long))) { + __PYX_VERIFY_RETURN_INT_EXC(int, long, PyLong_AsLong(x)) +#ifdef HAVE_LONG_LONG + } else if ((sizeof(int) <= sizeof(PY_LONG_LONG))) { + __PYX_VERIFY_RETURN_INT_EXC(int, PY_LONG_LONG, PyLong_AsLongLong(x)) +#endif + } + } + { + int val; + PyObject *v = __Pyx_PyNumber_IntOrLong(x); +#if PY_MAJOR_VERSION < 3 + if (likely(v) && !PyLong_Check(v)) { + PyObject *tmp = v; + v = PyNumber_Long(tmp); + Py_DECREF(tmp); + } +#endif + if (likely(v)) { + int ret = -1; +#if PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray) + int one = 1; int is_little = (int)*(unsigned char *)&one; + unsigned char *bytes = (unsigned char *)&val; + ret = _PyLong_AsByteArray((PyLongObject *)v, + bytes, sizeof(val), + is_little, !is_unsigned); +#else + PyObject *stepval = NULL, *mask = NULL, *shift = NULL; + int bits, remaining_bits, is_negative = 0; + long idigit; + int chunk_size = (sizeof(long) < 8) ? 30 : 62; + if (unlikely(!PyLong_CheckExact(v))) { + PyObject *tmp = v; + v = PyNumber_Long(v); + assert(PyLong_CheckExact(v)); + Py_DECREF(tmp); + if (unlikely(!v)) return (int) -1; + } +#if CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030B0000 + if (Py_SIZE(x) == 0) + return (int) 0; + is_negative = Py_SIZE(x) < 0; +#else + { + int result = PyObject_RichCompareBool(x, Py_False, Py_LT); + if (unlikely(result < 0)) + return (int) -1; + is_negative = result == 1; + } +#endif + if (is_unsigned && unlikely(is_negative)) { + goto raise_neg_overflow; + } else if (is_negative) { + stepval = PyNumber_Invert(v); + if (unlikely(!stepval)) + return (int) -1; + } else { + stepval = __Pyx_NewRef(v); + } + val = (int) 0; + mask = PyLong_FromLong((1L << chunk_size) - 1); if (unlikely(!mask)) goto done; + shift = PyLong_FromLong(chunk_size); if (unlikely(!shift)) goto done; + for (bits = 0; bits < (int) sizeof(int) * 8 - chunk_size; bits += chunk_size) { + PyObject *tmp, *digit; + digit = PyNumber_And(stepval, mask); + if (unlikely(!digit)) goto done; + idigit = PyLong_AsLong(digit); + Py_DECREF(digit); + if (unlikely(idigit < 0)) goto done; + tmp = PyNumber_Rshift(stepval, shift); + if (unlikely(!tmp)) goto done; + Py_DECREF(stepval); stepval = tmp; + val |= ((int) idigit) << bits; + #if CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030B0000 + if (Py_SIZE(stepval) == 0) + goto unpacking_done; + #endif + } + idigit = PyLong_AsLong(stepval); + if (unlikely(idigit < 0)) goto done; + remaining_bits = ((int) sizeof(int) * 8) - bits - (is_unsigned ? 0 : 1); + if (unlikely(idigit >= (1L << remaining_bits))) + goto raise_overflow; + val |= ((int) idigit) << bits; + #if CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030B0000 + unpacking_done: + #endif + if (!is_unsigned) { + if (unlikely(val & (((int) 1) << (sizeof(int) * 8 - 1)))) + goto raise_overflow; + if (is_negative) + val = ~val; + } + ret = 0; + done: + Py_XDECREF(shift); + Py_XDECREF(mask); + Py_XDECREF(stepval); +#endif + Py_DECREF(v); + if (likely(!ret)) + return val; + } + return (int) -1; + } + } else { + int val; + PyObject *tmp = __Pyx_PyNumber_IntOrLong(x); + if (!tmp) return (int) -1; + val = __Pyx_PyInt_As_int(tmp); + Py_DECREF(tmp); + return val; + } +raise_overflow: + PyErr_SetString(PyExc_OverflowError, + "value too large to convert to int"); + return (int) -1; +raise_neg_overflow: + PyErr_SetString(PyExc_OverflowError, + "can't convert negative value to int"); + return (int) -1; +} + +/* CIntToPy */ + static CYTHON_INLINE PyObject* __Pyx_PyInt_From_int(int value) { +#ifdef __Pyx_HAS_GCC_DIAGNOSTIC +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wconversion" +#endif + const int neg_one = (int) -1, const_zero = (int) 0; +#ifdef __Pyx_HAS_GCC_DIAGNOSTIC +#pragma GCC diagnostic pop +#endif + const int is_unsigned = neg_one > const_zero; + if (is_unsigned) { + if (sizeof(int) < sizeof(long)) { + return PyInt_FromLong((long) value); + } else if (sizeof(int) <= sizeof(unsigned long)) { + return PyLong_FromUnsignedLong((unsigned long) value); +#ifdef HAVE_LONG_LONG + } else if (sizeof(int) <= sizeof(unsigned PY_LONG_LONG)) { + return PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG) value); +#endif + } + } else { + if (sizeof(int) <= sizeof(long)) { + return PyInt_FromLong((long) value); +#ifdef HAVE_LONG_LONG + } else if (sizeof(int) <= sizeof(PY_LONG_LONG)) { + return PyLong_FromLongLong((PY_LONG_LONG) value); +#endif + } + } + { + int one = 1; int little = (int)*(unsigned char *)&one; + unsigned char *bytes = (unsigned char *)&value; +#if !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030d0000 + return _PyLong_FromByteArray(bytes, sizeof(int), + little, !is_unsigned); +#else + PyObject *from_bytes, *result = NULL; + PyObject *py_bytes = NULL, *arg_tuple = NULL, *kwds = NULL, *order_str = NULL; + from_bytes = PyObject_GetAttrString((PyObject*)&PyLong_Type, "from_bytes"); + if (!from_bytes) return NULL; + py_bytes = PyBytes_FromStringAndSize((char*)bytes, sizeof(int)); + if (!py_bytes) goto limited_bad; + order_str = PyUnicode_FromString(little ? "little" : "big"); + if (!order_str) goto limited_bad; + arg_tuple = PyTuple_Pack(2, py_bytes, order_str); + if (!arg_tuple) goto limited_bad; + if (!is_unsigned) { + kwds = PyDict_New(); + if (!kwds) goto limited_bad; + if (PyDict_SetItemString(kwds, "signed", __Pyx_NewRef(Py_True))) goto limited_bad; + } + result = PyObject_Call(from_bytes, arg_tuple, kwds); + limited_bad: + Py_XDECREF(kwds); + Py_XDECREF(arg_tuple); + Py_XDECREF(order_str); + Py_XDECREF(py_bytes); + Py_XDECREF(from_bytes); + return result; +#endif + } +} + +/* CIntToPy */ + static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value) { +#ifdef __Pyx_HAS_GCC_DIAGNOSTIC +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wconversion" +#endif + const long neg_one = (long) -1, const_zero = (long) 0; +#ifdef __Pyx_HAS_GCC_DIAGNOSTIC +#pragma GCC diagnostic pop +#endif + const int is_unsigned = neg_one > const_zero; + if (is_unsigned) { + if (sizeof(long) < sizeof(long)) { + return PyInt_FromLong((long) value); + } else if (sizeof(long) <= sizeof(unsigned long)) { + return PyLong_FromUnsignedLong((unsigned long) value); +#ifdef HAVE_LONG_LONG + } else if (sizeof(long) <= sizeof(unsigned PY_LONG_LONG)) { + return PyLong_FromUnsignedLongLong((unsigned PY_LONG_LONG) value); +#endif + } + } else { + if (sizeof(long) <= sizeof(long)) { + return PyInt_FromLong((long) value); +#ifdef HAVE_LONG_LONG + } else if (sizeof(long) <= sizeof(PY_LONG_LONG)) { + return PyLong_FromLongLong((PY_LONG_LONG) value); +#endif + } + } + { + int one = 1; int little = (int)*(unsigned char *)&one; + unsigned char *bytes = (unsigned char *)&value; +#if !CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030d0000 + return _PyLong_FromByteArray(bytes, sizeof(long), + little, !is_unsigned); +#else + PyObject *from_bytes, *result = NULL; + PyObject *py_bytes = NULL, *arg_tuple = NULL, *kwds = NULL, *order_str = NULL; + from_bytes = PyObject_GetAttrString((PyObject*)&PyLong_Type, "from_bytes"); + if (!from_bytes) return NULL; + py_bytes = PyBytes_FromStringAndSize((char*)bytes, sizeof(long)); + if (!py_bytes) goto limited_bad; + order_str = PyUnicode_FromString(little ? "little" : "big"); + if (!order_str) goto limited_bad; + arg_tuple = PyTuple_Pack(2, py_bytes, order_str); + if (!arg_tuple) goto limited_bad; + if (!is_unsigned) { + kwds = PyDict_New(); + if (!kwds) goto limited_bad; + if (PyDict_SetItemString(kwds, "signed", __Pyx_NewRef(Py_True))) goto limited_bad; + } + result = PyObject_Call(from_bytes, arg_tuple, kwds); + limited_bad: + Py_XDECREF(kwds); + Py_XDECREF(arg_tuple); + Py_XDECREF(order_str); + Py_XDECREF(py_bytes); + Py_XDECREF(from_bytes); + return result; +#endif + } +} + +/* CIntFromPy */ + static CYTHON_INLINE long __Pyx_PyInt_As_long(PyObject *x) { +#ifdef __Pyx_HAS_GCC_DIAGNOSTIC +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wconversion" +#endif + const long neg_one = (long) -1, const_zero = (long) 0; +#ifdef __Pyx_HAS_GCC_DIAGNOSTIC +#pragma GCC diagnostic pop +#endif + const int is_unsigned = neg_one > const_zero; +#if PY_MAJOR_VERSION < 3 + if (likely(PyInt_Check(x))) { + if ((sizeof(long) < sizeof(long))) { + __PYX_VERIFY_RETURN_INT(long, long, PyInt_AS_LONG(x)) + } else { + long val = PyInt_AS_LONG(x); + if (is_unsigned && unlikely(val < 0)) { + goto raise_neg_overflow; + } + return (long) val; + } + } else +#endif + if (likely(PyLong_Check(x))) { + if (is_unsigned) { +#if CYTHON_USE_PYLONG_INTERNALS + if (unlikely(__Pyx_PyLong_IsNeg(x))) { + goto raise_neg_overflow; + } else if (__Pyx_PyLong_IsCompact(x)) { + __PYX_VERIFY_RETURN_INT(long, __Pyx_compact_upylong, __Pyx_PyLong_CompactValueUnsigned(x)) + } else { + const digit* digits = __Pyx_PyLong_Digits(x); + assert(__Pyx_PyLong_DigitCount(x) > 1); + switch (__Pyx_PyLong_DigitCount(x)) { + case 2: + if ((8 * sizeof(long) > 1 * PyLong_SHIFT)) { + if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(long) >= 2 * PyLong_SHIFT)) { + return (long) (((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0])); + } + } + break; + case 3: + if ((8 * sizeof(long) > 2 * PyLong_SHIFT)) { + if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(long) >= 3 * PyLong_SHIFT)) { + return (long) (((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])); + } + } + break; + case 4: + if ((8 * sizeof(long) > 3 * PyLong_SHIFT)) { + if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(long) >= 4 * PyLong_SHIFT)) { + return (long) (((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0])); + } + } + break; + } + } +#endif +#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x030C00A7 + if (unlikely(Py_SIZE(x) < 0)) { + goto raise_neg_overflow; + } +#else + { + int result = PyObject_RichCompareBool(x, Py_False, Py_LT); + if (unlikely(result < 0)) + return (long) -1; + if (unlikely(result == 1)) + goto raise_neg_overflow; + } +#endif + if ((sizeof(long) <= sizeof(unsigned long))) { + __PYX_VERIFY_RETURN_INT_EXC(long, unsigned long, PyLong_AsUnsignedLong(x)) +#ifdef HAVE_LONG_LONG + } else if ((sizeof(long) <= sizeof(unsigned PY_LONG_LONG))) { + __PYX_VERIFY_RETURN_INT_EXC(long, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x)) +#endif + } + } else { +#if CYTHON_USE_PYLONG_INTERNALS + if (__Pyx_PyLong_IsCompact(x)) { + __PYX_VERIFY_RETURN_INT(long, __Pyx_compact_pylong, __Pyx_PyLong_CompactValue(x)) + } else { + const digit* digits = __Pyx_PyLong_Digits(x); + assert(__Pyx_PyLong_DigitCount(x) > 1); + switch (__Pyx_PyLong_SignedDigitCount(x)) { + case -2: + if ((8 * sizeof(long) - 1 > 1 * PyLong_SHIFT)) { + if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(long, long, -(long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(long) - 1 > 2 * PyLong_SHIFT)) { + return (long) (((long)-1)*(((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0]))); + } + } + break; + case 2: + if ((8 * sizeof(long) > 1 * PyLong_SHIFT)) { + if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(long) - 1 > 2 * PyLong_SHIFT)) { + return (long) ((((((long)digits[1]) << PyLong_SHIFT) | (long)digits[0]))); + } + } + break; + case -3: + if ((8 * sizeof(long) - 1 > 2 * PyLong_SHIFT)) { + if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(long, long, -(long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(long) - 1 > 3 * PyLong_SHIFT)) { + return (long) (((long)-1)*(((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0]))); + } + } + break; + case 3: + if ((8 * sizeof(long) > 2 * PyLong_SHIFT)) { + if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(long) - 1 > 3 * PyLong_SHIFT)) { + return (long) ((((((((long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0]))); + } + } + break; + case -4: + if ((8 * sizeof(long) - 1 > 3 * PyLong_SHIFT)) { + if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(long, long, -(long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(long) - 1 > 4 * PyLong_SHIFT)) { + return (long) (((long)-1)*(((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0]))); + } + } + break; + case 4: + if ((8 * sizeof(long) > 3 * PyLong_SHIFT)) { + if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(long, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(long) - 1 > 4 * PyLong_SHIFT)) { + return (long) ((((((((((long)digits[3]) << PyLong_SHIFT) | (long)digits[2]) << PyLong_SHIFT) | (long)digits[1]) << PyLong_SHIFT) | (long)digits[0]))); + } + } + break; + } + } +#endif + if ((sizeof(long) <= sizeof(long))) { + __PYX_VERIFY_RETURN_INT_EXC(long, long, PyLong_AsLong(x)) +#ifdef HAVE_LONG_LONG + } else if ((sizeof(long) <= sizeof(PY_LONG_LONG))) { + __PYX_VERIFY_RETURN_INT_EXC(long, PY_LONG_LONG, PyLong_AsLongLong(x)) +#endif + } + } + { + long val; + PyObject *v = __Pyx_PyNumber_IntOrLong(x); +#if PY_MAJOR_VERSION < 3 + if (likely(v) && !PyLong_Check(v)) { + PyObject *tmp = v; + v = PyNumber_Long(tmp); + Py_DECREF(tmp); + } +#endif + if (likely(v)) { + int ret = -1; +#if PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray) + int one = 1; int is_little = (int)*(unsigned char *)&one; + unsigned char *bytes = (unsigned char *)&val; + ret = _PyLong_AsByteArray((PyLongObject *)v, + bytes, sizeof(val), + is_little, !is_unsigned); +#else + PyObject *stepval = NULL, *mask = NULL, *shift = NULL; + int bits, remaining_bits, is_negative = 0; + long idigit; + int chunk_size = (sizeof(long) < 8) ? 30 : 62; + if (unlikely(!PyLong_CheckExact(v))) { + PyObject *tmp = v; + v = PyNumber_Long(v); + assert(PyLong_CheckExact(v)); + Py_DECREF(tmp); + if (unlikely(!v)) return (long) -1; + } +#if CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030B0000 + if (Py_SIZE(x) == 0) + return (long) 0; + is_negative = Py_SIZE(x) < 0; +#else + { + int result = PyObject_RichCompareBool(x, Py_False, Py_LT); + if (unlikely(result < 0)) + return (long) -1; + is_negative = result == 1; + } +#endif + if (is_unsigned && unlikely(is_negative)) { + goto raise_neg_overflow; + } else if (is_negative) { + stepval = PyNumber_Invert(v); + if (unlikely(!stepval)) + return (long) -1; + } else { + stepval = __Pyx_NewRef(v); + } + val = (long) 0; + mask = PyLong_FromLong((1L << chunk_size) - 1); if (unlikely(!mask)) goto done; + shift = PyLong_FromLong(chunk_size); if (unlikely(!shift)) goto done; + for (bits = 0; bits < (int) sizeof(long) * 8 - chunk_size; bits += chunk_size) { + PyObject *tmp, *digit; + digit = PyNumber_And(stepval, mask); + if (unlikely(!digit)) goto done; + idigit = PyLong_AsLong(digit); + Py_DECREF(digit); + if (unlikely(idigit < 0)) goto done; + tmp = PyNumber_Rshift(stepval, shift); + if (unlikely(!tmp)) goto done; + Py_DECREF(stepval); stepval = tmp; + val |= ((long) idigit) << bits; + #if CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030B0000 + if (Py_SIZE(stepval) == 0) + goto unpacking_done; + #endif + } + idigit = PyLong_AsLong(stepval); + if (unlikely(idigit < 0)) goto done; + remaining_bits = ((int) sizeof(long) * 8) - bits - (is_unsigned ? 0 : 1); + if (unlikely(idigit >= (1L << remaining_bits))) + goto raise_overflow; + val |= ((long) idigit) << bits; + #if CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030B0000 + unpacking_done: + #endif + if (!is_unsigned) { + if (unlikely(val & (((long) 1) << (sizeof(long) * 8 - 1)))) + goto raise_overflow; + if (is_negative) + val = ~val; + } + ret = 0; + done: + Py_XDECREF(shift); + Py_XDECREF(mask); + Py_XDECREF(stepval); +#endif + Py_DECREF(v); + if (likely(!ret)) + return val; + } + return (long) -1; + } + } else { + long val; + PyObject *tmp = __Pyx_PyNumber_IntOrLong(x); + if (!tmp) return (long) -1; + val = __Pyx_PyInt_As_long(tmp); + Py_DECREF(tmp); + return val; + } +raise_overflow: + PyErr_SetString(PyExc_OverflowError, + "value too large to convert to long"); + return (long) -1; +raise_neg_overflow: + PyErr_SetString(PyExc_OverflowError, + "can't convert negative value to long"); + return (long) -1; +} + +/* CIntFromPy */ + static CYTHON_INLINE char __Pyx_PyInt_As_char(PyObject *x) { +#ifdef __Pyx_HAS_GCC_DIAGNOSTIC +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wconversion" +#endif + const char neg_one = (char) -1, const_zero = (char) 0; +#ifdef __Pyx_HAS_GCC_DIAGNOSTIC +#pragma GCC diagnostic pop +#endif + const int is_unsigned = neg_one > const_zero; +#if PY_MAJOR_VERSION < 3 + if (likely(PyInt_Check(x))) { + if ((sizeof(char) < sizeof(long))) { + __PYX_VERIFY_RETURN_INT(char, long, PyInt_AS_LONG(x)) + } else { + long val = PyInt_AS_LONG(x); + if (is_unsigned && unlikely(val < 0)) { + goto raise_neg_overflow; + } + return (char) val; + } + } else +#endif + if (likely(PyLong_Check(x))) { + if (is_unsigned) { +#if CYTHON_USE_PYLONG_INTERNALS + if (unlikely(__Pyx_PyLong_IsNeg(x))) { + goto raise_neg_overflow; + } else if (__Pyx_PyLong_IsCompact(x)) { + __PYX_VERIFY_RETURN_INT(char, __Pyx_compact_upylong, __Pyx_PyLong_CompactValueUnsigned(x)) + } else { + const digit* digits = __Pyx_PyLong_Digits(x); + assert(__Pyx_PyLong_DigitCount(x) > 1); + switch (__Pyx_PyLong_DigitCount(x)) { + case 2: + if ((8 * sizeof(char) > 1 * PyLong_SHIFT)) { + if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(char, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(char) >= 2 * PyLong_SHIFT)) { + return (char) (((((char)digits[1]) << PyLong_SHIFT) | (char)digits[0])); + } + } + break; + case 3: + if ((8 * sizeof(char) > 2 * PyLong_SHIFT)) { + if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(char, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(char) >= 3 * PyLong_SHIFT)) { + return (char) (((((((char)digits[2]) << PyLong_SHIFT) | (char)digits[1]) << PyLong_SHIFT) | (char)digits[0])); + } + } + break; + case 4: + if ((8 * sizeof(char) > 3 * PyLong_SHIFT)) { + if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(char, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(char) >= 4 * PyLong_SHIFT)) { + return (char) (((((((((char)digits[3]) << PyLong_SHIFT) | (char)digits[2]) << PyLong_SHIFT) | (char)digits[1]) << PyLong_SHIFT) | (char)digits[0])); + } + } + break; + } + } +#endif +#if CYTHON_COMPILING_IN_CPYTHON && PY_VERSION_HEX < 0x030C00A7 + if (unlikely(Py_SIZE(x) < 0)) { + goto raise_neg_overflow; + } +#else + { + int result = PyObject_RichCompareBool(x, Py_False, Py_LT); + if (unlikely(result < 0)) + return (char) -1; + if (unlikely(result == 1)) + goto raise_neg_overflow; + } +#endif + if ((sizeof(char) <= sizeof(unsigned long))) { + __PYX_VERIFY_RETURN_INT_EXC(char, unsigned long, PyLong_AsUnsignedLong(x)) +#ifdef HAVE_LONG_LONG + } else if ((sizeof(char) <= sizeof(unsigned PY_LONG_LONG))) { + __PYX_VERIFY_RETURN_INT_EXC(char, unsigned PY_LONG_LONG, PyLong_AsUnsignedLongLong(x)) +#endif + } + } else { +#if CYTHON_USE_PYLONG_INTERNALS + if (__Pyx_PyLong_IsCompact(x)) { + __PYX_VERIFY_RETURN_INT(char, __Pyx_compact_pylong, __Pyx_PyLong_CompactValue(x)) + } else { + const digit* digits = __Pyx_PyLong_Digits(x); + assert(__Pyx_PyLong_DigitCount(x) > 1); + switch (__Pyx_PyLong_SignedDigitCount(x)) { + case -2: + if ((8 * sizeof(char) - 1 > 1 * PyLong_SHIFT)) { + if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(char, long, -(long) (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(char) - 1 > 2 * PyLong_SHIFT)) { + return (char) (((char)-1)*(((((char)digits[1]) << PyLong_SHIFT) | (char)digits[0]))); + } + } + break; + case 2: + if ((8 * sizeof(char) > 1 * PyLong_SHIFT)) { + if ((8 * sizeof(unsigned long) > 2 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(char, unsigned long, (((((unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(char) - 1 > 2 * PyLong_SHIFT)) { + return (char) ((((((char)digits[1]) << PyLong_SHIFT) | (char)digits[0]))); + } + } + break; + case -3: + if ((8 * sizeof(char) - 1 > 2 * PyLong_SHIFT)) { + if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(char, long, -(long) (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(char) - 1 > 3 * PyLong_SHIFT)) { + return (char) (((char)-1)*(((((((char)digits[2]) << PyLong_SHIFT) | (char)digits[1]) << PyLong_SHIFT) | (char)digits[0]))); + } + } + break; + case 3: + if ((8 * sizeof(char) > 2 * PyLong_SHIFT)) { + if ((8 * sizeof(unsigned long) > 3 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(char, unsigned long, (((((((unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(char) - 1 > 3 * PyLong_SHIFT)) { + return (char) ((((((((char)digits[2]) << PyLong_SHIFT) | (char)digits[1]) << PyLong_SHIFT) | (char)digits[0]))); + } + } + break; + case -4: + if ((8 * sizeof(char) - 1 > 3 * PyLong_SHIFT)) { + if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(char, long, -(long) (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(char) - 1 > 4 * PyLong_SHIFT)) { + return (char) (((char)-1)*(((((((((char)digits[3]) << PyLong_SHIFT) | (char)digits[2]) << PyLong_SHIFT) | (char)digits[1]) << PyLong_SHIFT) | (char)digits[0]))); + } + } + break; + case 4: + if ((8 * sizeof(char) > 3 * PyLong_SHIFT)) { + if ((8 * sizeof(unsigned long) > 4 * PyLong_SHIFT)) { + __PYX_VERIFY_RETURN_INT(char, unsigned long, (((((((((unsigned long)digits[3]) << PyLong_SHIFT) | (unsigned long)digits[2]) << PyLong_SHIFT) | (unsigned long)digits[1]) << PyLong_SHIFT) | (unsigned long)digits[0]))) + } else if ((8 * sizeof(char) - 1 > 4 * PyLong_SHIFT)) { + return (char) ((((((((((char)digits[3]) << PyLong_SHIFT) | (char)digits[2]) << PyLong_SHIFT) | (char)digits[1]) << PyLong_SHIFT) | (char)digits[0]))); + } + } + break; + } + } +#endif + if ((sizeof(char) <= sizeof(long))) { + __PYX_VERIFY_RETURN_INT_EXC(char, long, PyLong_AsLong(x)) +#ifdef HAVE_LONG_LONG + } else if ((sizeof(char) <= sizeof(PY_LONG_LONG))) { + __PYX_VERIFY_RETURN_INT_EXC(char, PY_LONG_LONG, PyLong_AsLongLong(x)) +#endif + } + } + { + char val; + PyObject *v = __Pyx_PyNumber_IntOrLong(x); +#if PY_MAJOR_VERSION < 3 + if (likely(v) && !PyLong_Check(v)) { + PyObject *tmp = v; + v = PyNumber_Long(tmp); + Py_DECREF(tmp); + } +#endif + if (likely(v)) { + int ret = -1; +#if PY_VERSION_HEX < 0x030d0000 && !(CYTHON_COMPILING_IN_PYPY || CYTHON_COMPILING_IN_LIMITED_API) || defined(_PyLong_AsByteArray) + int one = 1; int is_little = (int)*(unsigned char *)&one; + unsigned char *bytes = (unsigned char *)&val; + ret = _PyLong_AsByteArray((PyLongObject *)v, + bytes, sizeof(val), + is_little, !is_unsigned); +#else + PyObject *stepval = NULL, *mask = NULL, *shift = NULL; + int bits, remaining_bits, is_negative = 0; + long idigit; + int chunk_size = (sizeof(long) < 8) ? 30 : 62; + if (unlikely(!PyLong_CheckExact(v))) { + PyObject *tmp = v; + v = PyNumber_Long(v); + assert(PyLong_CheckExact(v)); + Py_DECREF(tmp); + if (unlikely(!v)) return (char) -1; + } +#if CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030B0000 + if (Py_SIZE(x) == 0) + return (char) 0; + is_negative = Py_SIZE(x) < 0; +#else + { + int result = PyObject_RichCompareBool(x, Py_False, Py_LT); + if (unlikely(result < 0)) + return (char) -1; + is_negative = result == 1; + } +#endif + if (is_unsigned && unlikely(is_negative)) { + goto raise_neg_overflow; + } else if (is_negative) { + stepval = PyNumber_Invert(v); + if (unlikely(!stepval)) + return (char) -1; + } else { + stepval = __Pyx_NewRef(v); + } + val = (char) 0; + mask = PyLong_FromLong((1L << chunk_size) - 1); if (unlikely(!mask)) goto done; + shift = PyLong_FromLong(chunk_size); if (unlikely(!shift)) goto done; + for (bits = 0; bits < (int) sizeof(char) * 8 - chunk_size; bits += chunk_size) { + PyObject *tmp, *digit; + digit = PyNumber_And(stepval, mask); + if (unlikely(!digit)) goto done; + idigit = PyLong_AsLong(digit); + Py_DECREF(digit); + if (unlikely(idigit < 0)) goto done; + tmp = PyNumber_Rshift(stepval, shift); + if (unlikely(!tmp)) goto done; + Py_DECREF(stepval); stepval = tmp; + val |= ((char) idigit) << bits; + #if CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030B0000 + if (Py_SIZE(stepval) == 0) + goto unpacking_done; + #endif + } + idigit = PyLong_AsLong(stepval); + if (unlikely(idigit < 0)) goto done; + remaining_bits = ((int) sizeof(char) * 8) - bits - (is_unsigned ? 0 : 1); + if (unlikely(idigit >= (1L << remaining_bits))) + goto raise_overflow; + val |= ((char) idigit) << bits; + #if CYTHON_COMPILING_IN_LIMITED_API && PY_VERSION_HEX < 0x030B0000 + unpacking_done: + #endif + if (!is_unsigned) { + if (unlikely(val & (((char) 1) << (sizeof(char) * 8 - 1)))) + goto raise_overflow; + if (is_negative) + val = ~val; + } + ret = 0; + done: + Py_XDECREF(shift); + Py_XDECREF(mask); + Py_XDECREF(stepval); +#endif + Py_DECREF(v); + if (likely(!ret)) + return val; + } + return (char) -1; + } + } else { + char val; + PyObject *tmp = __Pyx_PyNumber_IntOrLong(x); + if (!tmp) return (char) -1; + val = __Pyx_PyInt_As_char(tmp); + Py_DECREF(tmp); + return val; + } +raise_overflow: + PyErr_SetString(PyExc_OverflowError, + "value too large to convert to char"); + return (char) -1; +raise_neg_overflow: + PyErr_SetString(PyExc_OverflowError, + "can't convert negative value to char"); + return (char) -1; +} + +/* FormatTypeName */ + #if CYTHON_COMPILING_IN_LIMITED_API +static __Pyx_TypeName +__Pyx_PyType_GetName(PyTypeObject* tp) +{ + PyObject *name = __Pyx_PyObject_GetAttrStr((PyObject *)tp, + __pyx_n_s_name_2); + if (unlikely(name == NULL) || unlikely(!PyUnicode_Check(name))) { + PyErr_Clear(); + Py_XDECREF(name); + name = __Pyx_NewRef(__pyx_n_s__59); + } + return name; +} +#endif + +/* CheckBinaryVersion */ + static unsigned long __Pyx_get_runtime_version(void) { +#if __PYX_LIMITED_VERSION_HEX >= 0x030B00A4 + return Py_Version & ~0xFFUL; +#else + const char* rt_version = Py_GetVersion(); + unsigned long version = 0; + unsigned long factor = 0x01000000UL; + unsigned int digit = 0; + int i = 0; + while (factor) { + while ('0' <= rt_version[i] && rt_version[i] <= '9') { + digit = digit * 10 + (unsigned int) (rt_version[i] - '0'); + ++i; + } + version += factor * digit; + if (rt_version[i] != '.') + break; + digit = 0; + factor >>= 8; + ++i; + } + return version; +#endif +} +static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt_version, int allow_newer) { + const unsigned long MAJOR_MINOR = 0xFFFF0000UL; + if ((rt_version & MAJOR_MINOR) == (ct_version & MAJOR_MINOR)) + return 0; + if (likely(allow_newer && (rt_version & MAJOR_MINOR) > (ct_version & MAJOR_MINOR))) + return 1; + { + char message[200]; + PyOS_snprintf(message, sizeof(message), + "compile time Python version %d.%d " + "of module '%.100s' " + "%s " + "runtime version %d.%d", + (int) (ct_version >> 24), (int) ((ct_version >> 16) & 0xFF), + __Pyx_MODULE_NAME, + (allow_newer) ? "was newer than" : "does not match", + (int) (rt_version >> 24), (int) ((rt_version >> 16) & 0xFF) + ); + return PyErr_WarnEx(NULL, message, 1); + } +} + +/* InitStrings */ + #if PY_MAJOR_VERSION >= 3 +static int __Pyx_InitString(__Pyx_StringTabEntry t, PyObject **str) { + if (t.is_unicode | t.is_str) { + if (t.intern) { + *str = PyUnicode_InternFromString(t.s); + } else if (t.encoding) { + *str = PyUnicode_Decode(t.s, t.n - 1, t.encoding, NULL); + } else { + *str = PyUnicode_FromStringAndSize(t.s, t.n - 1); + } + } else { + *str = PyBytes_FromStringAndSize(t.s, t.n - 1); + } + if (!*str) + return -1; + if (PyObject_Hash(*str) == -1) + return -1; + return 0; +} +#endif +static int __Pyx_InitStrings(__Pyx_StringTabEntry *t) { + while (t->p) { + #if PY_MAJOR_VERSION >= 3 + __Pyx_InitString(*t, t->p); + #else + if (t->is_unicode) { + *t->p = PyUnicode_DecodeUTF8(t->s, t->n - 1, NULL); + } else if (t->intern) { + *t->p = PyString_InternFromString(t->s); + } else { + *t->p = PyString_FromStringAndSize(t->s, t->n - 1); + } + if (!*t->p) + return -1; + if (PyObject_Hash(*t->p) == -1) + return -1; + #endif + ++t; + } + return 0; +} + +#include +static CYTHON_INLINE Py_ssize_t __Pyx_ssize_strlen(const char *s) { + size_t len = strlen(s); + if (unlikely(len > (size_t) PY_SSIZE_T_MAX)) { + PyErr_SetString(PyExc_OverflowError, "byte string is too long"); + return -1; + } + return (Py_ssize_t) len; +} +static CYTHON_INLINE PyObject* __Pyx_PyUnicode_FromString(const char* c_str) { + Py_ssize_t len = __Pyx_ssize_strlen(c_str); + if (unlikely(len < 0)) return NULL; + return __Pyx_PyUnicode_FromStringAndSize(c_str, len); +} +static CYTHON_INLINE PyObject* __Pyx_PyByteArray_FromString(const char* c_str) { + Py_ssize_t len = __Pyx_ssize_strlen(c_str); + if (unlikely(len < 0)) return NULL; + return PyByteArray_FromStringAndSize(c_str, len); +} +static CYTHON_INLINE const char* __Pyx_PyObject_AsString(PyObject* o) { + Py_ssize_t ignore; + return __Pyx_PyObject_AsStringAndSize(o, &ignore); +} +#if __PYX_DEFAULT_STRING_ENCODING_IS_ASCII || __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT +#if !CYTHON_PEP393_ENABLED +static const char* __Pyx_PyUnicode_AsStringAndSize(PyObject* o, Py_ssize_t *length) { + char* defenc_c; + PyObject* defenc = _PyUnicode_AsDefaultEncodedString(o, NULL); + if (!defenc) return NULL; + defenc_c = PyBytes_AS_STRING(defenc); +#if __PYX_DEFAULT_STRING_ENCODING_IS_ASCII + { + char* end = defenc_c + PyBytes_GET_SIZE(defenc); + char* c; + for (c = defenc_c; c < end; c++) { + if ((unsigned char) (*c) >= 128) { + PyUnicode_AsASCIIString(o); + return NULL; + } + } + } +#endif + *length = PyBytes_GET_SIZE(defenc); + return defenc_c; +} +#else +static CYTHON_INLINE const char* __Pyx_PyUnicode_AsStringAndSize(PyObject* o, Py_ssize_t *length) { + if (unlikely(__Pyx_PyUnicode_READY(o) == -1)) return NULL; +#if __PYX_DEFAULT_STRING_ENCODING_IS_ASCII + if (likely(PyUnicode_IS_ASCII(o))) { + *length = PyUnicode_GET_LENGTH(o); + return PyUnicode_AsUTF8(o); + } else { + PyUnicode_AsASCIIString(o); + return NULL; + } +#else + return PyUnicode_AsUTF8AndSize(o, length); +#endif +} +#endif +#endif +static CYTHON_INLINE const char* __Pyx_PyObject_AsStringAndSize(PyObject* o, Py_ssize_t *length) { +#if __PYX_DEFAULT_STRING_ENCODING_IS_ASCII || __PYX_DEFAULT_STRING_ENCODING_IS_DEFAULT + if ( +#if PY_MAJOR_VERSION < 3 && __PYX_DEFAULT_STRING_ENCODING_IS_ASCII + __Pyx_sys_getdefaultencoding_not_ascii && +#endif + PyUnicode_Check(o)) { + return __Pyx_PyUnicode_AsStringAndSize(o, length); + } else +#endif +#if (!CYTHON_COMPILING_IN_PYPY && !CYTHON_COMPILING_IN_LIMITED_API) || (defined(PyByteArray_AS_STRING) && defined(PyByteArray_GET_SIZE)) + if (PyByteArray_Check(o)) { + *length = PyByteArray_GET_SIZE(o); + return PyByteArray_AS_STRING(o); + } else +#endif + { + char* result; + int r = PyBytes_AsStringAndSize(o, &result, length); + if (unlikely(r < 0)) { + return NULL; + } else { + return result; + } + } +} +static CYTHON_INLINE int __Pyx_PyObject_IsTrue(PyObject* x) { + int is_true = x == Py_True; + if (is_true | (x == Py_False) | (x == Py_None)) return is_true; + else return PyObject_IsTrue(x); +} +static CYTHON_INLINE int __Pyx_PyObject_IsTrueAndDecref(PyObject* x) { + int retval; + if (unlikely(!x)) return -1; + retval = __Pyx_PyObject_IsTrue(x); + Py_DECREF(x); + return retval; +} +static PyObject* __Pyx_PyNumber_IntOrLongWrongResultType(PyObject* result, const char* type_name) { + __Pyx_TypeName result_type_name = __Pyx_PyType_GetName(Py_TYPE(result)); +#if PY_MAJOR_VERSION >= 3 + if (PyLong_Check(result)) { + if (PyErr_WarnFormat(PyExc_DeprecationWarning, 1, + "__int__ returned non-int (type " __Pyx_FMT_TYPENAME "). " + "The ability to return an instance of a strict subclass of int is deprecated, " + "and may be removed in a future version of Python.", + result_type_name)) { + __Pyx_DECREF_TypeName(result_type_name); + Py_DECREF(result); + return NULL; + } + __Pyx_DECREF_TypeName(result_type_name); + return result; + } +#endif + PyErr_Format(PyExc_TypeError, + "__%.4s__ returned non-%.4s (type " __Pyx_FMT_TYPENAME ")", + type_name, type_name, result_type_name); + __Pyx_DECREF_TypeName(result_type_name); + Py_DECREF(result); + return NULL; +} +static CYTHON_INLINE PyObject* __Pyx_PyNumber_IntOrLong(PyObject* x) { +#if CYTHON_USE_TYPE_SLOTS + PyNumberMethods *m; +#endif + const char *name = NULL; + PyObject *res = NULL; +#if PY_MAJOR_VERSION < 3 + if (likely(PyInt_Check(x) || PyLong_Check(x))) +#else + if (likely(PyLong_Check(x))) +#endif + return __Pyx_NewRef(x); +#if CYTHON_USE_TYPE_SLOTS + m = Py_TYPE(x)->tp_as_number; + #if PY_MAJOR_VERSION < 3 + if (m && m->nb_int) { + name = "int"; + res = m->nb_int(x); + } + else if (m && m->nb_long) { + name = "long"; + res = m->nb_long(x); + } + #else + if (likely(m && m->nb_int)) { + name = "int"; + res = m->nb_int(x); + } + #endif +#else + if (!PyBytes_CheckExact(x) && !PyUnicode_CheckExact(x)) { + res = PyNumber_Int(x); + } +#endif + if (likely(res)) { +#if PY_MAJOR_VERSION < 3 + if (unlikely(!PyInt_Check(res) && !PyLong_Check(res))) { +#else + if (unlikely(!PyLong_CheckExact(res))) { +#endif + return __Pyx_PyNumber_IntOrLongWrongResultType(res, name); + } + } + else if (!PyErr_Occurred()) { + PyErr_SetString(PyExc_TypeError, + "an integer is required"); + } + return res; +} +static CYTHON_INLINE Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject* b) { + Py_ssize_t ival; + PyObject *x; +#if PY_MAJOR_VERSION < 3 + if (likely(PyInt_CheckExact(b))) { + if (sizeof(Py_ssize_t) >= sizeof(long)) + return PyInt_AS_LONG(b); + else + return PyInt_AsSsize_t(b); + } +#endif + if (likely(PyLong_CheckExact(b))) { + #if CYTHON_USE_PYLONG_INTERNALS + if (likely(__Pyx_PyLong_IsCompact(b))) { + return __Pyx_PyLong_CompactValue(b); + } else { + const digit* digits = __Pyx_PyLong_Digits(b); + const Py_ssize_t size = __Pyx_PyLong_SignedDigitCount(b); + switch (size) { + case 2: + if (8 * sizeof(Py_ssize_t) > 2 * PyLong_SHIFT) { + return (Py_ssize_t) (((((size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0])); + } + break; + case -2: + if (8 * sizeof(Py_ssize_t) > 2 * PyLong_SHIFT) { + return -(Py_ssize_t) (((((size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0])); + } + break; + case 3: + if (8 * sizeof(Py_ssize_t) > 3 * PyLong_SHIFT) { + return (Py_ssize_t) (((((((size_t)digits[2]) << PyLong_SHIFT) | (size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0])); + } + break; + case -3: + if (8 * sizeof(Py_ssize_t) > 3 * PyLong_SHIFT) { + return -(Py_ssize_t) (((((((size_t)digits[2]) << PyLong_SHIFT) | (size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0])); + } + break; + case 4: + if (8 * sizeof(Py_ssize_t) > 4 * PyLong_SHIFT) { + return (Py_ssize_t) (((((((((size_t)digits[3]) << PyLong_SHIFT) | (size_t)digits[2]) << PyLong_SHIFT) | (size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0])); + } + break; + case -4: + if (8 * sizeof(Py_ssize_t) > 4 * PyLong_SHIFT) { + return -(Py_ssize_t) (((((((((size_t)digits[3]) << PyLong_SHIFT) | (size_t)digits[2]) << PyLong_SHIFT) | (size_t)digits[1]) << PyLong_SHIFT) | (size_t)digits[0])); + } + break; + } + } + #endif + return PyLong_AsSsize_t(b); + } + x = PyNumber_Index(b); + if (!x) return -1; + ival = PyInt_AsSsize_t(x); + Py_DECREF(x); + return ival; +} +static CYTHON_INLINE Py_hash_t __Pyx_PyIndex_AsHash_t(PyObject* o) { + if (sizeof(Py_hash_t) == sizeof(Py_ssize_t)) { + return (Py_hash_t) __Pyx_PyIndex_AsSsize_t(o); +#if PY_MAJOR_VERSION < 3 + } else if (likely(PyInt_CheckExact(o))) { + return PyInt_AS_LONG(o); +#endif + } else { + Py_ssize_t ival; + PyObject *x; + x = PyNumber_Index(o); + if (!x) return -1; + ival = PyInt_AsLong(x); + Py_DECREF(x); + return ival; + } +} +static CYTHON_INLINE PyObject * __Pyx_PyBool_FromLong(long b) { + return b ? __Pyx_NewRef(Py_True) : __Pyx_NewRef(Py_False); +} +static CYTHON_INLINE PyObject * __Pyx_PyInt_FromSize_t(size_t ival) { + return PyInt_FromSize_t(ival); +} + + +/* #### Code section: utility_code_pragmas_end ### */ +#ifdef _MSC_VER +#pragma warning( pop ) +#endif + + + +/* #### Code section: end ### */ +#endif /* Py_PYTHON_H */ diff --git a/anomaly-detector/anomaly_detector/univariate/_anomaly_kernel_cython.pyx b/src/anomaly_detector/univariate/_anomaly_kernel_cython.pyx similarity index 100% rename from anomaly-detector/anomaly_detector/univariate/_anomaly_kernel_cython.pyx rename to src/anomaly_detector/univariate/_anomaly_kernel_cython.pyx diff --git a/anomaly-detector/anomaly_detector/univariate/detectors/__init__.py b/src/anomaly_detector/univariate/detectors/__init__.py similarity index 100% rename from anomaly-detector/anomaly_detector/univariate/detectors/__init__.py rename to src/anomaly_detector/univariate/detectors/__init__.py diff --git a/anomaly-detector/anomaly_detector/univariate/detectors/detector.py b/src/anomaly_detector/univariate/detectors/detector.py similarity index 100% rename from anomaly-detector/anomaly_detector/univariate/detectors/detector.py rename to src/anomaly_detector/univariate/detectors/detector.py diff --git a/anomaly-detector/anomaly_detector/univariate/detectors/dynamic_filter.py b/src/anomaly_detector/univariate/detectors/dynamic_filter.py similarity index 100% rename from anomaly-detector/anomaly_detector/univariate/detectors/dynamic_filter.py rename to src/anomaly_detector/univariate/detectors/dynamic_filter.py diff --git a/anomaly-detector/anomaly_detector/univariate/detectors/esd_filter.py b/src/anomaly_detector/univariate/detectors/esd_filter.py similarity index 100% rename from anomaly-detector/anomaly_detector/univariate/detectors/esd_filter.py rename to src/anomaly_detector/univariate/detectors/esd_filter.py diff --git a/anomaly-detector/anomaly_detector/univariate/detectors/spectral_residual.py b/src/anomaly_detector/univariate/detectors/spectral_residual.py similarity index 100% rename from anomaly-detector/anomaly_detector/univariate/detectors/spectral_residual.py rename to src/anomaly_detector/univariate/detectors/spectral_residual.py diff --git a/anomaly-detector/anomaly_detector/univariate/detectors/z_score.py b/src/anomaly_detector/univariate/detectors/z_score.py similarity index 100% rename from anomaly-detector/anomaly_detector/univariate/detectors/z_score.py rename to src/anomaly_detector/univariate/detectors/z_score.py diff --git a/anomaly-detector/anomaly_detector/univariate/filling_up/__init__.py b/src/anomaly_detector/univariate/filling_up/__init__.py similarity index 100% rename from anomaly-detector/anomaly_detector/univariate/filling_up/__init__.py rename to src/anomaly_detector/univariate/filling_up/__init__.py diff --git a/anomaly-detector/anomaly_detector/univariate/filling_up/fill_up.py b/src/anomaly_detector/univariate/filling_up/fill_up.py similarity index 100% rename from anomaly-detector/anomaly_detector/univariate/filling_up/fill_up.py rename to src/anomaly_detector/univariate/filling_up/fill_up.py diff --git a/anomaly-detector/anomaly_detector/univariate/filling_up/fill_up_methods.py b/src/anomaly_detector/univariate/filling_up/fill_up_methods.py similarity index 100% rename from anomaly-detector/anomaly_detector/univariate/filling_up/fill_up_methods.py rename to src/anomaly_detector/univariate/filling_up/fill_up_methods.py diff --git a/anomaly-detector/anomaly_detector/univariate/resource/__init__.py b/src/anomaly_detector/univariate/model/__init__.py similarity index 100% rename from anomaly-detector/anomaly_detector/univariate/resource/__init__.py rename to src/anomaly_detector/univariate/model/__init__.py diff --git a/anomaly-detector/anomaly_detector/univariate/model/detect.py b/src/anomaly_detector/univariate/model/detect.py similarity index 100% rename from anomaly-detector/anomaly_detector/univariate/model/detect.py rename to src/anomaly_detector/univariate/model/detect.py diff --git a/anomaly-detector/anomaly_detector/univariate/model/detect_model.py b/src/anomaly_detector/univariate/model/detect_model.py similarity index 100% rename from anomaly-detector/anomaly_detector/univariate/model/detect_model.py rename to src/anomaly_detector/univariate/model/detect_model.py diff --git a/anomaly-detector/anomaly_detector/univariate/model/dynamic_threshold.py b/src/anomaly_detector/univariate/model/dynamic_threshold.py similarity index 100% rename from anomaly-detector/anomaly_detector/univariate/model/dynamic_threshold.py rename to src/anomaly_detector/univariate/model/dynamic_threshold.py diff --git a/anomaly-detector/anomaly_detector/univariate/model/hbos_detection.py b/src/anomaly_detector/univariate/model/hbos_detection.py similarity index 100% rename from anomaly-detector/anomaly_detector/univariate/model/hbos_detection.py rename to src/anomaly_detector/univariate/model/hbos_detection.py diff --git a/anomaly-detector/anomaly_detector/univariate/model/seasonal_series.py b/src/anomaly_detector/univariate/model/seasonal_series.py similarity index 100% rename from anomaly-detector/anomaly_detector/univariate/model/seasonal_series.py rename to src/anomaly_detector/univariate/model/seasonal_series.py diff --git a/anomaly-detector/anomaly_detector/univariate/model/series_compete_processor.py b/src/anomaly_detector/univariate/model/series_compete_processor.py similarity index 100% rename from anomaly-detector/anomaly_detector/univariate/model/series_compete_processor.py rename to src/anomaly_detector/univariate/model/series_compete_processor.py diff --git a/anomaly-detector/anomaly_detector/univariate/model/spectral_residual_model.py b/src/anomaly_detector/univariate/model/spectral_residual_model.py similarity index 100% rename from anomaly-detector/anomaly_detector/univariate/model/spectral_residual_model.py rename to src/anomaly_detector/univariate/model/spectral_residual_model.py diff --git a/anomaly-detector/anomaly_detector/univariate/period/__init__.py b/src/anomaly_detector/univariate/period/__init__.py similarity index 100% rename from anomaly-detector/anomaly_detector/univariate/period/__init__.py rename to src/anomaly_detector/univariate/period/__init__.py diff --git a/anomaly-detector/anomaly_detector/univariate/period/period_detect.py b/src/anomaly_detector/univariate/period/period_detect.py similarity index 100% rename from anomaly-detector/anomaly_detector/univariate/period/period_detect.py rename to src/anomaly_detector/univariate/period/period_detect.py diff --git a/anomaly-detector/anomaly_detector/univariate/period/simple.py b/src/anomaly_detector/univariate/period/simple.py similarity index 100% rename from anomaly-detector/anomaly_detector/univariate/period/simple.py rename to src/anomaly_detector/univariate/period/simple.py diff --git a/anomaly-detector/anomaly_detector/univariate/period/spectrum.py b/src/anomaly_detector/univariate/period/spectrum.py similarity index 100% rename from anomaly-detector/anomaly_detector/univariate/period/spectrum.py rename to src/anomaly_detector/univariate/period/spectrum.py diff --git a/anomaly-detector/tests/__init__.py b/src/anomaly_detector/univariate/resource/__init__.py similarity index 100% rename from anomaly-detector/tests/__init__.py rename to src/anomaly_detector/univariate/resource/__init__.py diff --git a/anomaly-detector/anomaly_detector/univariate/resource/error_message.py b/src/anomaly_detector/univariate/resource/error_message.py similarity index 100% rename from anomaly-detector/anomaly_detector/univariate/resource/error_message.py rename to src/anomaly_detector/univariate/resource/error_message.py diff --git a/anomaly-detector/anomaly_detector/univariate/univariate_anomaly_detection.py b/src/anomaly_detector/univariate/univariate_anomaly_detection.py similarity index 100% rename from anomaly-detector/anomaly_detector/univariate/univariate_anomaly_detection.py rename to src/anomaly_detector/univariate/univariate_anomaly_detection.py diff --git a/anomaly-detector/anomaly_detector/univariate/util/__init__.py b/src/anomaly_detector/univariate/util/__init__.py similarity index 93% rename from anomaly-detector/anomaly_detector/univariate/util/__init__.py rename to src/anomaly_detector/univariate/util/__init__.py index e4953a9..f050678 100644 --- a/anomaly-detector/anomaly_detector/univariate/util/__init__.py +++ b/src/anomaly_detector/univariate/util/__init__.py @@ -6,4 +6,4 @@ from .helpers import * from .stl_helpers import * from .r_stl import stl, stl_adjust_trend -from .refine import * \ No newline at end of file +from .refine import * diff --git a/anomaly-detector/anomaly_detector/univariate/util/boundary_utils.py b/src/anomaly_detector/univariate/util/boundary_utils.py similarity index 100% rename from anomaly-detector/anomaly_detector/univariate/util/boundary_utils.py rename to src/anomaly_detector/univariate/util/boundary_utils.py diff --git a/src/anomaly_detector/univariate/util/critical_table_values.py b/src/anomaly_detector/univariate/util/critical_table_values.py new file mode 100644 index 0000000..64071b1 --- /dev/null +++ b/src/anomaly_detector/univariate/util/critical_table_values.py @@ -0,0 +1 @@ +critical_table = [4.541395664215088, 4.541383743286133, 4.541372299194336, 4.541360378265381, 4.541348457336426, 4.541337013244629, 4.541325092315674, 4.541313171386719, 4.541301727294922, 4.541289806365967, 4.541277885437012, 4.541265964508057, 4.54125452041626, 4.541242599487305, 4.54123067855835, 4.541219234466553, 4.541207313537598, 4.541195392608643, 4.541183948516846, 4.541172027587891, 4.5411601066589355, 4.5411481857299805, 4.541136741638184, 4.5411248207092285, 4.541112899780273, 4.541101455688477, 4.5410895347595215, 4.541077613830566, 4.5410661697387695, 4.5410542488098145, 4.541042327880859, 4.541030406951904, 4.541018962860107, 4.541007041931152, 4.540995121002197, 4.540983200073242, 4.540971755981445, 4.54095983505249, 4.540947914123535, 4.540936470031738, 4.540924549102783, 4.540912628173828, 4.540900707244873, 4.540889263153076, 4.540877342224121, 4.540865421295166, 4.540853500366211, 4.540842056274414, 4.540830135345459, 4.540818214416504, 4.540806293487549, 4.540794849395752, 4.540782928466797, 4.540771007537842, 4.540759086608887, 4.54074764251709, 4.540735721588135, 4.54072380065918, 4.540711879730225, 4.540700435638428, 4.540688514709473, 4.540676593780518, 4.5406646728515625, 4.540653228759766, 4.5406413078308105, 4.5406293869018555, 4.5406174659729, 4.540605545043945, 4.540594100952148, 4.540582180023193, 4.540570259094238, 4.540558338165283, 4.540546894073486, 4.540534973144531, 4.540523052215576, 4.540511131286621, 4.540499210357666, 4.540487766265869, 4.540475845336914, 4.540463924407959, 4.540452003479004, 4.540440559387207, 4.540428638458252, 4.540416717529297, 4.540404796600342, 4.540392875671387, 4.54038143157959, 4.540369510650635, 4.54035758972168, 4.540345668792725, 4.5403337478637695, 4.540322303771973, 4.540310382843018, 4.5402984619140625, 4.540286540985107, 4.540274620056152, 4.540262699127197, 4.5402512550354, 4.540239334106445, 4.54022741317749, 4.540215492248535, 4.54020357131958, 4.540192127227783, 4.540180206298828, 4.540168285369873, 4.540156364440918, 4.540144443511963, 4.540132522583008, 4.540121078491211, 4.540109157562256, 4.540097236633301, 4.540085315704346, 4.540073394775391, 4.5400614738464355, 4.540050029754639, 4.540038108825684, 4.5400261878967285, 4.540014266967773, 4.540002346038818, 4.539990425109863, 4.539978981018066, 4.539967060089111, 4.539955139160156, 4.539943218231201, 4.539931297302246, 4.539919376373291, 4.539907455444336, 4.539896011352539, 4.539884090423584, 4.539872169494629, 4.539860248565674, 4.539848327636719, 4.539836406707764, 4.539824485778809, 4.5398125648498535, 4.539801120758057, 4.539789199829102, 4.5397772789001465, 4.539765357971191, 4.539753437042236, 4.539741516113281, 4.539729595184326, 4.539717674255371, 4.539706230163574, 4.539694309234619, 4.539682388305664, 4.539670467376709, 4.539658546447754, 4.539646625518799, 4.539634704589844, 4.539622783660889, 4.539610862731934, 4.539599418640137, 4.539587497711182, 4.539575576782227, 4.5395636558532715, 4.539551734924316, 4.539539813995361, 4.539527893066406, 4.539515972137451, 4.539504051208496, 4.539492130279541, 4.539480686187744, 4.539468765258789, 4.539456844329834, 4.539444923400879, 4.539433002471924, 4.539421081542969, 4.539409160614014, 4.539397239685059, 4.5393853187561035, 4.539373397827148, 4.539361476898193, 4.539349555969238, 4.539338111877441, 4.539326190948486, 4.539314270019531, 4.539302349090576, 4.539290428161621, 4.539278507232666, 4.539266586303711, 4.539254665374756, 4.539242744445801, 4.539230823516846, 4.539218902587891, 4.5392069816589355, 4.5391950607299805, 4.539183139801025, 4.53917121887207, 4.539159297943115, 4.53914737701416, 4.539135932922363, 4.539124011993408, 4.539112091064453, 4.539100170135498, 4.539088249206543, 4.539076328277588, 4.539064407348633, 4.539052486419678, 4.539040565490723, 4.539028644561768, 4.5390167236328125, 4.539004802703857, 4.538992881774902, 4.538980960845947, 4.538969039916992, 4.538957118988037, 4.538945198059082, 4.538933277130127, 4.538921356201172, 4.538909435272217, 4.538897514343262, 4.538885593414307, 4.538873672485352, 4.5388617515563965, 4.538849830627441, 4.538837909698486, 4.538825988769531, 4.538814067840576, 4.538802146911621, 4.538790225982666, 4.538778305053711, 4.538766384124756, 4.538754463195801, 4.538742542266846, 4.538730621337891, 4.5387187004089355, 4.5387067794799805, 4.538694858551025, 4.53868293762207, 4.538671016693115, 4.53865909576416, 4.538647174835205, 4.53863525390625, 4.538623332977295, 4.53861141204834, 4.538599491119385, 4.53858757019043, 4.538575649261475, 4.5385637283325195, 4.5385518074035645, 4.538539886474609, 4.538527965545654, 4.538516044616699, 4.538504123687744, 4.538492202758789, 4.538480281829834, 4.538468360900879, 4.538456439971924, 4.538444519042969, 4.538432598114014, 4.538420677185059, 4.5384087562561035, 4.538396835327148, 4.538384914398193, 4.538372993469238, 4.538360595703125, 4.53834867477417, 4.538336753845215, 4.53832483291626, 4.538312911987305, 4.53830099105835, 4.5382890701293945, 4.5382771492004395, 4.538265228271484, 4.538253307342529, 4.538241386413574, 4.538229465484619, 4.538217544555664, 4.538205623626709, 4.538193702697754, 4.538181781768799, 4.538169860839844, 4.5381574630737305, 4.538145542144775, 4.53813362121582, 4.538121700286865, 4.53810977935791, 4.538097858428955, 4.5380859375, 4.538074016571045, 4.53806209564209, 4.538050174713135, 4.53803825378418, 4.538026332855225, 4.538013935089111, 4.538002014160156, 4.537990093231201, 4.537978172302246, 4.537966251373291, 4.537954330444336, 4.537942409515381, 4.537930488586426, 4.537918567657471, 4.537906646728516, 4.537894248962402, 4.537882328033447, 4.537870407104492, 4.537858486175537, 4.537846565246582, 4.537834644317627, 4.537822723388672, 4.537810802459717, 4.537798881530762, 4.537786483764648, 4.537774562835693, 4.537762641906738, 4.537750720977783, 4.537738800048828, 4.537726879119873, 4.537714958190918, 4.537703037261963, 4.53769063949585, 4.5376787185668945, 4.5376667976379395, 4.537654876708984, 4.537642955780029, 4.537631034851074, 4.537619113922119, 4.537606716156006, 4.537594795227051, 4.537582874298096, 4.537570953369141, 4.5375590324401855, 4.5375471115112305, 4.537535190582275, 4.537522792816162, 4.537510871887207, 4.537498950958252, 4.537487030029297, 4.537475109100342, 4.537463188171387, 4.537451267242432, 4.537438869476318, 4.537426948547363, 4.537415027618408, 4.537403106689453, 4.537391185760498, 4.537379264831543, 4.53736686706543, 4.537354946136475, 4.5373430252075195, 4.5373311042785645, 4.537319183349609, 4.537306785583496, 4.537294864654541, 4.537282943725586, 4.537271022796631, 4.537259101867676, 4.537247180938721, 4.537234783172607, 4.537222862243652, 4.537210941314697, 4.537199020385742, 4.537187099456787, 4.537174701690674, 4.537162780761719, 4.537150859832764, 4.537138938903809, 4.5371270179748535, 4.53711462020874, 4.537102699279785, 4.53709077835083, 4.537078857421875, 4.53706693649292, 4.537054538726807, 4.537042617797852, 4.5370306968688965, 4.537018775939941, 4.537006855010986, 4.536994457244873, 4.536982536315918, 4.536970615386963, 4.536958694458008, 4.5369462966918945, 4.5369343757629395, 4.536922454833984, 4.536910533905029, 4.536898612976074, 4.536886215209961, 4.536874294281006, 4.536862373352051, 4.536850452423096, 4.536838054656982, 4.536826133728027, 4.536814212799072, 4.536802291870117, 4.536789894104004, 4.536777973175049, 4.536766052246094, 4.536754131317139, 4.536741733551025, 4.53672981262207, 4.536717891693115, 4.53670597076416, 4.536693572998047, 4.536681652069092, 4.536669731140137, 4.536657810211182, 4.536645412445068, 4.536633491516113, 4.536621570587158, 4.536609649658203, 4.53659725189209, 4.536585330963135, 4.53657341003418, 4.536561012268066, 4.536549091339111, 4.536537170410156, 4.536525249481201, 4.536512851715088, 4.536500930786133, 4.536489009857178, 4.536477088928223, 4.536464691162109, 4.536452770233154, 4.536440849304199, 4.536428451538086, 4.536416530609131, 4.536404609680176, 4.536392688751221, 4.536380290985107, 4.536368370056152, 4.536356449127197, 4.536344051361084, 4.536332130432129, 4.536320209503174, 4.5363078117370605, 4.5362958908081055, 4.53628396987915, 4.536272048950195, 4.536259651184082, 4.536247730255127, 4.536235809326172, 4.536223411560059, 4.5362114906311035, 4.536199569702148, 4.536187171936035, 4.53617525100708, 4.536163330078125, 4.536150932312012, 4.536139011383057, 4.536127090454102, 4.536114692687988, 4.536102771759033, 4.536090850830078, 4.536078453063965, 4.53606653213501, 4.536054611206055, 4.536042213439941, 4.536030292510986, 4.536018371582031, 4.536005973815918, 4.535994052886963, 4.535982131958008, 4.5359697341918945, 4.5359578132629395, 4.535945892333984, 4.535933494567871, 4.535921573638916, 4.535909652709961, 4.535897254943848, 4.535885334014893, 4.5358734130859375, 4.535861015319824, 4.535849094390869, 4.535836696624756, 4.535824775695801, 4.535812854766846, 4.535800457000732, 4.535788536071777, 4.535776615142822, 4.535764217376709, 4.535752296447754, 4.535739898681641, 4.5357279777526855, 4.5357160568237305, 4.535703659057617, 4.535691738128662, 4.535679817199707, 4.535667419433594, 4.535655498504639, 4.535643100738525, 4.53563117980957, 4.535619258880615, 4.535606861114502, 4.535594940185547, 4.535582542419434, 4.5355706214904785, 4.535558700561523, 4.53554630279541, 4.535534381866455, 4.535521984100342, 4.535510063171387, 4.535498142242432, 4.535485744476318, 4.535473823547363, 4.53546142578125, 4.535449504852295, 4.53543758392334, 4.535425186157227, 4.5354132652282715, 4.535400867462158, 4.535388946533203, 4.535377025604248, 4.535364627838135, 4.53535270690918, 4.535340309143066, 4.535328388214111, 4.535315990447998, 4.535304069519043, 4.535292148590088, 4.535279750823975, 4.5352678298950195, 4.535255432128906, 4.535243511199951, 4.535231113433838, 4.535219192504883, 4.535207271575928, 4.5351948738098145, 4.535182952880859, 4.535170555114746, 4.535158634185791, 4.535146236419678, 4.535134315490723, 4.535121917724609, 4.535109996795654, 4.535097599029541, 4.535085678100586, 4.535073757171631, 4.535061359405518, 4.5350494384765625, 4.535037040710449, 4.535025119781494, 4.535012722015381, 4.535000801086426, 4.5349884033203125, 4.534976482391357, 4.534964084625244, 4.534952163696289, 4.534939765930176, 4.534927845001221, 4.534915447235107, 4.534903526306152, 4.534891605377197, 4.534879207611084, 4.534867286682129, 4.534854888916016, 4.5348429679870605, 4.534830570220947, 4.534818649291992, 4.534806251525879, 4.534794330596924, 4.5347819328308105, 4.5347700119018555, 4.534757614135742, 4.534745693206787, 4.534733295440674, 4.534721374511719, 4.5347089767456055, 4.53469705581665, 4.534684658050537, 4.534672737121582, 4.534660339355469, 4.534648418426514, 4.5346360206604, 4.534624099731445, 4.534611701965332, 4.534599781036377, 4.534587383270264, 4.53457498550415, 4.534563064575195, 4.534550666809082, 4.534538745880127, 4.534526348114014, 4.534514427185059, 4.534502029418945, 4.53449010848999, 4.534477710723877, 4.534465789794922, 4.534453392028809, 4.5344414710998535, 4.53442907333374, 4.534417152404785, 4.534404754638672, 4.534392356872559, 4.5343804359436035, 4.53436803817749, 4.534356117248535, 4.534343719482422, 4.534331798553467, 4.5343194007873535, 4.534307479858398, 4.534295082092285, 4.53428316116333, 4.534270763397217, 4.5342583656311035, 4.534246444702148, 4.534234046936035, 4.53422212600708, 4.534209728240967, 4.534197807312012, 4.534185409545898, 4.534173011779785, 4.53416109085083, 4.534148693084717, 4.534136772155762, 4.534124374389648, 4.534112453460693, 4.53410005569458, 4.534087657928467, 4.534075736999512, 4.534063339233398, 4.534051418304443, 4.53403902053833, 4.534026622772217, 4.534014701843262, 4.534002304077148, 4.533990383148193, 4.53397798538208, 4.533965587615967, 4.533953666687012, 4.533941268920898, 4.533929347991943, 4.53391695022583, 4.533904552459717, 4.533892631530762, 4.533880233764648, 4.533868312835693, 4.53385591506958, 4.533843517303467, 4.533831596374512, 4.533819198608398, 4.533807277679443, 4.53379487991333, 4.533782482147217, 4.533770561218262, 4.533758163452148, 4.533745765686035, 4.53373384475708, 4.533721446990967, 4.533709526062012, 4.533697128295898, 4.533684730529785, 4.53367280960083, 4.533660411834717, 4.5336480140686035, 4.533636093139648, 4.533623695373535, 4.533611297607422, 4.533599376678467, 4.5335869789123535, 4.533575057983398, 4.533562660217285, 4.533550262451172, 4.533538341522217, 4.5335259437561035, 4.53351354598999, 4.533501625061035, 4.533489227294922, 4.533476829528809, 4.5334649085998535, 4.53345251083374, 4.533440113067627, 4.533428192138672, 4.533415794372559, 4.533403396606445, 4.53339147567749, 4.533379077911377, 4.533366680145264, 4.533354759216309, 4.533342361450195, 4.533329963684082, 4.533318042755127, 4.533305644989014, 4.5332932472229, 4.533281326293945, 4.533268928527832, 4.533256530761719, 4.533244609832764, 4.53323221206665, 4.533219814300537, 4.533207416534424, 4.533195495605469, 4.5331830978393555, 4.533170700073242, 4.533158779144287, 4.533146381378174, 4.5331339836120605, 4.5331220626831055, 4.533109664916992, 4.533097267150879, 4.533084869384766, 4.5330729484558105, 4.533060550689697, 4.533048152923584, 4.533036231994629, 4.533023834228516, 4.533011436462402, 4.532999038696289, 4.532987117767334, 4.532974720001221, 4.532962322235107, 4.532950401306152, 4.532938003540039, 4.532925605773926, 4.5329132080078125, 4.532901287078857, 4.532888889312744, 4.532876491546631, 4.532864093780518, 4.5328521728515625, 4.532839775085449, 4.532827377319336, 4.532814979553223, 4.532803058624268, 4.532790660858154, 4.532778263092041, 4.532765865325928, 4.532753944396973, 4.532741546630859, 4.532729148864746, 4.532716751098633, 4.532704830169678, 4.5326924324035645, 4.532680034637451, 4.532667636871338, 4.532655715942383, 4.5326433181762695, 4.532630920410156, 4.532618522644043, 4.532606601715088, 4.532594203948975, 4.532581806182861, 4.532569408416748, 4.532557010650635, 4.53254508972168, 4.532532691955566, 4.532520294189453, 4.53250789642334, 4.532495975494385, 4.5324835777282715, 4.532471179962158, 4.532458782196045, 4.532446384429932, 4.532434463500977, 4.532422065734863, 4.53240966796875, 4.532397270202637, 4.532384872436523, 4.532372951507568, 4.532360553741455, 4.532348155975342, 4.5323357582092285, 4.532323360443115, 4.53231143951416, 4.532299041748047, 4.532286643981934, 4.53227424621582, 4.532261848449707, 4.532249927520752, 4.532237529754639, 4.532225131988525, 4.532212734222412, 4.532200336456299, 4.5321879386901855, 4.5321760177612305, 4.532163619995117, 4.532151222229004, 4.532138824462891, 4.532126426696777, 4.532114028930664, 4.532102108001709, 4.532089710235596, 4.532077312469482, 4.532064914703369, 4.532052516937256, 4.532040119171143, 4.5320281982421875, 4.532015800476074, 4.532003402709961, 4.531991004943848, 4.531978607177734, 4.531966209411621, 4.531954288482666, 4.531941890716553, 4.5319294929504395, 4.531917095184326, 4.531904697418213, 4.5318922996521, 4.531879901885986, 4.531867980957031, 4.531855583190918, 4.531843185424805, 4.531830787658691, 4.531818389892578, 4.531805992126465, 4.531793594360352, 4.531781196594238, 4.531769275665283, 4.53175687789917, 4.531744480133057, 4.531732082366943, 4.53171968460083, 4.531707286834717, 4.5316948890686035, 4.53168249130249, 4.531670093536377, 4.531658172607422, 4.531645774841309, 4.531633377075195, 4.531620979309082, 4.531608581542969, 4.5315961837768555, 4.531583786010742, 4.531571388244629, 4.531558990478516, 4.5315470695495605, 4.531534671783447, 4.531522274017334, 4.531509876251221, 4.531497478485107, 4.531485080718994, 4.531472682952881, 4.531460285186768, 4.531447887420654, 4.531435489654541, 4.531423091888428, 4.5314106941223145, 4.531398773193359, 4.531386375427246, 4.531373977661133, 4.5313615798950195, 4.531349182128906, 4.531336784362793, 4.53132438659668, 4.531311988830566, 4.531299591064453, 4.53128719329834, 4.531274795532227, 4.531262397766113, 4.53125, 4.531237602233887, 4.531225204467773, 4.53121280670166, 4.531200885772705, 4.531188488006592, 4.5311760902404785, 4.531163692474365, 4.531151294708252, 4.531138896942139, 4.531126499176025, 4.531114101409912, 4.531101703643799, 4.5310893058776855, 4.531076908111572, 4.531064510345459, 4.531052112579346, 4.531039714813232, 4.531027317047119, 4.531014919281006, 4.531002521514893, 4.530990123748779, 4.530977725982666, 4.530965328216553, 4.5309529304504395, 4.530940532684326, 4.530928134918213, 4.5309157371521, 4.530903339385986, 4.530890941619873, 4.53087854385376, 4.5308661460876465, 4.530853748321533, 4.53084135055542, 4.530828952789307, 4.530816555023193, 4.53080415725708, 4.530791759490967, 4.5307793617248535, 4.53076696395874, 4.530754566192627, 4.530742168426514, 4.5307297706604, 4.530717372894287, 4.530704975128174, 4.5306925773620605, 4.530680179595947, 4.530667781829834, 4.530655384063721, 4.530642986297607, 4.530630588531494, 4.530618190765381, 4.530605792999268, 4.530593395233154, 4.530580997467041, 4.530568599700928, 4.5305562019348145, 4.530543804168701, 4.530531406402588, 4.530519008636475, 4.530506610870361, 4.530494213104248, 4.530481815338135, 4.5304694175720215, 4.530457019805908, 4.530444622039795, 4.530432224273682, 4.530419826507568, 4.530407428741455, 4.530394554138184, 4.53038215637207, 4.530369758605957, 4.530357360839844, 4.5303449630737305, 4.530332565307617, 4.530320167541504, 4.530307769775391, 4.530295372009277, 4.530282974243164, 4.530270576477051, 4.5302581787109375, 4.530245780944824, 4.530233383178711, 4.530220985412598, 4.530208110809326, 4.530195713043213, 4.5301833152771, 4.530170917510986, 4.530158519744873, 4.53014612197876, 4.5301337242126465, 4.530121326446533, 4.53010892868042, 4.530096530914307, 4.530084133148193, 4.53007173538208, 4.530058860778809, 4.530046463012695, 4.530034065246582, 4.530021667480469, 4.5300092697143555, 4.529996871948242, 4.529984474182129, 4.529972076416016, 4.529959678649902, 4.529947280883789, 4.529934406280518, 4.529922008514404, 4.529909610748291, 4.529897212982178, 4.5298848152160645, 4.529872417449951, 4.529860019683838, 4.529847621917725, 4.529834747314453, 4.52982234954834, 4.529809951782227, 4.529797554016113, 4.52978515625, 4.529772758483887, 4.529760360717773, 4.52974796295166, 4.529735088348389, 4.529722690582275, 4.529710292816162, 4.529697895050049, 4.5296854972839355, 4.529673099517822, 4.529660701751709, 4.5296478271484375, 4.529635429382324, 4.529623031616211, 4.529610633850098, 4.529598236083984, 4.529585838317871, 4.5295729637146, 4.529560565948486, 4.529548168182373, 4.52953577041626, 4.5295233726501465, 4.529510974884033, 4.529498100280762, 4.529485702514648, 4.529473304748535, 4.529460906982422, 4.529448509216309, 4.529436111450195, 4.529423236846924, 4.5294108390808105, 4.529398441314697, 4.529386043548584, 4.529373645782471, 4.529361248016357, 4.529348373413086, 4.529335975646973, 4.529323577880859, 4.529311180114746, 4.529298782348633, 4.529285907745361, 4.529273509979248, 4.529261112213135, 4.5292487144470215, 4.529236316680908, 4.529223442077637, 4.529211044311523, 4.52919864654541, 4.529186248779297, 4.529173851013184, 4.529160976409912, 4.529148578643799, 4.5291361808776855, 4.529123783111572, 4.529110908508301, 4.5290985107421875, 4.529086112976074, 4.529073715209961, 4.529061317443848, 4.529048442840576, 4.529036045074463, 4.52902364730835, 4.529011249542236, 4.528998374938965, 4.528985977172852, 4.528973579406738, 4.528961181640625, 4.528948783874512, 4.52893590927124, 4.528923511505127, 4.528911113739014, 4.5288987159729, 4.528885841369629, 4.528873443603516, 4.528861045837402, 4.528848648071289, 4.528835773468018, 4.528823375701904, 4.528810977935791, 4.528798580169678, 4.528785705566406, 4.528773307800293, 4.52876091003418, 4.528748035430908, 4.528735637664795, 4.528723239898682, 4.528710842132568, 4.528697967529297, 4.528685569763184, 4.52867317199707, 4.528660774230957, 4.5286478996276855, 4.528635501861572, 4.528623104095459, 4.5286102294921875, 4.528597831726074, 4.528585433959961, 4.528573036193848, 4.528560161590576, 4.528547763824463, 4.52853536605835, 4.528522491455078, 4.528510093688965, 4.528497695922852, 4.528485298156738, 4.528472423553467, 4.5284600257873535, 4.52844762802124, 4.528434753417969, 4.5284223556518555, 4.528409957885742, 4.528397083282471, 4.528384685516357, 4.528372287750244, 4.528359413146973, 4.528347015380859, 4.528334617614746, 4.528322219848633, 4.528309345245361, 4.528296947479248, 4.528284549713135, 4.528271675109863, 4.52825927734375, 4.528246879577637, 4.528234004974365, 4.528221607208252, 4.528209209442139, 4.528196334838867, 4.528183937072754, 4.528171539306641, 4.528158664703369, 4.528146266937256, 4.528133869171143, 4.528120994567871, 4.528108596801758, 4.528095722198486, 4.528083324432373, 4.52807092666626, 4.528058052062988, 4.528045654296875, 4.528033256530762, 4.52802038192749, 4.528007984161377, 4.527995586395264, 4.527982711791992, 4.527970314025879, 4.527957916259766, 4.527945041656494, 4.527932643890381, 4.527919769287109, 4.527907371520996, 4.527894973754883, 4.527882099151611, 4.527869701385498, 4.527857303619385, 4.527844429016113, 4.52783203125, 4.5278191566467285, 4.527806758880615, 4.527794361114502, 4.5277814865112305, 4.527769088745117, 4.527756214141846, 4.527743816375732, 4.527731418609619, 4.527718544006348, 4.527706146240234, 4.527693271636963, 4.52768087387085, 4.527668476104736, 4.527655601501465, 4.527643203735352, 4.52763032913208, 4.527617931365967, 4.5276055335998535, 4.527592658996582, 4.527580261230469, 4.527567386627197, 4.527554988861084, 4.5275421142578125, 4.527529716491699, 4.527517318725586, 4.5275044441223145, 4.527492046356201, 4.52747917175293, 4.527466773986816, 4.527453899383545, 4.527441501617432, 4.527429103851318, 4.527416229248047, 4.527403831481934, 4.527390956878662, 4.527378559112549, 4.527365684509277, 4.527353286743164, 4.527340888977051, 4.527328014373779, 4.527315616607666, 4.5273027420043945, 4.527290344238281, 4.52727746963501, 4.5272650718688965, 4.527252197265625, 4.527239799499512, 4.52722692489624, 4.527214527130127, 4.5272016525268555, 4.527189254760742, 4.527176856994629, 4.527163982391357, 4.527151584625244, 4.527138710021973, 4.527126312255859, 4.527113437652588, 4.527101039886475, 4.527088165283203, 4.52707576751709, 4.527062892913818, 4.527050495147705, 4.527037620544434, 4.52702522277832, 4.527012348175049, 4.5269999504089355, 4.526987075805664, 4.526974678039551, 4.526961803436279, 4.526949405670166, 4.5269365310668945, 4.526924133300781, 4.52691125869751, 4.5268988609313965, 4.526885986328125, 4.526873588562012, 4.52686071395874, 4.526848316192627, 4.5268354415893555, 4.526823043823242, 4.526810169219971, 4.526797771453857, 4.526784896850586, 4.526772499084473, 4.526759624481201, 4.526747226715088, 4.526734352111816, 4.526721954345703, 4.526709079742432, 4.526696681976318, 4.526683807373047, 4.526670932769775, 4.526658535003662, 4.526645660400391, 4.526633262634277, 4.526620388031006, 4.526607990264893, 4.526595115661621, 4.526582717895508, 4.526569843292236, 4.526557445526123, 4.526544570922852, 4.52653169631958, 4.526519298553467, 4.526506423950195, 4.526494026184082, 4.5264811515808105, 4.526468753814697, 4.526455879211426, 4.5264434814453125, 4.526430606842041, 4.5264177322387695, 4.526405334472656, 4.526392459869385, 4.5263800621032715, 4.5263671875, 4.526354789733887, 4.526341915130615, 4.526329040527344, 4.5263166427612305, 4.526303768157959, 4.526291370391846, 4.526278495788574, 4.526265621185303, 4.5262532234191895, 4.526240348815918, 4.526227951049805, 4.526215076446533, 4.526202201843262, 4.526189804077148, 4.526176929473877, 4.526164531707764, 4.526151657104492, 4.526138782501221, 4.526126384735107, 4.526113510131836, 4.526101112365723, 4.526088237762451, 4.52607536315918, 4.526062965393066, 4.526050090789795, 4.526037693023682, 4.52602481842041, 4.526011943817139, 4.525999546051025, 4.525986671447754, 4.525973796844482, 4.525961399078369, 4.525948524475098, 4.525936126708984, 4.525923252105713, 4.525910377502441, 4.525897979736328, 4.525885105133057, 4.525872230529785, 4.525859832763672, 4.5258469581604, 4.525834083557129, 4.525821685791016, 4.525808811187744, 4.525796413421631, 4.525783538818359, 4.525770664215088, 4.525758266448975, 4.525745391845703, 4.525732517242432, 4.525720119476318, 4.525707244873047, 4.525694370269775, 4.525681972503662, 4.525669097900391, 4.525656223297119, 4.525643825531006, 4.525630950927734, 4.525618076324463, 4.52560567855835, 4.525592803955078, 4.525579929351807, 4.525567531585693, 4.525554656982422, 4.52554178237915, 4.525528907775879, 4.525516510009766, 4.525503635406494, 4.525490760803223, 4.525478363037109, 4.525465488433838, 4.525452613830566, 4.525440216064453, 4.525427341461182, 4.52541446685791, 4.525402069091797, 4.525389194488525, 4.525376319885254, 4.525363445281982, 4.525351047515869, 4.525338172912598, 4.525325298309326, 4.525312900543213, 4.525300025939941, 4.52528715133667, 4.525274276733398, 4.525261878967285, 4.525249004364014, 4.525236129760742, 4.525223731994629, 4.525210857391357, 4.525197982788086, 4.5251851081848145, 4.525172710418701, 4.52515983581543, 4.525146961212158, 4.525134086608887, 4.525121688842773, 4.525108814239502, 4.5250959396362305, 4.525083065032959, 4.525070667266846, 4.525057792663574, 4.525044918060303, 4.525032043457031, 4.525019645690918, 4.5250067710876465, 4.524993896484375, 4.5249810218811035, 4.52496862411499, 4.524955749511719, 4.524942874908447, 4.524930000305176, 4.5249176025390625, 4.524904727935791, 4.5248918533325195, 4.524878978729248, 4.524866580963135, 4.524853706359863, 4.524840831756592, 4.52482795715332, 4.524815082550049, 4.5248026847839355, 4.524789810180664, 4.524776935577393, 4.524764060974121, 4.524751663208008, 4.524738788604736, 4.524725914001465, 4.524713039398193, 4.524700164794922, 4.524687767028809, 4.524674892425537, 4.524662017822266, 4.524649143218994, 4.524636268615723, 4.524623870849609, 4.524610996246338, 4.524598121643066, 4.524585247039795, 4.524572372436523, 4.52455997467041, 4.524547100067139, 4.524534225463867, 4.524521350860596, 4.524508476257324, 4.524495601654053, 4.5244832038879395, 4.524470329284668, 4.5244574546813965, 4.524444580078125, 4.5244317054748535, 4.524418830871582, 4.524406433105469, 4.524393558502197, 4.524380683898926, 4.524367809295654, 4.524354934692383, 4.524342060089111, 4.524329662322998, 4.524316787719727, 4.524303913116455, 4.524291038513184, 4.524278163909912, 4.524265289306641, 4.524252891540527, 4.524240016937256, 4.524227142333984, 4.524214267730713, 4.524201393127441, 4.52418851852417, 4.524175643920898, 4.524163246154785, 4.524150371551514, 4.524137496948242, 4.524124622344971, 4.524111747741699, 4.524098873138428, 4.524085998535156, 4.524073123931885, 4.5240607261657715, 4.5240478515625, 4.5240349769592285, 4.524022102355957, 4.5240092277526855, 4.523996353149414, 4.523983478546143, 4.523970603942871, 4.5239577293396, 4.523945331573486, 4.523932456970215, 4.523919582366943, 4.523906707763672, 4.5238938331604, 4.523880958557129, 4.523868083953857, 4.523855209350586, 4.5238423347473145, 4.523829460144043, 4.52381706237793, 4.523804187774658, 4.523791313171387, 4.523778438568115, 4.523765563964844, 4.523752689361572, 4.523739814758301, 4.523726940155029, 4.523714065551758, 4.523701190948486, 4.523688316345215, 4.523675441741943, 4.523662567138672, 4.523650169372559, 4.523637294769287, 4.523624420166016, 4.523611545562744, 4.523598670959473, 4.523585796356201, 4.52357292175293, 4.523560047149658, 4.523547172546387, 4.523534297943115, 4.523521423339844, 4.523508548736572, 4.523495674133301, 4.523482799530029, 4.523469924926758, 4.523457050323486, 4.523444175720215, 4.523431301116943, 4.523418426513672, 4.5234055519104, 4.523393154144287, 4.523380279541016, 4.523367404937744, 4.523354530334473, 4.523341655731201, 4.52332878112793, 4.523315906524658, 4.523303031921387, 4.523290157318115, 4.523277282714844, 4.523264408111572, 4.523251533508301, 4.523238658905029, 4.523225784301758, 4.523212909698486, 4.523200035095215, 4.523187160491943, 4.523174285888672, 4.5231614112854, 4.523148536682129, 4.523135662078857, 4.523122787475586, 4.5231099128723145, 4.523097038269043, 4.5230841636657715, 4.5230712890625, 4.5230584144592285, 4.523045539855957, 4.5230326652526855, 4.523019790649414, 4.523006916046143, 4.522994041442871, 4.5229811668396, 4.522968292236328, 4.522955417633057, 4.522942543029785, 4.522929668426514, 4.522916793823242, 4.522903919219971, 4.522890567779541, 4.5228776931762695, 4.522864818572998, 4.522851943969727, 4.522839069366455, 4.522826194763184, 4.522813320159912, 4.522800445556641, 4.522787570953369, 4.522774696350098, 4.522761821746826, 4.522748947143555, 4.522736072540283, 4.522723197937012, 4.52271032333374, 4.522697448730469, 4.522684574127197, 4.522671699523926, 4.522658824920654, 4.522645950317383, 4.522632598876953, 4.522619724273682, 4.52260684967041, 4.522593975067139, 4.522581100463867, 4.522568225860596, 4.522555351257324, 4.522542476654053, 4.522529602050781, 4.52251672744751, 4.522503852844238, 4.522490978240967, 4.522477626800537, 4.522464752197266, 4.522451877593994, 4.522439002990723, 4.522426128387451, 4.52241325378418, 4.522400379180908, 4.522387504577637, 4.522374629974365, 4.522361755371094, 4.522348880767822, 4.522335529327393, 4.522322654724121, 4.52230978012085, 4.522296905517578, 4.522284030914307, 4.522271156311035, 4.522258281707764, 4.522245407104492, 4.5222320556640625, 4.522219181060791, 4.5222063064575195, 4.522193431854248, 4.522180557250977, 4.522167682647705, 4.522154808044434, 4.522141933441162, 4.522128582000732, 4.522115707397461, 4.5221028327941895, 4.522089958190918, 4.5220770835876465, 4.522064208984375, 4.5220513343811035, 4.522037982940674, 4.522025108337402, 4.522012233734131, 4.521999359130859, 4.521986484527588, 4.521973609924316, 4.521960735321045, 4.521947383880615, 4.521934509277344, 4.521921634674072, 4.521908760070801, 4.521895885467529, 4.521883010864258, 4.521869659423828, 4.521856784820557, 4.521843910217285, 4.521831035614014, 4.521818161010742, 4.5218048095703125, 4.521791934967041, 4.5217790603637695, 4.521766185760498, 4.521753311157227, 4.521740436553955, 4.521727085113525, 4.521714210510254, 4.521701335906982, 4.521688461303711, 4.5216755867004395, 4.52166223526001, 4.521649360656738, 4.521636486053467, 4.521623611450195, 4.521610736846924, 4.521597385406494, 4.521584510803223, 4.521571636199951, 4.52155876159668, 4.521545886993408, 4.5215325355529785, 4.521519660949707, 4.5215067863464355, 4.521493911743164, 4.521480560302734, 4.521467685699463, 4.521454811096191, 4.52144193649292, 4.521429061889648, 4.521415710449219, 4.521402835845947, 4.521389961242676, 4.521377086639404, 4.521363735198975, 4.521350860595703, 4.521337985992432, 4.52132511138916, 4.5213117599487305, 4.521298885345459, 4.5212860107421875, 4.521273136138916, 4.521259784698486, 4.521246910095215, 4.521234035491943, 4.521221160888672, 4.521207809448242, 4.521194934844971, 4.521182060241699, 4.521169185638428, 4.521155834197998, 4.521142959594727, 4.521130084991455, 4.521117210388184, 4.521103858947754, 4.521090984344482, 4.521078109741211, 4.521064758300781, 4.52105188369751, 4.521039009094238, 4.521026134490967, 4.521012783050537, 4.520999908447266, 4.520987033843994, 4.5209736824035645, 4.520960807800293, 4.5209479331970215, 4.52093505859375, 4.52092170715332, 4.520908832550049, 4.520895957946777, 4.520882606506348, 4.520869731903076, 4.520856857299805, 4.520843505859375, 4.5208306312561035, 4.520817756652832, 4.5208048820495605, 4.520791530609131, 4.520778656005859, 4.520765781402588, 4.520752429962158, 4.520739555358887, 4.520726680755615, 4.5207133293151855, 4.520700454711914, 4.520687580108643, 4.520674228668213, 4.520661354064941, 4.52064847946167, 4.52063512802124, 4.520622253417969, 4.520609378814697, 4.520596027374268, 4.520583152770996, 4.520570278167725, 4.520556926727295, 4.520544052124023, 4.520531177520752, 4.520517826080322, 4.520504951477051, 4.520491600036621, 4.52047872543335, 4.520465850830078, 4.520452499389648, 4.520439624786377, 4.5204267501831055, 4.520413398742676, 4.520400524139404, 4.520387649536133, 4.520374298095703, 4.520361423492432, 4.520348072052002, 4.5203351974487305, 4.520322322845459, 4.520308971405029, 4.520296096801758, 4.520283222198486, 4.520269870758057, 4.520256996154785, 4.5202436447143555, 4.520230770111084, 4.5202178955078125, 4.520204544067383, 4.520191669464111, 4.520178318023682, 4.52016544342041, 4.520152568817139, 4.520139217376709, 4.5201263427734375, 4.520112991333008, 4.520100116729736, 4.520087242126465, 4.520073890686035, 4.520061016082764, 4.520047664642334, 4.5200347900390625, 4.520021915435791, 4.520008563995361, 4.51999568939209, 4.51998233795166, 4.519969463348389, 4.519956111907959, 4.5199432373046875, 4.519930362701416, 4.519917011260986, 4.519904136657715, 4.519890785217285, 4.519877910614014, 4.519864559173584, 4.5198516845703125, 4.519838333129883, 4.519825458526611, 4.51981258392334, 4.51979923248291, 4.519786357879639, 4.519773006439209, 4.5197601318359375, 4.519746780395508, 4.519733905792236, 4.519720554351807, 4.519707679748535, 4.519694805145264, 4.519681453704834, 4.5196685791015625, 4.519655227661133, 4.519642353057861, 4.519629001617432, 4.51961612701416, 4.5196027755737305, 4.519589900970459, 4.519576549530029, 4.519563674926758, 4.519550323486328, 4.519537448883057, 4.519524097442627, 4.5195112228393555, 4.519497871398926, 4.519484996795654, 4.519471645355225, 4.519458770751953, 4.519445419311523, 4.519432544708252, 4.519419193267822, 4.519406318664551, 4.519392967224121, 4.51938009262085, 4.51936674118042, 4.519353866577148, 4.519340515136719, 4.519327640533447, 4.519314289093018, 4.519301414489746, 4.519288063049316, 4.519275188446045, 4.519261837005615, 4.519248962402344, 4.519235610961914, 4.519222736358643, 4.519209384918213, 4.519196510314941, 4.519183158874512, 4.51917028427124, 4.5191569328308105, 4.519143581390381, 4.519130706787109, 4.51911735534668, 4.519104480743408, 4.5190911293029785, 4.519078254699707, 4.519064903259277, 4.519052028656006, 4.519038677215576, 4.519025802612305, 4.519012451171875, 4.518999099731445, 4.518986225128174, 4.518972873687744, 4.518959999084473, 4.518946647644043, 4.5189337730407715, 4.518920421600342, 4.51890754699707, 4.518894195556641, 4.518880844116211, 4.5188679695129395, 4.51885461807251, 4.518841743469238, 4.518828392028809, 4.518815040588379, 4.518802165985107, 4.518788814544678, 4.518775939941406, 4.518762588500977, 4.518749713897705, 4.518736362457275, 4.518723011016846, 4.518710136413574, 4.5186967849731445, 4.518683910369873, 4.518670558929443, 4.518657207489014, 4.518644332885742, 4.5186309814453125, 4.518618106842041, 4.518604755401611, 4.518591403961182, 4.51857852935791, 4.5185651779174805, 4.518551826477051, 4.518538951873779, 4.51852560043335, 4.518512725830078, 4.518499374389648, 4.518486022949219, 4.518473148345947, 4.518459796905518, 4.518446445465088, 4.518433570861816, 4.518420219421387, 4.518407344818115, 4.5183939933776855, 4.518380641937256, 4.518367767333984, 4.518354415893555, 4.518341064453125, 4.5183281898498535, 4.518314838409424, 4.518301486968994, 4.518288612365723, 4.518275260925293, 4.518261909484863, 4.518249034881592, 4.518235683441162, 4.518222332000732, 4.518209457397461, 4.518196105957031, 4.518182754516602, 4.51816987991333, 4.5181565284729, 4.518143177032471, 4.518130302429199, 4.5181169509887695, 4.51810359954834, 4.518090724945068, 4.518077373504639, 4.518064022064209, 4.5180511474609375, 4.518037796020508, 4.518024444580078, 4.518011569976807, 4.517998218536377, 4.517984867095947, 4.517971992492676, 4.517958641052246, 4.517945289611816, 4.517931938171387, 4.517919063568115, 4.5179057121276855, 4.517892360687256, 4.517879486083984, 4.517866134643555, 4.517852783203125, 4.517839431762695, 4.517826557159424, 4.517813205718994, 4.5177998542785645, 4.517786979675293, 4.517773628234863, 4.517760276794434, 4.517746925354004, 4.517734050750732, 4.517720699310303, 4.517707347869873, 4.517693996429443, 4.517681121826172, 4.517667770385742, 4.5176544189453125, 4.517641544342041, 4.517628192901611, 4.517614841461182, 4.517601490020752, 4.5175886154174805, 4.517575263977051, 4.517561912536621, 4.517548561096191, 4.51753568649292, 4.51752233505249, 4.5175089836120605, 4.517495632171631, 4.517482757568359, 4.51746940612793, 4.5174560546875, 4.51744270324707, 4.517429351806641, 4.517416477203369, 4.5174031257629395, 4.51738977432251, 4.51737642288208, 4.517363548278809, 4.517350196838379, 4.517336845397949, 4.5173234939575195, 4.51731014251709, 4.517297267913818, 4.517283916473389, 4.517270565032959, 4.517257213592529, 4.5172438621521, 4.517230987548828, 4.517217636108398, 4.517204284667969, 4.517190933227539, 4.517177581787109, 4.517164707183838, 4.517151355743408, 4.5171380043029785, 4.517124652862549, 4.517111301422119, 4.517098426818848, 4.517085075378418, 4.517071723937988, 4.517058372497559, 4.517045021057129, 4.517031669616699, 4.517018795013428, 4.517005443572998, 4.516992092132568, 4.516978740692139, 4.516965389251709, 4.516952037811279, 4.516939163208008, 4.516925811767578, 4.516912460327148, 4.516899108886719, 4.516885757446289, 4.516872406005859, 4.516859531402588, 4.516846179962158, 4.5168328285217285, 4.516819477081299, 4.516806125640869, 4.5167927742004395, 4.51677942276001, 4.516766548156738, 4.516753196716309, 4.516739845275879, 4.516726493835449, 4.5167131423950195, 4.51669979095459, 4.51668643951416, 4.516673564910889, 4.516660213470459, 4.516646862030029, 4.5166335105896, 4.51662015914917, 4.51660680770874, 4.5165934562683105, 4.516580104827881, 4.516566753387451, 4.51655387878418, 4.51654052734375, 4.51652717590332, 4.516513824462891, 4.516500473022461, 4.516487121582031, 4.516473770141602, 4.516460418701172, 4.516447067260742, 4.5164337158203125, 4.516420841217041, 4.516407489776611, 4.516394138336182, 4.516380786895752, 4.516367435455322, 4.516354084014893, 4.516340732574463, 4.516327381134033, 4.5163140296936035, 4.516300678253174, 4.516287326812744, 4.5162739753723145, 4.516261100769043, 4.516247749328613, 4.516234397888184, 4.516221046447754, 4.516207695007324, 4.5161943435668945, 4.516180992126465, 4.516167640686035, 4.5161542892456055, 4.516140937805176, 4.516127586364746, 4.516114234924316, 4.516100883483887, 4.516087532043457, 4.516074180603027, 4.516060829162598, 4.516047477722168, 4.516034126281738, 4.516020774841309, 4.516007900238037, 4.515994548797607, 4.515981197357178, 4.515967845916748, 4.515954494476318, 4.515941143035889, 4.515927791595459, 4.515914440155029, 4.5159010887146, 4.51588773727417, 4.51587438583374, 4.5158610343933105, 4.515847682952881, 4.515834331512451, 4.5158209800720215, 4.515807628631592, 4.515794277191162, 4.515780925750732, 4.515767574310303, 4.515754222869873, 4.515740871429443, 4.515727519989014, 4.515714168548584, 4.515700817108154, 4.515687465667725, 4.515674114227295, 4.515660762786865, 4.5156474113464355, 4.515634059906006, 4.515620708465576, 4.5156073570251465, 4.515594005584717, 4.515580654144287, 4.515567302703857, 4.515553951263428, 4.515540599822998, 4.515527248382568, 4.515513896942139, 4.515500068664551, 4.515486717224121, 4.515473365783691, 4.515460014343262, 4.515446662902832, 4.515433311462402, 4.515419960021973, 4.515406608581543, 4.515393257141113, 4.515379905700684, 4.515366554260254, 4.515353202819824, 4.5153398513793945, 4.515326499938965, 4.515313148498535, 4.5152997970581055, 4.515286445617676, 4.515273094177246, 4.515259742736816, 4.5152459144592285, 4.515232563018799, 4.515219211578369, 4.5152058601379395, 4.51519250869751, 4.51517915725708, 4.51516580581665, 4.515152454376221, 4.515139102935791, 4.515125751495361, 4.515112400054932, 4.515099048614502, 4.515085220336914, 4.515071868896484, 4.515058517456055, 4.515045166015625, 4.515031814575195, 4.515018463134766, 4.515005111694336, 4.514991760253906, 4.514978408813477, 4.514965057373047, 4.514951229095459, 4.514937877655029, 4.5149245262146, 4.51491117477417, 4.51489782333374, 4.5148844718933105, 4.514871120452881, 4.514857769012451, 4.5148444175720215, 4.514830589294434, 4.514817237854004, 4.514803886413574, 4.5147905349731445, 4.514777183532715, 4.514763832092285, 4.5147504806518555, 4.514736652374268, 4.514723300933838, 4.514709949493408, 4.5146965980529785, 4.514683246612549, 4.514669895172119, 4.5146565437316895, 4.514642715454102, 4.514629364013672, 4.514616012573242, 4.5146026611328125, 4.514589309692383, 4.514575958251953, 4.514562129974365, 4.5145487785339355, 4.514535427093506, 4.514522075653076, 4.5145087242126465, 4.514495372772217, 4.514481544494629, 4.514468193054199, 4.5144548416137695, 4.51444149017334, 4.51442813873291, 4.5144147872924805, 4.514400959014893, 4.514387607574463, 4.514374256134033, 4.5143609046936035, 4.514347553253174, 4.514333724975586, 4.514320373535156, 4.514307022094727, 4.514293670654297, 4.514280319213867, 4.514266490936279, 4.51425313949585, 4.51423978805542, 4.51422643661499, 4.5142130851745605, 4.514199256896973, 4.514185905456543, 4.514172554016113, 4.514159202575684, 4.514145374298096, 4.514132022857666, 4.514118671417236, 4.514105319976807, 4.514091968536377, 4.514078140258789, 4.514064788818359, 4.51405143737793, 4.5140380859375, 4.514024257659912, 4.514010906219482, 4.513997554779053, 4.513984203338623, 4.513970375061035, 4.5139570236206055, 4.513943672180176, 4.513930320739746, 4.513916492462158, 4.5139031410217285, 4.513889789581299, 4.513876438140869, 4.513862609863281, 4.513849258422852, 4.513835906982422, 4.513822555541992, 4.513808727264404, 4.513795375823975, 4.513782024383545, 4.513768196105957, 4.513754844665527, 4.513741493225098, 4.513728141784668, 4.51371431350708, 4.51370096206665, 4.513687610626221, 4.513673782348633, 4.513660430908203, 4.513647079467773, 4.513633728027344, 4.513619899749756, 4.513606548309326, 4.5135931968688965, 4.513579368591309, 4.513566017150879, 4.513552665710449, 4.513538837432861, 4.513525485992432, 4.513512134552002, 4.513498783111572, 4.513484954833984, 4.513471603393555, 4.513458251953125, 4.513444423675537, 4.513431072235107, 4.513417720794678, 4.51340389251709, 4.51339054107666, 4.5133771896362305, 4.513363361358643, 4.513350009918213, 4.513336658477783, 4.513322830200195, 4.513309478759766, 4.513296127319336, 4.513282299041748, 4.513268947601318, 4.513255596160889, 4.513241767883301, 4.513228416442871, 4.513215065002441, 4.5132012367248535, 4.513187885284424, 4.513174057006836, 4.513160705566406, 4.513147354125977, 4.513133525848389, 4.513120174407959, 4.513106822967529, 4.513092994689941, 4.513079643249512, 4.513066291809082, 4.513052463531494, 4.5130391120910645, 4.513025283813477, 4.513011932373047, 4.512998580932617, 4.512984752655029, 4.5129714012146, 4.51295804977417, 4.512944221496582, 4.512930870056152, 4.5129170417785645, 4.512903690338135, 4.512890338897705, 4.512876510620117, 4.5128631591796875, 4.5128493309021, 4.51283597946167, 4.51282262802124, 4.512808799743652, 4.512795448303223, 4.512781620025635, 4.512768268585205, 4.512754440307617, 4.5127410888671875, 4.512727737426758, 4.51271390914917, 4.51270055770874, 4.512686729431152, 4.512673377990723, 4.512659549713135, 4.512646198272705, 4.512632846832275, 4.5126190185546875, 4.512605667114258, 4.51259183883667, 4.51257848739624, 4.512564659118652, 4.512551307678223, 4.512537956237793, 4.512524127960205, 4.512510776519775, 4.5124969482421875, 4.512483596801758, 4.51246976852417, 4.51245641708374, 4.512442588806152, 4.512429237365723, 4.512415409088135, 4.512402057647705, 4.512388706207275, 4.5123748779296875, 4.512361526489258, 4.51234769821167, 4.51233434677124, 4.512320518493652, 4.512307167053223, 4.512293338775635, 4.512279987335205, 4.512266159057617, 4.5122528076171875, 4.5122389793396, 4.51222562789917, 4.512211799621582, 4.512198448181152, 4.5121846199035645, 4.512171268463135, 4.512157440185547, 4.512144088745117, 4.512130260467529, 4.5121169090271, 4.512103080749512, 4.512089729309082, 4.512075901031494, 4.5120625495910645, 4.512048721313477, 4.512035369873047, 4.512021541595459, 4.512008190155029, 4.511994361877441, 4.511981010437012, 4.511967182159424, 4.511953830718994, 4.511940002441406, 4.511926651000977, 4.511912822723389, 4.511898994445801, 4.511885643005371, 4.511871814727783, 4.5118584632873535, 4.511844635009766, 4.511831283569336, 4.511817455291748, 4.511804103851318, 4.5117902755737305, 4.511776924133301, 4.511763095855713, 4.511749267578125, 4.511735916137695, 4.511722087860107, 4.511708736419678, 4.51169490814209, 4.51168155670166, 4.511667728424072, 4.511653900146484, 4.511640548706055, 4.511626720428467, 4.511613368988037, 4.511599540710449, 4.5115861892700195, 4.511572360992432, 4.511558532714844, 4.511545181274414, 4.511531352996826, 4.5115180015563965, 4.511504173278809, 4.511490345001221, 4.511476993560791, 4.511463165283203, 4.511449813842773, 4.5114359855651855, 4.511422157287598, 4.511408805847168, 4.51139497756958, 4.51138162612915, 4.5113677978515625, 4.511353969573975, 4.511340618133545, 4.511326789855957, 4.511313438415527, 4.5112996101379395, 4.511285781860352, 4.511272430419922, 4.511258602142334, 4.511244773864746, 4.511231422424316, 4.5112175941467285, 4.511204242706299, 4.511190414428711, 4.511176586151123, 4.511163234710693, 4.5111494064331055, 4.511135578155518, 4.511122226715088, 4.5111083984375, 4.511094570159912, 4.511081218719482, 4.5110673904418945, 4.511053562164307, 4.511040210723877, 4.511026382446289, 4.511013031005859, 4.5109992027282715, 4.510985374450684, 4.510972023010254, 4.510958194732666, 4.510944366455078, 4.510931015014648, 4.5109171867370605, 4.510903358459473, 4.510889530181885, 4.510876178741455, 4.510862350463867, 4.510848522186279, 4.51083517074585, 4.510821342468262, 4.510807514190674, 4.510794162750244, 4.510780334472656, 4.510766506195068, 4.510753154754639, 4.510739326477051, 4.510725498199463, 4.510711669921875, 4.510698318481445, 4.510684490203857, 4.5106706619262695, 4.51065731048584, 4.510643482208252, 4.510629653930664, 4.510616302490234, 4.5106024742126465, 4.510588645935059, 4.510574817657471, 4.510561466217041, 4.510547637939453, 4.510533809661865, 4.510519981384277, 4.510506629943848, 4.51049280166626, 4.510478973388672, 4.510465621948242, 4.510451793670654, 4.510437965393066, 4.5104241371154785, 4.510410785675049, 4.510396957397461, 4.510383129119873, 4.510369300842285, 4.5103559494018555, 4.510342121124268, 4.51032829284668, 4.510314464569092, 4.510301113128662, 4.510287284851074, 4.510273456573486, 4.510259628295898, 4.5102458000183105, 4.510232448577881, 4.510218620300293, 4.510204792022705, 4.510190963745117, 4.5101776123046875, 4.5101637840271, 4.510149955749512, 4.510136127471924, 4.510122299194336, 4.510108947753906, 4.510095119476318, 4.5100812911987305, 4.510067462921143, 4.510053634643555, 4.510040283203125, 4.510026454925537, 4.510012626647949, 4.509998798370361, 4.509984970092773, 4.509971618652344, 4.509957790374756, 4.509943962097168, 4.50993013381958, 4.509916305541992, 4.5099029541015625, 4.509889125823975, 4.509875297546387, 4.509861469268799, 4.509847640991211, 4.509833812713623, 4.509820461273193, 4.5098066329956055, 4.509792804718018, 4.50977897644043, 4.509765148162842, 4.509751319885254, 4.509737968444824, 4.509724140167236, 4.509710311889648, 4.5096964836120605, 4.509682655334473, 4.509668827056885, 4.509655475616455, 4.509641647338867, 4.509627819061279, 4.509613990783691, 4.5096001625061035, 4.509586334228516, 4.509572505950928, 4.509559154510498, 4.50954532623291, 4.509531497955322, 4.509517669677734, 4.5095038414001465, 4.509490013122559, 4.509476184844971, 4.509462356567383, 4.509449005126953, 4.509435176849365, 4.509421348571777, 4.5094075202941895, 4.509393692016602, 4.509379863739014, 4.509366035461426, 4.509352207183838, 4.50933837890625, 4.50932502746582, 4.509311199188232, 4.5092973709106445, 4.509283542633057, 4.509269714355469, 4.509255886077881, 4.509242057800293, 4.509228229522705, 4.509214401245117, 4.509200572967529, 4.509186744689941, 4.509173393249512, 4.509159564971924, 4.509145736694336, 4.509131908416748, 4.50911808013916, 4.509104251861572, 4.509090423583984, 4.5090765953063965, 4.509062767028809, 4.509048938751221, 4.509035110473633, 4.509021282196045, 4.509007453918457, 4.508993625640869, 4.508979797363281, 4.508965969085693, 4.508952617645264, 4.508938789367676, 4.508924961090088, 4.5089111328125, 4.508897304534912, 4.508883476257324, 4.508869647979736, 4.508855819702148, 4.5088419914245605, 4.508828163146973, 4.508814334869385, 4.508800506591797, 4.508786678314209, 4.508772850036621, 4.508759021759033, 4.508745193481445, 4.508731365203857, 4.5087175369262695, 4.508703708648682, 4.508689880371094, 4.508676052093506, 4.508662223815918, 4.50864839553833, 4.508634567260742, 4.508620738983154, 4.508606910705566, 4.5085930824279785, 4.508579254150391, 4.508565425872803, 4.508551597595215, 4.508537769317627, 4.508523941040039, 4.508510112762451, 4.508496284484863, 4.508482456207275, 4.5084686279296875, 4.5084547996521, 4.508440971374512, 4.508427143096924, 4.508413314819336, 4.508399486541748, 4.50838565826416, 4.508371829986572, 4.508358001708984, 4.5083441734313965, 4.508330345153809, 4.508316516876221, 4.508302688598633, 4.508288860321045, 4.508274555206299, 4.508260726928711, 4.508246898651123, 4.508233070373535, 4.508219242095947, 4.508205413818359, 4.5081915855407715, 4.508177757263184, 4.508163928985596, 4.508150100708008, 4.50813627243042, 4.508122444152832, 4.508108615875244, 4.508094787597656, 4.508080959320068, 4.5080671310424805, 4.508052825927734, 4.5080389976501465, 4.508025169372559, 4.508011341094971, 4.507997512817383, 4.507983684539795, 4.507969856262207, 4.507956027984619, 4.507942199707031, 4.507928371429443, 4.5079145431518555, 4.507900238037109, 4.5078864097595215, 4.507872581481934, 4.507858753204346, 4.507844924926758, 4.50783109664917, 4.507817268371582, 4.507803440093994, 4.507789611816406, 4.50777530670166, 4.507761478424072, 4.507747650146484, 4.5077338218688965, 4.507719993591309, 4.507706165313721, 4.507692337036133, 4.507678508758545, 4.507664203643799, 4.507650375366211, 4.507636547088623, 4.507622718811035, 4.507608890533447, 4.507595062255859, 4.5075812339782715, 4.507566928863525, 4.5075531005859375, 4.50753927230835, 4.507525444030762, 4.507511615753174, 4.507497787475586, 4.50748348236084, 4.507469654083252, 4.507455825805664, 4.507441997528076, 4.507428169250488, 4.5074143409729, 4.507400035858154, 4.507386207580566, 4.5073723793029785, 4.507358551025391, 4.507344722747803, 4.507330894470215, 4.507316589355469, 4.507302761077881, 4.507288932800293, 4.507275104522705, 4.507261276245117, 4.507246971130371, 4.507233142852783, 4.507219314575195, 4.507205486297607, 4.5071916580200195, 4.507177352905273, 4.5071635246276855, 4.507149696350098, 4.50713586807251, 4.507122039794922, 4.507107734680176, 4.507093906402588, 4.507080078125, 4.507066249847412, 4.507051944732666, 4.507038116455078, 4.50702428817749, 4.507010459899902, 4.5069966316223145, 4.506982326507568, 4.5069684982299805, 4.506954669952393, 4.506940841674805, 4.506926536560059, 4.506912708282471, 4.506898880004883, 4.506885051727295, 4.506870746612549, 4.506856918334961, 4.506843090057373, 4.506829261779785, 4.506814956665039, 4.506801128387451, 4.506787300109863, 4.506773471832275, 4.506759166717529, 4.506745338439941, 4.5067315101623535, 4.506717681884766, 4.5067033767700195, 4.506689548492432, 4.506675720214844, 4.506661415100098, 4.50664758682251, 4.506633758544922, 4.506619930267334, 4.506605625152588, 4.506591796875, 4.506577968597412, 4.506563663482666, 4.506549835205078, 4.50653600692749, 4.506521701812744, 4.506507873535156, 4.506494045257568, 4.5064802169799805, 4.506465911865234, 4.5064520835876465, 4.506438255310059, 4.5064239501953125, 4.506410121917725, 4.506396293640137, 4.506381988525391, 4.506368160247803, 4.506354331970215, 4.506340026855469, 4.506326198577881, 4.506312370300293, 4.506298065185547, 4.506284236907959, 4.506270408630371, 4.506256103515625, 4.506242275238037, 4.506228446960449, 4.506214141845703, 4.506200313568115, 4.506186485290527, 4.506172180175781, 4.506158351898193, 4.5061445236206055, 4.506130218505859, 4.5061163902282715, 4.506102561950684, 4.5060882568359375, 4.50607442855835, 4.5060601234436035, 4.506046295166016, 4.506032466888428, 4.506018161773682, 4.506004333496094, 4.505990505218506, 4.50597620010376, 4.505962371826172, 4.505948066711426, 4.505934238433838, 4.50592041015625, 4.505906105041504, 4.505892276763916, 4.505878448486328, 4.505864143371582, 4.505850315093994, 4.505836009979248, 4.50582218170166, 4.505808353424072, 4.505794048309326, 4.505780220031738, 4.505765914916992, 4.505752086639404, 4.505738258361816, 4.50572395324707, 4.505710124969482, 4.505695819854736, 4.505681991577148, 4.505667686462402, 4.5056538581848145, 4.505640029907227, 4.5056257247924805, 4.505611896514893, 4.5055975914001465, 4.505583763122559, 4.5055694580078125, 4.505555629730225, 4.505541801452637, 4.505527496337891, 4.505513668060303, 4.505499362945557, 4.505485534667969, 4.505471229553223, 4.505457401275635, 4.505443096160889, 4.505429267883301, 4.505414962768555, 4.505401134490967, 4.505387306213379, 4.505373001098633, 4.505359172821045, 4.505344867706299, 4.505331039428711, 4.505316734313965, 4.505302906036377, 4.505288600921631, 4.505274772644043, 4.505260467529297, 4.505246639251709, 4.505232334136963, 4.505218505859375, 4.505204200744629, 4.505190372467041, 4.505176067352295, 4.505162239074707, 4.505147933959961, 4.505134105682373, 4.505119800567627, 4.505105972290039, 4.505091667175293, 4.505077838897705, 4.505063533782959, 4.505049705505371, 4.505035400390625, 4.505021572113037, 4.505007266998291, 4.504993438720703, 4.504979133605957, 4.504965305328369, 4.504951000213623, 4.504937171936035, 4.504922866821289, 4.504909038543701, 4.504894733428955, 4.504880905151367, 4.504866600036621, 4.504852294921875, 4.504838466644287, 4.504824161529541, 4.504810333251953, 4.504796028137207, 4.504782199859619, 4.504767894744873, 4.504754066467285, 4.504739761352539, 4.504725456237793, 4.504711627960205, 4.504697322845459, 4.504683494567871, 4.504669189453125, 4.504655361175537, 4.504641056060791, 4.504627227783203, 4.504612922668457, 4.504598617553711, 4.504584789276123, 4.504570484161377, 4.504556655883789, 4.504542350769043, 4.504528045654297, 4.504514217376709, 4.504499912261963, 4.504486083984375, 4.504471778869629, 4.504457473754883, 4.504443645477295, 4.504429340362549, 4.504415512084961, 4.504401206970215, 4.504386901855469, 4.504373073577881, 4.504358768463135, 4.504344940185547, 4.504330635070801, 4.504316329956055, 4.504302501678467, 4.504288196563721, 4.504274368286133, 4.504260063171387, 4.504245758056641, 4.504231929779053, 4.504217624664307, 4.5042033195495605, 4.504189491271973, 4.504175186157227, 4.5041608810424805, 4.504147052764893, 4.5041327476501465, 4.504118919372559, 4.5041046142578125, 4.504090309143066, 4.5040764808654785, 4.504062175750732, 4.504047870635986, 4.504034042358398, 4.504019737243652, 4.504005432128906, 4.503991603851318, 4.503977298736572, 4.503962993621826, 4.503949165344238, 4.503934860229492, 4.503920555114746, 4.503906726837158, 4.503892421722412, 4.503878116607666, 4.503864288330078, 4.503849983215332, 4.503835678100586, 4.50382137298584, 4.503807544708252, 4.503793239593506, 4.50377893447876, 4.503765106201172, 4.503750801086426, 4.50373649597168, 4.503722667694092, 4.503708362579346, 4.5036940574646, 4.5036797523498535, 4.503665924072266, 4.5036516189575195, 4.503637313842773, 4.5036234855651855, 4.5036091804504395, 4.503594875335693, 4.503580570220947, 4.503566741943359, 4.503552436828613, 4.503538131713867, 4.503523826599121, 4.503509998321533, 4.503495693206787, 4.503481388092041, 4.503467559814453, 4.503453254699707, 4.503438949584961, 4.503424644470215, 4.503410816192627, 4.503396511077881, 4.503382205963135, 4.503367900848389, 4.503354072570801, 4.503339767456055, 4.503325462341309, 4.5033111572265625, 4.503296852111816, 4.5032830238342285, 4.503268718719482, 4.503254413604736, 4.50324010848999, 4.503226280212402, 4.503211975097656, 4.50319766998291, 4.503183364868164, 4.503169059753418, 4.50315523147583, 4.503140926361084, 4.503126621246338, 4.503112316131592, 4.503098487854004, 4.503084182739258, 4.503069877624512, 4.503055572509766, 4.5030412673950195, 4.503027439117432, 4.5030131340026855, 4.5029988288879395, 4.502984523773193, 4.502970218658447, 4.502955913543701, 4.502942085266113, 4.502927780151367, 4.502913475036621, 4.502899169921875, 4.502884864807129, 4.502870559692383, 4.502856731414795, 4.502842426300049, 4.502828121185303, 4.502813816070557, 4.5027995109558105, 4.5027852058410645, 4.502771377563477, 4.5027570724487305, 4.502742767333984, 4.502728462219238, 4.502714157104492, 4.502699851989746, 4.502686023712158, 4.502671718597412, 4.502657413482666, 4.50264310836792, 4.502628803253174, 4.502614498138428, 4.502600193023682, 4.5025858879089355, 4.502572059631348, 4.502557754516602, 4.5025434494018555, 4.502529144287109, 4.502514839172363, 4.502500534057617, 4.502486228942871, 4.502471923828125, 4.502458095550537, 4.502443790435791, 4.502429485321045, 4.502415180206299, 4.502400875091553, 4.502386569976807, 4.5023722648620605, 4.5023579597473145, 4.502343654632568, 4.502329349517822, 4.502315521240234, 4.502301216125488, 4.502286911010742, 4.502272605895996, 4.50225830078125, 4.502243995666504, 4.502229690551758, 4.502215385437012, 4.502201080322266, 4.5021867752075195, 4.502172470092773, 4.502158164978027, 4.502143859863281, 4.502130031585693, 4.502115726470947, 4.502101421356201, 4.502087116241455, 4.502072811126709, 4.502058506011963, 4.502044200897217, 4.502029895782471, 4.502015590667725, 4.5020012855529785, 4.501986980438232, 4.501972675323486, 4.50195837020874, 4.501944065093994, 4.501929759979248, 4.501915454864502, 4.501901149749756, 4.50188684463501, 4.501872539520264, 4.501858234405518, 4.5018439292907715, 4.501829624176025, 4.501815319061279, 4.501801013946533, 4.501786708831787, 4.501772403717041, 4.501758098602295, 4.501743793487549, 4.501729488372803, 4.501715183258057, 4.5017008781433105, 4.5016865730285645, 4.501672267913818, 4.501657962799072, 4.501643657684326, 4.50162935256958, 4.501615047454834, 4.501600742340088, 4.501586437225342, 4.501572132110596, 4.50155782699585, 4.5015435218811035, 4.501529216766357, 4.501514911651611, 4.501500606536865, 4.501486301422119, 4.501471996307373, 4.501457691192627, 4.501443386077881, 4.501429080963135, 4.501414775848389, 4.501400470733643, 4.5013861656188965, 4.50137186050415, 4.501357555389404, 4.501343250274658, 4.501328945159912, 4.501314640045166, 4.50130033493042, 4.501285552978516, 4.5012712478637695, 4.501256942749023, 4.501242637634277, 4.501228332519531, 4.501214027404785, 4.501199722290039, 4.501185417175293, 4.501171112060547, 4.501156806945801, 4.501142501831055, 4.501128196716309, 4.5011138916015625, 4.501099109649658, 4.501084804534912, 4.501070499420166, 4.50105619430542, 4.501041889190674, 4.501027584075928, 4.501013278961182, 4.5009989738464355, 4.5009846687316895, 4.500970363616943, 4.500955581665039, 4.500941276550293, 4.500926971435547, 4.500912666320801, 4.500898361206055, 4.500884056091309, 4.5008697509765625, 4.500855445861816, 4.500840663909912, 4.500826358795166, 4.50081205368042, 4.500797748565674, 4.500783443450928, 4.500769138336182, 4.5007548332214355, 4.5007405281066895, 4.500725746154785, 4.500711441040039, 4.500697135925293, 4.500682830810547, 4.500668525695801, 4.500654220581055, 4.50063943862915, 4.500625133514404, 4.500610828399658, 4.500596523284912, 4.500582218170166, 4.50056791305542, 4.500553607940674, 4.5005388259887695, 4.500524520874023, 4.500510215759277, 4.500495910644531, 4.500481605529785, 4.500466823577881, 4.500452518463135, 4.500438213348389, 4.500423908233643, 4.5004096031188965, 4.500394821166992, 4.500380516052246, 4.5003662109375, 4.500351905822754, 4.500337600708008, 4.5003228187561035, 4.500308513641357, 4.500294208526611, 4.500279903411865, 4.500265598297119, 4.500250816345215, 4.500236511230469, 4.500222206115723, 4.500207901000977, 4.5001935958862305, 4.500178813934326, 4.50016450881958, 4.500150203704834, 4.500135898590088, 4.500121116638184, 4.5001068115234375, 4.500092506408691, 4.500078201293945, 4.500063419342041, 4.500049114227295, 4.500034809112549, 4.500020503997803, 4.500005722045898, 4.499991416931152, 4.499977111816406, 4.49996280670166, 4.499948024749756, 4.49993371963501, 4.499919414520264, 4.499905109405518, 4.499890327453613, 4.499876022338867, 4.499861717224121, 4.499847412109375, 4.499832630157471, 4.499818325042725, 4.4998040199279785, 4.499789237976074, 4.499774932861328, 4.499760627746582, 4.499746322631836, 4.499731540679932, 4.4997172355651855, 4.4997029304504395, 4.499688148498535, 4.499673843383789, 4.499659538269043, 4.499644756317139, 4.499630451202393, 4.4996161460876465, 4.4996018409729, 4.499587059020996, 4.49957275390625, 4.499558448791504, 4.4995436668396, 4.4995293617248535, 4.499515056610107, 4.499500274658203, 4.499485969543457, 4.499471664428711, 4.499456882476807, 4.4994425773620605, 4.4994282722473145, 4.49941349029541, 4.499399185180664, 4.499384880065918, 4.499370098114014, 4.499355792999268, 4.4993414878845215, 4.499326705932617, 4.499312400817871, 4.499298095703125, 4.499283313751221, 4.499269008636475, 4.49925422668457, 4.499239921569824, 4.499225616455078, 4.499210834503174, 4.499196529388428, 4.499182224273682, 4.499167442321777, 4.499153137207031, 4.499138355255127, 4.499124050140381, 4.499109745025635, 4.4990949630737305, 4.499080657958984, 4.499066352844238, 4.499051570892334, 4.499037265777588, 4.499022483825684, 4.4990081787109375, 4.498993873596191, 4.498979091644287, 4.498964786529541, 4.498950004577637, 4.498935699462891, 4.4989213943481445, 4.49890661239624, 4.498892307281494, 4.49887752532959, 4.498863220214844, 4.4988484382629395, 4.498834133148193, 4.498819828033447, 4.498805046081543, 4.498790740966797, 4.498775959014893, 4.4987616539001465, 4.498746871948242, 4.498732566833496, 4.49871826171875, 4.498703479766846, 4.4986891746521, 4.498674392700195, 4.498660087585449, 4.498645305633545, 4.498631000518799, 4.4986162185668945, 4.498601913452148, 4.498587131500244, 4.498572826385498, 4.498558044433594, 4.498543739318848, 4.498529434204102, 4.498514652252197, 4.498500347137451, 4.498485565185547, 4.498471260070801, 4.4984564781188965, 4.49844217300415, 4.498427391052246, 4.4984130859375, 4.498398303985596, 4.49838399887085, 4.498369216918945, 4.498354911804199, 4.498340129852295, 4.498325824737549, 4.4983110427856445, 4.498296737670898, 4.498281955718994, 4.498267650604248, 4.498252868652344, 4.498238563537598, 4.498223781585693, 4.498209476470947, 4.498194694519043, 4.498180389404297, 4.498165607452393, 4.4981513023376465, 4.498136520385742, 4.498121738433838, 4.498107433319092, 4.4980926513671875, 4.498078346252441, 4.498063564300537, 4.498049259185791, 4.498034477233887, 4.498020172119141, 4.498005390167236, 4.49799108505249, 4.497976303100586, 4.497961521148682, 4.4979472160339355, 4.497932434082031, 4.497918128967285, 4.497903347015381, 4.497889041900635, 4.4978742599487305, 4.497859954833984, 4.49784517288208, 4.497830390930176, 4.49781608581543, 4.497801303863525, 4.497786998748779, 4.497772216796875, 4.497757434844971, 4.497743129730225, 4.49772834777832, 4.497714042663574, 4.49769926071167, 4.497684955596924, 4.4976701736450195, 4.497655391693115, 4.497641086578369, 4.497626304626465, 4.4976115226745605, 4.4975972175598145, 4.49758243560791, 4.497568130493164, 4.49755334854126, 4.4975385665893555, 4.497524261474609, 4.497509479522705, 4.497495174407959, 4.497480392456055, 4.49746561050415, 4.497451305389404, 4.4974365234375, 4.497421741485596, 4.49740743637085, 4.497392654418945, 4.497377872467041, 4.497363567352295, 4.497348785400391, 4.4973344802856445, 4.49731969833374, 4.497304916381836, 4.49729061126709, 4.4972758293151855, 4.497261047363281, 4.497246742248535, 4.497231960296631, 4.497217178344727, 4.4972028732299805, 4.497188091278076, 4.497173309326172, 4.497159004211426, 4.4971442222595215, 4.497129440307617, 4.497115135192871, 4.497100353240967, 4.4970855712890625, 4.497070789337158, 4.497056484222412, 4.497041702270508, 4.4970269203186035, 4.497012615203857, 4.496997833251953, 4.496983051300049, 4.496968746185303, 4.496953964233398, 4.496939182281494, 4.49692440032959, 4.496910095214844, 4.4968953132629395, 4.496880531311035, 4.496866226196289, 4.496851444244385, 4.4968366622924805, 4.496821880340576, 4.49680757522583, 4.496792793273926, 4.4967780113220215, 4.496763229370117, 4.496748924255371, 4.496734142303467, 4.4967193603515625, 4.496704578399658, 4.496690273284912, 4.496675491333008, 4.4966607093811035, 4.496645927429199, 4.496631622314453, 4.496616840362549, 4.4966020584106445, 4.49658727645874, 4.496572971343994, 4.49655818939209, 4.4965434074401855, 4.496528625488281, 4.496514320373535, 4.496499538421631, 4.496484756469727, 4.496469974517822, 4.496455669403076, 4.496440887451172, 4.496426105499268, 4.496411323547363, 4.496396541595459, 4.496382236480713, 4.496367454528809, 4.496352672576904, 4.496337890625, 4.496323108673096, 4.49630880355835, 4.496294021606445, 4.496279239654541, 4.496264457702637, 4.496249675750732, 4.496235370635986, 4.496220588684082, 4.496205806732178, 4.496191024780273, 4.496176242828369, 4.496161460876465, 4.496147155761719, 4.4961323738098145, 4.49611759185791, 4.496102809906006, 4.496088027954102, 4.496073246002197, 4.496058940887451, 4.496044158935547, 4.496029376983643, 4.496014595031738, 4.495999813079834, 4.49598503112793, 4.495970249176025, 4.495955944061279, 4.495941162109375, 4.495926380157471, 4.495911598205566, 4.495896816253662, 4.495882034301758, 4.4958672523498535, 4.495852947235107, 4.495838165283203, 4.495823383331299, 4.4958086013793945, 4.49579381942749, 4.495779037475586, 4.495764255523682, 4.495749473571777, 4.495734691619873, 4.495720386505127, 4.495705604553223, 4.495690822601318, 4.495676040649414, 4.49566125869751, 4.4956464767456055, 4.495631694793701, 4.495616912841797, 4.495602130889893, 4.495587348937988, 4.495573043823242, 4.495558261871338, 4.495543479919434, 4.495528697967529, 4.495513916015625, 4.495499134063721, 4.495484352111816, 4.495469570159912, 4.495454788208008, 4.4954400062561035, 4.495425224304199, 4.495410442352295, 4.495395660400391, 4.495380878448486, 4.495366096496582, 4.495351791381836, 4.495337009429932, 4.495322227478027, 4.495307445526123, 4.495292663574219, 4.4952778816223145, 4.49526309967041, 4.495248317718506, 4.495233535766602, 4.495218753814697, 4.495203971862793, 4.495189189910889, 4.495174407958984, 4.49515962600708, 4.495144844055176, 4.4951300621032715, 4.495115280151367, 4.495100498199463, 4.495085716247559, 4.495070934295654, 4.49505615234375, 4.495041370391846, 4.495026588439941, 4.495011806488037, 4.494997024536133, 4.4949822425842285, 4.494967460632324, 4.49495267868042, 4.494937896728516, 4.494923114776611, 4.494908332824707, 4.494893550872803, 4.494878768920898, 4.494863986968994, 4.49484920501709, 4.4948344230651855, 4.494819641113281, 4.494804859161377, 4.494790077209473, 4.494775295257568, 4.494760513305664, 4.49474573135376, 4.4947309494018555, 4.494716167449951, 4.494701385498047, 4.494686126708984, 4.49467134475708, 4.494656562805176, 4.4946417808532715, 4.494626998901367, 4.494612216949463, 4.494597434997559, 4.494582653045654, 4.49456787109375, 4.494553089141846, 4.494538307189941, 4.494523525238037, 4.494508743286133, 4.4944939613342285, 4.494479179382324, 4.494463920593262, 4.494449138641357, 4.494434356689453, 4.494419574737549, 4.4944047927856445, 4.49439001083374, 4.494375228881836, 4.494360446929932, 4.494345664978027, 4.494330883026123, 4.4943156242370605, 4.494300842285156, 4.494286060333252, 4.494271278381348, 4.494256496429443, 4.494241714477539, 4.494226932525635, 4.4942121505737305, 4.494197368621826, 4.494182109832764, 4.494167327880859, 4.494152545928955, 4.494137763977051, 4.4941229820251465, 4.494108200073242, 4.494093418121338, 4.494078159332275, 4.494063377380371, 4.494048595428467, 4.4940338134765625, 4.494019031524658, 4.494004249572754, 4.49398946762085, 4.493974208831787, 4.493959426879883, 4.4939446449279785, 4.493929862976074, 4.49391508102417, 4.493900299072266, 4.493885040283203, 4.493870258331299, 4.4938554763793945, 4.49384069442749, 4.493825912475586, 4.493811130523682, 4.493795871734619, 4.493781089782715, 4.4937663078308105, 4.493751525878906, 4.493736743927002, 4.4937214851379395, 4.493706703186035, 4.493691921234131, 4.493677139282227, 4.493662357330322, 4.49364709854126, 4.4936323165893555, 4.493617534637451, 4.493602752685547, 4.493587970733643, 4.49357271194458, 4.493557929992676, 4.4935431480407715, 4.493528366088867, 4.493513107299805, 4.4934983253479, 4.493483543395996, 4.493468761444092, 4.493453502655029, 4.493438720703125, 4.493423938751221, 4.493409156799316, 4.493393898010254, 4.49337911605835, 4.493364334106445, 4.493349552154541, 4.4933342933654785, 4.493319511413574, 4.49330472946167, 4.493289947509766, 4.493274688720703, 4.493259906768799, 4.4932451248168945, 4.49323034286499, 4.493215084075928, 4.493200302124023, 4.493185520172119, 4.493170261383057, 4.493155479431152, 4.493140697479248, 4.493125915527344, 4.493110656738281, 4.493095874786377, 4.493081092834473, 4.49306583404541, 4.493051052093506, 4.493036270141602, 4.493021488189697, 4.493006229400635, 4.4929914474487305, 4.492976665496826, 4.492961406707764, 4.492946624755859, 4.492931842803955, 4.492916584014893, 4.492901802062988, 4.492887020111084, 4.4928717613220215, 4.492856979370117, 4.492842197418213, 4.49282693862915, 4.492812156677246, 4.492797374725342, 4.492782115936279, 4.492767333984375, 4.492752552032471, 4.492737293243408, 4.492722511291504, 4.4927077293396, 4.492692470550537, 4.492677688598633, 4.4926629066467285, 4.492647647857666, 4.492632865905762, 4.492617607116699, 4.492602825164795, 4.492588043212891, 4.492572784423828, 4.492558002471924, 4.4925432205200195, 4.492527961730957, 4.492513179779053, 4.49249792098999, 4.492483139038086, 4.492468357086182, 4.492453098297119, 4.492438316345215, 4.492423057556152, 4.492408275604248, 4.492393493652344, 4.492378234863281, 4.492363452911377, 4.4923481941223145, 4.49233341217041, 4.492318630218506, 4.492303371429443, 4.492288589477539, 4.492273330688477, 4.492258548736572, 4.492243766784668, 4.4922285079956055, 4.492213726043701, 4.492198467254639, 4.492183685302734, 4.492168426513672, 4.492153644561768, 4.492138862609863, 4.492123603820801, 4.4921088218688965, 4.492093563079834, 4.49207878112793, 4.492063522338867, 4.492048740386963, 4.4920334815979, 4.492018699645996, 4.492003440856934, 4.491988658905029, 4.491973876953125, 4.4919586181640625, 4.491943836212158, 4.491928577423096, 4.491913795471191, 4.491898536682129, 4.491883754730225, 4.491868495941162, 4.491853713989258, 4.491838455200195, 4.491823673248291, 4.4918084144592285, 4.491793632507324, 4.491778373718262, 4.491763591766357, 4.491748332977295, 4.491733551025391, 4.491718292236328, 4.491703510284424, 4.491688251495361, 4.491673469543457, 4.4916582107543945, 4.49164342880249, 4.491628170013428, 4.491613388061523, 4.491598129272461, 4.491583347320557, 4.491568088531494, 4.49155330657959, 4.491538047790527, 4.491523265838623, 4.4915080070495605, 4.491492748260498, 4.491477966308594, 4.491462707519531, 4.491447925567627, 4.4914326667785645, 4.49141788482666, 4.491402626037598, 4.491387844085693, 4.491372585296631, 4.491357326507568, 4.491342544555664, 4.491327285766602, 4.491312503814697, 4.491297245025635, 4.4912824630737305, 4.491267204284668, 4.4912519454956055, 4.491237163543701, 4.491221904754639, 4.491207122802734, 4.491191864013672, 4.491177082061768, 4.491161823272705, 4.491146564483643, 4.491131782531738, 4.491116523742676, 4.4911017417907715, 4.491086483001709, 4.4910712242126465, 4.491056442260742, 4.49104118347168, 4.491026401519775, 4.491011142730713, 4.49099588394165, 4.490981101989746, 4.490965843200684, 4.490950584411621, 4.490935802459717, 4.490920543670654, 4.49090576171875, 4.4908905029296875, 4.490875244140625, 4.490860462188721, 4.490845203399658, 4.490829944610596, 4.490815162658691, 4.490799903869629, 4.490784645080566, 4.490769863128662, 4.4907546043396, 4.490739345550537, 4.490724563598633, 4.49070930480957, 4.490694522857666, 4.4906792640686035, 4.490664005279541, 4.490649223327637, 4.490633964538574, 4.490618705749512, 4.490603446960449, 4.490588665008545, 4.490573406219482, 4.49055814743042, 4.490543365478516, 4.490528106689453, 4.490512847900391, 4.490498065948486, 4.490482807159424, 4.490467548370361, 4.490452766418457, 4.4904375076293945, 4.490422248840332, 4.4904069900512695, 4.490392208099365, 4.490376949310303, 4.49036169052124, 4.490346908569336, 4.490331649780273, 4.490316390991211, 4.490301132202148, 4.490286350250244, 4.490271091461182, 4.490255832672119, 4.490241050720215, 4.490225791931152, 4.49021053314209, 4.490195274353027, 4.490180492401123, 4.4901652336120605, 4.490149974822998, 4.4901347160339355, 4.490119934082031, 4.490104675292969, 4.490089416503906, 4.490074157714844, 4.4900593757629395, 4.490044116973877, 4.4900288581848145, 4.490013599395752, 4.4899983406066895, 4.489983558654785, 4.489968299865723, 4.48995304107666, 4.489937782287598, 4.489923000335693, 4.489907741546631, 4.489892482757568, 4.489877223968506, 4.489861965179443, 4.489847183227539, 4.489831924438477, 4.489816665649414, 4.489801406860352, 4.489786148071289, 4.489771366119385, 4.489756107330322, 4.48974084854126, 4.489725589752197, 4.489710330963135, 4.4896955490112305, 4.489680290222168, 4.4896650314331055, 4.489649772644043, 4.4896345138549805, 4.489619255065918, 4.489604473114014, 4.489589214324951, 4.489573955535889, 4.489558696746826, 4.489543437957764, 4.489528179168701, 4.489513397216797, 4.489498138427734, 4.489482879638672, 4.489467620849609, 4.489452362060547, 4.489437103271484, 4.489421844482422, 4.489407062530518, 4.489391803741455, 4.489376544952393, 4.48936128616333, 4.489346027374268, 4.489330768585205, 4.489315509796143, 4.48930025100708, 4.489285469055176, 4.489270210266113, 4.489254951477051, 4.489239692687988, 4.489224433898926, 4.489209175109863, 4.489193916320801, 4.489178657531738, 4.489163398742676, 4.4891486167907715, 4.489133358001709, 4.4891180992126465, 4.489102840423584, 4.4890875816345215, 4.489072322845459, 4.4890570640563965, 4.489041805267334, 4.4890265464782715, 4.489011287689209, 4.4889960289001465, 4.488980770111084, 4.48896598815918, 4.488950729370117, 4.488935470581055, 4.488920211791992, 4.48890495300293, 4.488889694213867, 4.488874435424805, 4.488859176635742, 4.48884391784668, 4.488828659057617, 4.488813400268555, 4.488798141479492, 4.48878288269043, 4.488767623901367, 4.488752365112305, 4.488737106323242, 4.48872184753418, 4.488706588745117, 4.488691329956055, 4.488676071166992, 4.48866081237793, 4.488645553588867, 4.488630294799805, 4.488615036010742, 4.48859977722168, 4.488584518432617, 4.488569259643555, 4.488554000854492, 4.48853874206543, 4.488523483276367, 4.488508224487305, 4.488492965698242, 4.48847770690918, 4.488462448120117, 4.488447189331055, 4.488431930541992, 4.48841667175293, 4.488401412963867, 4.488386154174805, 4.488370895385742, 4.48835563659668, 4.488340377807617, 4.488325119018555, 4.488309860229492, 4.48829460144043, 4.488279342651367, 4.488264083862305, 4.488248825073242, 4.48823356628418, 4.488218307495117, 4.488203048706055, 4.488187789916992, 4.48817253112793, 4.488157272338867, 4.488142013549805, 4.488126754760742, 4.48811149597168, 4.488095760345459, 4.4880805015563965, 4.488065242767334, 4.4880499839782715, 4.488034725189209, 4.4880194664001465, 4.488004207611084, 4.4879889488220215, 4.487973690032959, 4.4879584312438965, 4.487943172454834, 4.4879279136657715, 4.487912178039551, 4.487896919250488, 4.487881660461426, 4.487866401672363, 4.487851142883301, 4.487835884094238, 4.487820625305176, 4.487805366516113, 4.487790107727051, 4.48777437210083, 4.487759113311768, 4.487743854522705, 4.487728595733643, 4.48771333694458, 4.487698078155518, 4.487682819366455, 4.487667560577393, 4.487651824951172, 4.487636566162109, 4.487621307373047, 4.487606048583984, 4.487590789794922, 4.487575531005859, 4.487560272216797, 4.487544536590576, 4.487529277801514, 4.487514019012451, 4.487498760223389, 4.487483501434326, 4.487468242645264, 4.487452507019043, 4.4874372482299805, 4.487421989440918, 4.4874067306518555, 4.487391471862793, 4.4873762130737305, 4.48736047744751, 4.487345218658447, 4.487329959869385, 4.487314701080322, 4.48729944229126, 4.487283706665039, 4.487268447875977, 4.487253189086914, 4.487237930297852, 4.487222671508789, 4.487206935882568, 4.487191677093506, 4.487176418304443, 4.487161159515381, 4.487145900726318, 4.487130165100098, 4.487114906311035, 4.487099647521973, 4.48708438873291, 4.4870686531066895, 4.487053394317627, 4.4870381355285645, 4.487022876739502, 4.487007141113281, 4.486991882324219, 4.486976623535156, 4.486961364746094, 4.486946105957031, 4.4869303703308105, 4.486915111541748, 4.4868998527526855, 4.486884117126465, 4.486868858337402, 4.48685359954834, 4.486838340759277, 4.486822605133057, 4.486807346343994, 4.486792087554932, 4.486776828765869, 4.486761093139648, 4.486745834350586, 4.486730575561523, 4.486714839935303, 4.48669958114624, 4.486684322357178, 4.486669063568115, 4.4866533279418945, 4.486638069152832, 4.4866228103637695, 4.486607074737549, 4.486591815948486, 4.486576557159424, 4.486560821533203, 4.486545562744141, 4.486530303955078, 4.486515045166016, 4.486499309539795, 4.486484050750732, 4.48646879196167, 4.486453056335449, 4.486437797546387, 4.486422538757324, 4.4864068031311035, 4.486391544342041, 4.4863762855529785, 4.486360549926758, 4.486345291137695, 4.486330032348633, 4.486314296722412, 4.48629903793335, 4.486283302307129, 4.486268043518066, 4.486252784729004, 4.486237049102783, 4.486221790313721, 4.486206531524658, 4.4861907958984375, 4.486175537109375, 4.4861602783203125, 4.486144542694092, 4.486129283905029, 4.486113548278809, 4.486098289489746, 4.486083030700684, 4.486067295074463, 4.4860520362854, 4.486036777496338, 4.486021041870117, 4.486005783081055, 4.485990047454834, 4.4859747886657715, 4.485959529876709, 4.485943794250488, 4.485928535461426, 4.485912799835205, 4.485897541046143, 4.485881805419922, 4.485866546630859, 4.485851287841797, 4.485835552215576, 4.485820293426514, 4.485804557800293, 4.4857892990112305, 4.48577356338501, 4.485758304595947, 4.485743045806885, 4.485727310180664, 4.485712051391602, 4.485696315765381, 4.485681056976318, 4.485665321350098, 4.485650062561035, 4.4856343269348145, 4.485619068145752, 4.4856038093566895, 4.485588073730469, 4.485572814941406, 4.4855570793151855, 4.485541820526123, 4.485526084899902, 4.48551082611084, 4.485495090484619, 4.485479831695557, 4.485464096069336, 4.485448837280273, 4.485433101654053, 4.48541784286499, 4.4854021072387695, 4.485386848449707, 4.485371112823486, 4.485355854034424, 4.485340118408203, 4.485324859619141, 4.48530912399292, 4.485293865203857, 4.485278129577637, 4.485262870788574, 4.4852471351623535, 4.485231876373291, 4.48521614074707, 4.485200881958008, 4.485185146331787, 4.485169887542725, 4.485154151916504, 4.485138893127441, 4.485123157501221, 4.485107421875, 4.4850921630859375, 4.485076427459717, 4.485061168670654, 4.485045433044434, 4.485030174255371, 4.48501443862915, 4.484999179840088, 4.484983444213867, 4.4849677085876465, 4.484952449798584, 4.484936714172363, 4.484921455383301, 4.48490571975708, 4.484890460968018, 4.484874725341797, 4.484858989715576, 4.484843730926514, 4.484827995300293, 4.4848127365112305, 4.48479700088501, 4.484781742095947, 4.484766006469727, 4.484750270843506, 4.484735012054443, 4.484719276428223, 4.48470401763916, 4.4846882820129395, 4.484672546386719, 4.484657287597656, 4.4846415519714355, 4.484625816345215, 4.484610557556152, 4.484594821929932, 4.484579563140869, 4.484563827514648, 4.484548091888428, 4.484532833099365, 4.4845170974731445, 4.484501361846924, 4.484486103057861, 4.484470367431641, 4.484455108642578, 4.484439373016357, 4.484423637390137, 4.484408378601074, 4.4843926429748535, 4.484376907348633, 4.48436164855957, 4.48434591293335, 4.484330177307129, 4.484314918518066, 4.484299182891846, 4.484283447265625, 4.4842681884765625, 4.484252452850342, 4.484236717224121, 4.484221458435059, 4.484205722808838, 4.484189987182617, 4.484174728393555, 4.484158992767334, 4.484143257141113, 4.484127521514893, 4.48411226272583, 4.484096527099609, 4.484080791473389, 4.484065532684326, 4.4840497970581055, 4.484034061431885, 4.484018802642822, 4.484003067016602, 4.483987331390381, 4.48397159576416, 4.483956336975098, 4.483940601348877, 4.483924865722656, 4.4839091300964355, 4.483893871307373, 4.483878135681152, 4.483862400054932, 4.483846664428711, 4.483831405639648, 4.483815670013428, 4.483799934387207, 4.483784198760986, 4.483768939971924, 4.483753204345703, 4.483737468719482, 4.483721733093262, 4.483706474304199, 4.4836907386779785, 4.483675003051758, 4.483659267425537, 4.483644008636475, 4.483628273010254, 4.483612537384033, 4.4835968017578125, 4.48358154296875, 4.483565807342529, 4.483550071716309, 4.483534336090088, 4.483518600463867, 4.483503341674805, 4.483487606048584, 4.483471870422363, 4.483456134796143, 4.483440399169922, 4.483425140380859, 4.483409404754639, 4.483393669128418, 4.483377933502197, 4.483362197875977, 4.483346462249756, 4.483331203460693, 4.483315467834473, 4.483299732208252, 4.483283996582031, 4.4832682609558105, 4.48325252532959, 4.483237266540527, 4.483221530914307, 4.483205795288086, 4.483190059661865, 4.4831743240356445, 4.483158588409424, 4.483143329620361, 4.483127593994141, 4.48311185836792, 4.483096122741699, 4.4830803871154785, 4.483064651489258, 4.483048915863037, 4.483033180236816, 4.483017921447754, 4.483002185821533, 4.4829864501953125, 4.482970714569092, 4.482954978942871, 4.48293924331665, 4.48292350769043, 4.482907772064209, 4.4828925132751465, 4.482876777648926, 4.482861042022705, 4.482845306396484, 4.482829570770264, 4.482813835144043, 4.482798099517822, 4.482782363891602, 4.482766628265381, 4.48275089263916, 4.4827351570129395, 4.482719898223877, 4.482704162597656, 4.4826884269714355, 4.482672691345215, 4.482656955718994, 4.482641220092773, 4.482625484466553, 4.482609748840332, 4.482594013214111, 4.482578277587891, 4.48256254196167, 4.482546806335449, 4.4825310707092285, 4.482515335083008, 4.482499599456787, 4.482483863830566, 4.482468128204346, 4.482452392578125, 4.482436656951904, 4.482421398162842, 4.482405662536621, 4.4823899269104, 4.48237419128418, 4.482358455657959, 4.482342720031738, 4.482326984405518, 4.482311248779297, 4.482295513153076, 4.4822797775268555, 4.482264041900635, 4.482248306274414, 4.482232570648193, 4.482216835021973, 4.482201099395752, 4.482185363769531, 4.4821696281433105, 4.48215389251709, 4.482138156890869, 4.482122421264648, 4.482106685638428, 4.482090950012207, 4.482075214385986, 4.482059478759766, 4.482043266296387, 4.482027530670166, 4.482011795043945, 4.481996059417725, 4.481980323791504, 4.481964588165283, 4.4819488525390625, 4.481933116912842, 4.481917381286621, 4.4819016456604, 4.48188591003418, 4.481870174407959, 4.481854438781738, 4.481838703155518, 4.481822967529297, 4.481807231903076, 4.4817914962768555, 4.481775760650635, 4.481759548187256, 4.481743812561035, 4.4817280769348145, 4.481712341308594, 4.481696605682373, 4.481680870056152, 4.481665134429932, 4.481649398803711, 4.48163366317749, 4.4816179275512695, 4.481602191925049, 4.48158597946167, 4.481570243835449, 4.4815545082092285, 4.481538772583008, 4.481523036956787, 4.481507301330566, 4.481491565704346, 4.481475830078125, 4.481460094451904, 4.481443881988525, 4.481428146362305, 4.481412410736084, 4.481396675109863, 4.481380939483643, 4.481365203857422, 4.481349468231201, 4.481333255767822, 4.481317520141602, 4.481301784515381, 4.48128604888916, 4.4812703132629395, 4.481254577636719, 4.481238842010498, 4.481222629547119, 4.481206893920898, 4.481191158294678, 4.481175422668457, 4.481159687042236, 4.481143474578857, 4.481127738952637, 4.481112003326416, 4.481096267700195, 4.481080532073975, 4.481064796447754, 4.481048583984375, 4.481032848358154, 4.481017112731934, 4.481001377105713, 4.480985641479492, 4.480969429016113, 4.480953693389893, 4.480937957763672, 4.480922222137451, 4.4809064865112305, 4.480890274047852, 4.480874538421631, 4.48085880279541, 4.4808430671691895, 4.4808268547058105, 4.48081111907959, 4.480795383453369, 4.480779647827148, 4.4807634353637695, 4.480747699737549, 4.480731964111328, 4.480716228485107, 4.480700492858887, 4.480684280395508, 4.480668544769287, 4.480652809143066, 4.4806365966796875, 4.480620861053467, 4.480605125427246, 4.480589389801025, 4.4805731773376465, 4.480557441711426, 4.480541706085205, 4.480525970458984, 4.4805097579956055, 4.480494022369385, 4.480478286743164, 4.480462074279785, 4.4804463386535645, 4.480430603027344, 4.480414867401123, 4.480398654937744, 4.480382919311523, 4.480367183685303, 4.480350971221924, 4.480335235595703, 4.480319499969482, 4.4803032875061035, 4.480287551879883, 4.480271816253662, 4.480256080627441, 4.4802398681640625, 4.480224132537842, 4.480208396911621, 4.480192184448242, 4.4801764488220215, 4.480160713195801, 4.480144500732422, 4.480128765106201, 4.4801130294799805, 4.480096817016602, 4.480081081390381, 4.480064868927002, 4.480049133300781, 4.4800333976745605, 4.480017185211182, 4.480001449584961, 4.47998571395874, 4.479969501495361, 4.479953765869141, 4.47993803024292, 4.479921817779541, 4.47990608215332, 4.479889869689941, 4.479874134063721, 4.4798583984375, 4.479842185974121, 4.4798264503479, 4.4798102378845215, 4.479794502258301, 4.47977876663208, 4.479762554168701, 4.4797468185424805, 4.479730606079102, 4.479714870452881, 4.47969913482666, 4.479682922363281, 4.4796671867370605, 4.479650974273682, 4.479635238647461, 4.47961950302124, 4.479603290557861, 4.479587554931641, 4.479571342468262, 4.479555606842041, 4.479539394378662, 4.479523658752441, 4.479507923126221, 4.479491710662842, 4.479475975036621, 4.479459762573242, 4.4794440269470215, 4.479427814483643, 4.479412078857422, 4.479395866394043, 4.479380130767822, 4.479363918304443, 4.479348182678223, 4.479331970214844, 4.479316234588623, 4.479300498962402, 4.479284286499023, 4.479268550872803, 4.479252338409424, 4.479236602783203, 4.479220390319824, 4.4792046546936035, 4.479188442230225, 4.479172706604004, 4.479156494140625, 4.479140758514404, 4.479124546051025, 4.479108810424805, 4.479092597961426, 4.479076862335205, 4.479060649871826, 4.4790449142456055, 4.479028701782227, 4.479012489318848, 4.478996753692627, 4.478980541229248, 4.478964805603027, 4.478948593139648, 4.478932857513428, 4.478916645050049, 4.478900909423828, 4.478884696960449, 4.4788689613342285, 4.47885274887085, 4.478837013244629, 4.47882080078125, 4.478804588317871, 4.47878885269165, 4.4787726402282715, 4.478756904602051, 4.478740692138672, 4.478724956512451, 4.478708744049072, 4.478692531585693, 4.478676795959473, 4.478660583496094, 4.478644847869873, 4.478628635406494, 4.478612899780273, 4.4785966873168945, 4.478580474853516, 4.478564739227295, 4.478548526763916, 4.478532791137695, 4.478516578674316, 4.4785003662109375, 4.478484630584717, 4.478468418121338, 4.478452682495117, 4.478436470031738, 4.478420257568359, 4.478404521942139, 4.47838830947876, 4.478372097015381, 4.47835636138916, 4.478340148925781, 4.478323936462402, 4.478308200836182, 4.478291988372803, 4.478276252746582, 4.478260040283203, 4.478243827819824, 4.4782280921936035, 4.478211879730225, 4.478195667266846, 4.478179931640625, 4.478163719177246, 4.478147506713867, 4.4781317710876465, 4.478115558624268, 4.478099346160889, 4.478083610534668, 4.478067398071289, 4.47805118560791, 4.4780354499816895, 4.4780192375183105, 4.478003025054932, 4.477987289428711, 4.477971076965332, 4.477954864501953, 4.477938652038574, 4.4779229164123535, 4.477906703948975, 4.477890491485596, 4.477874755859375, 4.477858543395996, 4.477842330932617, 4.477826118469238, 4.477810382843018, 4.477794170379639, 4.47777795791626, 4.477762222290039, 4.47774600982666, 4.477729797363281, 4.477713584899902, 4.477697849273682, 4.477681636810303, 4.477665424346924, 4.477649211883545, 4.477633476257324, 4.477617263793945, 4.477601051330566, 4.4775848388671875, 4.477569103240967, 4.477552890777588, 4.477536678314209, 4.47752046585083, 4.477504730224609, 4.4774885177612305, 4.477472305297852, 4.477456092834473, 4.477439880371094, 4.477424144744873, 4.477407932281494, 4.477391719818115, 4.477375507354736, 4.477359294891357, 4.477343559265137, 4.477327346801758, 4.477311134338379, 4.477294921875, 4.477278709411621, 4.4772629737854, 4.4772467613220215, 4.477230548858643, 4.477214336395264, 4.477198123931885, 4.477182388305664, 4.477166175842285, 4.477149963378906, 4.477133750915527, 4.477117538452148, 4.4771013259887695, 4.477085590362549, 4.47706937789917, 4.477053165435791, 4.477036952972412, 4.477020740509033, 4.477004528045654, 4.476988315582275, 4.476972579956055, 4.476956367492676, 4.476940155029297, 4.476923942565918, 4.476907730102539, 4.47689151763916, 4.476875305175781, 4.476859092712402, 4.476843357086182, 4.476827144622803, 4.476810932159424, 4.476794719696045, 4.476778507232666, 4.476762294769287, 4.476746082305908, 4.476729869842529, 4.47671365737915, 4.47669792175293, 4.476681709289551, 4.476665496826172, 4.476649284362793, 4.476633071899414, 4.476616859436035, 4.476600646972656, 4.476584434509277, 4.476568222045898, 4.4765520095825195, 4.476535797119141, 4.476519584655762, 4.476503372192383, 4.476487636566162, 4.476471424102783, 4.476455211639404, 4.476438999176025, 4.4764227867126465, 4.476406574249268, 4.476390361785889, 4.47637414932251, 4.476357936859131, 4.476341724395752, 4.476325511932373, 4.476309299468994, 4.476293087005615, 4.476276874542236, 4.476260662078857, 4.4762444496154785, 4.4762282371521, 4.476212024688721, 4.476195812225342, 4.476179599761963, 4.476163387298584, 4.476147174835205, 4.476130962371826, 4.476114749908447, 4.476098537445068, 4.4760823249816895, 4.4760661125183105, 4.476049900054932, 4.476033687591553, 4.476017475128174, 4.476001262664795, 4.475985050201416, 4.475968837738037, 4.475952625274658, 4.475936412811279, 4.4759202003479, 4.4759039878845215, 4.475887775421143, 4.475871562957764, 4.475855350494385, 4.475839138031006, 4.475822925567627, 4.475806713104248, 4.475790500640869, 4.47577428817749, 4.475757598876953, 4.475741386413574, 4.475725173950195, 4.475708961486816, 4.4756927490234375, 4.475676536560059, 4.47566032409668, 4.475644111633301, 4.475627899169922, 4.475611686706543, 4.475595474243164, 4.475579261779785, 4.475563049316406, 4.475546360015869, 4.47553014755249, 4.475513935089111, 4.475497722625732, 4.4754815101623535, 4.475465297698975, 4.475449085235596, 4.475432872772217, 4.475416660308838, 4.475399971008301, 4.475383758544922, 4.475367546081543, 4.475351333618164, 4.475335121154785, 4.475318908691406, 4.475302696228027, 4.475286483764648, 4.475269794464111, 4.475253582000732, 4.4752373695373535, 4.475221157073975, 4.475204944610596, 4.475188732147217, 4.475172519683838, 4.475155830383301, 4.475139617919922, 4.475123405456543, 4.475107192993164, 4.475090980529785, 4.475074768066406, 4.475058078765869, 4.47504186630249, 4.475025653839111, 4.475009441375732, 4.4749932289123535, 4.474976539611816, 4.4749603271484375, 4.474944114685059, 4.47492790222168, 4.474911689758301, 4.474895000457764, 4.474878787994385, 4.474862575531006, 4.474846363067627, 4.474830150604248, 4.474813461303711, 4.474797248840332, 4.474781036376953, 4.474764823913574, 4.474748134613037, 4.474731922149658, 4.474715709686279, 4.4746994972229, 4.4746832847595215, 4.474666595458984, 4.4746503829956055, 4.474634170532227, 4.474617958068848, 4.4746012687683105, 4.474585056304932, 4.474568843841553, 4.474552154541016, 4.474535942077637, 4.474519729614258, 4.474503517150879, 4.474486827850342, 4.474470615386963, 4.474454402923584, 4.474438190460205, 4.474421501159668, 4.474405288696289, 4.47438907623291, 4.474372386932373, 4.474356174468994, 4.474339962005615, 4.474323749542236, 4.474307060241699, 4.47429084777832, 4.474274635314941, 4.474257946014404, 4.474241733551025, 4.4742255210876465, 4.474208831787109, 4.4741926193237305, 4.474176406860352, 4.4741597175598145, 4.4741435050964355, 4.474127292633057, 4.4741106033325195, 4.474094390869141, 4.474078178405762, 4.474061489105225, 4.474045276641846, 4.474029064178467, 4.47401237487793, 4.473996162414551, 4.473979949951172, 4.473963260650635, 4.473947048187256, 4.473930835723877, 4.47391414642334, 4.473897933959961, 4.473881244659424, 4.473865032196045, 4.473848819732666, 4.473832130432129, 4.47381591796875, 4.473799705505371, 4.473783016204834, 4.473766803741455, 4.473750114440918, 4.473733901977539, 4.47371768951416, 4.473701000213623, 4.473684787750244, 4.473668098449707, 4.473651885986328, 4.473635196685791, 4.473618984222412, 4.473602771759033, 4.473586082458496, 4.473569869995117, 4.47355318069458, 4.473536968231201, 4.473520755767822, 4.473504066467285, 4.473487854003906, 4.473471164703369, 4.47345495223999, 4.473438262939453, 4.473422050476074, 4.473405361175537, 4.473389148712158, 4.473372459411621, 4.473356246948242, 4.473340034484863, 4.473323345184326, 4.473307132720947, 4.47329044342041, 4.473274230957031, 4.473257541656494, 4.473241329193115, 4.473224639892578, 4.473208427429199, 4.473191738128662, 4.473175525665283, 4.473158836364746, 4.473142623901367, 4.47312593460083, 4.473109722137451, 4.473093032836914, 4.473076820373535, 4.473060131072998, 4.473043918609619, 4.473027229309082, 4.473011016845703, 4.472994327545166, 4.472978115081787, 4.47296142578125, 4.472945213317871, 4.472928524017334, 4.472911834716797, 4.472895622253418, 4.472878932952881, 4.472862720489502, 4.472846031188965, 4.472829818725586, 4.472813129425049, 4.47279691696167, 4.472780227661133, 4.472764015197754, 4.472747325897217, 4.47273063659668, 4.472714424133301, 4.472697734832764, 4.472681522369385, 4.472664833068848, 4.472648620605469, 4.472631931304932, 4.4726152420043945, 4.472599029541016, 4.4725823402404785, 4.4725661277771, 4.4725494384765625, 4.472532749176025, 4.4725165367126465, 4.472499847412109, 4.4724836349487305, 4.472466945648193, 4.472450256347656, 4.472434043884277, 4.47241735458374, 4.472400665283203, 4.472384452819824, 4.472367763519287, 4.472351551055908, 4.472334861755371, 4.472318172454834, 4.472301959991455, 4.472285270690918, 4.472268581390381, 4.472252368927002, 4.472235679626465, 4.472218990325928, 4.472202777862549, 4.472186088562012, 4.472169399261475, 4.472153186798096, 4.472136497497559, 4.4721198081970215, 4.472103595733643, 4.4720869064331055, 4.472070217132568, 4.4720540046691895, 4.472037315368652, 4.472020626068115, 4.472004413604736, 4.471987724304199, 4.471971035003662, 4.471954822540283, 4.471938133239746, 4.471921443939209, 4.471904754638672, 4.471888542175293, 4.471871852874756, 4.471855163574219, 4.47183895111084, 4.471822261810303, 4.471805572509766, 4.4717888832092285, 4.47177267074585, 4.4717559814453125, 4.471739292144775, 4.4717230796813965, 4.471706390380859, 4.471689701080322, 4.471673011779785, 4.471656799316406, 4.471640110015869, 4.471623420715332, 4.471606731414795, 4.471590518951416, 4.471573829650879, 4.471557140350342, 4.471540451049805, 4.471523761749268, 4.471507549285889, 4.471490859985352, 4.4714741706848145, 4.471457481384277, 4.471441268920898, 4.471424579620361, 4.471407890319824, 4.471391201019287, 4.47137451171875, 4.471358299255371, 4.471341609954834, 4.471324920654297, 4.47130823135376, 4.471291542053223, 4.471275329589844, 4.471258640289307, 4.4712419509887695, 4.471225261688232, 4.471208572387695, 4.471191883087158, 4.471175670623779, 4.471158981323242, 4.471142292022705, 4.471125602722168, 4.471108913421631, 4.471092224121094, 4.471076011657715, 4.471059322357178, 4.471042633056641, 4.4710259437561035, 4.471009254455566, 4.470992565155029, 4.470975875854492, 4.470959663391113, 4.470942974090576, 4.470926284790039, 4.470909595489502, 4.470892906188965, 4.470876216888428, 4.470859527587891, 4.4708428382873535, 4.470826625823975, 4.4708099365234375, 4.4707932472229, 4.470776557922363, 4.470759868621826, 4.470743179321289, 4.470726490020752, 4.470709800720215, 4.470693111419678, 4.470676422119141, 4.4706597328186035, 4.470643520355225, 4.4706268310546875, 4.47061014175415, 4.470593452453613, 4.470576763153076, 4.470560073852539, 4.470543384552002, 4.470526695251465, 4.470510005950928, 4.470493316650391, 4.4704766273498535, 4.470459938049316, 4.470443248748779, 4.470426559448242, 4.470409870147705, 4.470393180847168, 4.470376491546631, 4.470359802246094, 4.470343112945557, 4.470326900482178, 4.470310211181641, 4.4702935218811035, 4.470276832580566, 4.470260143280029, 4.470243453979492, 4.470226764678955, 4.470210075378418, 4.470193386077881, 4.470176696777344, 4.470160007476807, 4.4701433181762695, 4.470126628875732, 4.470109939575195, 4.470093250274658, 4.470076560974121, 4.470059871673584, 4.470042705535889, 4.470026016235352, 4.4700093269348145, 4.469992637634277, 4.46997594833374, 4.469959259033203, 4.469942569732666, 4.469925880432129, 4.469909191131592, 4.469892501831055, 4.469875812530518, 4.4698591232299805, 4.469842433929443, 4.469825744628906, 4.469809055328369, 4.469792366027832, 4.469775676727295, 4.469758987426758, 4.469742298126221, 4.469725608825684, 4.469708442687988, 4.469691753387451, 4.469675064086914, 4.469658374786377, 4.46964168548584, 4.469624996185303, 4.469608306884766, 4.4695916175842285, 4.469574928283691, 4.469558238983154, 4.469541072845459, 4.469524383544922, 4.469507694244385, 4.469491004943848, 4.4694743156433105, 4.469457626342773, 4.469440937042236, 4.469424247741699, 4.469407081604004, 4.469390392303467, 4.46937370300293, 4.469357013702393, 4.4693403244018555, 4.469323635101318, 4.469306945800781, 4.469289779663086, 4.469273090362549, 4.469256401062012, 4.469239711761475, 4.4692230224609375, 4.4692063331604, 4.469189643859863, 4.469172477722168, 4.469155788421631, 4.469139099121094, 4.469122409820557, 4.4691057205200195, 4.469088554382324, 4.469071865081787, 4.46905517578125, 4.469038486480713, 4.469021797180176, 4.4690046310424805, 4.468987941741943, 4.468971252441406, 4.468954563140869, 4.468937873840332, 4.468920707702637, 4.4689040184021, 4.4688873291015625, 4.468870639801025, 4.468853950500488, 4.468836784362793, 4.468820095062256, 4.468803405761719, 4.468786716461182, 4.468769550323486, 4.468752861022949, 4.468736171722412, 4.468719482421875, 4.46870231628418, 4.468685626983643, 4.4686689376831055, 4.468652248382568, 4.468635082244873, 4.468618392944336, 4.468601703643799, 4.468585014343262, 4.468567848205566, 4.468551158905029, 4.468534469604492, 4.468517303466797, 4.46850061416626, 4.468483924865723, 4.4684672355651855, 4.46845006942749, 4.468433380126953, 4.468416690826416, 4.468399524688721, 4.468382835388184, 4.4683661460876465, 4.468348979949951, 4.468332290649414, 4.468315601348877, 4.468298435211182, 4.4682817459106445, 4.468265056610107, 4.468247890472412, 4.468231201171875, 4.468214511871338, 4.468197345733643, 4.4681806564331055, 4.468163967132568, 4.468146800994873, 4.468130111694336, 4.468113422393799, 4.4680962562561035, 4.468079566955566, 4.468062877655029, 4.468045711517334, 4.468029022216797, 4.46801233291626, 4.4679951667785645, 4.467978477478027, 4.467961311340332, 4.467944622039795, 4.467927932739258, 4.4679107666015625, 4.467894077301025, 4.46787691116333, 4.467860221862793, 4.467843532562256, 4.4678263664245605, 4.467809677124023, 4.467792510986328, 4.467775821685791, 4.467759132385254, 4.467741966247559, 4.4677252769470215, 4.467708110809326, 4.467691421508789, 4.467674255371094, 4.467657566070557, 4.4676408767700195, 4.467623710632324, 4.467607021331787, 4.467589855194092, 4.467573165893555, 4.467555999755859, 4.467539310455322, 4.467522144317627, 4.46750545501709, 4.467488765716553, 4.467471599578857, 4.46745491027832, 4.467437744140625, 4.467421054840088, 4.467403888702393, 4.4673871994018555, 4.46737003326416, 4.467353343963623, 4.467336177825928, 4.467319488525391, 4.467302322387695, 4.467285633087158, 4.467268466949463, 4.467251777648926, 4.4672346115112305, 4.467217922210693, 4.467200756072998, 4.467184066772461, 4.467166900634766, 4.4671502113342285, 4.467133045196533, 4.467116355895996, 4.467099189758301, 4.467082500457764, 4.467065334320068, 4.467048645019531, 4.467031478881836, 4.467014312744141, 4.4669976234436035, 4.466980457305908, 4.466963768005371, 4.466946601867676, 4.466929912567139, 4.466912746429443, 4.466896057128906, 4.466878890991211, 4.466861724853516, 4.4668450355529785, 4.466827869415283, 4.466811180114746, 4.466794013977051, 4.4667768478393555, 4.466760158538818, 4.466742992401123, 4.466726303100586, 4.466709136962891, 4.4666924476623535, 4.466675281524658, 4.466658115386963, 4.466641426086426, 4.4666242599487305, 4.466607093811035, 4.466590404510498, 4.466573238372803, 4.466556549072266, 4.46653938293457, 4.466522216796875, 4.466505527496338, 4.466488361358643, 4.466471195220947, 4.46645450592041, 4.466437339782715, 4.466420650482178, 4.466403484344482, 4.466386318206787, 4.46636962890625, 4.466352462768555, 4.466335296630859, 4.466318607330322, 4.466301441192627, 4.466284275054932, 4.4662675857543945, 4.466250419616699, 4.466233253479004, 4.466216564178467, 4.4661993980407715, 4.466182231903076, 4.466165065765381, 4.466148376464844, 4.466131210327148, 4.466114044189453, 4.466097354888916, 4.466080188751221, 4.466063022613525, 4.466046333312988, 4.466029167175293, 4.466012001037598, 4.465994834899902, 4.465978145599365, 4.46596097946167, 4.465943813323975, 4.465926647186279, 4.465909957885742, 4.465892791748047, 4.465875625610352, 4.4658589363098145, 4.465841770172119, 4.465824604034424, 4.4658074378967285, 4.465790748596191, 4.465773582458496, 4.465756416320801, 4.4657392501831055, 4.46572208404541, 4.465705394744873, 4.465688228607178, 4.465671062469482, 4.465653896331787, 4.46563720703125, 4.465620040893555, 4.465602874755859, 4.465585708618164, 4.465568542480469, 4.465551853179932, 4.465534687042236, 4.465517520904541, 4.465500354766846, 4.46548318862915, 4.465466499328613, 4.465449333190918, 4.465432167053223, 4.465415000915527, 4.465397834777832, 4.465380668640137, 4.4653639793396, 4.465346813201904, 4.465329647064209, 4.465312480926514, 4.465295314788818, 4.465278148651123, 4.465261459350586, 4.465244293212891, 4.465227127075195, 4.4652099609375, 4.465192794799805, 4.465175628662109, 4.465158462524414, 4.465141773223877, 4.465124607086182, 4.465107440948486, 4.465090274810791, 4.465073108673096, 4.4650559425354, 4.465038776397705, 4.46502161026001, 4.4650044441223145, 4.464987754821777, 4.464970588684082, 4.464953422546387, 4.464936256408691, 4.464919090270996, 4.464901924133301, 4.4648847579956055, 4.46486759185791, 4.464850425720215, 4.4648332595825195, 4.464816093444824, 4.464799404144287, 4.464782238006592, 4.4647650718688965, 4.464747905731201, 4.464730739593506, 4.4647135734558105, 4.464696407318115, 4.46467924118042, 4.464662075042725, 4.464644908905029, 4.464627742767334, 4.464610576629639, 4.464593410491943, 4.464576244354248, 4.464559078216553, 4.464541912078857, 4.464524745941162, 4.464507579803467, 4.4644904136657715, 4.464473247528076, 4.464456081390381, 4.4644389152526855, 4.46442174911499, 4.464404582977295, 4.4643874168396, 4.464370250701904, 4.464353084564209, 4.464335918426514, 4.464318752288818, 4.464301586151123, 4.464284420013428, 4.464267253875732, 4.464250087738037, 4.464232921600342, 4.4642157554626465, 4.464198589324951, 4.464181423187256, 4.4641642570495605, 4.464147090911865, 4.46412992477417, 4.464112758636475, 4.464095592498779, 4.464078426361084, 4.464061260223389, 4.464044094085693, 4.464026927947998, 4.464009761810303, 4.463992118835449, 4.463974952697754, 4.463957786560059, 4.463940620422363, 4.463923454284668, 4.463906288146973, 4.463889122009277, 4.463871955871582, 4.463854789733887, 4.463837623596191, 4.463820457458496, 4.463802814483643, 4.463785648345947, 4.463768482208252, 4.463751316070557, 4.463734149932861, 4.463716983795166, 4.463699817657471, 4.463682651519775, 4.46366548538208, 4.463647842407227, 4.463630676269531, 4.463613510131836, 4.463596343994141, 4.463579177856445, 4.46356201171875, 4.463544845581055, 4.463527202606201, 4.463510036468506, 4.4634928703308105, 4.463475704193115, 4.46345853805542, 4.463441371917725, 4.463423728942871, 4.463406562805176, 4.4633893966674805, 4.463372230529785, 4.46335506439209, 4.4633378982543945, 4.463320255279541, 4.463303089141846, 4.46328592300415, 4.463268756866455, 4.46325159072876, 4.463233947753906, 4.463216781616211, 4.463199615478516, 4.46318244934082, 4.463164806365967, 4.4631476402282715, 4.463130474090576, 4.463113307952881, 4.4630961418151855, 4.463078498840332, 4.463061332702637, 4.463044166564941, 4.463027000427246, 4.463009357452393, 4.462992191314697, 4.462975025177002, 4.462957859039307, 4.462940216064453, 4.462923049926758, 4.4629058837890625, 4.462888717651367, 4.462871074676514, 4.462853908538818, 4.462836742401123, 4.462819576263428, 4.462801933288574, 4.462784767150879, 4.462767601013184, 4.46274995803833, 4.462732791900635, 4.4627156257629395, 4.462697982788086, 4.462680816650391, 4.462663650512695, 4.462646484375, 4.4626288414001465, 4.462611675262451, 4.462594509124756, 4.462576866149902, 4.462559700012207, 4.462542533874512, 4.462524890899658, 4.462507724761963, 4.462490558624268, 4.462472915649414, 4.462455749511719, 4.462438583374023, 4.46242094039917, 4.462403774261475, 4.462386608123779, 4.462368965148926, 4.4623517990112305, 4.462334632873535, 4.462316989898682, 4.462299823760986, 4.462282180786133, 4.4622650146484375, 4.462247848510742, 4.462230205535889, 4.462213039398193, 4.46219539642334, 4.4621782302856445, 4.462161064147949, 4.462143421173096, 4.4621262550354, 4.462108612060547, 4.462091445922852, 4.462074279785156, 4.462056636810303, 4.462039470672607, 4.462021827697754, 4.462004661560059, 4.461987495422363, 4.46196985244751, 4.4619526863098145, 4.461935043334961, 4.461917877197266, 4.461900234222412, 4.461883068084717, 4.4618659019470215, 4.461848258972168, 4.461831092834473, 4.461813449859619, 4.461796283721924, 4.46177864074707, 4.461761474609375, 4.4617438316345215, 4.461726665496826, 4.461709022521973, 4.461691856384277, 4.461674213409424, 4.4616570472717285, 4.461639404296875, 4.46162223815918, 4.461604595184326, 4.461587429046631, 4.461569786071777, 4.461552619934082, 4.4615349769592285, 4.461517810821533, 4.46150016784668, 4.461483001708984, 4.461465358734131, 4.4614481925964355, 4.461430549621582, 4.461413383483887, 4.461395740509033, 4.461378574371338, 4.461360931396484, 4.461343765258789, 4.4613261222839355, 4.46130895614624, 4.461291313171387, 4.461274147033691, 4.461256504058838, 4.461238861083984, 4.461221694946289, 4.4612040519714355, 4.46118688583374, 4.461169242858887, 4.461152076721191, 4.461134433746338, 4.461116790771484, 4.461099624633789, 4.4610819816589355, 4.46106481552124, 4.461047172546387, 4.461029529571533, 4.461012363433838, 4.460994720458984, 4.460977554321289, 4.4609599113464355, 4.460942268371582, 4.460925102233887, 4.460907459259033, 4.460890293121338, 4.460872650146484, 4.460855007171631, 4.4608378410339355, 4.460820198059082, 4.4608025550842285, 4.460785388946533, 4.46076774597168, 4.460750579833984, 4.460732936859131, 4.460715293884277, 4.460698127746582, 4.4606804847717285, 4.460662841796875, 4.46064567565918, 4.460628032684326, 4.460610389709473, 4.460593223571777, 4.460575580596924, 4.46055793762207, 4.460540771484375, 4.4605231285095215, 4.460505485534668, 4.4604878425598145, 4.460470676422119, 4.460453033447266, 4.460435390472412, 4.460418224334717, 4.460400581359863, 4.46038293838501, 4.4603657722473145, 4.460348129272461, 4.460330486297607, 4.460312843322754, 4.460295677185059, 4.460278034210205, 4.460260391235352, 4.460242748260498, 4.460225582122803, 4.460207939147949, 4.460190296173096, 4.4601731300354, 4.460155487060547, 4.460137844085693, 4.46012020111084, 4.460102558135986, 4.460085391998291, 4.4600677490234375, 4.460050106048584, 4.4600324630737305, 4.460015296936035, 4.459997653961182, 4.459980010986328, 4.459962368011475, 4.459945201873779, 4.459927558898926, 4.459909915924072, 4.459892272949219, 4.459874629974365, 4.45985746383667, 4.459839820861816, 4.459822177886963, 4.459804534912109, 4.459786891937256, 4.459769248962402, 4.459752082824707, 4.4597344398498535, 4.459716796875, 4.4596991539001465, 4.459681510925293, 4.4596638679504395, 4.459646701812744, 4.459629058837891, 4.459611415863037, 4.459593772888184, 4.45957612991333, 4.459558486938477, 4.459540843963623, 4.459523677825928, 4.459506034851074, 4.459488391876221, 4.459470748901367, 4.459453105926514, 4.45943546295166, 4.459417819976807, 4.459400177001953, 4.459383010864258, 4.459365367889404, 4.459347724914551, 4.459330081939697, 4.459312438964844, 4.45929479598999, 4.459277153015137, 4.459259510040283, 4.45924186706543, 4.459224224090576, 4.459207057952881, 4.459189414978027, 4.459171772003174, 4.45915412902832, 4.459136486053467, 4.459118843078613, 4.45910120010376, 4.459083557128906, 4.459065914154053, 4.459048271179199, 4.459030628204346, 4.459012985229492, 4.458995342254639, 4.458977699279785, 4.458960056304932, 4.458942413330078, 4.458924770355225, 4.458907127380371, 4.458889484405518, 4.458871841430664, 4.4588541984558105, 4.458836555480957, 4.4588189125061035, 4.45880126953125, 4.4587836265563965, 4.458765983581543, 4.4587483406066895, 4.458730697631836, 4.458713054656982, 4.458695411682129, 4.458677768707275, 4.458660125732422, 4.458642482757568, 4.458624839782715, 4.458607196807861, 4.458589553833008, 4.458571910858154, 4.458554267883301, 4.458536624908447, 4.458518981933594, 4.45850133895874, 4.458483695983887, 4.458466053009033, 4.45844841003418, 4.458430767059326, 4.458413124084473, 4.458395481109619, 4.458377838134766, 4.458360195159912, 4.458342552185059, 4.458324432373047, 4.458306789398193, 4.45828914642334, 4.458271503448486, 4.458253860473633, 4.458236217498779, 4.458218574523926, 4.458200931549072, 4.458183288574219, 4.458165645599365, 4.4581475257873535, 4.4581298828125, 4.4581122398376465, 4.458094596862793, 4.4580769538879395, 4.458059310913086, 4.458041667938232, 4.458024024963379, 4.458005905151367, 4.457988262176514, 4.45797061920166, 4.457952976226807, 4.457935333251953, 4.4579176902771, 4.457900047302246, 4.457881927490234, 4.457864284515381, 4.457846641540527, 4.457828998565674, 4.45781135559082, 4.457793712615967, 4.457775592803955, 4.457757949829102, 4.457740306854248, 4.4577226638793945, 4.457705020904541, 4.457686901092529, 4.457669258117676, 4.457651615142822, 4.457633972167969, 4.457616329193115, 4.4575982093811035, 4.45758056640625, 4.4575629234313965, 4.457545280456543, 4.4575276374816895, 4.457509517669678, 4.457491874694824, 4.457474231719971, 4.457456588745117, 4.4574384689331055, 4.457420825958252, 4.457403182983398, 4.457385540008545, 4.457367420196533, 4.45734977722168, 4.457332134246826, 4.457314491271973, 4.457296371459961, 4.457278728485107, 4.457261085510254, 4.4572434425354, 4.457225322723389, 4.457207679748535, 4.457190036773682, 4.45717191696167, 4.457154273986816, 4.457136631011963, 4.457118988037109, 4.457100868225098, 4.457083225250244, 4.457065582275391, 4.457047462463379, 4.457029819488525, 4.457012176513672, 4.45699405670166, 4.456976413726807, 4.456958770751953, 4.456940650939941, 4.456923007965088, 4.456905364990234, 4.456887245178223, 4.456869602203369, 4.456851959228516, 4.456833839416504, 4.45681619644165, 4.456798553466797, 4.456780433654785, 4.456762790679932, 4.456745147705078, 4.456727027893066, 4.456709384918213, 4.456691265106201, 4.456673622131348, 4.456655979156494, 4.456637859344482, 4.456620216369629, 4.456602096557617, 4.456584453582764, 4.45656681060791, 4.456548690795898, 4.456531047821045, 4.456512928009033, 4.45649528503418, 4.456477642059326, 4.4564595222473145, 4.456441879272461, 4.456423759460449, 4.456406116485596, 4.456388473510742, 4.4563703536987305, 4.456352710723877, 4.456334590911865, 4.456316947937012, 4.456298828125, 4.4562811851501465, 4.456263065338135, 4.456245422363281, 4.456227779388428, 4.456209659576416, 4.4561920166015625, 4.456173896789551, 4.456156253814697, 4.4561381340026855, 4.456120491027832, 4.45610237121582, 4.456084728240967, 4.456066608428955, 4.456048965454102, 4.45603084564209, 4.456013202667236, 4.455995082855225, 4.455977439880371, 4.455959320068359, 4.455941677093506, 4.455923557281494, 4.455905914306641, 4.455887794494629, 4.455870151519775, 4.455852031707764, 4.45583438873291, 4.455816268920898, 4.455798625946045, 4.455780506134033, 4.4557623863220215, 4.455744743347168, 4.455726623535156, 4.455708980560303, 4.455690860748291, 4.4556732177734375, 4.455655097961426, 4.455637454986572, 4.4556193351745605, 4.455601215362549, 4.455583572387695, 4.455565452575684, 4.45554780960083, 4.455529689788818, 4.455511569976807, 4.455493927001953, 4.455475807189941, 4.455458164215088, 4.455440044403076, 4.4554219245910645, 4.455404281616211, 4.455386161804199, 4.455368518829346, 4.455350399017334, 4.455332279205322, 4.455314636230469, 4.455296516418457, 4.455278396606445, 4.455260753631592, 4.45524263381958, 4.455224990844727, 4.455206871032715, 4.455188751220703, 4.45517110824585, 4.455152988433838, 4.455134868621826, 4.455117225646973, 4.455099105834961, 4.455080986022949, 4.455063343048096, 4.455045223236084, 4.455027103424072, 4.455009460449219, 4.454991340637207, 4.454973220825195, 4.454955577850342, 4.45493745803833, 4.454919338226318, 4.454901218414307, 4.454883575439453, 4.454865455627441, 4.45484733581543, 4.454829692840576, 4.4548115730285645, 4.454793453216553, 4.454775333404541, 4.4547576904296875, 4.454739570617676, 4.454721450805664, 4.4547038078308105, 4.454685688018799, 4.454667568206787, 4.454649448394775, 4.454631805419922, 4.45461368560791, 4.454595565795898, 4.454577445983887, 4.454559326171875, 4.4545416831970215, 4.45452356338501, 4.454505443572998, 4.454487323760986, 4.454469680786133, 4.454451560974121, 4.454433441162109, 4.454415321350098, 4.454397201538086, 4.454379558563232, 4.454361438751221, 4.454343318939209, 4.454325199127197, 4.4543070793151855, 4.454289436340332, 4.45427131652832, 4.454253196716309, 4.454235076904297, 4.454216957092285, 4.454198837280273, 4.45418119430542, 4.454163074493408, 4.4541449546813965, 4.454126834869385, 4.454108715057373, 4.454090595245361, 4.454072952270508, 4.454054832458496, 4.454036712646484, 4.454018592834473, 4.454000473022461, 4.453982353210449, 4.4539642333984375, 4.453946590423584, 4.453928470611572, 4.4539103507995605, 4.453892230987549, 4.453874111175537, 4.453855991363525, 4.453837871551514, 4.453819751739502, 4.45380163192749, 4.4537835121154785, 4.453765869140625, 4.453747749328613, 4.453729629516602, 4.45371150970459, 4.453693389892578, 4.453675270080566, 4.453657150268555, 4.453639030456543, 4.453620910644531, 4.4536027908325195, 4.453584671020508, 4.453566551208496, 4.453548431396484, 4.453530311584473, 4.453512191772461, 4.453494071960449, 4.453476428985596, 4.453458309173584, 4.453440189361572, 4.4534220695495605, 4.453403949737549, 4.453385829925537, 4.453367710113525, 4.453349590301514, 4.453331470489502, 4.45331335067749, 4.4532952308654785, 4.453277111053467, 4.453258991241455, 4.453240871429443, 4.453222751617432, 4.45320463180542, 4.453186511993408, 4.4531683921813965, 4.453150272369385, 4.453132152557373, 4.453114032745361, 4.45309591293335, 4.45307731628418, 4.453059196472168, 4.453041076660156, 4.4530229568481445, 4.453004837036133, 4.452986717224121, 4.452968597412109, 4.452950477600098, 4.452932357788086, 4.452914237976074, 4.4528961181640625, 4.452877998352051, 4.452859878540039, 4.452841758728027, 4.452823638916016, 4.452805519104004, 4.452786922454834, 4.452768802642822, 4.4527506828308105, 4.452732563018799, 4.452714443206787, 4.452696323394775, 4.452678203582764, 4.452660083770752, 4.45264196395874, 4.45262336730957, 4.452605247497559, 4.452587127685547, 4.452569007873535, 4.452550888061523, 4.452532768249512, 4.4525146484375, 4.452496528625488, 4.452477931976318, 4.452459812164307, 4.452441692352295, 4.452423572540283, 4.4524054527282715, 4.45238733291626, 4.45236873626709, 4.452350616455078, 4.452332496643066, 4.452314376831055, 4.452296257019043, 4.452278137207031, 4.452259540557861, 4.45224142074585, 4.452223300933838, 4.452205181121826, 4.4521870613098145, 4.4521684646606445, 4.452150344848633, 4.452132225036621, 4.452114105224609, 4.4520955085754395, 4.452077388763428, 4.452059268951416, 4.452041149139404, 4.452023029327393, 4.452004432678223, 4.451986312866211, 4.451968193054199, 4.4519500732421875, 4.451931476593018, 4.451913356781006, 4.451895236968994, 4.451877117156982, 4.4518585205078125, 4.451840400695801, 4.451822280883789, 4.451803684234619, 4.451785564422607, 4.451767444610596, 4.451749324798584, 4.451730728149414, 4.451712608337402, 4.451694488525391, 4.451675891876221, 4.451657772064209, 4.451639652252197, 4.4516215324401855, 4.451602935791016, 4.451584815979004, 4.451566696166992, 4.451548099517822, 4.4515299797058105, 4.451511859893799, 4.451493263244629, 4.451475143432617, 4.4514570236206055, 4.4514384269714355, 4.451420307159424, 4.451402187347412, 4.451383590698242, 4.4513654708862305, 4.451347351074219, 4.451328754425049, 4.451310634613037, 4.451292037963867, 4.4512739181518555, 4.451255798339844, 4.451237201690674, 4.451219081878662, 4.45120096206665, 4.4511823654174805, 4.451164245605469, 4.451145648956299, 4.451127529144287, 4.451109409332275, 4.4510908126831055, 4.451072692871094, 4.451054096221924, 4.451035976409912, 4.4510178565979, 4.4509992599487305, 4.450981140136719, 4.450962543487549, 4.450944423675537, 4.450925827026367, 4.4509077072143555, 4.4508891105651855, 4.450870990753174, 4.450852870941162, 4.450834274291992, 4.4508161544799805, 4.4507975578308105, 4.450779438018799, 4.450760841369629, 4.450742721557617, 4.450724124908447, 4.4507060050964355, 4.450687408447266, 4.450669288635254, 4.450650691986084, 4.450632572174072, 4.450613975524902, 4.450595855712891, 4.450577259063721, 4.450559139251709, 4.450540542602539, 4.450522422790527, 4.450503826141357, 4.450485706329346, 4.450467109680176, 4.450448989868164, 4.450430393218994, 4.450412273406982, 4.4503936767578125, 4.450375556945801, 4.450356960296631, 4.450338840484619, 4.450320243835449, 4.450301647186279, 4.450283527374268, 4.450264930725098, 4.450246810913086, 4.450228214263916, 4.450210094451904, 4.450191497802734, 4.4501729011535645, 4.450154781341553, 4.450136184692383, 4.450118064880371, 4.450099468231201, 4.4500813484191895, 4.4500627517700195, 4.45004415512085, 4.450026035308838, 4.450007438659668, 4.449989318847656, 4.449970722198486, 4.449952125549316, 4.449934005737305, 4.449915409088135, 4.449896812438965, 4.449878692626953, 4.449860095977783, 4.449841499328613, 4.449823379516602, 4.449804782867432, 4.44978666305542, 4.44976806640625, 4.44974946975708, 4.449731349945068, 4.449712753295898, 4.4496941566467285, 4.449676036834717, 4.449657440185547, 4.449638843536377, 4.449620723724365, 4.449602127075195, 4.449583530426025, 4.4495649337768555, 4.449546813964844, 4.449528217315674, 4.449509620666504, 4.449491500854492, 4.449472904205322, 4.449454307556152, 4.449436187744141, 4.449417591094971, 4.449398994445801, 4.449380397796631, 4.449362277984619, 4.449343681335449, 4.449325084686279, 4.449306488037109, 4.449288368225098, 4.449269771575928, 4.449251174926758, 4.449232578277588, 4.449214458465576, 4.449195861816406, 4.449177265167236, 4.449158668518066, 4.449140548706055, 4.449121952056885, 4.449103355407715, 4.449084758758545, 4.449066162109375, 4.449048042297363, 4.449029445648193, 4.449010848999023, 4.4489922523498535, 4.448973655700684, 4.448955535888672, 4.448936939239502, 4.448918342590332, 4.448899745941162, 4.448881149291992, 4.4488630294799805, 4.4488444328308105, 4.448825836181641, 4.448807239532471, 4.448788642883301, 4.448770046234131, 4.448751926422119, 4.448733329772949, 4.448714733123779, 4.448696136474609, 4.4486775398254395, 4.4486589431762695, 4.4486403465271, 4.448622226715088, 4.448603630065918, 4.448585033416748, 4.448566436767578, 4.448547840118408, 4.448529243469238, 4.448510646820068, 4.448492050170898, 4.4484734535217285, 4.448455333709717, 4.448436737060547, 4.448418140411377, 4.448399543762207, 4.448380947113037, 4.448362350463867, 4.448343753814697, 4.448325157165527, 4.448306560516357, 4.4482879638671875, 4.448269367218018, 4.448250770568848, 4.448232650756836, 4.448214054107666, 4.448195457458496, 4.448176860809326, 4.448158264160156, 4.448139667510986, 4.448121070861816, 4.4481024742126465, 4.448083877563477, 4.448065280914307, 4.448046684265137, 4.448028087615967, 4.448009490966797, 4.447990894317627, 4.447972297668457, 4.447953701019287, 4.447935104370117, 4.447916507720947, 4.447897911071777, 4.447879314422607, 4.4478607177734375, 4.447842121124268, 4.447823524475098, 4.447804927825928, 4.447786331176758, 4.447767734527588, 4.447749137878418, 4.447730541229248, 4.447711944580078, 4.447693347930908, 4.447674751281738, 4.447656154632568, 4.44763708114624, 4.44761848449707, 4.4475998878479, 4.4475812911987305, 4.4475626945495605, 4.447544097900391, 4.447525501251221, 4.447506904602051, 4.447488307952881, 4.447469711303711, 4.447451114654541, 4.447432518005371, 4.447413921356201, 4.447394847869873, 4.447376251220703, 4.447357654571533, 4.447339057922363, 4.447320461273193, 4.447301864624023, 4.4472832679748535, 4.447264671325684, 4.4472455978393555, 4.4472270011901855, 4.447208404541016, 4.447189807891846, 4.447171211242676, 4.447152614593506, 4.447134017944336, 4.447114944458008, 4.447096347808838, 4.447077751159668, 4.447059154510498, 4.447040557861328, 4.447021961212158, 4.44700288772583, 4.44698429107666, 4.44696569442749, 4.44694709777832, 4.44692850112915, 4.4469099044799805, 4.446890830993652, 4.446872234344482, 4.4468536376953125, 4.446835041046143, 4.446816444396973, 4.4467973709106445, 4.446778774261475, 4.446760177612305, 4.446741580963135, 4.446722507476807, 4.446703910827637, 4.446685314178467, 4.446666717529297, 4.446647644042969, 4.446629047393799, 4.446610450744629, 4.446591854095459, 4.446572780609131, 4.446554183959961, 4.446535587310791, 4.446516990661621, 4.446497917175293, 4.446479320526123, 4.446460723876953, 4.446442127227783, 4.446423053741455, 4.446404457092285, 4.446385860443115, 4.446366786956787, 4.446348190307617, 4.446329593658447, 4.446310520172119, 4.446291923522949, 4.446273326873779, 4.446254730224609, 4.446235656738281, 4.446217060089111, 4.446198463439941, 4.446179389953613, 4.446160793304443, 4.446142196655273, 4.446123123168945, 4.446104526519775, 4.446085453033447, 4.446066856384277, 4.446048259735107, 4.446029186248779, 4.446010589599609, 4.4459919929504395, 4.445972919464111, 4.445954322814941, 4.4459357261657715, 4.445916652679443, 4.445898056030273, 4.445878982543945, 4.445860385894775, 4.4458417892456055, 4.445822715759277, 4.445804119110107, 4.445785045623779, 4.445766448974609, 4.4457478523254395, 4.445728778839111, 4.445710182189941, 4.445691108703613, 4.445672512054443, 4.445653438568115, 4.445634841918945, 4.445616245269775, 4.445597171783447, 4.445578575134277, 4.445559501647949, 4.445540904998779, 4.445521831512451, 4.445503234863281, 4.445484161376953, 4.445465564727783, 4.445446491241455, 4.445427894592285, 4.445408821105957, 4.445390224456787, 4.445371150970459, 4.445352554321289, 4.445333480834961, 4.445314884185791, 4.445295810699463, 4.445277214050293, 4.445258140563965, 4.445239543914795, 4.445220470428467, 4.445201873779297, 4.445182800292969, 4.445164203643799, 4.445145130157471, 4.445126533508301, 4.445107460021973, 4.445088863372803, 4.445069789886475, 4.445051193237305, 4.445032119750977, 4.445013523101807, 4.4449944496154785, 4.44497537612915, 4.4449567794799805, 4.444937705993652, 4.444919109344482, 4.444900035858154, 4.444881439208984, 4.444862365722656, 4.444843292236328, 4.444824695587158, 4.44480562210083, 4.44478702545166, 4.444767951965332, 4.444748878479004, 4.444730281829834, 4.444711208343506, 4.444692611694336, 4.444673538208008, 4.44465446472168, 4.44463586807251, 4.444616794586182, 4.4445977210998535, 4.444579124450684, 4.4445600509643555, 4.444540977478027, 4.444522380828857, 4.444503307342529, 4.444484233856201, 4.444465637207031, 4.444446563720703, 4.444427490234375, 4.444408893585205, 4.444389820098877, 4.444370746612549, 4.444352149963379, 4.444333076477051, 4.444314002990723, 4.444295406341553, 4.444276332855225, 4.4442572593688965, 4.444238662719727, 4.444219589233398, 4.44420051574707, 4.444181442260742, 4.444162845611572, 4.444143772125244, 4.444124698638916, 4.444106101989746, 4.444087028503418, 4.44406795501709, 4.444048881530762, 4.444030284881592, 4.444011211395264, 4.4439921379089355, 4.443973064422607, 4.4439544677734375, 4.443935394287109, 4.443916320800781, 4.443897247314453, 4.443878650665283, 4.443859577178955, 4.443840503692627, 4.443821430206299, 4.443802356719971, 4.443783760070801, 4.443764686584473, 4.4437456130981445, 4.443726539611816, 4.443707466125488, 4.443688869476318, 4.44366979598999, 4.443650722503662, 4.443631649017334, 4.443612575531006, 4.443593502044678, 4.443574905395508, 4.44355583190918, 4.443536758422852, 4.443517684936523, 4.443498611450195, 4.443479537963867, 4.443460941314697, 4.443441867828369, 4.443422794342041, 4.443403720855713, 4.443384647369385, 4.443365573883057, 4.4433465003967285, 4.4433274269104, 4.4433088302612305, 4.443289756774902, 4.443270683288574, 4.443251609802246, 4.443232536315918, 4.44321346282959, 4.443194389343262, 4.443175315856934, 4.4431562423706055, 4.443137168884277, 4.443118572235107, 4.443099498748779, 4.443080425262451, 4.443061351776123, 4.443042278289795, 4.443023204803467, 4.443004131317139, 4.4429850578308105, 4.442965984344482, 4.442946910858154, 4.442927837371826, 4.442908763885498, 4.44288969039917, 4.442870616912842, 4.442851543426514, 4.4428324699401855, 4.442813396453857, 4.442794322967529, 4.442775249481201, 4.442756175994873, 4.442737102508545, 4.442718029022217, 4.442698955535889, 4.4426798820495605, 4.442660808563232, 4.442641735076904, 4.442622661590576, 4.442603588104248, 4.44258451461792, 4.442565441131592, 4.442546367645264, 4.4425272941589355, 4.442508220672607, 4.442489147186279, 4.442470073699951, 4.442451000213623, 4.442431926727295, 4.442412853240967, 4.442393779754639, 4.4423747062683105, 4.442355632781982, 4.442336559295654, 4.442317008972168, 4.44229793548584, 4.442278861999512, 4.442259788513184, 4.4422407150268555, 4.442221641540527, 4.442202568054199, 4.442183494567871, 4.442164421081543, 4.442145347595215, 4.442126274108887, 4.4421067237854, 4.442087650299072, 4.442068576812744, 4.442049503326416, 4.442030429840088, 4.44201135635376, 4.441992282867432, 4.441972732543945, 4.441953659057617, 4.441934585571289, 4.441915512084961, 4.441896438598633, 4.441877365112305, 4.441858291625977, 4.44183874130249, 4.441819667816162, 4.441800594329834, 4.441781520843506, 4.441762447357178, 4.441742897033691, 4.441723823547363, 4.441704750061035, 4.441685676574707, 4.441666603088379, 4.441647052764893, 4.4416279792785645, 4.441608905792236, 4.441589832305908, 4.44157075881958, 4.441551208496094, 4.441532135009766, 4.4415130615234375, 4.441493988037109, 4.441474437713623, 4.441455364227295, 4.441436290740967, 4.441417217254639, 4.441397666931152, 4.441378593444824, 4.441359519958496, 4.441340446472168, 4.441320896148682, 4.4413018226623535, 4.441282749176025, 4.441263675689697, 4.441244125366211, 4.441225051879883, 4.441205978393555, 4.441186428070068, 4.44116735458374, 4.441148281097412, 4.441128730773926, 4.441109657287598, 4.4410905838012695, 4.441071510314941, 4.441051959991455, 4.441032886505127, 4.441013813018799, 4.4409942626953125, 4.440975189208984, 4.440956115722656, 4.44093656539917, 4.440917491912842, 4.4408979415893555, 4.440878868103027, 4.440859794616699, 4.440840244293213, 4.440821170806885, 4.440802097320557, 4.44078254699707, 4.440763473510742, 4.440743923187256, 4.440724849700928, 4.4407057762146, 4.440686225891113, 4.440667152404785, 4.440648078918457, 4.440628528594971, 4.440609455108643, 4.440589904785156, 4.440570831298828, 4.440551280975342, 4.440532207489014, 4.4405131340026855, 4.440493583679199, 4.440474510192871, 4.440454959869385, 4.440435886383057, 4.44041633605957, 4.440397262573242, 4.440377712249756, 4.440358638763428, 4.4403395652771, 4.440320014953613, 4.440300941467285, 4.440281391143799, 4.440262317657471, 4.440242767333984, 4.440223693847656, 4.44020414352417, 4.440185070037842, 4.4401655197143555, 4.440146446228027, 4.440126895904541, 4.440107822418213, 4.440088272094727, 4.440069198608398, 4.440049648284912, 4.440030574798584, 4.440011024475098, 4.4399919509887695, 4.439972400665283, 4.439953327178955, 4.439933776855469, 4.439914226531982, 4.439895153045654, 4.439875602722168, 4.43985652923584, 4.4398369789123535, 4.439817905426025, 4.439798355102539, 4.439778804779053, 4.439759731292725, 4.439740180969238, 4.43972110748291, 4.439701557159424, 4.439682483673096, 4.439662933349609, 4.439643383026123, 4.439624309539795, 4.439604759216309, 4.4395856857299805, 4.439566135406494, 4.439546585083008, 4.43952751159668, 4.439507961273193, 4.439488410949707, 4.439469337463379, 4.439449787139893, 4.4394307136535645, 4.439411163330078, 4.439391613006592, 4.439372539520264, 4.439352989196777, 4.439333438873291, 4.439314365386963, 4.439294815063477, 4.43927526473999, 4.439256191253662, 4.439236640930176, 4.4392170906066895, 4.439198017120361, 4.439178466796875, 4.439158916473389, 4.439139366149902, 4.439120292663574, 4.439100742340088, 4.439081192016602, 4.439062118530273, 4.439042568206787, 4.439023017883301, 4.4390034675598145, 4.438984394073486, 4.43896484375, 4.438945293426514, 4.4389262199401855, 4.438906669616699, 4.438887119293213, 4.438867568969727, 4.438848495483398, 4.438828945159912, 4.438809394836426, 4.4387898445129395, 4.438770294189453, 4.438751220703125, 4.438731670379639, 4.438712120056152, 4.438692569732666, 4.438673496246338, 4.438653945922852, 4.438634395599365, 4.438614845275879, 4.438595294952393, 4.4385762214660645, 4.438556671142578, 4.438537120819092, 4.4385175704956055, 4.438498020172119, 4.438478469848633, 4.438459396362305, 4.438439846038818, 4.438420295715332, 4.438400745391846, 4.438381195068359, 4.438361644744873, 4.438342571258545, 4.438323020935059, 4.438303470611572, 4.438283920288086, 4.4382643699646, 4.438244819641113, 4.438225269317627, 4.438205718994141, 4.4381866455078125, 4.438167095184326, 4.43814754486084, 4.4381279945373535, 4.438108444213867, 4.438088893890381, 4.4380693435668945, 4.438049793243408, 4.438030242919922, 4.4380106925964355, 4.437991142272949, 4.437972068786621, 4.437952518463135, 4.437932968139648, 4.437913417816162, 4.437893867492676, 4.4378743171691895, 4.437854766845703, 4.437835216522217, 4.4378156661987305, 4.437796115875244, 4.437776565551758, 4.4377570152282715, 4.437737464904785, 4.437717914581299, 4.4376983642578125, 4.437678813934326, 4.43765926361084, 4.4376397132873535, 4.437620162963867, 4.437600612640381, 4.4375810623168945, 4.437561511993408, 4.437541961669922, 4.4375224113464355, 4.437502861022949, 4.437483310699463, 4.437463760375977, 4.43744421005249, 4.437424659729004, 4.437405109405518, 4.437385559082031, 4.437366008758545, 4.437346458435059, 4.437326908111572, 4.437307357788086, 4.4372878074646, 4.437267780303955, 4.437248229980469, 4.437228679656982, 4.437209129333496, 4.43718957901001, 4.437170028686523, 4.437150478363037, 4.437130928039551, 4.4371113777160645, 4.437091827392578, 4.437072277069092, 4.437052249908447, 4.437032699584961, 4.437013149261475, 4.436993598937988, 4.436974048614502, 4.436954498291016, 4.436934947967529, 4.436915397644043, 4.436895370483398, 4.436875820159912, 4.436856269836426, 4.4368367195129395, 4.436817169189453, 4.436797618865967, 4.436777591705322, 4.436758041381836, 4.43673849105835, 4.436718940734863, 4.436699390411377, 4.436679840087891, 4.436659812927246, 4.43664026260376, 4.436620712280273, 4.436601161956787, 4.436581611633301, 4.436561584472656, 4.43654203414917, 4.436522483825684, 4.436502933502197, 4.436482906341553, 4.436463356018066, 4.43644380569458, 4.436424255371094, 4.436404705047607, 4.436384677886963, 4.436365127563477, 4.43634557723999, 4.436326026916504, 4.436305999755859, 4.436286449432373, 4.436266899108887, 4.436246871948242, 4.436227321624756, 4.4362077713012695, 4.436188220977783, 4.436168193817139, 4.436148643493652, 4.436129093170166, 4.4361090660095215, 4.436089515686035, 4.436069965362549, 4.4360504150390625, 4.436030387878418, 4.436010837554932, 4.435991287231445, 4.435971260070801, 4.4359517097473145, 4.435932159423828, 4.435912132263184, 4.435892581939697, 4.435873031616211, 4.435853004455566, 4.43583345413208, 4.4358134269714355, 4.435793876647949, 4.435774326324463, 4.435754299163818, 4.435734748840332, 4.435715198516846, 4.435695171356201, 4.435675621032715, 4.43565559387207, 4.435636043548584, 4.435616493225098, 4.435596466064453, 4.435576915740967, 4.435556888580322, 4.435537338256836, 4.43551778793335, 4.435497760772705, 4.435478210449219, 4.435458183288574, 4.435438632965088, 4.435418605804443, 4.435399055480957, 4.435379505157471, 4.435359477996826, 4.43533992767334, 4.435319900512695, 4.435300350189209, 4.4352803230285645, 4.435260772705078, 4.435240745544434, 4.435221195220947, 4.435201168060303, 4.435181617736816, 4.435161590576172, 4.4351420402526855, 4.435122013092041, 4.435102462768555, 4.43508243560791, 4.435062885284424, 4.435042858123779, 4.435023307800293, 4.435003280639648, 4.434983730316162, 4.434963703155518, 4.434944152832031, 4.434924125671387, 4.4349045753479, 4.434884548187256, 4.4348649978637695, 4.434844970703125, 4.4348249435424805, 4.434805393218994, 4.43478536605835, 4.434765815734863, 4.434745788574219, 4.434726238250732, 4.434706211090088, 4.434686183929443, 4.434666633605957, 4.4346466064453125, 4.434627056121826, 4.434607028961182, 4.434587001800537, 4.434567451477051, 4.434547424316406, 4.43452787399292, 4.434507846832275, 4.434487819671631, 4.4344682693481445, 4.4344482421875, 4.4344282150268555, 4.434408664703369, 4.434388637542725, 4.43436861038208, 4.434349060058594, 4.434329032897949, 4.434309482574463, 4.434289455413818, 4.434269428253174, 4.434249401092529, 4.434229850769043, 4.434209823608398, 4.434189796447754, 4.434170246124268, 4.434150218963623, 4.4341301918029785, 4.434110641479492, 4.434090614318848, 4.434070587158203, 4.434051036834717, 4.434031009674072, 4.434010982513428, 4.433990955352783, 4.433971405029297, 4.433951377868652, 4.433931350708008, 4.433911323547363, 4.433891773223877, 4.433871746063232, 4.433851718902588, 4.433831691741943, 4.433812141418457, 4.4337921142578125, 4.433772087097168, 4.433752059936523, 4.433732509613037, 4.433712482452393, 4.433692455291748, 4.4336724281311035, 4.433652400970459, 4.433632850646973, 4.433612823486328, 4.433592796325684, 4.433572769165039, 4.4335527420043945, 4.433533191680908, 4.433513164520264, 4.433493137359619, 4.433473110198975, 4.43345308303833, 4.4334330558776855, 4.433413505554199, 4.433393478393555, 4.43337345123291, 4.433353424072266, 4.433333396911621, 4.433313369750977, 4.433293342590332, 4.433273792266846, 4.433253765106201, 4.433233737945557, 4.433213710784912, 4.433193683624268, 4.433173656463623, 4.4331536293029785, 4.433133602142334, 4.4331135749816895, 4.433094024658203, 4.433073997497559, 4.433053970336914, 4.4330339431762695, 4.433013916015625, 4.4329938888549805, 4.432973861694336, 4.432953834533691, 4.432933807373047, 4.432913780212402, 4.432893753051758, 4.432873725891113, 4.432853698730469, 4.432833671569824, 4.43281364440918, 4.432793617248535, 4.432773590087891, 4.432753562927246, 4.432733535766602, 4.432713985443115, 4.432693958282471, 4.432673931121826, 4.432653903961182, 4.432633876800537, 4.432613849639893, 4.432593822479248, 4.432573318481445, 4.432553291320801, 4.432533264160156, 4.432513236999512, 4.432493209838867, 4.432473182678223, 4.432453155517578, 4.432433128356934, 4.432413101196289, 4.4323930740356445, 4.432373046875, 4.4323530197143555, 4.432332992553711, 4.432312965393066, 4.432292938232422, 4.432272911071777, 4.432252883911133, 4.432232856750488, 4.432212829589844, 4.432192325592041, 4.4321722984313965, 4.432152271270752, 4.432132244110107, 4.432112216949463, 4.432092189788818, 4.432072162628174, 4.432052135467529, 4.432032108306885, 4.432011604309082, 4.4319915771484375, 4.431971549987793, 4.431951522827148, 4.431931495666504, 4.431911468505859, 4.431891441345215, 4.431870937347412, 4.431850910186768, 4.431830883026123, 4.4318108558654785, 4.431790828704834, 4.4317708015441895, 4.431750297546387, 4.431730270385742, 4.431710243225098, 4.431690216064453, 4.431670188903809, 4.431649684906006, 4.431629657745361, 4.431609630584717, 4.431589603424072, 4.431569576263428, 4.431549072265625, 4.4315290451049805, 4.431509017944336, 4.431488990783691, 4.431468486785889, 4.431448459625244, 4.4314284324646, 4.431408405303955, 4.431387901306152, 4.431367874145508, 4.431347846984863, 4.431327819824219, 4.431307315826416, 4.4312872886657715, 4.431267261505127, 4.431247234344482, 4.43122673034668, 4.431206703186035, 4.431186676025391, 4.431166172027588, 4.431146144866943, 4.431126117706299, 4.431105613708496, 4.431085586547852, 4.431065559387207, 4.431045055389404, 4.43102502822876, 4.431005001068115, 4.4309844970703125, 4.430964469909668, 4.430944442749023, 4.430923938751221, 4.430903911590576, 4.430883884429932, 4.430863380432129, 4.430843353271484, 4.43082332611084, 4.430802822113037, 4.430782794952393, 4.430762767791748, 4.430742263793945, 4.430722236633301, 4.430701732635498, 4.4306817054748535, 4.430661678314209, 4.430641174316406, 4.430621147155762, 4.430600643157959, 4.4305806159973145, 4.430560111999512, 4.430540084838867, 4.430520057678223, 4.43049955368042, 4.430479526519775, 4.430459022521973, 4.430438995361328, 4.430418491363525, 4.430398464202881, 4.430377960205078, 4.430357933044434, 4.430337429046631, 4.430317401885986, 4.430297374725342, 4.430276870727539, 4.4302568435668945, 4.430236339569092, 4.430216312408447, 4.4301958084106445, 4.43017578125, 4.430155277252197, 4.430135250091553, 4.43011474609375, 4.4300947189331055, 4.430074214935303, 4.4300537109375, 4.4300336837768555, 4.430013179779053, 4.429993152618408, 4.4299726486206055, 4.429952621459961, 4.429932117462158, 4.429912090301514, 4.429891586303711, 4.429871559143066, 4.429851055145264, 4.429830551147461, 4.429810523986816, 4.429790019989014, 4.429769992828369, 4.429749488830566, 4.429728984832764, 4.429708957672119, 4.429688453674316, 4.429668426513672, 4.429647922515869, 4.429627418518066, 4.429607391357422, 4.429586887359619, 4.429566860198975, 4.429546356201172, 4.429525852203369, 4.429505825042725, 4.429485321044922, 4.429464817047119, 4.429444789886475, 4.429424285888672, 4.429403781890869, 4.429383754730225, 4.429363250732422, 4.429342746734619, 4.429322719573975, 4.429302215576172, 4.429281711578369, 4.429261684417725, 4.429241180419922, 4.429220676422119, 4.429200172424316, 4.429180145263672, 4.429159641265869, 4.429139137268066, 4.429119110107422, 4.429098606109619, 4.429078102111816, 4.429057598114014, 4.429037570953369, 4.429017066955566, 4.428996562957764, 4.428976058959961, 4.428956031799316, 4.428935527801514, 4.428915023803711, 4.428894519805908, 4.428874492645264, 4.428853988647461, 4.428833484649658, 4.4288129806518555, 4.428792953491211, 4.428772449493408, 4.4287519454956055, 4.428731441497803, 4.4287109375, 4.4286909103393555, 4.428670406341553, 4.42864990234375, 4.428629398345947, 4.4286088943481445, 4.428588390350342, 4.428568363189697, 4.4285478591918945, 4.428527355194092, 4.428506851196289, 4.428486347198486, 4.428465843200684, 4.428445339202881, 4.428425312042236, 4.428404808044434, 4.428384304046631, 4.428363800048828, 4.428343296051025, 4.428322792053223, 4.42830228805542, 4.428281784057617, 4.428261756896973, 4.42824125289917, 4.428220748901367, 4.4282002449035645, 4.428179740905762, 4.428159236907959, 4.428138732910156, 4.4281182289123535, 4.428097724914551, 4.428077220916748, 4.428056716918945, 4.428036212921143, 4.42801570892334, 4.427995204925537, 4.427974700927734, 4.42795467376709, 4.427934169769287, 4.427913665771484, 4.427893161773682, 4.427872657775879, 4.427852153778076, 4.427831649780273, 4.427811145782471, 4.427790641784668, 4.427770137786865, 4.4277496337890625, 4.42772912979126, 4.427708625793457, 4.427688121795654, 4.427667617797852, 4.427647113800049, 4.427626609802246, 4.427606105804443, 4.427585124969482, 4.42756462097168, 4.427544116973877, 4.427523612976074, 4.4275031089782715, 4.427482604980469, 4.427462100982666, 4.427441596984863, 4.4274210929870605, 4.427400588989258, 4.427380084991455, 4.427359580993652, 4.42733907699585, 4.427318572998047, 4.427297592163086, 4.427277088165283, 4.4272565841674805, 4.427236080169678, 4.427215576171875, 4.427195072174072, 4.4271745681762695, 4.427154064178467, 4.427133560180664, 4.427112579345703, 4.4270920753479, 4.427071571350098, 4.427051067352295, 4.427030563354492, 4.4270100593566895, 4.4269890785217285, 4.426968574523926, 4.426948070526123, 4.42692756652832, 4.426907062530518, 4.426886558532715, 4.426865577697754, 4.426845073699951, 4.426824569702148, 4.426804065704346, 4.426783561706543, 4.426762580871582, 4.426742076873779, 4.426721572875977, 4.426701068878174, 4.426680088043213, 4.42665958404541, 4.426639080047607, 4.426618576049805, 4.426598072052002, 4.426577091217041, 4.426556587219238, 4.4265360832214355, 4.426515579223633, 4.426494598388672, 4.426474094390869, 4.426453590393066, 4.4264326095581055, 4.426412105560303, 4.4263916015625, 4.426371097564697, 4.426350116729736, 4.426329612731934, 4.426309108734131, 4.42628812789917, 4.426267623901367, 4.4262471199035645, 4.4262261390686035, 4.426205635070801, 4.426185131072998, 4.426164150238037, 4.426143646240234, 4.426123142242432, 4.426102161407471, 4.426081657409668, 4.426061153411865, 4.426040172576904, 4.426019668579102, 4.425999164581299, 4.425978183746338, 4.425957679748535, 4.425936698913574, 4.4259161949157715, 4.425895690917969, 4.425874710083008, 4.425854206085205, 4.425833225250244, 4.425812721252441, 4.425792217254639, 4.425771236419678, 4.425750732421875, 4.425729751586914, 4.425709247589111, 4.42568826675415, 4.425667762756348, 4.425647258758545, 4.425626277923584, 4.425605773925781, 4.42558479309082, 4.425564289093018, 4.425543308258057, 4.425522804260254, 4.425501823425293, 4.42548131942749, 4.425460338592529, 4.425439834594727, 4.425418853759766, 4.425398349761963, 4.425377368927002, 4.425356864929199, 4.425335884094238, 4.4253153800964355, 4.425294399261475, 4.425273895263672, 4.425252914428711, 4.425232410430908, 4.425211429595947, 4.4251909255981445, 4.425169944763184, 4.425149440765381, 4.42512845993042, 4.425107479095459, 4.425086975097656, 4.425065994262695, 4.425045490264893, 4.425024509429932, 4.425004005432129, 4.424983024597168, 4.424962043762207, 4.424941539764404, 4.424920558929443, 4.424900054931641, 4.42487907409668, 4.424858093261719, 4.424837589263916, 4.424816608428955, 4.424796104431152, 4.424775123596191, 4.4247541427612305, 4.424733638763428, 4.424712657928467, 4.424691677093506, 4.424671173095703, 4.424650192260742, 4.424629211425781, 4.4246087074279785, 4.424587726593018, 4.424566745758057, 4.424546241760254, 4.424525260925293, 4.424504280090332, 4.424483776092529, 4.424462795257568, 4.424441814422607, 4.424421310424805, 4.424400329589844, 4.424379348754883, 4.424358367919922, 4.424337863922119, 4.424316883087158, 4.424295902252197, 4.4242753982543945, 4.424254417419434, 4.424233436584473, 4.424212455749512, 4.424191951751709, 4.424170970916748, 4.424149990081787, 4.424129009246826, 4.424108505249023, 4.4240875244140625, 4.424066543579102, 4.424045562744141, 4.42402458190918, 4.424004077911377, 4.423983097076416, 4.423962116241455, 4.423941135406494, 4.423920154571533, 4.4238996505737305, 4.4238786697387695, 4.423857688903809, 4.423836708068848, 4.423815727233887, 4.423795223236084, 4.423774242401123, 4.423753261566162, 4.423732280731201, 4.42371129989624, 4.423690319061279, 4.423669338226318, 4.423648834228516, 4.423627853393555, 4.423606872558594, 4.423585891723633, 4.423564910888672, 4.423543930053711, 4.42352294921875, 4.423501968383789, 4.423480987548828, 4.423460483551025, 4.4234395027160645, 4.4234185218811035, 4.423397541046143, 4.423376560211182, 4.423355579376221, 4.42333459854126, 4.423313617706299, 4.423292636871338, 4.423271656036377, 4.423250675201416, 4.423229694366455, 4.423208713531494, 4.423187732696533, 4.423166751861572, 4.423145771026611, 4.42312479019165, 4.4231038093566895, 4.4230828285217285, 4.423061847686768, 4.423040866851807, 4.423019886016846, 4.422998905181885, 4.422977924346924, 4.422956943511963, 4.422935962677002, 4.422914981842041, 4.42289400100708, 4.422873020172119, 4.422852039337158, 4.422831058502197, 4.422810077667236, 4.422789096832275, 4.4227681159973145, 4.4227471351623535, 4.422726154327393, 4.422705173492432, 4.422684192657471, 4.42266321182251, 4.422642230987549, 4.422621250152588, 4.422600269317627, 4.422578811645508, 4.422557830810547, 4.422536849975586, 4.422515869140625, 4.422494888305664, 4.422473907470703, 4.422452926635742, 4.422431945800781, 4.42241096496582, 4.422389507293701, 4.42236852645874, 4.422347545623779, 4.422326564788818, 4.422305583953857, 4.4222846031188965, 4.4222636222839355, 4.422242164611816, 4.4222211837768555, 4.4222002029418945, 4.422179222106934, 4.422158241271973, 4.4221367835998535, 4.422115802764893, 4.422094821929932, 4.422073841094971, 4.42205286026001, 4.422031402587891, 4.42201042175293, 4.421989440917969, 4.421968460083008, 4.421947479248047, 4.421926021575928, 4.421905040740967, 4.421884059906006, 4.421863079071045, 4.421841621398926, 4.421820640563965, 4.421799659729004, 4.421778678894043, 4.421757221221924, 4.421736240386963, 4.421715259552002, 4.421694278717041, 4.421672821044922, 4.421651840209961, 4.421630859375, 4.421609401702881, 4.42158842086792, 4.421567440032959, 4.42154598236084, 4.421525001525879, 4.421504020690918, 4.421482563018799, 4.421461582183838, 4.421440601348877, 4.421419143676758, 4.421398162841797, 4.421377182006836, 4.421355724334717, 4.421334743499756, 4.421313762664795, 4.421292304992676, 4.421271324157715, 4.421250343322754, 4.421228885650635, 4.421207904815674, 4.421186447143555, 4.421165466308594, 4.421144485473633, 4.421123027801514, 4.421102046966553, 4.421080589294434, 4.421059608459473, 4.421038627624512, 4.421017169952393, 4.420996189117432, 4.4209747314453125, 4.420953750610352, 4.420932292938232, 4.4209113121032715, 4.420889854431152, 4.420868873596191, 4.4208478927612305, 4.420826435089111, 4.42080545425415, 4.420783996582031, 4.42076301574707, 4.420741558074951, 4.42072057723999, 4.420699119567871, 4.42067813873291, 4.420656681060791, 4.42063570022583, 4.420614242553711, 4.42059326171875, 4.420571804046631, 4.42055082321167, 4.420529365539551, 4.420507907867432, 4.420486927032471, 4.420465469360352, 4.420444488525391, 4.4204230308532715, 4.4204020500183105, 4.420380592346191, 4.4203596115112305, 4.420338153839111, 4.420316696166992, 4.420295715332031, 4.420274257659912, 4.420253276824951, 4.420231819152832, 4.420210361480713, 4.420189380645752, 4.420167922973633, 4.420146942138672, 4.420125484466553, 4.420104026794434, 4.420083045959473, 4.4200615882873535, 4.420040607452393, 4.420019149780273, 4.419997692108154, 4.419976711273193, 4.419955253601074, 4.419933795928955, 4.419912815093994, 4.419891357421875, 4.419869899749756, 4.419848918914795, 4.419827461242676, 4.419806003570557, 4.419785022735596, 4.419763565063477, 4.419742107391357, 4.419720649719238, 4.419699668884277, 4.419678211212158, 4.419656753540039, 4.419635772705078, 4.419614315032959, 4.41959285736084, 4.419571399688721, 4.41955041885376, 4.419528961181641, 4.4195075035095215, 4.419486045837402, 4.419465065002441, 4.419443607330322, 4.419422149658203, 4.419400691986084, 4.419379234313965, 4.419358253479004, 4.419336795806885, 4.419315338134766, 4.4192938804626465, 4.4192728996276855, 4.419251441955566, 4.419229984283447, 4.419208526611328, 4.419187068939209, 4.41916561126709, 4.419144630432129, 4.41912317276001, 4.419101715087891, 4.4190802574157715, 4.419058799743652, 4.419037342071533, 4.419016361236572, 4.418994903564453, 4.418973445892334, 4.418951988220215, 4.418930530548096, 4.418909072875977, 4.418887615203857, 4.418866157531738, 4.418845176696777, 4.418823719024658, 4.418802261352539, 4.41878080368042, 4.418759346008301, 4.418737888336182, 4.4187164306640625, 4.418694972991943, 4.418673515319824, 4.418652057647705, 4.418630599975586, 4.418609142303467, 4.418587684631348, 4.4185662269592285, 4.418544769287109, 4.418523788452148, 4.418502330780029, 4.41848087310791, 4.418459415435791, 4.418437957763672, 4.418416500091553, 4.418395042419434, 4.4183735847473145, 4.418352127075195, 4.418330669403076, 4.418309211730957, 4.418287754058838, 4.418266296386719, 4.4182448387146, 4.4182233810424805, 4.418201446533203, 4.418179988861084, 4.418158531188965, 4.418137073516846, 4.418115615844727, 4.418094158172607, 4.418072700500488, 4.418051242828369, 4.41802978515625, 4.418008327484131, 4.417986869812012, 4.417965412139893, 4.417943954467773, 4.417922496795654, 4.417901039123535, 4.417879104614258, 4.417857646942139, 4.4178361892700195, 4.4178147315979, 4.417793273925781, 4.417771816253662, 4.417750358581543, 4.417728900909424, 4.4177069664001465, 4.417685508728027, 4.417664051055908, 4.417642593383789, 4.41762113571167, 4.417599678039551, 4.417577743530273, 4.417556285858154, 4.417534828186035, 4.417513370513916, 4.417491912841797, 4.417470455169678, 4.4174485206604, 4.417427062988281, 4.417405605316162, 4.417384147644043, 4.417362213134766, 4.4173407554626465, 4.417319297790527, 4.417297840118408, 4.417276382446289, 4.417254447937012, 4.417232990264893, 4.417211532592773, 4.417190074920654, 4.417168140411377, 4.417146682739258, 4.417125225067139, 4.417103290557861, 4.417081832885742, 4.417060375213623, 4.417038917541504, 4.417016983032227, 4.416995525360107, 4.416974067687988, 4.416952133178711, 4.416930675506592, 4.416909217834473, 4.416887283325195, 4.416865825653076, 4.416844367980957, 4.416822910308838, 4.4168009757995605, 4.416779518127441, 4.416757583618164, 4.416736125946045, 4.416714668273926, 4.416692733764648, 4.416671276092529, 4.41664981842041, 4.416627883911133, 4.416606426239014, 4.4165849685668945, 4.416563034057617, 4.416541576385498, 4.416519641876221, 4.416498184204102, 4.416476249694824, 4.416454792022705, 4.416433334350586, 4.416411399841309, 4.4163899421691895, 4.416368007659912, 4.416346549987793, 4.416324615478516, 4.4163031578063965, 4.416281700134277, 4.416259765625, 4.416238307952881, 4.4162163734436035, 4.416194915771484, 4.416172981262207, 4.416151523590088, 4.4161295890808105, 4.416108131408691, 4.416086196899414, 4.416064739227295, 4.416042804718018, 4.416021347045898, 4.415999412536621, 4.415977954864502, 4.415956020355225, 4.4159345626831055, 4.415912628173828, 4.415891170501709, 4.415869235992432, 4.4158477783203125, 4.415825843811035, 4.415803909301758, 4.415782451629639, 4.415760517120361, 4.415739059448242, 4.415717124938965, 4.415695667266846, 4.415673732757568, 4.415651798248291, 4.415630340576172, 4.4156084060668945, 4.415586948394775, 4.415565013885498, 4.415543079376221, 4.415521621704102, 4.415499687194824, 4.415477752685547, 4.415456295013428, 4.41543436050415, 4.415412902832031, 4.415390968322754, 4.415369033813477, 4.415347576141357, 4.41532564163208, 4.415303707122803, 4.415282249450684, 4.415260314941406, 4.415238380432129, 4.415216445922852, 4.415194988250732, 4.415173053741455, 4.415151119232178, 4.415129661560059, 4.415107727050781, 4.415085792541504, 4.415064334869385, 4.415042400360107, 4.41502046585083, 4.414998531341553, 4.414977073669434, 4.414955139160156, 4.414933204650879, 4.414911270141602, 4.414889812469482, 4.414867877960205, 4.414845943450928, 4.41482400894165, 4.414802551269531, 4.414780616760254, 4.414758682250977, 4.414736747741699, 4.414714813232422, 4.414693355560303, 4.414671421051025, 4.414649486541748, 4.414627552032471, 4.414605617523193, 4.414583683013916, 4.414562225341797, 4.4145402908325195, 4.414518356323242, 4.414496421813965, 4.4144744873046875, 4.41445255279541, 4.414431095123291, 4.414409160614014, 4.414387226104736, 4.414365291595459, 4.414343357086182, 4.414321422576904, 4.414299488067627, 4.41427755355835, 4.414255619049072, 4.414234161376953, 4.414212226867676, 4.414190292358398, 4.414168357849121, 4.414146423339844, 4.414124488830566, 4.414102554321289, 4.414080619812012, 4.414058685302734, 4.414036750793457, 4.41401481628418, 4.413992881774902, 4.413970947265625, 4.413949012756348, 4.41392707824707, 4.413905143737793, 4.413883209228516, 4.413861274719238, 4.413839340209961, 4.413817405700684, 4.413795471191406, 4.413773536682129, 4.413751602172852, 4.413729667663574, 4.413707733154297, 4.4136857986450195, 4.413663864135742, 4.413641929626465, 4.4136199951171875, 4.41359806060791, 4.413576126098633, 4.4135541915893555, 4.413532257080078, 4.413510322570801, 4.413488388061523, 4.413466453552246, 4.413444519042969, 4.413422584533691, 4.413400650024414, 4.4133782386779785, 4.413356304168701, 4.413334369659424, 4.4133124351501465, 4.413290500640869, 4.413268566131592, 4.4132466316223145, 4.413224697113037, 4.41320276260376, 4.413180351257324, 4.413158416748047, 4.4131364822387695, 4.413114547729492, 4.413092613220215, 4.4130706787109375, 4.413048267364502, 4.413026332855225, 4.413004398345947, 4.41298246383667, 4.412960529327393, 4.412938594818115, 4.41291618347168, 4.412894248962402, 4.412872314453125, 4.412850379943848, 4.41282844543457, 4.412806034088135, 4.412784099578857, 4.41276216506958, 4.412740230560303, 4.412717819213867, 4.41269588470459, 4.4126739501953125, 4.412652015686035, 4.4126296043396, 4.412607669830322, 4.412585735321045, 4.412563800811768, 4.412541389465332, 4.412519454956055, 4.412497520446777, 4.412475109100342, 4.4124531745910645, 4.412431240081787, 4.412408828735352, 4.412386894226074, 4.412364959716797, 4.412342548370361, 4.412320613861084, 4.412298679351807, 4.412276268005371, 4.412254333496094, 4.412232398986816, 4.412209987640381, 4.4121880531311035, 4.412166118621826, 4.412143707275391, 4.412121772766113, 4.412099838256836, 4.4120774269104, 4.412055492401123, 4.4120330810546875, 4.41201114654541, 4.411989212036133, 4.411966800689697, 4.41194486618042, 4.411922454833984, 4.411900520324707, 4.41187858581543, 4.411856174468994, 4.411834239959717, 4.411811828613281, 4.411789894104004, 4.411767482757568, 4.411745548248291, 4.4117231369018555, 4.411701202392578, 4.411678791046143, 4.411656856536865, 4.41163444519043, 4.411612510681152, 4.411590099334717, 4.4115681648254395, 4.411545753479004, 4.411523818969727, 4.411501407623291, 4.411479473114014, 4.411457061767578, 4.411435127258301, 4.411412715911865, 4.411390781402588, 4.411368370056152, 4.411346435546875, 4.4113240242004395, 4.411302089691162, 4.411279678344727, 4.411257266998291, 4.411235332489014, 4.411212921142578, 4.411190986633301, 4.411168575286865, 4.411146640777588, 4.411124229431152, 4.411101818084717, 4.4110798835754395, 4.411057472229004, 4.411035537719727, 4.411013126373291, 4.4109907150268555, 4.410968780517578, 4.410946369171143, 4.410923957824707, 4.41090202331543, 4.410879611968994, 4.410857200622559, 4.410835266113281, 4.410812854766846, 4.41079044342041, 4.410768508911133, 4.410746097564697, 4.410723686218262, 4.410701751708984, 4.410679340362549, 4.410656929016113, 4.410634994506836, 4.4106125831604, 4.410590171813965, 4.410567760467529, 4.410545825958252, 4.410523414611816, 4.410501003265381, 4.410478591918945, 4.410456657409668, 4.410434246063232, 4.410411834716797, 4.410389423370361, 4.410367488861084, 4.410345077514648, 4.410322666168213, 4.410300254821777, 4.4102783203125, 4.4102559089660645, 4.410233497619629, 4.410211086273193, 4.410188674926758, 4.4101667404174805, 4.410144329071045, 4.410121917724609, 4.410099506378174, 4.410077095031738, 4.410054683685303, 4.410032749176025, 4.41001033782959, 4.409987926483154, 4.409965515136719, 4.409943103790283, 4.409920692443848, 4.409898281097412, 4.409875869750977, 4.409853935241699, 4.409831523895264, 4.409809112548828, 4.409786701202393, 4.409764289855957, 4.4097418785095215, 4.409719467163086, 4.40969705581665, 4.409674644470215, 4.409652233123779, 4.409629821777344, 4.409607887268066, 4.409585475921631, 4.409563064575195, 4.40954065322876, 4.409518241882324, 4.409495830535889, 4.409473419189453, 4.409451007843018, 4.409428596496582, 4.4094061851501465, 4.409383773803711, 4.409361362457275, 4.40933895111084, 4.409316539764404, 4.409294128417969, 4.409271717071533, 4.409249305725098, 4.409226894378662, 4.409204483032227, 4.409182071685791, 4.4091596603393555, 4.40913724899292, 4.409114837646484, 4.409092426300049, 4.409069538116455, 4.4090471267700195, 4.409024715423584, 4.409002304077148, 4.408979892730713, 4.408957481384277, 4.408935070037842, 4.408912658691406, 4.408890247344971, 4.408867835998535, 4.4088454246521, 4.408822536468506, 4.40880012512207, 4.408777713775635, 4.408755302429199, 4.408732891082764, 4.408710479736328, 4.408688068389893, 4.408665180206299, 4.408642768859863, 4.408620357513428, 4.408597946166992, 4.408575534820557, 4.408553123474121, 4.408530235290527, 4.408507823944092, 4.408485412597656, 4.408463001251221, 4.408440589904785, 4.408417701721191, 4.408395290374756, 4.40837287902832, 4.408350467681885, 4.408328056335449, 4.4083051681518555, 4.40828275680542, 4.408260345458984, 4.408237934112549, 4.408215045928955, 4.4081926345825195, 4.408170223236084, 4.408147811889648, 4.408124923706055, 4.408102512359619, 4.408080101013184, 4.40805721282959, 4.408034801483154, 4.408012390136719, 4.407989501953125, 4.4079670906066895, 4.407944679260254, 4.407922267913818, 4.407899379730225, 4.407876968383789, 4.4078545570373535, 4.40783166885376, 4.407809257507324, 4.4077863693237305, 4.407763957977295, 4.407741546630859, 4.407718658447266, 4.40769624710083, 4.4076738357543945, 4.407650947570801, 4.407628536224365, 4.4076056480407715, 4.407583236694336, 4.4075608253479, 4.407537937164307, 4.407515525817871, 4.407492637634277, 4.407470226287842, 4.407447814941406, 4.4074249267578125, 4.407402515411377, 4.407379627227783, 4.407357215881348, 4.407334327697754, 4.407311916351318, 4.407289028167725, 4.407266616821289, 4.407243728637695, 4.40722131729126, 4.407198429107666, 4.4071760177612305, 4.407153129577637, 4.407130718231201, 4.407107830047607, 4.407085418701172, 4.407062530517578, 4.407040119171143, 4.407017230987549, 4.406994819641113, 4.4069719314575195, 4.406949520111084, 4.40692663192749, 4.406904220581055, 4.406881332397461, 4.406858921051025, 4.406836032867432, 4.406813144683838, 4.406790733337402, 4.406767845153809, 4.406745433807373, 4.406722545623779, 4.4066996574401855, 4.40667724609375, 4.406654357910156, 4.406631946563721, 4.406609058380127, 4.406586170196533, 4.406563758850098, 4.406540870666504, 4.40651798248291, 4.406495571136475, 4.406472682952881, 4.406449794769287, 4.406427383422852, 4.406404495239258, 4.406381607055664, 4.4063591957092285, 4.406336307525635, 4.406313419342041, 4.4062910079956055, 4.406268119812012, 4.406245231628418, 4.406222820281982, 4.406199932098389, 4.406177043914795, 4.406154155731201, 4.406131744384766, 4.406108856201172, 4.406085968017578, 4.406063079833984, 4.406040668487549, 4.406017780303955, 4.405994892120361, 4.405972003936768, 4.405949592590332, 4.405926704406738, 4.4059038162231445, 4.405880928039551, 4.405858516693115, 4.4058356285095215, 4.405812740325928, 4.405789852142334, 4.40576696395874, 4.4057440757751465, 4.405721664428711, 4.405698776245117, 4.405675888061523, 4.40565299987793, 4.405630111694336, 4.405607223510742, 4.405584812164307, 4.405561923980713, 4.405539035797119, 4.405516147613525, 4.405493259429932, 4.405470371246338, 4.405447483062744, 4.40542459487915, 4.405402183532715, 4.405379295349121, 4.405356407165527, 4.405333518981934, 4.40531063079834, 4.405287742614746, 4.405264854431152, 4.405241966247559, 4.405219078063965, 4.405196189880371, 4.405173301696777, 4.405150413513184, 4.40512752532959, 4.405104637145996, 4.405081748962402, 4.405058860778809, 4.405035972595215, 4.405013084411621, 4.404990196228027, 4.404967308044434, 4.40494441986084, 4.404921531677246, 4.404898643493652, 4.404875755310059, 4.404852867126465, 4.404829978942871, 4.404807090759277, 4.404784202575684, 4.40476131439209, 4.404738426208496, 4.404715538024902, 4.404692649841309, 4.404669761657715, 4.404646873474121, 4.404623985290527, 4.404601097106934, 4.40457820892334, 4.404554843902588, 4.404531955718994, 4.4045090675354, 4.404486179351807, 4.404463291168213, 4.404440402984619, 4.404417514801025, 4.404394626617432, 4.404371738433838, 4.404348373413086, 4.404325485229492, 4.404302597045898, 4.404279708862305, 4.404256820678711, 4.404233932495117, 4.404210567474365, 4.4041876792907715, 4.404164791107178, 4.404141902923584, 4.40411901473999, 4.404095649719238, 4.4040727615356445, 4.404049873352051, 4.404026985168457, 4.404004096984863, 4.403980731964111, 4.403957843780518, 4.403934955596924, 4.40391206741333, 4.403888702392578, 4.403865814208984, 4.403842926025391, 4.403820037841797, 4.403796672821045, 4.403773784637451, 4.403750896453857, 4.4037275314331055, 4.403704643249512, 4.403681755065918, 4.403658866882324, 4.403635501861572, 4.4036126136779785, 4.403589725494385, 4.403566360473633, 4.403543472290039, 4.403520584106445, 4.403497219085693, 4.4034743309021, 4.403451442718506, 4.403428077697754, 4.40340518951416, 4.403382301330566, 4.4033589363098145, 4.403336048126221, 4.403312683105469, 4.403289794921875, 4.403266906738281, 4.403243541717529, 4.4032206535339355, 4.403197288513184, 4.40317440032959, 4.403151512145996, 4.403128147125244, 4.40310525894165, 4.403081893920898, 4.403059005737305, 4.403035640716553, 4.403012752532959, 4.402989387512207, 4.402966499328613, 4.4029436111450195, 4.402920246124268, 4.402897357940674, 4.402873992919922, 4.402851104736328, 4.402827739715576, 4.402804851531982, 4.4027814865112305, 4.402758598327637, 4.402735233306885, 4.402712345123291, 4.402688980102539, 4.402665615081787, 4.402642726898193, 4.402619361877441, 4.402596473693848, 4.402573108673096, 4.402550220489502, 4.40252685546875, 4.402503967285156, 4.402480602264404, 4.402457237243652, 4.402434349060059, 4.402410984039307, 4.402388095855713, 4.402364730834961, 4.402341365814209, 4.402318477630615, 4.402295112609863, 4.4022722244262695, 4.402248859405518, 4.402225494384766, 4.402202606201172, 4.40217924118042, 4.402155876159668, 4.402132987976074, 4.402109622955322, 4.40208625793457, 4.402063369750977, 4.402040004730225, 4.402016639709473, 4.401993751525879, 4.401970386505127, 4.401947021484375, 4.401923656463623, 4.401900768280029, 4.401877403259277, 4.401854038238525, 4.401831150054932, 4.40180778503418, 4.401784420013428, 4.401761054992676, 4.401738166809082, 4.40171480178833, 4.401691436767578, 4.401668071746826, 4.401645183563232, 4.4016218185424805, 4.4015984535217285, 4.401575088500977, 4.401551723480225, 4.401528835296631, 4.401505470275879, 4.401482105255127, 4.401458740234375, 4.401435375213623, 4.401412487030029, 4.401389122009277, 4.401365756988525, 4.401342391967773, 4.4013190269470215, 4.4012956619262695, 4.401272296905518, 4.401249408721924, 4.401226043701172, 4.40120267868042, 4.401179313659668, 4.401155948638916, 4.401132583618164, 4.401109218597412, 4.40108585357666, 4.401062488555908, 4.4010396003723145, 4.4010162353515625, 4.4009928703308105, 4.400969505310059, 4.400946140289307, 4.400922775268555, 4.400899410247803, 4.400876045227051, 4.400852680206299, 4.400829315185547, 4.400805950164795, 4.400782585144043, 4.400759220123291, 4.400735855102539, 4.400712490081787, 4.400689125061035, 4.400665760040283, 4.400642395019531, 4.400619029998779, 4.400595664978027, 4.400572299957275, 4.400548934936523, 4.4005255699157715, 4.4005022048950195, 4.400478839874268, 4.400455474853516, 4.400432109832764, 4.400408744812012, 4.40038537979126, 4.400362014770508, 4.400338172912598, 4.400314807891846, 4.400291442871094, 4.400268077850342, 4.40024471282959, 4.400221347808838, 4.400197982788086, 4.400174617767334, 4.400151252746582, 4.400127410888672, 4.40010404586792, 4.400080680847168, 4.400057315826416, 4.400033950805664, 4.400010585784912, 4.39998722076416, 4.39996337890625, 4.399940013885498, 4.399916648864746, 4.399893283843994, 4.399869918823242, 4.399846076965332, 4.39982271194458, 4.399799346923828, 4.399775981903076, 4.399752616882324, 4.399728775024414, 4.399705410003662, 4.39968204498291, 4.399658679962158, 4.399634838104248, 4.399611473083496, 4.399588108062744, 4.399564743041992, 4.399540901184082, 4.39951753616333, 4.399494171142578, 4.399470806121826, 4.399446964263916, 4.399423599243164, 4.399400234222412, 4.399376392364502, 4.39935302734375, 4.399329662322998, 4.399305820465088, 4.399282455444336, 4.399259090423584, 4.399235248565674, 4.399211883544922, 4.39918851852417, 4.39916467666626, 4.399141311645508, 4.399117946624756, 4.399094104766846, 4.399070739746094, 4.399046897888184, 4.399023532867432, 4.39900016784668, 4.3989763259887695, 4.398952960968018, 4.398929119110107, 4.3989057540893555, 4.3988823890686035, 4.398858547210693, 4.398835182189941, 4.398811340332031, 4.398787975311279, 4.398764133453369, 4.398740768432617, 4.398716926574707, 4.398693561553955, 4.398669719696045, 4.398646354675293, 4.398622989654541, 4.398599147796631, 4.398575782775879, 4.398551940917969, 4.398528575897217, 4.398504734039307, 4.3984808921813965, 4.3984575271606445, 4.398433685302734, 4.398410320281982, 4.398386478424072, 4.39836311340332, 4.39833927154541, 4.398315906524658, 4.398292064666748, 4.398268699645996, 4.398244857788086, 4.398221015930176, 4.398197650909424, 4.398173809051514, 4.398150444030762, 4.398126602172852, 4.398102760314941, 4.3980793952941895, 4.398055553436279, 4.398031711578369, 4.398008346557617, 4.397984504699707, 4.397961139678955, 4.397937297821045, 4.397913455963135, 4.397890090942383, 4.397866249084473, 4.3978424072265625, 4.3978190422058105, 4.3977952003479, 4.39777135848999, 4.397747993469238, 4.397724151611328, 4.397700309753418, 4.397676467895508, 4.397653102874756, 4.397629261016846, 4.3976054191589355, 4.397581577301025, 4.397558212280273, 4.397534370422363, 4.397510528564453, 4.397486686706543, 4.397463321685791, 4.397439479827881, 4.397415637969971, 4.3973917961120605, 4.397368431091309, 4.397344589233398, 4.397320747375488, 4.397296905517578, 4.397273063659668, 4.397249698638916, 4.397225856781006, 4.397202014923096, 4.3971781730651855, 4.397154331207275, 4.397130489349365, 4.397107124328613, 4.397083282470703, 4.397059440612793, 4.397035598754883, 4.397011756896973, 4.3969879150390625, 4.396964073181152, 4.396940231323242, 4.39691686630249, 4.39689302444458, 4.39686918258667, 4.39684534072876, 4.39682149887085, 4.3967976570129395, 4.396773815155029, 4.396749973297119, 4.396726131439209, 4.396702289581299, 4.396678447723389, 4.3966546058654785, 4.396630764007568, 4.396606922149658, 4.396583080291748, 4.396559238433838, 4.396535396575928, 4.396511554718018, 4.396487712860107, 4.396463871002197, 4.396440029144287, 4.396416187286377, 4.396392345428467, 4.396368503570557, 4.3963446617126465, 4.396320819854736, 4.396296977996826, 4.396273136138916, 4.396249294281006, 4.396225452423096, 4.3962016105651855, 4.396177768707275, 4.396153926849365, 4.396130084991455, 4.396106243133545, 4.396082401275635, 4.396058559417725, 4.396034240722656, 4.396010398864746, 4.395986557006836, 4.395962715148926, 4.395938873291016, 4.3959150314331055, 4.395891189575195, 4.395867347717285, 4.395843029022217, 4.395819187164307, 4.3957953453063965, 4.395771503448486, 4.395747661590576, 4.395723819732666, 4.395699501037598, 4.3956756591796875, 4.395651817321777, 4.395627975463867, 4.395604133605957, 4.395579814910889, 4.3955559730529785, 4.395532131195068, 4.395508289337158, 4.39548397064209, 4.39546012878418, 4.3954362869262695, 4.395412445068359, 4.395388126373291, 4.395364284515381, 4.395340442657471, 4.3953166007995605, 4.395292282104492, 4.395268440246582, 4.395244598388672, 4.3952202796936035, 4.395196437835693, 4.395172595977783, 4.395148277282715, 4.395124435424805, 4.3951005935668945, 4.395076274871826, 4.395052433013916, 4.395028591156006, 4.3950042724609375, 4.394980430603027, 4.394956588745117, 4.394932270050049, 4.394908428192139, 4.39488410949707, 4.39486026763916, 4.39483642578125, 4.394812107086182, 4.3947882652282715, 4.394763946533203, 4.394740104675293, 4.394716262817383, 4.3946919441223145, 4.394668102264404, 4.394643783569336, 4.394619941711426, 4.394595623016357, 4.394571781158447, 4.394547462463379, 4.394523620605469, 4.394499778747559, 4.39447546005249, 4.39445161819458, 4.394427299499512, 4.394403457641602, 4.394379138946533, 4.394355297088623, 4.394330978393555, 4.3943071365356445, 4.394282817840576, 4.394258499145508, 4.394234657287598, 4.394210338592529, 4.394186496734619, 4.394162178039551, 4.394138336181641, 4.394114017486572, 4.394090175628662, 4.394065856933594, 4.394041538238525, 4.394017696380615, 4.393993377685547, 4.393969535827637, 4.393945217132568, 4.3939208984375, 4.39389705657959, 4.3938727378845215, 4.393848419189453, 4.393824577331543, 4.393800258636475, 4.393775939941406, 4.393752098083496, 4.393727779388428, 4.393703460693359, 4.393679618835449, 4.393655300140381, 4.3936309814453125, 4.393607139587402, 4.393582820892334, 4.393558502197266, 4.3935346603393555, 4.393510341644287, 4.393486022949219, 4.39346170425415, 4.39343786239624, 4.393413543701172, 4.3933892250061035, 4.393364906311035, 4.393341064453125, 4.393316745758057, 4.393292427062988, 4.39326810836792, 4.39324426651001, 4.393219947814941, 4.393195629119873, 4.393171310424805, 4.393146991729736, 4.393123149871826, 4.393098831176758, 4.3930745124816895, 4.393050193786621, 4.393025875091553, 4.393001556396484, 4.392977714538574, 4.392953395843506, 4.3929290771484375, 4.392904758453369, 4.392880439758301, 4.392856121063232, 4.392831802368164, 4.392807483673096, 4.3927836418151855, 4.392759323120117, 4.392735004425049, 4.3927106857299805, 4.392686367034912, 4.392662048339844, 4.392637729644775, 4.392613410949707, 4.392589092254639, 4.39256477355957, 4.392540454864502, 4.392516136169434, 4.392491817474365, 4.392467498779297, 4.3924431800842285, 4.39241886138916, 4.392394542694092, 4.392370223999023, 4.392345905303955, 4.392321586608887, 4.392297267913818, 4.39227294921875, 4.392248630523682, 4.392224311828613, 4.392199993133545, 4.392175674438477, 4.392151355743408, 4.39212703704834, 4.3921027183532715, 4.392078399658203, 4.392054080963135, 4.392029762268066, 4.392005443572998, 4.39198112487793, 4.391956806182861, 4.391932487487793, 4.391907691955566, 4.391883373260498, 4.39185905456543, 4.391834735870361, 4.391810417175293, 4.391786098480225, 4.391761779785156, 4.39173698425293, 4.391712665557861, 4.391688346862793, 4.391664028167725, 4.391639709472656, 4.391615390777588, 4.391590595245361, 4.391566276550293, 4.391541957855225, 4.391517639160156, 4.391493320465088, 4.391468524932861, 4.391444206237793, 4.391419887542725, 4.391395568847656, 4.39137077331543, 4.391346454620361, 4.391322135925293, 4.391297817230225, 4.391273021697998, 4.39124870300293, 4.391224384307861, 4.391200065612793, 4.391175270080566, 4.391150951385498, 4.39112663269043, 4.391101837158203, 4.391077518463135, 4.391053199768066, 4.39102840423584, 4.3910040855407715, 4.390979766845703, 4.390954971313477, 4.390930652618408, 4.39090633392334, 4.390881538391113, 4.390857219696045, 4.390832901000977, 4.39080810546875, 4.390783786773682, 4.390758991241455, 4.390734672546387, 4.390710353851318, 4.390685558319092, 4.390661239624023, 4.390636444091797, 4.3906121253967285, 4.39058780670166, 4.390563011169434, 4.390538692474365, 4.390513896942139, 4.39048957824707, 4.390464782714844, 4.390440464019775, 4.390415668487549, 4.3903913497924805, 4.390366554260254, 4.3903422355651855, 4.390317440032959, 4.390293121337891, 4.390268325805664, 4.390244007110596, 4.390219211578369, 4.390194892883301, 4.390170097351074, 4.390145778656006, 4.390120983123779, 4.390096664428711, 4.390071868896484, 4.390047073364258, 4.3900227546691895, 4.389997959136963, 4.3899736404418945, 4.389948844909668, 4.3899245262146, 4.389899730682373, 4.3898749351501465, 4.389850616455078, 4.389825820922852, 4.389801025390625, 4.389776706695557, 4.38975191116333, 4.3897271156311035, 4.389702796936035, 4.389678001403809, 4.38965368270874, 4.389628887176514, 4.389604091644287, 4.3895792961120605, 4.389554977416992, 4.389530181884766, 4.389505386352539, 4.389481067657471, 4.389456272125244, 4.389431476593018, 4.389407157897949, 4.389382362365723, 4.389357566833496, 4.3893327713012695, 4.389308452606201, 4.389283657073975, 4.389258861541748, 4.3892340660095215, 4.389209270477295, 4.389184951782227, 4.38916015625, 4.389135360717773, 4.389110565185547, 4.3890862464904785, 4.389061450958252, 4.389036655426025, 4.389011859893799, 4.388987064361572, 4.388962268829346, 4.388937950134277, 4.388913154602051, 4.388888359069824, 4.388863563537598, 4.388838768005371, 4.3888139724731445, 4.388789176940918, 4.388764381408691, 4.388740062713623, 4.3887152671813965, 4.38869047164917, 4.388665676116943, 4.388640880584717, 4.38861608505249, 4.388591289520264, 4.388566493988037, 4.3885416984558105, 4.388516902923584, 4.388492107391357, 4.388467311859131, 4.388442516326904, 4.388417720794678, 4.388392925262451, 4.388368129730225, 4.388343334197998, 4.3883185386657715, 4.388293743133545, 4.388268947601318, 4.388244152069092, 4.388219356536865, 4.388194561004639, 4.388169765472412, 4.3881449699401855, 4.388120174407959, 4.388095378875732, 4.388070583343506, 4.388045787811279, 4.388020992279053, 4.387996196746826, 4.3879714012146, 4.387946605682373, 4.3879218101501465, 4.38789701461792, 4.387871742248535, 4.387846946716309, 4.387822151184082, 4.3877973556518555, 4.387772560119629, 4.387747764587402, 4.387722969055176, 4.387697696685791, 4.3876729011535645, 4.387648105621338, 4.387623310089111, 4.387598514556885, 4.387573719024658, 4.387548446655273, 4.387523651123047, 4.38749885559082, 4.387474060058594, 4.387449264526367, 4.387423992156982, 4.387399196624756, 4.387374401092529, 4.387349605560303, 4.387324333190918, 4.387299537658691, 4.387274742126465, 4.387249946594238, 4.3872246742248535, 4.387199878692627, 4.3871750831604, 4.387150287628174, 4.387125015258789, 4.3871002197265625, 4.387075424194336, 4.387050151824951, 4.387025356292725, 4.387000560760498, 4.386975288391113, 4.386950492858887, 4.38692569732666, 4.386900424957275, 4.386875629425049, 4.386850833892822, 4.3868255615234375, 4.386800765991211, 4.386775493621826, 4.3867506980896, 4.386725902557373, 4.386700630187988, 4.386675834655762, 4.386650562286377, 4.38662576675415, 4.386600971221924, 4.386575698852539, 4.3865509033203125, 4.386525630950928, 4.386500835418701, 4.386475563049316, 4.38645076751709, 4.386425495147705, 4.3864006996154785, 4.386375427246094, 4.386350631713867, 4.386325359344482, 4.386300563812256, 4.386275291442871, 4.3862504959106445, 4.38622522354126, 4.386200428009033, 4.386175155639648, 4.386150360107422, 4.386125087738037, 4.3861002922058105, 4.386075019836426, 4.386050224304199, 4.3860249519348145, 4.38599967956543, 4.385974884033203, 4.385949611663818, 4.385924816131592, 4.385899543762207, 4.385874271392822, 4.385849475860596, 4.385824203491211, 4.385799407958984, 4.3857741355896, 4.385748863220215, 4.385724067687988, 4.3856987953186035, 4.385673522949219, 4.385648727416992, 4.385623455047607, 4.385598182678223, 4.385573387145996, 4.385548114776611, 4.385522842407227, 4.385497570037842, 4.385472774505615, 4.3854475021362305, 4.385422229766846, 4.385397434234619, 4.385372161865234, 4.38534688949585, 4.385321617126465, 4.385296821594238, 4.3852715492248535, 4.385246276855469, 4.385221004486084, 4.385196208953857, 4.385170936584473, 4.385145664215088, 4.385120391845703, 4.385095119476318, 4.385070323944092, 4.385045051574707, 4.385019779205322, 4.3849945068359375, 4.384969234466553, 4.384943962097168, 4.384918689727783, 4.384893894195557, 4.384868621826172, 4.384843349456787, 4.384818077087402, 4.384792804718018, 4.384767532348633, 4.384742259979248, 4.384716987609863, 4.384692192077637, 4.384666919708252, 4.384641647338867, 4.384616374969482, 4.384591102600098, 4.384565830230713, 4.384540557861328, 4.384515285491943, 4.384490013122559, 4.384464740753174, 4.384439468383789, 4.384414196014404, 4.3843889236450195, 4.384363651275635, 4.38433837890625, 4.384313106536865, 4.3842878341674805, 4.384262561798096, 4.384237289428711, 4.384212017059326, 4.384186744689941, 4.384161472320557, 4.384136199951172, 4.384110927581787, 4.384085655212402, 4.384060382843018, 4.384035110473633, 4.384009838104248, 4.383984088897705, 4.38395881652832, 4.3839335441589355, 4.383908271789551, 4.383882999420166, 4.383857727050781, 4.3838324546813965, 4.383807182312012, 4.383781433105469, 4.383756160736084, 4.383730888366699, 4.3837056159973145, 4.38368034362793, 4.383655071258545, 4.38362979888916, 4.383604049682617, 4.383578777313232, 4.383553504943848, 4.383528232574463, 4.383502960205078, 4.383477210998535, 4.38345193862915, 4.383426666259766, 4.383401393890381, 4.383375644683838, 4.383350372314453, 4.383325099945068, 4.383299827575684, 4.383274078369141, 4.383248805999756, 4.383223533630371, 4.383197784423828, 4.383172512054443, 4.383147239685059, 4.383121967315674, 4.383096218109131, 4.383070945739746, 4.383045673370361, 4.383019924163818, 4.382994651794434, 4.382969379425049, 4.382943630218506, 4.382918357849121, 4.382892608642578, 4.382867336273193, 4.382842063903809, 4.382816314697266, 4.382791042327881, 4.382765769958496, 4.382740020751953, 4.382714748382568, 4.382688999176025, 4.382663726806641, 4.382637977600098, 4.382612705230713, 4.382587432861328, 4.382561683654785, 4.3825364112854, 4.382510662078857, 4.382485389709473, 4.38245964050293, 4.382434368133545, 4.382408618927002, 4.382383346557617, 4.382357597351074, 4.3823323249816895, 4.3823065757751465, 4.382281303405762, 4.382255554199219, 4.382230281829834, 4.382204532623291, 4.382179260253906, 4.382153511047363, 4.38212776184082, 4.3821024894714355, 4.382076740264893, 4.382051467895508, 4.382025718688965, 4.381999969482422, 4.381974697113037, 4.381948947906494, 4.381923675537109, 4.381897926330566, 4.381872177124023, 4.381846904754639, 4.381821155548096, 4.381795406341553, 4.381770133972168, 4.381744384765625, 4.381718635559082, 4.381693363189697, 4.381667613983154, 4.381641864776611, 4.381616592407227, 4.381590843200684, 4.381565093994141, 4.381539821624756, 4.381514072418213, 4.38148832321167, 4.381462574005127, 4.381437301635742, 4.381411552429199, 4.381385803222656, 4.381360054016113, 4.3813347816467285, 4.3813090324401855, 4.381283283233643, 4.3812575340271, 4.381231784820557, 4.381206512451172, 4.381180763244629, 4.381155014038086, 4.381129264831543, 4.381103515625, 4.381078243255615, 4.381052494049072, 4.381026744842529, 4.381000995635986, 4.380975246429443, 4.3809494972229, 4.380923748016357, 4.380898475646973, 4.38087272644043, 4.380846977233887, 4.380821228027344, 4.380795478820801, 4.380769729614258, 4.380743980407715, 4.380718231201172, 4.380692481994629, 4.380666732788086, 4.380640983581543, 4.380615234375, 4.380589485168457, 4.380564212799072, 4.380538463592529, 4.380512714385986, 4.380486965179443, 4.3804612159729, 4.380435466766357, 4.3804097175598145, 4.3803839683532715, 4.3803582191467285, 4.3803324699401855, 4.380306243896484, 4.380280494689941, 4.380254745483398, 4.3802289962768555, 4.3802032470703125, 4.3801774978637695, 4.380151748657227, 4.380125999450684, 4.380100250244141, 4.380074501037598, 4.380048751831055, 4.380023002624512, 4.379997253417969, 4.379971027374268, 4.379945278167725, 4.379919528961182, 4.379893779754639, 4.379868030548096, 4.379842281341553, 4.37981653213501, 4.379790306091309, 4.379764556884766, 4.379738807678223, 4.37971305847168, 4.379687309265137, 4.3796610832214355, 4.379635334014893, 4.37960958480835, 4.379583835601807, 4.379558086395264, 4.3795318603515625, 4.3795061111450195, 4.379480361938477, 4.379454612731934, 4.379428386688232, 4.3794026374816895, 4.3793768882751465, 4.3793511390686035, 4.379324913024902, 4.379299163818359, 4.379273414611816, 4.379247188568115, 4.379221439361572, 4.379195690155029, 4.379169464111328, 4.379143714904785, 4.379117965698242, 4.379091739654541, 4.379065990447998, 4.379040241241455, 4.379014015197754, 4.378988265991211, 4.378962516784668, 4.378936290740967, 4.378910541534424, 4.378884315490723, 4.37885856628418, 4.3788323402404785, 4.3788065910339355, 4.378780841827393, 4.378754615783691, 4.378728866577148, 4.378702640533447, 4.378676891326904, 4.378650665283203, 4.37862491607666, 4.378598690032959, 4.378572940826416, 4.378546714782715, 4.378520965576172, 4.378494739532471, 4.378468990325928, 4.378442764282227, 4.378417015075684, 4.378390789031982, 4.3783650398254395, 4.378338813781738, 4.378313064575195, 4.378286838531494, 4.378261089324951, 4.37823486328125, 4.378208637237549, 4.378182888031006, 4.378156661987305, 4.378130912780762, 4.3781046867370605, 4.378078460693359, 4.378052711486816, 4.378026485443115, 4.378000736236572, 4.377974510192871, 4.37794828414917, 4.377922534942627, 4.377896308898926, 4.377870082855225, 4.377844333648682, 4.3778181076049805, 4.377791881561279, 4.377766132354736, 4.377739906311035, 4.377713680267334, 4.377687454223633, 4.37766170501709, 4.377635478973389, 4.3776092529296875, 4.3775835037231445, 4.377557277679443, 4.377531051635742, 4.377504825592041, 4.37747859954834, 4.377452850341797, 4.377426624298096, 4.3774003982543945, 4.377374172210693, 4.37734842300415, 4.377322196960449, 4.377295970916748, 4.377269744873047, 4.377243518829346, 4.3772172927856445, 4.377191543579102, 4.3771653175354, 4.377139091491699, 4.377112865447998, 4.377086639404297, 4.377060413360596, 4.3770341873168945, 4.377007961273193, 4.37698221206665, 4.376955986022949, 4.376929759979248, 4.376903533935547, 4.376877307891846, 4.3768510818481445, 4.376824855804443, 4.376798629760742, 4.376772403717041, 4.37674617767334, 4.376719951629639, 4.3766937255859375, 4.376667499542236, 4.376641273498535, 4.376615047454834, 4.376588821411133, 4.376562595367432, 4.3765363693237305, 4.376510143280029, 4.376483917236328, 4.376457691192627, 4.376431465148926, 4.376405239105225, 4.376379013061523, 4.376352787017822, 4.376326560974121, 4.37630033493042, 4.376274108886719, 4.376247882843018, 4.376221179962158, 4.376194953918457, 4.376168727874756, 4.376142501831055, 4.3761162757873535, 4.376090049743652, 4.376063823699951, 4.37603759765625, 4.376010894775391, 4.3759846687316895, 4.375958442687988, 4.375932216644287, 4.375905990600586, 4.375879764556885, 4.375853061676025, 4.375826835632324, 4.375800609588623, 4.375774383544922, 4.3757476806640625, 4.375721454620361, 4.37569522857666, 4.375669002532959, 4.3756422996521, 4.375616073608398, 4.375589847564697, 4.375563621520996, 4.375536918640137, 4.3755106925964355, 4.375484466552734, 4.375457763671875, 4.375431537628174, 4.375405311584473, 4.3753790855407715, 4.375352382659912, 4.375326156616211, 4.37529993057251, 4.37527322769165, 4.375247001647949, 4.37522029876709, 4.375194072723389, 4.3751678466796875, 4.375141143798828, 4.375114917755127, 4.375088691711426, 4.375061988830566, 4.375035762786865, 4.375009059906006, 4.374982833862305, 4.374956130981445, 4.374929904937744, 4.374903678894043, 4.374876976013184, 4.374850749969482, 4.374824047088623, 4.374797821044922, 4.3747711181640625, 4.374744892120361, 4.374718189239502, 4.374691963195801, 4.374665260314941, 4.37463903427124, 4.374612331390381, 4.37458610534668, 4.37455940246582, 4.374533176422119, 4.37450647354126, 4.3744797706604, 4.374453544616699, 4.37442684173584, 4.374400615692139, 4.374373912811279, 4.37434720993042, 4.374320983886719, 4.374294281005859, 4.374268054962158, 4.374241352081299, 4.3742146492004395, 4.374188423156738, 4.374161720275879, 4.3741350173950195, 4.374108791351318, 4.374082088470459, 4.3740553855896, 4.374029159545898, 4.374002456665039, 4.37397575378418, 4.3739495277404785, 4.373922824859619, 4.37389612197876, 4.373869895935059, 4.373843193054199, 4.37381649017334, 4.3737897872924805, 4.373763561248779, 4.37373685836792, 4.3737101554870605, 4.373683452606201, 4.373656749725342, 4.373630523681641, 4.373603820800781, 4.373577117919922, 4.3735504150390625, 4.373523712158203, 4.373497486114502, 4.373470783233643, 4.373444080352783, 4.373417377471924, 4.3733906745910645, 4.373363971710205, 4.373337745666504, 4.3733110427856445, 4.373284339904785, 4.373257637023926, 4.373230934143066, 4.373204231262207, 4.373177528381348, 4.373150825500488, 4.373124122619629, 4.3730974197387695, 4.373071193695068, 4.373044490814209, 4.37301778793335, 4.37299108505249, 4.372964382171631, 4.3729376792907715, 4.372910976409912, 4.372884273529053, 4.372857570648193, 4.372830867767334, 4.372804164886475, 4.372777462005615, 4.372750759124756, 4.3727240562438965, 4.372697353363037, 4.372670650482178, 4.372643947601318, 4.372616767883301, 4.372590065002441, 4.372563362121582, 4.372536659240723, 4.372509956359863, 4.372483253479004, 4.3724565505981445, 4.372429847717285, 4.372403144836426, 4.372376441955566, 4.372349262237549, 4.3723225593566895, 4.37229585647583, 4.372269153594971, 4.372242450714111, 4.372215747833252, 4.372189044952393, 4.372161865234375, 4.372135162353516, 4.372108459472656, 4.372081756591797, 4.3720550537109375, 4.37202787399292, 4.3720011711120605, 4.371974468231201, 4.371947765350342, 4.371920585632324, 4.371893882751465, 4.3718671798706055, 4.371840476989746, 4.3718132972717285, 4.371786594390869, 4.37175989151001, 4.37173318862915, 4.371706008911133, 4.371679306030273, 4.371652603149414, 4.3716254234313965, 4.371598720550537, 4.371572017669678, 4.37154483795166, 4.371518135070801, 4.371491432189941, 4.371464252471924, 4.3714375495910645, 4.371410369873047, 4.3713836669921875, 4.371356964111328, 4.3713297843933105, 4.371303081512451, 4.371275901794434, 4.371249198913574, 4.371222019195557, 4.371195316314697, 4.371168613433838, 4.37114143371582, 4.371114730834961, 4.371087551116943, 4.371060848236084, 4.371033668518066, 4.371006965637207, 4.3709797859191895, 4.37095308303833, 4.3709259033203125, 4.370899200439453, 4.3708720207214355, 4.370845317840576, 4.370818138122559, 4.370791435241699, 4.370764255523682, 4.370737075805664, 4.370710372924805, 4.370683193206787, 4.370656490325928, 4.37062931060791, 4.370602607727051, 4.370575428009033, 4.370548248291016, 4.370521545410156, 4.370494365692139, 4.370467185974121, 4.370440483093262, 4.370413303375244, 4.370386123657227, 4.370359420776367, 4.37033224105835, 4.370305061340332, 4.370278358459473, 4.370251178741455, 4.3702239990234375, 4.370197296142578, 4.3701701164245605, 4.370142936706543, 4.370115756988525, 4.370089054107666, 4.370061874389648, 4.370034694671631, 4.370007514953613, 4.369980812072754, 4.369953632354736, 4.369926452636719, 4.369899272918701, 4.369872093200684, 4.369845390319824, 4.369818210601807, 4.369791030883789, 4.3697638511657715, 4.369736671447754, 4.3697099685668945, 4.369682788848877, 4.369655609130859, 4.369628429412842, 4.369601249694824, 4.369574069976807, 4.369546890258789, 4.3695197105407715, 4.369493007659912, 4.3694658279418945, 4.369438648223877, 4.369411468505859, 4.369384288787842, 4.369357109069824, 4.369329929351807, 4.369302749633789, 4.3692755699157715, 4.369248390197754, 4.369221210479736, 4.369194030761719, 4.369166851043701, 4.369139671325684, 4.369112491607666, 4.369085311889648, 4.369058132171631, 4.369030952453613, 4.369003772735596, 4.368976593017578, 4.3689494132995605, 4.368922233581543, 4.368895053863525, 4.368867874145508, 4.36884069442749, 4.368813514709473, 4.368785858154297, 4.368758678436279, 4.368731498718262, 4.368704319000244, 4.368677139282227, 4.368649959564209, 4.368622779846191, 4.368595600128174, 4.368567943572998, 4.3685407638549805, 4.368513584136963, 4.368486404418945, 4.368459224700928, 4.36843204498291, 4.368404388427734, 4.368377208709717, 4.368350028991699, 4.368322849273682, 4.368295192718506, 4.368268013000488, 4.368240833282471, 4.368213653564453, 4.3681864738464355, 4.36815881729126, 4.368131637573242, 4.368104457855225, 4.368076801300049, 4.368049621582031, 4.368022441864014, 4.367994785308838, 4.36796760559082, 4.367940425872803, 4.367913246154785, 4.367885589599609, 4.367858409881592, 4.367830753326416, 4.367803573608398, 4.367776393890381, 4.367748737335205, 4.3677215576171875, 4.36769437789917, 4.367666721343994, 4.367639541625977, 4.367611885070801, 4.367584705352783, 4.367557048797607, 4.36752986907959, 4.367502689361572, 4.3674750328063965, 4.367447853088379, 4.367420196533203, 4.3673930168151855, 4.36736536026001, 4.367338180541992, 4.367310523986816, 4.367283344268799, 4.367255687713623, 4.3672285079956055, 4.36720085144043, 4.367173671722412, 4.367146015167236, 4.367118835449219, 4.367091178894043, 4.367063522338867, 4.36703634262085, 4.367008686065674, 4.366981506347656, 4.3669538497924805, 4.366926193237305, 4.366899013519287, 4.366871356964111, 4.366844177246094, 4.366816520690918, 4.366788864135742, 4.366761684417725, 4.366734027862549, 4.366706371307373, 4.3666791915893555, 4.36665153503418, 4.366623878479004, 4.366596698760986, 4.3665690422058105, 4.366541385650635, 4.366514205932617, 4.366486549377441, 4.366458892822266, 4.36643123626709, 4.366404056549072, 4.3663763999938965, 4.366348743438721, 4.366321086883545, 4.366293907165527, 4.366266250610352, 4.366238594055176, 4.3662109375, 4.366183280944824, 4.366155624389648, 4.366128444671631, 4.366100788116455, 4.366073131561279, 4.3660454750061035, 4.366017818450928, 4.365990161895752, 4.365962982177734, 4.365935325622559, 4.365907669067383, 4.365880012512207, 4.365852355957031, 4.3658246994018555, 4.36579704284668, 4.365769386291504, 4.365741729736328, 4.365714073181152, 4.365686416625977, 4.365658760070801, 4.365631580352783, 4.365603923797607, 4.365576267242432, 4.365548610687256, 4.36552095413208, 4.365493297576904, 4.3654656410217285, 4.365437984466553, 4.365410327911377, 4.365382671356201, 4.365354537963867, 4.365326881408691, 4.365299224853516, 4.36527156829834, 4.365243911743164, 4.365216255187988, 4.3651885986328125, 4.365160942077637, 4.365133285522461, 4.365105628967285, 4.365077972412109, 4.365050315856934, 4.3650221824646, 4.364994525909424, 4.364966869354248, 4.364939212799072, 4.3649115562438965, 4.364883899688721, 4.364855766296387, 4.364828109741211, 4.364800453186035, 4.364772796630859, 4.364745140075684, 4.36471700668335, 4.364689350128174, 4.364661693572998, 4.364634037017822, 4.3646063804626465, 4.3645782470703125, 4.364550590515137, 4.364522933959961, 4.364494800567627, 4.364467144012451, 4.364439487457275, 4.3644118309021, 4.364383697509766, 4.36435604095459, 4.364328384399414, 4.36430025100708, 4.364272594451904, 4.3642449378967285, 4.3642168045043945, 4.364189147949219, 4.364161491394043, 4.364133358001709, 4.364105701446533, 4.364077568054199, 4.364049911499023, 4.364022254943848, 4.363994121551514, 4.363966464996338, 4.363938331604004, 4.363910675048828, 4.363882541656494, 4.363854885101318, 4.363827228546143, 4.363799095153809, 4.363771438598633, 4.363743305206299, 4.363715648651123, 4.363687515258789, 4.363659858703613, 4.363631725311279, 4.3636040687561035, 4.3635759353637695, 4.3635478019714355, 4.36352014541626, 4.363492012023926, 4.36346435546875, 4.363436222076416, 4.36340856552124, 4.363380432128906, 4.363352298736572, 4.3633246421813965, 4.3632965087890625, 4.363268852233887, 4.363240718841553, 4.363212585449219, 4.363184928894043, 4.363156795501709, 4.363128662109375, 4.363101005554199, 4.363072872161865, 4.363044738769531, 4.3630170822143555, 4.3629889488220215, 4.3629608154296875, 4.362933158874512, 4.362905025482178, 4.362876892089844, 4.36284875869751, 4.362821102142334, 4.36279296875, 4.362764835357666, 4.362736701965332, 4.362709045410156, 4.362680912017822, 4.362652778625488, 4.362624645233154, 4.36259651184082, 4.3625688552856445, 4.3625407218933105, 4.362512588500977, 4.362484455108643, 4.362456321716309, 4.362428188323975, 4.362400531768799, 4.362372398376465, 4.362344264984131, 4.362316131591797, 4.362287998199463, 4.362259864807129, 4.362231731414795, 4.362203598022461, 4.362175464630127, 4.362147331237793, 4.362119197845459, 4.362091541290283, 4.362063407897949, 4.362035274505615, 4.362007141113281, 4.361979007720947, 4.361950874328613, 4.361922740936279, 4.361894607543945, 4.361866474151611, 4.361838340759277, 4.361810207366943, 4.361782073974609, 4.361753940582275, 4.361725330352783, 4.361697196960449, 4.361669063568115, 4.361640930175781, 4.361612796783447, 4.361584663391113, 4.361556529998779, 4.361528396606445, 4.361500263214111, 4.361472129821777, 4.361443519592285, 4.361415386199951, 4.361387252807617, 4.361359119415283, 4.361330986022949, 4.361302852630615, 4.361274719238281, 4.361246109008789, 4.361217975616455, 4.361189842224121, 4.361161708831787, 4.361133575439453, 4.361104965209961, 4.361076831817627, 4.361048698425293, 4.361020565032959, 4.360991954803467, 4.360963821411133, 4.360935688018799, 4.360907077789307, 4.360878944396973, 4.360850811004639, 4.360822677612305, 4.3607940673828125, 4.3607659339904785, 4.3607378005981445, 4.360709190368652, 4.360681056976318, 4.360652923583984, 4.360624313354492, 4.360596179962158, 4.360567569732666, 4.360539436340332, 4.360511302947998, 4.360482692718506, 4.360454559326172, 4.36042594909668, 4.360397815704346, 4.360369682312012, 4.3603410720825195, 4.3603129386901855, 4.360284328460693, 4.360256195068359, 4.360227584838867, 4.360199451446533, 4.360170841217041, 4.360142707824707, 4.360114097595215, 4.360085964202881, 4.360057353973389, 4.360029220581055, 4.3600006103515625, 4.3599724769592285, 4.359943866729736, 4.359915256500244, 4.35988712310791, 4.359858512878418, 4.359830379486084, 4.359801769256592, 4.359773635864258, 4.359745025634766, 4.359716415405273, 4.3596882820129395, 4.359659671783447, 4.359631061553955, 4.359602928161621, 4.359574317932129, 4.359545707702637, 4.359517574310303, 4.3594889640808105, 4.359460353851318, 4.359432220458984, 4.359403610229492, 4.359375, 4.359346866607666, 4.359318256378174, 4.359289646148682, 4.3592610359191895, 4.3592329025268555, 4.359204292297363, 4.359175682067871, 4.359147071838379, 4.359118461608887, 4.359090328216553, 4.3590617179870605, 4.359033107757568, 4.359004497528076, 4.358975887298584, 4.358947277069092, 4.358919143676758, 4.358890533447266, 4.358861923217773, 4.358833312988281, 4.358804702758789, 4.358776092529297, 4.358747482299805, 4.3587188720703125, 4.3586907386779785, 4.358662128448486, 4.358633518218994, 4.358604907989502, 4.35857629776001, 4.358547687530518, 4.358519077301025, 4.358490467071533, 4.358461856842041, 4.358433246612549, 4.358404636383057, 4.3583760261535645, 4.358347415924072, 4.35831880569458, 4.358290195465088, 4.358261585235596, 4.3582329750061035, 4.358204364776611, 4.358175754547119, 4.358147144317627, 4.358118534088135, 4.358089447021484, 4.358060836791992, 4.3580322265625, 4.358003616333008, 4.357975006103516, 4.357946395874023, 4.357917785644531, 4.357889175415039, 4.357860088348389, 4.3578314781188965, 4.357802867889404, 4.357774257659912, 4.35774564743042, 4.357717037200928, 4.357687950134277, 4.357659339904785, 4.357630729675293, 4.357602119445801, 4.357573509216309, 4.357544422149658, 4.357515811920166, 4.357487201690674, 4.357458591461182, 4.357429504394531, 4.357400894165039, 4.357372283935547, 4.3573431968688965, 4.357314586639404, 4.357285976409912, 4.357256889343262, 4.3572282791137695, 4.357199668884277, 4.357170581817627, 4.357141971588135, 4.357113361358643, 4.357084274291992, 4.3570556640625, 4.357027053833008, 4.356997966766357, 4.356969356536865, 4.356940269470215, 4.356911659240723, 4.356882572174072, 4.35685396194458, 4.356825351715088, 4.3567962646484375, 4.356767654418945, 4.356738567352295, 4.356709957122803, 4.356680870056152, 4.35665225982666, 4.35662317276001, 4.356594562530518, 4.356565475463867, 4.356536865234375, 4.356507778167725, 4.356479167938232, 4.356450080871582, 4.356420993804932, 4.3563923835754395, 4.356363296508789, 4.356334686279297, 4.3563055992126465, 4.356276512145996, 4.356247901916504, 4.3562188148498535, 4.356190204620361, 4.356161117553711, 4.3561320304870605, 4.356103420257568, 4.356074333190918, 4.356045246124268, 4.356016635894775, 4.355987548828125, 4.355958461761475, 4.355929851531982, 4.355900764465332, 4.355871677398682, 4.355842590332031, 4.355813980102539, 4.355784893035889, 4.355755805969238, 4.355726718902588, 4.355698108673096, 4.355669021606445, 4.355639934539795, 4.3556108474731445, 4.355581760406494, 4.355553150177002, 4.355524063110352, 4.355494976043701, 4.355465888977051, 4.3554368019104, 4.35540771484375, 4.3553786277771, 4.355350017547607, 4.355320930480957, 4.355291843414307, 4.355262756347656, 4.355233669281006, 4.3552045822143555, 4.355175495147705, 4.355146408081055, 4.355117321014404, 4.355088233947754, 4.3550591468811035, 4.355030059814453, 4.355000972747803, 4.354971885681152, 4.354942798614502, 4.354913711547852, 4.354884624481201, 4.354855537414551, 4.3548264503479, 4.35479736328125, 4.3547682762146, 4.354739189147949, 4.354710102081299, 4.354681015014648, 4.354651927947998, 4.354622840881348, 4.354593753814697, 4.354564666748047, 4.3545355796813965, 4.354506492614746, 4.3544769287109375, 4.354447841644287, 4.354418754577637, 4.354389667510986, 4.354360580444336, 4.3543314933776855, 4.354301929473877, 4.354272842407227, 4.354243755340576, 4.354214668273926, 4.354185581207275, 4.354156017303467, 4.354126930236816, 4.354097843170166, 4.354068756103516, 4.354039192199707, 4.354010105133057, 4.353981018066406, 4.353951930999756, 4.353922367095947, 4.353893280029297, 4.3538641929626465, 4.353834629058838, 4.3538055419921875, 4.353776454925537, 4.3537468910217285, 4.353717803955078, 4.353688716888428, 4.353659152984619, 4.353630065917969, 4.353600978851318, 4.35357141494751, 4.353542327880859, 4.353512763977051, 4.3534836769104, 4.35345458984375, 4.353425025939941, 4.353395938873291, 4.353366374969482, 4.353337287902832, 4.353307723999023, 4.353278636932373, 4.3532490730285645, 4.353219985961914, 4.3531904220581055, 4.353161334991455, 4.3531317710876465, 4.353102684020996, 4.3530731201171875, 4.353044033050537, 4.3530144691467285, 4.352985382080078, 4.3529558181762695, 4.352926254272461, 4.3528971672058105, 4.352867603302002, 4.352838516235352, 4.352808952331543, 4.352779388427734, 4.352750301361084, 4.352720737457275, 4.352691173553467, 4.352662086486816, 4.352632522583008, 4.352602958679199, 4.352573871612549, 4.35254430770874, 4.352514743804932, 4.352485656738281, 4.352456092834473, 4.352426528930664, 4.3523969650268555, 4.352367877960205, 4.3523383140563965, 4.352308750152588, 4.352279186248779, 4.352250099182129, 4.35222053527832, 4.352190971374512, 4.352161407470703, 4.3521318435668945, 4.352102756500244, 4.3520731925964355, 4.352043628692627, 4.352014064788818, 4.35198450088501, 4.351954936981201, 4.351925373077393, 4.351896286010742, 4.351866722106934, 4.351837158203125, 4.351807594299316, 4.351778030395508, 4.351748466491699, 4.351718902587891, 4.351689338684082, 4.351659774780273, 4.351630210876465, 4.351600646972656, 4.351571083068848, 4.351541519165039, 4.3515119552612305, 4.351482391357422, 4.351452827453613, 4.351423263549805, 4.351393699645996, 4.3513641357421875, 4.351334571838379, 4.35130500793457, 4.351275444030762, 4.351245880126953, 4.3512163162231445, 4.351186752319336, 4.351157188415527, 4.3511271476745605, 4.351097583770752, 4.351068019866943, 4.351038455963135, 4.351008892059326, 4.350979328155518, 4.350949764251709, 4.350919723510742, 4.350890159606934, 4.350860595703125, 4.350831031799316, 4.350801467895508, 4.350771427154541, 4.350741863250732, 4.350712299346924, 4.350682735443115, 4.350652694702148, 4.35062313079834, 4.350593566894531, 4.350564002990723, 4.350533962249756, 4.350504398345947, 4.350474834442139, 4.350444793701172, 4.350415229797363, 4.350385665893555, 4.350355625152588, 4.350326061248779, 4.350296497344971, 4.350266456604004, 4.350236892700195, 4.350207328796387, 4.35017728805542, 4.350147724151611, 4.3501176834106445, 4.350088119506836, 4.350058555603027, 4.3500285148620605, 4.349998950958252, 4.349968910217285, 4.349939346313477, 4.34990930557251, 4.349879741668701, 4.349849700927734, 4.349820137023926, 4.349790096282959, 4.34976053237915, 4.349730491638184, 4.349700927734375, 4.349670886993408, 4.3496413230896, 4.349611282348633, 4.349581718444824, 4.349551677703857, 4.349521636962891, 4.349492073059082, 4.349462032318115, 4.349432468414307, 4.34940242767334, 4.349372386932373, 4.3493428230285645, 4.349312782287598, 4.349282741546631, 4.349253177642822, 4.3492231369018555, 4.349193096160889, 4.34916353225708, 4.349133491516113, 4.3491034507751465, 4.34907341003418, 4.349043846130371, 4.349013805389404, 4.3489837646484375, 4.348953723907471, 4.348924160003662, 4.348894119262695, 4.3488640785217285, 4.348834037780762, 4.348804473876953, 4.348774433135986, 4.3487443923950195, 4.348714351654053, 4.348684310913086, 4.348654270172119, 4.3486247062683105, 4.348594665527344, 4.348564624786377, 4.34853458404541, 4.348504543304443, 4.348474502563477, 4.34844446182251, 4.348414421081543, 4.348384380340576, 4.348354339599609, 4.348324298858643, 4.348294734954834, 4.348264694213867, 4.3482346534729, 4.348204612731934, 4.348174571990967, 4.34814453125, 4.348114490509033, 4.348084449768066, 4.3480544090271, 4.348024368286133, 4.347993850708008, 4.347963809967041, 4.347933769226074, 4.347903728485107, 4.347873687744141, 4.347843647003174, 4.347813606262207, 4.34778356552124, 4.347753524780273, 4.347723484039307, 4.34769344329834, 4.347662925720215, 4.347632884979248, 4.347602844238281, 4.3475728034973145, 4.347542762756348, 4.347512722015381, 4.347482204437256, 4.347452163696289, 4.347422122955322, 4.3473920822143555, 4.3473615646362305, 4.347331523895264, 4.347301483154297, 4.34727144241333, 4.347240924835205, 4.347210884094238, 4.3471808433532715, 4.347150802612305, 4.34712028503418, 4.347090244293213, 4.347060203552246, 4.347029685974121, 4.346999645233154, 4.3469696044921875, 4.3469390869140625, 4.346909046173096, 4.346878528594971, 4.346848487854004, 4.346818447113037, 4.346787929534912, 4.346757888793945, 4.34672737121582, 4.3466973304748535, 4.346667289733887, 4.346636772155762, 4.346606731414795, 4.34657621383667, 4.346546173095703, 4.346515655517578, 4.346485614776611, 4.346455097198486, 4.3464250564575195, 4.3463945388793945, 4.346364498138428, 4.346333980560303, 4.346303462982178, 4.346273422241211, 4.346242904663086, 4.346212863922119, 4.346182346343994, 4.346152305603027, 4.346121788024902, 4.346091270446777, 4.3460612297058105, 4.3460307121276855, 4.3460001945495605, 4.345970153808594, 4.345939636230469, 4.345909118652344, 4.345879077911377, 4.345848560333252, 4.345818042755127, 4.34578800201416, 4.345757484436035, 4.34572696685791, 4.345696449279785, 4.345666408538818, 4.345635890960693, 4.345605373382568, 4.345574855804443, 4.345544815063477, 4.345514297485352, 4.345483779907227, 4.345453262329102, 4.345422744750977, 4.34539270401001, 4.345362186431885, 4.34533166885376, 4.345301151275635, 4.34527063369751, 4.345240116119385, 4.34520959854126, 4.345179080963135, 4.345149040222168, 4.345118522644043, 4.345088005065918, 4.345057487487793, 4.345026969909668, 4.344996452331543, 4.344965934753418, 4.344935417175293, 4.344904899597168, 4.344874382019043, 4.344843864440918, 4.344813346862793, 4.344782829284668, 4.344752311706543, 4.344721794128418, 4.344691276550293, 4.344660758972168, 4.344630241394043, 4.344599723815918, 4.344569206237793, 4.344538688659668, 4.344507694244385, 4.34447717666626, 4.344446659088135, 4.34441614151001, 4.344385623931885, 4.34435510635376, 4.344324588775635, 4.344293594360352, 4.344263076782227, 4.344232559204102, 4.344202041625977, 4.344171524047852, 4.344141006469727, 4.344110012054443, 4.344079494476318, 4.344048976898193, 4.344018459320068, 4.343987464904785, 4.34395694732666, 4.343926429748535, 4.34389591217041, 4.343864917755127, 4.343834400177002, 4.343803882598877, 4.343772888183594, 4.343742370605469, 4.343711853027344, 4.3436808586120605, 4.3436503410339355, 4.3436198234558105, 4.343588829040527, 4.343558311462402, 4.343527317047119, 4.343496799468994, 4.343466281890869, 4.343435287475586, 4.343404769897461, 4.343373775482178, 4.343343257904053, 4.3433122634887695, 4.3432817459106445, 4.343250751495361, 4.343220233917236, 4.343189239501953, 4.343158721923828, 4.343127727508545, 4.34309720993042, 4.343066215515137, 4.343035697937012, 4.3430047035217285, 4.3429741859436035, 4.34294319152832, 4.342912197113037, 4.342881679534912, 4.342850685119629, 4.342820167541504, 4.342789173126221, 4.3427581787109375, 4.3427276611328125, 4.342696666717529, 4.342665672302246, 4.342635154724121, 4.342604160308838, 4.342573165893555, 4.34254264831543, 4.3425116539001465, 4.342480659484863, 4.34244966506958, 4.342419147491455, 4.342388153076172, 4.342357158660889, 4.3423261642456055, 4.3422956466674805, 4.342264652252197, 4.342233657836914, 4.342202663421631, 4.342171669006348, 4.342141151428223, 4.3421101570129395, 4.342079162597656, 4.342048168182373, 4.34201717376709, 4.341986179351807, 4.341955184936523, 4.341924667358398, 4.341893672943115, 4.341862678527832, 4.341831684112549, 4.341800689697266, 4.341769695281982, 4.341738700866699, 4.341707706451416, 4.341676712036133, 4.34164571762085, 4.341614723205566, 4.341583728790283, 4.341552734375, 4.341521739959717, 4.341490745544434, 4.34145975112915, 4.341428756713867, 4.341397762298584, 4.341366767883301, 4.341335773468018, 4.341304779052734, 4.341273784637451, 4.341242790222168, 4.341211318969727, 4.341180324554443, 4.34114933013916, 4.341118335723877, 4.341087341308594, 4.3410563468933105, 4.341025352478027, 4.340993881225586, 4.340962886810303, 4.3409318923950195, 4.340900897979736, 4.340869903564453, 4.340838432312012, 4.3408074378967285, 4.340776443481445, 4.340745449066162, 4.340713977813721, 4.3406829833984375, 4.340651988983154, 4.340620517730713, 4.34058952331543, 4.3405585289001465, 4.340527534484863, 4.340496063232422, 4.340465068817139, 4.340433597564697, 4.340402603149414, 4.340371608734131, 4.3403401374816895, 4.340309143066406, 4.340278148651123, 4.340246677398682, 4.340215682983398, 4.340184211730957, 4.340153217315674, 4.340121746063232, 4.340090751647949, 4.340059757232666, 4.340028285980225, 4.339997291564941, 4.3399658203125, 4.339934825897217, 4.339903354644775, 4.339871883392334, 4.339840888977051, 4.339809417724609, 4.339778423309326, 4.339746952056885, 4.339715957641602, 4.33968448638916, 4.339653491973877, 4.3396220207214355, 4.339590549468994, 4.339559555053711, 4.3395280838012695, 4.339496612548828, 4.339465618133545, 4.3394341468811035, 4.339402675628662, 4.339371681213379, 4.3393402099609375, 4.339308738708496, 4.339277744293213, 4.3392462730407715, 4.33921480178833, 4.339183330535889, 4.3391523361206055, 4.339120864868164, 4.339089393615723, 4.339057922363281, 4.339026927947998, 4.338995456695557, 4.338963985443115, 4.338932514190674, 4.338901042938232, 4.338869571685791, 4.338838577270508, 4.338807106018066, 4.338775634765625, 4.338744163513184, 4.338712692260742, 4.338681221008301, 4.338649749755859, 4.338618278503418, 4.338586807250977, 4.338555812835693, 4.338524341583252, 4.3384928703308105, 4.338461399078369, 4.338429927825928, 4.338398456573486, 4.338366985321045, 4.3383355140686035, 4.338304042816162, 4.338272571563721, 4.338241100311279, 4.338209629058838, 4.338177680969238, 4.338146209716797, 4.3381147384643555, 4.338083267211914, 4.338051795959473, 4.338020324707031, 4.33798885345459, 4.337957382202148, 4.337925910949707, 4.337894439697266, 4.337862491607666, 4.337831020355225, 4.337799549102783, 4.337768077850342, 4.3377366065979, 4.337704658508301, 4.337673187255859, 4.337641716003418, 4.337610244750977, 4.337578773498535, 4.3375468254089355, 4.337515354156494, 4.337483882904053, 4.337451934814453, 4.337420463562012, 4.33738899230957, 4.337357521057129, 4.337325572967529, 4.337294101715088, 4.3372626304626465, 4.337230682373047, 4.3371992111206055, 4.337167263031006, 4.3371357917785645, 4.337104320526123, 4.337072372436523, 4.337040901184082, 4.337008953094482, 4.336977481842041, 4.3369460105896, 4.3369140625, 4.336882591247559, 4.336850643157959, 4.336819171905518, 4.336787223815918, 4.336755752563477, 4.336723804473877, 4.3366923332214355, 4.336660385131836, 4.3366289138793945, 4.336596965789795, 4.336565017700195, 4.336533546447754, 4.336501598358154, 4.336470127105713, 4.336438179016113, 4.336406230926514, 4.336374759674072, 4.336342811584473, 4.336311340332031, 4.336279392242432, 4.336247444152832, 4.336215972900391, 4.336184024810791, 4.336152076721191, 4.336120128631592, 4.33608865737915, 4.336056709289551, 4.336024761199951, 4.33599328994751, 4.33596134185791, 4.3359293937683105, 4.335897445678711, 4.335865497589111, 4.33583402633667, 4.33580207824707, 4.335770130157471, 4.335738182067871, 4.3357062339782715, 4.33567476272583, 4.3356428146362305, 4.335610866546631, 4.335578918457031, 4.335546970367432, 4.335515022277832, 4.335483074188232, 4.335451126098633, 4.335419178009033, 4.335387229919434, 4.335355758666992, 4.335323810577393, 4.335291862487793, 4.335259914398193, 4.335227966308594, 4.335196018218994, 4.3351640701293945, 4.335132122039795, 4.335100173950195, 4.335068225860596, 4.335035800933838, 4.335003852844238, 4.334971904754639, 4.334939956665039, 4.3349080085754395, 4.33487606048584, 4.33484411239624, 4.334812164306641, 4.334780216217041, 4.334748268127441, 4.334715843200684, 4.334683895111084, 4.334651947021484, 4.334619998931885, 4.334588050842285, 4.3345561027526855, 4.334523677825928, 4.334491729736328, 4.3344597816467285, 4.334427833557129, 4.334395408630371, 4.3343634605407715, 4.334331512451172, 4.334299564361572, 4.3342671394348145, 4.334235191345215, 4.334203243255615, 4.334170818328857, 4.334138870239258, 4.334106922149658, 4.3340744972229, 4.334042549133301, 4.334010124206543, 4.333978176116943, 4.333946228027344, 4.333913803100586, 4.333881855010986, 4.3338494300842285, 4.333817481994629, 4.333785533905029, 4.3337531089782715, 4.333721160888672, 4.333688735961914, 4.3336567878723145, 4.333624362945557, 4.333592414855957, 4.333559989929199, 4.3335280418396, 4.333495616912842, 4.333463668823242, 4.333431243896484, 4.333398818969727, 4.333366870880127, 4.333334445953369, 4.3333024978637695, 4.333270072937012, 4.333237648010254, 4.333205699920654, 4.3331732749938965, 4.333140850067139, 4.333108901977539, 4.333076477050781, 4.333044052124023, 4.333012104034424, 4.332979679107666, 4.332947254180908, 4.332915306091309, 4.332882881164551, 4.332850456237793, 4.332818031311035, 4.3327860832214355, 4.332753658294678, 4.33272123336792, 4.332688808441162, 4.332656383514404, 4.332624435424805, 4.332592010498047, 4.332559585571289, 4.332527160644531, 4.332494735717773, 4.332462310791016, 4.332429885864258, 4.332397937774658, 4.3323655128479, 4.332333087921143, 4.332300662994385, 4.332268238067627, 4.332235813140869, 4.332203388214111, 4.3321709632873535, 4.332138538360596, 4.332106113433838, 4.33207368850708, 4.332041263580322, 4.3320088386535645, 4.331976413726807, 4.331943988800049, 4.331911563873291, 4.331879138946533, 4.331846714019775, 4.331814289093018, 4.33178186416626, 4.331748962402344, 4.331716537475586, 4.331684112548828, 4.33165168762207, 4.3316192626953125, 4.331586837768555, 4.331554412841797, 4.331521511077881, 4.331489086151123, 4.331456661224365, 4.331424236297607, 4.33139181137085, 4.331358909606934, 4.331326484680176, 4.331294059753418, 4.33126163482666, 4.331228733062744, 4.331196308135986, 4.3311638832092285, 4.3311309814453125, 4.331098556518555, 4.331066131591797, 4.331033229827881, 4.331000804901123, 4.330968379974365, 4.330935478210449, 4.330903053283691, 4.330870628356934, 4.330837726593018, 4.33080530166626, 4.330772399902344, 4.330739974975586, 4.330707550048828, 4.330674648284912, 4.330642223358154, 4.330609321594238, 4.3305768966674805, 4.3305439949035645, 4.330511569976807, 4.330478668212891, 4.330446243286133, 4.330413341522217, 4.330380916595459, 4.330348014831543, 4.330315113067627, 4.330282688140869, 4.330249786376953, 4.330217361450195, 4.330184459686279, 4.330151557922363, 4.3301191329956055, 4.3300862312316895, 4.330053806304932, 4.330020904541016, 4.3299880027771, 4.329955577850342, 4.329922676086426, 4.32988977432251, 4.329856872558594, 4.329824447631836, 4.32979154586792, 4.329758644104004, 4.329725742340088, 4.32969331741333, 4.329660415649414, 4.329627513885498, 4.329594612121582, 4.329561710357666, 4.329529285430908, 4.329496383666992, 4.329463481903076, 4.32943058013916, 4.329397678375244, 4.329364776611328, 4.329331874847412, 4.329299449920654, 4.329266548156738, 4.329233646392822, 4.329200744628906, 4.32916784286499, 4.329134941101074, 4.329102039337158, 4.329069137573242, 4.329036235809326, 4.32900333404541, 4.328970432281494, 4.328937530517578, 4.328904628753662, 4.328871726989746, 4.32883882522583, 4.328805923461914, 4.328773021697998, 4.328740119934082, 4.328707218170166, 4.328673839569092, 4.328640937805176, 4.32860803604126, 4.328575134277344, 4.328542232513428, 4.328509330749512, 4.328476428985596, 4.3284430503845215, 4.3284101486206055, 4.3283772468566895, 4.328344345092773, 4.328311443328857, 4.328278064727783, 4.328245162963867, 4.328212261199951, 4.328179359436035, 4.328145980834961, 4.328113079071045, 4.328080177307129, 4.328046798706055, 4.328013896942139, 4.327980995178223, 4.327947616577148, 4.327914714813232, 4.327881813049316, 4.327848434448242, 4.327815532684326, 4.32778263092041, 4.327749252319336, 4.32771635055542, 4.327682971954346, 4.32765007019043, 4.3276166915893555, 4.3275837898254395, 4.327550411224365, 4.327517509460449, 4.327484607696533, 4.327451229095459, 4.327417850494385, 4.327384948730469, 4.3273515701293945, 4.3273186683654785, 4.327285289764404, 4.327252388000488, 4.327219009399414, 4.327186107635498, 4.327152729034424, 4.32711935043335, 4.327086448669434, 4.327053070068359, 4.327019691467285, 4.326986789703369, 4.326953411102295, 4.326920032501221, 4.326887130737305, 4.3268537521362305, 4.326820373535156, 4.32678747177124, 4.326754093170166, 4.326720714569092, 4.326687335968018, 4.326654434204102, 4.326621055603027, 4.326587677001953, 4.326554298400879, 4.326520919799805, 4.326488018035889, 4.3264546394348145, 4.32642126083374, 4.326387882232666, 4.326354503631592, 4.326321125030518, 4.326287746429443, 4.326254844665527, 4.326221466064453, 4.326188087463379, 4.326154708862305, 4.3261213302612305, 4.326087951660156, 4.326054573059082, 4.326021194458008, 4.325987815856934, 4.325954437255859, 4.325921058654785, 4.325887680053711, 4.325854301452637, 4.3258209228515625, 4.325787544250488, 4.325754165649414, 4.32572078704834, 4.325687408447266, 4.325653553009033, 4.325620174407959, 4.325586795806885, 4.3255534172058105, 4.325520038604736, 4.325486660003662, 4.325453281402588, 4.3254194259643555, 4.325386047363281, 4.325352668762207, 4.325319290161133, 4.325285911560059, 4.325252056121826, 4.325218677520752, 4.325185298919678, 4.3251519203186035, 4.325118064880371, 4.325084686279297, 4.325051307678223, 4.32501745223999, 4.324984073638916, 4.324950695037842, 4.324916839599609, 4.324883460998535, 4.324850082397461, 4.3248162269592285, 4.324782848358154, 4.32474946975708, 4.324715614318848, 4.324682235717773, 4.324648380279541, 4.324615001678467, 4.324581146240234, 4.32454776763916, 4.324513912200928, 4.3244805335998535, 4.324446678161621, 4.324413299560547, 4.3243794441223145, 4.32434606552124, 4.324312210083008, 4.324278831481934, 4.324244976043701, 4.324211597442627, 4.3241777420043945, 4.324143886566162, 4.324110507965088, 4.3240766525268555, 4.324043273925781, 4.324009418487549, 4.323975563049316, 4.323942184448242, 4.32390832901001, 4.323874473571777, 4.323840618133545, 4.323807239532471, 4.323773384094238, 4.323739528656006, 4.323706150054932, 4.323672294616699, 4.323638439178467, 4.323604583740234, 4.323570728302002, 4.323537349700928, 4.323503494262695, 4.323469638824463, 4.3234357833862305, 4.323401927947998, 4.323368072509766, 4.323334693908691, 4.323300838470459, 4.323266983032227, 4.323233127593994, 4.323199272155762, 4.323165416717529, 4.323131561279297, 4.3230977058410645, 4.323063850402832, 4.3230299949646, 4.322996139526367, 4.322962284088135, 4.322928428649902, 4.32289457321167, 4.3228607177734375, 4.322826862335205, 4.322793006896973, 4.32275915145874, 4.322725296020508, 4.322691440582275, 4.322657585144043, 4.3226237297058105, 4.32258939743042, 4.3225555419921875, 4.322521686553955, 4.322487831115723, 4.32245397567749, 4.322420120239258, 4.322385787963867, 4.322351932525635, 4.322318077087402, 4.32228422164917, 4.3222503662109375, 4.322216033935547, 4.3221821784973145, 4.322148323059082, 4.32211446762085, 4.322080135345459, 4.322046279907227, 4.322012424468994, 4.3219780921936035, 4.321944236755371, 4.321910381317139, 4.321876049041748, 4.321842193603516, 4.321807861328125, 4.321774005889893, 4.32174015045166, 4.3217058181762695, 4.321671962738037, 4.3216376304626465, 4.321603775024414, 4.321569442749023, 4.321535587310791, 4.3215012550354, 4.321467399597168, 4.321433067321777, 4.321399211883545, 4.321364879608154, 4.321331024169922, 4.321296691894531, 4.321262836456299, 4.321228504180908, 4.321194648742676, 4.321160316467285, 4.3211259841918945, 4.321092128753662, 4.3210577964782715, 4.321023464202881, 4.320989608764648, 4.320955276489258, 4.320920944213867, 4.320887088775635, 4.320852756500244, 4.3208184242248535, 4.320784091949463, 4.3207502365112305, 4.32071590423584, 4.320681571960449, 4.320647239685059, 4.320613384246826, 4.3205790519714355, 4.320544719696045, 4.320510387420654, 4.320476055145264, 4.320441722869873, 4.320407867431641, 4.32037353515625, 4.320339202880859, 4.320304870605469, 4.320270538330078, 4.3202362060546875, 4.320201873779297, 4.320167541503906, 4.320133209228516, 4.320098876953125, 4.320064544677734, 4.320030212402344, 4.319995880126953, 4.3199615478515625, 4.319927215576172, 4.319892883300781, 4.319858551025391, 4.31982421875, 4.319789886474609, 4.319755554199219, 4.319721221923828, 4.3196868896484375, 4.319652557373047, 4.319618225097656, 4.319583415985107, 4.319549083709717, 4.319514751434326, 4.3194804191589355, 4.319446086883545, 4.319411754608154, 4.3193769454956055, 4.319342613220215, 4.319308280944824, 4.319273948669434, 4.319239139556885, 4.319204807281494, 4.3191704750061035, 4.319136142730713, 4.319101333618164, 4.319067001342773, 4.319032669067383, 4.318997859954834, 4.318963527679443, 4.3189287185668945, 4.318894386291504, 4.318860054016113, 4.3188252449035645, 4.318790912628174, 4.318756103515625, 4.318721771240234, 4.318687438964844, 4.318652629852295, 4.318618297576904, 4.3185834884643555, 4.318549156188965, 4.318514347076416, 4.318480014801025, 4.318445205688477, 4.318410873413086, 4.318376064300537, 4.318341255187988, 4.318306922912598, 4.318272113800049, 4.318237781524658, 4.318202972412109, 4.3181681632995605, 4.31813383102417, 4.318099021911621, 4.318064212799072, 4.318029880523682, 4.317995071411133, 4.317960262298584, 4.317925930023193, 4.3178911209106445, 4.317856311798096, 4.317821502685547, 4.317787170410156, 4.317752361297607, 4.317717552185059, 4.31768274307251, 4.317648410797119, 4.31761360168457, 4.3175787925720215, 4.317543983459473, 4.317509174346924, 4.317474365234375, 4.317439556121826, 4.3174052238464355, 4.317370414733887, 4.317335605621338, 4.317300796508789, 4.31726598739624, 4.317231178283691, 4.317196369171143, 4.317161560058594, 4.317126750946045, 4.317091941833496, 4.317057132720947, 4.317022323608398, 4.31698751449585, 4.316952705383301, 4.316917896270752, 4.316883087158203, 4.316848278045654, 4.3168134689331055, 4.316778659820557, 4.31674337387085, 4.316708564758301, 4.316673755645752, 4.316638946533203, 4.316604137420654, 4.3165693283081055, 4.316534042358398, 4.31649923324585, 4.316464424133301, 4.316429615020752, 4.316394805908203, 4.316359519958496, 4.316324710845947, 4.316289901733398, 4.316254615783691, 4.316219806671143, 4.316184997558594, 4.316150188446045, 4.316114902496338, 4.316080093383789, 4.316044807434082, 4.316009998321533, 4.315975189208984, 4.315939903259277, 4.3159050941467285, 4.31587028503418, 4.315834999084473, 4.315800189971924, 4.315764904022217, 4.315730094909668, 4.315694808959961, 4.315659999847412, 4.315624713897705, 4.315589904785156, 4.315554618835449, 4.3155198097229, 4.315484523773193, 4.3154497146606445, 4.3154144287109375, 4.3153791427612305, 4.315344333648682, 4.315309047698975, 4.315273761749268, 4.315238952636719, 4.315203666687012, 4.315168857574463, 4.315133571624756, 4.315098285675049, 4.315062999725342, 4.315028190612793, 4.314992904663086, 4.314957618713379, 4.31492280960083, 4.314887523651123, 4.314852237701416, 4.314816951751709, 4.314781665802002, 4.314746856689453, 4.314711570739746, 4.314676284790039, 4.314640998840332, 4.314605712890625, 4.314570426940918, 4.314535140991211, 4.314500331878662, 4.314465045928955, 4.314429759979248, 4.314394474029541, 4.314359188079834, 4.314323902130127, 4.31428861618042, 4.314253330230713, 4.314218044281006, 4.314182758331299, 4.314147472381592, 4.314112186431885, 4.314076900482178, 4.314041614532471, 4.314006328582764, 4.313971042633057, 4.31393575668335, 4.313899993896484, 4.313864707946777, 4.31382942199707, 4.313794136047363, 4.313758850097656, 4.313723564147949, 4.313688278198242, 4.313652515411377, 4.31361722946167, 4.313581943511963, 4.313546657562256, 4.313510894775391, 4.313475608825684, 4.313440322875977, 4.3134050369262695, 4.313369274139404, 4.313333988189697, 4.31329870223999, 4.313262939453125, 4.313227653503418, 4.313192367553711, 4.313156604766846, 4.313121318817139, 4.313086032867432, 4.313050270080566, 4.313014984130859, 4.312979221343994, 4.312943935394287, 4.312908172607422, 4.312872886657715, 4.31283712387085, 4.312801837921143, 4.312766075134277, 4.31273078918457, 4.312695026397705, 4.312659740447998, 4.312623977661133, 4.312588691711426, 4.3125529289245605, 4.3125176429748535, 4.312481880187988, 4.312446117401123, 4.312410831451416, 4.312375068664551, 4.3123393058776855, 4.3123040199279785, 4.312268257141113, 4.312232494354248, 4.312197208404541, 4.312161445617676, 4.3121256828308105, 4.312089920043945, 4.312054634094238, 4.312018871307373, 4.311983108520508, 4.311947345733643, 4.311911582946777, 4.31187629699707, 4.311840534210205, 4.31180477142334, 4.311769008636475, 4.311733245849609, 4.311697483062744, 4.311661720275879, 4.311626434326172, 4.311590671539307, 4.311554908752441, 4.311519145965576, 4.311483383178711, 4.311447620391846, 4.3114118576049805, 4.311376094818115, 4.31134033203125, 4.311304569244385, 4.3112688064575195, 4.311233043670654, 4.311197280883789, 4.311161518096924, 4.311125755310059, 4.311089515686035, 4.31105375289917, 4.311017990112305, 4.3109822273254395, 4.310946464538574, 4.310910701751709, 4.310874938964844, 4.31083869934082, 4.310802936553955, 4.31076717376709, 4.310731410980225, 4.310695648193359, 4.310659408569336, 4.310623645782471, 4.3105878829956055, 4.310551643371582, 4.310515880584717, 4.310480117797852, 4.310443878173828, 4.310408115386963, 4.310372352600098, 4.310336112976074, 4.310300350189209, 4.310264587402344, 4.31022834777832, 4.310192584991455, 4.310156345367432, 4.310120582580566, 4.310084819793701, 4.310048580169678, 4.3100128173828125, 4.309976577758789, 4.309940814971924, 4.3099045753479, 4.309868812561035, 4.309832572937012, 4.309796333312988, 4.309760570526123, 4.3097243309021, 4.309688568115234, 4.309652328491211, 4.3096160888671875, 4.309580326080322, 4.309544086456299, 4.309507846832275, 4.30947208404541, 4.309435844421387, 4.309399604797363, 4.309363842010498, 4.309327602386475, 4.309291362762451, 4.309255123138428, 4.3092193603515625, 4.309183120727539, 4.309146881103516, 4.309110641479492, 4.309074878692627, 4.3090386390686035, 4.30900239944458, 4.308966159820557, 4.308929920196533, 4.30889368057251, 4.308857440948486, 4.308821201324463, 4.308785438537598, 4.308749198913574, 4.308712959289551, 4.308676719665527, 4.308640480041504, 4.3086042404174805, 4.308568000793457, 4.308531761169434, 4.30849552154541, 4.308459281921387, 4.308423042297363, 4.30838680267334, 4.308350086212158, 4.308313846588135, 4.308277606964111, 4.308241367340088, 4.3082051277160645, 4.308168888092041, 4.308132648468018, 4.308096408843994, 4.3080596923828125, 4.308023452758789, 4.307987213134766, 4.307950973510742, 4.307914733886719, 4.307878017425537, 4.307841777801514, 4.30780553817749, 4.307768821716309, 4.307732582092285, 4.307696342468262, 4.307660102844238, 4.307623386383057, 4.307587146759033, 4.30755090713501, 4.307514190673828, 4.307477951049805, 4.307441234588623, 4.3074049949646, 4.307368278503418, 4.3073320388793945, 4.307295799255371, 4.3072590827941895, 4.307222843170166, 4.307186126708984, 4.307149887084961, 4.307113170623779, 4.307076930999756, 4.307040214538574, 4.307003498077393, 4.306967258453369, 4.3069305419921875, 4.306894302368164, 4.306857585906982, 4.306820869445801, 4.306784629821777, 4.306747913360596, 4.306711673736572, 4.306674957275391, 4.306638240814209, 4.306601524353027, 4.306565284729004, 4.306528568267822, 4.306491851806641, 4.306455135345459, 4.3064188957214355, 4.306382179260254, 4.306345462799072, 4.306308746337891, 4.306272029876709, 4.3062357902526855, 4.306199073791504, 4.306162357330322, 4.306125640869141, 4.306088924407959, 4.306052207946777, 4.306015491485596, 4.305978775024414, 4.305942058563232, 4.305905342102051, 4.305869102478027, 4.305832386016846, 4.305795669555664, 4.305758953094482, 4.305722236633301, 4.305685043334961, 4.305648326873779, 4.305611610412598, 4.305574893951416, 4.305538177490234, 4.305501461029053, 4.305464744567871, 4.3054280281066895, 4.305391311645508, 4.305354595184326, 4.305317401885986, 4.305280685424805, 4.305243968963623, 4.305207252502441, 4.30517053604126, 4.30513334274292, 4.305096626281738, 4.305059909820557, 4.305022716522217, 4.304986000061035, 4.3049492835998535, 4.304912567138672, 4.304875373840332, 4.30483865737915, 4.304801940917969, 4.304764747619629, 4.304728031158447, 4.304690837860107, 4.304654121398926, 4.304617404937744, 4.304580211639404, 4.304543495178223, 4.304506301879883, 4.304469585418701, 4.304432392120361, 4.30439567565918, 4.30435848236084, 4.304321765899658, 4.304284572601318, 4.3042473793029785, 4.304210662841797, 4.304173469543457, 4.304136753082275, 4.3040995597839355, 4.304062366485596, 4.304025650024414, 4.303988456726074, 4.303951263427734, 4.303914546966553, 4.303877353668213, 4.303840160369873, 4.303803443908691, 4.303766250610352, 4.303729057312012, 4.303691864013672, 4.30365514755249, 4.30361795425415, 4.3035807609558105, 4.303543567657471, 4.303506374359131, 4.303469657897949, 4.303432464599609, 4.3033952713012695, 4.30335807800293, 4.30332088470459, 4.30328369140625, 4.30324649810791, 4.30320930480957, 4.3031721115112305, 4.303134918212891, 4.303097724914551, 4.303060531616211, 4.303023338317871, 4.302986145019531, 4.302948951721191, 4.302911758422852, 4.302874565124512, 4.302837371826172, 4.302800178527832, 4.302762985229492, 4.302725791931152, 4.3026885986328125, 4.3026509284973145, 4.302613735198975, 4.302576541900635, 4.302539348602295, 4.302502155303955, 4.302464485168457, 4.302427291870117, 4.302390098571777, 4.3023529052734375, 4.3023152351379395, 4.3022780418396, 4.30224084854126, 4.30220365524292, 4.302165985107422, 4.302128791809082, 4.302091598510742, 4.302053928375244, 4.302016735076904, 4.301979064941406, 4.301941871643066, 4.301904678344727, 4.3018670082092285, 4.301829814910889, 4.301792144775391, 4.301754951477051, 4.301717281341553, 4.301680088043213, 4.301642417907715, 4.301605224609375, 4.301567554473877, 4.301530361175537, 4.301492691040039, 4.301455020904541, 4.301417827606201, 4.301380157470703, 4.301342964172363, 4.301305294036865, 4.301267623901367, 4.301230430603027, 4.301192760467529, 4.301155090332031, 4.301117420196533, 4.301080226898193, 4.301042556762695, 4.301004886627197, 4.300967216491699, 4.300930023193359, 4.300892353057861, 4.300854682922363, 4.300817012786865, 4.300779342651367, 4.300742149353027, 4.300704479217529, 4.300666809082031, 4.300629138946533, 4.300591468811035, 4.300553798675537, 4.300516128540039, 4.300478458404541, 4.300440788269043, 4.300403118133545, 4.300365447998047, 4.300327777862549, 4.300290107727051, 4.300252437591553, 4.300214767456055, 4.300177097320557, 4.300139427185059, 4.3001017570495605, 4.3000640869140625, 4.3000264167785645, 4.299988269805908, 4.29995059967041, 4.299912929534912, 4.299875259399414, 4.299837589263916, 4.299799919128418, 4.299761772155762, 4.299724102020264, 4.299686431884766, 4.299648761749268, 4.299610614776611, 4.299572944641113, 4.299535274505615, 4.299497127532959, 4.299459457397461, 4.299421787261963, 4.299383640289307, 4.299345970153809, 4.2993083000183105, 4.299270153045654, 4.299232482910156, 4.2991943359375, 4.299156665802002, 4.299118518829346, 4.299080848693848, 4.299042701721191, 4.299005031585693, 4.298966884613037, 4.298929214477539, 4.298891067504883, 4.298853397369385, 4.2988152503967285, 4.2987775802612305, 4.298739433288574, 4.298701286315918, 4.29866361618042, 4.298625469207764, 4.298587322235107, 4.298549652099609, 4.298511505126953, 4.298473358154297, 4.298435688018799, 4.298397541046143, 4.298359394073486, 4.29832124710083, 4.298283576965332, 4.298245429992676, 4.2982072830200195, 4.298169136047363, 4.298130989074707, 4.298093318939209, 4.298055171966553, 4.2980170249938965, 4.29797887802124, 4.297940731048584, 4.297902584075928, 4.2978644371032715, 4.297826290130615, 4.297788143157959, 4.297749996185303, 4.2977118492126465, 4.29767370223999, 4.297635555267334, 4.297597408294678, 4.2975592613220215, 4.297521114349365, 4.297482967376709, 4.297444820404053, 4.2974066734313965, 4.29736852645874, 4.297330379486084, 4.297292232513428, 4.297253608703613, 4.297215461730957, 4.297177314758301, 4.2971391677856445, 4.297101020812988, 4.297062397003174, 4.297024250030518, 4.296986103057861, 4.296947956085205, 4.296909332275391, 4.296871185302734, 4.296833038330078, 4.296794414520264, 4.296756267547607, 4.296718120574951, 4.296679496765137, 4.2966413497924805, 4.296602725982666, 4.29656457901001, 4.2965264320373535, 4.296487808227539, 4.296449661254883, 4.296411037445068, 4.296372890472412, 4.296334266662598, 4.296296119689941, 4.296257495880127, 4.296219348907471, 4.296180725097656, 4.296142101287842, 4.2961039543151855, 4.296065330505371, 4.296027183532715, 4.2959885597229, 4.295949935913086, 4.29591178894043, 4.295873165130615, 4.295834541320801, 4.295795917510986, 4.29575777053833, 4.295719146728516, 4.295680522918701, 4.295641899108887, 4.2956037521362305, 4.295565128326416, 4.295526504516602, 4.295487880706787, 4.295449256896973, 4.295411109924316, 4.295372486114502, 4.2953338623046875, 4.295295238494873, 4.295256614685059, 4.295217990875244, 4.29517936706543, 4.295140743255615, 4.295102119445801, 4.295063495635986, 4.295024871826172, 4.294986248016357, 4.294947624206543, 4.2949090003967285, 4.294870376586914, 4.2948317527771, 4.294793128967285, 4.294754505157471, 4.294715881347656, 4.294676780700684, 4.294638156890869, 4.294599533081055, 4.29456090927124, 4.294522285461426, 4.294483184814453, 4.294444561004639, 4.294405937194824, 4.29436731338501, 4.294328212738037, 4.294289588928223, 4.294250965118408, 4.294212341308594, 4.294173240661621, 4.294134616851807, 4.294095516204834, 4.2940568923950195, 4.294018268585205, 4.293979167938232, 4.293940544128418, 4.293901443481445, 4.293862819671631, 4.293824195861816, 4.293785095214844, 4.293746471405029, 4.293707370758057, 4.293668746948242, 4.2936296463012695, 4.293590545654297, 4.293551921844482, 4.29351282119751, 4.293474197387695, 4.293435096740723, 4.29339599609375, 4.2933573722839355, 4.293318271636963, 4.29327917098999, 4.293240547180176, 4.293201446533203, 4.2931623458862305, 4.293123722076416, 4.293084621429443, 4.293045520782471, 4.293006420135498, 4.292967319488525, 4.292928695678711, 4.292889595031738, 4.292850494384766, 4.292811393737793, 4.29277229309082, 4.292733192443848, 4.292694091796875, 4.2926554679870605, 4.292616367340088, 4.292577266693115, 4.292538166046143, 4.29249906539917, 4.292459964752197, 4.292420864105225, 4.292381763458252, 4.292342662811279, 4.292303562164307, 4.292264461517334, 4.292225360870361, 4.2921857833862305, 4.292146682739258, 4.292107582092285, 4.2920684814453125, 4.29202938079834, 4.291990280151367, 4.2919511795043945, 4.291911602020264, 4.291872501373291, 4.291833400726318, 4.291794300079346, 4.291754722595215, 4.291715621948242, 4.2916765213012695, 4.291636943817139, 4.291597843170166, 4.291558742523193, 4.2915191650390625, 4.29148006439209, 4.291440963745117, 4.291401386260986, 4.291362285614014, 4.291322708129883, 4.29128360748291, 4.2912445068359375, 4.291204929351807, 4.291165828704834, 4.291126251220703, 4.2910871505737305, 4.2910475730896, 4.291007995605469, 4.290968894958496, 4.290929317474365, 4.290890216827393, 4.290850639343262, 4.290811061859131, 4.290771961212158, 4.290732383728027, 4.2906928062438965, 4.290653705596924, 4.290614128112793, 4.290574550628662, 4.2905354499816895, 4.290495872497559, 4.290456295013428, 4.290416717529297, 4.290377616882324, 4.290338039398193, 4.2902984619140625, 4.290258884429932, 4.290219306945801, 4.29017972946167, 4.290140151977539, 4.290100574493408, 4.2900614738464355, 4.290021896362305, 4.289982318878174, 4.289942741394043, 4.289903163909912, 4.289863586425781, 4.28982400894165, 4.2897844314575195, 4.289744853973389, 4.289705276489258, 4.289665222167969, 4.289625644683838, 4.289586067199707, 4.289546489715576, 4.289506912231445, 4.2894673347473145, 4.289427757263184, 4.289388179779053, 4.289348125457764, 4.289308547973633, 4.289268970489502, 4.289229393005371, 4.289189338684082, 4.289149761199951, 4.28911018371582, 4.289070129394531, 4.2890305519104, 4.2889909744262695, 4.2889509201049805, 4.28891134262085, 4.288871765136719, 4.28883171081543, 4.288792133331299, 4.28875207901001, 4.288712501525879, 4.288672924041748, 4.288632869720459, 4.288593292236328, 4.288553237915039, 4.288513660430908, 4.288473606109619, 4.28843355178833, 4.288393974304199, 4.28835391998291, 4.288314342498779, 4.28827428817749, 4.288234233856201, 4.28819465637207, 4.288154602050781, 4.288114547729492, 4.288074970245361, 4.288034915924072, 4.287994861602783, 4.287955284118652, 4.287915229797363, 4.287875175476074, 4.287835121154785, 4.287795066833496, 4.287755489349365, 4.287715435028076, 4.287675380706787, 4.287635326385498, 4.287595272064209, 4.28755521774292, 4.287515163421631, 4.287475109100342, 4.287435054779053, 4.287395000457764, 4.287354946136475, 4.2873148918151855, 4.2872748374938965, 4.287234783172607, 4.287194728851318, 4.287154674530029, 4.28711462020874, 4.287074565887451, 4.287034511566162, 4.286994457244873, 4.286954402923584, 4.286914348602295, 4.286873817443848, 4.286833763122559, 4.2867937088012695, 4.2867536544799805, 4.286713600158691, 4.286673069000244, 4.286633014678955, 4.286592960357666, 4.286552429199219, 4.28651237487793, 4.286472320556641, 4.286431789398193, 4.286391735076904, 4.286351680755615, 4.286311149597168, 4.286271095275879, 4.286230564117432, 4.286190509796143, 4.2861504554748535, 4.286109924316406, 4.286069869995117, 4.28602933883667, 4.285989284515381, 4.285948753356934, 4.285908222198486, 4.285868167877197, 4.28582763671875, 4.285787582397461, 4.285747051239014, 4.285706520080566, 4.285666465759277, 4.28562593460083, 4.285585403442383, 4.285545349121094, 4.2855048179626465, 4.285464286804199, 4.28542423248291, 4.285383701324463, 4.285343170166016, 4.285302639007568, 4.285262107849121, 4.285222053527832, 4.285181522369385, 4.2851409912109375, 4.28510046005249, 4.285059928894043, 4.285019397735596, 4.284978866577148, 4.284938335418701, 4.284897804260254, 4.284857273101807, 4.284816741943359, 4.284776210784912, 4.284735679626465, 4.284695148468018, 4.28465461730957, 4.284614086151123, 4.284573554992676, 4.2845330238342285, 4.284492492675781, 4.284451961517334, 4.284411430358887, 4.284370422363281, 4.284329891204834, 4.284289360046387, 4.2842488288879395, 4.284208297729492, 4.284167289733887, 4.2841267585754395, 4.284086227416992, 4.284045219421387, 4.2840046882629395, 4.283964157104492, 4.283923149108887, 4.2838826179504395, 4.283842086791992, 4.283801078796387, 4.2837605476379395, 4.283719539642334, 4.283679008483887, 4.2836384773254395, 4.283597469329834, 4.283556938171387, 4.283515930175781, 4.283475399017334, 4.2834343910217285, 4.283393383026123, 4.283352851867676, 4.28331184387207, 4.283271312713623, 4.283230304718018, 4.283189296722412, 4.283148765563965, 4.283107757568359, 4.283066749572754, 4.283026218414307, 4.282985210418701, 4.282944202423096, 4.28290319442749, 4.282862663269043, 4.2828216552734375, 4.282780647277832, 4.282739639282227, 4.282698631286621, 4.282658100128174, 4.282617092132568, 4.282576084136963, 4.282535076141357, 4.282494068145752, 4.2824530601501465, 4.282412052154541, 4.2823710441589355, 4.28233003616333, 4.282289028167725, 4.282248020172119, 4.282207012176514, 4.282166004180908, 4.282124996185303, 4.282083988189697, 4.282042980194092, 4.282001972198486, 4.281960487365723, 4.281919479370117, 4.281878471374512, 4.281837463378906, 4.281796455383301, 4.281754970550537, 4.281713962554932, 4.281672954559326, 4.281631946563721, 4.281590461730957, 4.281549453735352, 4.281508445739746, 4.281466960906982, 4.281425952911377, 4.2813849449157715, 4.281343460083008, 4.281302452087402, 4.281260967254639, 4.281219959259033, 4.281178951263428, 4.281137466430664, 4.281096458435059, 4.281054973602295, 4.2810139656066895, 4.280972480773926, 4.28093147277832, 4.280889987945557, 4.280848503112793, 4.2808074951171875, 4.280766010284424, 4.28072452545166, 4.280683517456055, 4.280642032623291, 4.280600547790527, 4.280559539794922, 4.280518054962158, 4.2804765701293945, 4.280435562133789, 4.280394077301025, 4.280352592468262, 4.280311107635498, 4.280269622802734, 4.280228137969971, 4.280187129974365, 4.280145645141602, 4.280104160308838, 4.280062675476074, 4.2800211906433105, 4.279979705810547, 4.279938220977783, 4.2798967361450195, 4.279855251312256, 4.279813766479492, 4.2797722816467285, 4.279730796813965, 4.279689311981201, 4.2796478271484375, 4.279606342315674, 4.27956485748291, 4.2795233726501465, 4.279481410980225, 4.279439926147461, 4.279398441314697, 4.279356956481934, 4.27931547164917, 4.279273509979248, 4.279232025146484, 4.279190540313721, 4.279149055480957, 4.279107093811035, 4.2790656089782715, 4.279024124145508, 4.278982162475586, 4.278940677642822, 4.278899192810059, 4.278857231140137, 4.278815746307373, 4.278773784637451, 4.2787322998046875, 4.278690338134766, 4.278648853302002, 4.27860689163208, 4.278565406799316, 4.2785234451293945, 4.278481960296631, 4.278439998626709, 4.278398513793945, 4.278356552124023, 4.278314590454102, 4.278273105621338, 4.278231143951416, 4.278189182281494, 4.2781476974487305, 4.278105735778809, 4.278063774108887, 4.278022289276123, 4.277980327606201, 4.277938365936279, 4.277896404266357, 4.2778544425964355, 4.277812957763672, 4.27777099609375, 4.277729034423828, 4.277687072753906, 4.277645111083984, 4.2776031494140625, 4.277561187744141, 4.277519226074219, 4.277477264404297, 4.277435302734375, 4.277393341064453, 4.277351379394531, 4.277309417724609, 4.2772674560546875, 4.277225494384766, 4.277183532714844, 4.277141571044922, 4.277099609375, 4.277057647705078, 4.277015209197998, 4.276973247528076, 4.276931285858154, 4.276889324188232, 4.2768473625183105, 4.2768049240112305, 4.276762962341309, 4.276721000671387, 4.276679039001465, 4.276636600494385, 4.276594638824463, 4.276552677154541, 4.276510238647461, 4.276468276977539, 4.276425838470459, 4.276383876800537, 4.276341915130615, 4.276299476623535, 4.276257514953613, 4.276215076446533, 4.276173114776611, 4.276130676269531, 4.276088714599609, 4.276046276092529, 4.276003837585449, 4.275961875915527, 4.275919437408447, 4.275877475738525, 4.275835037231445, 4.275792598724365, 4.275750637054443, 4.275708198547363, 4.275665760040283, 4.275623321533203, 4.275581359863281, 4.275538921356201, 4.275496482849121, 4.275454044342041, 4.275411605834961, 4.275369644165039, 4.275327205657959, 4.275284767150879, 4.275242328643799, 4.275199890136719, 4.275157451629639, 4.275115013122559, 4.2750725746154785, 4.275030136108398, 4.274987697601318, 4.274945259094238, 4.274902820587158, 4.274860382080078, 4.274817943572998, 4.274775505065918, 4.274733066558838, 4.274690628051758, 4.274648189544678, 4.2746052742004395, 4.274562835693359, 4.274520397186279, 4.274477958679199, 4.274435520172119, 4.274392604827881, 4.274350166320801, 4.274307727813721, 4.274264812469482, 4.274222373962402, 4.274179935455322, 4.274137020111084, 4.274094581604004, 4.274052143096924, 4.2740092277526855, 4.2739667892456055, 4.273923873901367, 4.273881435394287, 4.273838520050049, 4.273796081542969, 4.2737531661987305, 4.27371072769165, 4.273667812347412, 4.273625373840332, 4.273582458496094, 4.273540019989014, 4.273497104644775, 4.273454189300537, 4.273411750793457, 4.273368835449219, 4.2733259201049805, 4.273283004760742, 4.273240566253662, 4.273197650909424, 4.2731547355651855, 4.273111820220947, 4.273069381713867, 4.273026466369629, 4.272983551025391, 4.272940635681152, 4.272897720336914, 4.272854804992676, 4.2728118896484375, 4.272768974304199, 4.272726535797119, 4.272683620452881, 4.272640705108643, 4.272597789764404, 4.272554874420166, 4.2725114822387695, 4.272468566894531, 4.272425651550293, 4.272382736206055, 4.272339820861816, 4.272296905517578, 4.27225399017334, 4.272211074829102, 4.272168159484863, 4.272124767303467, 4.2720818519592285, 4.27203893661499, 4.271996021270752, 4.2719526290893555, 4.271909713745117, 4.271866798400879, 4.271823406219482, 4.271780490875244, 4.271737575531006, 4.271694183349609, 4.271651268005371, 4.271607875823975, 4.271564960479736, 4.271522045135498, 4.271478652954102, 4.271435737609863, 4.271392345428467, 4.27134895324707, 4.271306037902832, 4.2712626457214355, 4.271219730377197, 4.271176338195801, 4.2711334228515625, 4.271090030670166, 4.2710466384887695, 4.271003723144531, 4.270960330963135, 4.270916938781738, 4.270873546600342, 4.2708306312561035, 4.270787239074707, 4.2707438468933105, 4.270700454711914, 4.270657062530518, 4.270614147186279, 4.270570755004883, 4.270527362823486, 4.27048397064209, 4.270440578460693, 4.270397186279297, 4.2703537940979, 4.270310401916504, 4.270267009735107, 4.270223617553711, 4.2701802253723145, 4.270136833190918, 4.2700934410095215, 4.270050048828125, 4.2700066566467285, 4.269963264465332, 4.2699198722839355, 4.269876003265381, 4.269832611083984, 4.269789218902588, 4.269745826721191, 4.269702434539795, 4.26965856552124, 4.269615173339844, 4.269571781158447, 4.269527912139893, 4.269484519958496, 4.2694411277771, 4.269397258758545, 4.269353866577148, 4.269310474395752, 4.269266605377197, 4.269223213195801, 4.269179344177246, 4.26913595199585, 4.269092082977295, 4.269048690795898, 4.269004821777344, 4.268961429595947, 4.268917560577393, 4.268874168395996, 4.268830299377441, 4.268786430358887, 4.26874303817749, 4.2686991691589355, 4.268655300140381, 4.268611907958984, 4.26856803894043, 4.268524169921875, 4.26848030090332, 4.268436908721924, 4.268393039703369, 4.2683491706848145, 4.26830530166626, 4.268261432647705, 4.26821756362915, 4.268174171447754, 4.268130302429199, 4.2680864334106445, 4.26804256439209, 4.267998695373535, 4.2679548263549805, 4.267910957336426, 4.267867088317871, 4.267823219299316, 4.267779350280762, 4.267735481262207, 4.267691612243652, 4.2676472663879395, 4.267603397369385, 4.26755952835083, 4.267515659332275, 4.267471790313721, 4.267427921295166, 4.267383575439453, 4.267339706420898, 4.267295837402344, 4.267251968383789, 4.267207622528076, 4.2671637535095215, 4.267119884490967, 4.267075538635254, 4.267031669616699, 4.266987323760986, 4.266943454742432, 4.266899585723877, 4.266855239868164, 4.266811370849609, 4.2667670249938965, 4.266723155975342, 4.266678810119629, 4.266634941101074, 4.266590595245361, 4.266546249389648, 4.266502380371094, 4.266458034515381, 4.266413688659668, 4.266369819641113, 4.2663254737854, 4.2662811279296875, 4.266237258911133, 4.26619291305542, 4.266148567199707, 4.266104221343994, 4.2660603523254395, 4.266016006469727, 4.265971660614014, 4.265927314758301, 4.265882968902588, 4.265838623046875, 4.265794277191162, 4.265749931335449, 4.265705585479736, 4.265661239624023, 4.2656168937683105, 4.265572547912598, 4.265528202056885, 4.265483856201172, 4.265439510345459, 4.265395164489746, 4.265350818634033, 4.26530647277832, 4.265262126922607, 4.2652177810668945, 4.265172958374023, 4.2651286125183105, 4.265084266662598, 4.265039920806885, 4.264995574951172, 4.264950752258301, 4.264906406402588, 4.264862060546875, 4.264817237854004, 4.264772891998291, 4.264728546142578, 4.264683723449707, 4.264639377593994, 4.264594554901123, 4.26455020904541, 4.264505386352539, 4.264461040496826, 4.264416217803955, 4.264371871948242, 4.264327049255371, 4.264282703399658, 4.264237880706787, 4.264193058013916, 4.264148712158203, 4.264103889465332, 4.264059066772461, 4.264014720916748, 4.263969898223877, 4.263925075531006, 4.263880729675293, 4.263835906982422, 4.263791084289551, 4.26374626159668, 4.263701438903809, 4.2636566162109375, 4.263612270355225, 4.2635674476623535, 4.263522624969482, 4.263477802276611, 4.26343297958374, 4.263388156890869, 4.263343334197998, 4.263298511505127, 4.263253688812256, 4.263208866119385, 4.263164043426514, 4.263119220733643, 4.2630743980407715, 4.263029098510742, 4.262984275817871, 4.262939453125, 4.262894630432129, 4.262849807739258, 4.262804985046387, 4.262759685516357, 4.262714862823486, 4.262670040130615, 4.262624740600586, 4.262579917907715, 4.262535095214844, 4.2624897956848145, 4.262444972991943, 4.262400150299072, 4.262354850769043, 4.262310028076172, 4.262264728546143, 4.2622199058532715, 4.262174606323242, 4.262129783630371, 4.262084484100342, 4.262039661407471, 4.261994361877441, 4.261949062347412, 4.261904239654541, 4.261858940124512, 4.261813640594482, 4.261768817901611, 4.261723518371582, 4.261678218841553, 4.261633396148682, 4.261588096618652, 4.261542797088623, 4.261497497558594, 4.2614521980285645, 4.261407375335693, 4.261362075805664, 4.261316776275635, 4.2612714767456055, 4.261226177215576, 4.261180877685547, 4.261135578155518, 4.261090278625488, 4.261044979095459, 4.26099967956543, 4.2609543800354, 4.260909080505371, 4.260863780975342, 4.2608184814453125, 4.260773181915283, 4.260727882385254, 4.260682106018066, 4.260636806488037, 4.260591506958008, 4.2605462074279785, 4.260500431060791, 4.260455131530762, 4.260409832000732, 4.260364532470703, 4.260318756103516, 4.260273456573486, 4.260228157043457, 4.2601823806762695, 4.26013708114624, 4.260091304779053, 4.260046005249023, 4.260000228881836, 4.259954929351807, 4.259909152984619, 4.25986385345459, 4.259818077087402, 4.259772777557373, 4.2597270011901855, 4.259681701660156, 4.259635925292969, 4.259590148925781, 4.259544849395752, 4.2594990730285645, 4.259453296661377, 4.2594075202941895, 4.25936222076416, 4.259316444396973, 4.259270668029785, 4.259224891662598, 4.25917911529541, 4.259133815765381, 4.259088039398193, 4.259042263031006, 4.258996486663818, 4.258950710296631, 4.258904933929443, 4.258859157562256, 4.258813381195068, 4.258767604827881, 4.258721828460693, 4.258676052093506, 4.258630275726318, 4.258584499359131, 4.258538722991943, 4.258492469787598, 4.25844669342041, 4.258400917053223, 4.258355140686035, 4.258309364318848, 4.258263111114502, 4.2582173347473145, 4.258171558380127, 4.2581257820129395, 4.258079528808594, 4.258033752441406, 4.2579874992370605, 4.257941722869873, 4.2578959465026855, 4.25784969329834, 4.257803916931152, 4.257757663726807, 4.257711887359619, 4.257665634155273, 4.257619857788086, 4.25757360458374, 4.257527828216553, 4.257481575012207, 4.257435321807861, 4.257389545440674, 4.257343292236328, 4.257297039031982, 4.257251262664795, 4.257205009460449, 4.2571587562561035, 4.257112503051758, 4.25706672668457, 4.257020473480225, 4.256974220275879, 4.256927967071533, 4.2568817138671875, 4.256835460662842, 4.256789207458496, 4.256743431091309, 4.256697177886963, 4.256650924682617, 4.2566046714782715, 4.256558418273926, 4.25651216506958, 4.256465911865234, 4.2564191818237305, 4.256372928619385, 4.256326675415039, 4.256280422210693, 4.256234169006348, 4.256187915802002, 4.256141185760498, 4.256094932556152, 4.256048679351807, 4.256002426147461, 4.255955696105957, 4.255909442901611, 4.255863189697266, 4.255816459655762, 4.255770206451416, 4.25572395324707, 4.255677223205566, 4.255630970001221, 4.255584239959717, 4.255537986755371, 4.255491256713867, 4.2554450035095215, 4.255398273468018, 4.255352020263672, 4.255305290222168, 4.255259037017822, 4.255212306976318, 4.2551655769348145, 4.255119323730469, 4.255072593688965, 4.255025863647461, 4.254979133605957, 4.254932880401611, 4.254886150360107, 4.2548394203186035, 4.2547926902771, 4.254745960235596, 4.25469970703125, 4.254652976989746, 4.254606246948242, 4.254559516906738, 4.254512786865234, 4.2544660568237305, 4.254419326782227, 4.254372596740723, 4.254325866699219, 4.254279136657715, 4.254232406616211, 4.254185676574707, 4.254138946533203, 4.254091739654541, 4.254045009613037, 4.253998279571533, 4.253951549530029, 4.253904819488525, 4.253857612609863, 4.253810882568359, 4.2537641525268555, 4.253716945648193, 4.2536702156066895, 4.2536234855651855, 4.253576278686523, 4.2535295486450195, 4.253482818603516, 4.2534356117248535, 4.25338888168335, 4.2533416748046875, 4.253294944763184, 4.2532477378845215, 4.253201007843018, 4.2531538009643555, 4.253106594085693, 4.2530598640441895, 4.253012657165527, 4.252965927124023, 4.252918720245361, 4.252871513366699, 4.252824306488037, 4.252777576446533, 4.252730369567871, 4.252683162689209, 4.252635955810547, 4.252588748931885, 4.252542018890381, 4.252494812011719, 4.252447605133057, 4.2524003982543945, 4.252353191375732, 4.25230598449707, 4.252258777618408, 4.252211570739746, 4.252164363861084, 4.252117156982422, 4.25206995010376, 4.252022743225098, 4.2519755363464355, 4.251928329467773, 4.251880645751953, 4.251833438873291, 4.251786231994629, 4.251739025115967, 4.251691818237305, 4.251644134521484, 4.251596927642822, 4.25154972076416, 4.25150203704834, 4.251454830169678, 4.251407623291016, 4.251359939575195, 4.251312732696533, 4.251265048980713, 4.251217842102051, 4.2511701583862305, 4.251122951507568, 4.251075267791748, 4.251028060913086, 4.250980377197266, 4.2509331703186035, 4.250885486602783, 4.250837802886963, 4.250790596008301, 4.2507429122924805, 4.25069522857666, 4.250648021697998, 4.250600337982178, 4.250552654266357, 4.250504970550537, 4.250457286834717, 4.250410079956055, 4.250362396240234, 4.250314712524414, 4.250267028808594, 4.250219345092773, 4.250171661376953, 4.250123977661133, 4.2500762939453125, 4.250028610229492, 4.249980926513672, 4.249933242797852, 4.249885559082031, 4.249837875366211, 4.249790191650391, 4.249742031097412, 4.249694347381592, 4.2496466636657715, 4.249598979949951, 4.249551296234131, 4.249503135681152, 4.249455451965332, 4.249407768249512, 4.249359607696533, 4.249311923980713, 4.249264240264893, 4.249216079711914, 4.249168395996094, 4.249120235443115, 4.249072551727295, 4.249024391174316, 4.248976707458496, 4.248928546905518, 4.248880863189697, 4.248832702636719, 4.248785018920898, 4.24873685836792, 4.248688697814941, 4.248641014099121, 4.248592853546143, 4.248544692993164, 4.248497009277344, 4.248448848724365, 4.248400688171387, 4.248352527618408, 4.24830436706543, 4.248256683349609, 4.248208522796631, 4.248160362243652, 4.248112201690674, 4.248064041137695, 4.248015880584717, 4.247967720031738, 4.24791955947876, 4.247871398925781, 4.247823238372803, 4.247775077819824, 4.247726917266846, 4.247678756713867, 4.2476301193237305, 4.247581958770752, 4.247533798217773, 4.247485637664795, 4.247437477111816, 4.24738883972168, 4.247340679168701, 4.247292518615723, 4.247243881225586, 4.247195720672607, 4.247147560119629, 4.247098922729492, 4.247050762176514, 4.247002124786377, 4.246953964233398, 4.246905326843262, 4.246857166290283, 4.2468085289001465, 4.246760368347168, 4.246711730957031, 4.246663570404053, 4.246614933013916, 4.246566295623779, 4.246518135070801, 4.246469497680664, 4.246420860290527, 4.246372699737549, 4.246324062347412, 4.246275424957275, 4.246226787567139, 4.246178150177002, 4.246129989624023, 4.246081352233887, 4.24603271484375, 4.245984077453613, 4.245935440063477, 4.24588680267334, 4.245838165283203, 4.245789527893066, 4.24574089050293, 4.245692253112793, 4.245643615722656, 4.2455949783325195, 4.245546340942383, 4.245497226715088, 4.245448589324951, 4.2453999519348145, 4.245351314544678, 4.245302677154541, 4.245253562927246, 4.245204925537109, 4.245156288146973, 4.245107173919678, 4.245058536529541, 4.245009899139404, 4.244960784912109, 4.244912147521973, 4.244863033294678, 4.244814395904541, 4.244765281677246, 4.244716644287109, 4.2446675300598145, 4.244618892669678, 4.244569778442383, 4.244520664215088, 4.244472026824951, 4.244422912597656, 4.244373798370361, 4.244325160980225, 4.24427604675293, 4.244226932525635, 4.24417781829834, 4.244129180908203, 4.244080066680908, 4.244030952453613, 4.243981838226318, 4.243932723999023, 4.2438836097717285, 4.243834495544434, 4.243785381317139, 4.243736267089844, 4.243687152862549, 4.243638038635254, 4.243588924407959, 4.243539810180664, 4.243490695953369, 4.243441581726074, 4.243392467498779, 4.243342876434326, 4.243293762207031, 4.243244647979736, 4.243195533752441, 4.243145942687988, 4.243096828460693, 4.243047714233398, 4.242998123168945, 4.24294900894165, 4.2428998947143555, 4.242850303649902, 4.242801189422607, 4.242751598358154, 4.242702484130859, 4.242652893066406, 4.242603778839111, 4.242554187774658, 4.242505073547363, 4.24245548248291, 4.242405891418457, 4.242356777191162, 4.242307186126709, 4.242257595062256, 4.242208480834961, 4.242158889770508, 4.242109298706055, 4.242059707641602, 4.242010116577148, 4.2419610023498535, 4.2419114112854, 4.241861820220947, 4.241812229156494, 4.241762638092041, 4.241713047027588, 4.241663455963135, 4.241613864898682, 4.2415642738342285, 4.241514682769775, 4.241465091705322, 4.241415500640869, 4.241365432739258, 4.241315841674805, 4.241266250610352, 4.241216659545898, 4.241167068481445, 4.241117000579834, 4.241067409515381, 4.241017818450928, 4.240967750549316, 4.240918159484863, 4.24086856842041, 4.240818500518799, 4.240768909454346, 4.240718841552734, 4.240669250488281, 4.24061918258667, 4.240569591522217, 4.2405195236206055, 4.240469932556152, 4.240419864654541, 4.240370273590088, 4.240320205688477, 4.240270137786865, 4.240220546722412, 4.240170478820801, 4.2401204109191895, 4.240070343017578, 4.240020751953125, 4.239970684051514, 4.239920616149902, 4.239870548248291, 4.23982048034668, 4.239770412445068, 4.239720344543457, 4.239670276641846, 4.239620208740234, 4.239570140838623, 4.239520072937012, 4.2394700050354, 4.239419937133789, 4.239369869232178, 4.239319801330566, 4.239269733428955, 4.239219665527344, 4.239169120788574, 4.239119052886963, 4.239068984985352, 4.23901891708374, 4.238968372344971, 4.238918304443359, 4.238868236541748, 4.2388176918029785, 4.238767623901367, 4.238717079162598, 4.238667011260986, 4.238616466522217, 4.2385663986206055, 4.238515853881836, 4.238465785980225, 4.238415241241455, 4.238365173339844, 4.238314628601074, 4.238264083862305, 4.238214015960693, 4.238163471221924, 4.238112926483154, 4.238062381744385, 4.238012313842773, 4.237961769104004, 4.237911224365234, 4.237860679626465, 4.237810134887695, 4.237759590148926, 4.237709045410156, 4.237658977508545, 4.237608432769775, 4.237557888031006, 4.237507343292236, 4.237456321716309, 4.237405776977539, 4.2373552322387695, 4.2373046875, 4.2372541427612305, 4.237203598022461, 4.237153053283691, 4.237102031707764, 4.237051486968994, 4.237000942230225, 4.236950397491455, 4.236899375915527, 4.236848831176758, 4.236798286437988, 4.2367472648620605, 4.236696720123291, 4.236645698547363, 4.236595153808594, 4.236544132232666, 4.2364935874938965, 4.236442565917969, 4.236392021179199, 4.2363409996032715, 4.236289978027344, 4.236239433288574, 4.2361884117126465, 4.236137390136719, 4.236086845397949, 4.2360358238220215, 4.235984802246094, 4.235933780670166, 4.235882759094238, 4.235832214355469, 4.235781192779541, 4.235730171203613, 4.2356791496276855, 4.235628128051758, 4.23557710647583, 4.235526084899902, 4.235475063323975, 4.235424041748047, 4.235373020172119, 4.235321998596191, 4.2352705001831055, 4.235219478607178, 4.23516845703125, 4.235117435455322, 4.2350664138793945, 4.235014915466309, 4.234963893890381, 4.234912872314453, 4.234861373901367, 4.2348103523254395, 4.234759330749512, 4.234707832336426, 4.234656810760498, 4.234605312347412, 4.234554290771484, 4.234502792358398, 4.234451770782471, 4.234400272369385, 4.234349250793457, 4.234297752380371, 4.234246253967285, 4.234195232391357, 4.2341437339782715, 4.2340922355651855, 4.234041213989258, 4.233989715576172, 4.233938217163086, 4.23388671875, 4.233835220336914, 4.233783721923828, 4.2337327003479, 4.2336812019348145, 4.2336297035217285, 4.233578205108643, 4.233526706695557, 4.233475208282471, 4.233423709869385, 4.233371734619141, 4.233320236206055, 4.233268737792969, 4.233217239379883, 4.233165740966797, 4.233114242553711, 4.233062267303467, 4.233010768890381, 4.232959270477295, 4.232907772064209, 4.232855796813965, 4.232804298400879, 4.232752323150635, 4.232700824737549, 4.232649326324463, 4.232597351074219, 4.232545852661133, 4.232493877410889, 4.232442378997803, 4.232390403747559, 4.2323384284973145, 4.2322869300842285, 4.232234954833984, 4.23218297958374, 4.232131481170654, 4.23207950592041, 4.232027530670166, 4.231975555419922, 4.231924057006836, 4.231872081756592, 4.231820106506348, 4.2317681312561035, 4.231716156005859, 4.231664180755615, 4.231612205505371, 4.231560230255127, 4.231508255004883, 4.231456279754639, 4.2314043045043945, 4.23135232925415, 4.231300354003906, 4.231248378753662, 4.23119592666626, 4.231143951416016, 4.2310919761657715, 4.231040000915527, 4.230987548828125, 4.230935573577881, 4.230883598327637, 4.230831146240234, 4.23077917098999, 4.230727195739746, 4.230674743652344, 4.2306227684021, 4.230570316314697, 4.230518341064453, 4.230465888977051, 4.230413436889648, 4.230361461639404, 4.230309009552002, 4.230257034301758, 4.2302045822143555, 4.230152130126953, 4.230099678039551, 4.230047702789307, 4.229995250701904, 4.229942798614502, 4.2298903465271, 4.229837894439697, 4.229785442352295, 4.229732990264893, 4.229681015014648, 4.229628562927246, 4.229576110839844, 4.229523181915283, 4.229470729827881, 4.2294182777404785, 4.229365825653076, 4.229313373565674, 4.2292609214782715, 4.229208469390869, 4.229155540466309, 4.229103088378906, 4.229050636291504, 4.228998184204102, 4.228945255279541, 4.228892803192139, 4.228840351104736, 4.228787422180176, 4.228734970092773, 4.228682041168213, 4.2286295890808105, 4.22857666015625, 4.228524208068848, 4.228471279144287, 4.228418827056885, 4.228365898132324, 4.228312969207764, 4.228260517120361, 4.228207588195801, 4.22815465927124, 4.22810173034668, 4.228049278259277, 4.227996349334717, 4.227943420410156, 4.227890491485596, 4.227837562561035, 4.227784633636475, 4.227731704711914, 4.2276787757873535, 4.227625846862793, 4.227572917938232, 4.227519989013672, 4.227467060089111, 4.227414131164551, 4.22736120223999, 4.22730827331543, 4.227254867553711, 4.22720193862915, 4.22714900970459, 4.227096080780029, 4.2270426750183105, 4.22698974609375, 4.2269368171691895, 4.226883411407471, 4.22683048248291, 4.226777076721191, 4.226724147796631, 4.226670742034912, 4.226617813110352, 4.226564407348633, 4.226511478424072, 4.2264580726623535, 4.226405143737793, 4.226351737976074, 4.2262983322143555, 4.226244926452637, 4.226191997528076, 4.226138591766357, 4.226085186004639, 4.22603178024292, 4.225978374481201, 4.225925445556641, 4.225872039794922, 4.225818634033203, 4.225765228271484, 4.225711822509766, 4.225658416748047, 4.225605010986328, 4.225551605224609, 4.225497722625732, 4.225444316864014, 4.225390911102295, 4.225337505340576, 4.225284099578857, 4.2252302169799805, 4.225176811218262, 4.225123405456543, 4.225069999694824, 4.225016117095947, 4.2249627113342285, 4.224908828735352, 4.224855422973633, 4.224801540374756, 4.224748134613037, 4.22469425201416, 4.224640846252441, 4.2245869636535645, 4.224533557891846, 4.224479675292969, 4.224425792694092, 4.224372386932373, 4.224318504333496, 4.224264621734619, 4.224210739135742, 4.224157333374023, 4.2241034507751465, 4.2240495681762695, 4.223995685577393, 4.223941802978516, 4.223887920379639, 4.223834037780762, 4.223780155181885, 4.223726272583008, 4.223672389984131, 4.223618507385254, 4.223564624786377, 4.2235107421875, 4.223456382751465, 4.223402500152588, 4.223348617553711, 4.223294734954834, 4.223240852355957, 4.223186492919922, 4.223132610321045, 4.22307825088501, 4.223024368286133, 4.222970485687256, 4.222916126251221, 4.222862243652344, 4.222807884216309, 4.222754001617432, 4.2226996421813965, 4.222645282745361, 4.222591400146484, 4.222537040710449, 4.222482681274414, 4.222428798675537, 4.222374439239502, 4.222320079803467, 4.222265720367432, 4.222211837768555, 4.2221574783325195, 4.222103118896484, 4.222048759460449, 4.221994400024414, 4.221940040588379, 4.221885681152344, 4.221831321716309, 4.221776962280273, 4.221722602844238, 4.221668243408203, 4.221613883972168, 4.221559047698975, 4.2215046882629395, 4.221450328826904, 4.221395969390869, 4.221341133117676, 4.221286773681641, 4.2212324142456055, 4.221177577972412, 4.221123218536377, 4.221068382263184, 4.221014022827148, 4.220959663391113, 4.22090482711792, 4.220849990844727, 4.220795631408691, 4.220740795135498, 4.220686435699463, 4.2206315994262695, 4.220576763153076, 4.220521926879883, 4.220467567443848, 4.220412731170654, 4.220357894897461, 4.220303058624268, 4.220248222351074, 4.220193862915039, 4.220139026641846, 4.220084190368652, 4.220029354095459, 4.219974517822266, 4.219919681549072, 4.219864368438721, 4.219809532165527, 4.219754695892334, 4.219699859619141, 4.219645023345947, 4.219590187072754, 4.219534873962402, 4.219480037689209, 4.219425201416016, 4.219369888305664, 4.219315052032471, 4.219260215759277, 4.219204902648926, 4.219150066375732, 4.219094753265381, 4.2190399169921875, 4.218984603881836, 4.218929767608643, 4.218874454498291, 4.2188191413879395, 4.218764305114746, 4.2187089920043945, 4.218653678894043, 4.21859884262085, 4.218543529510498, 4.2184882164001465, 4.218432903289795, 4.218377590179443, 4.218322277069092, 4.21826696395874, 4.218211650848389, 4.218156814575195, 4.2181010246276855, 4.218045711517334, 4.217990398406982, 4.217935085296631, 4.217879772186279, 4.217824459075928, 4.217769145965576, 4.217713832855225, 4.217658042907715, 4.217602729797363, 4.217547416687012, 4.217491626739502, 4.21743631362915, 4.217380523681641, 4.217325210571289, 4.2172698974609375, 4.217214107513428, 4.217158794403076, 4.217103004455566, 4.217047214508057, 4.216991901397705, 4.216936111450195, 4.2168803215026855, 4.216825008392334, 4.216769218444824, 4.2167134284973145, 4.216657638549805, 4.216602325439453, 4.216546535491943, 4.216490745544434, 4.216434955596924, 4.216379165649414, 4.216323375701904, 4.2162675857543945, 4.216211795806885, 4.216156005859375, 4.216100215911865, 4.2160444259643555, 4.2159881591796875, 4.215932369232178, 4.215876579284668, 4.215820789337158, 4.215764999389648, 4.2157087326049805, 4.215652942657471, 4.215597152709961, 4.215540885925293, 4.215485095977783, 4.215428829193115, 4.2153730392456055, 4.2153167724609375, 4.215260982513428, 4.21520471572876, 4.215148448944092, 4.215092658996582, 4.215036392211914, 4.214980125427246, 4.214924335479736, 4.214868068695068, 4.2148118019104, 4.214755535125732, 4.2146992683410645, 4.2146430015563965, 4.214587211608887, 4.214530944824219, 4.214474678039551, 4.214418411254883, 4.214362144470215, 4.214305400848389, 4.214249134063721, 4.214192867279053, 4.214136600494385, 4.214080333709717, 4.214024066925049, 4.213967323303223, 4.213911056518555, 4.213854789733887, 4.2137980461120605, 4.213741779327393, 4.213685512542725, 4.213628768920898, 4.2135725021362305, 4.213515758514404, 4.213459491729736, 4.21340274810791, 4.213346004486084, 4.213289737701416, 4.21323299407959, 4.213176250457764, 4.213119983673096, 4.2130632400512695, 4.213006496429443, 4.212949752807617, 4.212893009185791, 4.212836742401123, 4.212779998779297, 4.212723255157471, 4.2126665115356445, 4.212609767913818, 4.212553024291992, 4.212496280670166, 4.212439060211182, 4.2123823165893555, 4.212325572967529, 4.212268829345703, 4.212212085723877, 4.212155342102051, 4.212098121643066, 4.21204137802124, 4.211984634399414, 4.21192741394043, 4.2118706703186035, 4.211813449859619, 4.211756706237793, 4.211699485778809, 4.211642742156982, 4.211585521697998, 4.211528778076172, 4.2114715576171875, 4.211414337158203, 4.211357593536377, 4.211300373077393, 4.211243152618408, 4.211185932159424, 4.2111287117004395, 4.211071968078613, 4.211014747619629, 4.2109575271606445, 4.21090030670166, 4.210843086242676, 4.210785865783691, 4.210728645324707, 4.210671424865723, 4.210614204406738, 4.210556507110596, 4.210499286651611, 4.210442066192627, 4.210384845733643, 4.210327625274658, 4.210269927978516, 4.210212707519531, 4.210155487060547, 4.210097789764404, 4.21004056930542, 4.209982872009277, 4.209925651550293, 4.20986795425415, 4.209810733795166, 4.209753036499023, 4.209695339202881, 4.2096381187438965, 4.209580421447754, 4.209522724151611, 4.209465503692627, 4.209407806396484, 4.209350109100342, 4.209292411804199, 4.209234714508057, 4.209177017211914, 4.2091193199157715, 4.209061622619629, 4.209003925323486, 4.208946228027344, 4.208888530731201, 4.208830833435059, 4.208773136138916, 4.208715438842773, 4.208657741546631, 4.20859956741333, 4.2085418701171875, 4.208484172821045, 4.208426475524902, 4.208368301391602, 4.208310604095459, 4.208252429962158, 4.208194732666016, 4.208136558532715, 4.208078861236572, 4.2080206871032715, 4.207962989807129, 4.207904815673828, 4.207846641540527, 4.207788944244385, 4.207730770111084, 4.207672595977783, 4.207614421844482, 4.20755672454834, 4.207498550415039, 4.207440376281738, 4.2073822021484375, 4.207324028015137, 4.207265853881836, 4.207207679748535, 4.207149505615234, 4.207091331481934, 4.207033157348633, 4.206974983215332, 4.206916332244873, 4.206858158111572, 4.2067999839782715, 4.206741809844971, 4.206683158874512, 4.206624984741211, 4.20656681060791, 4.206508159637451, 4.20644998550415, 4.206391334533691, 4.206333160400391, 4.206274509429932, 4.206216335296631, 4.206157684326172, 4.206099033355713, 4.206040859222412, 4.205982208251953, 4.205923557281494, 4.205864906311035, 4.205806732177734, 4.205748081207275, 4.205689430236816, 4.205630779266357, 4.205572128295898, 4.2055134773254395, 4.2054548263549805, 4.2053961753845215, 4.2053375244140625, 4.2052788734436035, 4.2052202224731445, 4.2051615715026855, 4.205102443695068, 4.205043792724609, 4.20498514175415, 4.204926013946533, 4.204867362976074, 4.204808712005615, 4.204749584197998, 4.204690933227539, 4.204631805419922, 4.204573154449463, 4.204514026641846, 4.204455375671387, 4.2043962478637695, 4.2043375968933105, 4.204278469085693, 4.204219341278076, 4.204160213470459, 4.2041015625, 4.204042434692383, 4.203983306884766, 4.203924179077148, 4.203865051269531, 4.203805923461914, 4.203746795654297, 4.20368766784668, 4.2036285400390625, 4.203569412231445, 4.203510284423828, 4.203451156616211, 4.203392028808594, 4.203332424163818, 4.203273296356201, 4.203214168548584, 4.203154563903809, 4.203095436096191, 4.203036308288574, 4.202976703643799, 4.202917575836182, 4.202857971191406, 4.202798843383789, 4.202739238739014, 4.2026801109313965, 4.202620506286621, 4.202560901641846, 4.2025017738342285, 4.202442169189453, 4.202382564544678, 4.202322959899902, 4.202263355255127, 4.20220422744751, 4.202144622802734, 4.202085018157959, 4.202025413513184, 4.201965808868408, 4.201906204223633, 4.201846599578857, 4.201786994934082, 4.201726913452148, 4.201667308807373, 4.201607704162598, 4.201548099517822, 4.201488018035889, 4.201428413391113, 4.201368808746338, 4.201308727264404, 4.201249122619629, 4.201189041137695, 4.20112943649292, 4.201069355010986, 4.201009750366211, 4.200949668884277, 4.200890064239502, 4.200829982757568, 4.200769901275635, 4.200710296630859, 4.200650215148926, 4.200590133666992, 4.200530052185059, 4.200469970703125, 4.200409889221191, 4.200349807739258, 4.200289726257324, 4.200229644775391, 4.200169563293457, 4.200109481811523, 4.20004940032959, 4.199989318847656, 4.199929237365723, 4.199869155883789, 4.199808597564697, 4.199748516082764, 4.19968843460083, 4.199627876281738, 4.199567794799805, 4.199507236480713, 4.199447154998779, 4.1993865966796875, 4.199326515197754, 4.199265956878662, 4.1992058753967285, 4.199145317077637, 4.199084758758545, 4.199024677276611, 4.1989641189575195, 4.198903560638428, 4.198843002319336, 4.198782444000244, 4.1987223625183105, 4.198661804199219, 4.198601245880127, 4.198540687561035, 4.198480129241943, 4.198419570922852, 4.198358535766602, 4.19829797744751, 4.198237419128418, 4.198176860809326, 4.198116302490234, 4.198055267333984, 4.197994709014893, 4.197934150695801, 4.197873115539551, 4.197812557220459, 4.197751522064209, 4.197690963745117, 4.197629928588867, 4.197569370269775, 4.197508335113525, 4.197447776794434, 4.197386741638184, 4.197325706481934, 4.197264671325684, 4.197204113006592, 4.197143077850342, 4.197082042694092, 4.197021007537842, 4.196959972381592, 4.196898937225342, 4.196837902069092, 4.196776866912842, 4.196715831756592, 4.196654796600342, 4.196593761444092, 4.196532726287842, 4.196471214294434, 4.196410179138184, 4.196349143981934, 4.196287631988525, 4.196226596832275, 4.196165561676025, 4.196104049682617, 4.196043014526367, 4.195981502532959, 4.195920467376709, 4.195858955383301, 4.195797920227051, 4.195736408233643, 4.195674896240234, 4.195613384246826, 4.195552349090576, 4.195490837097168, 4.19542932510376, 4.195367813110352, 4.195306301116943, 4.195244789123535, 4.195183277130127, 4.195121765136719, 4.1950602531433105, 4.194998741149902, 4.194937229156494, 4.194875717163086, 4.194814205169678, 4.194752216339111, 4.194690704345703, 4.194629192352295, 4.194567680358887, 4.19450569152832, 4.194444179534912, 4.194382190704346, 4.1943206787109375, 4.194258689880371, 4.194197177886963, 4.1941351890563965, 4.19407320022583, 4.194011688232422, 4.1939496994018555, 4.193887710571289, 4.193825721740723, 4.1937642097473145, 4.193702220916748, 4.193640232086182, 4.193578243255615, 4.193516254425049, 4.193454265594482, 4.193392276763916, 4.19333028793335, 4.193268299102783, 4.193205833435059, 4.193143844604492, 4.193081855773926, 4.193019866943359, 4.192957401275635, 4.192895412445068, 4.192833423614502, 4.192770957946777, 4.192708969116211, 4.192646503448486, 4.19258451461792, 4.192522048950195, 4.192460060119629, 4.192397594451904, 4.19233512878418, 4.192273139953613, 4.192210674285889, 4.192148208618164, 4.1920857429504395, 4.192023277282715, 4.19196081161499, 4.191898345947266, 4.191835880279541, 4.191773414611816, 4.191710948944092, 4.191648483276367, 4.191586017608643, 4.191523551940918, 4.191461086273193, 4.1913981437683105, 4.191335678100586, 4.191273212432861, 4.1912102699279785, 4.191147804260254, 4.191085338592529, 4.1910223960876465, 4.190959930419922, 4.190896987915039, 4.190834045410156, 4.190771579742432, 4.190708637237549, 4.190645694732666, 4.190583229064941, 4.190520286560059, 4.190457344055176, 4.190394401550293, 4.19033145904541, 4.190268516540527, 4.1902055740356445, 4.190142631530762, 4.190079689025879, 4.190016746520996, 4.189953804016113, 4.1898908615112305, 4.189827919006348, 4.189764499664307, 4.189701557159424, 4.189638614654541, 4.189575672149658, 4.189512252807617, 4.189449310302734, 4.189385890960693, 4.1893229484558105, 4.1892595291137695, 4.189196586608887, 4.189133167266846, 4.189069747924805, 4.189006805419922, 4.188943386077881, 4.18887996673584, 4.188816547393799, 4.188753128051758, 4.188689708709717, 4.188626289367676, 4.188563346862793, 4.188499450683594, 4.188436031341553, 4.188372611999512, 4.188309192657471, 4.18824577331543, 4.188182353973389, 4.188118934631348, 4.188055038452148, 4.187991619110107, 4.187928199768066, 4.187864303588867, 4.187800884246826, 4.187736988067627, 4.187673568725586, 4.187609672546387, 4.187546253204346, 4.1874823570251465, 4.187418460845947, 4.187355041503906, 4.187291145324707, 4.187227249145508, 4.187163352966309, 4.187099456787109, 4.18703556060791, 4.186971664428711, 4.186907768249512, 4.1868438720703125, 4.186779975891113, 4.186716079711914, 4.186652183532715, 4.186588287353516, 4.186524391174316, 4.186460018157959, 4.18639612197876, 4.1863322257995605, 4.186267852783203, 4.186203956604004, 4.1861395835876465, 4.186075687408447, 4.18601131439209, 4.185947418212891, 4.185883045196533, 4.185818672180176, 4.185754776000977, 4.185690402984619, 4.185626029968262, 4.185561656951904, 4.185497283935547, 4.185433387756348, 4.18536901473999, 4.185304641723633, 4.185240268707275, 4.185175895690918, 4.185111045837402, 4.185046672821045, 4.1849822998046875, 4.18491792678833, 4.184853553771973, 4.184788703918457, 4.1847243309021, 4.184659957885742, 4.184595108032227, 4.184530735015869, 4.1844658851623535, 4.184401512145996, 4.1843366622924805, 4.184271812438965, 4.184207439422607, 4.184142589569092, 4.184077739715576, 4.1840128898620605, 4.183948516845703, 4.1838836669921875, 4.183818817138672, 4.183753967285156, 4.183689117431641, 4.183624267578125, 4.183559417724609, 4.183494567871094, 4.183429718017578, 4.183364391326904, 4.183299541473389, 4.183234691619873, 4.183169841766357, 4.183104515075684, 4.183039665222168, 4.182974338531494, 4.1829094886779785, 4.182844161987305, 4.182779312133789, 4.182713985443115, 4.182648658752441, 4.182583808898926, 4.182518482208252, 4.182453155517578, 4.182387828826904, 4.182322978973389, 4.182257652282715, 4.182192325592041, 4.182126998901367, 4.182061672210693, 4.1819963455200195, 4.181931018829346, 4.181865692138672, 4.18179988861084, 4.181734561920166, 4.181669235229492, 4.181603908538818, 4.181538105010986, 4.1814727783203125, 4.1814069747924805, 4.181341648101807, 4.181275844573975, 4.181210517883301, 4.181144714355469, 4.181079387664795, 4.181013584136963, 4.180947780609131, 4.180881977081299, 4.180816650390625, 4.180750846862793, 4.180685043334961, 4.180619239807129, 4.180553436279297, 4.180487632751465, 4.180421829223633, 4.180356025695801, 4.180290222167969, 4.180224418640137, 4.1801581382751465, 4.1800923347473145, 4.180026531219482, 4.179960250854492, 4.17989444732666, 4.179828643798828, 4.179762363433838, 4.179696559906006, 4.179630279541016, 4.179564476013184, 4.179498195648193, 4.179431915283203, 4.179365634918213, 4.179299831390381, 4.179233551025391, 4.1791672706604, 4.17910099029541, 4.17903470993042, 4.17896842956543, 4.1789021492004395, 4.178835868835449, 4.178769588470459, 4.178703308105469, 4.1786370277404785, 4.17857027053833, 4.17850399017334, 4.17843770980835, 4.178371429443359, 4.178304672241211, 4.178238391876221, 4.178171634674072, 4.178105354309082, 4.178038597106934, 4.177971839904785, 4.177905559539795, 4.1778388023376465, 4.177772045135498, 4.177705764770508, 4.177639007568359, 4.177572250366211, 4.1775054931640625, 4.177438735961914, 4.177371978759766, 4.177305221557617, 4.177238464355469, 4.17717170715332, 4.177104949951172, 4.177037715911865, 4.176970958709717, 4.176904201507568, 4.176836967468262, 4.176770210266113, 4.176703453063965, 4.176636219024658, 4.17656946182251, 4.176502227783203, 4.176435470581055, 4.176368236541748, 4.176301002502441, 4.176233768463135, 4.176167011260986, 4.17609977722168, 4.176032543182373, 4.175965309143066, 4.17589807510376, 4.175830841064453, 4.1757636070251465, 4.17569637298584, 4.175629138946533, 4.175561904907227, 4.17549467086792, 4.175426959991455, 4.175359725952148, 4.175292491912842, 4.175224781036377, 4.17515754699707, 4.1750898361206055, 4.175022602081299, 4.174954891204834, 4.174887657165527, 4.1748199462890625, 4.174752235412598, 4.174685001373291, 4.174617290496826, 4.174549579620361, 4.1744818687438965, 4.174414157867432, 4.174346446990967, 4.174278736114502, 4.174211025238037, 4.174143314361572, 4.174075603485107, 4.174007892608643, 4.173940181732178, 4.173871994018555, 4.17380428314209, 4.173736572265625, 4.173668384552002, 4.173600673675537, 4.173532485961914, 4.173464775085449, 4.173396587371826, 4.173328876495361, 4.173260688781738, 4.173192501068115, 4.173124313354492, 4.173056602478027, 4.172988414764404, 4.172920227050781, 4.172852039337158, 4.172783851623535, 4.172715663909912, 4.172647476196289, 4.172579288482666, 4.172511100769043, 4.172442436218262, 4.172374248504639, 4.172306060791016, 4.172237396240234, 4.172169208526611, 4.172101020812988, 4.172032356262207, 4.171964168548584, 4.171895503997803, 4.17182731628418, 4.171758651733398, 4.171689987182617, 4.171621322631836, 4.171553134918213, 4.171484470367432, 4.17141580581665, 4.171347141265869, 4.171278476715088, 4.171209812164307, 4.171141147613525, 4.171072483062744, 4.171003818511963, 4.170934677124023, 4.170866012573242, 4.170797348022461, 4.17072868347168, 4.17065954208374, 4.170590877532959, 4.1705217361450195, 4.170453071594238, 4.170383930206299, 4.170315265655518, 4.170246124267578, 4.170176982879639, 4.170108318328857, 4.170039176940918, 4.1699700355529785, 4.169900894165039, 4.1698317527771, 4.16976261138916, 4.169693470001221, 4.169624328613281, 4.169555187225342, 4.169486045837402, 4.169416904449463, 4.169347286224365, 4.169278144836426, 4.169209003448486, 4.169139385223389, 4.169070243835449, 4.169000625610352, 4.168931484222412, 4.1688618659973145, 4.168792724609375, 4.168723106384277, 4.16865348815918, 4.16858434677124, 4.168514728546143, 4.168445110321045, 4.168375492095947, 4.16830587387085, 4.168236255645752, 4.168166637420654, 4.168097019195557, 4.168027400970459, 4.167957782745361, 4.1678876876831055, 4.167818069458008, 4.16774845123291, 4.167678356170654, 4.167608737945557, 4.167539119720459, 4.167469024658203, 4.167398929595947, 4.16732931137085, 4.167259216308594, 4.167189598083496, 4.16711950302124, 4.167049407958984, 4.1669793128967285, 4.166909217834473, 4.166839122772217, 4.166769027709961, 4.166698932647705, 4.166628837585449, 4.166558742523193, 4.1664886474609375, 4.166418552398682, 4.166348457336426, 4.166277885437012, 4.166207790374756, 4.166137218475342, 4.166067123413086, 4.16599702835083, 4.165926456451416, 4.165855884552002, 4.165785789489746, 4.165715217590332, 4.165644645690918, 4.165574550628662, 4.165503978729248, 4.165433406829834, 4.16536283493042, 4.165292263031006, 4.165221691131592, 4.165151119232178, 4.165080547332764, 4.16500997543335, 4.164938926696777, 4.164868354797363, 4.164797782897949, 4.164726734161377, 4.164656162261963, 4.164585590362549, 4.164514541625977, 4.164443492889404, 4.16437292098999, 4.164301872253418, 4.164231300354004, 4.164160251617432, 4.164089202880859, 4.164018154144287, 4.163947105407715, 4.163876056671143, 4.16380500793457, 4.163733959197998, 4.163662910461426, 4.1635918617248535, 4.163520812988281, 4.163449764251709, 4.1633782386779785, 4.163307189941406, 4.163236141204834, 4.1631646156311035, 4.163093566894531, 4.163022041320801, 4.1629509925842285, 4.162879467010498, 4.162807941436768, 4.162736892700195, 4.162665367126465, 4.162593841552734, 4.162522315979004, 4.162450790405273, 4.162379264831543, 4.1623077392578125, 4.162236213684082, 4.162164688110352, 4.162093162536621, 4.162021636962891, 4.16195011138916, 4.1618781089782715, 4.161806583404541, 4.161734580993652, 4.161663055419922, 4.161591529846191, 4.161519527435303, 4.161447525024414, 4.161375999450684, 4.161303997039795, 4.161231994628906, 4.161159992218018, 4.161088466644287, 4.161016464233398, 4.16094446182251, 4.160872459411621, 4.160800457000732, 4.160728454589844, 4.160655975341797, 4.160583972930908, 4.1605119705200195, 4.160439968109131, 4.160367488861084, 4.160295486450195, 4.160223484039307, 4.16015100479126, 4.160078525543213, 4.160006523132324, 4.159934043884277, 4.159862041473389, 4.159789562225342, 4.159717082977295, 4.159644603729248, 4.159572124481201, 4.159499645233154, 4.159427165985107, 4.1593546867370605, 4.159282207489014, 4.159209728240967, 4.15913724899292, 4.159064292907715, 4.158991813659668, 4.158919334411621, 4.158846378326416, 4.158773899078369, 4.158700942993164, 4.158628463745117, 4.158555507659912, 4.158483028411865, 4.15841007232666, 4.158337116241455, 4.15826416015625, 4.158191204071045, 4.158118724822998, 4.158045768737793, 4.157972812652588, 4.157899856567383, 4.1578264236450195, 4.1577534675598145, 4.157680511474609, 4.157607555389404, 4.157534122467041, 4.157461166381836, 4.157388210296631, 4.157314777374268, 4.1572418212890625, 4.157168388366699, 4.157094955444336, 4.157021999359131, 4.156948566436768, 4.156875133514404, 4.156801700592041, 4.156728267669678, 4.156655311584473, 4.156581878662109, 4.156507968902588, 4.156434535980225, 4.156361103057861, 4.156287670135498, 4.156214237213135, 4.156140327453613, 4.15606689453125, 4.155993461608887, 4.155919551849365, 4.155846118927002, 4.1557722091674805, 4.155698776245117, 4.155624866485596, 4.155550956726074, 4.155477046966553, 4.1554036140441895, 4.155329704284668, 4.1552557945251465, 4.155181884765625, 4.1551079750061035, 4.155034065246582, 4.1549601554870605, 4.154885768890381, 4.154811859130859, 4.154737949371338, 4.154663562774658, 4.154589653015137, 4.154515743255615, 4.1544413566589355, 4.154367446899414, 4.154293060302734, 4.154218673706055, 4.154144763946533, 4.1540703773498535, 4.153995990753174, 4.153921604156494, 4.1538472175598145, 4.153772830963135, 4.153698444366455, 4.153624057769775, 4.153549671173096, 4.153475284576416, 4.153400421142578, 4.153326034545898, 4.153251647949219, 4.153176784515381, 4.153102397918701, 4.153027534484863, 4.152953147888184, 4.152878284454346, 4.152803897857666, 4.152729034423828, 4.15265417098999, 4.152579307556152, 4.1525044441223145, 4.152429580688477, 4.152354717254639, 4.152279853820801, 4.152204990386963, 4.152130126953125, 4.152055263519287, 4.151980400085449, 4.151905059814453, 4.151830196380615, 4.151754856109619, 4.151679992675781, 4.151604652404785, 4.151529788970947, 4.151454448699951, 4.151379108428955, 4.151304244995117, 4.151228904724121, 4.151153564453125, 4.151078224182129, 4.151002883911133, 4.150927543640137, 4.150852203369141, 4.1507768630981445, 4.150701522827148, 4.150626182556152, 4.150550365447998, 4.150475025177002, 4.150399208068848, 4.150323867797852, 4.150248050689697, 4.150172710418701, 4.150096893310547, 4.150021553039551, 4.1499457359313965, 4.149869918823242, 4.149794101715088, 4.149718284606934, 4.149642467498779, 4.149566650390625, 4.149490833282471, 4.149415016174316, 4.149339199066162, 4.149263381958008, 4.1491875648498535, 4.149111270904541, 4.149035453796387, 4.148959159851074, 4.14888334274292, 4.148807048797607, 4.148731231689453, 4.148654937744141, 4.148578643798828, 4.148502349853516, 4.148426532745361, 4.148350238800049, 4.148273944854736, 4.148197650909424, 4.148121356964111, 4.148045063018799, 4.147968292236328, 4.147891998291016, 4.147815704345703, 4.147739410400391, 4.14766263961792, 4.147586345672607, 4.147509574890137, 4.147433280944824, 4.1473565101623535, 4.147279739379883, 4.14720344543457, 4.1471266746521, 4.147049903869629, 4.146973133087158, 4.1468963623046875, 4.146819591522217, 4.146742820739746, 4.146666049957275, 4.146589279174805, 4.146512508392334, 4.146435260772705, 4.146358489990234, 4.1462812423706055, 4.146204471588135, 4.146127223968506, 4.146050453186035, 4.145973205566406, 4.1458964347839355, 4.145819187164307, 4.145741939544678, 4.145664691925049, 4.14558744430542, 4.145510196685791, 4.145432949066162, 4.145355701446533, 4.145278453826904, 4.145201206207275, 4.145123481750488, 4.145046234130859, 4.1449689865112305, 4.144891262054443, 4.1448140144348145, 4.144736289978027, 4.144659042358398, 4.144581317901611, 4.144503593444824, 4.144426345825195, 4.144348621368408, 4.144270896911621, 4.144193172454834, 4.144115447998047, 4.14403772354126, 4.143959999084473, 4.143881797790527, 4.14380407333374, 4.143726348876953, 4.143648624420166, 4.143570423126221, 4.143492698669434, 4.143414497375488, 4.143336772918701, 4.143258571624756, 4.1431803703308105, 4.143102169036865, 4.143024444580078, 4.142946243286133, 4.1428680419921875, 4.142789840698242, 4.142711639404297, 4.142633438110352, 4.142554759979248, 4.142476558685303, 4.142398357391357, 4.142319679260254, 4.142241477966309, 4.142163276672363, 4.14208459854126, 4.142005920410156, 4.141927719116211, 4.141849040985107, 4.141770362854004, 4.141692161560059, 4.141613483428955, 4.141534805297852, 4.141456127166748, 4.1413774490356445, 4.141298770904541, 4.141219615936279, 4.141140937805176, 4.141062259674072, 4.1409831047058105, 4.140904426574707, 4.1408257484436035, 4.140746593475342, 4.14066743850708, 4.140588760375977, 4.140509605407715, 4.140430450439453, 4.140351295471191, 4.140272617340088, 4.140193462371826, 4.1401143074035645, 4.140035152435303, 4.139955520629883, 4.139876365661621, 4.139797210693359, 4.139718055725098, 4.139638423919678, 4.139559268951416, 4.139479637145996, 4.139400482177734, 4.1393208503723145, 4.139241695404053, 4.139162063598633, 4.139082431793213, 4.139002799987793, 4.138923168182373, 4.138843536376953, 4.138763904571533, 4.138684272766113, 4.138604640960693, 4.138525009155273, 4.138444900512695, 4.138365268707275, 4.1382856369018555, 4.138205528259277, 4.138125896453857, 4.138045787811279, 4.137966156005859, 4.137886047363281, 4.137805938720703, 4.137725830078125, 4.137645721435547, 4.137565612792969, 4.137485504150391, 4.1374053955078125, 4.137325286865234, 4.137245178222656, 4.137165069580078, 4.137084484100342, 4.137004375457764, 4.1369242668151855, 4.136843681335449, 4.136763095855713, 4.136682987213135, 4.136602401733398, 4.136521816253662, 4.136441707611084, 4.136361122131348, 4.136280536651611, 4.136199951171875, 4.136119365692139, 4.136038780212402, 4.135957717895508, 4.1358771324157715, 4.135796546936035, 4.135715961456299, 4.135634899139404, 4.135554313659668, 4.135473251342773, 4.135392189025879, 4.135311603546143, 4.135230541229248, 4.1351494789123535, 4.135068416595459, 4.1349873542785645, 4.13490629196167, 4.134825229644775, 4.134744167327881, 4.134663105010986, 4.134582042694092, 4.134500503540039, 4.1344194412231445, 4.13433837890625, 4.134256839752197, 4.134175777435303, 4.13409423828125, 4.134012699127197, 4.133931636810303, 4.13385009765625, 4.133768558502197, 4.1336870193481445, 4.133605480194092, 4.133523941040039, 4.133442401885986, 4.133360385894775, 4.133278846740723, 4.13319730758667, 4.133115768432617, 4.133033752441406, 4.1329522132873535, 4.132870197296143, 4.132788181304932, 4.132706642150879, 4.132624626159668, 4.132542610168457, 4.132460594177246, 4.132378578186035, 4.132296562194824, 4.132214546203613, 4.132132530212402, 4.132050514221191, 4.131968021392822, 4.131886005401611, 4.1318039894104, 4.131721496582031, 4.13163948059082, 4.131556987762451, 4.131474494934082, 4.131392478942871, 4.131309986114502, 4.131227493286133, 4.131145000457764, 4.1310625076293945, 4.130980014801025, 4.130897521972656, 4.130815029144287, 4.13073205947876, 4.130649566650391, 4.1305670738220215, 4.130484104156494, 4.130401611328125, 4.130318641662598, 4.13023567199707, 4.130153179168701, 4.130070209503174, 4.1299872398376465, 4.129904270172119, 4.129821300506592, 4.1297383308410645, 4.129655361175537, 4.12957239151001, 4.129489421844482, 4.129405975341797, 4.1293230056762695, 4.129240036010742, 4.129156589508057, 4.129073619842529, 4.128990173339844, 4.128906726837158, 4.128823280334473, 4.128740310668945, 4.12865686416626, 4.128573417663574, 4.128489971160889, 4.128406524658203, 4.128322601318359, 4.128239154815674, 4.128155708312988, 4.128072261810303, 4.127988338470459, 4.127904891967773, 4.12782096862793, 4.127737045288086, 4.1276535987854, 4.127569675445557, 4.127485752105713, 4.127401828765869, 4.127317905426025, 4.127233982086182, 4.127150058746338, 4.127066135406494, 4.12698221206665, 4.126898288726807, 4.126813888549805, 4.126729965209961, 4.126645565032959, 4.126561641693115, 4.126477241516113, 4.126392841339111, 4.126308917999268, 4.126224517822266, 4.126140117645264, 4.126055717468262, 4.12597131729126, 4.125886917114258, 4.125802040100098, 4.125717639923096, 4.125633239746094, 4.125548839569092, 4.125463962554932, 4.12537956237793, 4.1252946853637695, 4.125209808349609, 4.125125408172607, 4.125040531158447, 4.124955654144287, 4.124870777130127, 4.124785900115967, 4.124701023101807, 4.1246161460876465, 4.124531269073486, 4.124445915222168, 4.124361038208008, 4.124276161193848, 4.124190807342529, 4.124105930328369, 4.124020576477051, 4.123935222625732, 4.123849868774414, 4.123764991760254, 4.1236796379089355, 4.123594284057617, 4.123508930206299, 4.1234235763549805, 4.123337745666504, 4.1232523918151855, 4.123167037963867, 4.123081684112549, 4.122995853424072, 4.122910499572754, 4.122824668884277, 4.122738838195801, 4.122653484344482, 4.122567653656006, 4.122481822967529, 4.122395992279053, 4.122310161590576, 4.1222243309021, 4.122138500213623, 4.1220526695251465, 4.121966361999512, 4.121880531311035, 4.1217942237854, 4.121708393096924, 4.121622085571289, 4.1215362548828125, 4.121449947357178, 4.121363639831543, 4.121277332305908, 4.121191024780273, 4.121104717254639, 4.121018409729004, 4.120932102203369, 4.120845794677734, 4.1207594871521, 4.120672702789307, 4.120586395263672, 4.120499610900879, 4.120413303375244, 4.120326519012451, 4.120240211486816, 4.120153427124023, 4.1200666427612305, 4.1199798583984375, 4.1198930740356445, 4.119806289672852, 4.119719505310059, 4.119632720947266, 4.1195454597473145, 4.1194586753845215, 4.1193718910217285, 4.119284629821777, 4.119197368621826, 4.119110584259033, 4.119023323059082, 4.118936061859131, 4.11884880065918, 4.118762016296387, 4.1186747550964355, 4.118587017059326, 4.118499755859375, 4.118412494659424, 4.118325233459473, 4.118237495422363, 4.118150234222412, 4.118062496185303, 4.117975234985352, 4.117887496948242, 4.117799758911133, 4.117712497711182, 4.117624759674072, 4.117537021636963, 4.1174492835998535, 4.117361545562744, 4.117273807525635, 4.117185592651367, 4.117097854614258, 4.117010116577148, 4.116921901702881, 4.1168341636657715, 4.116745948791504, 4.116657733917236, 4.116569995880127, 4.116481781005859, 4.116393566131592, 4.116305351257324, 4.116217136383057, 4.116128921508789, 4.116040229797363, 4.115952014923096, 4.115863800048828, 4.115775108337402, 4.115686893463135, 4.115598201751709, 4.115509986877441, 4.115421295166016, 4.11533260345459, 4.115243911743164, 4.115155220031738, 4.1150665283203125, 4.114977836608887, 4.114889144897461, 4.114800453186035, 4.114711284637451, 4.114622592926025, 4.1145339012146, 4.114444732666016, 4.114355564117432, 4.114266872406006, 4.114177703857422, 4.114088535308838, 4.113999366760254, 4.11391019821167, 4.113821029663086, 4.113731861114502, 4.113642692565918, 4.113553047180176, 4.113463878631592, 4.113374710083008, 4.113285064697266, 4.113195896148682, 4.1131062507629395, 4.113016605377197, 4.112926959991455, 4.112837314605713, 4.112747669219971, 4.1126580238342285, 4.112568378448486, 4.112478733062744, 4.112389087677002, 4.112298965454102, 4.112209320068359, 4.112119197845459, 4.112029552459717, 4.111939430236816, 4.111849308013916, 4.111759185791016, 4.111669540405273, 4.111579418182373, 4.111489295959473, 4.111398696899414, 4.111308574676514, 4.111218452453613, 4.111128330230713, 4.111037731170654, 4.110947608947754, 4.110857009887695, 4.110766410827637, 4.110675811767578, 4.110585689544678, 4.110495090484619, 4.1104044914245605, 4.110313892364502, 4.110223293304443, 4.110132217407227, 4.110041618347168, 4.109951019287109, 4.109859943389893, 4.109769344329834, 4.109678268432617, 4.1095871925354, 4.109496593475342, 4.109405517578125, 4.109314441680908, 4.109223365783691, 4.109132289886475, 4.109041213989258, 4.108949661254883, 4.108858585357666, 4.108767509460449, 4.108675956726074, 4.108584880828857, 4.108493328094482, 4.108401775360107, 4.108310222625732, 4.108218669891357, 4.108127593994141, 4.108035564422607, 4.107944011688232, 4.107852458953857, 4.107760906219482, 4.107669353485107, 4.107577323913574, 4.107485771179199, 4.107393741607666, 4.107301712036133, 4.107210159301758, 4.107118129730225, 4.107026100158691, 4.106934070587158, 4.106842041015625, 4.106750011444092, 4.1066575050354, 4.106565475463867, 4.106473445892334, 4.106380939483643, 4.106288909912109, 4.106196403503418, 4.106103897094727, 4.106011390686035, 4.105919361114502, 4.1058268547058105, 4.105734348297119, 4.1056413650512695, 4.105548858642578, 4.105456352233887, 4.105363845825195, 4.105270862579346, 4.105178356170654, 4.105085372924805, 4.104992389678955, 4.1048994064331055, 4.104806900024414, 4.1047139167785645, 4.104620933532715, 4.104527473449707, 4.104434490203857, 4.104341506958008, 4.104248523712158, 4.10415506362915, 4.104062080383301, 4.103968620300293, 4.103875160217285, 4.1037821769714355, 4.103688716888428, 4.10359525680542, 4.103501796722412, 4.103408336639404, 4.1033148765563965, 4.1032209396362305, 4.103127479553223, 4.103034019470215, 4.102940082550049, 4.102846145629883, 4.102752685546875, 4.102658748626709, 4.102564811706543, 4.102470874786377, 4.102376937866211, 4.102283000946045, 4.102189064025879, 4.102095127105713, 4.102000713348389, 4.101906776428223, 4.101812362670898, 4.101718425750732, 4.101624011993408, 4.101529598236084, 4.10143518447876, 4.101341247558594, 4.101246356964111, 4.101151943206787, 4.101057529449463, 4.100963115692139, 4.1008687019348145, 4.100773811340332, 4.100679397583008, 4.100584506988525, 4.100489616394043, 4.1003947257995605, 4.100300312042236, 4.100205421447754, 4.1001105308532715, 4.100015163421631, 4.099920272827148, 4.099825382232666, 4.099730491638184, 4.099635124206543, 4.0995402336120605, 4.09944486618042, 4.099349498748779, 4.099254131317139, 4.099159240722656, 4.099063873291016, 4.098968029022217, 4.098872661590576, 4.0987772941589355, 4.098681926727295, 4.098586082458496, 4.0984907150268555, 4.098394870758057, 4.098299503326416, 4.098203659057617, 4.098107814788818, 4.0980119705200195, 4.097916126251221, 4.097820281982422, 4.097724437713623, 4.097628116607666, 4.097532272338867, 4.097436428070068, 4.097340106964111, 4.097243785858154, 4.0971479415893555, 4.097051620483398, 4.096955299377441, 4.096858978271484, 4.096762657165527, 4.09666633605957, 4.096569538116455, 4.096473217010498, 4.096376895904541, 4.096280097961426, 4.096183776855469, 4.0960869789123535, 4.095990180969238, 4.095893383026123, 4.095796585083008, 4.095699787139893, 4.095602989196777, 4.095506191253662, 4.095409393310547, 4.095312118530273, 4.095215320587158, 4.095118045806885, 4.0950212478637695, 4.094923973083496, 4.094826698303223, 4.094729423522949, 4.094632148742676, 4.094534873962402, 4.094437599182129, 4.094339847564697, 4.094242572784424, 4.094144821166992, 4.094047546386719, 4.093949794769287, 4.093852519989014, 4.093754768371582, 4.09365701675415, 4.093559265136719, 4.093461513519287, 4.093363285064697, 4.093265533447266, 4.093167781829834, 4.093069553375244, 4.0929718017578125, 4.092873573303223, 4.092775344848633, 4.092677593231201, 4.092579364776611, 4.0924811363220215, 4.092382907867432, 4.092284202575684, 4.092185974121094, 4.092087745666504, 4.091989040374756, 4.091890811920166, 4.091792106628418, 4.09169340133667, 4.091594696044922, 4.091495990753174, 4.091397285461426, 4.091298580169678, 4.09119987487793, 4.091101169586182, 4.091001987457275, 4.090903282165527, 4.090804100036621, 4.090705394744873, 4.090606212615967, 4.0905070304870605, 4.090407848358154, 4.090308666229248, 4.090209484100342, 4.0901103019714355, 4.090010643005371, 4.089911460876465, 4.089812278747559, 4.089712619781494, 4.08961296081543, 4.089513301849365, 4.089414119720459, 4.0893144607543945, 4.08921480178833, 4.089114665985107, 4.089015007019043, 4.0889153480529785, 4.088815212249756, 4.088715553283691, 4.088615417480469, 4.088515281677246, 4.088415622711182, 4.088315486907959, 4.088215351104736, 4.088115215301514, 4.088014602661133, 4.08791446685791, 4.0878143310546875, 4.087713718414307, 4.087613582611084, 4.087512969970703, 4.087412357330322, 4.087311744689941, 4.0872111320495605, 4.08711051940918, 4.087009906768799, 4.086909294128418, 4.086808681488037, 4.086707592010498, 4.086606979370117, 4.086505889892578, 4.086404800415039, 4.0863037109375, 4.086203098297119, 4.086101531982422, 4.086000442504883, 4.085899353027344, 4.085798263549805, 4.085696697235107, 4.085595607757568, 4.085494041442871, 4.085392951965332, 4.085291385650635, 4.0851898193359375, 4.08508825302124, 4.084986686706543, 4.084885120391846, 4.08478307723999, 4.084681510925293, 4.084579944610596, 4.08447790145874, 4.084375858306885, 4.0842742919921875, 4.084172248840332, 4.084070205688477, 4.083968162536621, 4.083866119384766, 4.083763599395752, 4.0836615562438965, 4.083559036254883, 4.083456993103027, 4.083354473114014, 4.083251953125, 4.0831499099731445, 4.083047389984131, 4.082944869995117, 4.082841873168945, 4.082739353179932, 4.082636833190918, 4.082533836364746, 4.082431316375732, 4.0823283195495605, 4.082225322723389, 4.082122802734375, 4.082019805908203, 4.081916809082031, 4.081813335418701, 4.081710338592529, 4.081607341766357, 4.081503868103027, 4.0814008712768555, 4.081297397613525, 4.081193923950195, 4.081090927124023, 4.080987453460693, 4.080883979797363, 4.080780029296875, 4.080676555633545, 4.080573081970215, 4.080469131469727, 4.0803656578063965, 4.080261707305908, 4.08015775680542, 4.08005428314209, 4.079950332641602, 4.079846382141113, 4.079741954803467, 4.0796380043029785, 4.07953405380249, 4.079429626464844, 4.0793256759643555, 4.079221248626709, 4.0791168212890625, 4.079012393951416, 4.0789079666137695, 4.078803539276123, 4.078699111938477, 4.07859468460083, 4.078489780426025, 4.078385353088379, 4.078280448913574, 4.0781755447387695, 4.078071117401123, 4.077966213226318, 4.077861309051514, 4.077756404876709, 4.077651023864746, 4.077546119689941, 4.077441215515137, 4.077335834503174, 4.077230453491211, 4.077125549316406, 4.077020168304443, 4.0769147872924805, 4.076809406280518, 4.076704025268555, 4.076598167419434, 4.076492786407471, 4.07638692855835, 4.076281547546387, 4.076175689697266, 4.0760698318481445, 4.075963973999023, 4.075858116149902, 4.075752258300781, 4.07564640045166, 4.075540542602539, 4.07543420791626, 4.075328350067139, 4.075222015380859, 4.07511568069458, 4.075009822845459, 4.07490348815918, 4.0747971534729, 4.074690341949463, 4.074584007263184, 4.074477672576904, 4.074370861053467, 4.0742645263671875, 4.07415771484375, 4.0740509033203125, 4.073944091796875, 4.0738372802734375, 4.07373046875, 4.0736236572265625, 4.073516368865967, 4.073409557342529, 4.073302268981934, 4.073195457458496, 4.0730881690979, 4.072980880737305, 4.072873592376709, 4.072766304016113, 4.072659015655518, 4.072551250457764, 4.072443962097168, 4.072336196899414, 4.072228908538818, 4.0721211433410645, 4.0720133781433105, 4.071905612945557, 4.071797847747803, 4.071690082550049, 4.071581840515137, 4.071474075317383, 4.071365833282471, 4.071258068084717, 4.071149826049805, 4.071041584014893, 4.0709333419799805, 4.070825099945068, 4.070716857910156, 4.070608615875244, 4.070499897003174, 4.070391654968262, 4.070282936096191, 4.070174217224121, 4.070065498352051, 4.0699567794799805, 4.06984806060791, 4.06973934173584, 4.0696306228637695, 4.069521427154541, 4.069412708282471, 4.069303512573242, 4.069194316864014, 4.069085597991943, 4.068976402282715, 4.068867206573486, 4.0687575340271, 4.068648338317871, 4.068539142608643, 4.068429470062256, 4.068319797515869, 4.068210601806641, 4.068100929260254, 4.067991256713867, 4.0678815841674805, 4.0677714347839355, 4.067661762237549, 4.067552089691162, 4.067441940307617, 4.067331790924072, 4.0672221183776855, 4.067111968994141, 4.067001819610596, 4.066891670227051, 4.066781044006348, 4.066670894622803, 4.066560745239258, 4.066450119018555, 4.066339492797852, 4.066228866577148, 4.0661187171936035, 4.0660080909729, 4.065896987915039, 4.065786361694336, 4.065675735473633, 4.0655646324157715, 4.065454006195068, 4.065342903137207, 4.065231800079346, 4.065120697021484, 4.065009593963623, 4.064898490905762, 4.064786911010742, 4.064675807952881, 4.064564228057861, 4.064453125, 4.0643415451049805, 4.064229965209961, 4.064118385314941, 4.064006805419922, 4.063895225524902, 4.063783168792725, 4.063671588897705, 4.063559532165527, 4.063447952270508, 4.06333589553833, 4.063223838806152, 4.063111782073975, 4.062999248504639, 4.062887191772461, 4.062775135040283, 4.062662601470947, 4.0625505447387695, 4.062438011169434, 4.062325477600098, 4.062212944030762, 4.062100410461426, 4.061987400054932, 4.061874866485596, 4.06176233291626, 4.061649322509766, 4.0615363121032715, 4.061423301696777, 4.061310291290283, 4.061197280883789, 4.061084270477295, 4.060971260070801, 4.060857772827148, 4.060744762420654, 4.060631275177002, 4.06051778793335, 4.060404300689697, 4.060290813446045, 4.060177326202393, 4.06006383895874, 4.05994987487793, 4.059836387634277, 4.059722423553467, 4.059608459472656, 4.059494495391846, 4.059380531311035, 4.059266567230225, 4.059152603149414, 4.059038162231445, 4.058924198150635, 4.058809757232666, 4.0586957931518555, 4.058581352233887, 4.058466911315918, 4.058352470397949, 4.058237552642822, 4.0581231117248535, 4.058008193969727, 4.057893753051758, 4.057778835296631, 4.057663917541504, 4.057548999786377, 4.05743408203125, 4.057319164276123, 4.057203769683838, 4.057088851928711, 4.056973457336426, 4.056858539581299, 4.056743144989014, 4.0566277503967285, 4.056512355804443, 4.056396484375, 4.056281089782715, 4.0561652183532715, 4.056049823760986, 4.055933952331543, 4.0558180809021, 4.055702209472656, 4.055586338043213, 4.0554704666137695, 4.055354118347168, 4.055238246917725, 4.055121898651123, 4.05500602722168, 4.054889678955078, 4.054773330688477, 4.054656982421875, 4.054540157318115, 4.054423809051514, 4.054306983947754, 4.054190635681152, 4.054073810577393, 4.053956985473633, 4.053840160369873, 4.053723335266113, 4.0536065101623535, 4.0534892082214355, 4.053372383117676, 4.053255081176758, 4.05313777923584, 4.053020477294922, 4.052903175354004, 4.052785873413086, 4.052668571472168, 4.052550792694092, 4.052433490753174, 4.052315711975098, 4.0521979331970215, 4.052080154418945, 4.051962375640869, 4.051844596862793, 4.051726341247559, 4.051608562469482, 4.051490306854248, 4.051372528076172, 4.0512542724609375, 4.051136016845703, 4.051017761230469, 4.050899028778076, 4.050780773162842, 4.050662040710449, 4.050543785095215, 4.050425052642822, 4.05030632019043, 4.050187587738037, 4.0500688552856445, 4.049949645996094, 4.049830913543701, 4.04971170425415, 4.049592971801758, 4.049473762512207, 4.049354553222656, 4.0492353439331055, 4.0491156578063965, 4.048996448516846, 4.048877239227295, 4.048757553100586, 4.048637866973877, 4.048518180847168, 4.048398494720459, 4.04827880859375, 4.048159122467041, 4.048038959503174, 4.047919273376465, 4.047799110412598, 4.0476789474487305, 4.047558784484863, 4.047438621520996, 4.047318458557129, 4.0471978187561035, 4.047077655792236, 4.046957015991211, 4.0468363761901855, 4.04671573638916, 4.046595096588135, 4.046474456787109, 4.046353816986084, 4.0462327003479, 4.046111583709717, 4.045990943908691, 4.045869827270508, 4.045748710632324, 4.045627117156982, 4.045506000518799, 4.045384883880615, 4.045263290405273, 4.045141696929932, 4.045020580291748, 4.044898986816406, 4.044776916503906, 4.0446553230285645, 4.044533729553223, 4.044411659240723, 4.044289588928223, 4.044167995452881, 4.044045925140381, 4.043923377990723, 4.043801307678223, 4.043679237365723, 4.0435566902160645, 4.0434346199035645, 4.043312072753906, 4.043189525604248, 4.04306697845459, 4.042943954467773, 4.042821407318115, 4.042698860168457, 4.042575836181641, 4.042452812194824, 4.042329788208008, 4.042206764221191, 4.042083740234375, 4.0419602394104, 4.041837215423584, 4.041713714599609, 4.041590690612793, 4.041467189788818, 4.0413432121276855, 4.041219711303711, 4.041096210479736, 4.0409722328186035, 4.040848731994629, 4.040724754333496, 4.040600776672363, 4.0404767990112305, 4.040352821350098, 4.040228366851807, 4.040104389190674, 4.039979934692383, 4.039855480194092, 4.039731025695801, 4.03960657119751, 4.039482116699219, 4.039357662200928, 4.0392327308654785, 4.039107799530029, 4.038983345031738, 4.038858413696289, 4.03873348236084, 4.038608074188232, 4.038483142852783, 4.038357734680176, 4.038232803344727, 4.038107395172119, 4.037981986999512, 4.037856578826904, 4.037730693817139, 4.037605285644531, 4.037479400634766, 4.037353992462158, 4.037228107452393, 4.037102222442627, 4.036976337432861, 4.0368499755859375, 4.036724090576172, 4.036597728729248, 4.036471366882324, 4.036345481872559, 4.036218643188477, 4.036092281341553, 4.035965919494629, 4.035839080810547, 4.035712718963623, 4.035585880279541, 4.035459041595459, 4.035332202911377, 4.035205364227295, 4.035078048706055, 4.034951210021973, 4.034823894500732, 4.034696578979492, 4.034569263458252, 4.034441947937012, 4.0343146324157715, 4.034186840057373, 4.034059047698975, 4.033931732177734, 4.033803939819336, 4.0336761474609375, 4.033547878265381, 4.033420085906982, 4.033291816711426, 4.033164024353027, 4.033035755157471, 4.032907485961914, 4.032779216766357, 4.032650947570801, 4.032522201538086, 4.032393455505371, 4.0322651863098145, 4.0321364402771, 4.032007694244385, 4.031878471374512, 4.031749725341797, 4.031620979309082, 4.031491756439209, 4.031362533569336, 4.031233310699463, 4.03110408782959, 4.030974388122559, 4.0308451652526855, 4.030715465545654, 4.030586242675781, 4.03045654296875, 4.030326843261719, 4.030196666717529, 4.030066967010498, 4.029936790466309, 4.029807090759277, 4.029676914215088, 4.029546737670898, 4.029416084289551, 4.029285907745361, 4.029155731201172, 4.029025077819824, 4.028894424438477, 4.028763771057129, 4.028633117675781, 4.028502464294434, 4.028371334075928, 4.028240203857422, 4.028109550476074, 4.027978420257568, 4.0278472900390625, 4.027715682983398, 4.027584552764893, 4.0274529457092285, 4.027321815490723, 4.027190208435059, 4.0270586013793945, 4.026926517486572, 4.026794910430908, 4.026662826538086, 4.026531219482422, 4.0263991355896, 4.026267051696777, 4.026134490966797, 4.026002407073975, 4.025869846343994, 4.025737762451172, 4.025605201721191, 4.025472640991211, 4.0253400802612305, 4.025207042694092, 4.025074481964111, 4.024941444396973, 4.024808406829834, 4.024675369262695, 4.024542331695557, 4.024409294128418, 4.024275779724121, 4.024142742156982, 4.0240092277526855, 4.023875713348389, 4.023741722106934, 4.023608207702637, 4.02347469329834, 4.023340702056885, 4.02320671081543, 4.023072719573975, 4.0229387283325195, 4.0228047370910645, 4.022670269012451, 4.022535800933838, 4.022401809692383, 4.0222673416137695, 4.022132396697998, 4.021997928619385, 4.021862983703613, 4.021728515625, 4.0215935707092285, 4.021458625793457, 4.0213236808776855, 4.021188259124756, 4.021053314208984, 4.020917892456055, 4.020782470703125, 4.020647048950195, 4.020511627197266, 4.020376205444336, 4.020240306854248, 4.02010440826416, 4.019968509674072, 4.019832611083984, 4.0196967124938965, 4.019560813903809, 4.0194244384765625, 4.019288063049316, 4.01915168762207, 4.019015312194824, 4.018878936767578, 4.018742084503174, 4.018605709075928, 4.018468856811523, 4.018332004547119, 4.018195152282715, 4.018057823181152, 4.017920970916748, 4.0177836418151855, 4.017646312713623, 4.0175089836120605, 4.017371654510498, 4.0172343254089355, 4.017096519470215, 4.016959190368652, 4.016821384429932, 4.016683578491211, 4.016545295715332, 4.016407489776611, 4.016269207000732, 4.0161309242248535, 4.015992641448975, 4.015854358673096, 4.015716075897217, 4.01557731628418, 4.015439033508301, 4.015300273895264, 4.015161514282227, 4.0150227546691895, 4.014883518218994, 4.014744758605957, 4.014605522155762, 4.014466285705566, 4.014327049255371, 4.014187812805176, 4.014048099517822, 4.013908386230469, 4.013769149780273, 4.01362943649292, 4.013489246368408, 4.013349533081055, 4.013209342956543, 4.0130696296691895, 4.012929439544678, 4.012789249420166, 4.012648582458496, 4.012508392333984, 4.0123677253723145, 4.0122270584106445, 4.012086391448975, 4.011945724487305, 4.011805057525635, 4.011663913726807, 4.0115227699279785, 4.01138162612915, 4.011240482330322, 4.011099338531494, 4.010957717895508, 4.01081657409668, 4.010674953460693, 4.010533332824707, 4.0103912353515625, 4.010249614715576, 4.010107517242432, 4.009965896606445, 4.009823799133301, 4.009681224822998, 4.0095391273498535, 4.009396553039551, 4.009254455566406, 4.0091118812561035, 4.008969306945801, 4.00882625579834, 4.008683681488037, 4.008540630340576, 4.008397579193115, 4.008254528045654, 4.008111476898193, 4.007967948913574, 4.007824897766113, 4.007681369781494, 4.007537841796875, 4.007394313812256, 4.0072503089904785, 4.007106781005859, 4.006962776184082, 4.006818771362305, 4.006674766540527, 4.006530284881592, 4.0063862800598145, 4.006241798400879, 4.006097316741943, 4.005952835083008, 4.005808353424072, 4.0056633949279785, 4.005518436431885, 4.005373477935791, 4.005228519439697, 4.0050835609436035, 4.00493860244751, 4.004793167114258, 4.004647731781006, 4.004502296447754, 4.004356861114502, 4.004210948944092, 4.004065036773682, 4.0039191246032715, 4.003773212432861, 4.003627300262451, 4.003481388092041, 4.003334999084473, 4.003188610076904, 4.003042221069336, 4.002895832061768, 4.002748966217041, 4.002602577209473, 4.002455711364746, 4.0023088455200195, 4.002161502838135, 4.002014636993408, 4.001867294311523, 4.001719951629639, 4.001572608947754, 4.001425266265869, 4.001277923583984, 4.001130104064941, 4.000982284545898, 4.0008344650268555, 4.0006866455078125, 4.000538349151611, 4.000390529632568, 4.000242233276367, 4.000093936920166, 3.9999454021453857, 3.9997968673706055, 3.999648094177246, 3.9994993209838867, 3.9993505477905273, 3.999201536178589, 3.9990525245666504, 3.998903512954712, 3.9987542629241943, 3.9986050128936768, 3.99845552444458, 3.9983060359954834, 3.9981563091278076, 3.998006582260132, 3.997856855392456, 3.997706890106201, 3.9975569248199463, 3.9974069595336914, 3.9972567558288574, 3.9971063137054443, 3.9969558715820312, 3.996805429458618, 3.996654748916626, 3.996504068374634, 3.9963533878326416, 3.9962024688720703, 3.99605131149292, 3.9959001541137695, 3.995748996734619, 3.9955978393554688, 3.9954464435577393, 3.9952948093414307, 3.995143175125122, 3.9949915409088135, 3.994839668273926, 3.994687795639038, 3.9945356845855713, 3.9943835735321045, 3.9942314624786377, 3.994079113006592, 3.993926525115967, 3.993774175643921, 3.993621349334717, 3.993468761444092, 3.9933159351348877, 3.9931628704071045, 3.9930098056793213, 3.992856740951538, 3.992703437805176, 3.9925501346588135, 3.992396593093872, 3.9922430515289307, 3.9920895099639893, 3.9919357299804688, 3.991781711578369, 3.9916276931762695, 3.99147367477417, 3.991319417953491, 3.9911651611328125, 3.991010904312134, 3.990856170654297, 3.990701675415039, 3.990546941757202, 3.9903922080993652, 3.990237236022949, 3.990082263946533, 3.989927053451538, 3.989771842956543, 3.9896163940429688, 3.9894609451293945, 3.9893054962158203, 3.989149808883667, 3.9889938831329346, 3.988837957382202, 3.9886820316314697, 3.988525867462158, 3.9883697032928467, 3.988213539123535, 3.9880571365356445, 3.987900495529175, 3.987743854522705, 3.9875872135162354, 3.9874303340911865, 3.9872732162475586, 3.9871160984039307, 3.9869589805603027, 3.9868016242980957, 3.9866442680358887, 3.9864869117736816, 3.9863293170928955, 3.9861714839935303, 3.986013650894165, 3.9858558177948, 3.9856977462768555, 3.985539436340332, 3.9853811264038086, 3.985222816467285, 3.9850642681121826, 3.98490571975708, 3.9847469329833984, 3.984588146209717, 3.984429121017456, 3.9842700958251953, 3.9841110706329346, 3.9839518070220947, 3.983792304992676, 3.983632802963257, 3.983473300933838, 3.98331356048584, 3.983153820037842, 3.9829938411712646, 3.9828336238861084, 3.9826736450195312, 3.982513189315796, 3.9823527336120605, 3.982192277908325, 3.98203182220459, 3.9818708896636963, 3.981710195541382, 3.9815492630004883, 3.9813880920410156, 3.981226921081543, 3.981065511703491, 3.9809041023254395, 3.9807426929473877, 3.980581045150757, 3.980419158935547, 3.980257272720337, 3.980095386505127, 3.979933261871338, 3.9797708988189697, 3.9796085357666016, 3.9794461727142334, 3.979283571243286, 3.979120969772339, 3.9789581298828125, 3.978795289993286, 3.9786322116851807, 3.978468894958496, 3.9783058166503906, 3.978142261505127, 3.9779787063598633, 3.9778151512145996, 3.977651357650757, 3.977487564086914, 3.977323532104492, 3.9771595001220703, 3.9769952297210693, 3.9768309593200684, 3.9766664505004883, 3.976501941680908, 3.976337194442749, 3.97617244720459, 3.9760074615478516, 3.9758424758911133, 3.975677251815796, 3.9755120277404785, 3.975346565246582, 3.9751811027526855, 3.97501540184021, 3.9748497009277344, 3.9746837615966797, 3.974517822265625, 3.974351644515991, 3.9741852283477783, 3.9740190505981445, 3.9738523960113525, 3.9736857414245605, 3.9735190868377686, 3.9733521938323975, 3.9731853008270264, 3.973018169403076, 3.972850799560547, 3.9726834297180176, 3.9725160598754883, 3.97234845161438, 3.9721808433532715, 3.972012996673584, 3.9718449115753174, 3.971676826477051, 3.971508502960205, 3.9713401794433594, 3.9711718559265137, 3.971003293991089, 3.970834493637085, 3.970665693283081, 3.970496654510498, 3.970327615737915, 3.970158338546753, 3.969989061355591, 3.9698195457458496, 3.9696500301361084, 3.969480276107788, 3.9693105220794678, 3.9691405296325684, 3.96897029876709, 3.9688000679016113, 3.968629837036133, 3.968459367752075, 3.9682886600494385, 3.9681179523468018, 3.967947006225586, 3.96777606010437, 3.967604875564575, 3.9674336910247803, 3.9672622680664062, 3.9670908451080322, 3.966919183731079, 3.966747522354126, 3.9665756225585938, 3.9664034843444824, 3.966231346130371, 3.9660589694976807, 3.9658865928649902, 3.9657142162323, 3.965541362762451, 3.9653687477111816, 3.965195655822754, 3.965022563934326, 3.9648494720458984, 3.9646761417388916, 3.9645025730133057, 3.9643290042877197, 3.964155435562134, 3.9639813899993896, 3.9638075828552246, 3.9636332988739014, 3.963459014892578, 3.963284730911255, 3.9631102085113525, 3.962935447692871, 3.9627606868743896, 3.962585926055908, 3.9624106884002686, 3.962235689163208, 3.9620602130889893, 3.9618847370147705, 3.9617092609405518, 3.961533546447754, 3.961357593536377, 3.961181640625, 3.961005449295044, 3.960829257965088, 3.9606528282165527, 3.9604763984680176, 3.960299491882324, 3.96012282371521, 3.9599459171295166, 3.959768772125244, 3.9595916271209717, 3.95941424369812, 3.9592366218566895, 3.959059000015259, 3.958881139755249, 3.9587032794952393, 3.9585251808166504, 3.9583470821380615, 3.9581687450408936, 3.9579901695251465, 3.9578115940093994, 3.9576330184936523, 3.957453966140747, 3.957274913787842, 3.9570958614349365, 3.956916570663452, 3.9567370414733887, 3.956557512283325, 3.9563777446746826, 3.956197738647461, 3.9560177326202393, 3.9558377265930176, 3.955657482147217, 3.955476999282837, 3.955296277999878, 3.955115556716919, 3.95493483543396, 3.9547536373138428, 3.9545726776123047, 3.9543912410736084, 3.954209804534912, 3.9540281295776367, 3.9538464546203613, 3.953664541244507, 3.9534826278686523, 3.9533004760742188, 3.953118085861206, 3.9529356956481934, 3.9527530670166016, 3.9525704383850098, 3.9523873329162598, 3.952204465866089, 3.9520211219787598, 3.9518377780914307, 3.9516544342041016, 3.9514708518981934, 3.951287031173706, 3.9511032104492188, 3.9509189128875732, 3.950734853744507, 3.9505505561828613, 3.9503660202026367, 3.950181245803833, 3.9499964714050293, 3.9498114585876465, 3.9496264457702637, 3.9494411945343018, 3.9492557048797607, 3.9490702152252197, 3.9488844871520996, 3.9486985206604004, 3.948512554168701, 3.948326349258423, 3.9481401443481445, 3.947953701019287, 3.9477670192718506, 3.947580337524414, 3.9473934173583984, 3.9472062587738037, 3.947019100189209, 3.946831703186035, 3.9466440677642822, 3.9464564323425293, 3.9462685585021973, 3.9460806846618652, 3.945892572402954, 3.945704221725464, 3.9455156326293945, 3.945327043533325, 3.945138454437256, 3.9449493885040283, 3.944760322570801, 3.944571018218994, 3.9443817138671875, 3.9441921710968018, 3.944002389907837, 3.943812608718872, 3.943622589111328, 3.943432331085205, 3.943242073059082, 3.94305157661438, 3.9428608417510986, 3.9426701068878174, 3.942479133605957, 3.9422881603240967, 3.942096710205078, 3.9419052600860596, 3.941713809967041, 3.9415218830108643, 3.9413299560546875, 3.9411380290985107, 3.940945625305176, 3.940753221511841, 3.940560817718506, 3.9403679370880127, 3.9401750564575195, 3.9399821758270264, 3.939788818359375, 3.9395954608917236, 3.939401865005493, 3.9392082691192627, 3.939014434814453, 3.9388203620910645, 3.9386260509490967, 3.938431739807129, 3.938237190246582, 3.938042640686035, 3.93784761428833, 3.937652826309204, 3.93745756149292, 3.9372622966766357, 3.9370665550231934, 3.93687105178833, 3.9366750717163086, 3.936479091644287, 3.9362828731536865, 3.936086654663086, 3.935889959335327, 3.9356932640075684, 3.9354965686798096, 3.9352993965148926, 3.9351022243499756, 3.9349050521850586, 3.9347074031829834, 3.934509754180908, 3.934311866760254, 3.9341137409210205, 3.933915615081787, 3.9337172508239746, 3.933518648147583, 3.9333200454711914, 3.9331209659576416, 3.932921886444092, 3.932722806930542, 3.932523250579834, 3.932323694229126, 3.932123899459839, 3.9319241046905518, 3.9317238330841064, 3.931523561477661, 3.931323289871216, 3.9311225414276123, 3.930921792984009, 3.930720806121826, 3.9305195808410645, 3.9303183555603027, 3.930116653442383, 3.929915189743042, 3.929713249206543, 3.929511070251465, 3.9293088912963867, 3.9291064739227295, 3.9289040565490723, 3.928701162338257, 3.9284982681274414, 3.928295135498047, 3.9280920028686523, 3.9278883934020996, 3.927684783935547, 3.927480936050415, 3.927277088165283, 3.927072763442993, 3.926868438720703, 3.926663875579834, 3.9264590740203857, 3.9262542724609375, 3.92604923248291, 3.9258439540863037, 3.925638437271118, 3.9254326820373535, 3.925226926803589, 3.925020933151245, 3.9248147010803223, 3.9246082305908203, 3.9244017601013184, 3.9241950511932373, 3.923988103866577, 3.923780918121338, 3.9235737323760986, 3.923366069793701, 3.9231584072113037, 3.922950506210327, 3.9227426052093506, 3.922534227371216, 3.922325849533081, 3.922117233276367, 3.921908378601074, 3.9216995239257812, 3.92149019241333, 3.921280860900879, 3.9210712909698486, 3.9208614826202393, 3.92065167427063, 3.9204413890838623, 3.9202311038970947, 3.920020580291748, 3.9198098182678223, 3.9195990562438965, 3.9193878173828125, 3.9191765785217285, 3.9189651012420654, 3.9187533855438232, 3.918541431427002, 3.9183294773101807, 3.918117046356201, 3.9179046154022217, 3.917691946029663, 3.9174792766571045, 3.9172661304473877, 3.917052984237671, 3.916839361190796, 3.916625738143921, 3.916411876678467, 3.9161980152130127, 3.9159836769104004, 3.915769338607788, 3.9155545234680176, 3.915339708328247, 3.9151246547698975, 3.914909601211548, 3.91469407081604, 3.9144785404205322, 3.914262533187866, 3.9140465259552, 3.913830280303955, 3.913613796234131, 3.9133973121643066, 3.913180351257324, 3.912963390350342, 3.9127461910247803, 3.9125287532806396, 3.91231107711792, 3.912093162536621, 3.911875009536743, 3.9116568565368652, 3.911438226699829, 3.911219596862793, 3.9110007286071777, 3.9107816219329834, 3.91056227684021, 3.9103426933288574, 3.910123109817505, 3.909903049468994, 3.9096829891204834, 3.9094624519348145, 3.9092419147491455, 3.9090211391448975, 3.9088001251220703, 3.908579111099243, 3.908357620239258, 3.9081358909606934, 3.907914161682129, 3.9076921939849854, 3.9074697494506836, 3.907247304916382, 3.907024621963501, 3.906801700592041, 3.906578540802002, 3.906355381011963, 3.9061317443847656, 3.9059078693389893, 3.905683994293213, 3.9054598808288574, 3.9052352905273438, 3.90501070022583, 3.9047858715057373, 3.9045608043670654, 3.9043354988098145, 3.9041099548339844, 3.903884172439575, 3.903658390045166, 3.9034321308135986, 3.9032058715820312, 3.9029791355133057, 3.90275239944458, 3.9025251865386963, 3.9022979736328125, 3.9020705223083496, 3.9018428325653076, 3.9016149044036865, 3.9013867378234863, 3.901158332824707, 3.9009296894073486, 3.900700807571411, 3.9004716873168945, 3.900242328643799, 3.900012969970703, 3.899783134460449, 3.899553060531616, 3.899322986602783, 3.899092435836792, 3.898861885070801, 3.8986308574676514, 3.898399829864502, 3.8981683254241943, 3.8979368209838867, 3.897705078125, 3.897473096847534, 3.89724063873291, 3.897008180618286, 3.896775484085083, 3.896542549133301, 3.8963091373443604, 3.89607572555542, 3.8958420753479004, 3.8956081867218018, 3.895374059677124, 3.895139694213867, 3.8949050903320312, 3.894670009613037, 3.894434928894043, 3.8941996097564697, 3.8939640522003174, 3.893728256225586, 3.8934922218322754, 3.8932559490203857, 3.893019437789917, 3.89278244972229, 3.892545461654663, 3.892308235168457, 3.892070770263672, 3.8918330669403076, 3.8915951251983643, 3.8913567066192627, 3.891118288040161, 3.8908796310424805, 3.8906404972076416, 3.8904013633728027, 3.8901619911193848, 3.8899221420288086, 3.8896822929382324, 3.889441967010498, 3.8892016410827637, 3.888960838317871, 3.8887197971343994, 3.8884787559509277, 3.888237237930298, 3.887995481491089, 3.887753486633301, 3.8875112533569336, 3.8872687816619873, 3.887026071548462, 3.8867831230163574, 3.886539936065674, 3.886296510696411, 3.8860528469085693, 3.8858087062835693, 3.8855645656585693, 3.885319948196411, 3.885075330734253, 3.8848302364349365, 3.884584903717041, 3.8843395709991455, 3.884093761444092, 3.883847713470459, 3.883601427078247, 3.883354663848877, 3.883107900619507, 3.8828608989715576, 3.88261342048645, 3.8823659420013428, 3.882117986679077, 3.8818697929382324, 3.8816213607788086, 3.8813726902008057, 3.8811237812042236, 3.8808746337890625, 3.880625009536743, 3.880375385284424, 3.8801252841949463, 3.8798751831054688, 3.879624605178833, 3.879373788833618, 3.879122734069824, 3.878871202468872, 3.87861967086792, 3.8783676624298096, 3.878115653991699, 3.8778631687164307, 3.877610445022583, 3.8773574829101562, 3.8771040439605713, 3.8768506050109863, 3.876596689224243, 3.8763427734375, 3.8760883808135986, 3.875833749771118, 3.8755786418914795, 3.875323534011841, 3.875067949295044, 3.874812364578247, 3.874556303024292, 3.874300003051758, 3.8740432262420654, 3.873786449432373, 3.8735291957855225, 3.8732717037200928, 3.873013973236084, 3.872756004333496, 3.872497797012329, 3.872239112854004, 3.8719801902770996, 3.871721029281616, 3.8714616298675537, 3.871201753616333, 3.8709418773651123, 3.8706815242767334, 3.8704209327697754, 3.870159864425659, 3.869898796081543, 3.8696372509002686, 3.869375467300415, 3.8691134452819824, 3.8688509464263916, 3.868588447570801, 3.8683254718780518, 3.8680620193481445, 3.8677985668182373, 3.867534637451172, 3.8672704696655273, 3.8670060634613037, 3.866741418838501, 3.86647629737854, 3.8662109375, 3.865945339202881, 3.8656792640686035, 3.865413188934326, 3.8651466369628906, 3.864879608154297, 3.864612579345703, 3.864345073699951, 3.86407732963562, 3.863809108734131, 3.8635408878326416, 3.863272190093994, 3.8630030155181885, 3.862733840942383, 3.862464189529419, 3.862194299697876, 3.861923933029175, 3.8616533279418945, 3.861382484436035, 3.8611114025115967, 3.86083984375, 3.860568046569824, 3.8602957725524902, 3.8600234985351562, 3.859750509262085, 3.8594775199890137, 3.859204053878784, 3.8589303493499756, 3.858656406402588, 3.858381986618042, 3.858107328414917, 3.857832193374634, 3.8575570583343506, 3.85728120803833, 3.8570053577423096, 3.856729030609131, 3.856452465057373, 3.856175422668457, 3.855898141860962, 3.8556206226348877, 3.8553426265716553, 3.8550643920898438, 3.854785680770874, 3.854506731033325, 3.8542275428771973, 3.853947877883911, 3.853667974472046, 3.8533878326416016, 3.853107213973999, 3.8528261184692383, 3.8525447845458984, 3.8522632122039795, 3.8519814014434814, 3.851699113845825, 3.8514163494110107, 3.851133346557617, 3.8508501052856445, 3.8505663871765137, 3.8502824306488037, 3.8499982357025146, 3.8497135639190674, 3.849428415298462, 3.8491430282592773, 3.8488574028015137, 3.848571300506592, 3.848284959793091, 3.8479981422424316, 3.8477108478546143, 3.847423553466797, 3.8471357822418213, 3.8468475341796875, 3.8465590476989746, 3.8462700843811035, 3.8459808826446533, 3.845691204071045, 3.8454012870788574, 3.8451108932495117, 3.844820261001587, 3.844529390335083, 3.844237804412842, 3.8439462184906006, 3.843653917312622, 3.8433616161346436, 3.8430685997009277, 3.842775583267212, 3.842481851577759, 3.8421881198883057, 3.8418936729431152, 3.8415989875793457, 3.841304063796997, 3.8410086631774902, 3.840712785720825, 3.840416669845581, 3.8401200771331787, 3.8398232460021973, 3.8395259380340576, 3.839228391647339, 3.838930130004883, 3.8386318683624268, 3.8383331298828125, 3.83803391456604, 3.8377344608306885, 3.8374345302581787, 3.8371341228485107, 3.8368334770202637, 3.8365323543548584, 3.836230993270874, 3.8359291553497314, 3.8356268405914307, 3.835324287414551, 3.8350212574005127, 3.8347177505493164, 3.834414005279541, 3.8341097831726074, 3.8338053226470947, 3.8335001468658447, 3.8331949710845947, 3.8328890800476074, 3.832582950592041, 3.8322763442993164, 3.8319694995880127, 3.831662178039551, 3.8313543796539307, 3.8310461044311523, 3.830737590789795, 3.8304286003112793, 3.8301193714141846, 3.8298094272613525, 3.8294992446899414, 3.829188823699951, 3.8288776874542236, 3.828566312789917, 3.828254461288452, 3.827942371368408, 3.827629566192627, 3.8273165225982666, 3.827003240585327, 3.8266892433166504, 3.8263750076293945, 3.8260602951049805, 3.825745105743408, 3.8254294395446777, 3.825113534927368, 3.8247971534729004, 3.8244802951812744, 3.8241629600524902, 3.823845386505127, 3.8235273361206055, 3.8232085704803467, 3.822889804840088, 3.822570323944092, 3.8222503662109375, 3.821930170059204, 3.8216094970703125, 3.8212883472442627, 3.8209667205810547, 3.8206448554992676, 3.820322275161743, 3.8199994564056396, 3.819676160812378, 3.819352388381958, 3.81902813911438, 3.8187034130096436, 3.818378448486328, 3.8180527687072754, 3.8177268505096436, 3.8174004554748535, 3.8170735836029053, 3.816746234893799, 3.816418409347534, 3.8160901069641113, 3.8157613277435303, 3.815432071685791, 3.8151025772094727, 3.814772367477417, 3.8144419193267822, 3.8141109943389893, 3.813779354095459, 3.8134474754333496, 3.813115119934082, 3.8127822875976562, 3.8124489784240723, 3.81211519241333, 3.8117809295654297, 3.811446189880371, 3.8111109733581543, 3.8107752799987793, 3.810439109802246, 3.8101024627685547, 3.809765338897705, 3.8094277381896973, 3.809089422225952, 3.808750867843628, 3.8084118366241455, 3.808072328567505, 3.807732343673706, 3.807391881942749, 3.807050943374634, 3.8067092895507812, 3.8063673973083496, 3.8060250282287598, 3.8056819438934326, 3.8053383827209473, 3.804994583129883, 3.804650068283081, 3.804305076599121, 3.803959608078003, 3.8036136627197266, 3.803267240524292, 3.802920341491699, 3.802572727203369, 3.80222487449646, 3.8018763065338135, 3.801527261734009, 3.801177740097046, 3.800827741622925, 3.8004772663116455, 3.800126075744629, 3.799774408340454, 3.7994225025177, 3.799069881439209, 3.7987165451049805, 3.798362970352173, 3.798008680343628, 3.797653913497925, 3.7972986698150635, 3.796942949295044, 3.796586751937866, 3.796229839324951, 3.795872449874878, 3.7955145835876465, 3.7951560020446777, 3.794796943664551, 3.7944374084472656, 3.7940773963928223, 3.7937166690826416, 3.7933554649353027, 3.7929937839508057, 3.7926316261291504, 3.792268753051758, 3.791905403137207, 3.791541337966919, 3.7911767959594727, 3.790811777114868, 3.7904462814331055, 3.7900800704956055, 3.7897133827209473, 3.7893459796905518, 3.788978099822998, 3.788609743118286, 3.788240671157837, 3.7878711223602295, 3.7875008583068848, 3.787130117416382, 3.7867588996887207, 3.7863869667053223, 3.7860145568847656, 3.7856414318084717, 3.7852678298950195, 3.784893751144409, 3.7845189571380615, 3.7841434478759766, 3.7837674617767334, 3.783390998840332, 3.7830138206481934, 3.7826359272003174, 3.782257556915283, 3.781878709793091, 3.781499147415161, 3.7811191082000732, 3.780738115310669, 3.7803568840026855, 3.779974937438965, 3.779592275619507, 3.7792091369628906, 3.778825283050537, 3.7784407138824463, 3.7780556678771973, 3.77767014503479, 3.7772836685180664, 3.7768969535827637, 3.7765092849731445, 3.776121139526367, 3.7757322788238525, 3.7753429412841797, 3.7749528884887695, 3.774562120437622, 3.7741706371307373, 3.7737786769866943, 3.773386001586914, 3.7729928493499756, 3.7725989818573, 3.7722043991088867, 3.7718091011047363, 3.7714133262634277, 3.771016836166382, 3.7706196308135986, 3.770221710205078, 3.7698230743408203, 3.7694239616394043, 3.769024133682251, 3.7686235904693604, 3.7682225704193115, 3.7678205966949463, 3.767418146133423, 3.767014980316162, 3.766611099243164, 3.7662065029144287, 3.765801429748535, 3.765395402908325, 3.764988899230957, 3.7645814418792725, 3.7641735076904297, 3.7637648582458496, 3.7633554935455322, 3.7629454135894775, 3.7625346183776855, 3.7621231079101562, 3.7617108821868896, 3.7612979412078857, 3.7608845233917236, 3.760470151901245, 3.7600550651550293, 3.759639263153076, 3.759222984313965, 3.758805751800537, 3.758387804031372, 3.7579691410064697, 3.75754976272583, 3.757129669189453, 3.756708860397339, 3.7562873363494873, 3.7558648586273193, 3.755441904067993, 3.7550179958343506, 3.75459361076355, 3.7541682720184326, 3.753742218017578, 3.7533154487609863, 3.752887725830078, 3.7524595260620117, 3.752030372619629, 3.751600503921509, 3.7511699199676514, 3.7507386207580566, 3.7503063678741455, 3.749873399734497, 3.7494397163391113, 3.7490053176879883, 3.748569965362549, 3.748133897781372, 3.747697114944458, 3.7472593784332275, 3.7468209266662598, 3.7463817596435547, 3.745941638946533, 3.7455008029937744, 3.7450592517852783, 3.744616746902466, 3.744173526763916, 3.74372935295105, 3.7432844638824463, 3.7428386211395264, 3.742392063140869, 3.7419447898864746, 3.7414965629577637, 3.7410476207733154, 3.740597724914551, 3.7401468753814697, 3.7396953105926514, 3.7392430305480957, 3.7387897968292236, 3.738335609436035, 3.7378807067871094, 3.737424850463867, 3.7369682788848877, 3.736510753631592, 3.7360522747039795, 3.73559308052063, 3.735132932662964, 3.7346718311309814, 3.7342100143432617, 3.7337472438812256, 3.733283519744873, 3.732819080352783, 3.732353448867798, 3.731887102127075, 3.7314200401306152, 3.7309517860412598, 3.730482816696167, 3.730012893676758, 3.7295420169830322, 3.7290701866149902, 3.728597402572632, 3.728123903274536, 3.727649211883545, 3.7271738052368164, 3.7266974449157715, 3.72622013092041, 3.7257418632507324, 3.725262403488159, 3.7247822284698486, 3.7243010997772217, 3.7238190174102783, 3.7233359813690186, 3.7228519916534424, 3.72236704826355, 3.721881151199341, 3.7213943004608154, 3.7209062576293945, 3.7204174995422363, 3.7199275493621826, 3.7194366455078125, 3.718944787979126, 3.718451976776123, 3.7179582118988037, 3.717463254928589, 3.7169675827026367, 3.71647047996521, 3.715972661972046, 3.7154738903045654, 3.7149739265441895, 3.714473009109497, 3.713970899581909, 3.713467836380005, 3.712963819503784, 3.712458848953247, 3.7119526863098145, 3.7114453315734863, 3.710937023162842, 3.710427761077881, 3.7099173069000244, 3.7094058990478516, 3.708893299102783, 3.7083797454833984, 3.707864999771118, 3.7073493003845215, 3.7068324089050293, 3.7063143253326416, 3.7057952880859375, 3.705275058746338, 3.704753875732422, 3.7042312622070312, 3.703707695007324, 3.703183174133301, 3.702657461166382, 3.7021303176879883, 3.7016024589538574, 3.701073169708252, 3.700542688369751, 3.7000112533569336, 3.6994786262512207, 3.6989448070526123, 3.6984097957611084, 3.697873592376709, 3.697336196899414, 3.6967978477478027, 3.696258068084717, 3.6957170963287354, 3.6951749324798584, 3.694631814956665, 3.694087266921997, 3.6935415267944336, 3.6929945945739746, 3.69244647026062, 3.691896915435791, 3.6913464069366455, 3.6907944679260254, 3.6902413368225098, 3.6896870136260986, 3.689131259918213, 3.6885745525360107, 3.688016414642334, 3.6874568462371826, 3.686896324157715, 3.6863341331481934, 3.6857709884643555, 3.685206413269043, 3.684640407562256, 3.6840732097625732, 3.683504819869995, 3.6829349994659424, 3.682363986968994, 3.6817915439605713, 3.681217670440674, 3.680642604827881, 3.6800661087036133, 3.679488182067871, 3.6789090633392334, 3.678328275680542, 3.677746534347534, 3.6771631240844727, 3.6765785217285156, 3.675992250442505, 3.6754047870635986, 3.6748158931732178, 3.6742255687713623, 3.6736338138580322, 3.6730406284332275, 3.6724460124969482, 3.6718499660491943, 3.671252489089966, 3.6706535816192627, 3.670053243637085, 3.6694514751434326, 3.6688480377197266, 3.668243408203125, 3.6676371097564697, 3.66702938079834, 3.6664199829101562, 3.665809154510498, 3.6651968955993652, 3.664583206176758, 3.6639678478240967, 3.663350820541382, 3.6627323627471924, 3.6621124744415283, 3.6614909172058105, 3.660867929458618, 3.660243272781372, 3.6596169471740723, 3.6589889526367188, 3.6583595275878906, 3.657728672027588, 3.6570959091186523, 3.656461715698242, 3.655825614929199, 3.6551880836486816, 3.6545488834381104, 3.6539080142974854, 3.6532657146453857, 3.6526215076446533, 3.651975631713867, 3.6513280868530273, 3.650678873062134, 3.6500277519226074, 3.6493752002716064, 3.6487207412719727, 3.648064613342285, 3.647406816482544, 3.646747350692749, 3.6460859775543213, 3.6454226970672607, 3.6447579860687256, 3.6440913677215576, 3.643422842025757, 3.6427524089813232, 3.642080545425415, 3.641406536102295, 3.640730857849121, 3.6400532722473145, 3.639373779296875, 3.638692617416382, 3.6380093097686768, 3.637324333190918, 3.6366374492645264, 3.635948657989502, 3.6352579593658447, 3.6345653533935547, 3.6338706016540527, 3.633174180984497, 3.6324756145477295, 3.631775140762329, 3.631072759628296, 3.63036847114563, 3.629662036895752, 3.628953695297241, 3.6282432079315186, 3.627530813217163, 3.6268162727355957, 3.6260998249053955, 3.6253812313079834, 3.6246607303619385, 3.6239378452301025, 3.623213052749634, 3.622486114501953, 3.6217570304870605, 3.621025800704956, 3.6202926635742188, 3.6195571422576904, 3.61881947517395, 3.618079662322998, 3.617337465286255, 3.616593360900879, 3.615846872329712, 3.615098237991333, 3.614347219467163, 3.6135940551757812, 3.6128387451171875, 3.6120810508728027, 3.611320972442627, 3.6105587482452393, 3.6097939014434814, 3.6090269088745117, 3.60825777053833, 3.6074860095977783, 3.6067118644714355, 3.605935573577881, 3.605156660079956, 3.6043753623962402, 3.6035916805267334, 3.6028053760528564, 3.6020166873931885, 3.6012256145477295, 3.6004321575164795, 3.5996358394622803, 3.598837375640869, 3.598036050796509, 3.5972323417663574, 3.596426010131836, 3.5956170558929443, 3.5948057174682617, 3.59399151802063, 3.593174695968628, 3.592355489730835, 3.5915334224700928, 3.5907084941864014, 3.589881181716919, 3.5890510082244873, 3.5882179737091064, 3.5873823165893555, 3.5865437984466553, 3.585702657699585, 3.5848586559295654, 3.5840117931365967, 3.5831620693206787, 3.5823094844818115, 3.581454038619995, 3.5805957317352295, 3.5797343254089355, 3.5788702964782715, 3.5780029296875, 3.5771329402923584, 3.5762598514556885, 3.5753836631774902, 3.5745043754577637, 3.573622226715088, 3.572736978530884, 3.5718483924865723, 3.5709569454193115, 3.5700621604919434, 3.569164514541626, 3.568263530731201, 3.567359209060669, 3.5664517879486084, 3.5655410289764404, 3.564627170562744, 3.5637099742889404, 3.56278920173645, 3.5618653297424316, 3.5609381198883057, 3.5600075721740723, 3.5590734481811523, 3.558135986328125, 3.557194948196411, 3.55625057220459, 3.555302619934082, 3.5543510913848877, 3.553395986557007, 3.5524375438690186, 3.5514752864837646, 3.550509452819824, 3.549539804458618, 3.5485665798187256, 3.5475897789001465, 3.5466091632843018, 3.5456247329711914, 3.5446364879608154, 3.543644428253174, 3.5426483154296875, 3.5416486263275146, 3.540644884109497, 3.539637327194214, 3.538625717163086, 3.5376100540161133, 3.536590337753296, 3.535566568374634, 3.534538745880127, 3.5335068702697754, 3.532470703125, 3.53143048286438, 3.530385971069336, 3.529337167739868, 3.5282840728759766, 3.527226686477661, 3.5261647701263428, 3.5250988006591797, 3.5240280628204346, 3.5229530334472656, 3.521873712539673, 3.520789623260498, 3.5197010040283203, 3.5186076164245605, 3.517509698867798, 3.5164072513580322, 3.5152997970581055, 3.514187812805176, 3.513071060180664, 3.511949300765991, 3.5108227729797363, 3.5096912384033203, 3.508554697036743, 3.507413387298584, 3.5062668323516846, 3.505115270614624, 3.5039584636688232, 3.5027966499328613, 3.50162935256958, 3.5004570484161377, 3.499279260635376, 3.498096227645874, 3.4969077110290527, 3.495713710784912, 3.4945144653320312, 3.493309259414673, 3.492098808288574, 3.490882635116577, 3.4896605014801025, 3.4884328842163086, 3.487199306488037, 3.485960006713867, 3.4847147464752197, 3.4834635257720947, 3.482206344604492, 3.480942964553833, 3.4796736240386963, 3.478397846221924, 3.477116107940674, 3.475827932357788, 3.4745333194732666, 3.4732322692871094, 3.4719247817993164, 3.4706108570098877, 3.469290256500244, 3.4679629802703857, 3.4666287899017334, 3.4652881622314453, 3.463940382003784, 3.462585687637329, 3.46122407913208, 3.459855318069458, 3.458479404449463, 3.4570963382720947, 3.4557058811187744, 3.454308032989502, 3.4529027938842773, 3.4514901638031006, 3.4500699043273926, 3.448641777038574, 3.4472060203552246, 3.4457623958587646, 3.4443109035491943, 3.4428513050079346, 3.4413838386535645, 3.439908027648926, 3.4384241104125977, 3.436931610107422, 3.4354307651519775, 3.4339215755462646, 3.432403564453125, 3.4308769702911377, 3.4293413162231445, 3.4277970790863037, 3.426243543624878, 3.4246811866760254, 3.423109292984009, 3.4215283393859863, 3.4199378490448, 3.418337821960449, 3.4167282581329346, 3.4151089191436768, 3.4134795665740967, 3.4118404388427734, 3.410191059112549, 3.408531665802002, 3.4068617820739746, 3.405181407928467, 3.4034905433654785, 3.4017889499664307, 3.400076389312744, 3.398353099822998, 3.396618604660034, 3.3948726654052734, 3.393115520477295, 3.3913466930389404, 3.389566421508789, 3.3877742290496826, 3.385970115661621, 3.3841538429260254, 3.3823251724243164, 3.380484104156494, 3.3786303997039795, 3.3767640590667725, 3.374884843826294, 3.3729922771453857, 3.371086597442627, 3.3691673278808594, 3.367234706878662, 3.365288019180298, 3.3633272647857666, 3.3613524436950684, 3.359363079071045, 3.3573591709136963, 3.3553404808044434, 3.353306770324707, 3.351257801055908, 3.3491933345794678, 3.3471131324768066, 3.345017194747925, 3.342905044555664, 3.3407764434814453, 3.3386311531066895, 3.3364691734313965, 3.334290027618408, 3.3320934772491455, 3.3298792839050293, 3.3276469707489014, 3.325396776199341, 3.3231279850006104, 3.320840358734131, 3.3185336589813232, 3.3162076473236084, 3.3138620853424072, 3.3114962577819824, 3.309110164642334, 3.306703567504883, 3.3042757511138916, 3.3018267154693604, 3.299355983734131, 3.296863079071045, 3.2943477630615234, 3.2918097972869873, 3.28924822807312, 3.286663293838501, 3.2840542793273926, 3.2814207077026367, 3.278762102127075, 3.276078224182129, 3.2733683586120605, 3.270632266998291, 3.267869472503662, 3.2650792598724365, 3.262261390686035, 3.2594149112701416, 3.256539821624756, 3.2536349296569824, 3.2507002353668213, 3.247734785079956, 3.2447383403778076, 3.2417097091674805, 3.2386488914489746, 3.2355546951293945, 3.232426643371582, 3.2292640209198, 3.2260661125183105, 3.222832202911377, 3.2195615768432617, 3.2162532806396484, 3.2129063606262207, 3.2095203399658203, 3.2060940265655518, 3.2026267051696777, 3.1991171836853027, 3.1955649852752686, 3.1919684410095215, 3.1883270740509033, 3.1846394538879395, 3.1809048652648926, 3.177121639251709, 3.1732890605926514, 3.169405460357666, 3.1654698848724365, 3.1614809036254883, 3.1574370861053467, 3.153337001800537, 3.149179220199585, 3.1449620723724365, 3.1406843662261963, 3.1363437175750732, 3.131938934326172, 3.1274681091308594, 3.122929334640503, 3.1183204650878906, 3.1136398315429688, 3.108884811401367, 3.104053497314453, 3.0991435050964355, 3.0941522121429443, 3.0890772342681885, 3.083915948867798, 3.0786654949188232, 3.0733230113983154, 3.067885160446167, 3.0623490810394287, 3.056710958480835, 3.0509676933288574, 3.0451154708862305, 3.0391499996185303, 3.033067464828491, 3.0268633365631104, 3.0205330848693848, 3.0140717029571533, 3.007474184036255, 3.000734806060791, 2.9938483238220215, 2.9868080615997314, 2.9796078205108643, 2.972240447998047, 2.9646987915039062, 2.956974744796753, 2.9490604400634766, 2.940946340560913, 2.9326233863830566, 2.9240808486938477, 2.9153079986572266, 2.9062931537628174, 2.8970234394073486, 2.8874852657318115, 2.8776636123657227, 2.8675425052642822, 2.857104778289795, 2.8463311195373535, 2.8352015018463135, 2.82369327545166, 2.811781883239746, 2.799440383911133, 2.7866389751434326, 2.7733452320098877, 2.7595229148864746, 2.745131731033325, 2.7301270961761475, 2.714458703994751, 2.698070764541626, 2.6808993816375732, 2.6628730297088623, 2.6439099311828613, 2.6239161491394043, 2.602783679962158, 2.580387592315674, 2.5565812587738037, 2.5311927795410156, 2.5040173530578613, 2.4748096466064453, 2.4432718753814697, 2.4090383052825928, 2.3716535568237305, 2.330540180206299, 2.2849531173706055, 2.233907699584961, 2.1760683059692383, 2.1095616817474365, 2.0316519737243652, 1.9381346702575684, 1.8221195936203003, 1.671385645866394, 1.462499976158142, 1.1531180143356323, 0, 0] diff --git a/anomaly-detector/anomaly_detector/univariate/util/date_utils.py b/src/anomaly_detector/univariate/util/date_utils.py similarity index 100% rename from anomaly-detector/anomaly_detector/univariate/util/date_utils.py rename to src/anomaly_detector/univariate/util/date_utils.py diff --git a/anomaly-detector/anomaly_detector/univariate/util/enum.py b/src/anomaly_detector/univariate/util/enum.py similarity index 100% rename from anomaly-detector/anomaly_detector/univariate/util/enum.py rename to src/anomaly_detector/univariate/util/enum.py diff --git a/anomaly-detector/anomaly_detector/univariate/util/fields.py b/src/anomaly_detector/univariate/util/fields.py similarity index 100% rename from anomaly-detector/anomaly_detector/univariate/util/fields.py rename to src/anomaly_detector/univariate/util/fields.py diff --git a/anomaly-detector/anomaly_detector/univariate/util/helpers.py b/src/anomaly_detector/univariate/util/helpers.py similarity index 97% rename from anomaly-detector/anomaly_detector/univariate/util/helpers.py rename to src/anomaly_detector/univariate/util/helpers.py index 27da7c7..84c6962 100644 --- a/anomaly-detector/anomaly_detector/univariate/util/helpers.py +++ b/src/anomaly_detector/univariate/util/helpers.py @@ -9,18 +9,16 @@ from seasonal import trend as trend_detector import os import sys -from .._anomaly_kernel_cython import median_filter +from anomaly_detector.univariate._anomaly_kernel_cython import median_filter import json -from .._anomaly_kernel_cython import calculate_esd_values +from anomaly_detector.univariate._anomaly_kernel_cython import calculate_esd_values from statsmodels import robust from anomaly_detector.univariate.util.date_utils import get_date_difference from anomaly_detector.univariate.util.fields import DEFAULT_ALPHA, YEAR_SECOND, MONTH_SECOND, WEEK_SECOND, \ DAY_SECOND, HOUR_SECOND, MINUTE_SECOND, Granularity, SECOND, MICRO_SECOND from anomaly_detector.univariate.resource.error_message import ValueOverflow - -with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), 'critical_table.txt')) as json_file: - critical_table = json.load(json_file) +from anomaly_detector.univariate.util.critical_table_values import critical_table def leastsq(x, y): diff --git a/anomaly-detector/anomaly_detector/univariate/util/r_stl.py b/src/anomaly_detector/univariate/util/r_stl.py similarity index 100% rename from anomaly-detector/anomaly_detector/univariate/util/r_stl.py rename to src/anomaly_detector/univariate/util/r_stl.py diff --git a/anomaly-detector/anomaly_detector/univariate/util/refine.py b/src/anomaly_detector/univariate/util/refine.py similarity index 100% rename from anomaly-detector/anomaly_detector/univariate/util/refine.py rename to src/anomaly_detector/univariate/util/refine.py diff --git a/anomaly-detector/anomaly_detector/univariate/util/stl_helpers.py b/src/anomaly_detector/univariate/util/stl_helpers.py similarity index 100% rename from anomaly-detector/anomaly_detector/univariate/util/stl_helpers.py rename to src/anomaly_detector/univariate/util/stl_helpers.py diff --git a/anomaly-detector/anomaly_detector/univariate/model/__init__.py b/tests/__init__.py similarity index 99% rename from anomaly-detector/anomaly_detector/univariate/model/__init__.py rename to tests/__init__.py index 6ec5d1c..d02a9af 100644 --- a/anomaly-detector/anomaly_detector/univariate/model/__init__.py +++ b/tests/__init__.py @@ -2,4 +2,3 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # --------------------------------------------------------- - diff --git a/anomaly-detector/tests/cases/function_module_test.test_entire_need_fill_request_0.json b/tests/cases/function_module_test.test_entire_need_fill_request_0.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_entire_need_fill_request_0.json rename to tests/cases/function_module_test.test_entire_need_fill_request_0.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_entire_need_fill_request_1.json b/tests/cases/function_module_test.test_entire_need_fill_request_1.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_entire_need_fill_request_1.json rename to tests/cases/function_module_test.test_entire_need_fill_request_1.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_entire_need_fill_request_2.json b/tests/cases/function_module_test.test_entire_need_fill_request_2.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_entire_need_fill_request_2.json rename to tests/cases/function_module_test.test_entire_need_fill_request_2.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_entire_need_fill_request_3.json b/tests/cases/function_module_test.test_entire_need_fill_request_3.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_entire_need_fill_request_3.json rename to tests/cases/function_module_test.test_entire_need_fill_request_3.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_entire_need_fill_request_4.json b/tests/cases/function_module_test.test_entire_need_fill_request_4.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_entire_need_fill_request_4.json rename to tests/cases/function_module_test.test_entire_need_fill_request_4.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_entire_need_fill_request_5.json b/tests/cases/function_module_test.test_entire_need_fill_request_5.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_entire_need_fill_request_5.json rename to tests/cases/function_module_test.test_entire_need_fill_request_5.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_entire_need_fill_request_6.json b/tests/cases/function_module_test.test_entire_need_fill_request_6.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_entire_need_fill_request_6.json rename to tests/cases/function_module_test.test_entire_need_fill_request_6.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_entire_need_fill_request_7.json b/tests/cases/function_module_test.test_entire_need_fill_request_7.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_entire_need_fill_request_7.json rename to tests/cases/function_module_test.test_entire_need_fill_request_7.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_entire_need_fill_request_8.json b/tests/cases/function_module_test.test_entire_need_fill_request_8.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_entire_need_fill_request_8.json rename to tests/cases/function_module_test.test_entire_need_fill_request_8.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_entire_need_fill_request_9.json b/tests/cases/function_module_test.test_entire_need_fill_request_9.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_entire_need_fill_request_9.json rename to tests/cases/function_module_test.test_entire_need_fill_request_9.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_entire_request_0.json b/tests/cases/function_module_test.test_entire_request_0.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_entire_request_0.json rename to tests/cases/function_module_test.test_entire_request_0.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_entire_request_1.json b/tests/cases/function_module_test.test_entire_request_1.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_entire_request_1.json rename to tests/cases/function_module_test.test_entire_request_1.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_entire_request_10.json b/tests/cases/function_module_test.test_entire_request_10.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_entire_request_10.json rename to tests/cases/function_module_test.test_entire_request_10.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_entire_request_11.json b/tests/cases/function_module_test.test_entire_request_11.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_entire_request_11.json rename to tests/cases/function_module_test.test_entire_request_11.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_entire_request_12.json b/tests/cases/function_module_test.test_entire_request_12.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_entire_request_12.json rename to tests/cases/function_module_test.test_entire_request_12.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_entire_request_2.json b/tests/cases/function_module_test.test_entire_request_2.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_entire_request_2.json rename to tests/cases/function_module_test.test_entire_request_2.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_entire_request_3.json b/tests/cases/function_module_test.test_entire_request_3.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_entire_request_3.json rename to tests/cases/function_module_test.test_entire_request_3.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_entire_request_4.json b/tests/cases/function_module_test.test_entire_request_4.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_entire_request_4.json rename to tests/cases/function_module_test.test_entire_request_4.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_entire_request_5.json b/tests/cases/function_module_test.test_entire_request_5.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_entire_request_5.json rename to tests/cases/function_module_test.test_entire_request_5.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_entire_request_6.json b/tests/cases/function_module_test.test_entire_request_6.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_entire_request_6.json rename to tests/cases/function_module_test.test_entire_request_6.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_entire_request_7.json b/tests/cases/function_module_test.test_entire_request_7.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_entire_request_7.json rename to tests/cases/function_module_test.test_entire_request_7.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_entire_request_8.json b/tests/cases/function_module_test.test_entire_request_8.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_entire_request_8.json rename to tests/cases/function_module_test.test_entire_request_8.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_entire_request_9.json b/tests/cases/function_module_test.test_entire_request_9.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_entire_request_9.json rename to tests/cases/function_module_test.test_entire_request_9.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_extreme_data_0.json b/tests/cases/function_module_test.test_extreme_data_0.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_extreme_data_0.json rename to tests/cases/function_module_test.test_extreme_data_0.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_extreme_data_1.json b/tests/cases/function_module_test.test_extreme_data_1.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_extreme_data_1.json rename to tests/cases/function_module_test.test_extreme_data_1.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_extreme_data_2.json b/tests/cases/function_module_test.test_extreme_data_2.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_extreme_data_2.json rename to tests/cases/function_module_test.test_extreme_data_2.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_extreme_data_3.json b/tests/cases/function_module_test.test_extreme_data_3.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_extreme_data_3.json rename to tests/cases/function_module_test.test_extreme_data_3.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_last_request_0.json b/tests/cases/function_module_test.test_last_request_0.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_last_request_0.json rename to tests/cases/function_module_test.test_last_request_0.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_last_request_1.json b/tests/cases/function_module_test.test_last_request_1.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_last_request_1.json rename to tests/cases/function_module_test.test_last_request_1.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_last_request_10.json b/tests/cases/function_module_test.test_last_request_10.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_last_request_10.json rename to tests/cases/function_module_test.test_last_request_10.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_last_request_11.json b/tests/cases/function_module_test.test_last_request_11.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_last_request_11.json rename to tests/cases/function_module_test.test_last_request_11.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_last_request_12.json b/tests/cases/function_module_test.test_last_request_12.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_last_request_12.json rename to tests/cases/function_module_test.test_last_request_12.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_last_request_13.json b/tests/cases/function_module_test.test_last_request_13.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_last_request_13.json rename to tests/cases/function_module_test.test_last_request_13.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_last_request_14.json b/tests/cases/function_module_test.test_last_request_14.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_last_request_14.json rename to tests/cases/function_module_test.test_last_request_14.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_last_request_15.json b/tests/cases/function_module_test.test_last_request_15.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_last_request_15.json rename to tests/cases/function_module_test.test_last_request_15.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_last_request_17.json b/tests/cases/function_module_test.test_last_request_17.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_last_request_17.json rename to tests/cases/function_module_test.test_last_request_17.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_last_request_18.json b/tests/cases/function_module_test.test_last_request_18.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_last_request_18.json rename to tests/cases/function_module_test.test_last_request_18.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_last_request_19.json b/tests/cases/function_module_test.test_last_request_19.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_last_request_19.json rename to tests/cases/function_module_test.test_last_request_19.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_last_request_2.json b/tests/cases/function_module_test.test_last_request_2.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_last_request_2.json rename to tests/cases/function_module_test.test_last_request_2.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_last_request_20.json b/tests/cases/function_module_test.test_last_request_20.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_last_request_20.json rename to tests/cases/function_module_test.test_last_request_20.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_last_request_21.json b/tests/cases/function_module_test.test_last_request_21.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_last_request_21.json rename to tests/cases/function_module_test.test_last_request_21.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_last_request_22.json b/tests/cases/function_module_test.test_last_request_22.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_last_request_22.json rename to tests/cases/function_module_test.test_last_request_22.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_last_request_23.json b/tests/cases/function_module_test.test_last_request_23.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_last_request_23.json rename to tests/cases/function_module_test.test_last_request_23.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_last_request_24.json b/tests/cases/function_module_test.test_last_request_24.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_last_request_24.json rename to tests/cases/function_module_test.test_last_request_24.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_last_request_25.json b/tests/cases/function_module_test.test_last_request_25.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_last_request_25.json rename to tests/cases/function_module_test.test_last_request_25.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_last_request_3.json b/tests/cases/function_module_test.test_last_request_3.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_last_request_3.json rename to tests/cases/function_module_test.test_last_request_3.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_last_request_4.json b/tests/cases/function_module_test.test_last_request_4.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_last_request_4.json rename to tests/cases/function_module_test.test_last_request_4.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_last_request_5.json b/tests/cases/function_module_test.test_last_request_5.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_last_request_5.json rename to tests/cases/function_module_test.test_last_request_5.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_last_request_6.json b/tests/cases/function_module_test.test_last_request_6.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_last_request_6.json rename to tests/cases/function_module_test.test_last_request_6.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_last_request_7.json b/tests/cases/function_module_test.test_last_request_7.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_last_request_7.json rename to tests/cases/function_module_test.test_last_request_7.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_last_request_8.json b/tests/cases/function_module_test.test_last_request_8.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_last_request_8.json rename to tests/cases/function_module_test.test_last_request_8.json diff --git a/anomaly-detector/tests/cases/function_module_test.test_last_request_9.json b/tests/cases/function_module_test.test_last_request_9.json similarity index 100% rename from anomaly-detector/tests/cases/function_module_test.test_last_request_9.json rename to tests/cases/function_module_test.test_last_request_9.json diff --git a/anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case10_0.json b/tests/cases/json_dsat_test.cases.dsat_case10_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case10_0.json rename to tests/cases/json_dsat_test.cases.dsat_case10_0.json diff --git a/anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case11_0.json b/tests/cases/json_dsat_test.cases.dsat_case11_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case11_0.json rename to tests/cases/json_dsat_test.cases.dsat_case11_0.json diff --git a/anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case12_0.json b/tests/cases/json_dsat_test.cases.dsat_case12_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case12_0.json rename to tests/cases/json_dsat_test.cases.dsat_case12_0.json diff --git a/anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case13_0.json b/tests/cases/json_dsat_test.cases.dsat_case13_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case13_0.json rename to tests/cases/json_dsat_test.cases.dsat_case13_0.json diff --git a/anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case14_0.json b/tests/cases/json_dsat_test.cases.dsat_case14_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case14_0.json rename to tests/cases/json_dsat_test.cases.dsat_case14_0.json diff --git a/anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case15_0.json b/tests/cases/json_dsat_test.cases.dsat_case15_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case15_0.json rename to tests/cases/json_dsat_test.cases.dsat_case15_0.json diff --git a/anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case16_0.json b/tests/cases/json_dsat_test.cases.dsat_case16_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case16_0.json rename to tests/cases/json_dsat_test.cases.dsat_case16_0.json diff --git a/anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case17_0.json b/tests/cases/json_dsat_test.cases.dsat_case17_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case17_0.json rename to tests/cases/json_dsat_test.cases.dsat_case17_0.json diff --git a/anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case18_0.json b/tests/cases/json_dsat_test.cases.dsat_case18_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case18_0.json rename to tests/cases/json_dsat_test.cases.dsat_case18_0.json diff --git a/anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case19_0.json b/tests/cases/json_dsat_test.cases.dsat_case19_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case19_0.json rename to tests/cases/json_dsat_test.cases.dsat_case19_0.json diff --git a/anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case1_0.json b/tests/cases/json_dsat_test.cases.dsat_case1_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case1_0.json rename to tests/cases/json_dsat_test.cases.dsat_case1_0.json diff --git a/anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case20_0.json b/tests/cases/json_dsat_test.cases.dsat_case20_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case20_0.json rename to tests/cases/json_dsat_test.cases.dsat_case20_0.json diff --git a/anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case21_0.json b/tests/cases/json_dsat_test.cases.dsat_case21_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case21_0.json rename to tests/cases/json_dsat_test.cases.dsat_case21_0.json diff --git a/anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case22_0.json b/tests/cases/json_dsat_test.cases.dsat_case22_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case22_0.json rename to tests/cases/json_dsat_test.cases.dsat_case22_0.json diff --git a/anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case23_0.json b/tests/cases/json_dsat_test.cases.dsat_case23_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case23_0.json rename to tests/cases/json_dsat_test.cases.dsat_case23_0.json diff --git a/anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case24_0.json b/tests/cases/json_dsat_test.cases.dsat_case24_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case24_0.json rename to tests/cases/json_dsat_test.cases.dsat_case24_0.json diff --git a/anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case25_0.json b/tests/cases/json_dsat_test.cases.dsat_case25_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case25_0.json rename to tests/cases/json_dsat_test.cases.dsat_case25_0.json diff --git a/anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case26_0.json b/tests/cases/json_dsat_test.cases.dsat_case26_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case26_0.json rename to tests/cases/json_dsat_test.cases.dsat_case26_0.json diff --git a/anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case27_0.json b/tests/cases/json_dsat_test.cases.dsat_case27_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case27_0.json rename to tests/cases/json_dsat_test.cases.dsat_case27_0.json diff --git a/anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case28_0.json b/tests/cases/json_dsat_test.cases.dsat_case28_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case28_0.json rename to tests/cases/json_dsat_test.cases.dsat_case28_0.json diff --git a/anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case29_0.json b/tests/cases/json_dsat_test.cases.dsat_case29_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case29_0.json rename to tests/cases/json_dsat_test.cases.dsat_case29_0.json diff --git a/anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case2_0.json b/tests/cases/json_dsat_test.cases.dsat_case2_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case2_0.json rename to tests/cases/json_dsat_test.cases.dsat_case2_0.json diff --git a/anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case30_0.json b/tests/cases/json_dsat_test.cases.dsat_case30_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case30_0.json rename to tests/cases/json_dsat_test.cases.dsat_case30_0.json diff --git a/anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case31_0.json b/tests/cases/json_dsat_test.cases.dsat_case31_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case31_0.json rename to tests/cases/json_dsat_test.cases.dsat_case31_0.json diff --git a/anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case3_0.json b/tests/cases/json_dsat_test.cases.dsat_case3_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case3_0.json rename to tests/cases/json_dsat_test.cases.dsat_case3_0.json diff --git a/anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case4_0.json b/tests/cases/json_dsat_test.cases.dsat_case4_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case4_0.json rename to tests/cases/json_dsat_test.cases.dsat_case4_0.json diff --git a/anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case5_0.json b/tests/cases/json_dsat_test.cases.dsat_case5_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case5_0.json rename to tests/cases/json_dsat_test.cases.dsat_case5_0.json diff --git a/anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case6_0.json b/tests/cases/json_dsat_test.cases.dsat_case6_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case6_0.json rename to tests/cases/json_dsat_test.cases.dsat_case6_0.json diff --git a/anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case7_0.json b/tests/cases/json_dsat_test.cases.dsat_case7_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case7_0.json rename to tests/cases/json_dsat_test.cases.dsat_case7_0.json diff --git a/anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case8_0.json b/tests/cases/json_dsat_test.cases.dsat_case8_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case8_0.json rename to tests/cases/json_dsat_test.cases.dsat_case8_0.json diff --git a/anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case9_0.json b/tests/cases/json_dsat_test.cases.dsat_case9_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_dsat_test.cases.dsat_case9_0.json rename to tests/cases/json_dsat_test.cases.dsat_case9_0.json diff --git a/anomaly-detector/tests/cases/json_entire_cases.period_fix_data_hourly_yahoo_154.json b/tests/cases/json_entire_cases.period_fix_data_hourly_yahoo_154.json similarity index 100% rename from anomaly-detector/tests/cases/json_entire_cases.period_fix_data_hourly_yahoo_154.json rename to tests/cases/json_entire_cases.period_fix_data_hourly_yahoo_154.json diff --git a/anomaly-detector/tests/cases/json_entire_cases.period_fix_data_hourly_yahoo_2.json b/tests/cases/json_entire_cases.period_fix_data_hourly_yahoo_2.json similarity index 100% rename from anomaly-detector/tests/cases/json_entire_cases.period_fix_data_hourly_yahoo_2.json rename to tests/cases/json_entire_cases.period_fix_data_hourly_yahoo_2.json diff --git a/anomaly-detector/tests/cases/json_entire_cases.period_fix_data_hourly_yahoo_60.json b/tests/cases/json_entire_cases.period_fix_data_hourly_yahoo_60.json similarity index 100% rename from anomaly-detector/tests/cases/json_entire_cases.period_fix_data_hourly_yahoo_60.json rename to tests/cases/json_entire_cases.period_fix_data_hourly_yahoo_60.json diff --git a/anomaly-detector/tests/cases/json_entire_cases.test_a_0.json b/tests/cases/json_entire_cases.test_a_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_entire_cases.test_a_0.json rename to tests/cases/json_entire_cases.test_a_0.json diff --git a/anomaly-detector/tests/cases/json_entire_cases.test_b_0.json b/tests/cases/json_entire_cases.test_b_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_entire_cases.test_b_0.json rename to tests/cases/json_entire_cases.test_b_0.json diff --git a/anomaly-detector/tests/cases/json_entire_cases.test_c_0.json b/tests/cases/json_entire_cases.test_c_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_entire_cases.test_c_0.json rename to tests/cases/json_entire_cases.test_c_0.json diff --git a/anomaly-detector/tests/cases/json_entire_cases.test_d_0.json b/tests/cases/json_entire_cases.test_d_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_entire_cases.test_d_0.json rename to tests/cases/json_entire_cases.test_d_0.json diff --git a/anomaly-detector/tests/cases/json_last_cases.test_a_0.json b/tests/cases/json_last_cases.test_a_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_last_cases.test_a_0.json rename to tests/cases/json_last_cases.test_a_0.json diff --git a/anomaly-detector/tests/cases/json_last_cases.test_b_0.json b/tests/cases/json_last_cases.test_b_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_last_cases.test_b_0.json rename to tests/cases/json_last_cases.test_b_0.json diff --git a/anomaly-detector/tests/cases/json_last_cases.test_c_0.json b/tests/cases/json_last_cases.test_c_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_last_cases.test_c_0.json rename to tests/cases/json_last_cases.test_c_0.json diff --git a/anomaly-detector/tests/cases/json_last_cases.test_d_0.json b/tests/cases/json_last_cases.test_d_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_last_cases.test_d_0.json rename to tests/cases/json_last_cases.test_d_0.json diff --git a/anomaly-detector/tests/cases/json_last_cases.test_e_0.json b/tests/cases/json_last_cases.test_e_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_last_cases.test_e_0.json rename to tests/cases/json_last_cases.test_e_0.json diff --git a/anomaly-detector/tests/cases/json_profiling_cases.case_0.json b/tests/cases/json_profiling_cases.case_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_profiling_cases.case_0.json rename to tests/cases/json_profiling_cases.case_0.json diff --git a/anomaly-detector/tests/cases/json_profiling_cases.case_1.json b/tests/cases/json_profiling_cases.case_1.json similarity index 100% rename from anomaly-detector/tests/cases/json_profiling_cases.case_1.json rename to tests/cases/json_profiling_cases.case_1.json diff --git a/anomaly-detector/tests/cases/json_profiling_cases.case_2.json b/tests/cases/json_profiling_cases.case_2.json similarity index 100% rename from anomaly-detector/tests/cases/json_profiling_cases.case_2.json rename to tests/cases/json_profiling_cases.case_2.json diff --git a/anomaly-detector/tests/cases/json_profiling_cases.case_3.json b/tests/cases/json_profiling_cases.case_3.json similarity index 100% rename from anomaly-detector/tests/cases/json_profiling_cases.case_3.json rename to tests/cases/json_profiling_cases.case_3.json diff --git a/anomaly-detector/tests/cases/json_profiling_cases.case_4.json b/tests/cases/json_profiling_cases.case_4.json similarity index 100% rename from anomaly-detector/tests/cases/json_profiling_cases.case_4.json rename to tests/cases/json_profiling_cases.case_4.json diff --git a/anomaly-detector/tests/cases/json_profiling_cases.case_5.json b/tests/cases/json_profiling_cases.case_5.json similarity index 100% rename from anomaly-detector/tests/cases/json_profiling_cases.case_5.json rename to tests/cases/json_profiling_cases.case_5.json diff --git a/anomaly-detector/tests/cases/json_profiling_cases.case_6.json b/tests/cases/json_profiling_cases.case_6.json similarity index 100% rename from anomaly-detector/tests/cases/json_profiling_cases.case_6.json rename to tests/cases/json_profiling_cases.case_6.json diff --git a/anomaly-detector/tests/cases/json_profiling_cases.case_7.json b/tests/cases/json_profiling_cases.case_7.json similarity index 100% rename from anomaly-detector/tests/cases/json_profiling_cases.case_7.json rename to tests/cases/json_profiling_cases.case_7.json diff --git a/anomaly-detector/tests/cases/json_profiling_cases.case_8.json b/tests/cases/json_profiling_cases.case_8.json similarity index 100% rename from anomaly-detector/tests/cases/json_profiling_cases.case_8.json rename to tests/cases/json_profiling_cases.case_8.json diff --git a/anomaly-detector/tests/cases/json_profiling_cases.case_9.json b/tests/cases/json_profiling_cases.case_9.json similarity index 100% rename from anomaly-detector/tests/cases/json_profiling_cases.case_9.json rename to tests/cases/json_profiling_cases.case_9.json diff --git a/anomaly-detector/tests/cases/json_profiling_cases.test_profile_0.json b/tests/cases/json_profiling_cases.test_profile_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_profiling_cases.test_profile_0.json rename to tests/cases/json_profiling_cases.test_profile_0.json diff --git a/anomaly-detector/tests/cases/json_spectrum_period.entire_0.json b/tests/cases/json_spectrum_period.entire_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_spectrum_period.entire_0.json rename to tests/cases/json_spectrum_period.entire_0.json diff --git a/anomaly-detector/tests/cases/json_spectrum_period.last_0.json b/tests/cases/json_spectrum_period.last_0.json similarity index 100% rename from anomaly-detector/tests/cases/json_spectrum_period.last_0.json rename to tests/cases/json_spectrum_period.last_0.json diff --git a/anomaly-detector/tests/e2e_test_mvad.py b/tests/e2e_test_mvad.py similarity index 100% rename from anomaly-detector/tests/e2e_test_mvad.py rename to tests/e2e_test_mvad.py diff --git a/anomaly-detector/tests/e2e_test_uvad.py b/tests/e2e_test_uvad.py similarity index 100% rename from anomaly-detector/tests/e2e_test_uvad.py rename to tests/e2e_test_uvad.py diff --git a/anomaly-detector/tests/testCase/testCase_10000_20/config.yaml b/tests/testCase/testCase_10000_20/config.yaml similarity index 100% rename from anomaly-detector/tests/testCase/testCase_10000_20/config.yaml rename to tests/testCase/testCase_10000_20/config.yaml diff --git a/anomaly-detector/tests/testCase/testCase_10000_20/inference_data_smaller_than_window.csv b/tests/testCase/testCase_10000_20/inference_data_smaller_than_window.csv similarity index 100% rename from anomaly-detector/tests/testCase/testCase_10000_20/inference_data_smaller_than_window.csv rename to tests/testCase/testCase_10000_20/inference_data_smaller_than_window.csv diff --git a/anomaly-detector/tests/testCase/testCase_10000_20/invalid_timestamp.csv b/tests/testCase/testCase_10000_20/invalid_timestamp.csv similarity index 100% rename from anomaly-detector/tests/testCase/testCase_10000_20/invalid_timestamp.csv rename to tests/testCase/testCase_10000_20/invalid_timestamp.csv diff --git a/anomaly-detector/tests/testCase/testCase_10000_20/invalid_value.csv b/tests/testCase/testCase_10000_20/invalid_value.csv similarity index 100% rename from anomaly-detector/tests/testCase/testCase_10000_20/invalid_value.csv rename to tests/testCase/testCase_10000_20/invalid_value.csv diff --git a/anomaly-detector/tests/testCase/testCase_10000_20/model.pkl b/tests/testCase/testCase_10000_20/model.pkl similarity index 100% rename from anomaly-detector/tests/testCase/testCase_10000_20/model.pkl rename to tests/testCase/testCase_10000_20/model.pkl diff --git a/anomaly-detector/tests/testCase/testCase_10000_20/no_timestamp.csv b/tests/testCase/testCase_10000_20/no_timestamp.csv similarity index 100% rename from anomaly-detector/tests/testCase/testCase_10000_20/no_timestamp.csv rename to tests/testCase/testCase_10000_20/no_timestamp.csv diff --git a/anomaly-detector/tests/testCase/testCase_10000_20/normal_data.csv b/tests/testCase/testCase_10000_20/normal_data.csv similarity index 100% rename from anomaly-detector/tests/testCase/testCase_10000_20/normal_data.csv rename to tests/testCase/testCase_10000_20/normal_data.csv diff --git a/anomaly-detector/tests/test_demo.py b/tests/test_demo.py similarity index 100% rename from anomaly-detector/tests/test_demo.py rename to tests/test_demo.py diff --git a/anomaly-detector/tests/uvad_test.py b/tests/uvad_test.py similarity index 99% rename from anomaly-detector/tests/uvad_test.py rename to tests/uvad_test.py index 6653308..4ae2bcc 100644 --- a/anomaly-detector/tests/uvad_test.py +++ b/tests/uvad_test.py @@ -85,6 +85,7 @@ def call_last(content): return True, "Success" + class TestFunctional(unittest.TestCase): def setUp(self): self.verificationErrors = [] @@ -118,5 +119,6 @@ def test_functional(self): except Exception as e: self.verificationErrors.append(f"{case} {ret[1]} {str(e)}") + if __name__ == '__main__': - unittest.main() \ No newline at end of file + unittest.main()