Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- common/checks/final_completion_audit.json +532 -0
- common/checks/final_private_cleanup.json +48 -0
- common/runtime/robodojo_support/numpy-1.26.0.dist-info/INSTALLER +1 -0
- common/runtime/robodojo_support/numpy-1.26.0.dist-info/LICENSE.txt +910 -0
- common/runtime/robodojo_support/numpy-1.26.0.dist-info/METADATA +1030 -0
- common/runtime/robodojo_support/numpy-1.26.0.dist-info/RECORD +893 -0
- common/runtime/robodojo_support/numpy-1.26.0.dist-info/REQUESTED +0 -0
- common/runtime/robodojo_support/numpy-1.26.0.dist-info/WHEEL +6 -0
- common/runtime/robodojo_support/numpy-1.26.0.dist-info/direct_url.json +1 -0
- common/runtime/robodojo_support/numpy-1.26.0.dist-info/entry_points.txt +9 -0
- common/runtime/robodojo_support/numpy/typing/tests/data/pass/arithmetic.py +594 -0
- common/runtime/robodojo_support/numpy/typing/tests/data/pass/array_constructors.py +137 -0
- common/runtime/robodojo_support/numpy/typing/tests/data/pass/array_like.py +41 -0
- common/runtime/robodojo_support/numpy/typing/tests/data/pass/arrayterator.py +27 -0
- common/runtime/robodojo_support/numpy/typing/tests/data/pass/bitwise_ops.py +131 -0
- common/runtime/robodojo_support/numpy/typing/tests/data/pass/dtype.py +57 -0
- common/runtime/robodojo_support/numpy/typing/tests/data/pass/einsumfunc.py +36 -0
- common/runtime/robodojo_support/numpy/typing/tests/data/pass/flatiter.py +16 -0
- common/runtime/robodojo_support/numpy/typing/tests/data/pass/fromnumeric.py +260 -0
- common/runtime/robodojo_support/numpy/typing/tests/data/pass/index_tricks.py +64 -0
- common/runtime/robodojo_support/numpy/typing/tests/data/pass/lib_utils.py +28 -0
- common/runtime/robodojo_support/numpy/typing/tests/data/pass/lib_version.py +18 -0
- common/runtime/robodojo_support/numpy/typing/tests/data/pass/mod.py +149 -0
- common/runtime/robodojo_support/numpy/typing/tests/data/pass/modules.py +42 -0
- common/runtime/robodojo_support/numpy/typing/tests/data/pass/multiarray.py +76 -0
- common/runtime/robodojo_support/numpy/typing/tests/data/pass/ndarray_conversion.py +94 -0
- common/runtime/robodojo_support/numpy/typing/tests/data/pass/ndarray_misc.py +185 -0
- common/runtime/robodojo_support/numpy/typing/tests/data/pass/ndarray_shape_manipulation.py +47 -0
- common/runtime/robodojo_support/numpy/typing/tests/data/pass/numeric.py +90 -0
- common/runtime/robodojo_support/numpy/typing/tests/data/pass/numerictypes.py +42 -0
- common/runtime/robodojo_support/numpy/typing/tests/data/pass/random.py +1499 -0
- common/runtime/robodojo_support/numpy/typing/tests/data/pass/scalars.py +248 -0
- common/runtime/robodojo_support/numpy/typing/tests/data/pass/simple.py +165 -0
- common/runtime/robodojo_support/numpy/typing/tests/data/pass/simple_py3.py +6 -0
- common/runtime/robodojo_support/numpy/typing/tests/data/pass/ufunc_config.py +64 -0
- common/runtime/robodojo_support/numpy/typing/tests/data/pass/ufunclike.py +46 -0
- common/runtime/robodojo_support/numpy/typing/tests/data/pass/ufuncs.py +17 -0
- common/runtime/robodojo_support/numpy/typing/tests/data/pass/warnings_and_errors.py +6 -0
- common/runtime/robodojo_support/numpy/typing/tests/data/reveal/arithmetic.pyi +516 -0
- common/runtime/robodojo_support/numpy/typing/tests/data/reveal/array_constructors.pyi +221 -0
- common/runtime/robodojo_support/numpy/typing/tests/data/reveal/arraypad.pyi +28 -0
- common/runtime/robodojo_support/numpy/typing/tests/data/reveal/arrayprint.pyi +30 -0
- common/runtime/robodojo_support/numpy/typing/tests/data/reveal/arraysetops.pyi +68 -0
- common/runtime/robodojo_support/numpy/typing/tests/data/reveal/arrayterator.pyi +33 -0
- common/runtime/robodojo_support/numpy/typing/tests/data/reveal/bitwise_ops.pyi +135 -0
- common/runtime/robodojo_support/numpy/typing/tests/data/reveal/char.pyi +154 -0
- common/runtime/robodojo_support/numpy/typing/tests/data/reveal/chararray.pyi +140 -0
- common/runtime/robodojo_support/numpy/typing/tests/data/reveal/comparisons.pyi +270 -0
- common/runtime/robodojo_support/nump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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema": "starbench.expansion-final-independent-completion-audit/v1",
|
| 3 |
+
"status": "passed",
|
| 4 |
+
"completion_recommended": true,
|
| 5 |
+
"auditor": "expansion_driver_review",
|
| 6 |
+
"time_utc": "2026-10-13T12:56:37.146490+00:00",
|
| 7 |
+
"objective": "Complete one predeclared unattempted real model pilot for each of five remaining native benchmark services; retain native outcomes/media/cleanup, reuse existing dependencies, provide seven-benchmark evidence and repeatable launch instructions.",
|
| 8 |
+
"original_scope": "Seven requested native deployments and Harness public contracts plus real fixed model evaluations, isolated actor/no-oracle boundary, native protocols, once-only attempts, recorded outcomes/media/cleanup and reusable handoff. StageA Twin/Dojo and seven diagnostics preserved; stageB adds5fixed model cases.",
|
| 9 |
+
"requirements": [
|
| 10 |
+
{
|
| 11 |
+
"id": "official_runtime_reuse",
|
| 12 |
+
"state": "verified",
|
| 13 |
+
"evidence": [
|
| 14 |
+
"protocol_inventory.json",
|
| 15 |
+
"runtime_candidates.json",
|
| 16 |
+
"bootstrap_review.json",
|
| 17 |
+
"runtime_probe_02.json"
|
| 18 |
+
],
|
| 19 |
+
"finding": "Verified all five actual bootstrap receipts and runtime parameter hashes; accepted native deployments use existing interpreters/assets and only attempt-local Plus/assets/apps staging. Original seven native diagnostic references all hash match."
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"id": "fixed_unattempted_cases_native_budgets",
|
| 23 |
+
"state": "verified",
|
| 24 |
+
"evidence": [
|
| 25 |
+
"plan.json",
|
| 26 |
+
"plan_review.json",
|
| 27 |
+
"protocol_inventory.json"
|
| 28 |
+
],
|
| 29 |
+
"finding": "Frozen reviewed plan, live driver and permanent semantic claims agree for five exact task/seed/episode cases. Horizons80/520/220/750/3224 and replan5/5/5/5/1 retained; no case replaced after failure."
|
| 30 |
+
},
|
| 31 |
+
{
|
| 32 |
+
"id": "reviewed_source_regression",
|
| 33 |
+
"state": "verified",
|
| 34 |
+
"evidence": [
|
| 35 |
+
"driver_root_review.json",
|
| 36 |
+
"operator_root_review.json",
|
| 37 |
+
"collector_root_review.json",
|
| 38 |
+
"waiter_root_review.json"
|
| 39 |
+
],
|
| 40 |
+
"finding": "Driver59tests+22subtests, operator10tests/45lifecycle cases, collector11tests+10subtests and waiter9checks have independent reviews with currently matching source/test hashes. Bootstrap env integration condition was closed in final plan review and actual successful runtime receipts."
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"id": "actor_isolation",
|
| 44 |
+
"state": "verified",
|
| 45 |
+
"evidence": [
|
| 46 |
+
"actor_acceptance.json",
|
| 47 |
+
"inner_sandbox_02.json",
|
| 48 |
+
"policy_runtime_02.json",
|
| 49 |
+
"tls_01.json"
|
| 50 |
+
],
|
| 51 |
+
"finding": "Fresh actor acceptance and inner sandbox/TLS/runtime evidence hash match current driver. All five live driver records attest8hidden paths/separate PID namespace. Generic public observations/actions only; canonical SIM client remains trusted-driver private."
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"id": "single_attempt_unknown_ack_no_replay",
|
| 55 |
+
"state": "verified",
|
| 56 |
+
"evidence": [
|
| 57 |
+
"plan.json",
|
| 58 |
+
"operator_root_review.json",
|
| 59 |
+
"launch_first_two_02.json",
|
| 60 |
+
"launch_remaining_three_02.json"
|
| 61 |
+
],
|
| 62 |
+
"finding": "Five original semantic claims match frozen cases and retry_allowed=false. One completed case per benchmark; source retains exclusive claims, Restart=no and unknown ACK cleanup-only. Original failed historical attempts remain preserved."
|
| 63 |
+
},
|
| 64 |
+
{
|
| 65 |
+
"id": "five_complete_model_episodes",
|
| 66 |
+
"state": "verified",
|
| 67 |
+
"evidence": [
|
| 68 |
+
"collector_summary.json",
|
| 69 |
+
"closures/simpler_env.json",
|
| 70 |
+
"closures/libero.json",
|
| 71 |
+
"closures/libero_plus.json",
|
| 72 |
+
"closures/robocasa365.json",
|
| 73 |
+
"closures/behavior.json"
|
| 74 |
+
],
|
| 75 |
+
"finding": "All five terminal operator/collector results closed without terminal infrastructure errors. Native successes Simpler/LIBERO/Plus/Behavior; native failure Casa retained750controls160decisions."
|
| 76 |
+
},
|
| 77 |
+
{
|
| 78 |
+
"id": "native_outcomes_usage_error_fidelity",
|
| 79 |
+
"state": "verified",
|
| 80 |
+
"evidence": [
|
| 81 |
+
"closed_three_independent_review.json",
|
| 82 |
+
"behavior_independent_review.json",
|
| 83 |
+
"robocasa_independent_review.json"
|
| 84 |
+
],
|
| 85 |
+
"finding": "Per-case independent native audits and current original result bindings agree. All error/recovery telemetry retained; Casa5error notifications not erased. Unknown normalized usage fields remain null; runtime cumulative counters not provider attestation."
|
| 86 |
+
},
|
| 87 |
+
{
|
| 88 |
+
"id": "all_native_media_counters_hashes",
|
| 89 |
+
"state": "verified",
|
| 90 |
+
"evidence": [
|
| 91 |
+
"closed_three_independent_review.json",
|
| 92 |
+
"behavior_independent_review.json",
|
| 93 |
+
"robocasa_independent_review.json"
|
| 94 |
+
],
|
| 95 |
+
"finding": "All seven selected model closure references and native receipt files rehashed currently; prior independent full video decode proofs remain hash bound. No native/model replay or redundant decoding. Native action/physics/frame constraints independently checked in case audits."
|
| 96 |
+
},
|
| 97 |
+
{
|
| 98 |
+
"id": "native_and_server_cleanup",
|
| 99 |
+
"state": "verified",
|
| 100 |
+
"evidence": [
|
| 101 |
+
"collector_summary.json",
|
| 102 |
+
"behavior_independent_review.json",
|
| 103 |
+
"robocasa_independent_review.json",
|
| 104 |
+
"all_case_resource_check.json"
|
| 105 |
+
],
|
| 106 |
+
"finding": "All five canonical cleanup_error null; worker/server closure receipts passed. BEHAVIOR child0/noforce and Kit-return limitation; Casa EGLerror0/context0/quarantine0 with material-clamp pixel caveat retained."
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"id": "all_owned_resource_cleanup",
|
| 110 |
+
"state": "verified",
|
| 111 |
+
"evidence": [
|
| 112 |
+
"all_case_resource_check.json",
|
| 113 |
+
"final_private_cleanup.json"
|
| 114 |
+
],
|
| 115 |
+
"finding": "Fresh scheduler queries show all five expansion jobs Completed; both stageA jobs absent from current successful list, with retained original completed/native-cleanup audit proofs. Eleven original units inactive0; all five original operator/driver PIDs absent; both actor workspace and staged CLI paths absent; tokens/6generated keys absent; nine old/new ports refuse connections. No unrelated resource mutation."
|
| 116 |
+
},
|
| 117 |
+
{
|
| 118 |
+
"id": "seven_evidence_index_reusable_launch",
|
| 119 |
+
"state": "verified",
|
| 120 |
+
"evidence": [
|
| 121 |
+
"evidence_index.json",
|
| 122 |
+
"closed_three_independent_review.json"
|
| 123 |
+
],
|
| 124 |
+
"finding": "Current seven-entry index has seven closed_audited entries, reference hashes/sizes verified, outcomes equal closure and result/export artifacts. Docs contain reviewed fresh-plan/new unused cell/tunnel/actor/gate/hash/systemd/cleanup recipe; shell template parses."
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"id": "preserve_prior_failures_and_scope",
|
| 128 |
+
"state": "verified",
|
| 129 |
+
"evidence": [
|
| 130 |
+
"evidence_index.json"
|
| 131 |
+
],
|
| 132 |
+
"finding": "Original stageA audit/closures still hash-bound by seven-index. RoboDojo failure and Casa failure explicit; no aggregate cross-benchmark score/full-suite/native-pixel parity claim. Harness bridge separately validated; real model loops use canonical platform runner."
|
| 133 |
+
},
|
| 134 |
+
{
|
| 135 |
+
"id": "independent_final_completion_audit",
|
| 136 |
+
"state": "verified",
|
| 137 |
+
"evidence": [
|
| 138 |
+
"final_completion_audit.json"
|
| 139 |
+
],
|
| 140 |
+
"finding": "Independent requirement-by-requirement current-state audit passed; final audit at final_completion_audit.json. Root retains responsibility to independently check essentials and update goal."
|
| 141 |
+
}
|
| 142 |
+
],
|
| 143 |
+
"material_missing_requirements": [],
|
| 144 |
+
"pending_execution_work": [],
|
| 145 |
+
"seven_case_outcomes": [
|
| 146 |
+
{
|
| 147 |
+
"benchmark": "robotwin",
|
| 148 |
+
"success": true,
|
| 149 |
+
"decisions": 23,
|
| 150 |
+
"controls": 24,
|
| 151 |
+
"termination_reason": "environment:terminated",
|
| 152 |
+
"closure_bound": true,
|
| 153 |
+
"original_result_sha256": "bfd0e505333fa49565d38a789fd918dd8396e6ff9e10a48bafde19aa252e9f00",
|
| 154 |
+
"native_receipt_bytes_unchanged_since_decode": true
|
| 155 |
+
},
|
| 156 |
+
{
|
| 157 |
+
"benchmark": "robodojo",
|
| 158 |
+
"success": false,
|
| 159 |
+
"decisions": 221,
|
| 160 |
+
"controls": 1100,
|
| 161 |
+
"termination_reason": "environment:truncated",
|
| 162 |
+
"closure_bound": true,
|
| 163 |
+
"original_result_sha256": "88c851bf0ab7e0cbd553406ec6f91e5f38597ea85b81a3959dc798b968ea68f6",
|
| 164 |
+
"native_receipt_bytes_unchanged_since_decode": true
|
| 165 |
+
},
|
| 166 |
+
{
|
| 167 |
+
"benchmark": "simpler_env",
|
| 168 |
+
"success": true,
|
| 169 |
+
"decisions": 32,
|
| 170 |
+
"controls": 80,
|
| 171 |
+
"termination_reason": "environment:truncated",
|
| 172 |
+
"closure_bound": true,
|
| 173 |
+
"original_result_sha256": "1303a64f07c3edf310fc5481c3942a49c88fc40bd19fd81b60be45924b9c82cd",
|
| 174 |
+
"native_receipt_bytes_unchanged_since_decode": true
|
| 175 |
+
},
|
| 176 |
+
{
|
| 177 |
+
"benchmark": "libero",
|
| 178 |
+
"success": true,
|
| 179 |
+
"decisions": 43,
|
| 180 |
+
"controls": 202,
|
| 181 |
+
"termination_reason": "environment:terminated",
|
| 182 |
+
"closure_bound": true,
|
| 183 |
+
"original_result_sha256": "61ca33085675c965aabc18eabe9128803e7bf559ddfc74349f7b88136986debb",
|
| 184 |
+
"native_receipt_bytes_unchanged_since_decode": true
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"benchmark": "libero_plus",
|
| 188 |
+
"success": true,
|
| 189 |
+
"decisions": 37,
|
| 190 |
+
"controls": 163,
|
| 191 |
+
"termination_reason": "environment:terminated",
|
| 192 |
+
"closure_bound": true,
|
| 193 |
+
"original_result_sha256": "c6d6aa0b435125129aaa8efdbf4f0057ff1872de5c5522fccc5db7a2f2d1b1fb",
|
| 194 |
+
"native_receipt_bytes_unchanged_since_decode": true
|
| 195 |
+
},
|
| 196 |
+
{
|
| 197 |
+
"benchmark": "robocasa365",
|
| 198 |
+
"success": false,
|
| 199 |
+
"decisions": 160,
|
| 200 |
+
"controls": 750,
|
| 201 |
+
"termination_reason": "environment:truncated",
|
| 202 |
+
"closure_bound": true,
|
| 203 |
+
"original_result_sha256": "b9ee7dc996b074bd48da32ce2c9e5a5d6593c13342a49b68f3d362c3aeac503e",
|
| 204 |
+
"native_receipt_bytes_unchanged_since_decode": true
|
| 205 |
+
},
|
| 206 |
+
{
|
| 207 |
+
"benchmark": "behavior",
|
| 208 |
+
"success": true,
|
| 209 |
+
"decisions": 1512,
|
| 210 |
+
"controls": 1512,
|
| 211 |
+
"termination_reason": "environment:terminated",
|
| 212 |
+
"closure_bound": true,
|
| 213 |
+
"original_result_sha256": "890a895b2fb1c841705de5ec36e03543b7fb30291b3b3a4b70c60853b641f48c",
|
| 214 |
+
"native_receipt_bytes_unchanged_since_decode": true
|
| 215 |
+
}
|
| 216 |
+
],
|
| 217 |
+
"fresh_verification": {
|
| 218 |
+
"scheduler_jobs": {
|
| 219 |
+
"starbench-astra-behavior-1013-001": {
|
| 220 |
+
"phase": "Completed",
|
| 221 |
+
"description_sha256": "9480a7bda77b1eaf50c0eeddee90ed3cfa7d5d4d8a9e2f32e96ec5b6b8b44076"
|
| 222 |
+
},
|
| 223 |
+
"starbench-astra-libero-1013-001": {
|
| 224 |
+
"phase": "Completed",
|
| 225 |
+
"description_sha256": "07a6751600bc9a1d93433d0e1eaa8bafce5b38211f154c31cbe7f55bec0a2739"
|
| 226 |
+
},
|
| 227 |
+
"starbench-astra-libero-plus-1013-001": {
|
| 228 |
+
"phase": "Completed",
|
| 229 |
+
"description_sha256": "2153081e824e448aca07fe7d09afa73df9b0171b5972fd4d3e28427cd8af5dd4"
|
| 230 |
+
},
|
| 231 |
+
"starbench-astra-robocasa365-1013-001": {
|
| 232 |
+
"phase": "Completed",
|
| 233 |
+
"description_sha256": "ac716f55d5e63f1acb730e80d25bafd4bf5a72ee5a8f2ae3d754611d4fb11cb9"
|
| 234 |
+
},
|
| 235 |
+
"starbench-astra-simpler-env-1013-001": {
|
| 236 |
+
"phase": "Completed",
|
| 237 |
+
"description_sha256": "5dd0fa720062315aaafa573a2b04cdfd2446bd739ab4af2c4c2e1335c837479d"
|
| 238 |
+
}
|
| 239 |
+
},
|
| 240 |
+
"historical_stageA_scheduler": {
|
| 241 |
+
"current_list_contains_either_old_name": false,
|
| 242 |
+
"current_list_sha256": "d2a29c60ac38ac923bb36117d2f1c110398631f1974b107739a4f9335658f232",
|
| 243 |
+
"historical_completed_evidence": {
|
| 244 |
+
"path": "/dataset/vjiehuihuang/projects/starRoboHarness_dev/outputs/starbench_deployment_20261010/model_pilot/recovery_20261012/final_completion_audit.json",
|
| 245 |
+
"sha256": "74f6c85e53969f4378211f2ac96471956e52d04eed8a622ce5e6014543cab8b3",
|
| 246 |
+
"size_bytes": 12362
|
| 247 |
+
},
|
| 248 |
+
"interpretation": "Old jobs absent from current successful list; old describe returned255/backend500. Historical completed scheduler/native closure evidence remains hash-bound, not inferred from current describe errors."
|
| 249 |
+
},
|
| 250 |
+
"units": {
|
| 251 |
+
"starbench-expansion-simpler-env-20261013.service": {
|
| 252 |
+
"MainPID": "0",
|
| 253 |
+
"ExecMainStatus": "0",
|
| 254 |
+
"ActiveState": "inactive"
|
| 255 |
+
},
|
| 256 |
+
"starbench-expansion-libero-20261013.service": {
|
| 257 |
+
"MainPID": "0",
|
| 258 |
+
"ExecMainStatus": "0",
|
| 259 |
+
"ActiveState": "inactive"
|
| 260 |
+
},
|
| 261 |
+
"starbench-expansion-libero-plus-20261013.service": {
|
| 262 |
+
"MainPID": "0",
|
| 263 |
+
"ExecMainStatus": "0",
|
| 264 |
+
"ActiveState": "inactive"
|
| 265 |
+
},
|
| 266 |
+
"starbench-expansion-robocasa365-20261013.service": {
|
| 267 |
+
"MainPID": "0",
|
| 268 |
+
"ExecMainStatus": "0",
|
| 269 |
+
"ActiveState": "inactive"
|
| 270 |
+
},
|
| 271 |
+
"starbench-expansion-behavior-20261013.service": {
|
| 272 |
+
"MainPID": "0",
|
| 273 |
+
"ExecMainStatus": "0",
|
| 274 |
+
"ActiveState": "inactive"
|
| 275 |
+
},
|
| 276 |
+
"starbench-expansion-tunnel-20261013.service": {
|
| 277 |
+
"MainPID": "0",
|
| 278 |
+
"ExecMainStatus": "0",
|
| 279 |
+
"ActiveState": "inactive"
|
| 280 |
+
},
|
| 281 |
+
"starbench-expansion-collector-20261013.service": {
|
| 282 |
+
"MainPID": "0",
|
| 283 |
+
"ExecMainStatus": "0",
|
| 284 |
+
"ActiveState": "inactive"
|
| 285 |
+
},
|
| 286 |
+
"starbench-pilot-robotwin-20261012.service": {
|
| 287 |
+
"MainPID": "0",
|
| 288 |
+
"ExecMainStatus": "0",
|
| 289 |
+
"ActiveState": "inactive"
|
| 290 |
+
},
|
| 291 |
+
"starbench-pilot-robodojo-20261012.service": {
|
| 292 |
+
"MainPID": "0",
|
| 293 |
+
"ExecMainStatus": "0",
|
| 294 |
+
"ActiveState": "inactive"
|
| 295 |
+
},
|
| 296 |
+
"starbench-tunnel-20261012.service": {
|
| 297 |
+
"MainPID": "0",
|
| 298 |
+
"ExecMainStatus": "0",
|
| 299 |
+
"ActiveState": "inactive"
|
| 300 |
+
},
|
| 301 |
+
"starbench-collector-20261012.service": {
|
| 302 |
+
"MainPID": "0",
|
| 303 |
+
"ExecMainStatus": "0",
|
| 304 |
+
"ActiveState": "inactive"
|
| 305 |
+
}
|
| 306 |
+
},
|
| 307 |
+
"resources": {
|
| 308 |
+
"simpler_env": {
|
| 309 |
+
"original_pids_absent": {
|
| 310 |
+
"pid": 990393,
|
| 311 |
+
"driver_pid": 992610
|
| 312 |
+
},
|
| 313 |
+
"scratch_paths_absent": [
|
| 314 |
+
"/tmp/rsi-direct-actor-afyohnbv",
|
| 315 |
+
"/tmp/starbench-astra-runtime-0j1ux21w"
|
| 316 |
+
],
|
| 317 |
+
"token_absent": true,
|
| 318 |
+
"bootstrap_parameters_bound": true,
|
| 319 |
+
"driver_identity_and_native_budget_bound": true
|
| 320 |
+
},
|
| 321 |
+
"libero": {
|
| 322 |
+
"original_pids_absent": {
|
| 323 |
+
"pid": 990532,
|
| 324 |
+
"driver_pid": 990859
|
| 325 |
+
},
|
| 326 |
+
"scratch_paths_absent": [
|
| 327 |
+
"/tmp/rsi-direct-actor-0xy5vyle",
|
| 328 |
+
"/tmp/starbench-astra-runtime-78_iflgo"
|
| 329 |
+
],
|
| 330 |
+
"token_absent": true,
|
| 331 |
+
"bootstrap_parameters_bound": true,
|
| 332 |
+
"driver_identity_and_native_budget_bound": true
|
| 333 |
+
},
|
| 334 |
+
"libero_plus": {
|
| 335 |
+
"original_pids_absent": {
|
| 336 |
+
"pid": 999502,
|
| 337 |
+
"driver_pid": 1003640
|
| 338 |
+
},
|
| 339 |
+
"scratch_paths_absent": [
|
| 340 |
+
"/tmp/rsi-direct-actor-revrlbk7",
|
| 341 |
+
"/tmp/starbench-astra-runtime-kdpwnggi"
|
| 342 |
+
],
|
| 343 |
+
"token_absent": true,
|
| 344 |
+
"bootstrap_parameters_bound": true,
|
| 345 |
+
"driver_identity_and_native_budget_bound": true
|
| 346 |
+
},
|
| 347 |
+
"robocasa365": {
|
| 348 |
+
"original_pids_absent": {
|
| 349 |
+
"pid": 999588,
|
| 350 |
+
"driver_pid": 999961
|
| 351 |
+
},
|
| 352 |
+
"scratch_paths_absent": [
|
| 353 |
+
"/tmp/rsi-direct-actor-6scxdlxr",
|
| 354 |
+
"/tmp/starbench-astra-runtime-h674l_53"
|
| 355 |
+
],
|
| 356 |
+
"token_absent": true,
|
| 357 |
+
"bootstrap_parameters_bound": true,
|
| 358 |
+
"driver_identity_and_native_budget_bound": true
|
| 359 |
+
},
|
| 360 |
+
"behavior": {
|
| 361 |
+
"original_pids_absent": {
|
| 362 |
+
"pid": 999670,
|
| 363 |
+
"driver_pid": 1007681
|
| 364 |
+
},
|
| 365 |
+
"scratch_paths_absent": [
|
| 366 |
+
"/tmp/rsi-direct-actor-1gbhaiby",
|
| 367 |
+
"/tmp/starbench-astra-runtime-nwk_tlhh"
|
| 368 |
+
],
|
| 369 |
+
"token_absent": true,
|
| 370 |
+
"bootstrap_parameters_bound": true,
|
| 371 |
+
"driver_identity_and_native_budget_bound": true
|
| 372 |
+
}
|
| 373 |
+
},
|
| 374 |
+
"ports": {
|
| 375 |
+
"127.0.0.1:8781": "connection_refused",
|
| 376 |
+
"127.0.0.1:8782": "connection_refused",
|
| 377 |
+
"127.0.0.1:8791": "connection_refused",
|
| 378 |
+
"127.0.0.1:8792": "connection_refused",
|
| 379 |
+
"127.0.0.1:8793": "connection_refused",
|
| 380 |
+
"127.0.0.1:8794": "connection_refused",
|
| 381 |
+
"127.0.0.1:8795": "connection_refused",
|
| 382 |
+
"10.21.5.243:18822": "connection_refused",
|
| 383 |
+
"10.21.5.243:18823": "connection_refused"
|
| 384 |
+
},
|
| 385 |
+
"prior_interruption_audit_sha256": "464d9d1e41e53e61cf7355a5bb737034a89315b5ec6e7960657545ed20f8d8ff"
|
| 386 |
+
},
|
| 387 |
+
"native_receipt_file_hash_checks": 1194,
|
| 388 |
+
"index_path_hash_checks": 37,
|
| 389 |
+
"current_reference_bytes_match_independent_decode_evidence": true,
|
| 390 |
+
"evidence": [
|
| 391 |
+
{
|
| 392 |
+
"path": "/dataset/vjiehuihuang/projects/starRoboHarness_dev/outputs/starbench_expansion_20261013/completion_requirements.json",
|
| 393 |
+
"sha256": "990fb83dda96963bb33d53e78759b7daefb8fc7f49b76354c55c2a1282bb65d5",
|
| 394 |
+
"size_bytes": 6834
|
| 395 |
+
},
|
| 396 |
+
{
|
| 397 |
+
"path": "/dataset/vjiehuihuang/projects/starRoboHarness_dev/outputs/starbench_expansion_20261013/plan.json",
|
| 398 |
+
"sha256": "c58e2fed58a749ac50b4dbb6f5ef83a0bea28321da371c44b297de12914399d2",
|
| 399 |
+
"size_bytes": 20763
|
| 400 |
+
},
|
| 401 |
+
{
|
| 402 |
+
"path": "/dataset/vjiehuihuang/projects/starRoboHarness_dev/outputs/starbench_expansion_20261013/plan_review.json",
|
| 403 |
+
"sha256": "cee570c2a51283ecd8e6ae4e964cc77e3e5fe6e4971506f02e0872221820966a",
|
| 404 |
+
"size_bytes": 6545
|
| 405 |
+
},
|
| 406 |
+
{
|
| 407 |
+
"path": "/dataset/vjiehuihuang/projects/starRoboHarness_dev/outputs/starbench_expansion_20261013/protocol_inventory.json",
|
| 408 |
+
"sha256": "68b63c753d009a3698e3126f2c2d65324bcf6926979cc757c49b41fd05cb62a5",
|
| 409 |
+
"size_bytes": 70550
|
| 410 |
+
},
|
| 411 |
+
{
|
| 412 |
+
"path": "/dataset/vjiehuihuang/projects/starRoboHarness_dev/outputs/starbench_expansion_20261013/runtime_candidates.json",
|
| 413 |
+
"sha256": "1e057f1713ccc35a340d6ebda153722833888159a5dd4590952ec1b0d00bc83c",
|
| 414 |
+
"size_bytes": 3261
|
| 415 |
+
},
|
| 416 |
+
{
|
| 417 |
+
"path": "/dataset/vjiehuihuang/projects/starRoboHarness_dev/outputs/starbench_expansion_20261013/runtime_probe_02.json",
|
| 418 |
+
"sha256": "6c20f94cb595aaa1410e54d83d3da289c89a994c35668f502276e426050370a0",
|
| 419 |
+
"size_bytes": 2169
|
| 420 |
+
},
|
| 421 |
+
{
|
| 422 |
+
"path": "/dataset/vjiehuihuang/projects/starRoboHarness_dev/outputs/starbench_expansion_20261013/bootstrap_review.json",
|
| 423 |
+
"sha256": "60035a56da43b44825d7e2769119b434336ecf707c64997e88f957d8a48ff617",
|
| 424 |
+
"size_bytes": 4914
|
| 425 |
+
},
|
| 426 |
+
{
|
| 427 |
+
"path": "/dataset/vjiehuihuang/projects/starRoboHarness_dev/outputs/starbench_expansion_20261013/driver_root_review.json",
|
| 428 |
+
"sha256": "0f7d607a3c1917e8c45f173f75604dc5dc27fc63704b31753f3a59c0c8965e5b",
|
| 429 |
+
"size_bytes": 634
|
| 430 |
+
},
|
| 431 |
+
{
|
| 432 |
+
"path": "/dataset/vjiehuihuang/projects/starRoboHarness_dev/outputs/starbench_expansion_20261013/operator_root_review.json",
|
| 433 |
+
"sha256": "3bf7161235241917e84f97866ed6c396269c596a95f267b4fef59c64b4e6014e",
|
| 434 |
+
"size_bytes": 845
|
| 435 |
+
},
|
| 436 |
+
{
|
| 437 |
+
"path": "/dataset/vjiehuihuang/projects/starRoboHarness_dev/outputs/starbench_expansion_20261013/collector_root_review.json",
|
| 438 |
+
"sha256": "3a19df4310a4eb58335bc989159355fa87aa890f901dfc810228a5c3a887451d",
|
| 439 |
+
"size_bytes": 1319
|
| 440 |
+
},
|
| 441 |
+
{
|
| 442 |
+
"path": "/dataset/vjiehuihuang/projects/starRoboHarness_dev/outputs/starbench_expansion_20261013/waiter_root_review.json",
|
| 443 |
+
"sha256": "b7a2215bb2751c3c31b9af093383c56dcde803a70d11e68887c86b0fb50c33c6",
|
| 444 |
+
"size_bytes": 782
|
| 445 |
+
},
|
| 446 |
+
{
|
| 447 |
+
"path": "/dataset/vjiehuihuang/projects/starRoboHarness_dev/outputs/starbench_expansion_20261013/actor_acceptance.json",
|
| 448 |
+
"sha256": "310c1d133dfd75df11d4d248cd135ff4dea1ef2936355bf65c121dc7b7db039c",
|
| 449 |
+
"size_bytes": 732
|
| 450 |
+
},
|
| 451 |
+
{
|
| 452 |
+
"path": "/dataset/vjiehuihuang/projects/starRoboHarness_dev/outputs/starbench_expansion_20261013/inner_sandbox_02.json",
|
| 453 |
+
"sha256": "13ce471f0990a0a1c9b3d3e717de62aa7d01f56e428bce19908cbb1515ea0dae",
|
| 454 |
+
"size_bytes": 952
|
| 455 |
+
},
|
| 456 |
+
{
|
| 457 |
+
"path": "/dataset/vjiehuihuang/projects/starRoboHarness_dev/outputs/starbench_expansion_20261013/policy_runtime_02.json",
|
| 458 |
+
"sha256": "e2b78428a56058c7981934ba536912947767758d789c5ca351a88fc8871184c0",
|
| 459 |
+
"size_bytes": 224
|
| 460 |
+
},
|
| 461 |
+
{
|
| 462 |
+
"path": "/dataset/vjiehuihuang/projects/starRoboHarness_dev/outputs/starbench_expansion_20261013/tls_01.json",
|
| 463 |
+
"sha256": "1557195e95c5497e4ca1913a69cb5bbb092f3f64ef0128d5f187dcd87b597969",
|
| 464 |
+
"size_bytes": 507
|
| 465 |
+
},
|
| 466 |
+
{
|
| 467 |
+
"path": "/dataset/vjiehuihuang/projects/starRoboHarness_dev/outputs/starbench_expansion_20261013/collector_summary.json",
|
| 468 |
+
"sha256": "910550f64d9242458d987a9e022c2b9391184efc3da644a650292e026ddb1ff2",
|
| 469 |
+
"size_bytes": 3397
|
| 470 |
+
},
|
| 471 |
+
{
|
| 472 |
+
"path": "/dataset/vjiehuihuang/projects/starRoboHarness_dev/outputs/starbench_expansion_20261013/closed_three_independent_review.json",
|
| 473 |
+
"sha256": "1b04542164c48cc07b2c906237f422851fc9a6dfbbf57327af1c063da0613244",
|
| 474 |
+
"size_bytes": 7570
|
| 475 |
+
},
|
| 476 |
+
{
|
| 477 |
+
"path": "/dataset/vjiehuihuang/projects/starRoboHarness_dev/outputs/starbench_expansion_20261013/behavior_independent_review.json",
|
| 478 |
+
"sha256": "7ceae8379e4e3b2bd57f08f36c16e2d9bad7491f585152af9ee56d51ef1b618c",
|
| 479 |
+
"size_bytes": 7598
|
| 480 |
+
},
|
| 481 |
+
{
|
| 482 |
+
"path": "/dataset/vjiehuihuang/projects/starRoboHarness_dev/outputs/starbench_expansion_20261013/robocasa_independent_review.json",
|
| 483 |
+
"sha256": "772369fe05126ae4650bebdee684a1cb186e044345d955a4e5331ce79636882d",
|
| 484 |
+
"size_bytes": 10075
|
| 485 |
+
},
|
| 486 |
+
{
|
| 487 |
+
"path": "/dataset/vjiehuihuang/projects/starRoboHarness_dev/outputs/starbench_expansion_20261013/all_case_resource_check.json",
|
| 488 |
+
"sha256": "b7aaa6928137f88ccd3035075226753e90b40c670d9d8686c08b4d72332315d9",
|
| 489 |
+
"size_bytes": 7812
|
| 490 |
+
},
|
| 491 |
+
{
|
| 492 |
+
"path": "/dataset/vjiehuihuang/projects/starRoboHarness_dev/outputs/starbench_expansion_20261013/final_private_cleanup.json",
|
| 493 |
+
"sha256": "425863fd471ab115d7de008ac3052e80cfc0aa2f0a98038ca4dde04c7d226c76",
|
| 494 |
+
"size_bytes": 1164
|
| 495 |
+
},
|
| 496 |
+
{
|
| 497 |
+
"path": "/dataset/vjiehuihuang/projects/starRoboHarness_dev/outputs/starbench_expansion_20261013/final_root_checks.json",
|
| 498 |
+
"sha256": "1bcde97ccc120fd0e7c2b2c69c301c595eb3a3ff4fa3b08bbd56f623f88e8ff8",
|
| 499 |
+
"size_bytes": 20202
|
| 500 |
+
},
|
| 501 |
+
{
|
| 502 |
+
"path": "/dataset/vjiehuihuang/projects/starRoboHarness_dev/outputs/starbench_expansion_20261013/evidence_index.json",
|
| 503 |
+
"sha256": "6ea17f23645973a439f31f61481dfc2bdb3acd3c2ad0d3cda4e1b1988490ca1b",
|
| 504 |
+
"size_bytes": 26223
|
| 505 |
+
},
|
| 506 |
+
{
|
| 507 |
+
"path": "/dataset/vjiehuihuang/projects/starRoboHarness_dev/docs/starbenchserver_integration.md",
|
| 508 |
+
"sha256": "132cbad0b75c4bca8668191f5deeb9c1cd7b3df27dd9ccd9e484ace74a077f1b",
|
| 509 |
+
"size_bytes": 39591
|
| 510 |
+
},
|
| 511 |
+
{
|
| 512 |
+
"path": "/dataset/vjiehuihuang/projects/starRoboHarness_dev/outputs/starbench_deployment_20261010/model_pilot/recovery_20261012/final_completion_audit.json",
|
| 513 |
+
"sha256": "74f6c85e53969f4378211f2ac96471956e52d04eed8a622ce5e6014543cab8b3",
|
| 514 |
+
"size_bytes": 12362
|
| 515 |
+
},
|
| 516 |
+
{
|
| 517 |
+
"path": "/dataset/vjiehuihuang/projects/starRoboHarness_dev/outputs/starbench_deployment_20261010/model_pilot/recovery_20261012/audit.json",
|
| 518 |
+
"sha256": "464d9d1e41e53e61cf7355a5bb737034a89315b5ec6e7960657545ed20f8d8ff",
|
| 519 |
+
"size_bytes": 12498
|
| 520 |
+
}
|
| 521 |
+
],
|
| 522 |
+
"limitations": [
|
| 523 |
+
"Selected cases only; no full-suite/leaderboard coverage or aggregate cross-benchmark score.",
|
| 524 |
+
"Real model pilots use existing platform canonical runner via Harness entrypoint; bridge independently tested.",
|
| 525 |
+
"RoboDojo and RoboCasa task failures remain valid completed evaluations; no replay to improve outcome.",
|
| 526 |
+
"BEHAVIOR debug/live-assets track lacks fullRGBD/native archive equivalence and shutdown Python return observation; Casa material clamping can change pixels.",
|
| 527 |
+
"Unknown provider calls/tokens/cost preserved; app-server cumulative counters are not attestation.",
|
| 528 |
+
"No native/model calls, reset/scorer replay, source changes, secrets read, new dependencies or process mutations in this audit.",
|
| 529 |
+
"Full asset archives not rescanned; current receipt hashes and source/accepted diagnostics establish selected deployed-case scope."
|
| 530 |
+
],
|
| 531 |
+
"administrative_next_step": "Root independently inspects this audit/current essentials and may mark goal complete. Auditor did not change goal or app state."
|
| 532 |
+
}
|
common/checks/final_private_cleanup.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema": "starbench.final-private-cleanup/v1",
|
| 3 |
+
"at_utc": "2026-10-13T12:48:28.550789+00:00",
|
| 4 |
+
"tunnel_unit": "starbench-expansion-tunnel-20261013.service",
|
| 5 |
+
"before": {
|
| 6 |
+
"MainPID": "975870",
|
| 7 |
+
"ExecMainStatus": "0",
|
| 8 |
+
"ActiveState": "active"
|
| 9 |
+
},
|
| 10 |
+
"after": {
|
| 11 |
+
"MainPID": "0",
|
| 12 |
+
"ExecMainStatus": "0",
|
| 13 |
+
"ActiveState": "inactive"
|
| 14 |
+
},
|
| 15 |
+
"collector_unit": {
|
| 16 |
+
"MainPID": "0",
|
| 17 |
+
"ExecMainStatus": "0",
|
| 18 |
+
"ActiveState": "inactive"
|
| 19 |
+
},
|
| 20 |
+
"stop_returncode": 0,
|
| 21 |
+
"ports_closed": {
|
| 22 |
+
"18823": true,
|
| 23 |
+
"8791": true,
|
| 24 |
+
"8792": true,
|
| 25 |
+
"8793": true,
|
| 26 |
+
"8794": true,
|
| 27 |
+
"8795": true
|
| 28 |
+
},
|
| 29 |
+
"removed_owned_files": [
|
| 30 |
+
"client_rsa",
|
| 31 |
+
"client_rsa.pub",
|
| 32 |
+
"host_rsa",
|
| 33 |
+
"host_rsa.pub",
|
| 34 |
+
"authorized_keys",
|
| 35 |
+
"known_hosts"
|
| 36 |
+
],
|
| 37 |
+
"tokens_absent": true,
|
| 38 |
+
"remaining_owned_filenames": [
|
| 39 |
+
"sshd.log",
|
| 40 |
+
"sshd_config"
|
| 41 |
+
],
|
| 42 |
+
"listener_pid_absent": true,
|
| 43 |
+
"global_ssh_files_changed": false,
|
| 44 |
+
"reused_ssh_client_overlay_retained": true,
|
| 45 |
+
"provider_credentials_untouched": true,
|
| 46 |
+
"scope": "Only the dated expansion listener and its generated keys; all five per-case resources checked separately.",
|
| 47 |
+
"status": "passed"
|
| 48 |
+
}
|
common/runtime/robodojo_support/numpy-1.26.0.dist-info/INSTALLER
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
pip
|
common/runtime/robodojo_support/numpy-1.26.0.dist-info/LICENSE.txt
ADDED
|
@@ -0,0 +1,910 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Copyright (c) 2005-2023, NumPy Developers.
|
| 2 |
+
All rights reserved.
|
| 3 |
+
|
| 4 |
+
Redistribution and use in source and binary forms, with or without
|
| 5 |
+
modification, are permitted provided that the following conditions are
|
| 6 |
+
met:
|
| 7 |
+
|
| 8 |
+
* Redistributions of source code must retain the above copyright
|
| 9 |
+
notice, this list of conditions and the following disclaimer.
|
| 10 |
+
|
| 11 |
+
* Redistributions in binary form must reproduce the above
|
| 12 |
+
copyright notice, this list of conditions and the following
|
| 13 |
+
disclaimer in the documentation and/or other materials provided
|
| 14 |
+
with the distribution.
|
| 15 |
+
|
| 16 |
+
* Neither the name of the NumPy Developers nor the names of any
|
| 17 |
+
contributors may be used to endorse or promote products derived
|
| 18 |
+
from this software without specific prior written permission.
|
| 19 |
+
|
| 20 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 21 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 22 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 23 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 24 |
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 25 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
| 26 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
| 27 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
| 28 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 29 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 30 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 31 |
+
|
| 32 |
+
----
|
| 33 |
+
|
| 34 |
+
This binary distribution of NumPy also bundles the following software:
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
Name: OpenBLAS
|
| 38 |
+
Files: .libs/libopenb*.so
|
| 39 |
+
Description: bundled as a dynamically linked library
|
| 40 |
+
Availability: https://github.com/xianyi/OpenBLAS/
|
| 41 |
+
License: 3-clause BSD
|
| 42 |
+
Copyright (c) 2011-2014, The OpenBLAS Project
|
| 43 |
+
All rights reserved.
|
| 44 |
+
|
| 45 |
+
Redistribution and use in source and binary forms, with or without
|
| 46 |
+
modification, are permitted provided that the following conditions are
|
| 47 |
+
met:
|
| 48 |
+
|
| 49 |
+
1. Redistributions of source code must retain the above copyright
|
| 50 |
+
notice, this list of conditions and the following disclaimer.
|
| 51 |
+
|
| 52 |
+
2. Redistributions in binary form must reproduce the above copyright
|
| 53 |
+
notice, this list of conditions and the following disclaimer in
|
| 54 |
+
the documentation and/or other materials provided with the
|
| 55 |
+
distribution.
|
| 56 |
+
3. Neither the name of the OpenBLAS project nor the names of
|
| 57 |
+
its contributors may be used to endorse or promote products
|
| 58 |
+
derived from this software without specific prior written
|
| 59 |
+
permission.
|
| 60 |
+
|
| 61 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
| 62 |
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 63 |
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
| 64 |
+
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
| 65 |
+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
| 66 |
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
| 67 |
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
| 68 |
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
| 69 |
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
| 70 |
+
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 71 |
+
|
| 72 |
+
|
| 73 |
+
Name: LAPACK
|
| 74 |
+
Files: .libs/libopenb*.so
|
| 75 |
+
Description: bundled in OpenBLAS
|
| 76 |
+
Availability: https://github.com/xianyi/OpenBLAS/
|
| 77 |
+
License 3-clause BSD
|
| 78 |
+
Copyright (c) 1992-2013 The University of Tennessee and The University
|
| 79 |
+
of Tennessee Research Foundation. All rights
|
| 80 |
+
reserved.
|
| 81 |
+
Copyright (c) 2000-2013 The University of California Berkeley. All
|
| 82 |
+
rights reserved.
|
| 83 |
+
Copyright (c) 2006-2013 The University of Colorado Denver. All rights
|
| 84 |
+
reserved.
|
| 85 |
+
|
| 86 |
+
$COPYRIGHT$
|
| 87 |
+
|
| 88 |
+
Additional copyrights may follow
|
| 89 |
+
|
| 90 |
+
$HEADER$
|
| 91 |
+
|
| 92 |
+
Redistribution and use in source and binary forms, with or without
|
| 93 |
+
modification, are permitted provided that the following conditions are
|
| 94 |
+
met:
|
| 95 |
+
|
| 96 |
+
- Redistributions of source code must retain the above copyright
|
| 97 |
+
notice, this list of conditions and the following disclaimer.
|
| 98 |
+
|
| 99 |
+
- Redistributions in binary form must reproduce the above copyright
|
| 100 |
+
notice, this list of conditions and the following disclaimer listed
|
| 101 |
+
in this license in the documentation and/or other materials
|
| 102 |
+
provided with the distribution.
|
| 103 |
+
|
| 104 |
+
- Neither the name of the copyright holders nor the names of its
|
| 105 |
+
contributors may be used to endorse or promote products derived from
|
| 106 |
+
this software without specific prior written permission.
|
| 107 |
+
|
| 108 |
+
The copyright holders provide no reassurances that the source code
|
| 109 |
+
provided does not infringe any patent, copyright, or any other
|
| 110 |
+
intellectual property rights of third parties. The copyright holders
|
| 111 |
+
disclaim any liability to any recipient for claims brought against
|
| 112 |
+
recipient by any third party for infringement of that parties
|
| 113 |
+
intellectual property rights.
|
| 114 |
+
|
| 115 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 116 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 117 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 118 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 119 |
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 120 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
| 121 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
| 122 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
| 123 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 124 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 125 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 126 |
+
|
| 127 |
+
|
| 128 |
+
Name: GCC runtime library
|
| 129 |
+
Files: .libs/libgfortran*.so
|
| 130 |
+
Description: dynamically linked to files compiled with gcc
|
| 131 |
+
Availability: https://gcc.gnu.org/viewcvs/gcc/
|
| 132 |
+
License: GPLv3 + runtime exception
|
| 133 |
+
Copyright (C) 2002-2017 Free Software Foundation, Inc.
|
| 134 |
+
|
| 135 |
+
Libgfortran is free software; you can redistribute it and/or modify
|
| 136 |
+
it under the terms of the GNU General Public License as published by
|
| 137 |
+
the Free Software Foundation; either version 3, or (at your option)
|
| 138 |
+
any later version.
|
| 139 |
+
|
| 140 |
+
Libgfortran is distributed in the hope that it will be useful,
|
| 141 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 142 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 143 |
+
GNU General Public License for more details.
|
| 144 |
+
|
| 145 |
+
Under Section 7 of GPL version 3, you are granted additional
|
| 146 |
+
permissions described in the GCC Runtime Library Exception, version
|
| 147 |
+
3.1, as published by the Free Software Foundation.
|
| 148 |
+
|
| 149 |
+
You should have received a copy of the GNU General Public License and
|
| 150 |
+
a copy of the GCC Runtime Library Exception along with this program;
|
| 151 |
+
see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|
| 152 |
+
<http://www.gnu.org/licenses/>.
|
| 153 |
+
|
| 154 |
+
----
|
| 155 |
+
|
| 156 |
+
Full text of license texts referred to above follows (that they are
|
| 157 |
+
listed below does not necessarily imply the conditions apply to the
|
| 158 |
+
present binary release):
|
| 159 |
+
|
| 160 |
+
----
|
| 161 |
+
|
| 162 |
+
GCC RUNTIME LIBRARY EXCEPTION
|
| 163 |
+
|
| 164 |
+
Version 3.1, 31 March 2009
|
| 165 |
+
|
| 166 |
+
Copyright (C) 2009 Free Software Foundation, Inc. <http://fsf.org/>
|
| 167 |
+
|
| 168 |
+
Everyone is permitted to copy and distribute verbatim copies of this
|
| 169 |
+
license document, but changing it is not allowed.
|
| 170 |
+
|
| 171 |
+
This GCC Runtime Library Exception ("Exception") is an additional
|
| 172 |
+
permission under section 7 of the GNU General Public License, version
|
| 173 |
+
3 ("GPLv3"). It applies to a given file (the "Runtime Library") that
|
| 174 |
+
bears a notice placed by the copyright holder of the file stating that
|
| 175 |
+
the file is governed by GPLv3 along with this Exception.
|
| 176 |
+
|
| 177 |
+
When you use GCC to compile a program, GCC may combine portions of
|
| 178 |
+
certain GCC header files and runtime libraries with the compiled
|
| 179 |
+
program. The purpose of this Exception is to allow compilation of
|
| 180 |
+
non-GPL (including proprietary) programs to use, in this way, the
|
| 181 |
+
header files and runtime libraries covered by this Exception.
|
| 182 |
+
|
| 183 |
+
0. Definitions.
|
| 184 |
+
|
| 185 |
+
A file is an "Independent Module" if it either requires the Runtime
|
| 186 |
+
Library for execution after a Compilation Process, or makes use of an
|
| 187 |
+
interface provided by the Runtime Library, but is not otherwise based
|
| 188 |
+
on the Runtime Library.
|
| 189 |
+
|
| 190 |
+
"GCC" means a version of the GNU Compiler Collection, with or without
|
| 191 |
+
modifications, governed by version 3 (or a specified later version) of
|
| 192 |
+
the GNU General Public License (GPL) with the option of using any
|
| 193 |
+
subsequent versions published by the FSF.
|
| 194 |
+
|
| 195 |
+
"GPL-compatible Software" is software whose conditions of propagation,
|
| 196 |
+
modification and use would permit combination with GCC in accord with
|
| 197 |
+
the license of GCC.
|
| 198 |
+
|
| 199 |
+
"Target Code" refers to output from any compiler for a real or virtual
|
| 200 |
+
target processor architecture, in executable form or suitable for
|
| 201 |
+
input to an assembler, loader, linker and/or execution
|
| 202 |
+
phase. Notwithstanding that, Target Code does not include data in any
|
| 203 |
+
format that is used as a compiler intermediate representation, or used
|
| 204 |
+
for producing a compiler intermediate representation.
|
| 205 |
+
|
| 206 |
+
The "Compilation Process" transforms code entirely represented in
|
| 207 |
+
non-intermediate languages designed for human-written code, and/or in
|
| 208 |
+
Java Virtual Machine byte code, into Target Code. Thus, for example,
|
| 209 |
+
use of source code generators and preprocessors need not be considered
|
| 210 |
+
part of the Compilation Process, since the Compilation Process can be
|
| 211 |
+
understood as starting with the output of the generators or
|
| 212 |
+
preprocessors.
|
| 213 |
+
|
| 214 |
+
A Compilation Process is "Eligible" if it is done using GCC, alone or
|
| 215 |
+
with other GPL-compatible software, or if it is done without using any
|
| 216 |
+
work based on GCC. For example, using non-GPL-compatible Software to
|
| 217 |
+
optimize any GCC intermediate representations would not qualify as an
|
| 218 |
+
Eligible Compilation Process.
|
| 219 |
+
|
| 220 |
+
1. Grant of Additional Permission.
|
| 221 |
+
|
| 222 |
+
You have permission to propagate a work of Target Code formed by
|
| 223 |
+
combining the Runtime Library with Independent Modules, even if such
|
| 224 |
+
propagation would otherwise violate the terms of GPLv3, provided that
|
| 225 |
+
all Target Code was generated by Eligible Compilation Processes. You
|
| 226 |
+
may then convey such a combination under terms of your choice,
|
| 227 |
+
consistent with the licensing of the Independent Modules.
|
| 228 |
+
|
| 229 |
+
2. No Weakening of GCC Copyleft.
|
| 230 |
+
|
| 231 |
+
The availability of this Exception does not imply any general
|
| 232 |
+
presumption that third-party software is unaffected by the copyleft
|
| 233 |
+
requirements of the license of GCC.
|
| 234 |
+
|
| 235 |
+
----
|
| 236 |
+
|
| 237 |
+
GNU GENERAL PUBLIC LICENSE
|
| 238 |
+
Version 3, 29 June 2007
|
| 239 |
+
|
| 240 |
+
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
| 241 |
+
Everyone is permitted to copy and distribute verbatim copies
|
| 242 |
+
of this license document, but changing it is not allowed.
|
| 243 |
+
|
| 244 |
+
Preamble
|
| 245 |
+
|
| 246 |
+
The GNU General Public License is a free, copyleft license for
|
| 247 |
+
software and other kinds of works.
|
| 248 |
+
|
| 249 |
+
The licenses for most software and other practical works are designed
|
| 250 |
+
to take away your freedom to share and change the works. By contrast,
|
| 251 |
+
the GNU General Public License is intended to guarantee your freedom to
|
| 252 |
+
share and change all versions of a program--to make sure it remains free
|
| 253 |
+
software for all its users. We, the Free Software Foundation, use the
|
| 254 |
+
GNU General Public License for most of our software; it applies also to
|
| 255 |
+
any other work released this way by its authors. You can apply it to
|
| 256 |
+
your programs, too.
|
| 257 |
+
|
| 258 |
+
When we speak of free software, we are referring to freedom, not
|
| 259 |
+
price. Our General Public Licenses are designed to make sure that you
|
| 260 |
+
have the freedom to distribute copies of free software (and charge for
|
| 261 |
+
them if you wish), that you receive source code or can get it if you
|
| 262 |
+
want it, that you can change the software or use pieces of it in new
|
| 263 |
+
free programs, and that you know you can do these things.
|
| 264 |
+
|
| 265 |
+
To protect your rights, we need to prevent others from denying you
|
| 266 |
+
these rights or asking you to surrender the rights. Therefore, you have
|
| 267 |
+
certain responsibilities if you distribute copies of the software, or if
|
| 268 |
+
you modify it: responsibilities to respect the freedom of others.
|
| 269 |
+
|
| 270 |
+
For example, if you distribute copies of such a program, whether
|
| 271 |
+
gratis or for a fee, you must pass on to the recipients the same
|
| 272 |
+
freedoms that you received. You must make sure that they, too, receive
|
| 273 |
+
or can get the source code. And you must show them these terms so they
|
| 274 |
+
know their rights.
|
| 275 |
+
|
| 276 |
+
Developers that use the GNU GPL protect your rights with two steps:
|
| 277 |
+
(1) assert copyright on the software, and (2) offer you this License
|
| 278 |
+
giving you legal permission to copy, distribute and/or modify it.
|
| 279 |
+
|
| 280 |
+
For the developers' and authors' protection, the GPL clearly explains
|
| 281 |
+
that there is no warranty for this free software. For both users' and
|
| 282 |
+
authors' sake, the GPL requires that modified versions be marked as
|
| 283 |
+
changed, so that their problems will not be attributed erroneously to
|
| 284 |
+
authors of previous versions.
|
| 285 |
+
|
| 286 |
+
Some devices are designed to deny users access to install or run
|
| 287 |
+
modified versions of the software inside them, although the manufacturer
|
| 288 |
+
can do so. This is fundamentally incompatible with the aim of
|
| 289 |
+
protecting users' freedom to change the software. The systematic
|
| 290 |
+
pattern of such abuse occurs in the area of products for individuals to
|
| 291 |
+
use, which is precisely where it is most unacceptable. Therefore, we
|
| 292 |
+
have designed this version of the GPL to prohibit the practice for those
|
| 293 |
+
products. If such problems arise substantially in other domains, we
|
| 294 |
+
stand ready to extend this provision to those domains in future versions
|
| 295 |
+
of the GPL, as needed to protect the freedom of users.
|
| 296 |
+
|
| 297 |
+
Finally, every program is threatened constantly by software patents.
|
| 298 |
+
States should not allow patents to restrict development and use of
|
| 299 |
+
software on general-purpose computers, but in those that do, we wish to
|
| 300 |
+
avoid the special danger that patents applied to a free program could
|
| 301 |
+
make it effectively proprietary. To prevent this, the GPL assures that
|
| 302 |
+
patents cannot be used to render the program non-free.
|
| 303 |
+
|
| 304 |
+
The precise terms and conditions for copying, distribution and
|
| 305 |
+
modification follow.
|
| 306 |
+
|
| 307 |
+
TERMS AND CONDITIONS
|
| 308 |
+
|
| 309 |
+
0. Definitions.
|
| 310 |
+
|
| 311 |
+
"This License" refers to version 3 of the GNU General Public License.
|
| 312 |
+
|
| 313 |
+
"Copyright" also means copyright-like laws that apply to other kinds of
|
| 314 |
+
works, such as semiconductor masks.
|
| 315 |
+
|
| 316 |
+
"The Program" refers to any copyrightable work licensed under this
|
| 317 |
+
License. Each licensee is addressed as "you". "Licensees" and
|
| 318 |
+
"recipients" may be individuals or organizations.
|
| 319 |
+
|
| 320 |
+
To "modify" a work means to copy from or adapt all or part of the work
|
| 321 |
+
in a fashion requiring copyright permission, other than the making of an
|
| 322 |
+
exact copy. The resulting work is called a "modified version" of the
|
| 323 |
+
earlier work or a work "based on" the earlier work.
|
| 324 |
+
|
| 325 |
+
A "covered work" means either the unmodified Program or a work based
|
| 326 |
+
on the Program.
|
| 327 |
+
|
| 328 |
+
To "propagate" a work means to do anything with it that, without
|
| 329 |
+
permission, would make you directly or secondarily liable for
|
| 330 |
+
infringement under applicable copyright law, except executing it on a
|
| 331 |
+
computer or modifying a private copy. Propagation includes copying,
|
| 332 |
+
distribution (with or without modification), making available to the
|
| 333 |
+
public, and in some countries other activities as well.
|
| 334 |
+
|
| 335 |
+
To "convey" a work means any kind of propagation that enables other
|
| 336 |
+
parties to make or receive copies. Mere interaction with a user through
|
| 337 |
+
a computer network, with no transfer of a copy, is not conveying.
|
| 338 |
+
|
| 339 |
+
An interactive user interface displays "Appropriate Legal Notices"
|
| 340 |
+
to the extent that it includes a convenient and prominently visible
|
| 341 |
+
feature that (1) displays an appropriate copyright notice, and (2)
|
| 342 |
+
tells the user that there is no warranty for the work (except to the
|
| 343 |
+
extent that warranties are provided), that licensees may convey the
|
| 344 |
+
work under this License, and how to view a copy of this License. If
|
| 345 |
+
the interface presents a list of user commands or options, such as a
|
| 346 |
+
menu, a prominent item in the list meets this criterion.
|
| 347 |
+
|
| 348 |
+
1. Source Code.
|
| 349 |
+
|
| 350 |
+
The "source code" for a work means the preferred form of the work
|
| 351 |
+
for making modifications to it. "Object code" means any non-source
|
| 352 |
+
form of a work.
|
| 353 |
+
|
| 354 |
+
A "Standard Interface" means an interface that either is an official
|
| 355 |
+
standard defined by a recognized standards body, or, in the case of
|
| 356 |
+
interfaces specified for a particular programming language, one that
|
| 357 |
+
is widely used among developers working in that language.
|
| 358 |
+
|
| 359 |
+
The "System Libraries" of an executable work include anything, other
|
| 360 |
+
than the work as a whole, that (a) is included in the normal form of
|
| 361 |
+
packaging a Major Component, but which is not part of that Major
|
| 362 |
+
Component, and (b) serves only to enable use of the work with that
|
| 363 |
+
Major Component, or to implement a Standard Interface for which an
|
| 364 |
+
implementation is available to the public in source code form. A
|
| 365 |
+
"Major Component", in this context, means a major essential component
|
| 366 |
+
(kernel, window system, and so on) of the specific operating system
|
| 367 |
+
(if any) on which the executable work runs, or a compiler used to
|
| 368 |
+
produce the work, or an object code interpreter used to run it.
|
| 369 |
+
|
| 370 |
+
The "Corresponding Source" for a work in object code form means all
|
| 371 |
+
the source code needed to generate, install, and (for an executable
|
| 372 |
+
work) run the object code and to modify the work, including scripts to
|
| 373 |
+
control those activities. However, it does not include the work's
|
| 374 |
+
System Libraries, or general-purpose tools or generally available free
|
| 375 |
+
programs which are used unmodified in performing those activities but
|
| 376 |
+
which are not part of the work. For example, Corresponding Source
|
| 377 |
+
includes interface definition files associated with source files for
|
| 378 |
+
the work, and the source code for shared libraries and dynamically
|
| 379 |
+
linked subprograms that the work is specifically designed to require,
|
| 380 |
+
such as by intimate data communication or control flow between those
|
| 381 |
+
subprograms and other parts of the work.
|
| 382 |
+
|
| 383 |
+
The Corresponding Source need not include anything that users
|
| 384 |
+
can regenerate automatically from other parts of the Corresponding
|
| 385 |
+
Source.
|
| 386 |
+
|
| 387 |
+
The Corresponding Source for a work in source code form is that
|
| 388 |
+
same work.
|
| 389 |
+
|
| 390 |
+
2. Basic Permissions.
|
| 391 |
+
|
| 392 |
+
All rights granted under this License are granted for the term of
|
| 393 |
+
copyright on the Program, and are irrevocable provided the stated
|
| 394 |
+
conditions are met. This License explicitly affirms your unlimited
|
| 395 |
+
permission to run the unmodified Program. The output from running a
|
| 396 |
+
covered work is covered by this License only if the output, given its
|
| 397 |
+
content, constitutes a covered work. This License acknowledges your
|
| 398 |
+
rights of fair use or other equivalent, as provided by copyright law.
|
| 399 |
+
|
| 400 |
+
You may make, run and propagate covered works that you do not
|
| 401 |
+
convey, without conditions so long as your license otherwise remains
|
| 402 |
+
in force. You may convey covered works to others for the sole purpose
|
| 403 |
+
of having them make modifications exclusively for you, or provide you
|
| 404 |
+
with facilities for running those works, provided that you comply with
|
| 405 |
+
the terms of this License in conveying all material for which you do
|
| 406 |
+
not control copyright. Those thus making or running the covered works
|
| 407 |
+
for you must do so exclusively on your behalf, under your direction
|
| 408 |
+
and control, on terms that prohibit them from making any copies of
|
| 409 |
+
your copyrighted material outside their relationship with you.
|
| 410 |
+
|
| 411 |
+
Conveying under any other circumstances is permitted solely under
|
| 412 |
+
the conditions stated below. Sublicensing is not allowed; section 10
|
| 413 |
+
makes it unnecessary.
|
| 414 |
+
|
| 415 |
+
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
| 416 |
+
|
| 417 |
+
No covered work shall be deemed part of an effective technological
|
| 418 |
+
measure under any applicable law fulfilling obligations under article
|
| 419 |
+
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
| 420 |
+
similar laws prohibiting or restricting circumvention of such
|
| 421 |
+
measures.
|
| 422 |
+
|
| 423 |
+
When you convey a covered work, you waive any legal power to forbid
|
| 424 |
+
circumvention of technological measures to the extent such circumvention
|
| 425 |
+
is effected by exercising rights under this License with respect to
|
| 426 |
+
the covered work, and you disclaim any intention to limit operation or
|
| 427 |
+
modification of the work as a means of enforcing, against the work's
|
| 428 |
+
users, your or third parties' legal rights to forbid circumvention of
|
| 429 |
+
technological measures.
|
| 430 |
+
|
| 431 |
+
4. Conveying Verbatim Copies.
|
| 432 |
+
|
| 433 |
+
You may convey verbatim copies of the Program's source code as you
|
| 434 |
+
receive it, in any medium, provided that you conspicuously and
|
| 435 |
+
appropriately publish on each copy an appropriate copyright notice;
|
| 436 |
+
keep intact all notices stating that this License and any
|
| 437 |
+
non-permissive terms added in accord with section 7 apply to the code;
|
| 438 |
+
keep intact all notices of the absence of any warranty; and give all
|
| 439 |
+
recipients a copy of this License along with the Program.
|
| 440 |
+
|
| 441 |
+
You may charge any price or no price for each copy that you convey,
|
| 442 |
+
and you may offer support or warranty protection for a fee.
|
| 443 |
+
|
| 444 |
+
5. Conveying Modified Source Versions.
|
| 445 |
+
|
| 446 |
+
You may convey a work based on the Program, or the modifications to
|
| 447 |
+
produce it from the Program, in the form of source code under the
|
| 448 |
+
terms of section 4, provided that you also meet all of these conditions:
|
| 449 |
+
|
| 450 |
+
a) The work must carry prominent notices stating that you modified
|
| 451 |
+
it, and giving a relevant date.
|
| 452 |
+
|
| 453 |
+
b) The work must carry prominent notices stating that it is
|
| 454 |
+
released under this License and any conditions added under section
|
| 455 |
+
7. This requirement modifies the requirement in section 4 to
|
| 456 |
+
"keep intact all notices".
|
| 457 |
+
|
| 458 |
+
c) You must license the entire work, as a whole, under this
|
| 459 |
+
License to anyone who comes into possession of a copy. This
|
| 460 |
+
License will therefore apply, along with any applicable section 7
|
| 461 |
+
additional terms, to the whole of the work, and all its parts,
|
| 462 |
+
regardless of how they are packaged. This License gives no
|
| 463 |
+
permission to license the work in any other way, but it does not
|
| 464 |
+
invalidate such permission if you have separately received it.
|
| 465 |
+
|
| 466 |
+
d) If the work has interactive user interfaces, each must display
|
| 467 |
+
Appropriate Legal Notices; however, if the Program has interactive
|
| 468 |
+
interfaces that do not display Appropriate Legal Notices, your
|
| 469 |
+
work need not make them do so.
|
| 470 |
+
|
| 471 |
+
A compilation of a covered work with other separate and independent
|
| 472 |
+
works, which are not by their nature extensions of the covered work,
|
| 473 |
+
and which are not combined with it such as to form a larger program,
|
| 474 |
+
in or on a volume of a storage or distribution medium, is called an
|
| 475 |
+
"aggregate" if the compilation and its resulting copyright are not
|
| 476 |
+
used to limit the access or legal rights of the compilation's users
|
| 477 |
+
beyond what the individual works permit. Inclusion of a covered work
|
| 478 |
+
in an aggregate does not cause this License to apply to the other
|
| 479 |
+
parts of the aggregate.
|
| 480 |
+
|
| 481 |
+
6. Conveying Non-Source Forms.
|
| 482 |
+
|
| 483 |
+
You may convey a covered work in object code form under the terms
|
| 484 |
+
of sections 4 and 5, provided that you also convey the
|
| 485 |
+
machine-readable Corresponding Source under the terms of this License,
|
| 486 |
+
in one of these ways:
|
| 487 |
+
|
| 488 |
+
a) Convey the object code in, or embodied in, a physical product
|
| 489 |
+
(including a physical distribution medium), accompanied by the
|
| 490 |
+
Corresponding Source fixed on a durable physical medium
|
| 491 |
+
customarily used for software interchange.
|
| 492 |
+
|
| 493 |
+
b) Convey the object code in, or embodied in, a physical product
|
| 494 |
+
(including a physical distribution medium), accompanied by a
|
| 495 |
+
written offer, valid for at least three years and valid for as
|
| 496 |
+
long as you offer spare parts or customer support for that product
|
| 497 |
+
model, to give anyone who possesses the object code either (1) a
|
| 498 |
+
copy of the Corresponding Source for all the software in the
|
| 499 |
+
product that is covered by this License, on a durable physical
|
| 500 |
+
medium customarily used for software interchange, for a price no
|
| 501 |
+
more than your reasonable cost of physically performing this
|
| 502 |
+
conveying of source, or (2) access to copy the
|
| 503 |
+
Corresponding Source from a network server at no charge.
|
| 504 |
+
|
| 505 |
+
c) Convey individual copies of the object code with a copy of the
|
| 506 |
+
written offer to provide the Corresponding Source. This
|
| 507 |
+
alternative is allowed only occasionally and noncommercially, and
|
| 508 |
+
only if you received the object code with such an offer, in accord
|
| 509 |
+
with subsection 6b.
|
| 510 |
+
|
| 511 |
+
d) Convey the object code by offering access from a designated
|
| 512 |
+
place (gratis or for a charge), and offer equivalent access to the
|
| 513 |
+
Corresponding Source in the same way through the same place at no
|
| 514 |
+
further charge. You need not require recipients to copy the
|
| 515 |
+
Corresponding Source along with the object code. If the place to
|
| 516 |
+
copy the object code is a network server, the Corresponding Source
|
| 517 |
+
may be on a different server (operated by you or a third party)
|
| 518 |
+
that supports equivalent copying facilities, provided you maintain
|
| 519 |
+
clear directions next to the object code saying where to find the
|
| 520 |
+
Corresponding Source. Regardless of what server hosts the
|
| 521 |
+
Corresponding Source, you remain obligated to ensure that it is
|
| 522 |
+
available for as long as needed to satisfy these requirements.
|
| 523 |
+
|
| 524 |
+
e) Convey the object code using peer-to-peer transmission, provided
|
| 525 |
+
you inform other peers where the object code and Corresponding
|
| 526 |
+
Source of the work are being offered to the general public at no
|
| 527 |
+
charge under subsection 6d.
|
| 528 |
+
|
| 529 |
+
A separable portion of the object code, whose source code is excluded
|
| 530 |
+
from the Corresponding Source as a System Library, need not be
|
| 531 |
+
included in conveying the object code work.
|
| 532 |
+
|
| 533 |
+
A "User Product" is either (1) a "consumer product", which means any
|
| 534 |
+
tangible personal property which is normally used for personal, family,
|
| 535 |
+
or household purposes, or (2) anything designed or sold for incorporation
|
| 536 |
+
into a dwelling. In determining whether a product is a consumer product,
|
| 537 |
+
doubtful cases shall be resolved in favor of coverage. For a particular
|
| 538 |
+
product received by a particular user, "normally used" refers to a
|
| 539 |
+
typical or common use of that class of product, regardless of the status
|
| 540 |
+
of the particular user or of the way in which the particular user
|
| 541 |
+
actually uses, or expects or is expected to use, the product. A product
|
| 542 |
+
is a consumer product regardless of whether the product has substantial
|
| 543 |
+
commercial, industrial or non-consumer uses, unless such uses represent
|
| 544 |
+
the only significant mode of use of the product.
|
| 545 |
+
|
| 546 |
+
"Installation Information" for a User Product means any methods,
|
| 547 |
+
procedures, authorization keys, or other information required to install
|
| 548 |
+
and execute modified versions of a covered work in that User Product from
|
| 549 |
+
a modified version of its Corresponding Source. The information must
|
| 550 |
+
suffice to ensure that the continued functioning of the modified object
|
| 551 |
+
code is in no case prevented or interfered with solely because
|
| 552 |
+
modification has been made.
|
| 553 |
+
|
| 554 |
+
If you convey an object code work under this section in, or with, or
|
| 555 |
+
specifically for use in, a User Product, and the conveying occurs as
|
| 556 |
+
part of a transaction in which the right of possession and use of the
|
| 557 |
+
User Product is transferred to the recipient in perpetuity or for a
|
| 558 |
+
fixed term (regardless of how the transaction is characterized), the
|
| 559 |
+
Corresponding Source conveyed under this section must be accompanied
|
| 560 |
+
by the Installation Information. But this requirement does not apply
|
| 561 |
+
if neither you nor any third party retains the ability to install
|
| 562 |
+
modified object code on the User Product (for example, the work has
|
| 563 |
+
been installed in ROM).
|
| 564 |
+
|
| 565 |
+
The requirement to provide Installation Information does not include a
|
| 566 |
+
requirement to continue to provide support service, warranty, or updates
|
| 567 |
+
for a work that has been modified or installed by the recipient, or for
|
| 568 |
+
the User Product in which it has been modified or installed. Access to a
|
| 569 |
+
network may be denied when the modification itself materially and
|
| 570 |
+
adversely affects the operation of the network or violates the rules and
|
| 571 |
+
protocols for communication across the network.
|
| 572 |
+
|
| 573 |
+
Corresponding Source conveyed, and Installation Information provided,
|
| 574 |
+
in accord with this section must be in a format that is publicly
|
| 575 |
+
documented (and with an implementation available to the public in
|
| 576 |
+
source code form), and must require no special password or key for
|
| 577 |
+
unpacking, reading or copying.
|
| 578 |
+
|
| 579 |
+
7. Additional Terms.
|
| 580 |
+
|
| 581 |
+
"Additional permissions" are terms that supplement the terms of this
|
| 582 |
+
License by making exceptions from one or more of its conditions.
|
| 583 |
+
Additional permissions that are applicable to the entire Program shall
|
| 584 |
+
be treated as though they were included in this License, to the extent
|
| 585 |
+
that they are valid under applicable law. If additional permissions
|
| 586 |
+
apply only to part of the Program, that part may be used separately
|
| 587 |
+
under those permissions, but the entire Program remains governed by
|
| 588 |
+
this License without regard to the additional permissions.
|
| 589 |
+
|
| 590 |
+
When you convey a copy of a covered work, you may at your option
|
| 591 |
+
remove any additional permissions from that copy, or from any part of
|
| 592 |
+
it. (Additional permissions may be written to require their own
|
| 593 |
+
removal in certain cases when you modify the work.) You may place
|
| 594 |
+
additional permissions on material, added by you to a covered work,
|
| 595 |
+
for which you have or can give appropriate copyright permission.
|
| 596 |
+
|
| 597 |
+
Notwithstanding any other provision of this License, for material you
|
| 598 |
+
add to a covered work, you may (if authorized by the copyright holders of
|
| 599 |
+
that material) supplement the terms of this License with terms:
|
| 600 |
+
|
| 601 |
+
a) Disclaiming warranty or limiting liability differently from the
|
| 602 |
+
terms of sections 15 and 16 of this License; or
|
| 603 |
+
|
| 604 |
+
b) Requiring preservation of specified reasonable legal notices or
|
| 605 |
+
author attributions in that material or in the Appropriate Legal
|
| 606 |
+
Notices displayed by works containing it; or
|
| 607 |
+
|
| 608 |
+
c) Prohibiting misrepresentation of the origin of that material, or
|
| 609 |
+
requiring that modified versions of such material be marked in
|
| 610 |
+
reasonable ways as different from the original version; or
|
| 611 |
+
|
| 612 |
+
d) Limiting the use for publicity purposes of names of licensors or
|
| 613 |
+
authors of the material; or
|
| 614 |
+
|
| 615 |
+
e) Declining to grant rights under trademark law for use of some
|
| 616 |
+
trade names, trademarks, or service marks; or
|
| 617 |
+
|
| 618 |
+
f) Requiring indemnification of licensors and authors of that
|
| 619 |
+
material by anyone who conveys the material (or modified versions of
|
| 620 |
+
it) with contractual assumptions of liability to the recipient, for
|
| 621 |
+
any liability that these contractual assumptions directly impose on
|
| 622 |
+
those licensors and authors.
|
| 623 |
+
|
| 624 |
+
All other non-permissive additional terms are considered "further
|
| 625 |
+
restrictions" within the meaning of section 10. If the Program as you
|
| 626 |
+
received it, or any part of it, contains a notice stating that it is
|
| 627 |
+
governed by this License along with a term that is a further
|
| 628 |
+
restriction, you may remove that term. If a license document contains
|
| 629 |
+
a further restriction but permits relicensing or conveying under this
|
| 630 |
+
License, you may add to a covered work material governed by the terms
|
| 631 |
+
of that license document, provided that the further restriction does
|
| 632 |
+
not survive such relicensing or conveying.
|
| 633 |
+
|
| 634 |
+
If you add terms to a covered work in accord with this section, you
|
| 635 |
+
must place, in the relevant source files, a statement of the
|
| 636 |
+
additional terms that apply to those files, or a notice indicating
|
| 637 |
+
where to find the applicable terms.
|
| 638 |
+
|
| 639 |
+
Additional terms, permissive or non-permissive, may be stated in the
|
| 640 |
+
form of a separately written license, or stated as exceptions;
|
| 641 |
+
the above requirements apply either way.
|
| 642 |
+
|
| 643 |
+
8. Termination.
|
| 644 |
+
|
| 645 |
+
You may not propagate or modify a covered work except as expressly
|
| 646 |
+
provided under this License. Any attempt otherwise to propagate or
|
| 647 |
+
modify it is void, and will automatically terminate your rights under
|
| 648 |
+
this License (including any patent licenses granted under the third
|
| 649 |
+
paragraph of section 11).
|
| 650 |
+
|
| 651 |
+
However, if you cease all violation of this License, then your
|
| 652 |
+
license from a particular copyright holder is reinstated (a)
|
| 653 |
+
provisionally, unless and until the copyright holder explicitly and
|
| 654 |
+
finally terminates your license, and (b) permanently, if the copyright
|
| 655 |
+
holder fails to notify you of the violation by some reasonable means
|
| 656 |
+
prior to 60 days after the cessation.
|
| 657 |
+
|
| 658 |
+
Moreover, your license from a particular copyright holder is
|
| 659 |
+
reinstated permanently if the copyright holder notifies you of the
|
| 660 |
+
violation by some reasonable means, this is the first time you have
|
| 661 |
+
received notice of violation of this License (for any work) from that
|
| 662 |
+
copyright holder, and you cure the violation prior to 30 days after
|
| 663 |
+
your receipt of the notice.
|
| 664 |
+
|
| 665 |
+
Termination of your rights under this section does not terminate the
|
| 666 |
+
licenses of parties who have received copies or rights from you under
|
| 667 |
+
this License. If your rights have been terminated and not permanently
|
| 668 |
+
reinstated, you do not qualify to receive new licenses for the same
|
| 669 |
+
material under section 10.
|
| 670 |
+
|
| 671 |
+
9. Acceptance Not Required for Having Copies.
|
| 672 |
+
|
| 673 |
+
You are not required to accept this License in order to receive or
|
| 674 |
+
run a copy of the Program. Ancillary propagation of a covered work
|
| 675 |
+
occurring solely as a consequence of using peer-to-peer transmission
|
| 676 |
+
to receive a copy likewise does not require acceptance. However,
|
| 677 |
+
nothing other than this License grants you permission to propagate or
|
| 678 |
+
modify any covered work. These actions infringe copyright if you do
|
| 679 |
+
not accept this License. Therefore, by modifying or propagating a
|
| 680 |
+
covered work, you indicate your acceptance of this License to do so.
|
| 681 |
+
|
| 682 |
+
10. Automatic Licensing of Downstream Recipients.
|
| 683 |
+
|
| 684 |
+
Each time you convey a covered work, the recipient automatically
|
| 685 |
+
receives a license from the original licensors, to run, modify and
|
| 686 |
+
propagate that work, subject to this License. You are not responsible
|
| 687 |
+
for enforcing compliance by third parties with this License.
|
| 688 |
+
|
| 689 |
+
An "entity transaction" is a transaction transferring control of an
|
| 690 |
+
organization, or substantially all assets of one, or subdividing an
|
| 691 |
+
organization, or merging organizations. If propagation of a covered
|
| 692 |
+
work results from an entity transaction, each party to that
|
| 693 |
+
transaction who receives a copy of the work also receives whatever
|
| 694 |
+
licenses to the work the party's predecessor in interest had or could
|
| 695 |
+
give under the previous paragraph, plus a right to possession of the
|
| 696 |
+
Corresponding Source of the work from the predecessor in interest, if
|
| 697 |
+
the predecessor has it or can get it with reasonable efforts.
|
| 698 |
+
|
| 699 |
+
You may not impose any further restrictions on the exercise of the
|
| 700 |
+
rights granted or affirmed under this License. For example, you may
|
| 701 |
+
not impose a license fee, royalty, or other charge for exercise of
|
| 702 |
+
rights granted under this License, and you may not initiate litigation
|
| 703 |
+
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
| 704 |
+
any patent claim is infringed by making, using, selling, offering for
|
| 705 |
+
sale, or importing the Program or any portion of it.
|
| 706 |
+
|
| 707 |
+
11. Patents.
|
| 708 |
+
|
| 709 |
+
A "contributor" is a copyright holder who authorizes use under this
|
| 710 |
+
License of the Program or a work on which the Program is based. The
|
| 711 |
+
work thus licensed is called the contributor's "contributor version".
|
| 712 |
+
|
| 713 |
+
A contributor's "essential patent claims" are all patent claims
|
| 714 |
+
owned or controlled by the contributor, whether already acquired or
|
| 715 |
+
hereafter acquired, that would be infringed by some manner, permitted
|
| 716 |
+
by this License, of making, using, or selling its contributor version,
|
| 717 |
+
but do not include claims that would be infringed only as a
|
| 718 |
+
consequence of further modification of the contributor version. For
|
| 719 |
+
purposes of this definition, "control" includes the right to grant
|
| 720 |
+
patent sublicenses in a manner consistent with the requirements of
|
| 721 |
+
this License.
|
| 722 |
+
|
| 723 |
+
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
| 724 |
+
patent license under the contributor's essential patent claims, to
|
| 725 |
+
make, use, sell, offer for sale, import and otherwise run, modify and
|
| 726 |
+
propagate the contents of its contributor version.
|
| 727 |
+
|
| 728 |
+
In the following three paragraphs, a "patent license" is any express
|
| 729 |
+
agreement or commitment, however denominated, not to enforce a patent
|
| 730 |
+
(such as an express permission to practice a patent or covenant not to
|
| 731 |
+
sue for patent infringement). To "grant" such a patent license to a
|
| 732 |
+
party means to make such an agreement or commitment not to enforce a
|
| 733 |
+
patent against the party.
|
| 734 |
+
|
| 735 |
+
If you convey a covered work, knowingly relying on a patent license,
|
| 736 |
+
and the Corresponding Source of the work is not available for anyone
|
| 737 |
+
to copy, free of charge and under the terms of this License, through a
|
| 738 |
+
publicly available network server or other readily accessible means,
|
| 739 |
+
then you must either (1) cause the Corresponding Source to be so
|
| 740 |
+
available, or (2) arrange to deprive yourself of the benefit of the
|
| 741 |
+
patent license for this particular work, or (3) arrange, in a manner
|
| 742 |
+
consistent with the requirements of this License, to extend the patent
|
| 743 |
+
license to downstream recipients. "Knowingly relying" means you have
|
| 744 |
+
actual knowledge that, but for the patent license, your conveying the
|
| 745 |
+
covered work in a country, or your recipient's use of the covered work
|
| 746 |
+
in a country, would infringe one or more identifiable patents in that
|
| 747 |
+
country that you have reason to believe are valid.
|
| 748 |
+
|
| 749 |
+
If, pursuant to or in connection with a single transaction or
|
| 750 |
+
arrangement, you convey, or propagate by procuring conveyance of, a
|
| 751 |
+
covered work, and grant a patent license to some of the parties
|
| 752 |
+
receiving the covered work authorizing them to use, propagate, modify
|
| 753 |
+
or convey a specific copy of the covered work, then the patent license
|
| 754 |
+
you grant is automatically extended to all recipients of the covered
|
| 755 |
+
work and works based on it.
|
| 756 |
+
|
| 757 |
+
A patent license is "discriminatory" if it does not include within
|
| 758 |
+
the scope of its coverage, prohibits the exercise of, or is
|
| 759 |
+
conditioned on the non-exercise of one or more of the rights that are
|
| 760 |
+
specifically granted under this License. You may not convey a covered
|
| 761 |
+
work if you are a party to an arrangement with a third party that is
|
| 762 |
+
in the business of distributing software, under which you make payment
|
| 763 |
+
to the third party based on the extent of your activity of conveying
|
| 764 |
+
the work, and under which the third party grants, to any of the
|
| 765 |
+
parties who would receive the covered work from you, a discriminatory
|
| 766 |
+
patent license (a) in connection with copies of the covered work
|
| 767 |
+
conveyed by you (or copies made from those copies), or (b) primarily
|
| 768 |
+
for and in connection with specific products or compilations that
|
| 769 |
+
contain the covered work, unless you entered into that arrangement,
|
| 770 |
+
or that patent license was granted, prior to 28 March 2007.
|
| 771 |
+
|
| 772 |
+
Nothing in this License shall be construed as excluding or limiting
|
| 773 |
+
any implied license or other defenses to infringement that may
|
| 774 |
+
otherwise be available to you under applicable patent law.
|
| 775 |
+
|
| 776 |
+
12. No Surrender of Others' Freedom.
|
| 777 |
+
|
| 778 |
+
If conditions are imposed on you (whether by court order, agreement or
|
| 779 |
+
otherwise) that contradict the conditions of this License, they do not
|
| 780 |
+
excuse you from the conditions of this License. If you cannot convey a
|
| 781 |
+
covered work so as to satisfy simultaneously your obligations under this
|
| 782 |
+
License and any other pertinent obligations, then as a consequence you may
|
| 783 |
+
not convey it at all. For example, if you agree to terms that obligate you
|
| 784 |
+
to collect a royalty for further conveying from those to whom you convey
|
| 785 |
+
the Program, the only way you could satisfy both those terms and this
|
| 786 |
+
License would be to refrain entirely from conveying the Program.
|
| 787 |
+
|
| 788 |
+
13. Use with the GNU Affero General Public License.
|
| 789 |
+
|
| 790 |
+
Notwithstanding any other provision of this License, you have
|
| 791 |
+
permission to link or combine any covered work with a work licensed
|
| 792 |
+
under version 3 of the GNU Affero General Public License into a single
|
| 793 |
+
combined work, and to convey the resulting work. The terms of this
|
| 794 |
+
License will continue to apply to the part which is the covered work,
|
| 795 |
+
but the special requirements of the GNU Affero General Public License,
|
| 796 |
+
section 13, concerning interaction through a network will apply to the
|
| 797 |
+
combination as such.
|
| 798 |
+
|
| 799 |
+
14. Revised Versions of this License.
|
| 800 |
+
|
| 801 |
+
The Free Software Foundation may publish revised and/or new versions of
|
| 802 |
+
the GNU General Public License from time to time. Such new versions will
|
| 803 |
+
be similar in spirit to the present version, but may differ in detail to
|
| 804 |
+
address new problems or concerns.
|
| 805 |
+
|
| 806 |
+
Each version is given a distinguishing version number. If the
|
| 807 |
+
Program specifies that a certain numbered version of the GNU General
|
| 808 |
+
Public License "or any later version" applies to it, you have the
|
| 809 |
+
option of following the terms and conditions either of that numbered
|
| 810 |
+
version or of any later version published by the Free Software
|
| 811 |
+
Foundation. If the Program does not specify a version number of the
|
| 812 |
+
GNU General Public License, you may choose any version ever published
|
| 813 |
+
by the Free Software Foundation.
|
| 814 |
+
|
| 815 |
+
If the Program specifies that a proxy can decide which future
|
| 816 |
+
versions of the GNU General Public License can be used, that proxy's
|
| 817 |
+
public statement of acceptance of a version permanently authorizes you
|
| 818 |
+
to choose that version for the Program.
|
| 819 |
+
|
| 820 |
+
Later license versions may give you additional or different
|
| 821 |
+
permissions. However, no additional obligations are imposed on any
|
| 822 |
+
author or copyright holder as a result of your choosing to follow a
|
| 823 |
+
later version.
|
| 824 |
+
|
| 825 |
+
15. Disclaimer of Warranty.
|
| 826 |
+
|
| 827 |
+
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
| 828 |
+
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
| 829 |
+
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
| 830 |
+
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
| 831 |
+
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
| 832 |
+
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
| 833 |
+
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
| 834 |
+
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
| 835 |
+
|
| 836 |
+
16. Limitation of Liability.
|
| 837 |
+
|
| 838 |
+
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
| 839 |
+
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
| 840 |
+
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
| 841 |
+
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
| 842 |
+
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
| 843 |
+
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
| 844 |
+
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
| 845 |
+
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
| 846 |
+
SUCH DAMAGES.
|
| 847 |
+
|
| 848 |
+
17. Interpretation of Sections 15 and 16.
|
| 849 |
+
|
| 850 |
+
If the disclaimer of warranty and limitation of liability provided
|
| 851 |
+
above cannot be given local legal effect according to their terms,
|
| 852 |
+
reviewing courts shall apply local law that most closely approximates
|
| 853 |
+
an absolute waiver of all civil liability in connection with the
|
| 854 |
+
Program, unless a warranty or assumption of liability accompanies a
|
| 855 |
+
copy of the Program in return for a fee.
|
| 856 |
+
|
| 857 |
+
END OF TERMS AND CONDITIONS
|
| 858 |
+
|
| 859 |
+
How to Apply These Terms to Your New Programs
|
| 860 |
+
|
| 861 |
+
If you develop a new program, and you want it to be of the greatest
|
| 862 |
+
possible use to the public, the best way to achieve this is to make it
|
| 863 |
+
free software which everyone can redistribute and change under these terms.
|
| 864 |
+
|
| 865 |
+
To do so, attach the following notices to the program. It is safest
|
| 866 |
+
to attach them to the start of each source file to most effectively
|
| 867 |
+
state the exclusion of warranty; and each file should have at least
|
| 868 |
+
the "copyright" line and a pointer to where the full notice is found.
|
| 869 |
+
|
| 870 |
+
<one line to give the program's name and a brief idea of what it does.>
|
| 871 |
+
Copyright (C) <year> <name of author>
|
| 872 |
+
|
| 873 |
+
This program is free software: you can redistribute it and/or modify
|
| 874 |
+
it under the terms of the GNU General Public License as published by
|
| 875 |
+
the Free Software Foundation, either version 3 of the License, or
|
| 876 |
+
(at your option) any later version.
|
| 877 |
+
|
| 878 |
+
This program is distributed in the hope that it will be useful,
|
| 879 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 880 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 881 |
+
GNU General Public License for more details.
|
| 882 |
+
|
| 883 |
+
You should have received a copy of the GNU General Public License
|
| 884 |
+
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
| 885 |
+
|
| 886 |
+
Also add information on how to contact you by electronic and paper mail.
|
| 887 |
+
|
| 888 |
+
If the program does terminal interaction, make it output a short
|
| 889 |
+
notice like this when it starts in an interactive mode:
|
| 890 |
+
|
| 891 |
+
<program> Copyright (C) <year> <name of author>
|
| 892 |
+
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
| 893 |
+
This is free software, and you are welcome to redistribute it
|
| 894 |
+
under certain conditions; type `show c' for details.
|
| 895 |
+
|
| 896 |
+
The hypothetical commands `show w' and `show c' should show the appropriate
|
| 897 |
+
parts of the General Public License. Of course, your program's commands
|
| 898 |
+
might be different; for a GUI interface, you would use an "about box".
|
| 899 |
+
|
| 900 |
+
You should also get your employer (if you work as a programmer) or school,
|
| 901 |
+
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
| 902 |
+
For more information on this, and how to apply and follow the GNU GPL, see
|
| 903 |
+
<http://www.gnu.org/licenses/>.
|
| 904 |
+
|
| 905 |
+
The GNU General Public License does not permit incorporating your program
|
| 906 |
+
into proprietary programs. If your program is a subroutine library, you
|
| 907 |
+
may consider it more useful to permit linking proprietary applications with
|
| 908 |
+
the library. If this is what you want to do, use the GNU Lesser General
|
| 909 |
+
Public License instead of this License. But first, please read
|
| 910 |
+
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
common/runtime/robodojo_support/numpy-1.26.0.dist-info/METADATA
ADDED
|
@@ -0,0 +1,1030 @@
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
| 1 |
+
Metadata-Version: 2.1
|
| 2 |
+
Name: numpy
|
| 3 |
+
Version: 1.26.0
|
| 4 |
+
Summary: Fundamental package for array computing in Python
|
| 5 |
+
Home-page: https://numpy.org
|
| 6 |
+
Author: Travis E. Oliphant et al.
|
| 7 |
+
Maintainer-Email: NumPy Developers <numpy-discussion@python.org>
|
| 8 |
+
License: Copyright (c) 2005-2023, NumPy Developers.
|
| 9 |
+
All rights reserved.
|
| 10 |
+
|
| 11 |
+
Redistribution and use in source and binary forms, with or without
|
| 12 |
+
modification, are permitted provided that the following conditions are
|
| 13 |
+
met:
|
| 14 |
+
|
| 15 |
+
* Redistributions of source code must retain the above copyright
|
| 16 |
+
notice, this list of conditions and the following disclaimer.
|
| 17 |
+
|
| 18 |
+
* Redistributions in binary form must reproduce the above
|
| 19 |
+
copyright notice, this list of conditions and the following
|
| 20 |
+
disclaimer in the documentation and/or other materials provided
|
| 21 |
+
with the distribution.
|
| 22 |
+
|
| 23 |
+
* Neither the name of the NumPy Developers nor the names of any
|
| 24 |
+
contributors may be used to endorse or promote products derived
|
| 25 |
+
from this software without specific prior written permission.
|
| 26 |
+
|
| 27 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 28 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 29 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 30 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 31 |
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 32 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
| 33 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
| 34 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
| 35 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 36 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 37 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 38 |
+
|
| 39 |
+
----
|
| 40 |
+
|
| 41 |
+
This binary distribution of NumPy also bundles the following software:
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
Name: OpenBLAS
|
| 45 |
+
Files: .libs/libopenb*.so
|
| 46 |
+
Description: bundled as a dynamically linked library
|
| 47 |
+
Availability: https://github.com/xianyi/OpenBLAS/
|
| 48 |
+
License: 3-clause BSD
|
| 49 |
+
Copyright (c) 2011-2014, The OpenBLAS Project
|
| 50 |
+
All rights reserved.
|
| 51 |
+
|
| 52 |
+
Redistribution and use in source and binary forms, with or without
|
| 53 |
+
modification, are permitted provided that the following conditions are
|
| 54 |
+
met:
|
| 55 |
+
|
| 56 |
+
1. Redistributions of source code must retain the above copyright
|
| 57 |
+
notice, this list of conditions and the following disclaimer.
|
| 58 |
+
|
| 59 |
+
2. Redistributions in binary form must reproduce the above copyright
|
| 60 |
+
notice, this list of conditions and the following disclaimer in
|
| 61 |
+
the documentation and/or other materials provided with the
|
| 62 |
+
distribution.
|
| 63 |
+
3. Neither the name of the OpenBLAS project nor the names of
|
| 64 |
+
its contributors may be used to endorse or promote products
|
| 65 |
+
derived from this software without specific prior written
|
| 66 |
+
permission.
|
| 67 |
+
|
| 68 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
| 69 |
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 70 |
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
| 71 |
+
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
| 72 |
+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
| 73 |
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
| 74 |
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
| 75 |
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
| 76 |
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
| 77 |
+
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 78 |
+
|
| 79 |
+
|
| 80 |
+
Name: LAPACK
|
| 81 |
+
Files: .libs/libopenb*.so
|
| 82 |
+
Description: bundled in OpenBLAS
|
| 83 |
+
Availability: https://github.com/xianyi/OpenBLAS/
|
| 84 |
+
License 3-clause BSD
|
| 85 |
+
Copyright (c) 1992-2013 The University of Tennessee and The University
|
| 86 |
+
of Tennessee Research Foundation. All rights
|
| 87 |
+
reserved.
|
| 88 |
+
Copyright (c) 2000-2013 The University of California Berkeley. All
|
| 89 |
+
rights reserved.
|
| 90 |
+
Copyright (c) 2006-2013 The University of Colorado Denver. All rights
|
| 91 |
+
reserved.
|
| 92 |
+
|
| 93 |
+
$COPYRIGHT$
|
| 94 |
+
|
| 95 |
+
Additional copyrights may follow
|
| 96 |
+
|
| 97 |
+
$HEADER$
|
| 98 |
+
|
| 99 |
+
Redistribution and use in source and binary forms, with or without
|
| 100 |
+
modification, are permitted provided that the following conditions are
|
| 101 |
+
met:
|
| 102 |
+
|
| 103 |
+
- Redistributions of source code must retain the above copyright
|
| 104 |
+
notice, this list of conditions and the following disclaimer.
|
| 105 |
+
|
| 106 |
+
- Redistributions in binary form must reproduce the above copyright
|
| 107 |
+
notice, this list of conditions and the following disclaimer listed
|
| 108 |
+
in this license in the documentation and/or other materials
|
| 109 |
+
provided with the distribution.
|
| 110 |
+
|
| 111 |
+
- Neither the name of the copyright holders nor the names of its
|
| 112 |
+
contributors may be used to endorse or promote products derived from
|
| 113 |
+
this software without specific prior written permission.
|
| 114 |
+
|
| 115 |
+
The copyright holders provide no reassurances that the source code
|
| 116 |
+
provided does not infringe any patent, copyright, or any other
|
| 117 |
+
intellectual property rights of third parties. The copyright holders
|
| 118 |
+
disclaim any liability to any recipient for claims brought against
|
| 119 |
+
recipient by any third party for infringement of that parties
|
| 120 |
+
intellectual property rights.
|
| 121 |
+
|
| 122 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 123 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 124 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 125 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 126 |
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 127 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
| 128 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
| 129 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
| 130 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 131 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 132 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 133 |
+
|
| 134 |
+
|
| 135 |
+
Name: GCC runtime library
|
| 136 |
+
Files: .libs/libgfortran*.so
|
| 137 |
+
Description: dynamically linked to files compiled with gcc
|
| 138 |
+
Availability: https://gcc.gnu.org/viewcvs/gcc/
|
| 139 |
+
License: GPLv3 + runtime exception
|
| 140 |
+
Copyright (C) 2002-2017 Free Software Foundation, Inc.
|
| 141 |
+
|
| 142 |
+
Libgfortran is free software; you can redistribute it and/or modify
|
| 143 |
+
it under the terms of the GNU General Public License as published by
|
| 144 |
+
the Free Software Foundation; either version 3, or (at your option)
|
| 145 |
+
any later version.
|
| 146 |
+
|
| 147 |
+
Libgfortran is distributed in the hope that it will be useful,
|
| 148 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 149 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 150 |
+
GNU General Public License for more details.
|
| 151 |
+
|
| 152 |
+
Under Section 7 of GPL version 3, you are granted additional
|
| 153 |
+
permissions described in the GCC Runtime Library Exception, version
|
| 154 |
+
3.1, as published by the Free Software Foundation.
|
| 155 |
+
|
| 156 |
+
You should have received a copy of the GNU General Public License and
|
| 157 |
+
a copy of the GCC Runtime Library Exception along with this program;
|
| 158 |
+
see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|
| 159 |
+
<http://www.gnu.org/licenses/>.
|
| 160 |
+
|
| 161 |
+
----
|
| 162 |
+
|
| 163 |
+
Full text of license texts referred to above follows (that they are
|
| 164 |
+
listed below does not necessarily imply the conditions apply to the
|
| 165 |
+
present binary release):
|
| 166 |
+
|
| 167 |
+
----
|
| 168 |
+
|
| 169 |
+
GCC RUNTIME LIBRARY EXCEPTION
|
| 170 |
+
|
| 171 |
+
Version 3.1, 31 March 2009
|
| 172 |
+
|
| 173 |
+
Copyright (C) 2009 Free Software Foundation, Inc. <http://fsf.org/>
|
| 174 |
+
|
| 175 |
+
Everyone is permitted to copy and distribute verbatim copies of this
|
| 176 |
+
license document, but changing it is not allowed.
|
| 177 |
+
|
| 178 |
+
This GCC Runtime Library Exception ("Exception") is an additional
|
| 179 |
+
permission under section 7 of the GNU General Public License, version
|
| 180 |
+
3 ("GPLv3"). It applies to a given file (the "Runtime Library") that
|
| 181 |
+
bears a notice placed by the copyright holder of the file stating that
|
| 182 |
+
the file is governed by GPLv3 along with this Exception.
|
| 183 |
+
|
| 184 |
+
When you use GCC to compile a program, GCC may combine portions of
|
| 185 |
+
certain GCC header files and runtime libraries with the compiled
|
| 186 |
+
program. The purpose of this Exception is to allow compilation of
|
| 187 |
+
non-GPL (including proprietary) programs to use, in this way, the
|
| 188 |
+
header files and runtime libraries covered by this Exception.
|
| 189 |
+
|
| 190 |
+
0. Definitions.
|
| 191 |
+
|
| 192 |
+
A file is an "Independent Module" if it either requires the Runtime
|
| 193 |
+
Library for execution after a Compilation Process, or makes use of an
|
| 194 |
+
interface provided by the Runtime Library, but is not otherwise based
|
| 195 |
+
on the Runtime Library.
|
| 196 |
+
|
| 197 |
+
"GCC" means a version of the GNU Compiler Collection, with or without
|
| 198 |
+
modifications, governed by version 3 (or a specified later version) of
|
| 199 |
+
the GNU General Public License (GPL) with the option of using any
|
| 200 |
+
subsequent versions published by the FSF.
|
| 201 |
+
|
| 202 |
+
"GPL-compatible Software" is software whose conditions of propagation,
|
| 203 |
+
modification and use would permit combination with GCC in accord with
|
| 204 |
+
the license of GCC.
|
| 205 |
+
|
| 206 |
+
"Target Code" refers to output from any compiler for a real or virtual
|
| 207 |
+
target processor architecture, in executable form or suitable for
|
| 208 |
+
input to an assembler, loader, linker and/or execution
|
| 209 |
+
phase. Notwithstanding that, Target Code does not include data in any
|
| 210 |
+
format that is used as a compiler intermediate representation, or used
|
| 211 |
+
for producing a compiler intermediate representation.
|
| 212 |
+
|
| 213 |
+
The "Compilation Process" transforms code entirely represented in
|
| 214 |
+
non-intermediate languages designed for human-written code, and/or in
|
| 215 |
+
Java Virtual Machine byte code, into Target Code. Thus, for example,
|
| 216 |
+
use of source code generators and preprocessors need not be considered
|
| 217 |
+
part of the Compilation Process, since the Compilation Process can be
|
| 218 |
+
understood as starting with the output of the generators or
|
| 219 |
+
preprocessors.
|
| 220 |
+
|
| 221 |
+
A Compilation Process is "Eligible" if it is done using GCC, alone or
|
| 222 |
+
with other GPL-compatible software, or if it is done without using any
|
| 223 |
+
work based on GCC. For example, using non-GPL-compatible Software to
|
| 224 |
+
optimize any GCC intermediate representations would not qualify as an
|
| 225 |
+
Eligible Compilation Process.
|
| 226 |
+
|
| 227 |
+
1. Grant of Additional Permission.
|
| 228 |
+
|
| 229 |
+
You have permission to propagate a work of Target Code formed by
|
| 230 |
+
combining the Runtime Library with Independent Modules, even if such
|
| 231 |
+
propagation would otherwise violate the terms of GPLv3, provided that
|
| 232 |
+
all Target Code was generated by Eligible Compilation Processes. You
|
| 233 |
+
may then convey such a combination under terms of your choice,
|
| 234 |
+
consistent with the licensing of the Independent Modules.
|
| 235 |
+
|
| 236 |
+
2. No Weakening of GCC Copyleft.
|
| 237 |
+
|
| 238 |
+
The availability of this Exception does not imply any general
|
| 239 |
+
presumption that third-party software is unaffected by the copyleft
|
| 240 |
+
requirements of the license of GCC.
|
| 241 |
+
|
| 242 |
+
----
|
| 243 |
+
|
| 244 |
+
GNU GENERAL PUBLIC LICENSE
|
| 245 |
+
Version 3, 29 June 2007
|
| 246 |
+
|
| 247 |
+
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
| 248 |
+
Everyone is permitted to copy and distribute verbatim copies
|
| 249 |
+
of this license document, but changing it is not allowed.
|
| 250 |
+
|
| 251 |
+
Preamble
|
| 252 |
+
|
| 253 |
+
The GNU General Public License is a free, copyleft license for
|
| 254 |
+
software and other kinds of works.
|
| 255 |
+
|
| 256 |
+
The licenses for most software and other practical works are designed
|
| 257 |
+
to take away your freedom to share and change the works. By contrast,
|
| 258 |
+
the GNU General Public License is intended to guarantee your freedom to
|
| 259 |
+
share and change all versions of a program--to make sure it remains free
|
| 260 |
+
software for all its users. We, the Free Software Foundation, use the
|
| 261 |
+
GNU General Public License for most of our software; it applies also to
|
| 262 |
+
any other work released this way by its authors. You can apply it to
|
| 263 |
+
your programs, too.
|
| 264 |
+
|
| 265 |
+
When we speak of free software, we are referring to freedom, not
|
| 266 |
+
price. Our General Public Licenses are designed to make sure that you
|
| 267 |
+
have the freedom to distribute copies of free software (and charge for
|
| 268 |
+
them if you wish), that you receive source code or can get it if you
|
| 269 |
+
want it, that you can change the software or use pieces of it in new
|
| 270 |
+
free programs, and that you know you can do these things.
|
| 271 |
+
|
| 272 |
+
To protect your rights, we need to prevent others from denying you
|
| 273 |
+
these rights or asking you to surrender the rights. Therefore, you have
|
| 274 |
+
certain responsibilities if you distribute copies of the software, or if
|
| 275 |
+
you modify it: responsibilities to respect the freedom of others.
|
| 276 |
+
|
| 277 |
+
For example, if you distribute copies of such a program, whether
|
| 278 |
+
gratis or for a fee, you must pass on to the recipients the same
|
| 279 |
+
freedoms that you received. You must make sure that they, too, receive
|
| 280 |
+
or can get the source code. And you must show them these terms so they
|
| 281 |
+
know their rights.
|
| 282 |
+
|
| 283 |
+
Developers that use the GNU GPL protect your rights with two steps:
|
| 284 |
+
(1) assert copyright on the software, and (2) offer you this License
|
| 285 |
+
giving you legal permission to copy, distribute and/or modify it.
|
| 286 |
+
|
| 287 |
+
For the developers' and authors' protection, the GPL clearly explains
|
| 288 |
+
that there is no warranty for this free software. For both users' and
|
| 289 |
+
authors' sake, the GPL requires that modified versions be marked as
|
| 290 |
+
changed, so that their problems will not be attributed erroneously to
|
| 291 |
+
authors of previous versions.
|
| 292 |
+
|
| 293 |
+
Some devices are designed to deny users access to install or run
|
| 294 |
+
modified versions of the software inside them, although the manufacturer
|
| 295 |
+
can do so. This is fundamentally incompatible with the aim of
|
| 296 |
+
protecting users' freedom to change the software. The systematic
|
| 297 |
+
pattern of such abuse occurs in the area of products for individuals to
|
| 298 |
+
use, which is precisely where it is most unacceptable. Therefore, we
|
| 299 |
+
have designed this version of the GPL to prohibit the practice for those
|
| 300 |
+
products. If such problems arise substantially in other domains, we
|
| 301 |
+
stand ready to extend this provision to those domains in future versions
|
| 302 |
+
of the GPL, as needed to protect the freedom of users.
|
| 303 |
+
|
| 304 |
+
Finally, every program is threatened constantly by software patents.
|
| 305 |
+
States should not allow patents to restrict development and use of
|
| 306 |
+
software on general-purpose computers, but in those that do, we wish to
|
| 307 |
+
avoid the special danger that patents applied to a free program could
|
| 308 |
+
make it effectively proprietary. To prevent this, the GPL assures that
|
| 309 |
+
patents cannot be used to render the program non-free.
|
| 310 |
+
|
| 311 |
+
The precise terms and conditions for copying, distribution and
|
| 312 |
+
modification follow.
|
| 313 |
+
|
| 314 |
+
TERMS AND CONDITIONS
|
| 315 |
+
|
| 316 |
+
0. Definitions.
|
| 317 |
+
|
| 318 |
+
"This License" refers to version 3 of the GNU General Public License.
|
| 319 |
+
|
| 320 |
+
"Copyright" also means copyright-like laws that apply to other kinds of
|
| 321 |
+
works, such as semiconductor masks.
|
| 322 |
+
|
| 323 |
+
"The Program" refers to any copyrightable work licensed under this
|
| 324 |
+
License. Each licensee is addressed as "you". "Licensees" and
|
| 325 |
+
"recipients" may be individuals or organizations.
|
| 326 |
+
|
| 327 |
+
To "modify" a work means to copy from or adapt all or part of the work
|
| 328 |
+
in a fashion requiring copyright permission, other than the making of an
|
| 329 |
+
exact copy. The resulting work is called a "modified version" of the
|
| 330 |
+
earlier work or a work "based on" the earlier work.
|
| 331 |
+
|
| 332 |
+
A "covered work" means either the unmodified Program or a work based
|
| 333 |
+
on the Program.
|
| 334 |
+
|
| 335 |
+
To "propagate" a work means to do anything with it that, without
|
| 336 |
+
permission, would make you directly or secondarily liable for
|
| 337 |
+
infringement under applicable copyright law, except executing it on a
|
| 338 |
+
computer or modifying a private copy. Propagation includes copying,
|
| 339 |
+
distribution (with or without modification), making available to the
|
| 340 |
+
public, and in some countries other activities as well.
|
| 341 |
+
|
| 342 |
+
To "convey" a work means any kind of propagation that enables other
|
| 343 |
+
parties to make or receive copies. Mere interaction with a user through
|
| 344 |
+
a computer network, with no transfer of a copy, is not conveying.
|
| 345 |
+
|
| 346 |
+
An interactive user interface displays "Appropriate Legal Notices"
|
| 347 |
+
to the extent that it includes a convenient and prominently visible
|
| 348 |
+
feature that (1) displays an appropriate copyright notice, and (2)
|
| 349 |
+
tells the user that there is no warranty for the work (except to the
|
| 350 |
+
extent that warranties are provided), that licensees may convey the
|
| 351 |
+
work under this License, and how to view a copy of this License. If
|
| 352 |
+
the interface presents a list of user commands or options, such as a
|
| 353 |
+
menu, a prominent item in the list meets this criterion.
|
| 354 |
+
|
| 355 |
+
1. Source Code.
|
| 356 |
+
|
| 357 |
+
The "source code" for a work means the preferred form of the work
|
| 358 |
+
for making modifications to it. "Object code" means any non-source
|
| 359 |
+
form of a work.
|
| 360 |
+
|
| 361 |
+
A "Standard Interface" means an interface that either is an official
|
| 362 |
+
standard defined by a recognized standards body, or, in the case of
|
| 363 |
+
interfaces specified for a particular programming language, one that
|
| 364 |
+
is widely used among developers working in that language.
|
| 365 |
+
|
| 366 |
+
The "System Libraries" of an executable work include anything, other
|
| 367 |
+
than the work as a whole, that (a) is included in the normal form of
|
| 368 |
+
packaging a Major Component, but which is not part of that Major
|
| 369 |
+
Component, and (b) serves only to enable use of the work with that
|
| 370 |
+
Major Component, or to implement a Standard Interface for which an
|
| 371 |
+
implementation is available to the public in source code form. A
|
| 372 |
+
"Major Component", in this context, means a major essential component
|
| 373 |
+
(kernel, window system, and so on) of the specific operating system
|
| 374 |
+
(if any) on which the executable work runs, or a compiler used to
|
| 375 |
+
produce the work, or an object code interpreter used to run it.
|
| 376 |
+
|
| 377 |
+
The "Corresponding Source" for a work in object code form means all
|
| 378 |
+
the source code needed to generate, install, and (for an executable
|
| 379 |
+
work) run the object code and to modify the work, including scripts to
|
| 380 |
+
control those activities. However, it does not include the work's
|
| 381 |
+
System Libraries, or general-purpose tools or generally available free
|
| 382 |
+
programs which are used unmodified in performing those activities but
|
| 383 |
+
which are not part of the work. For example, Corresponding Source
|
| 384 |
+
includes interface definition files associated with source files for
|
| 385 |
+
the work, and the source code for shared libraries and dynamically
|
| 386 |
+
linked subprograms that the work is specifically designed to require,
|
| 387 |
+
such as by intimate data communication or control flow between those
|
| 388 |
+
subprograms and other parts of the work.
|
| 389 |
+
|
| 390 |
+
The Corresponding Source need not include anything that users
|
| 391 |
+
can regenerate automatically from other parts of the Corresponding
|
| 392 |
+
Source.
|
| 393 |
+
|
| 394 |
+
The Corresponding Source for a work in source code form is that
|
| 395 |
+
same work.
|
| 396 |
+
|
| 397 |
+
2. Basic Permissions.
|
| 398 |
+
|
| 399 |
+
All rights granted under this License are granted for the term of
|
| 400 |
+
copyright on the Program, and are irrevocable provided the stated
|
| 401 |
+
conditions are met. This License explicitly affirms your unlimited
|
| 402 |
+
permission to run the unmodified Program. The output from running a
|
| 403 |
+
covered work is covered by this License only if the output, given its
|
| 404 |
+
content, constitutes a covered work. This License acknowledges your
|
| 405 |
+
rights of fair use or other equivalent, as provided by copyright law.
|
| 406 |
+
|
| 407 |
+
You may make, run and propagate covered works that you do not
|
| 408 |
+
convey, without conditions so long as your license otherwise remains
|
| 409 |
+
in force. You may convey covered works to others for the sole purpose
|
| 410 |
+
of having them make modifications exclusively for you, or provide you
|
| 411 |
+
with facilities for running those works, provided that you comply with
|
| 412 |
+
the terms of this License in conveying all material for which you do
|
| 413 |
+
not control copyright. Those thus making or running the covered works
|
| 414 |
+
for you must do so exclusively on your behalf, under your direction
|
| 415 |
+
and control, on terms that prohibit them from making any copies of
|
| 416 |
+
your copyrighted material outside their relationship with you.
|
| 417 |
+
|
| 418 |
+
Conveying under any other circumstances is permitted solely under
|
| 419 |
+
the conditions stated below. Sublicensing is not allowed; section 10
|
| 420 |
+
makes it unnecessary.
|
| 421 |
+
|
| 422 |
+
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
| 423 |
+
|
| 424 |
+
No covered work shall be deemed part of an effective technological
|
| 425 |
+
measure under any applicable law fulfilling obligations under article
|
| 426 |
+
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
| 427 |
+
similar laws prohibiting or restricting circumvention of such
|
| 428 |
+
measures.
|
| 429 |
+
|
| 430 |
+
When you convey a covered work, you waive any legal power to forbid
|
| 431 |
+
circumvention of technological measures to the extent such circumvention
|
| 432 |
+
is effected by exercising rights under this License with respect to
|
| 433 |
+
the covered work, and you disclaim any intention to limit operation or
|
| 434 |
+
modification of the work as a means of enforcing, against the work's
|
| 435 |
+
users, your or third parties' legal rights to forbid circumvention of
|
| 436 |
+
technological measures.
|
| 437 |
+
|
| 438 |
+
4. Conveying Verbatim Copies.
|
| 439 |
+
|
| 440 |
+
You may convey verbatim copies of the Program's source code as you
|
| 441 |
+
receive it, in any medium, provided that you conspicuously and
|
| 442 |
+
appropriately publish on each copy an appropriate copyright notice;
|
| 443 |
+
keep intact all notices stating that this License and any
|
| 444 |
+
non-permissive terms added in accord with section 7 apply to the code;
|
| 445 |
+
keep intact all notices of the absence of any warranty; and give all
|
| 446 |
+
recipients a copy of this License along with the Program.
|
| 447 |
+
|
| 448 |
+
You may charge any price or no price for each copy that you convey,
|
| 449 |
+
and you may offer support or warranty protection for a fee.
|
| 450 |
+
|
| 451 |
+
5. Conveying Modified Source Versions.
|
| 452 |
+
|
| 453 |
+
You may convey a work based on the Program, or the modifications to
|
| 454 |
+
produce it from the Program, in the form of source code under the
|
| 455 |
+
terms of section 4, provided that you also meet all of these conditions:
|
| 456 |
+
|
| 457 |
+
a) The work must carry prominent notices stating that you modified
|
| 458 |
+
it, and giving a relevant date.
|
| 459 |
+
|
| 460 |
+
b) The work must carry prominent notices stating that it is
|
| 461 |
+
released under this License and any conditions added under section
|
| 462 |
+
7. This requirement modifies the requirement in section 4 to
|
| 463 |
+
"keep intact all notices".
|
| 464 |
+
|
| 465 |
+
c) You must license the entire work, as a whole, under this
|
| 466 |
+
License to anyone who comes into possession of a copy. This
|
| 467 |
+
License will therefore apply, along with any applicable section 7
|
| 468 |
+
additional terms, to the whole of the work, and all its parts,
|
| 469 |
+
regardless of how they are packaged. This License gives no
|
| 470 |
+
permission to license the work in any other way, but it does not
|
| 471 |
+
invalidate such permission if you have separately received it.
|
| 472 |
+
|
| 473 |
+
d) If the work has interactive user interfaces, each must display
|
| 474 |
+
Appropriate Legal Notices; however, if the Program has interactive
|
| 475 |
+
interfaces that do not display Appropriate Legal Notices, your
|
| 476 |
+
work need not make them do so.
|
| 477 |
+
|
| 478 |
+
A compilation of a covered work with other separate and independent
|
| 479 |
+
works, which are not by their nature extensions of the covered work,
|
| 480 |
+
and which are not combined with it such as to form a larger program,
|
| 481 |
+
in or on a volume of a storage or distribution medium, is called an
|
| 482 |
+
"aggregate" if the compilation and its resulting copyright are not
|
| 483 |
+
used to limit the access or legal rights of the compilation's users
|
| 484 |
+
beyond what the individual works permit. Inclusion of a covered work
|
| 485 |
+
in an aggregate does not cause this License to apply to the other
|
| 486 |
+
parts of the aggregate.
|
| 487 |
+
|
| 488 |
+
6. Conveying Non-Source Forms.
|
| 489 |
+
|
| 490 |
+
You may convey a covered work in object code form under the terms
|
| 491 |
+
of sections 4 and 5, provided that you also convey the
|
| 492 |
+
machine-readable Corresponding Source under the terms of this License,
|
| 493 |
+
in one of these ways:
|
| 494 |
+
|
| 495 |
+
a) Convey the object code in, or embodied in, a physical product
|
| 496 |
+
(including a physical distribution medium), accompanied by the
|
| 497 |
+
Corresponding Source fixed on a durable physical medium
|
| 498 |
+
customarily used for software interchange.
|
| 499 |
+
|
| 500 |
+
b) Convey the object code in, or embodied in, a physical product
|
| 501 |
+
(including a physical distribution medium), accompanied by a
|
| 502 |
+
written offer, valid for at least three years and valid for as
|
| 503 |
+
long as you offer spare parts or customer support for that product
|
| 504 |
+
model, to give anyone who possesses the object code either (1) a
|
| 505 |
+
copy of the Corresponding Source for all the software in the
|
| 506 |
+
product that is covered by this License, on a durable physical
|
| 507 |
+
medium customarily used for software interchange, for a price no
|
| 508 |
+
more than your reasonable cost of physically performing this
|
| 509 |
+
conveying of source, or (2) access to copy the
|
| 510 |
+
Corresponding Source from a network server at no charge.
|
| 511 |
+
|
| 512 |
+
c) Convey individual copies of the object code with a copy of the
|
| 513 |
+
written offer to provide the Corresponding Source. This
|
| 514 |
+
alternative is allowed only occasionally and noncommercially, and
|
| 515 |
+
only if you received the object code with such an offer, in accord
|
| 516 |
+
with subsection 6b.
|
| 517 |
+
|
| 518 |
+
d) Convey the object code by offering access from a designated
|
| 519 |
+
place (gratis or for a charge), and offer equivalent access to the
|
| 520 |
+
Corresponding Source in the same way through the same place at no
|
| 521 |
+
further charge. You need not require recipients to copy the
|
| 522 |
+
Corresponding Source along with the object code. If the place to
|
| 523 |
+
copy the object code is a network server, the Corresponding Source
|
| 524 |
+
may be on a different server (operated by you or a third party)
|
| 525 |
+
that supports equivalent copying facilities, provided you maintain
|
| 526 |
+
clear directions next to the object code saying where to find the
|
| 527 |
+
Corresponding Source. Regardless of what server hosts the
|
| 528 |
+
Corresponding Source, you remain obligated to ensure that it is
|
| 529 |
+
available for as long as needed to satisfy these requirements.
|
| 530 |
+
|
| 531 |
+
e) Convey the object code using peer-to-peer transmission, provided
|
| 532 |
+
you inform other peers where the object code and Corresponding
|
| 533 |
+
Source of the work are being offered to the general public at no
|
| 534 |
+
charge under subsection 6d.
|
| 535 |
+
|
| 536 |
+
A separable portion of the object code, whose source code is excluded
|
| 537 |
+
from the Corresponding Source as a System Library, need not be
|
| 538 |
+
included in conveying the object code work.
|
| 539 |
+
|
| 540 |
+
A "User Product" is either (1) a "consumer product", which means any
|
| 541 |
+
tangible personal property which is normally used for personal, family,
|
| 542 |
+
or household purposes, or (2) anything designed or sold for incorporation
|
| 543 |
+
into a dwelling. In determining whether a product is a consumer product,
|
| 544 |
+
doubtful cases shall be resolved in favor of coverage. For a particular
|
| 545 |
+
product received by a particular user, "normally used" refers to a
|
| 546 |
+
typical or common use of that class of product, regardless of the status
|
| 547 |
+
of the particular user or of the way in which the particular user
|
| 548 |
+
actually uses, or expects or is expected to use, the product. A product
|
| 549 |
+
is a consumer product regardless of whether the product has substantial
|
| 550 |
+
commercial, industrial or non-consumer uses, unless such uses represent
|
| 551 |
+
the only significant mode of use of the product.
|
| 552 |
+
|
| 553 |
+
"Installation Information" for a User Product means any methods,
|
| 554 |
+
procedures, authorization keys, or other information required to install
|
| 555 |
+
and execute modified versions of a covered work in that User Product from
|
| 556 |
+
a modified version of its Corresponding Source. The information must
|
| 557 |
+
suffice to ensure that the continued functioning of the modified object
|
| 558 |
+
code is in no case prevented or interfered with solely because
|
| 559 |
+
modification has been made.
|
| 560 |
+
|
| 561 |
+
If you convey an object code work under this section in, or with, or
|
| 562 |
+
specifically for use in, a User Product, and the conveying occurs as
|
| 563 |
+
part of a transaction in which the right of possession and use of the
|
| 564 |
+
User Product is transferred to the recipient in perpetuity or for a
|
| 565 |
+
fixed term (regardless of how the transaction is characterized), the
|
| 566 |
+
Corresponding Source conveyed under this section must be accompanied
|
| 567 |
+
by the Installation Information. But this requirement does not apply
|
| 568 |
+
if neither you nor any third party retains the ability to install
|
| 569 |
+
modified object code on the User Product (for example, the work has
|
| 570 |
+
been installed in ROM).
|
| 571 |
+
|
| 572 |
+
The requirement to provide Installation Information does not include a
|
| 573 |
+
requirement to continue to provide support service, warranty, or updates
|
| 574 |
+
for a work that has been modified or installed by the recipient, or for
|
| 575 |
+
the User Product in which it has been modified or installed. Access to a
|
| 576 |
+
network may be denied when the modification itself materially and
|
| 577 |
+
adversely affects the operation of the network or violates the rules and
|
| 578 |
+
protocols for communication across the network.
|
| 579 |
+
|
| 580 |
+
Corresponding Source conveyed, and Installation Information provided,
|
| 581 |
+
in accord with this section must be in a format that is publicly
|
| 582 |
+
documented (and with an implementation available to the public in
|
| 583 |
+
source code form), and must require no special password or key for
|
| 584 |
+
unpacking, reading or copying.
|
| 585 |
+
|
| 586 |
+
7. Additional Terms.
|
| 587 |
+
|
| 588 |
+
"Additional permissions" are terms that supplement the terms of this
|
| 589 |
+
License by making exceptions from one or more of its conditions.
|
| 590 |
+
Additional permissions that are applicable to the entire Program shall
|
| 591 |
+
be treated as though they were included in this License, to the extent
|
| 592 |
+
that they are valid under applicable law. If additional permissions
|
| 593 |
+
apply only to part of the Program, that part may be used separately
|
| 594 |
+
under those permissions, but the entire Program remains governed by
|
| 595 |
+
this License without regard to the additional permissions.
|
| 596 |
+
|
| 597 |
+
When you convey a copy of a covered work, you may at your option
|
| 598 |
+
remove any additional permissions from that copy, or from any part of
|
| 599 |
+
it. (Additional permissions may be written to require their own
|
| 600 |
+
removal in certain cases when you modify the work.) You may place
|
| 601 |
+
additional permissions on material, added by you to a covered work,
|
| 602 |
+
for which you have or can give appropriate copyright permission.
|
| 603 |
+
|
| 604 |
+
Notwithstanding any other provision of this License, for material you
|
| 605 |
+
add to a covered work, you may (if authorized by the copyright holders of
|
| 606 |
+
that material) supplement the terms of this License with terms:
|
| 607 |
+
|
| 608 |
+
a) Disclaiming warranty or limiting liability differently from the
|
| 609 |
+
terms of sections 15 and 16 of this License; or
|
| 610 |
+
|
| 611 |
+
b) Requiring preservation of specified reasonable legal notices or
|
| 612 |
+
author attributions in that material or in the Appropriate Legal
|
| 613 |
+
Notices displayed by works containing it; or
|
| 614 |
+
|
| 615 |
+
c) Prohibiting misrepresentation of the origin of that material, or
|
| 616 |
+
requiring that modified versions of such material be marked in
|
| 617 |
+
reasonable ways as different from the original version; or
|
| 618 |
+
|
| 619 |
+
d) Limiting the use for publicity purposes of names of licensors or
|
| 620 |
+
authors of the material; or
|
| 621 |
+
|
| 622 |
+
e) Declining to grant rights under trademark law for use of some
|
| 623 |
+
trade names, trademarks, or service marks; or
|
| 624 |
+
|
| 625 |
+
f) Requiring indemnification of licensors and authors of that
|
| 626 |
+
material by anyone who conveys the material (or modified versions of
|
| 627 |
+
it) with contractual assumptions of liability to the recipient, for
|
| 628 |
+
any liability that these contractual assumptions directly impose on
|
| 629 |
+
those licensors and authors.
|
| 630 |
+
|
| 631 |
+
All other non-permissive additional terms are considered "further
|
| 632 |
+
restrictions" within the meaning of section 10. If the Program as you
|
| 633 |
+
received it, or any part of it, contains a notice stating that it is
|
| 634 |
+
governed by this License along with a term that is a further
|
| 635 |
+
restriction, you may remove that term. If a license document contains
|
| 636 |
+
a further restriction but permits relicensing or conveying under this
|
| 637 |
+
License, you may add to a covered work material governed by the terms
|
| 638 |
+
of that license document, provided that the further restriction does
|
| 639 |
+
not survive such relicensing or conveying.
|
| 640 |
+
|
| 641 |
+
If you add terms to a covered work in accord with this section, you
|
| 642 |
+
must place, in the relevant source files, a statement of the
|
| 643 |
+
additional terms that apply to those files, or a notice indicating
|
| 644 |
+
where to find the applicable terms.
|
| 645 |
+
|
| 646 |
+
Additional terms, permissive or non-permissive, may be stated in the
|
| 647 |
+
form of a separately written license, or stated as exceptions;
|
| 648 |
+
the above requirements apply either way.
|
| 649 |
+
|
| 650 |
+
8. Termination.
|
| 651 |
+
|
| 652 |
+
You may not propagate or modify a covered work except as expressly
|
| 653 |
+
provided under this License. Any attempt otherwise to propagate or
|
| 654 |
+
modify it is void, and will automatically terminate your rights under
|
| 655 |
+
this License (including any patent licenses granted under the third
|
| 656 |
+
paragraph of section 11).
|
| 657 |
+
|
| 658 |
+
However, if you cease all violation of this License, then your
|
| 659 |
+
license from a particular copyright holder is reinstated (a)
|
| 660 |
+
provisionally, unless and until the copyright holder explicitly and
|
| 661 |
+
finally terminates your license, and (b) permanently, if the copyright
|
| 662 |
+
holder fails to notify you of the violation by some reasonable means
|
| 663 |
+
prior to 60 days after the cessation.
|
| 664 |
+
|
| 665 |
+
Moreover, your license from a particular copyright holder is
|
| 666 |
+
reinstated permanently if the copyright holder notifies you of the
|
| 667 |
+
violation by some reasonable means, this is the first time you have
|
| 668 |
+
received notice of violation of this License (for any work) from that
|
| 669 |
+
copyright holder, and you cure the violation prior to 30 days after
|
| 670 |
+
your receipt of the notice.
|
| 671 |
+
|
| 672 |
+
Termination of your rights under this section does not terminate the
|
| 673 |
+
licenses of parties who have received copies or rights from you under
|
| 674 |
+
this License. If your rights have been terminated and not permanently
|
| 675 |
+
reinstated, you do not qualify to receive new licenses for the same
|
| 676 |
+
material under section 10.
|
| 677 |
+
|
| 678 |
+
9. Acceptance Not Required for Having Copies.
|
| 679 |
+
|
| 680 |
+
You are not required to accept this License in order to receive or
|
| 681 |
+
run a copy of the Program. Ancillary propagation of a covered work
|
| 682 |
+
occurring solely as a consequence of using peer-to-peer transmission
|
| 683 |
+
to receive a copy likewise does not require acceptance. However,
|
| 684 |
+
nothing other than this License grants you permission to propagate or
|
| 685 |
+
modify any covered work. These actions infringe copyright if you do
|
| 686 |
+
not accept this License. Therefore, by modifying or propagating a
|
| 687 |
+
covered work, you indicate your acceptance of this License to do so.
|
| 688 |
+
|
| 689 |
+
10. Automatic Licensing of Downstream Recipients.
|
| 690 |
+
|
| 691 |
+
Each time you convey a covered work, the recipient automatically
|
| 692 |
+
receives a license from the original licensors, to run, modify and
|
| 693 |
+
propagate that work, subject to this License. You are not responsible
|
| 694 |
+
for enforcing compliance by third parties with this License.
|
| 695 |
+
|
| 696 |
+
An "entity transaction" is a transaction transferring control of an
|
| 697 |
+
organization, or substantially all assets of one, or subdividing an
|
| 698 |
+
organization, or merging organizations. If propagation of a covered
|
| 699 |
+
work results from an entity transaction, each party to that
|
| 700 |
+
transaction who receives a copy of the work also receives whatever
|
| 701 |
+
licenses to the work the party's predecessor in interest had or could
|
| 702 |
+
give under the previous paragraph, plus a right to possession of the
|
| 703 |
+
Corresponding Source of the work from the predecessor in interest, if
|
| 704 |
+
the predecessor has it or can get it with reasonable efforts.
|
| 705 |
+
|
| 706 |
+
You may not impose any further restrictions on the exercise of the
|
| 707 |
+
rights granted or affirmed under this License. For example, you may
|
| 708 |
+
not impose a license fee, royalty, or other charge for exercise of
|
| 709 |
+
rights granted under this License, and you may not initiate litigation
|
| 710 |
+
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
| 711 |
+
any patent claim is infringed by making, using, selling, offering for
|
| 712 |
+
sale, or importing the Program or any portion of it.
|
| 713 |
+
|
| 714 |
+
11. Patents.
|
| 715 |
+
|
| 716 |
+
A "contributor" is a copyright holder who authorizes use under this
|
| 717 |
+
License of the Program or a work on which the Program is based. The
|
| 718 |
+
work thus licensed is called the contributor's "contributor version".
|
| 719 |
+
|
| 720 |
+
A contributor's "essential patent claims" are all patent claims
|
| 721 |
+
owned or controlled by the contributor, whether already acquired or
|
| 722 |
+
hereafter acquired, that would be infringed by some manner, permitted
|
| 723 |
+
by this License, of making, using, or selling its contributor version,
|
| 724 |
+
but do not include claims that would be infringed only as a
|
| 725 |
+
consequence of further modification of the contributor version. For
|
| 726 |
+
purposes of this definition, "control" includes the right to grant
|
| 727 |
+
patent sublicenses in a manner consistent with the requirements of
|
| 728 |
+
this License.
|
| 729 |
+
|
| 730 |
+
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
| 731 |
+
patent license under the contributor's essential patent claims, to
|
| 732 |
+
make, use, sell, offer for sale, import and otherwise run, modify and
|
| 733 |
+
propagate the contents of its contributor version.
|
| 734 |
+
|
| 735 |
+
In the following three paragraphs, a "patent license" is any express
|
| 736 |
+
agreement or commitment, however denominated, not to enforce a patent
|
| 737 |
+
(such as an express permission to practice a patent or covenant not to
|
| 738 |
+
sue for patent infringement). To "grant" such a patent license to a
|
| 739 |
+
party means to make such an agreement or commitment not to enforce a
|
| 740 |
+
patent against the party.
|
| 741 |
+
|
| 742 |
+
If you convey a covered work, knowingly relying on a patent license,
|
| 743 |
+
and the Corresponding Source of the work is not available for anyone
|
| 744 |
+
to copy, free of charge and under the terms of this License, through a
|
| 745 |
+
publicly available network server or other readily accessible means,
|
| 746 |
+
then you must either (1) cause the Corresponding Source to be so
|
| 747 |
+
available, or (2) arrange to deprive yourself of the benefit of the
|
| 748 |
+
patent license for this particular work, or (3) arrange, in a manner
|
| 749 |
+
consistent with the requirements of this License, to extend the patent
|
| 750 |
+
license to downstream recipients. "Knowingly relying" means you have
|
| 751 |
+
actual knowledge that, but for the patent license, your conveying the
|
| 752 |
+
covered work in a country, or your recipient's use of the covered work
|
| 753 |
+
in a country, would infringe one or more identifiable patents in that
|
| 754 |
+
country that you have reason to believe are valid.
|
| 755 |
+
|
| 756 |
+
If, pursuant to or in connection with a single transaction or
|
| 757 |
+
arrangement, you convey, or propagate by procuring conveyance of, a
|
| 758 |
+
covered work, and grant a patent license to some of the parties
|
| 759 |
+
receiving the covered work authorizing them to use, propagate, modify
|
| 760 |
+
or convey a specific copy of the covered work, then the patent license
|
| 761 |
+
you grant is automatically extended to all recipients of the covered
|
| 762 |
+
work and works based on it.
|
| 763 |
+
|
| 764 |
+
A patent license is "discriminatory" if it does not include within
|
| 765 |
+
the scope of its coverage, prohibits the exercise of, or is
|
| 766 |
+
conditioned on the non-exercise of one or more of the rights that are
|
| 767 |
+
specifically granted under this License. You may not convey a covered
|
| 768 |
+
work if you are a party to an arrangement with a third party that is
|
| 769 |
+
in the business of distributing software, under which you make payment
|
| 770 |
+
to the third party based on the extent of your activity of conveying
|
| 771 |
+
the work, and under which the third party grants, to any of the
|
| 772 |
+
parties who would receive the covered work from you, a discriminatory
|
| 773 |
+
patent license (a) in connection with copies of the covered work
|
| 774 |
+
conveyed by you (or copies made from those copies), or (b) primarily
|
| 775 |
+
for and in connection with specific products or compilations that
|
| 776 |
+
contain the covered work, unless you entered into that arrangement,
|
| 777 |
+
or that patent license was granted, prior to 28 March 2007.
|
| 778 |
+
|
| 779 |
+
Nothing in this License shall be construed as excluding or limiting
|
| 780 |
+
any implied license or other defenses to infringement that may
|
| 781 |
+
otherwise be available to you under applicable patent law.
|
| 782 |
+
|
| 783 |
+
12. No Surrender of Others' Freedom.
|
| 784 |
+
|
| 785 |
+
If conditions are imposed on you (whether by court order, agreement or
|
| 786 |
+
otherwise) that contradict the conditions of this License, they do not
|
| 787 |
+
excuse you from the conditions of this License. If you cannot convey a
|
| 788 |
+
covered work so as to satisfy simultaneously your obligations under this
|
| 789 |
+
License and any other pertinent obligations, then as a consequence you may
|
| 790 |
+
not convey it at all. For example, if you agree to terms that obligate you
|
| 791 |
+
to collect a royalty for further conveying from those to whom you convey
|
| 792 |
+
the Program, the only way you could satisfy both those terms and this
|
| 793 |
+
License would be to refrain entirely from conveying the Program.
|
| 794 |
+
|
| 795 |
+
13. Use with the GNU Affero General Public License.
|
| 796 |
+
|
| 797 |
+
Notwithstanding any other provision of this License, you have
|
| 798 |
+
permission to link or combine any covered work with a work licensed
|
| 799 |
+
under version 3 of the GNU Affero General Public License into a single
|
| 800 |
+
combined work, and to convey the resulting work. The terms of this
|
| 801 |
+
License will continue to apply to the part which is the covered work,
|
| 802 |
+
but the special requirements of the GNU Affero General Public License,
|
| 803 |
+
section 13, concerning interaction through a network will apply to the
|
| 804 |
+
combination as such.
|
| 805 |
+
|
| 806 |
+
14. Revised Versions of this License.
|
| 807 |
+
|
| 808 |
+
The Free Software Foundation may publish revised and/or new versions of
|
| 809 |
+
the GNU General Public License from time to time. Such new versions will
|
| 810 |
+
be similar in spirit to the present version, but may differ in detail to
|
| 811 |
+
address new problems or concerns.
|
| 812 |
+
|
| 813 |
+
Each version is given a distinguishing version number. If the
|
| 814 |
+
Program specifies that a certain numbered version of the GNU General
|
| 815 |
+
Public License "or any later version" applies to it, you have the
|
| 816 |
+
option of following the terms and conditions either of that numbered
|
| 817 |
+
version or of any later version published by the Free Software
|
| 818 |
+
Foundation. If the Program does not specify a version number of the
|
| 819 |
+
GNU General Public License, you may choose any version ever published
|
| 820 |
+
by the Free Software Foundation.
|
| 821 |
+
|
| 822 |
+
If the Program specifies that a proxy can decide which future
|
| 823 |
+
versions of the GNU General Public License can be used, that proxy's
|
| 824 |
+
public statement of acceptance of a version permanently authorizes you
|
| 825 |
+
to choose that version for the Program.
|
| 826 |
+
|
| 827 |
+
Later license versions may give you additional or different
|
| 828 |
+
permissions. However, no additional obligations are imposed on any
|
| 829 |
+
author or copyright holder as a result of your choosing to follow a
|
| 830 |
+
later version.
|
| 831 |
+
|
| 832 |
+
15. Disclaimer of Warranty.
|
| 833 |
+
|
| 834 |
+
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
| 835 |
+
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
| 836 |
+
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
| 837 |
+
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
| 838 |
+
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
| 839 |
+
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
| 840 |
+
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
| 841 |
+
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
| 842 |
+
|
| 843 |
+
16. Limitation of Liability.
|
| 844 |
+
|
| 845 |
+
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
| 846 |
+
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
| 847 |
+
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
| 848 |
+
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
| 849 |
+
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
| 850 |
+
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
| 851 |
+
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
| 852 |
+
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
| 853 |
+
SUCH DAMAGES.
|
| 854 |
+
|
| 855 |
+
17. Interpretation of Sections 15 and 16.
|
| 856 |
+
|
| 857 |
+
If the disclaimer of warranty and limitation of liability provided
|
| 858 |
+
above cannot be given local legal effect according to their terms,
|
| 859 |
+
reviewing courts shall apply local law that most closely approximates
|
| 860 |
+
an absolute waiver of all civil liability in connection with the
|
| 861 |
+
Program, unless a warranty or assumption of liability accompanies a
|
| 862 |
+
copy of the Program in return for a fee.
|
| 863 |
+
|
| 864 |
+
END OF TERMS AND CONDITIONS
|
| 865 |
+
|
| 866 |
+
How to Apply These Terms to Your New Programs
|
| 867 |
+
|
| 868 |
+
If you develop a new program, and you want it to be of the greatest
|
| 869 |
+
possible use to the public, the best way to achieve this is to make it
|
| 870 |
+
free software which everyone can redistribute and change under these terms.
|
| 871 |
+
|
| 872 |
+
To do so, attach the following notices to the program. It is safest
|
| 873 |
+
to attach them to the start of each source file to most effectively
|
| 874 |
+
state the exclusion of warranty; and each file should have at least
|
| 875 |
+
the "copyright" line and a pointer to where the full notice is found.
|
| 876 |
+
|
| 877 |
+
<one line to give the program's name and a brief idea of what it does.>
|
| 878 |
+
Copyright (C) <year> <name of author>
|
| 879 |
+
|
| 880 |
+
This program is free software: you can redistribute it and/or modify
|
| 881 |
+
it under the terms of the GNU General Public License as published by
|
| 882 |
+
the Free Software Foundation, either version 3 of the License, or
|
| 883 |
+
(at your option) any later version.
|
| 884 |
+
|
| 885 |
+
This program is distributed in the hope that it will be useful,
|
| 886 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 887 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 888 |
+
GNU General Public License for more details.
|
| 889 |
+
|
| 890 |
+
You should have received a copy of the GNU General Public License
|
| 891 |
+
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
| 892 |
+
|
| 893 |
+
Also add information on how to contact you by electronic and paper mail.
|
| 894 |
+
|
| 895 |
+
If the program does terminal interaction, make it output a short
|
| 896 |
+
notice like this when it starts in an interactive mode:
|
| 897 |
+
|
| 898 |
+
<program> Copyright (C) <year> <name of author>
|
| 899 |
+
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
| 900 |
+
This is free software, and you are welcome to redistribute it
|
| 901 |
+
under certain conditions; type `show c' for details.
|
| 902 |
+
|
| 903 |
+
The hypothetical commands `show w' and `show c' should show the appropriate
|
| 904 |
+
parts of the General Public License. Of course, your program's commands
|
| 905 |
+
might be different; for a GUI interface, you would use an "about box".
|
| 906 |
+
|
| 907 |
+
You should also get your employer (if you work as a programmer) or school,
|
| 908 |
+
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
| 909 |
+
For more information on this, and how to apply and follow the GNU GPL, see
|
| 910 |
+
<http://www.gnu.org/licenses/>.
|
| 911 |
+
|
| 912 |
+
The GNU General Public License does not permit incorporating your program
|
| 913 |
+
into proprietary programs. If your program is a subroutine library, you
|
| 914 |
+
may consider it more useful to permit linking proprietary applications with
|
| 915 |
+
the library. If this is what you want to do, use the GNU Lesser General
|
| 916 |
+
Public License instead of this License. But first, please read
|
| 917 |
+
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
| 918 |
+
Classifier: Development Status :: 5 - Production/Stable
|
| 919 |
+
Classifier: Intended Audience :: Science/Research
|
| 920 |
+
Classifier: Intended Audience :: Developers
|
| 921 |
+
Classifier: License :: OSI Approved :: BSD License
|
| 922 |
+
Classifier: Programming Language :: C
|
| 923 |
+
Classifier: Programming Language :: Python
|
| 924 |
+
Classifier: Programming Language :: Python :: 3
|
| 925 |
+
Classifier: Programming Language :: Python :: 3.9
|
| 926 |
+
Classifier: Programming Language :: Python :: 3.10
|
| 927 |
+
Classifier: Programming Language :: Python :: 3.11
|
| 928 |
+
Classifier: Programming Language :: Python :: 3.12
|
| 929 |
+
Classifier: Programming Language :: Python :: 3 :: Only
|
| 930 |
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
| 931 |
+
Classifier: Topic :: Software Development
|
| 932 |
+
Classifier: Topic :: Scientific/Engineering
|
| 933 |
+
Classifier: Typing :: Typed
|
| 934 |
+
Classifier: Operating System :: Microsoft :: Windows
|
| 935 |
+
Classifier: Operating System :: POSIX
|
| 936 |
+
Classifier: Operating System :: Unix
|
| 937 |
+
Classifier: Operating System :: MacOS
|
| 938 |
+
Project-URL: Homepage, https://numpy.org
|
| 939 |
+
Project-URL: Documentation, https://numpy.org/doc/
|
| 940 |
+
Project-URL: Source, https://github.com/numpy/numpy
|
| 941 |
+
Project-URL: Download, https://pypi.org/project/numpy/#files
|
| 942 |
+
Project-URL: Tracker, https://github.com/numpy/numpy/issues
|
| 943 |
+
Requires-Python: <3.13,>=3.9
|
| 944 |
+
Description-Content-Type: text/markdown
|
| 945 |
+
|
| 946 |
+
<h1 align="center">
|
| 947 |
+
<img src="https://raw.githubusercontent.com/numpy/numpy/main/branding/logo/primary/numpylogo.svg" width="300">
|
| 948 |
+
</h1><br>
|
| 949 |
+
|
| 950 |
+
|
| 951 |
+
[](
|
| 952 |
+
https://numfocus.org)
|
| 953 |
+
[](
|
| 954 |
+
https://pypi.org/project/numpy/)
|
| 955 |
+
[](
|
| 956 |
+
https://anaconda.org/conda-forge/numpy)
|
| 957 |
+
[](
|
| 958 |
+
https://stackoverflow.com/questions/tagged/numpy)
|
| 959 |
+
[](
|
| 960 |
+
https://doi.org/10.1038/s41586-020-2649-2)
|
| 961 |
+
[](https://api.securityscorecards.dev/projects/github.com/numpy/numpy)
|
| 962 |
+
|
| 963 |
+
|
| 964 |
+
NumPy is the fundamental package for scientific computing with Python.
|
| 965 |
+
|
| 966 |
+
- **Website:** https://www.numpy.org
|
| 967 |
+
- **Documentation:** https://numpy.org/doc
|
| 968 |
+
- **Mailing list:** https://mail.python.org/mailman/listinfo/numpy-discussion
|
| 969 |
+
- **Source code:** https://github.com/numpy/numpy
|
| 970 |
+
- **Contributing:** https://www.numpy.org/devdocs/dev/index.html
|
| 971 |
+
- **Bug reports:** https://github.com/numpy/numpy/issues
|
| 972 |
+
- **Report a security vulnerability:** https://tidelift.com/docs/security
|
| 973 |
+
|
| 974 |
+
It provides:
|
| 975 |
+
|
| 976 |
+
- a powerful N-dimensional array object
|
| 977 |
+
- sophisticated (broadcasting) functions
|
| 978 |
+
- tools for integrating C/C++ and Fortran code
|
| 979 |
+
- useful linear algebra, Fourier transform, and random number capabilities
|
| 980 |
+
|
| 981 |
+
Testing:
|
| 982 |
+
|
| 983 |
+
NumPy requires `pytest` and `hypothesis`. Tests can then be run after installation with:
|
| 984 |
+
|
| 985 |
+
python -c "import numpy, sys; sys.exit(numpy.test() is False)"
|
| 986 |
+
|
| 987 |
+
Code of Conduct
|
| 988 |
+
----------------------
|
| 989 |
+
|
| 990 |
+
NumPy is a community-driven open source project developed by a diverse group of
|
| 991 |
+
[contributors](https://numpy.org/teams/). The NumPy leadership has made a strong
|
| 992 |
+
commitment to creating an open, inclusive, and positive community. Please read the
|
| 993 |
+
[NumPy Code of Conduct](https://numpy.org/code-of-conduct/) for guidance on how to interact
|
| 994 |
+
with others in a way that makes our community thrive.
|
| 995 |
+
|
| 996 |
+
Call for Contributions
|
| 997 |
+
----------------------
|
| 998 |
+
|
| 999 |
+
The NumPy project welcomes your expertise and enthusiasm!
|
| 1000 |
+
|
| 1001 |
+
Small improvements or fixes are always appreciated. If you are considering larger contributions
|
| 1002 |
+
to the source code, please contact us through the [mailing
|
| 1003 |
+
list](https://mail.python.org/mailman/listinfo/numpy-discussion) first.
|
| 1004 |
+
|
| 1005 |
+
Writing code isn’t the only way to contribute to NumPy. You can also:
|
| 1006 |
+
- review pull requests
|
| 1007 |
+
- help us stay on top of new and old issues
|
| 1008 |
+
- develop tutorials, presentations, and other educational materials
|
| 1009 |
+
- maintain and improve [our website](https://github.com/numpy/numpy.org)
|
| 1010 |
+
- develop graphic design for our brand assets and promotional materials
|
| 1011 |
+
- translate website content
|
| 1012 |
+
- help with outreach and onboard new contributors
|
| 1013 |
+
- write grant proposals and help with other fundraising efforts
|
| 1014 |
+
|
| 1015 |
+
For more information about the ways you can contribute to NumPy, visit [our website](https://numpy.org/contribute/).
|
| 1016 |
+
If you’re unsure where to start or how your skills fit in, reach out! You can
|
| 1017 |
+
ask on the mailing list or here, on GitHub, by opening a new issue or leaving a
|
| 1018 |
+
comment on a relevant issue that is already open.
|
| 1019 |
+
|
| 1020 |
+
Our preferred channels of communication are all public, but if you’d like to
|
| 1021 |
+
speak to us in private first, contact our community coordinators at
|
| 1022 |
+
numpy-team@googlegroups.com or on Slack (write numpy-team@googlegroups.com for
|
| 1023 |
+
an invitation).
|
| 1024 |
+
|
| 1025 |
+
We also have a biweekly community call, details of which are announced on the
|
| 1026 |
+
mailing list. You are very welcome to join.
|
| 1027 |
+
|
| 1028 |
+
If you are new to contributing to open source, [this
|
| 1029 |
+
guide](https://opensource.guide/how-to-contribute/) helps explain why, what,
|
| 1030 |
+
and how to successfully get involved.
|
common/runtime/robodojo_support/numpy-1.26.0.dist-info/RECORD
ADDED
|
@@ -0,0 +1,893 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
+
numpy-1.26.0.dist-info/RECORD,,
|
| 6 |
+
numpy-1.26.0.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 7 |
+
numpy-1.26.0.dist-info/WHEEL,sha256=6uXuBuTHKYVHX38njLnDjCYRk1Z5gwaXJtzFqt6LRKw,137
|
| 8 |
+
numpy-1.26.0.dist-info/direct_url.json,sha256=RoKO0l_rv7OCKAoSm5wNx5RbkQpHq0Xnf5SJetRY-Uc,376
|
| 9 |
+
numpy-1.26.0.dist-info/entry_points.txt,sha256=zddyYJuUw9Uud7LeLfynXk62_ry0lGihDwCIgugBdZM,144
|
| 10 |
+
numpy.libs/libgfortran-040039e1.so.5.0.0,sha256=FK-zEpsai1C8QKOwggx_EVLqm8EBIaqxUpQ_cFdHKIY,2686065
|
| 11 |
+
numpy.libs/libopenblas64_p-r0-0cf96a72.3.23.dev.so,sha256=klTQhU3XYV4R3ijXca5AiHjKgSOnrCBPIeTMejdswuU,35123345
|
| 12 |
+
numpy.libs/libquadmath-96973f99.so.0.0.0,sha256=k0wi3tDn0WnE1GeIdslgUa3z2UVF2pYvYLQWWbB12js,247609
|
| 13 |
+
numpy/__config__.py,sha256=84GfaudBS4QTEhORAhF83Mc5z_5p-Jv9bNpQmc-dGU4,4775
|
| 14 |
+
numpy/__init__.cython-30.pxd,sha256=J-MgkiaacdhG9Raxxr1YMltN0vk4N0fHHLuTBgMMZlg,36674
|
| 15 |
+
numpy/__init__.pxd,sha256=oIzJihkScls0oyPYF_IUw5Ez8O4VPTZBkjzehCdW-XQ,35043
|
| 16 |
+
numpy/__init__.py,sha256=EalFXrQpfkU1Flf1pg8ZjCGDHHo5X4xZpzYfsu33heU,16754
|
| 17 |
+
numpy/__init__.pyi,sha256=9kK465XL9oS_X3fJLv0Na29NEYnWvtdMhXPtrnF_cG8,154080
|
| 18 |
+
numpy/_distributor_init.py,sha256=IgPkSK3H9bgjFeUfWuXhjKrgetQl5ztUW-rTyjGHK3c,331
|
| 19 |
+
numpy/_globals.py,sha256=neEdcfLZoHLwber_1Xyrn26LcXy0MrSta03Ze7aKa6g,3094
|
| 20 |
+
numpy/_pyinstaller/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 21 |
+
numpy/_pyinstaller/hook-numpy.py,sha256=PUQ-mNWje6bFALB-mLVFRPkvbM4JpLXunB6sjBbTy5g,1409
|
| 22 |
+
numpy/_pyinstaller/pyinstaller-smoke.py,sha256=6iL-eHMQaG3rxnS5EgcvrCqElm9aKL07Cjr1FZJSXls,1143
|
| 23 |
+
numpy/_pyinstaller/test_pyinstaller.py,sha256=8K-7QxmfoXCG0NwR0bhIgCNrDjGlrTzWnrR1sR8btgU,1135
|
| 24 |
+
numpy/_pytesttester.py,sha256=lQUTvKVz6kT8b4yiMV-uW-vG9KSv9UzqAmxaEMezTd8,6731
|
| 25 |
+
numpy/_pytesttester.pyi,sha256=OtyXSiuSy8o_78w3QNQRjMLpvvNyEdC0aMsx6T-vRxU,489
|
| 26 |
+
numpy/_typing/__init__.py,sha256=6w9E9V9VaT7vTM-veua8XcySv50Je5qSPJzK9HTocIg,7003
|
| 27 |
+
numpy/_typing/_add_docstring.py,sha256=xQhQX372aN_m3XN95CneMxOST2FdPcovR-MXM-9ep58,3922
|
| 28 |
+
numpy/_typing/_array_like.py,sha256=L4gnx2KWG8yYcouz5b9boJIkkFNtOJV6QjcnGCrbnRY,4298
|
| 29 |
+
numpy/_typing/_callable.pyi,sha256=Mf57BwohRn9ye6ixJqjNEnK0gKqnVPE9Gy8vK-6_zxo,11121
|
| 30 |
+
numpy/_typing/_char_codes.py,sha256=LR51O5AUBDbCmJvlMoxyUvsfvb1p7WHrexgtTGtuWTc,5916
|
| 31 |
+
numpy/_typing/_dtype_like.py,sha256=21Uxy0UgIawGM82xjDF_ifMq-nP-Bkhn_LpiK_HvWC4,5661
|
| 32 |
+
numpy/_typing/_extended_precision.py,sha256=dGios-1k-QBGew7YFzONZTzVWxz-aYAaqlccl2_h5Bo,777
|
| 33 |
+
numpy/_typing/_nbit.py,sha256=-EQOShHpB3r30b4RVEcruQRTcTaFAZwtqCJ4BsvpEzA,345
|
| 34 |
+
numpy/_typing/_nested_sequence.py,sha256=5eNaVZAV9tZQLFWHYOuVs336JjoiaWxyZQ7cMKb6m1I,2566
|
| 35 |
+
numpy/_typing/_scalars.py,sha256=eVP8PjlcTIlY7v0fRI3tFXPogWtpLJZ8nFvRRrLjDqs,980
|
| 36 |
+
numpy/_typing/_shape.py,sha256=JPy7jJMkISGFTnkgiEifYM-4xTcjb7JMRkLIIjZLw08,211
|
| 37 |
+
numpy/_typing/_ufunc.pyi,sha256=e74LtOP9e8kkRhvrIJ_RXz9Ua_L43Pd9IixwNwermnM,12638
|
| 38 |
+
numpy/_typing/setup.py,sha256=SE0Q6HPqDjWUfceA4yXgkII8y3z7EiSF0Z-MNwOIyG4,337
|
| 39 |
+
numpy/_utils/__init__.py,sha256=Hhetwsi3eTBe8HdWbG51zXmcrX1DiPLxkYSrslMLYcc,723
|
| 40 |
+
numpy/_utils/_convertions.py,sha256=0xMxdeLOziDmHsRM_8luEh4S-kQdMoMg6GxNDDas69k,329
|
| 41 |
+
numpy/_utils/_inspect.py,sha256=8Ma7QBRwfSWKeK1ShJpFNc7CDhE6fkIE_wr1FxrG1A8,7447
|
| 42 |
+
numpy/_utils/_pep440.py,sha256=Vr7B3QsijR5p6h8YAz2LjNGUyzHUJ5gZ4v26NpZAKDc,14069
|
| 43 |
+
numpy/array_api/__init__.py,sha256=98LJFXrRDAwkSjavC6DTqvtksX3zboHdq7h4x5JjiYU,10355
|
| 44 |
+
numpy/array_api/_array_object.py,sha256=7u7HfkdCviDoqMDr-Su7aszEh9cpKQQu51LT6c7baBU,43739
|
| 45 |
+
numpy/array_api/_constants.py,sha256=Z6bImx0puhVuCwc5dPXvZ6TZt46exiuuX1TubSyQ62E,66
|
| 46 |
+
numpy/array_api/_creation_functions.py,sha256=6SqHdzZqHOJFEyWFtqnj6KIKRivrGXxROlgnez_3Mt0,10050
|
| 47 |
+
numpy/array_api/_data_type_functions.py,sha256=P57FOsNdXahNUriVtdldonbvBQrrZkVzxZbcqkR_8AA,6288
|
| 48 |
+
numpy/array_api/_dtypes.py,sha256=kDU1NLvEQN-W2HPmJ2wGPx8jiNkFbrvTCD1T1RT8Pwo,4823
|
| 49 |
+
numpy/array_api/_elementwise_functions.py,sha256=0kGuDX3Ur_Qp6tBMBWTO7LPUxzXNGAlA2SSJhdAp4DU,25992
|
| 50 |
+
numpy/array_api/_indexing_functions.py,sha256=d-gzqzyvR45FQerRYJrbBzCWFnDsZWSI9pggA5QWRO4,715
|
| 51 |
+
numpy/array_api/_manipulation_functions.py,sha256=qCoW5B5FXcFOWKPU9D9MXHdMeXIuzvnHUUvprNlwfjc,3317
|
| 52 |
+
numpy/array_api/_searching_functions.py,sha256=mGZiqheYXGWiDK9rqXFiDKX0_B0mJ1OjdA-9FC2o5lA,1715
|
| 53 |
+
numpy/array_api/_set_functions.py,sha256=ULpfK1zznW9joX1DXSiP0R3ahcDB_po7mZlpsRqi7Fs,2948
|
| 54 |
+
numpy/array_api/_sorting_functions.py,sha256=7pszlxNN7-DNqEZlonGLFQrlXPP7evVA8jN31NShg00,2031
|
| 55 |
+
numpy/array_api/_statistical_functions.py,sha256=HspfYteZWSa3InMs10KZz-sk3ZuW6teX6fNdo829T84,3584
|
| 56 |
+
numpy/array_api/_typing.py,sha256=uKidRp6nYxgHnEPaqXXZsDDZ6tw1LshpbwLvy-09eeM,1347
|
| 57 |
+
numpy/array_api/_utility_functions.py,sha256=HwycylbPAgRVz4nZvjvwqN3mQnJbqKA-NRMaAvIP-CE,824
|
| 58 |
+
numpy/array_api/linalg.py,sha256=rOKR6I34BN09XNs8yws55SvIpL5RnivcLlRSAhHOkuo,18221
|
| 59 |
+
numpy/array_api/setup.py,sha256=Wx6qD7GU_APiqKolYPO0OHv4eHGYrjPZmDAgjWhOEhM,341
|
| 60 |
+
numpy/array_api/tests/__init__.py,sha256=t_2GZ3lKcsu4ec4GMKPUDYaeMUJyDquBlQAcPgj7kFE,282
|
| 61 |
+
numpy/array_api/tests/test_array_object.py,sha256=FQoAxP4CLDiv6iih8KKUDSLuYM6dtnDcB1f0pMHw4-M,17035
|
| 62 |
+
numpy/array_api/tests/test_creation_functions.py,sha256=s3A1COWmXIAJdhzd8v7VtL-jbiSspskTqwYy0BTpmpw,5023
|
| 63 |
+
numpy/array_api/tests/test_data_type_functions.py,sha256=qc8ktRlVXWC3PKhxPVWI_UF9f1zZtpmzHjdCtf3e16E,1018
|
| 64 |
+
numpy/array_api/tests/test_elementwise_functions.py,sha256=CTj4LLwtusI51HkpzD0JPohP1ffNxogAVFz8WLuWFzM,3800
|
| 65 |
+
numpy/array_api/tests/test_indexing_functions.py,sha256=AbuBGyEufEAf24b7fy8JQhdJtGPdP9XEIxPTJAfAFFo,627
|
| 66 |
+
numpy/array_api/tests/test_manipulation_functions.py,sha256=wce25dSJjubrGhFxmiatzR_IpmNYp9ICJ9PZBBnZTOQ,1087
|
| 67 |
+
numpy/array_api/tests/test_set_functions.py,sha256=D016G7v3ko49bND5sVERP8IqQXZiwr-2yrKbBPJ-oqg,546
|
| 68 |
+
numpy/array_api/tests/test_sorting_functions.py,sha256=INPiYnuGBcsmWtYqdTTX3ENHmM4iUx4zs9KdwDaSmdA,602
|
| 69 |
+
numpy/array_api/tests/test_validation.py,sha256=QUG9yWC3QhkPxNhbQeakwBbl-0Rr0iTuZ41_0sfVIGU,676
|
| 70 |
+
numpy/compat/__init__.py,sha256=iAHrmsZWzouOMSyD9bdSE0APWMlRpqW92MQgF8y6x3E,448
|
| 71 |
+
numpy/compat/py3k.py,sha256=Je74CVk_7qI_qX7pLbYcuQJsxlMq1poGIfRIrH99kZQ,3833
|
| 72 |
+
numpy/compat/setup.py,sha256=36X1kF0C_NVROXfJ7w3SQeBm5AIDBuJbM5qT7cvSDgU,335
|
| 73 |
+
numpy/compat/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 74 |
+
numpy/compat/tests/test_compat.py,sha256=YqV67pSN8nXPbXaEdjhmyaoVetNyFupVv57OMEgCwKA,579
|
| 75 |
+
numpy/conftest.py,sha256=HZyWo_wJyrbgnyXxI8t05WOg_IrzNAMnEV7O8koHous,4623
|
| 76 |
+
numpy/core/__init__.py,sha256=CNsO-Ab4ywM2Wz3AbqWOH3ig1q5Bno9PsUMrCv-HNS4,5780
|
| 77 |
+
numpy/core/__init__.pyi,sha256=xtd9OFYza-ZG3jyEJrlzRPT-SkVoB_qYmVCe6FxRks0,126
|
| 78 |
+
numpy/core/_add_newdocs.py,sha256=39JFaeDPN2OQlSwfpY6_Jq9fO5vML8ZMF8J4ZTx_nrs,208972
|
| 79 |
+
numpy/core/_add_newdocs_scalars.py,sha256=PF9v8POcSNH6ELYltkx9e07DWgMmft6NJy9zER3Jk44,12106
|
| 80 |
+
numpy/core/_asarray.py,sha256=P2ddlZAsg1iGleRRfoQv_aKs2N7AGwpo5K4ZQv4Ujlk,3884
|
| 81 |
+
numpy/core/_asarray.pyi,sha256=gNNxUVhToNU_F1QpgeEvUYddpUFN-AKP0QWa4gqcTGw,1086
|
| 82 |
+
numpy/core/_dtype.py,sha256=SihUz41pHRB3Q2LiYYkug6LgMBKh6VV89MOpLxnXQdo,10606
|
| 83 |
+
numpy/core/_dtype_ctypes.py,sha256=Vug4i7xKhznK2tdIjmn4ebclClpaCJwSZUlvEoYl0Eg,3673
|
| 84 |
+
numpy/core/_exceptions.py,sha256=dZWKqfdLRvJvbAEG_fof_8ikEKxjakADMty1kLC_l_M,5379
|
| 85 |
+
numpy/core/_internal.py,sha256=f9kNDuT-FGxF1EtVOVIxXWnH9gM9n-J5V2zwHMv4HEk,28348
|
| 86 |
+
numpy/core/_internal.pyi,sha256=_mCTOX6Su8D4R9fV4HNeohPJx7515B-WOlv4uq6mry8,1032
|
| 87 |
+
numpy/core/_machar.py,sha256=G3a3TXu8VDW_1EMxKKLnGMbvUShEIUEve3ealBlJJ3E,11565
|
| 88 |
+
numpy/core/_methods.py,sha256=m31p0WjcFUGckbJiHnCpSaIQGqv-Lq5niIYkdd33YMo,8613
|
| 89 |
+
numpy/core/_multiarray_tests.cpython-311-x86_64-linux-gnu.so,sha256=PlX6lwLG1Z-gy_dW7RvDBps-ZtogHwRtrDQMtJUHgxI,151400
|
| 90 |
+
numpy/core/_multiarray_umath.cpython-311-x86_64-linux-gnu.so,sha256=TKjfFNwb4LsJLobrq9v8tsb3q9mz8dudJX5VV0VUGEQ,7402393
|
| 91 |
+
numpy/core/_operand_flag_tests.cpython-311-x86_64-linux-gnu.so,sha256=d-EIE1Mwg1P0MhabKoSjTw8F4bLWoJb15tE_nvK6430,16856
|
| 92 |
+
numpy/core/_rational_tests.cpython-311-x86_64-linux-gnu.so,sha256=c2JFRr4331C-2ta2AZL3Sfyiyuj2COzckpm9eGlb5CQ,59768
|
| 93 |
+
numpy/core/_simd.cpython-311-x86_64-linux-gnu.so,sha256=q_9ih9WkB5d9ydsFAU5lSOH1SnxPId7jGYGcSbtrxTI,3527040
|
| 94 |
+
numpy/core/_string_helpers.py,sha256=-fQM8z5s8_yX440PmgNEH3SUjEoXMPpPSysZwWZNbuo,2852
|
| 95 |
+
numpy/core/_struct_ufunc_tests.cpython-311-x86_64-linux-gnu.so,sha256=z72LnkcmdVBbvjnvdDYUnny5Vs73tZDMaJB7-Jok4Vk,16960
|
| 96 |
+
numpy/core/_type_aliases.py,sha256=qV6AZlsUWHMWTydmZya73xuBkKXiUKq_WXLj7q2CbZ0,7534
|
| 97 |
+
numpy/core/_type_aliases.pyi,sha256=lguMSqMwvqAFHuRtm8YZSdKbikVz985BdKo_lo7GQCg,404
|
| 98 |
+
numpy/core/_ufunc_config.py,sha256=-Twpe8dnd45ccXH-w-B9nvU8yCOd1E0e3Wpsts3g_bQ,13944
|
| 99 |
+
numpy/core/_ufunc_config.pyi,sha256=-615enOVQMBhVx7Pln7DY_s4H6JjSgSnBy89YkpvuLg,1066
|
| 100 |
+
numpy/core/_umath_tests.cpython-311-x86_64-linux-gnu.so,sha256=m_2bHJEg1wpvlRbuCeEqmbaBWJ96eiEc9GPnolJu4fg,42272
|
| 101 |
+
numpy/core/arrayprint.py,sha256=ySZj4TZFFVCa5yhMmJKFYQYhuQTabZTRBb1YoiCD-ac,63608
|
| 102 |
+
numpy/core/arrayprint.pyi,sha256=21pOWjTSfJOBaKgOOPzRox1ERb3c9ydufqL0b11_P_Q,4428
|
| 103 |
+
numpy/core/cversions.py,sha256=H_iNIpx9-hY1cQNxqjT2d_5SXZhJbMo_caq4_q6LB7I,347
|
| 104 |
+
numpy/core/defchararray.py,sha256=G1LExk-dMeVTYRhtYgcCZEsHk5tkawk7giXcK4Q5KVM,73617
|
| 105 |
+
numpy/core/defchararray.pyi,sha256=ib3aWFcM7F4KooU57mWUNi4GlosNjdfgrLKBVSIKDvU,9216
|
| 106 |
+
numpy/core/einsumfunc.py,sha256=TrL6t79F0H0AQH0y5Cj7Tq0_pzk4fVFi-4q4jJmujYQ,51868
|
| 107 |
+
numpy/core/einsumfunc.pyi,sha256=IJZNdHHG_soig8XvCbXZl43gMr3MMKl9dckTYWecqLs,4860
|
| 108 |
+
numpy/core/fromnumeric.py,sha256=YMtxOBg51VMem39AHXFs-4_vOb1p48ei7njXdYTRJ_Q,128821
|
| 109 |
+
numpy/core/fromnumeric.pyi,sha256=KATMFeFxUJ8YNRaC-jd_dTOt3opz2ng6lHgke5u5COk,23726
|
| 110 |
+
numpy/core/function_base.py,sha256=tHg1qSHTz1eO_wHXNFRt3Q40uqVtPT2eyQdrWbIi4wQ,19836
|
| 111 |
+
numpy/core/function_base.pyi,sha256=3ZYad3cdaGwNEyP8VwK97IYMqk2PDoVjpjQzhIYHjk0,4725
|
| 112 |
+
numpy/core/getlimits.py,sha256=AopcTZDCUXMPcEKIZE1botc3mEhmLb2p1_ejlq1CLqY,25865
|
| 113 |
+
numpy/core/getlimits.pyi,sha256=qeIXUEtognTHr_T-tv-VcZI7n8Z2VzAyIpIgKXzsLkc,82
|
| 114 |
+
numpy/core/include/numpy/__multiarray_api.c,sha256=nPRzTez_Wy3YXy3zZNJNPMspAzxbLOdohqhXwouwMLM,12116
|
| 115 |
+
numpy/core/include/numpy/__multiarray_api.h,sha256=jS7gYw2FRN9MPLYZBxokENWowqTsbaFTl3_zi6vL1j4,61519
|
| 116 |
+
numpy/core/include/numpy/__ufunc_api.c,sha256=670Gcz-vhkF4taBDmktCpFRBrZ9CHJnPRx7ag7Z6HsI,1714
|
| 117 |
+
numpy/core/include/numpy/__ufunc_api.h,sha256=0MBOl7dgO3ldqdDi-SdciEOuqGv1UNsmk7mp7tEy4AY,12456
|
| 118 |
+
numpy/core/include/numpy/_dtype_api.h,sha256=4veCexGvx9KNWMIUuEUAVOfcsei9GqugohDY5ud16pA,16697
|
| 119 |
+
numpy/core/include/numpy/_neighborhood_iterator_imp.h,sha256=s-Hw_l5WRwKtYvsiIghF0bg-mA_CgWnzFFOYVFJ-q4k,1857
|
| 120 |
+
numpy/core/include/numpy/_numpyconfig.h,sha256=o0fV_jb-wgVtRxnVIWvUttiZafyrWYFm2ab9Uixz1Cw,855
|
| 121 |
+
numpy/core/include/numpy/arrayobject.h,sha256=-BlWQ7kfVbzCqzHn0qaeMe0_08AbwliuG98XWG57lT8,282
|
| 122 |
+
numpy/core/include/numpy/arrayscalars.h,sha256=C3vDRndZTZRbppiDyV5jp8sV3dRKsrwBIZcNlh9gSTA,3944
|
| 123 |
+
numpy/core/include/numpy/experimental_dtype_api.h,sha256=tlehD5r_pYhHbGzIrUea6vtOgf6IQ8Txblnhx7455h8,15532
|
| 124 |
+
numpy/core/include/numpy/halffloat.h,sha256=TRZfXgipa-dFppX2uNgkrjrPli-1BfJtadWjAembJ4s,1959
|
| 125 |
+
numpy/core/include/numpy/ndarrayobject.h,sha256=PhY4NjRZDoU5Zbc8MW0swPEm81hwgWZ63gAU93bLVVI,10183
|
| 126 |
+
numpy/core/include/numpy/ndarraytypes.h,sha256=EjWXv-J8C5JET4AlIbJRdctycL7-dyJZcnoWgnlCPc8,68009
|
| 127 |
+
numpy/core/include/numpy/noprefix.h,sha256=d83l1QpCCVqMV2k29NMkL3Ld1qNjiC6hzOPWZAivEjQ,6830
|
| 128 |
+
numpy/core/include/numpy/npy_1_7_deprecated_api.h,sha256=y0MJ8Qw7Bkt4H_4VxIzHzpkw5JqAdj5ECgtn08fZFrI,4327
|
| 129 |
+
numpy/core/include/numpy/npy_3kcompat.h,sha256=SvN9yRA3i02O4JFMXxZz0Uq_vJ5ZpvC-pC2sfF56A5I,15883
|
| 130 |
+
numpy/core/include/numpy/npy_common.h,sha256=Joxucz91nwz5ThOy0HeEFCfZT5Kdp_ii-bMokhrlihw,37688
|
| 131 |
+
numpy/core/include/numpy/npy_cpu.h,sha256=pcVRtj-Y6120C5kWB1VAiAjZoxkTPDEg0gGm5IAt3jM,4629
|
| 132 |
+
numpy/core/include/numpy/npy_endian.h,sha256=we7X9fPeWzNpo_YTh09MPGDwdE0Rw_WDM4c9y4nBj5I,2786
|
| 133 |
+
numpy/core/include/numpy/npy_interrupt.h,sha256=DQZIxi6FycLXD8drdHn2SSmLoRhIpo6osvPv13vowUA,1948
|
| 134 |
+
numpy/core/include/numpy/npy_math.h,sha256=SbKRoc7O3gVuDl7HOZjk424O049I0zn-7i9GwBwNmmk,18945
|
| 135 |
+
numpy/core/include/numpy/npy_no_deprecated_api.h,sha256=0yZrJcQEJ6MCHJInQk5TP9_qZ4t7EfBuoLOJ34IlJd4,678
|
| 136 |
+
numpy/core/include/numpy/npy_os.h,sha256=6ih9znx3n8PIIwg5sSJkK3g4JtUvcyJahY2Wxs3mFe8,1120
|
| 137 |
+
numpy/core/include/numpy/numpyconfig.h,sha256=Nr59kE3cXmen6y0UymIBaU7F1BSIuPwgKZ4gdV5Q5JU,5308
|
| 138 |
+
numpy/core/include/numpy/old_defines.h,sha256=xuYQDDlMywu0Zsqm57hkgGwLsOFx6IvxzN2eiNF-gJY,6405
|
| 139 |
+
numpy/core/include/numpy/random/LICENSE.txt,sha256=-8U59H0M-DvGE3gID7hz1cFGMBJsrL_nVANcOSbapew,1018
|
| 140 |
+
numpy/core/include/numpy/random/bitgen.h,sha256=49AwKOR552r-NkhuSOF1usb_URiMSRMvD22JF5pKIng,488
|
| 141 |
+
numpy/core/include/numpy/random/distributions.h,sha256=W5tOyETd0m1W0GdaZ5dJP8fKlBtsTpG23V2Zlmrlqpg,9861
|
| 142 |
+
numpy/core/include/numpy/random/libdivide.h,sha256=ew9MNhPQd1LsCZiWiFmj9IZ7yOnA3HKOXffDeR9X1jw,80138
|
| 143 |
+
numpy/core/include/numpy/ufuncobject.h,sha256=Xmnny_ulZo9VwxkfkXF-1HCTKDavIp9PV_H7XWhi0Z8,12070
|
| 144 |
+
numpy/core/include/numpy/utils.h,sha256=wMNomSH3Dfj0q78PrjLVtFtN-FPo7UJ4o0ifCUO-6Es,1185
|
| 145 |
+
numpy/core/lib/libnpymath.a,sha256=iaQOmupPD_06HD_VWTaCEPLJ92d9TZ9YrRr3AI58m6Y,51448
|
| 146 |
+
numpy/core/lib/npy-pkg-config/mlib.ini,sha256=_LsWV1eStNqwhdiYPa2538GL46dnfVwT4MrI1zbsoFw,147
|
| 147 |
+
numpy/core/lib/npy-pkg-config/npymath.ini,sha256=kamUNrYKAmXqQa8BcNv7D5sLqHh6bnChM0_5rZCsTfY,360
|
| 148 |
+
numpy/core/memmap.py,sha256=yWBJLeVClHsD8BYusnf9bdqypOMPrj3_zoO_lQ2zVMc,11771
|
| 149 |
+
numpy/core/memmap.pyi,sha256=sxIQ7T5hPLG-RBNndAc8JPvrsKEX1amBSH2HGg48Obo,55
|
| 150 |
+
numpy/core/multiarray.py,sha256=zXaWf_DSkFEWjUQqVRCGeevwsI6kjQ3x6_MUwA1Y8fk,56097
|
| 151 |
+
numpy/core/multiarray.pyi,sha256=_0X4W90U5ZiKt2n-9OscK-pcQyV6oGK-8jwGy5k1qxA,24768
|
| 152 |
+
numpy/core/numeric.py,sha256=DgajaCDXiiQR-zuW_rrx_QhApSsa5k5FONK3Uk9mfTs,77014
|
| 153 |
+
numpy/core/numeric.pyi,sha256=oVQkI4ABayFl_ZzCiGH4DxfYASL-3aETi-3B93THnEQ,14315
|
| 154 |
+
numpy/core/numerictypes.py,sha256=qIf9v1OpNjjVQzXnKpD-3V01y5Bj9huw5F-U5Wa4glc,18098
|
| 155 |
+
numpy/core/numerictypes.pyi,sha256=dEqtq9MLrGaqqeAF1sdXBgnEwDWOzlK02A6MTg1PS5g,3267
|
| 156 |
+
numpy/core/overrides.py,sha256=YUZFS8RCBvOJ27sH-jDRcyMjOCn9VigMyuQY4J21JBI,7093
|
| 157 |
+
numpy/core/records.py,sha256=4mpIjUp2XtZxY5cD2S8mgfn8GCzQGGrrkqLBqAJwM-Q,37533
|
| 158 |
+
numpy/core/records.pyi,sha256=uYwE6cAoGKgN6U4ryfGZx_3m-3sY006jytjWLrDRRy0,5692
|
| 159 |
+
numpy/core/shape_base.py,sha256=RPMKxA7_FCAgg_CruExl0LehnczSTFaxA6hrcfrUzns,29743
|
| 160 |
+
numpy/core/shape_base.pyi,sha256=Ilb4joJmbjkIZLzKww7NJeaxg2FP3AfFib3HtfOsrC0,2774
|
| 161 |
+
numpy/core/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 162 |
+
numpy/core/tests/_locales.py,sha256=S4x5soqF0oxpBYOE8J9Iky72O9J25IiZ8349m93pWC4,2206
|
| 163 |
+
numpy/core/tests/data/astype_copy.pkl,sha256=lWSzCcvzRB_wpuRGj92spGIw-rNPFcd9hwJaRVvfWdk,716
|
| 164 |
+
numpy/core/tests/data/generate_umath_validation_data.cpp,sha256=fyhQPNhIX9hzjeXujn6mhi1MVc133zELSV_hlSQ7BQU,5842
|
| 165 |
+
numpy/core/tests/data/recarray_from_file.fits,sha256=NA0kliz31FlLnYxv3ppzeruONqNYkuEvts5wzXEeIc4,8640
|
| 166 |
+
numpy/core/tests/data/umath-validation-set-README.txt,sha256=pxWwOaGGahaRd-AlAidDfocLyrAiDp0whf5hC7hYwqM,967
|
| 167 |
+
numpy/core/tests/data/umath-validation-set-arccos.csv,sha256=W_aL99bjzVjlVyd5omfDUORag8jHzx6uctedPVZgOHQ,61365
|
| 168 |
+
numpy/core/tests/data/umath-validation-set-arccosh.csv,sha256=Uko_d0kDXr1YlN-6Ii-fQQxUvbXAhRfC7Un4gJ23GJk,61365
|
| 169 |
+
numpy/core/tests/data/umath-validation-set-arcsin.csv,sha256=15Aenze4WD2a2dF2aOBXpv9B7u3wwAeUVJdEm4TjOkQ,61339
|
| 170 |
+
numpy/core/tests/data/umath-validation-set-arcsinh.csv,sha256=uDwx4PStpfV21IaPF8pmzQpul6i72g7zDwlfcynWaVQ,60289
|
| 171 |
+
numpy/core/tests/data/umath-validation-set-arctan.csv,sha256=mw5tYze_BMs6ugGEZfg5mcXoInGYdn7fvSCYSUi9Bqw,60305
|
| 172 |
+
numpy/core/tests/data/umath-validation-set-arctanh.csv,sha256=95l4Uu5RmZajljabfqlv5U34RVrifCMhhkop6iLeNBo,61339
|
| 173 |
+
numpy/core/tests/data/umath-validation-set-cbrt.csv,sha256=v855MTZih-fZp_GuEDst2qaIsxU4a7vlAbeIJy2xKpc,60846
|
| 174 |
+
numpy/core/tests/data/umath-validation-set-cos.csv,sha256=0PNnDqKkokZ7ERVDgbes8KNZc-ISJrZUlVZc5LkW18E,59122
|
| 175 |
+
numpy/core/tests/data/umath-validation-set-cosh.csv,sha256=FGCNeUSUTAeASsb_j18iRSsCxXLxmzF-_C7tq1elVrQ,60869
|
| 176 |
+
numpy/core/tests/data/umath-validation-set-exp.csv,sha256=BKg1_cyrKD2GXYMX_EB0DnXua8DI2O1KWODXf_BRhrk,17491
|
| 177 |
+
numpy/core/tests/data/umath-validation-set-exp2.csv,sha256=f1b05MRXPOXihC9M-yi52udKBzVXalhbTuIcqoDAk-g,58624
|
| 178 |
+
numpy/core/tests/data/umath-validation-set-expm1.csv,sha256=_ghc1xiUECNsBGrKCFUAy2lvu01_lkpeYJN0zDtCYWk,60299
|
| 179 |
+
numpy/core/tests/data/umath-validation-set-log.csv,sha256=z9ej1ykKUoMRqYMUIJENWXbYi_A_x_RKs7K_GuXZJus,11692
|
| 180 |
+
numpy/core/tests/data/umath-validation-set-log10.csv,sha256=RJgpruL16FVPgUT3-3xW4eppS_tn6o5yEW79KnITn48,68922
|
| 181 |
+
numpy/core/tests/data/umath-validation-set-log1p.csv,sha256=IZZI-hi55HGCOvBat3vSBVha_8Nt-5alf2fqz6QeTG0,60303
|
| 182 |
+
numpy/core/tests/data/umath-validation-set-log2.csv,sha256=HL2rOCsrEi378rNrbsXHPqlWlEGkXQq8R4e63YeTksU,68917
|
| 183 |
+
numpy/core/tests/data/umath-validation-set-sin.csv,sha256=8PUjnQ_YfmxFb42XJrvpvmkeSpEOlEXSmNvIK4VgfAM,58611
|
| 184 |
+
numpy/core/tests/data/umath-validation-set-sinh.csv,sha256=CYiibE8aX7MQnBatl__5k_PWc_9vHUifwS-sFZzzKk0,60293
|
| 185 |
+
numpy/core/tests/data/umath-validation-set-tan.csv,sha256=Oq7gxMvblRVBrQ23kMxc8iT0bHnCWKg9EE4ZqzbJbOA,60299
|
| 186 |
+
numpy/core/tests/data/umath-validation-set-tanh.csv,sha256=iolZF_MOyWRgYSa-SsD4df5mnyFK18zrICI740SWoTc,60299
|
| 187 |
+
numpy/core/tests/examples/cython/checks.pyx,sha256=plK9y11kHceBfR6puFLDwU8H5RBGS6ZEmqSFVq-rzOE,615
|
| 188 |
+
numpy/core/tests/examples/cython/meson.build,sha256=gsdQSy1D5cO-Y8i5ADnV8rrFPbL-eBkWKb113gxpYbI,740
|
| 189 |
+
numpy/core/tests/examples/cython/setup.py,sha256=aAR-TvQabUabnCzuB6UdWdmRXaaPfIG7MzTIfMF-0tk,496
|
| 190 |
+
numpy/core/tests/examples/limited_api/limited_api.c,sha256=mncE8TjjXmYpkwli433G0jB2zGQO_5NqWmGKdzRJZug,344
|
| 191 |
+
numpy/core/tests/examples/limited_api/setup.py,sha256=p2w7F1ardi_GRXSrnNIR8W1oeH_pgmw_1P2wS0A2I6M,435
|
| 192 |
+
numpy/core/tests/test__exceptions.py,sha256=QqxQSLXboPXEVwHz-TyE2JeIl_TC-rPugzfo25nbcns,2846
|
| 193 |
+
numpy/core/tests/test_abc.py,sha256=FfgYA_HjYAi8XWGK_oOh6Zw86chB_KG_XoW_7ZlFp4c,2220
|
| 194 |
+
numpy/core/tests/test_api.py,sha256=UMc7SvczAQ5ngHxE-NoXVvNpVzYRrn8oMwFNta1yMS0,22995
|
| 195 |
+
numpy/core/tests/test_argparse.py,sha256=C0zBbwQ9xzzymXe_hHpWnnWQPwOi2ZdQB78gBAgJHvU,1969
|
| 196 |
+
numpy/core/tests/test_array_coercion.py,sha256=zY4Pjlt4QZ0w71WxWGLHcrPnnhEF51yXYVLg5HMIy5c,34379
|
| 197 |
+
numpy/core/tests/test_array_interface.py,sha256=8tGgj1Nzi76H_WF5GULkxqWL7Yu_Xf0lvTJZOwOBKsI,7774
|
| 198 |
+
numpy/core/tests/test_arraymethod.py,sha256=VpjDYTmoMDTZcY7CsGzinBh0R_OICuwOykWCbmCRQZU,3244
|
| 199 |
+
numpy/core/tests/test_arrayprint.py,sha256=cKaIoD9ZvsjJH0PHwZyOxmcRcBt1kN1WfFneqVqs0b8,40462
|
| 200 |
+
numpy/core/tests/test_casting_floatingpoint_errors.py,sha256=W3Fgk0oKtXFv684fEZ7POwj6DHTYK0Jj_oGRLZ8UdyA,5063
|
| 201 |
+
numpy/core/tests/test_casting_unittests.py,sha256=9-vkR0oXczQz8ED8DxGVPmalC8IZXe2jKgOCMGr8hIg,34298
|
| 202 |
+
numpy/core/tests/test_conversion_utils.py,sha256=jNhbNNI-T8qtQnsIMEax7KFN30kjh0ICntLMwTyxJ5Q,6559
|
| 203 |
+
numpy/core/tests/test_cpu_dispatcher.py,sha256=JmYHyBedXNu8pPgGCegP4it6UXY0sifW4EjdM9C0f8M,1521
|
| 204 |
+
numpy/core/tests/test_cpu_features.py,sha256=6wGRaLXaRXSy5a6VW5GYWljFOIM62vz9wIwUc6fQ2xY,14858
|
| 205 |
+
numpy/core/tests/test_custom_dtypes.py,sha256=JogRmttDLwfQ3PTbewEnGLKco9zV2Nu3yIfrMeCsx_I,9401
|
| 206 |
+
numpy/core/tests/test_cython.py,sha256=oisA2oy2waeLWXS7HBYTs-XHHBofEflEbflm7AFcMV0,3444
|
| 207 |
+
numpy/core/tests/test_datetime.py,sha256=2vAGbrCQmsrWNXCVXOMZqUGZn2c-cQT-eZ1wTprYbcM,116211
|
| 208 |
+
numpy/core/tests/test_defchararray.py,sha256=F88HUkByEP4H6cJ_ITvIe0a_T1BH2JOdRysMCu1XIn0,24997
|
| 209 |
+
numpy/core/tests/test_deprecations.py,sha256=w2lhHb-W8hh7RoE_0Ftg8thpG86jvbFAJgior22DY2Q,31076
|
| 210 |
+
numpy/core/tests/test_dlpack.py,sha256=cDlwFmTombb2rDeB8RHEAJ4eVMUiDbw8Oz5Jo1NQwk0,3522
|
| 211 |
+
numpy/core/tests/test_dtype.py,sha256=_BXqqe7m7TwzfKj-YKqVVEwWEpB4w0eUCmAjnGaCTwM,75451
|
| 212 |
+
numpy/core/tests/test_einsum.py,sha256=QzQAPIC-IjTV3Dxz97hBnvLBCmF8kpsBTBckThhgRjQ,53712
|
| 213 |
+
numpy/core/tests/test_errstate.py,sha256=U3GT9I058jkF725mx4GdWUr9RoceCkGDV7Go79VA4wY,2219
|
| 214 |
+
numpy/core/tests/test_extint128.py,sha256=gCZfAwPOb-F1TLsEEeDI0amQYwHk-60-OXi0ccZrrZ8,5643
|
| 215 |
+
numpy/core/tests/test_function_base.py,sha256=Ibs6-WXZE5hsRx4VCnX-cZOWYKU-5PFXjouwAQzgnqQ,15595
|
| 216 |
+
numpy/core/tests/test_getlimits.py,sha256=apdxr0zKkxaVHIUpLrqAvO39q54JKN14sV4xSbK2Ifs,6718
|
| 217 |
+
numpy/core/tests/test_half.py,sha256=k3p2NL9i84Z9i0Nd5nSwUUKrmwzR4KjPQFJv5nu0K8Y,24226
|
| 218 |
+
numpy/core/tests/test_hashtable.py,sha256=ZV8HL8NkDnoQZfnje7BP0fyIp4fSFqjKsQc40PaTggc,1011
|
| 219 |
+
numpy/core/tests/test_indexerrors.py,sha256=kN9xLl6FVTzmI7fumn_cuZ3k0omXnTetgtCnPY44cvw,5130
|
| 220 |
+
numpy/core/tests/test_indexing.py,sha256=x0ojWuhOwWD5MZuiJ9Ncim3CgkwI-GldWxrSCmjmFJM,54314
|
| 221 |
+
numpy/core/tests/test_item_selection.py,sha256=kI30kiX8mIrZYPn0jw3lGGw1ruZF4PpE9zw-aai9EPA,6458
|
| 222 |
+
numpy/core/tests/test_limited_api.py,sha256=5yO0nGmCKZ9b3S66QP7vY-HIgAoyOtHZmp8mvzKuOHI,1172
|
| 223 |
+
numpy/core/tests/test_longdouble.py,sha256=jO8YMm_Hsz-XPKbmv6iMcOdHgTlIFkKTwAtxpy3Q1pE,13905
|
| 224 |
+
numpy/core/tests/test_machar.py,sha256=_5_TDUVtAJvJI5jBfEFKpCZtAfKCsCFt7tXlWSkWzzc,1067
|
| 225 |
+
numpy/core/tests/test_mem_overlap.py,sha256=QJ0unWD_LOoAGAo4ra0IvYenj56IYUtiz1fEJEmTY9Q,29086
|
| 226 |
+
numpy/core/tests/test_mem_policy.py,sha256=rzySeyxeGDy3ucytbKAwd2gEwoArLmOlsJFFJaSa_lQ,16780
|
| 227 |
+
numpy/core/tests/test_memmap.py,sha256=tZ5lJs_4ZFsJmg392ZQ33fX0m8tdfZ8ZtY9Lq41LNtk,7477
|
| 228 |
+
numpy/core/tests/test_multiarray.py,sha256=B9Be4OT_tfKkt-1SaSi48jm65r0tpY7r_6X6OknKlZk,379827
|
| 229 |
+
numpy/core/tests/test_nditer.py,sha256=nVQ00aNxPHqf4ZcFs3e9AVDK64TCqlO0TzfocTAACZQ,130818
|
| 230 |
+
numpy/core/tests/test_nep50_promotions.py,sha256=2TwtFvj1LBpYTtdR6NFe1RAAGXIJltLqwpA1vhQCVY4,8840
|
| 231 |
+
numpy/core/tests/test_numeric.py,sha256=yE720YMsjpIlYRaUj_Y7s6b-0XFVwyHla-ORxU-Q17I,136543
|
| 232 |
+
numpy/core/tests/test_numerictypes.py,sha256=f_xMjZJnyDwlc6XCrd71b6x1_6dAWOv-kZ3-NEq37hU,21687
|
| 233 |
+
numpy/core/tests/test_overrides.py,sha256=t0gOZOzu7pevE58HA-npFYJqnInHR-LLBklnzKJWHqo,26080
|
| 234 |
+
numpy/core/tests/test_print.py,sha256=ErZAWd88b0ygSEoYpd0BL2tFjkerMtn1vZ7dWvaNqTc,6837
|
| 235 |
+
numpy/core/tests/test_protocols.py,sha256=fEXE9K9s22oiVWkX92BY-g00-uXCK-HxjZhZxxYAKFc,1168
|
| 236 |
+
numpy/core/tests/test_records.py,sha256=pluit5x6jkWoPEIrHXM13L3xZuuSSiaxoXFsOdkakCU,20269
|
| 237 |
+
numpy/core/tests/test_regression.py,sha256=SJo9cPTVr2SNjhgtW7boUMyNQlXxygsZ5g0oyqC8Eks,91595
|
| 238 |
+
numpy/core/tests/test_scalar_ctors.py,sha256=qDIZV-tBukwAxNDhUmGtH3CemDXlS3xd_q3L52touuA,6115
|
| 239 |
+
numpy/core/tests/test_scalar_methods.py,sha256=Uj-zU0zzzKAjMBdpkzsWZ3nSFj5gJkUlqi_euhOYdnU,7541
|
| 240 |
+
numpy/core/tests/test_scalarbuffer.py,sha256=FSL94hriWX1_uV6Z33wB3ZXUrpmmX2-x87kNjIxUeBk,5580
|
| 241 |
+
numpy/core/tests/test_scalarinherit.py,sha256=fMInDGKsiH3IS_2ejZtIcmJZ0Ry8c7kVsHx7wp5XDoM,2368
|
| 242 |
+
numpy/core/tests/test_scalarmath.py,sha256=XZj_m2I2TLktJdFD1SWj2XtV8hT26VIxasDz3cAFvgA,43247
|
| 243 |
+
numpy/core/tests/test_scalarprint.py,sha256=1599W5X0tjGhBnSQjalXkg6AY8eHXnr6PMqs4vYZQqs,18771
|
| 244 |
+
numpy/core/tests/test_shape_base.py,sha256=D9haeuUVx3x3pOLmFQ9vUz7iU4T2bFTsPoI8HgSncFU,29723
|
| 245 |
+
numpy/core/tests/test_simd.py,sha256=-L1UhIn9Eu_euLwaSU7bPRfYpWWOTb43qovoJS7Ws7w,48696
|
| 246 |
+
numpy/core/tests/test_simd_module.py,sha256=j1iOWvtCZQFr0yHKX9jFcMT1uDPvCXPxW-za9fRy-Fo,3805
|
| 247 |
+
numpy/core/tests/test_strings.py,sha256=A9t1B65lFrYRLXgDJSg3mMDAe_hypIPcTMVOdAYIbU0,3835
|
| 248 |
+
numpy/core/tests/test_ufunc.py,sha256=dDqj3CgzfJI8aLw91ij7L-LsPk5xYnJ9pYjN48MqQMM,124800
|
| 249 |
+
numpy/core/tests/test_umath.py,sha256=XYsOWuOV3RLvthcxapM3cBm1j-J6CC5W3-HtYBx_oWk,185601
|
| 250 |
+
numpy/core/tests/test_umath_accuracy.py,sha256=mFcVdzXhhD9mqhzLDJVZsWfCHbjbFQ6XeEl5G8l-PTc,3897
|
| 251 |
+
numpy/core/tests/test_umath_complex.py,sha256=7_5NdvJbk80iA5G71mQvSsAD7hOG2g9B4PjdsudgCYo,23243
|
| 252 |
+
numpy/core/tests/test_unicode.py,sha256=hUXIwMmoq89y_KXWzuXVyQaXvRwGjfY4TvKJsCbygEI,12775
|
| 253 |
+
numpy/core/umath.py,sha256=JbT_SxnZ_3MEmjOI9UtX3CcAzX5Q-4RDlnnhDAEJ5Vo,2040
|
| 254 |
+
numpy/core/umath_tests.py,sha256=TIzaDfrEHHgSc2J5kxFEibq8MOPhwSuyOZOUBsZNVSM,389
|
| 255 |
+
numpy/ctypeslib.py,sha256=Po4XCWfxhwFQ1Q8x8DeayGiMCJLxREaCDkVyeladxBU,17247
|
| 256 |
+
numpy/ctypeslib.pyi,sha256=A9te473aRO920iDVuyKypeVIQp-ueZK6EiI-qLSwJNg,7972
|
| 257 |
+
numpy/distutils/__init__.py,sha256=BU1C21439HRo7yH1SsN9me6WCDPpOwRQ37ZpNwDMqCw,2074
|
| 258 |
+
numpy/distutils/__init__.pyi,sha256=D8LRE6BNOmuBGO-oakJGnjT9UJTk9zSR5rxMfZzlX64,119
|
| 259 |
+
numpy/distutils/__pycache__/conv_template.cpython-311.pyc,sha256=4CFdwoJ4K3nKiE2eBt2WyCpEmI-_G4XPzc5vqemA6Tw,14202
|
| 260 |
+
numpy/distutils/_shell_utils.py,sha256=kMLOIoimB7PdFRgoVxCIyCFsIl1pP3d0hkm_s3E9XdA,2613
|
| 261 |
+
numpy/distutils/armccompiler.py,sha256=8qUaYh8QHOJlz7MNvkuJNyYdCOCivuW0pbmf_2OPZu0,962
|
| 262 |
+
numpy/distutils/ccompiler.py,sha256=6I-zQBLJCyZUZaYdmK23pmucM8MAn2OsvyzEdghPpW0,28618
|
| 263 |
+
numpy/distutils/ccompiler_opt.py,sha256=A7s9-Zg6WCVoOeM1gyKTE0NswAvXRXAOEmSLkNchBTQ,100335
|
| 264 |
+
numpy/distutils/checks/cpu_asimd.c,sha256=nXUsTLrSlhRL-UzDM8zMqn1uqJnR7TRlJi3Ixqw539w,818
|
| 265 |
+
numpy/distutils/checks/cpu_asimddp.c,sha256=E4b9zT1IdSfGR2ACZJiQoR-BqaeDtzFqRNW8lBOXAaY,432
|
| 266 |
+
numpy/distutils/checks/cpu_asimdfhm.c,sha256=6tXINVEpmA-lYRSbL6CrBu2ejNFmd9WONFGgg-JFXZE,529
|
| 267 |
+
numpy/distutils/checks/cpu_asimdhp.c,sha256=SfwrEEA_091tmyI4vN3BNLs7ypUnrF_VbTg6gPl-ocs,379
|
| 268 |
+
numpy/distutils/checks/cpu_avx.c,sha256=LuZW8o93VZZi7cYEP30dvKWTm7Mw1TLmCt5UaXDxCJg,779
|
| 269 |
+
numpy/distutils/checks/cpu_avx2.c,sha256=jlDlea393op0JOiMJgmmPyKmyAXztLcObPOp9F9FaS0,749
|
| 270 |
+
numpy/distutils/checks/cpu_avx512_clx.c,sha256=P-YHjj2XE4SithBkPwDgShOxGWnVSNUXg72h8O3kpbs,842
|
| 271 |
+
numpy/distutils/checks/cpu_avx512_cnl.c,sha256=f_c2Z0xwAKTJeK3RYMIp1dgXYV8QyeOxUgKkMht4qko,948
|
| 272 |
+
numpy/distutils/checks/cpu_avx512_icl.c,sha256=isI35-gm7Hqn2Qink5hP1XHWlh52a5vwKhEdW_CRviE,1004
|
| 273 |
+
numpy/distutils/checks/cpu_avx512_knl.c,sha256=Veq4zNRDDqABV1dPyYdpyPzqZnEBrRsPsTZU1ebPi_Y,956
|
| 274 |
+
numpy/distutils/checks/cpu_avx512_knm.c,sha256=eszPGr3XC9Js7mQUB0gFxlrNjQwfucQFz_UwFyNLjes,1132
|
| 275 |
+
numpy/distutils/checks/cpu_avx512_skx.c,sha256=59VD8ebEJJHLlbY-4dakZV34bmq_lr9mBKz8BAcsdYc,1010
|
| 276 |
+
numpy/distutils/checks/cpu_avx512_spr.c,sha256=i8DpADB8ZhIucKc8lt9JfYbQANRvR67u59oQf5winvg,904
|
| 277 |
+
numpy/distutils/checks/cpu_avx512cd.c,sha256=Qfh5FJUv9ZWd_P5zxkvYYIkvqsPptgaDuKkeX_F8vyA,759
|
| 278 |
+
numpy/distutils/checks/cpu_avx512f.c,sha256=d97NRcbJhqpvURnw7zyG0TOuEijKXvU0g4qOTWHbwxY,755
|
| 279 |
+
numpy/distutils/checks/cpu_f16c.c,sha256=nzZzpUc8AfTtw-INR3KOxcjx9pyzVUM8OhsrdH2dO_w,868
|
| 280 |
+
numpy/distutils/checks/cpu_fma3.c,sha256=YN6IDwuZALJHVVmpQ2tj-14HI_PcxH_giV8-XjzlmkU,817
|
| 281 |
+
numpy/distutils/checks/cpu_fma4.c,sha256=qKdgTNNFg-n8vSB1Txco60HBLCcOi1aH23gZOX7yKqs,301
|
| 282 |
+
numpy/distutils/checks/cpu_neon.c,sha256=Y0SjuVLzh3upcbY47igHjmKgjHbXxbvzncwB7acfjxw,600
|
| 283 |
+
numpy/distutils/checks/cpu_neon_fp16.c,sha256=E7YOGyYP41u1sqiCHpCGGqjmo7Cs6yUkmJ46K7LZloc,251
|
| 284 |
+
numpy/distutils/checks/cpu_neon_vfpv4.c,sha256=qFY1C_fQYz7M_a_8j0KTdn7vaE3NNVmWY2JGArDGM3w,609
|
| 285 |
+
numpy/distutils/checks/cpu_popcnt.c,sha256=vRcXHVw2j1F9I_07eIZ_xzDX3fd3mqgiQXL1w3pULJk,1049
|
| 286 |
+
numpy/distutils/checks/cpu_sse.c,sha256=6MHITtC76UpSR9uh0SiURpnkpPkLzT5tbrcXT4xBFxo,686
|
| 287 |
+
numpy/distutils/checks/cpu_sse2.c,sha256=yUZzdjDtBS-vYlhfP-pEzj3m0UPmgZs-hA99TZAEACU,697
|
| 288 |
+
numpy/distutils/checks/cpu_sse3.c,sha256=j5XRHumUuccgN9XPZyjWUUqkq8Nu8XCSWmvUhmJTJ08,689
|
| 289 |
+
numpy/distutils/checks/cpu_sse41.c,sha256=y_k81P-1b-Hx8OeRVDE9V1O9JakS0zPvlFKJ3VbSmEw,675
|
| 290 |
+
numpy/distutils/checks/cpu_sse42.c,sha256=3PXucdI2mII-txO7zFN99TlVveT_QUAETTGvRk-_hYw,692
|
| 291 |
+
numpy/distutils/checks/cpu_ssse3.c,sha256=X6VWxIXMRpdSCBsHPXvot3yTZ4d5yK9Bi1ScQP3WC-Q,705
|
| 292 |
+
numpy/distutils/checks/cpu_vsx.c,sha256=FVmR4iliKjcihzMCwloR1F2JYwSZK9P4f_hvIRLHSDQ,478
|
| 293 |
+
numpy/distutils/checks/cpu_vsx2.c,sha256=yESs25Rt5ztb5-stuYbu3TbiyJKmllMpMLu01GOAHqE,263
|
| 294 |
+
numpy/distutils/checks/cpu_vsx3.c,sha256=omC50tbEZNigsKMFPtE3zGRlIS2VuDTm3vZ9TBZWo4U,250
|
| 295 |
+
numpy/distutils/checks/cpu_vsx4.c,sha256=ngezA1KuINqJkLAcMrZJR7bM0IeA25U6I-a5aISGXJo,305
|
| 296 |
+
numpy/distutils/checks/cpu_vx.c,sha256=OpLU6jIfwvGJR4JPVVZLlUfvo7oAZ0YvsjafM2qtPlk,461
|
| 297 |
+
numpy/distutils/checks/cpu_vxe.c,sha256=rYW_nKwXnlB0b8xCrJEr4TmvrEvS-NToxwyqqOHV8Bk,788
|
| 298 |
+
numpy/distutils/checks/cpu_vxe2.c,sha256=Hv4wO23kwC2G6lqqercq4NE4K0nrvBxR7RIzr5HTXCc,624
|
| 299 |
+
numpy/distutils/checks/cpu_xop.c,sha256=7uabsGeqvmVJQvuSEjs8-Sm8kpmvl6uZ9YHMF5h2opQ,234
|
| 300 |
+
numpy/distutils/checks/extra_avx512bw_mask.c,sha256=pVPOhcu80yJVnIhOcHHXOlZ2proJ1MUf0XgccqhPoNk,636
|
| 301 |
+
numpy/distutils/checks/extra_avx512dq_mask.c,sha256=nMfIvepISGFDexPrMYl5LWtdmt6Uy9TKPzF4BVayw2I,504
|
| 302 |
+
numpy/distutils/checks/extra_avx512f_reduce.c,sha256=_NfbtfSAkm_A67umjR1oEb9yRnBL5EnTA76fvQIuNVk,1595
|
| 303 |
+
numpy/distutils/checks/extra_vsx4_mma.c,sha256=GiQGZ9-6wYTgH42bJgSlXhWcTIrkjh5xv4uymj6rglk,499
|
| 304 |
+
numpy/distutils/checks/extra_vsx_asm.c,sha256=BngiMVS9nyr22z6zMrOrHLeCloe_5luXhf5T5mYucgI,945
|
| 305 |
+
numpy/distutils/checks/test_flags.c,sha256=uAIbhfAhyGe4nTdK_mZmoCefj9P0TGHNF9AUv_Cdx5A,16
|
| 306 |
+
numpy/distutils/command/__init__.py,sha256=fW49zUB3syMFsKpf1oRBO0h8tmnTwRP3zUPrsB0R22M,1032
|
| 307 |
+
numpy/distutils/command/autodist.py,sha256=8KWwr5mnjX20UpY4ITRDx-PreApyh9M7B92IwsEtTsQ,3718
|
| 308 |
+
numpy/distutils/command/bdist_rpm.py,sha256=-tkZupIJr_jLqeX7xbRhE8-COXHRI0GoRpAKchVte54,709
|
| 309 |
+
numpy/distutils/command/build.py,sha256=aj1SUGsDUTxs4Tch2ALLcPnuAVhaPjEPIZIobzMajm0,2613
|
| 310 |
+
numpy/distutils/command/build_clib.py,sha256=TCuZDpRd8ZPZH6SRwIZcWZC3aoGc18Rll6FYcawS6qY,19317
|
| 311 |
+
numpy/distutils/command/build_ext.py,sha256=UcyG8KKyrd5v1s6qDdKEkzwLwmoMlfHA893Lj-OOgl0,32983
|
| 312 |
+
numpy/distutils/command/build_py.py,sha256=XiLZ2d_tmCE8uG5VAU5OK2zlzQayBfeY4l8FFEltbig,1144
|
| 313 |
+
numpy/distutils/command/build_scripts.py,sha256=P2ytmZb3UpwfmbMXkFB2iMQk15tNUCynzMATllmp-Gs,1665
|
| 314 |
+
numpy/distutils/command/build_src.py,sha256=sxsnfc8KBsnsSvI-8sKIKNo2KA2uvrrvW0WYZCqyjyk,31178
|
| 315 |
+
numpy/distutils/command/config.py,sha256=SdN-Cxvwx3AD5k-Xx_VyS2WWpVGmflnYGiTIyruj_xM,20670
|
| 316 |
+
numpy/distutils/command/config_compiler.py,sha256=Cp9RTpW72gg8XC_3-9dCTlLYr352pBfBRZA8YBWvOoY,4369
|
| 317 |
+
numpy/distutils/command/develop.py,sha256=9SbbnFnVbSJVZxTFoV9pwlOcM1D30GnOWm2QonQDvHI,575
|
| 318 |
+
numpy/distutils/command/egg_info.py,sha256=i-Zk4sftK5cMQVQ2jqSxTMpVI-gYyXN16-p5TvmjURc,921
|
| 319 |
+
numpy/distutils/command/install.py,sha256=nkW2fl7OABcE3sUcoNM7iONkF64CBESdVlRjTLg3hVA,3073
|
| 320 |
+
numpy/distutils/command/install_clib.py,sha256=1xv0_lPVu3g16GgICjjlh7T8zQ6PSlevCuq8Bocx5YM,1399
|
| 321 |
+
numpy/distutils/command/install_data.py,sha256=Y59EBG61MWP_5C8XJvSCVfzYpMNVNVcH_Z6c0qgr9KA,848
|
| 322 |
+
numpy/distutils/command/install_headers.py,sha256=tVpOGqkmh8AA_tam0K0SeCd4kvZj3UqSOjWKm6Kz4jY,919
|
| 323 |
+
numpy/distutils/command/sdist.py,sha256=8Tsju1RwXNbPyQcjv8GRMFveFQqYlbNdSZh2X1OV-VU,733
|
| 324 |
+
numpy/distutils/conv_template.py,sha256=F-4vkkfAjCb-fN79WYrXX3BMHMoiQO-W2u09q12OPuI,9536
|
| 325 |
+
numpy/distutils/core.py,sha256=QBJNJdIE0a9Rr4lo-3QnmEaWyVV068l6HbVPdJ75iZg,8173
|
| 326 |
+
numpy/distutils/cpuinfo.py,sha256=XuNhsx_-tyrui_AOgn10yfZ9p4YBM68vW2_bGmKj07I,22639
|
| 327 |
+
numpy/distutils/exec_command.py,sha256=0EGasX7tM47Q0k8yJA1q-BvIcjV_1UAC-zDmen-j6Lg,10283
|
| 328 |
+
numpy/distutils/extension.py,sha256=YgeB8e2fVc2l_1etuRBv0P8c1NULOz4SaudHgsVBc30,3568
|
| 329 |
+
numpy/distutils/fcompiler/__init__.py,sha256=DqfaiKGVagOFuL0v3VZxZZkRnWWvly0_lYHuLjaZTBo,40625
|
| 330 |
+
numpy/distutils/fcompiler/absoft.py,sha256=yPUHBNZHOr_gxnte16I_X85o1iL9FI4RLHjG9JOuyYU,5516
|
| 331 |
+
numpy/distutils/fcompiler/arm.py,sha256=MCri346qo1bYwjlm32xHRyRl-bAINTlfVIubN6HDz68,2090
|
| 332 |
+
numpy/distutils/fcompiler/compaq.py,sha256=sjU2GKHJGuChtRb_MhnouMqvkIOQflmowFE6ErCWZhE,3903
|
| 333 |
+
numpy/distutils/fcompiler/environment.py,sha256=DOD2FtKDk6O9k6U0h9UKWQ-65wU8z1tSPn3gUlRwCso,3080
|
| 334 |
+
numpy/distutils/fcompiler/fujitsu.py,sha256=yK3wdHoF5qq25UcnIM6FzTXsJGJxdfKa_f__t04Ne7M,1333
|
| 335 |
+
numpy/distutils/fcompiler/g95.py,sha256=FH4uww6re50OUT_BfdoWSLCDUqk8LvmQ2_j5RhF5nLQ,1330
|
| 336 |
+
numpy/distutils/fcompiler/gnu.py,sha256=ag8v_pp-fYpDPKJsVmNaFwN621b1MFQAxew0T1KdE_Y,20502
|
| 337 |
+
numpy/distutils/fcompiler/hpux.py,sha256=gloUjWGo7MgJmukorDq7ZxDnnUKXx-C6AQfryQshVM4,1353
|
| 338 |
+
numpy/distutils/fcompiler/ibm.py,sha256=Ts2PXg2ocrXtX9eguvcHeQ4JB2ktpd5isXtRTpU9F5Y,3534
|
| 339 |
+
numpy/distutils/fcompiler/intel.py,sha256=XYF0GLVhJWjS8noEx4TJ704Eqt-JGBolRZEOkwgNItE,6570
|
| 340 |
+
numpy/distutils/fcompiler/lahey.py,sha256=U63KMfN8zDAd_jnvMkS2N-dvP4UiSRB9Ces290qLNXw,1327
|
| 341 |
+
numpy/distutils/fcompiler/mips.py,sha256=LAwT0DY5yqlYh20hNMYR1-OKu8A9GNw-TbUfI8pvglM,1714
|
| 342 |
+
numpy/distutils/fcompiler/nag.py,sha256=9pQCMUlwjRVHGKwZxvwd4bW5p-9v7VXcflELEImHg1g,2777
|
| 343 |
+
numpy/distutils/fcompiler/none.py,sha256=6RX2X-mV1HuhJZnVfQmDmLVhIUWseIT4P5wf3rdLq9Y,758
|
| 344 |
+
numpy/distutils/fcompiler/nv.py,sha256=LGBQY417zibQ-fnPis5rNtP_I1Qk9OlhEFOnPvmwXHI,1560
|
| 345 |
+
numpy/distutils/fcompiler/pathf95.py,sha256=MiHVar6-beUEYVEpqXORIX4f8G29I47D36kreltdfoQ,1061
|
| 346 |
+
numpy/distutils/fcompiler/pg.py,sha256=NOB1stzrjvQMZS7bIPTgWTcAFe3cjNveA5-SztUZqD0,3568
|
| 347 |
+
numpy/distutils/fcompiler/sun.py,sha256=mfS3RTj9uYT6K9Ikp8RjmsEPIWAtUTzMhX9sGjEyF6I,1577
|
| 348 |
+
numpy/distutils/fcompiler/vast.py,sha256=Xuxa4sNraUPcQmt45SogAfN0kDHFb6C73uNZNmX3RBE,1667
|
| 349 |
+
numpy/distutils/from_template.py,sha256=hpoFQortsLZdMSr_fJILzXzrIwFlZoFjsDSo6jNtvWs,7913
|
| 350 |
+
numpy/distutils/fujitsuccompiler.py,sha256=JDuUUE-GyPahkNnDZLWNHyAmJ2lJPCnLuIUFfHkjMzA,834
|
| 351 |
+
numpy/distutils/intelccompiler.py,sha256=N_pvWjlLORdlH34cs97oU4LBNr_s9r5ddsmme7XEvs4,4234
|
| 352 |
+
numpy/distutils/lib2def.py,sha256=-3rDf9FXsDik3-Qpp-A6N_cYZKTlmVjVi4Jzyo-pSlY,3630
|
| 353 |
+
numpy/distutils/line_endings.py,sha256=a8ZZECrPRffsbs0UygeR47_fOUlZppnx-QPssrIXtB0,2032
|
| 354 |
+
numpy/distutils/log.py,sha256=m8caNBwPhIG7YTnD9iq9jjc6_yJOeU9FHuau2CSulds,2879
|
| 355 |
+
numpy/distutils/mingw/gfortran_vs2003_hack.c,sha256=cbsN3Lk9Hkwzr9c-yOP2xEBg1_ml1X7nwAMDWxGjzc8,77
|
| 356 |
+
numpy/distutils/mingw32ccompiler.py,sha256=4G8t_6plw7xqoF0icDaWGNSBgbyDaHQn3GB5l9gikEA,22067
|
| 357 |
+
numpy/distutils/misc_util.py,sha256=2MxXE4rex_wSUhpLuwxOFeeor-WxZLjisVvXWycNaq4,89359
|
| 358 |
+
numpy/distutils/msvc9compiler.py,sha256=FCtP7g34AVuMIaqQlH8AV1ZBdIUXbk5G7eBeeTSr1zE,2192
|
| 359 |
+
numpy/distutils/msvccompiler.py,sha256=ILookUifVJF9tAtPJoVCqZ673m5od6MVKuAHuA3Rcfk,2647
|
| 360 |
+
numpy/distutils/npy_pkg_config.py,sha256=fIFyWLTqRySO3hn-0i0FNdHeblRN_hDv-wc68-sa3hQ,12972
|
| 361 |
+
numpy/distutils/numpy_distribution.py,sha256=10Urolg1aDAG0EHYfcvObzOgqRV0ARh2GhDklEg4vS0,634
|
| 362 |
+
numpy/distutils/pathccompiler.py,sha256=KnJEA5H4cXg7SLrMjwWtidD24VSvOdu72d17votiY9E,713
|
| 363 |
+
numpy/distutils/setup.py,sha256=l9ke_Bws431UdBfysaq7ZeGtZ8dix76oh9Huq5qqbkU,634
|
| 364 |
+
numpy/distutils/system_info.py,sha256=ukf4jRvuQpsgTfm17a48yL_a3NoVgDb5GhVbH57ZdxY,113927
|
| 365 |
+
numpy/distutils/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 366 |
+
numpy/distutils/tests/test_build_ext.py,sha256=RNrEi-YMTGQG5YDi5GWL8iJRkk_bQHBQKcqp43TdJco,2769
|
| 367 |
+
numpy/distutils/tests/test_ccompiler_opt.py,sha256=N3pN-9gxPY1KvvMEjoXr7kLxTGN8aQOr8qo5gmlrm90,28778
|
| 368 |
+
numpy/distutils/tests/test_ccompiler_opt_conf.py,sha256=maXytv39amuojbQIieIGIXMV4Cv-s0fsPMZeFEh9XyY,6347
|
| 369 |
+
numpy/distutils/tests/test_exec_command.py,sha256=BK-hHfIIrkCep-jNmS5_Cwq5oESvsvX3V_0XDAkT1Ok,7395
|
| 370 |
+
numpy/distutils/tests/test_fcompiler.py,sha256=mJXezTXDUbduhCwVGAfABHpEARWhnj8hLW9EOU3rn84,1277
|
| 371 |
+
numpy/distutils/tests/test_fcompiler_gnu.py,sha256=nmfaFCVzbViIOQ2-MjgXt-bN8Uj674hCgiwr5Iol-_U,2136
|
| 372 |
+
numpy/distutils/tests/test_fcompiler_intel.py,sha256=mxkfFD2rNfg8nn1pp_413S0uCdYXydPWBcz9ilgGkA0,1058
|
| 373 |
+
numpy/distutils/tests/test_fcompiler_nagfor.py,sha256=CKEjik7YVfSJGL4abuctkmlkIUhAhv-x2aUcXiTR9b0,1102
|
| 374 |
+
numpy/distutils/tests/test_from_template.py,sha256=SDYoe0XUpAayyEQDq7ZhrvEEz7U9upJDLYzhcdoVifc,1103
|
| 375 |
+
numpy/distutils/tests/test_log.py,sha256=0tSM4q-00CjbMIRb9QOJzI4A7GHUiRGOG1SOOLz8dnM,868
|
| 376 |
+
numpy/distutils/tests/test_mingw32ccompiler.py,sha256=rMC8-IyBOiuZVfAoklV_KnD9qVeB_hFVvb5dStxfk08,1609
|
| 377 |
+
numpy/distutils/tests/test_misc_util.py,sha256=Qs96vTr8GZSyVCWuamzcNlVMRa15vt0Y-T2yZSUm_QA,3218
|
| 378 |
+
numpy/distutils/tests/test_npy_pkg_config.py,sha256=apGrmViPcXoPCEOgDthJgL13C9N0qQMs392QjZDxJd4,2557
|
| 379 |
+
numpy/distutils/tests/test_shell_utils.py,sha256=UKU_t5oIa_kVMv89Ys9KN6Z_Fy5beqPDUsDAWPmcoR8,2114
|
| 380 |
+
numpy/distutils/tests/test_system_info.py,sha256=wMV7bH5oB0luLDR2tunHrLaUxsD_-sIhLnNpj1blQPs,11405
|
| 381 |
+
numpy/distutils/unixccompiler.py,sha256=fN4-LH6JJp44SLE7JkdG2kKQlK4LC8zuUpVC-RtmJ-U,5426
|
| 382 |
+
numpy/doc/__init__.py,sha256=OYmE-F6x0CD05PCDY2MiW1HLlwB6i9vhDpk-a3r4lHY,508
|
| 383 |
+
numpy/doc/constants.py,sha256=PlXoj7b4A8Aa9nADbg83uzTBRJaX8dvJmEdbn4FDPPo,9155
|
| 384 |
+
numpy/doc/ufuncs.py,sha256=i1alLg19mNyCFZ2LYSOZGm--RsRN1x63U_UYU-N3x60,5357
|
| 385 |
+
numpy/dtypes.py,sha256=BuBztrPQRasUmVZhXr2_NgJujdUTNhNwd59pZZHk3lA,2229
|
| 386 |
+
numpy/dtypes.pyi,sha256=tIHniAYP7ALg2iT7NgSXO67jvE-zRlDod3MazEmD4M8,1315
|
| 387 |
+
numpy/exceptions.py,sha256=7j7tv8cwXGZYgldyMisGmnAxAl2s4YU0vexME81yYlA,7339
|
| 388 |
+
numpy/exceptions.pyi,sha256=KsZqWNvyPUEXUGR9EhZCUQF2f9EVSpBRlJUlGqRT02k,600
|
| 389 |
+
numpy/f2py/__init__.py,sha256=Bw8AsdY1o7Oj-fVMbS8x0lfMsUOjEIwyLKOV0FVCMV8,5227
|
| 390 |
+
numpy/f2py/__init__.pyi,sha256=eA7uYXZr0p0aaz5rBW-EypLx9RchrvqDYtSnkEJQsYw,1087
|
| 391 |
+
numpy/f2py/__main__.py,sha256=6i2jVH2fPriV1aocTY_dUFvWK18qa-zjpnISA-OpF3w,130
|
| 392 |
+
numpy/f2py/__version__.py,sha256=7HHdjR82FCBmftwMRyrlhcEj-8mGQb6oCH-wlUPH4Nw,34
|
| 393 |
+
numpy/f2py/_backends/__init__.py,sha256=7_bA7c_xDpLc4_8vPfH32-Lxn9fcUTgjQ25srdvwvAM,299
|
| 394 |
+
numpy/f2py/_backends/_backend.py,sha256=GKb9-UaFszT045vUgVukPs1n97iyyjqahrWKxLOKNYo,1187
|
| 395 |
+
numpy/f2py/_backends/_distutils.py,sha256=wuUhDmYpPT4Nq-D7Lv1PvttlbTh5kpL5iZkwMAFXb2I,2382
|
| 396 |
+
numpy/f2py/_backends/_meson.py,sha256=SOA5CMhsSP1Oy5MKlFf4V_G_qUxjHhHo2tg7A4vnMok,5124
|
| 397 |
+
numpy/f2py/_backends/meson.build.template,sha256=M4QRFGD_ml_BR4kqbO2j7ZowSp7iBulbzK0V8knvyUo,1295
|
| 398 |
+
numpy/f2py/_isocbind.py,sha256=S8_dfiW8O4Kg8WO0RpI-q1cOO_MPt-6kya0FIq6x6Vg,1364
|
| 399 |
+
numpy/f2py/auxfuncs.py,sha256=ONJO3hZrQOh_hH9LOLUbW-S6gBfkQiQxqPMn5N-5GGY,24374
|
| 400 |
+
numpy/f2py/capi_maps.py,sha256=1Gc102m5KbVXJE6JCRJia0esmYHItqDhjHZniEtvW-4,31248
|
| 401 |
+
numpy/f2py/cb_rules.py,sha256=osSAGP1A4ARNjsfRJmYLkZjrBqaWkQQh5rao8q1vjZw,25039
|
| 402 |
+
numpy/f2py/cfuncs.py,sha256=W9GApLYhWFOua3Fikqv0oKsX88dLuDgK-2URowebvaA,51719
|
| 403 |
+
numpy/f2py/common_rules.py,sha256=jvbAHF1YESIuG-vQRiNwQ8KLwfMyMlX9ZugL-R4Fbtc,5089
|
| 404 |
+
numpy/f2py/crackfortran.py,sha256=WxFQi_aRdXcgqEL9k9CTOnKsd91e2K2hD8v6epUsKfQ,141563
|
| 405 |
+
numpy/f2py/diagnose.py,sha256=0SRXBE2hJgKJN_Rf4Zn00oKXC_Tka3efPWM47zg6BoY,5197
|
| 406 |
+
numpy/f2py/f2py2e.py,sha256=s0OedVk80zR7DyJ0mWW9kWYNlddMYHP1gKZBZms4ctQ,25972
|
| 407 |
+
numpy/f2py/f90mod_rules.py,sha256=Gs08YcZ_i_99-tgHLPah-AX4RKW1vzGBTcoTO42Zybg,9456
|
| 408 |
+
numpy/f2py/func2subr.py,sha256=Cd7rV44qEjOzVEnk_VYkgoQ8TT6LvyTyooGtrQSnDzE,10349
|
| 409 |
+
numpy/f2py/rules.py,sha256=cD2sEEQbgWp5KmC0Oy8gBuckmsu2KwtZH4x4R2mqIq8,62755
|
| 410 |
+
numpy/f2py/setup.cfg,sha256=Fpn4sjqTl5OT5sp8haqKIRnUcTPZNM6MIvUJBU7BIhg,48
|
| 411 |
+
numpy/f2py/setup.py,sha256=RopKBR38sOcIPtgBIf3yie04tVxhQ-4OXzBGu196WUM,2421
|
| 412 |
+
numpy/f2py/src/fortranobject.c,sha256=g4BKDO1_9pCu6hithKXD2oH_Mt-HH1NTnP6leCqJrzc,46017
|
| 413 |
+
numpy/f2py/src/fortranobject.h,sha256=neMKotYWbHvrhW9KXz4QzQ8fzPkiQXLHHjy82vLSeog,5835
|
| 414 |
+
numpy/f2py/symbolic.py,sha256=M9ZiMeGdYnMSRO_TKrlDSltaS5nAiJfatWqMND3T6cw,53002
|
| 415 |
+
numpy/f2py/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 416 |
+
numpy/f2py/tests/src/abstract_interface/foo.f90,sha256=JFU2w98cB_XNwfrqNtI0yDTmpEdxYO_UEl2pgI_rnt8,658
|
| 417 |
+
numpy/f2py/tests/src/abstract_interface/gh18403_mod.f90,sha256=gvQJIzNtvacWE0dhysxn30-iUeI65Hpq7DiE9oRauz8,105
|
| 418 |
+
numpy/f2py/tests/src/array_from_pyobj/wrapmodule.c,sha256=Ff5wHYV9-OJnZuelfFWcjAibRvDkEIlbTVczTyv6TG8,7299
|
| 419 |
+
numpy/f2py/tests/src/assumed_shape/.f2py_f2cmap,sha256=But9r9m4iL7EGq_haMW8IiQ4VivH0TgUozxX4pPvdpE,29
|
| 420 |
+
numpy/f2py/tests/src/assumed_shape/foo_free.f90,sha256=oBwbGSlbr9MkFyhVO2aldjc01dr9GHrMrSiRQek8U64,460
|
| 421 |
+
numpy/f2py/tests/src/assumed_shape/foo_mod.f90,sha256=rfzw3QdI-eaDSl-hslCgGpd5tHftJOVhXvb21Y9Gf6M,499
|
| 422 |
+
numpy/f2py/tests/src/assumed_shape/foo_use.f90,sha256=rmT9k4jP9Ru1PLcGqepw9Jc6P9XNXM0axY7o4hi9lUw,269
|
| 423 |
+
numpy/f2py/tests/src/assumed_shape/precision.f90,sha256=r08JeTVmTTExA-hYZ6HzaxVwBn1GMbPAuuwBhBDtJUk,130
|
| 424 |
+
numpy/f2py/tests/src/block_docstring/foo.f,sha256=y7lPCPu7_Fhs_Tf2hfdpDQo1bhtvNSKRaZAOpM_l3dg,97
|
| 425 |
+
numpy/f2py/tests/src/callback/foo.f,sha256=C1hjfpRCQWiOVVzIHqnsYcnLrqQcixrnHCn8hd9GhVk,1254
|
| 426 |
+
numpy/f2py/tests/src/callback/gh17797.f90,sha256=_Nrl0a2HgUbtymGU0twaJ--7rMa1Uco2A3swbWvHoMo,148
|
| 427 |
+
numpy/f2py/tests/src/callback/gh18335.f90,sha256=NraOyKIXyvv_Y-3xGnmTjtNjW2Znsnlk8AViI8zfovc,506
|
| 428 |
+
numpy/f2py/tests/src/cli/hi77.f,sha256=ttyI6vAP3qLnDqy82V04XmoqrXNM6uhMvvLri2p0dq0,71
|
| 429 |
+
numpy/f2py/tests/src/cli/hiworld.f90,sha256=QWOLPrTxYQu1yrEtyQMbM0fE9M2RmXe7c185KnD5x3o,51
|
| 430 |
+
numpy/f2py/tests/src/common/block.f,sha256=GQ0Pd-VMX3H3a-__f2SuosSdwNXHpBqoGnQDjf8aG9g,224
|
| 431 |
+
numpy/f2py/tests/src/crackfortran/accesstype.f90,sha256=-5Din7YlY1TU7tUHD2p-_DSTxGBpDsWYNeT9WOwGhno,208
|
| 432 |
+
numpy/f2py/tests/src/crackfortran/data_stmts.f90,sha256=vnKlo3rp4ocQ1SvpiTsq4qTx8rWNyvo40NECfcdNzfU,580
|
| 433 |
+
numpy/f2py/tests/src/crackfortran/foo_deps.f90,sha256=CaH7mnWTG7FcnJe2vXN_0zDbMadw6NCqK-JJ2HmDjK8,128
|
| 434 |
+
numpy/f2py/tests/src/crackfortran/gh15035.f,sha256=jJly1AzF5L9VxbVQ0vr-sf4LaUo4eQzJguhuemFxnvg,375
|
| 435 |
+
numpy/f2py/tests/src/crackfortran/gh17859.f,sha256=7K5dtOXGuBDAENPNCt-tAGJqTfNKz5OsqVSk16_e7Es,340
|
| 436 |
+
numpy/f2py/tests/src/crackfortran/gh22648.pyf,sha256=qZHPRNQljIeYNwbqPLxREnOrSdVV14f3fnaHqB1M7c0,241
|
| 437 |
+
numpy/f2py/tests/src/crackfortran/gh23533.f,sha256=w3tr_KcY3s7oSWGDmjfMHv5h0RYVGUpyXquNdNFOJQg,126
|
| 438 |
+
numpy/f2py/tests/src/crackfortran/gh23598.f90,sha256=41W6Ire-5wjJTTg6oAo7O1WZfd1Ug9vvNtNgHS5MhEU,101
|
| 439 |
+
numpy/f2py/tests/src/crackfortran/gh23598Warn.f90,sha256=1v-hMCT_K7prhhamoM20nMU9zILam84Hr-imck_dYYk,205
|
| 440 |
+
numpy/f2py/tests/src/crackfortran/gh23879.f90,sha256=LWDJTYR3t9h1IsrKC8dVXZlBfWX7clLeU006X6Ow8oI,332
|
| 441 |
+
numpy/f2py/tests/src/crackfortran/gh2848.f90,sha256=gPNasx98SIf7Z9ibk_DHiGKCvl7ERtsfoGXiFDT7FbM,282
|
| 442 |
+
numpy/f2py/tests/src/crackfortran/operators.f90,sha256=-Fc-qjW1wBr3Dkvdd5dMTrt0hnjnV-1AYo-NFWcwFSo,1184
|
| 443 |
+
numpy/f2py/tests/src/crackfortran/privatemod.f90,sha256=7bubZGMIn7iD31wDkjF1TlXCUM7naCIK69M9d0e3y-U,174
|
| 444 |
+
numpy/f2py/tests/src/crackfortran/publicmod.f90,sha256=Pnwyf56Qd6W3FUH-ZMgnXEYkb7gn18ptNTdwmGan0Jo,167
|
| 445 |
+
numpy/f2py/tests/src/crackfortran/pubprivmod.f90,sha256=eYpJwBYLKGOxVbKgEqfny1znib-b7uYhxcRXIf7uwXg,165
|
| 446 |
+
numpy/f2py/tests/src/crackfortran/unicode_comment.f90,sha256=aINLh6GlfTwFewxvDoqnMqwuCNb4XAqi5Nj5vXguXYs,98
|
| 447 |
+
numpy/f2py/tests/src/f2cmap/.f2py_f2cmap,sha256=iUOtfHd3OuT1Rz2-yiSgt4uPKGvCt5AzQ1iygJt_yjg,82
|
| 448 |
+
numpy/f2py/tests/src/f2cmap/isoFortranEnvMap.f90,sha256=iJCD8a8MUTmuPuedbcmxW54Nr4alYuLhksBe1sHS4K0,298
|
| 449 |
+
numpy/f2py/tests/src/isocintrin/isoCtests.f90,sha256=JFl_c4GWjOjitoeFcRpCDjc7QxD7HVQFONd7D8oP3zU,475
|
| 450 |
+
numpy/f2py/tests/src/kind/foo.f90,sha256=zIHpw1KdkWbTzbXb73hPbCg4N2Htj3XL8DIwM7seXpo,347
|
| 451 |
+
numpy/f2py/tests/src/mixed/foo.f,sha256=90zmbSHloY1XQYcPb8B5d9bv9mCZx8Z8AMTtgDwJDz8,85
|
| 452 |
+
numpy/f2py/tests/src/mixed/foo_fixed.f90,sha256=pxKuPzxF3Kn5khyFq9ayCsQiolxB3SaNtcWaK5j6Rv4,179
|
| 453 |
+
numpy/f2py/tests/src/mixed/foo_free.f90,sha256=fIQ71wrBc00JUAVUj_r3QF9SdeNniBiMw6Ly7CGgPWU,139
|
| 454 |
+
numpy/f2py/tests/src/module_data/mod.mod,sha256=EkjrU7NTZrOH68yKrz6C_eyJMSFSxGgC2yMQT9Zscek,412
|
| 455 |
+
numpy/f2py/tests/src/module_data/module_data_docstring.f90,sha256=tDZ3fUlazLL8ThJm3VwNGJ75QIlLcW70NnMFv-JA4W0,224
|
| 456 |
+
numpy/f2py/tests/src/negative_bounds/issue_20853.f90,sha256=fdOPhRi7ipygwYCXcda7p_dlrws5Hd2GlpF9EZ-qnck,157
|
| 457 |
+
numpy/f2py/tests/src/parameter/constant_both.f90,sha256=-bBf2eqHb-uFxgo6Q7iAtVUUQzrGFqzhHDNaxwSICfQ,1939
|
| 458 |
+
numpy/f2py/tests/src/parameter/constant_compound.f90,sha256=re7pfzcuaquiOia53UT7qNNrTYu2euGKOF4IhoLmT6g,469
|
| 459 |
+
numpy/f2py/tests/src/parameter/constant_integer.f90,sha256=nEmMLitKoSAG7gBBEQLWumogN-KS3DBZOAZJWcSDnFw,612
|
| 460 |
+
numpy/f2py/tests/src/parameter/constant_non_compound.f90,sha256=IcxESVLKJUZ1k9uYKoSb8Hfm9-O_4rVnlkiUU2diy8Q,609
|
| 461 |
+
numpy/f2py/tests/src/parameter/constant_real.f90,sha256=quNbDsM1Ts2rN4WtPO67S9Xi_8l2cXabWRO00CPQSSQ,610
|
| 462 |
+
numpy/f2py/tests/src/quoted_character/foo.f,sha256=WjC9D9171fe2f7rkUAZUvik9bkIf9adByfRGzh6V0cM,482
|
| 463 |
+
numpy/f2py/tests/src/regression/inout.f90,sha256=CpHpgMrf0bqA1W3Ozo3vInDz0RP904S7LkpdAH6ODck,277
|
| 464 |
+
numpy/f2py/tests/src/return_character/foo77.f,sha256=WzDNF3d_hUDSSZjtxd3DtE-bSx1ilOMEviGyYHbcFgM,980
|
| 465 |
+
numpy/f2py/tests/src/return_character/foo90.f90,sha256=ULcETDEt7gXHRzmsMhPsGG4o3lGrcx-FEFaJsPGFKyA,1248
|
| 466 |
+
numpy/f2py/tests/src/return_complex/foo77.f,sha256=8ECRJkfX82oFvGWKbIrCvKjf5QQQClx4sSEvsbkB6A8,973
|
| 467 |
+
numpy/f2py/tests/src/return_complex/foo90.f90,sha256=c1BnrtWwL2dkrTr7wvlEqNDg59SeNMo3gyJuGdRwcDw,1238
|
| 468 |
+
numpy/f2py/tests/src/return_integer/foo77.f,sha256=_8k1evlzBwvgZ047ofpdcbwKdF8Bm3eQ7VYl2Y8b5kA,1178
|
| 469 |
+
numpy/f2py/tests/src/return_integer/foo90.f90,sha256=bzxbYtofivGRYH35Ang9ScnbNsVERN8-6ub5-eI-LGQ,1531
|
| 470 |
+
numpy/f2py/tests/src/return_logical/foo77.f,sha256=FxiF_X0HkyXHzJM2rLyTubZJu4JB-ObLnVqfZwAQFl8,1188
|
| 471 |
+
numpy/f2py/tests/src/return_logical/foo90.f90,sha256=9KmCe7yJYpi4ftkKOM3BCDnPOdBPTbUNrKxY3p37O14,1531
|
| 472 |
+
numpy/f2py/tests/src/return_real/foo77.f,sha256=ZTrzb6oDrIDPlrVWP3Bmtkbz3ffHaaSQoXkfTGtCuFE,933
|
| 473 |
+
numpy/f2py/tests/src/return_real/foo90.f90,sha256=gZuH5lj2lG6gqHlH766KQ3J4-Ero-G4WpOOo2MG3ohU,1194
|
| 474 |
+
numpy/f2py/tests/src/size/foo.f90,sha256=IlFAQazwBRr3zyT7v36-tV0-fXtB1d7WFp6S1JVMstg,815
|
| 475 |
+
numpy/f2py/tests/src/string/char.f90,sha256=ihr_BH9lY7eXcQpHHDQhFoKcbu7VMOX5QP2Tlr7xlaM,618
|
| 476 |
+
numpy/f2py/tests/src/string/fixed_string.f90,sha256=5n6IkuASFKgYICXY9foCVoqndfAY0AQZFEK8L8ARBGM,695
|
| 477 |
+
numpy/f2py/tests/src/string/gh24008.f,sha256=UA8Pr-_yplfOFmc6m4v9ryFQ8W9OulaglulefkFWD68,217
|
| 478 |
+
numpy/f2py/tests/src/string/scalar_string.f90,sha256=ACxV2i6iPDk-a6L_Bs4jryVKYJMEGUTitEIYTjbJes4,176
|
| 479 |
+
numpy/f2py/tests/src/string/string.f,sha256=shr3fLVZaa6SyUJFYIF1OZuhff8v5lCwsVNBU2B-3pk,248
|
| 480 |
+
numpy/f2py/tests/src/value_attrspec/gh21665.f90,sha256=JC0FfVXsnB2lZHb-nGbySnxv_9VHAyD0mKaLDowczFU,190
|
| 481 |
+
numpy/f2py/tests/test_abstract_interface.py,sha256=C8-ly0_TqkmpQNZmwPHwo2IV2MBH0jQEjAhpqHrg8Y4,832
|
| 482 |
+
numpy/f2py/tests/test_array_from_pyobj.py,sha256=Txff89VUeEhWqUCRVybIqsqH4YQvpk4Uyjmh_XjyMi0,24049
|
| 483 |
+
numpy/f2py/tests/test_assumed_shape.py,sha256=FeaqtrWyBf5uyArcmI0D2e_f763aSMpgU3QmdDXe-tA,1466
|
| 484 |
+
numpy/f2py/tests/test_block_docstring.py,sha256=SEpuq73T9oVtHhRVilFf1xF7nb683d4-Kv7V0kfL4AA,564
|
| 485 |
+
numpy/f2py/tests/test_callback.py,sha256=t129L4PrDSCeGdr4S405XuJjeSKlrNLHlosDsEmz1e0,6152
|
| 486 |
+
numpy/f2py/tests/test_character.py,sha256=ebQB2uI2Tkd8B9wGusEF0UCbCA5zhITnMBf6f-AfB4M,20653
|
| 487 |
+
numpy/f2py/tests/test_common.py,sha256=SZlrUR1e_CbkUD4O6i99QgUmOctHQNP0MmyhMWpio5E,584
|
| 488 |
+
numpy/f2py/tests/test_compile_function.py,sha256=9d_FZ8P2wbIlQ2qPDRrsFqPb4nMH8tiWqYZN-P_shCs,4186
|
| 489 |
+
numpy/f2py/tests/test_crackfortran.py,sha256=y1x3U-jlQWD5rmTXz1I2RlTz7LEfbI6qxCDkR5fzPwY,13441
|
| 490 |
+
numpy/f2py/tests/test_data.py,sha256=SuhvnnionrhY3lReM1TD5vAJ902j24Phi8qo7gs6kk4,1487
|
| 491 |
+
numpy/f2py/tests/test_docs.py,sha256=jqtuHE5ZjxP4D8Of3Fkzz36F8_0qKbeS040_m0ac4v4,1662
|
| 492 |
+
numpy/f2py/tests/test_f2cmap.py,sha256=p-Sylbr3ctdKT3UQV9FzpCuYPH5U7Vyn8weXFAjiI9o,391
|
| 493 |
+
numpy/f2py/tests/test_f2py2e.py,sha256=6l26S9EpN9I_0ymtq9q8DPIL9DzkJb3J5aQVS5g-wpk,21570
|
| 494 |
+
numpy/f2py/tests/test_isoc.py,sha256=RiGC0JHIeLa15eY5uGsZXhJrmb__0cXqQALEO9zeZf4,449
|
| 495 |
+
numpy/f2py/tests/test_kind.py,sha256=aOMQSBoD_dw49acKN25_abEvQBLI27DsnWIb9CNpSAE,1671
|
| 496 |
+
numpy/f2py/tests/test_mixed.py,sha256=Ctuw-H7DxhPjSt7wZdJ2xffawIoEBCPWc5F7PSkY4HY,848
|
| 497 |
+
numpy/f2py/tests/test_module_doc.py,sha256=sjCXWIKrqMD1NQ1DUAzgQqkjS5w9h9gvM_Lj29Rdcrg,863
|
| 498 |
+
numpy/f2py/tests/test_parameter.py,sha256=ADI7EV_CM4ztICpqHqeq8LI-WdB6cX0ttatdRdjbsUA,3941
|
| 499 |
+
numpy/f2py/tests/test_quoted_character.py,sha256=cpjMdrHwimnkoJkXd_W_FSlh43oWytY5VHySW9oskO4,454
|
| 500 |
+
numpy/f2py/tests/test_regression.py,sha256=19GNZxElsPX1HV0p5pXrh4_KWt0whjeZTLDEttA0aHI,2157
|
| 501 |
+
numpy/f2py/tests/test_return_character.py,sha256=18HJtiRwQ7a_2mdPUonD5forKWZJEapD-Vi1DsbTjVs,1493
|
| 502 |
+
numpy/f2py/tests/test_return_complex.py,sha256=BZIIqQ1abdiPLgVmu03_q37yCtND0ijxGSMhGz2Wf-o,2397
|
| 503 |
+
numpy/f2py/tests/test_return_integer.py,sha256=t--9UsdLF9flLTQv7a0KTSVoBuoDtTnmOG2QIFPINVc,1758
|
| 504 |
+
numpy/f2py/tests/test_return_logical.py,sha256=XCmp8E8I6BOeNYF59HjSFAdv1hM9WaDvl8UDS10_05o,2017
|
| 505 |
+
numpy/f2py/tests/test_return_real.py,sha256=ATek5AM7dCCPeIvoMOQIt5yFNFzKrFb1Kno8B4M0rn4,3235
|
| 506 |
+
numpy/f2py/tests/test_semicolon_split.py,sha256=_Mdsi84lES18pPjl9J-QsbGttV4tPFFjZvJvejNcqPc,1635
|
| 507 |
+
numpy/f2py/tests/test_size.py,sha256=q6YqQvcyqdXJeWbGijTiCbxyEG3EkPcvT8AlAW6RCMo,1164
|
| 508 |
+
numpy/f2py/tests/test_string.py,sha256=5xZOfdReoHnId0950XfmtfduPPfBbtMkzBoXMtygvMk,2962
|
| 509 |
+
numpy/f2py/tests/test_symbolic.py,sha256=28quk2kTKfWhKe56n4vINJ8G9weKBfc7HysMlE9J3_g,18341
|
| 510 |
+
numpy/f2py/tests/test_value_attrspec.py,sha256=rWwJBfE2qGzqilZZurJ-7ucNoJDICye6lLetQSLFees,323
|
| 511 |
+
numpy/f2py/tests/util.py,sha256=F0fs80ln4tV6THNXfv-DXBqViEg9wu6lTelQQTSzHaI,11136
|
| 512 |
+
numpy/f2py/use_rules.py,sha256=5t6X17rF6y42SwuUYe1LtNihJJEIgCU7f9jPqKphfgA,3587
|
| 513 |
+
numpy/fft/__init__.py,sha256=HqjmF6s_dh0Ri4UZzUDtOKbNUyfAfJAWew3e3EL_KUk,8175
|
| 514 |
+
numpy/fft/__init__.pyi,sha256=vD9Xzz5r13caF4AVL87Y4U9KOj9ic25Vci_wb3dmgpk,550
|
| 515 |
+
numpy/fft/_pocketfft.py,sha256=Xkm8wcP4JyBNMbp0ZoHIWhNDlgliX24RzrDuo29uRks,52897
|
| 516 |
+
numpy/fft/_pocketfft.pyi,sha256=S6-ylUuHbgm8vNbh7tLru6K2R5SJzE81BC_Sllm6QrQ,2371
|
| 517 |
+
numpy/fft/_pocketfft_internal.cpython-311-x86_64-linux-gnu.so,sha256=w2pDSZMizgUEm4qTDXTvKxP5oqdEzZ42AE4anGWB8Uo,97056
|
| 518 |
+
numpy/fft/helper.py,sha256=aNj1AcLvtfoX26RiLOwcR-k2QSMuBZkGj2Fu0CeFPJs,6154
|
| 519 |
+
numpy/fft/helper.pyi,sha256=NLTEjy2Gz1aAMDZwCgssIyUne0ubjJqukfYkpsL3gXM,1176
|
| 520 |
+
numpy/fft/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 521 |
+
numpy/fft/tests/test_helper.py,sha256=whgeaQ8PzFf3B1wkbXobGZ5sF4WxPp4gf1UPUVZest8,6148
|
| 522 |
+
numpy/fft/tests/test_pocketfft.py,sha256=RdeCCvUQmJYVvccOJwToobTKDg9yzUL06o9MkPmRfmI,12895
|
| 523 |
+
numpy/lib/__init__.py,sha256=XMPNJkG_mQ__xuvbf0OcpotgMbA9owt10ZHYVnYHq8E,2713
|
| 524 |
+
numpy/lib/__init__.pyi,sha256=y5ANokFm7EkrlNoHdeQm1FsUhLFxkYtLuanCbsWrGio,5596
|
| 525 |
+
numpy/lib/_datasource.py,sha256=CDF3im6IxdY3Mu6fwRQmkSEBmXS3kQVInQ4plXsoX9c,22631
|
| 526 |
+
numpy/lib/_iotools.py,sha256=Yg9HCfPg4tbhbdgLPcxSMiZXq1xDprvJKLebLwhDszY,30868
|
| 527 |
+
numpy/lib/_version.py,sha256=6vK7czNSB_KrWx2rZJzJ1pyOc73Q07hAgfLB5ItUCnU,4855
|
| 528 |
+
numpy/lib/_version.pyi,sha256=B572hyWrUWG-TAAAXrNNAT4AgyUAmJ4lvgpwMkDzunk,633
|
| 529 |
+
numpy/lib/arraypad.py,sha256=bKP7ZS9NYFYzqSk8OnpFLFrMsua4m_hcqFsi7cGkrJE,31803
|
| 530 |
+
numpy/lib/arraypad.pyi,sha256=ADXphtAORYl3EqvE5qs_u32B_TALKSOtF43jOLmoxRw,1728
|
| 531 |
+
numpy/lib/arraysetops.py,sha256=GJ2RhkzIJmIbwyG6h3LOFTPXg62kM9tcV1a-7tdbVuU,33655
|
| 532 |
+
numpy/lib/arraysetops.pyi,sha256=6X-5l5Yss_9y10LYyIsDLbGX77vt7PtVLDqxOlSRPfY,8372
|
| 533 |
+
numpy/lib/arrayterator.py,sha256=BQ97S00zvfURUZfes0GZo-5hydYNRuvwX1I1bLzeRik,7063
|
| 534 |
+
numpy/lib/arrayterator.pyi,sha256=f7Pwp83_6DiMYmJGUsffncM-FRAynB1iYGvhmHM_SZE,1537
|
| 535 |
+
numpy/lib/format.py,sha256=T8qJMyG2DDVjjYNNpUvBgfA9tCo23IS0w9byRB6twwQ,34769
|
| 536 |
+
numpy/lib/format.pyi,sha256=YWBxC3GdsZ7SKBN8I7nMwWeVuFD1aT9d-VJ8zE4-P-o,748
|
| 537 |
+
numpy/lib/function_base.py,sha256=G8I3G6wqJv_tcvimu3iwdqh-39EDI-FlDEVd2dqjvsM,189103
|
| 538 |
+
numpy/lib/function_base.pyi,sha256=KWaC5UOBANU4hiIoN2eptE4HYsm4vgp_8BMFV1Y3JX4,16585
|
| 539 |
+
numpy/lib/histograms.py,sha256=xsj_qpaZoI2Bv1FBpY8mIMPJrYRiuIBszn_6kO7YFRA,37778
|
| 540 |
+
numpy/lib/histograms.pyi,sha256=hNwR2xYWkgJCP-nfRGxc-EgHLTD3qm4zmWXthZLt08M,995
|
| 541 |
+
numpy/lib/index_tricks.py,sha256=4PEvXk6VFTkttMViYBVC4yDhyOiKIon6JpIm0d_CmNg,31346
|
| 542 |
+
numpy/lib/index_tricks.pyi,sha256=D2nkNXOB9Vea1PfMaTn94OGBGayjTaQ-bKMsjDmYpak,4251
|
| 543 |
+
numpy/lib/mixins.py,sha256=y6_MzQuiNjv-1EFVROqv2y2cAJi5X4rQYzbZCyUyXgw,7071
|
| 544 |
+
numpy/lib/mixins.pyi,sha256=h9N1kbZsUntF0zjOxPYeD_rCB2dMiG35TYYPl9ymkI4,3117
|
| 545 |
+
numpy/lib/nanfunctions.py,sha256=6EjzydZlugIzfiENKtC4ycZ2Nckt8ZQg5v6D6tX1SiU,65775
|
| 546 |
+
numpy/lib/nanfunctions.pyi,sha256=oPqAfCinmBL85Ji7ko4QlzAzLAK9nZL0t2_CllEbCEU,606
|
| 547 |
+
numpy/lib/npyio.py,sha256=NUjtFvAmPdTjwJQ-ia-xbCr849M_M6NilP5IHfkKaRg,97316
|
| 548 |
+
numpy/lib/npyio.pyi,sha256=SUFWJh90vWZCdd6GCSGbfYeXKlWut0XY_SHvZJc8yqY,9728
|
| 549 |
+
numpy/lib/polynomial.py,sha256=6Aw3_2vdbh4urERQ6NaPhf9a_T1o1o6cjm3fb5Z3_YE,44133
|
| 550 |
+
numpy/lib/polynomial.pyi,sha256=GerIpQnf5LdtFMOy9AxhOTqUyfn57k4MxqEYrfdckWE,6958
|
| 551 |
+
numpy/lib/recfunctions.py,sha256=-90AbWWvVFOqVUPLh9K9NYdKUHYIgSEyg2Y35MnOVUA,59423
|
| 552 |
+
numpy/lib/scimath.py,sha256=T4ITysZgqhY1J8IxyXCtioHjMTg2ci-4i3mr9TBF2UA,15037
|
| 553 |
+
numpy/lib/scimath.pyi,sha256=E2roKJzMFwWSyhLu8UPUr54WOpxF8jp_pyXYBgsUSQ8,2883
|
| 554 |
+
numpy/lib/setup.py,sha256=0K5NJKuvKvNEWp-EX7j0ODi3ZQQgIMHobzSFJq3G7yM,405
|
| 555 |
+
numpy/lib/shape_base.py,sha256=AhCO9DEyysE-P-QJF9ryUtJ1ghU4_0mORhAJ59poObU,38947
|
| 556 |
+
numpy/lib/shape_base.pyi,sha256=bGJhLA_RvUpVTiDFgCV-1rUjV8e1qCh0gK_3PLgXA_U,5341
|
| 557 |
+
numpy/lib/stride_tricks.py,sha256=brY5b-0YQJuIH2CavfpIinMolyTUv5k9DUvLoZ-imis,17911
|
| 558 |
+
numpy/lib/stride_tricks.pyi,sha256=0pQ4DP9l6g21q2Ajv6dJFRWMr9auPGTNV9BmZUbogPY,1747
|
| 559 |
+
numpy/lib/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 560 |
+
numpy/lib/tests/data/py2-objarr.npy,sha256=F4cyUC-_TB9QSFLAo2c7c44rC6NUYIgrfGx9PqWPSKk,258
|
| 561 |
+
numpy/lib/tests/data/py2-objarr.npz,sha256=xo13HBT0FbFZ2qvZz0LWGDb3SuQASSaXh7rKfVcJjx4,366
|
| 562 |
+
numpy/lib/tests/data/py3-objarr.npy,sha256=pTTVh8ezp-lwAK3fkgvdKU8Arp5NMKznVD-M6Ex_uA0,341
|
| 563 |
+
numpy/lib/tests/data/py3-objarr.npz,sha256=qQR0gS57e9ta16d_vCQjaaKM74gPdlwCPkp55P-qrdw,449
|
| 564 |
+
numpy/lib/tests/data/python3.npy,sha256=X0ad3hAaLGXig9LtSHAo-BgOvLlFfPYMnZuVIxRmj-0,96
|
| 565 |
+
numpy/lib/tests/data/win64python2.npy,sha256=agOcgHVYFJrV-nrRJDbGnUnF4ZTPYXuSeF-Mtg7GMpc,96
|
| 566 |
+
numpy/lib/tests/test__datasource.py,sha256=65KXfUUvp8wXSqgQisuYlkhg-qHjBV5FXYetL8Ba-rc,10571
|
| 567 |
+
numpy/lib/tests/test__iotools.py,sha256=HerCqvDE07JxjFQlWEfpZO7lC9z0Sbr3z20GSutoCPs,13743
|
| 568 |
+
numpy/lib/tests/test__version.py,sha256=aO3YgkAohLsLzCNQ7vjIwdpFUMz0cPLbcuuxIkjuN74,1999
|
| 569 |
+
numpy/lib/tests/test_arraypad.py,sha256=obohHbyM0gPYPUkd7iJSOSiDqyqtJsjDNtQX68NC4lM,54830
|
| 570 |
+
numpy/lib/tests/test_arraysetops.py,sha256=5-T1MVhfIMivat8Z47GZw0ZaR811W_FskM1bAXnFyLU,35912
|
| 571 |
+
numpy/lib/tests/test_arrayterator.py,sha256=AYs2SwV5ankgwnvKI9RSO1jZck118nu3SyZ4ngzZNso,1291
|
| 572 |
+
numpy/lib/tests/test_financial_expired.py,sha256=yq5mqGMvqpkiiw9CuZhJgrYa7Squj1mXr_G-IvAFgwI,247
|
| 573 |
+
numpy/lib/tests/test_format.py,sha256=xV0oi1eoRnVwAAhSOcPFQHQWF7TfsROtDYShQLPtdaA,41028
|
| 574 |
+
numpy/lib/tests/test_function_base.py,sha256=tqIwgkd-4uWZlHCQ-7eplJuFXvSD_oWMD8Bibc8-ptk,157726
|
| 575 |
+
numpy/lib/tests/test_histograms.py,sha256=LGw-qIpq94gfP7Qtom5QzC5yRym3fYw97_hTDuyZjB0,32734
|
| 576 |
+
numpy/lib/tests/test_index_tricks.py,sha256=Vjz25Y6H_ih0iEE2AG0kaxO9U8PwcXSrofzqnN4XBwI,20256
|
| 577 |
+
numpy/lib/tests/test_io.py,sha256=3Tow1pucrQ7z7osNN4a2grBYUoBGNkQEhjmCjXT6Vag,107891
|
| 578 |
+
numpy/lib/tests/test_loadtxt.py,sha256=gwcDJDJmLJRMLpg322yjQ1IzI505w9EqJoq4DmDPCdI,38560
|
| 579 |
+
numpy/lib/tests/test_mixins.py,sha256=Wivwz3XBWsEozGzrzsyyvL3qAuE14t1BHk2LPm9Z9Zc,7030
|
| 580 |
+
numpy/lib/tests/test_nanfunctions.py,sha256=01r_mmTCvKVdZuOGTEHNDZXrMS724us_jwZANzCd74A,47609
|
| 581 |
+
numpy/lib/tests/test_packbits.py,sha256=OWGAd5g5GG0gl7WHqNfwkZ7G-2rrtLt2sI854PG4nnw,17546
|
| 582 |
+
numpy/lib/tests/test_polynomial.py,sha256=URouxJpr8FQ5hiKybqhtOcLA7e-3hj4kWzjLBROByyA,11395
|
| 583 |
+
numpy/lib/tests/test_recfunctions.py,sha256=6jzouPEQ7Uhtj8_-W5yTI6ymNp2nLgmdHzxdd74jVuM,44001
|
| 584 |
+
numpy/lib/tests/test_regression.py,sha256=KzGFkhTcvEG97mymoOQ2hP2CEr2nPZou0Ztf4-WaXCs,8257
|
| 585 |
+
numpy/lib/tests/test_shape_base.py,sha256=2iQCEFR6evVpF8woaenxUOzooHkfuMYkBaUj8ecyJ-E,26817
|
| 586 |
+
numpy/lib/tests/test_stride_tricks.py,sha256=wprpWWH5eq07DY7rzG0WDv5fMtLxzRQz6fm6TZWlScQ,22849
|
| 587 |
+
numpy/lib/tests/test_twodim_base.py,sha256=ll-72RhqCItIPB97nOWhH7H292h4nVIX_w1toKTPMUg,18841
|
| 588 |
+
numpy/lib/tests/test_type_check.py,sha256=lxCH5aApWVYhhSoDQSLDTCHLVHuK2c-jBbnfnZUrOaA,15114
|
| 589 |
+
numpy/lib/tests/test_ufunclike.py,sha256=4hSnXGlSC8HE-_pRRMzD8-HI4hGHqsAWu1pD0o2kPI0,2982
|
| 590 |
+
numpy/lib/tests/test_utils.py,sha256=RVAxrzSFu6N3C4_jIgAlTDOWF_B7wr2v1Y20dX5upYM,6218
|
| 591 |
+
numpy/lib/twodim_base.py,sha256=Mvzn_PyShIb9m7nJjJ4IetdxwmLYEsCPHvJoK7n2viU,32947
|
| 592 |
+
numpy/lib/twodim_base.pyi,sha256=xFRcEVJdDj4mrXW_6iVP1lTMoJx4QJjYRD3o2_9f2eY,5370
|
| 593 |
+
numpy/lib/type_check.py,sha256=_EOtB296nFYlNT7ztBYoC_yK9aycIb0KTmRjvzVdZNg,19954
|
| 594 |
+
numpy/lib/type_check.pyi,sha256=LPvAvIxU-p5i_Qe-ic7hEvo4OTfSrNpplxMG7OAZe8Q,5571
|
| 595 |
+
numpy/lib/ufunclike.py,sha256=_ceBGbGCMOd3u_h2UVzyaRK6ZY7ryoJ0GJB7zqcJG3w,6325
|
| 596 |
+
numpy/lib/ufunclike.pyi,sha256=hLxcYfQprh1tTY_UO2QscA3Hd9Zd7cVGXIINZLhMFqY,1293
|
| 597 |
+
numpy/lib/user_array.py,sha256=LE958--CMkBI2r3l1SQxmCHdCSw6HY6-RhWCnduzGA4,7721
|
| 598 |
+
numpy/lib/utils.py,sha256=6NdleaELZiqARdj-ECZjxtwLf1bqklOcK43m9yoZefs,37804
|
| 599 |
+
numpy/lib/utils.pyi,sha256=mVHVzWuc2-M3Oz60lFsbok0v8LH_HRHMjZpXwrtzF_c,2360
|
| 600 |
+
numpy/linalg/__init__.py,sha256=mpdlEXWtTvpF7In776ONLwp6RIyo4U_GLPT1L1eIJnw,1813
|
| 601 |
+
numpy/linalg/__init__.pyi,sha256=XBy4ocuypsRVflw_mbSTUhR4N5Roemu6w5SfeVwbkAc,620
|
| 602 |
+
numpy/linalg/_umath_linalg.cpython-311-x86_64-linux-gnu.so,sha256=s0q50ZA8PbldpZuWVapl8s5JQDdyeVCoKi6TjigkfYo,196313
|
| 603 |
+
numpy/linalg/lapack_lite.cpython-311-x86_64-linux-gnu.so,sha256=7Ec6jGxWKMdCrPoAs79grW11ilmlppggG6NBcrtaFB0,29873
|
| 604 |
+
numpy/linalg/linalg.py,sha256=kDVK1GBxbUjlRgxXCoEfkRJm8yrNr1Iu7hMn2rKK8RE,90923
|
| 605 |
+
numpy/linalg/linalg.pyi,sha256=zD9U5BUCB1uQggSxfZaTGX_uB2Hkp75sttGmZbCGgBI,7505
|
| 606 |
+
numpy/linalg/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 607 |
+
numpy/linalg/tests/test_deprecations.py,sha256=9p_SRmtxj2zc1doY9Ie3dyy5JzWy-tCQWFoajcAJUmM,640
|
| 608 |
+
numpy/linalg/tests/test_linalg.py,sha256=rgvmK6Or70u8mN04puetL3FgSxZ8fJrOlI5ptTgCU5k,78085
|
| 609 |
+
numpy/linalg/tests/test_regression.py,sha256=qbugUmrENybkEaM1GhfA01RXQUy8AkzalbrfzSIgUmM,5434
|
| 610 |
+
numpy/ma/API_CHANGES.txt,sha256=F_4jW8X5cYBbzpcwteymkonTmvzgKKY2kGrHF1AtnrI,3405
|
| 611 |
+
numpy/ma/LICENSE,sha256=BfO4g1GYjs-tEKvpLAxQ5YdcZFLVAJoAhMwpFVH_zKY,1593
|
| 612 |
+
numpy/ma/README.rst,sha256=q-gCsZ4Cw_gUGGvEjog556sJUHIm8WTAwkFK5Qnz9XA,9872
|
| 613 |
+
numpy/ma/__init__.py,sha256=dgP0WdnOpph28Fd6UiqoyDKhfrct0H6QWqbCcETsk6M,1404
|
| 614 |
+
numpy/ma/__init__.pyi,sha256=ppCg_TS0POutNB3moJE4kBabWURnc0WGXyYPquXZxS4,6063
|
| 615 |
+
numpy/ma/core.py,sha256=4MglVRJtmQ9_iIVaQ2b-_Vmw1TjAhEsMJdtKOhyBFXQ,278213
|
| 616 |
+
numpy/ma/core.pyi,sha256=YfgyuBuKxZ5v4I2JxZDvCLhnztOCRgzTeDg-JGTon_M,14305
|
| 617 |
+
numpy/ma/extras.py,sha256=MC7QPS34PC4wxNbOp7pTy57dqF9B-L6L1KMI6rrfe2w,64383
|
| 618 |
+
numpy/ma/extras.pyi,sha256=BBsiCZbaPpGCY506fkmqZdBkJNCXcglc3wcSBuAACNk,2646
|
| 619 |
+
numpy/ma/mrecords.py,sha256=degd6dLaDEvEWNHmvSnUZXos1csIzaqjR_jAutm8JfI,27232
|
| 620 |
+
numpy/ma/mrecords.pyi,sha256=r1a2I662ywnhGS6zvfcyK-9RHVvb4sHxiCx9Dhf5AE4,1934
|
| 621 |
+
numpy/ma/setup.py,sha256=MqmMicr_xHkAGoG-T7NJ4YdUZIJLO4ZFp6AmEJDlyhw,418
|
| 622 |
+
numpy/ma/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 623 |
+
numpy/ma/tests/test_core.py,sha256=xd5S3oa0jObo8jnsJk0-o46d-KNC3RtgNRKinJeY_kE,215100
|
| 624 |
+
numpy/ma/tests/test_deprecations.py,sha256=nq_wFVt2EBHcT3AHxattfKXx2JDf1K5D-QBzUU0_15A,2566
|
| 625 |
+
numpy/ma/tests/test_extras.py,sha256=lX4cbdGDEXaBHzA3q8hJxve4635XCJw4AP7FO7zhOfk,74858
|
| 626 |
+
numpy/ma/tests/test_mrecords.py,sha256=PsJhUlABgdpSsPUeijonfyFNqz5AfNSGQTtJUte7yts,19890
|
| 627 |
+
numpy/ma/tests/test_old_ma.py,sha256=h4BncexBcBigqvZMA6RjDjpHPurWtt99A7KTag2rmOs,32690
|
| 628 |
+
numpy/ma/tests/test_regression.py,sha256=foMpI0luAvwkkRpAfPDV_810h1URISXDZhmaNhxb50k,3287
|
| 629 |
+
numpy/ma/tests/test_subclassing.py,sha256=HeTIE_n1I8atwzF8tpvNtGHp-0dmM8PT8AS4IDWbcso,16967
|
| 630 |
+
numpy/ma/testutils.py,sha256=RQw0RyS7hOSVTk4KrCGleq0VHlnDqzwwaLtuZbRE4_I,10235
|
| 631 |
+
numpy/ma/timer_comparison.py,sha256=pIGSZG-qYYYlRWSTgzPlyCAINbGKhXrZrDZBBjiM080,15658
|
| 632 |
+
numpy/matlib.py,sha256=-54vTuGIgeTMg9ZUmElRPZ4Hr-XZ-om9xLzAsSoTvnc,10465
|
| 633 |
+
numpy/matrixlib/__init__.py,sha256=BHBpQKoQv4EjT0UpWBA-Ck4L5OsMqTI2IuY24p-ucXk,242
|
| 634 |
+
numpy/matrixlib/__init__.pyi,sha256=-t3ZuvbzRuRwWfZOeN4xlNWdm7gQEprhUsWzu8MRvUE,252
|
| 635 |
+
numpy/matrixlib/defmatrix.py,sha256=JXdJGm1LayOOXfKpp7OVZfb0pzzP4Lwh45sTJrleALc,30656
|
| 636 |
+
numpy/matrixlib/defmatrix.pyi,sha256=lmBMRahKcMOl2PHDo79J67VRAZOkI54BzfDaTLpE0LI,451
|
| 637 |
+
numpy/matrixlib/setup.py,sha256=1r7JRkSM4HyVorgtjoKJGWLcOcPO3wmvivpeEsVtAEg,426
|
| 638 |
+
numpy/matrixlib/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 639 |
+
numpy/matrixlib/tests/test_defmatrix.py,sha256=8E_-y7VD2vsq1y8CcI8km37pp5qcAtkciO16xqf2UIs,14982
|
| 640 |
+
numpy/matrixlib/tests/test_interaction.py,sha256=PpjmgjEKighDXvt38labKE6L7f2jP74UEmp3JRb_iOY,11875
|
| 641 |
+
numpy/matrixlib/tests/test_masked_matrix.py,sha256=7YO_LCO8DOhW3CuXJuxH93rnmttfvHnU7El-MBzxzFw,8932
|
| 642 |
+
numpy/matrixlib/tests/test_matrix_linalg.py,sha256=ObbSUXU4R2pWajH__xAdizADrU2kBKDDCxkDV-oVBXc,2059
|
| 643 |
+
numpy/matrixlib/tests/test_multiarray.py,sha256=jB3XCBmAtcqf-Wb9PwBW6uIykPpMPthuXLJ0giTKzZE,554
|
| 644 |
+
numpy/matrixlib/tests/test_numeric.py,sha256=MP70qUwgshTtThKZaZDp7_6U-Z66NIV1geVhasGXejQ,441
|
| 645 |
+
numpy/matrixlib/tests/test_regression.py,sha256=8sHDtO8Zi8p3a1eQKEWxtCmKrXmHoD3qxlIokg2AIAU,927
|
| 646 |
+
numpy/polynomial/__init__.py,sha256=braLh6zP2QwuNKRKAaZGdC_qKWZ-tJlc3BN83LeuE_0,6781
|
| 647 |
+
numpy/polynomial/__init__.pyi,sha256=W8szYtVUy0RUi83jmFLK58BN8CKVSoHA2CW7IcdUl1c,701
|
| 648 |
+
numpy/polynomial/_polybase.py,sha256=YEnnQwlTgbn3dyD89ueraUx5nxx3x_pH6K6mmyEmhi8,39271
|
| 649 |
+
numpy/polynomial/_polybase.pyi,sha256=J7yU9PPZW4W8mkqAltDfnL4ZNwljuM-bDEj4DPTJZpY,2321
|
| 650 |
+
numpy/polynomial/chebyshev.py,sha256=NZCKjIblcX99foqZyp51i0_r8p0r1VKVGZFmQ1__kEk,62796
|
| 651 |
+
numpy/polynomial/chebyshev.pyi,sha256=035CNdOas4dnb6lFLzRiBrYT_VnWh2T1-A3ibm_HYkI,1387
|
| 652 |
+
numpy/polynomial/hermite.py,sha256=t5CFM-qE4tszYJiQZ301VcMn7IM67y2rUZPFPtnVRAc,52514
|
| 653 |
+
numpy/polynomial/hermite.pyi,sha256=hdsvTULow8bIjnATudf0i6brpLHV7vbOoHzaMvbjMy0,1217
|
| 654 |
+
numpy/polynomial/hermite_e.py,sha256=jRR3f8Oth8poV2Ix8c0eLEQR3UZary-2RupOrEAEUMY,52642
|
| 655 |
+
numpy/polynomial/hermite_e.pyi,sha256=zV7msb9v9rV0iv_rnD3SjP-TGyc6pd3maCqiPCj3PbA,1238
|
| 656 |
+
numpy/polynomial/laguerre.py,sha256=mcVw0ckWVX-kzJ1QIhdcuuxzPjuFmA3plQLkloQMOYM,50858
|
| 657 |
+
numpy/polynomial/laguerre.pyi,sha256=Gxc9SLISNKMWrKdsVJ9fKFFFwfxxZzfF-Yc-2r__z5M,1178
|
| 658 |
+
numpy/polynomial/legendre.py,sha256=wjtgFajmKEbYkSUk3vWSCveMHDP6UymK28bNUk4Ov0s,51550
|
| 659 |
+
numpy/polynomial/legendre.pyi,sha256=9dmANwkxf7EbOHV3XQBPoaDtc56cCkf75Wo7FG9Zfj4,1178
|
| 660 |
+
numpy/polynomial/polynomial.py,sha256=XsaZPHmLGJFqpJs7rPvO5E0loWQ1L3YHLIUybVu4dU8,49112
|
| 661 |
+
numpy/polynomial/polynomial.pyi,sha256=bOPRnub4xXxsUwNGeiQLTT4PCfN1ysSrf6LBZIcAN2Y,1132
|
| 662 |
+
numpy/polynomial/polyutils.py,sha256=Xy5qjdrjnRaqSlClG1ROmwWccLkAPC7IcHaNJLvhCf4,23237
|
| 663 |
+
numpy/polynomial/polyutils.pyi,sha256=cFAyZ9Xzuw8Huhn9FEz4bhyD00m2Dp-2DiUSyogJwSo,264
|
| 664 |
+
numpy/polynomial/setup.py,sha256=dXQfzVUMP9OcB6iKv5yo1GLEwFB3gJ48phIgo4N-eM0,373
|
| 665 |
+
numpy/polynomial/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 666 |
+
numpy/polynomial/tests/test_chebyshev.py,sha256=6tMsFP1h7K8Zf72mNOta6Tv52_fVTlXknseuffj080c,20522
|
| 667 |
+
numpy/polynomial/tests/test_classes.py,sha256=DFyY2IQBj3r2GZkvbRIeZO2EEY466xbuwc4PShAl4Sw,18331
|
| 668 |
+
numpy/polynomial/tests/test_hermite.py,sha256=N9b2dx2UWPyja5v02dSoWYPnKvb6H-Ozgtrx-xjWz2k,18577
|
| 669 |
+
numpy/polynomial/tests/test_hermite_e.py,sha256=_A3ohAWS4HXrQG06S8L47dImdZGTwYosCXnoyw7L45o,18911
|
| 670 |
+
numpy/polynomial/tests/test_laguerre.py,sha256=BZOgs49VBXOFBepHopxuEDkIROHEvFBfWe4X73UZhn8,17511
|
| 671 |
+
numpy/polynomial/tests/test_legendre.py,sha256=b_bblHs0F_BWw9ESuSq52ZsLKcQKFR5eqPf_SppWFqo,18673
|
| 672 |
+
numpy/polynomial/tests/test_polynomial.py,sha256=4cuO8-5wdIxcz5CrucB5Ix7ySuMROokUF12F7ogQ_hc,20529
|
| 673 |
+
numpy/polynomial/tests/test_polyutils.py,sha256=IxkbVfpcBqe5lOZluHFUPbLATLu1rwVg7ghLASpfYrY,3579
|
| 674 |
+
numpy/polynomial/tests/test_printing.py,sha256=rfP4MaQbjGcO52faHmYrgsaarkm3Ndi3onwr6DDuapE,20525
|
| 675 |
+
numpy/polynomial/tests/test_symbol.py,sha256=msTPv7B1niaKujU33kuZmdxJvLYvOjfl1oykmlL0dXo,5371
|
| 676 |
+
numpy/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 677 |
+
numpy/random/LICENSE.md,sha256=EDFmtiuARDr7nrNIjgUuoGvgz_VmuQjxmeVh_eSa8Z8,3511
|
| 678 |
+
numpy/random/__init__.pxd,sha256=9JbnX540aJNSothGs-7e23ozhilG6U8tINOUEp08M_k,431
|
| 679 |
+
numpy/random/__init__.py,sha256=81Thnexg5umN5WZwD5TRyzNc2Yp-d14B6UC7NBgVKh8,7506
|
| 680 |
+
numpy/random/__init__.pyi,sha256=RfW8mco48UaWDL1UC5ROv9vXiFZ9EGho62avhgEAHPc,2143
|
| 681 |
+
numpy/random/_bounded_integers.cpython-311-x86_64-linux-gnu.so,sha256=6Dd660_JecmZSXEg03asE3vSaUlwyyDVp1kaM1ZGdDU,383408
|
| 682 |
+
numpy/random/_bounded_integers.pxd,sha256=hcoucPH5hkFEM2nm12zYO-5O_Rt8RujEXT5YWuAzl1Q,1669
|
| 683 |
+
numpy/random/_common.cpython-311-x86_64-linux-gnu.so,sha256=C3N7IsnkMAHkT4GWrGpW-nLBM-izYSLVScSsaV5U030,276360
|
| 684 |
+
numpy/random/_common.pxd,sha256=s2_IdIQ0MhNbogamulvXe-b93wbx882onmYkxqswwpo,4939
|
| 685 |
+
numpy/random/_examples/cffi/extending.py,sha256=xSla3zWqxi6Hj48EvnYfD3WHfE189VvC4XsKu4_T_Iw,880
|
| 686 |
+
numpy/random/_examples/cffi/parse.py,sha256=Bnb7t_6S_c5-3dZrQ-XX9EazOKhftUfcCejXXWyd1EU,1771
|
| 687 |
+
numpy/random/_examples/cython/extending.pyx,sha256=4IE692pq1V53UhPZqQiQGcIHXDoNyqTx62x5a36puVg,2290
|
| 688 |
+
numpy/random/_examples/cython/extending_distributions.pyx,sha256=oazFVWeemfE0eDzax7r7MMHNL1_Yofws2m-c_KT2Hbo,3870
|
| 689 |
+
numpy/random/_examples/cython/meson.build,sha256=rXtugURMEo-ef4bPE1QIv4mzvWbeGjmcTdKCBvjxjtw,1443
|
| 690 |
+
numpy/random/_examples/numba/extending.py,sha256=Ipyzel_h5iU_DMJ_vnXUgQC38uMDMn7adUpWSeEQLFE,1957
|
| 691 |
+
numpy/random/_examples/numba/extending_distributions.py,sha256=Jnr9aWkHyIWygNbdae32GVURK-5T9BTGhuExRpvve98,2034
|
| 692 |
+
numpy/random/_generator.cpython-311-x86_64-linux-gnu.so,sha256=6N9MZJirbe6IENUL_vH65YG9yqEzHD_5NV6WqYlBBI0,988784
|
| 693 |
+
numpy/random/_generator.pyi,sha256=zRvo_y6g0pWkE4fO1M9jLYUkxDfGdA6Enreb3U2AADM,22442
|
| 694 |
+
numpy/random/_mt19937.cpython-311-x86_64-linux-gnu.so,sha256=1jcBG5RL8aimxmjDOT8-qowYXGQU9J-XsGHw06MtwlM,120440
|
| 695 |
+
numpy/random/_mt19937.pyi,sha256=_iZKaAmuKBQ4itSggfQvYYj_KjktcN4rt-YpE6bqFAM,724
|
| 696 |
+
numpy/random/_pcg64.cpython-311-x86_64-linux-gnu.so,sha256=qKmnH1HtoKRebClJEyt9v5_tei2dG9S5L9JzhTm82dU,126472
|
| 697 |
+
numpy/random/_pcg64.pyi,sha256=uxr5CbEJetN6lv9vBG21jlRhuzOK8SQnXrwqAQBxj_c,1091
|
| 698 |
+
numpy/random/_philox.cpython-311-x86_64-linux-gnu.so,sha256=nF_RKZka9jXN_JllN4zSCkY20z4yy_e47PAxo4H42Tw,107504
|
| 699 |
+
numpy/random/_philox.pyi,sha256=OKlaiIU-hj72Bp04zjNifwusOD_3-mYxIfvyuys8c_o,978
|
| 700 |
+
numpy/random/_pickle.py,sha256=4NhdT-yk7C0m3tyZWmouYAs3ZGNPdPVNGfUIyuh8HDY,2318
|
| 701 |
+
numpy/random/_sfc64.cpython-311-x86_64-linux-gnu.so,sha256=TvZySyMApOLqEai0OsNipTHPVe_g-WVze4nktilCVTE,76784
|
| 702 |
+
numpy/random/_sfc64.pyi,sha256=09afHTedVW-519493ZXtGcl-H-_zluj-B_yfEJG8MMs,709
|
| 703 |
+
numpy/random/bit_generator.cpython-311-x86_64-linux-gnu.so,sha256=E6z9hubH-csL5indS9L-b-oWAVmYNEt98LGhpTnqyRM,246584
|
| 704 |
+
numpy/random/bit_generator.pxd,sha256=lArpIXSgTwVnJMYc4XX0NGxegXq3h_QsUDK6qeZKbNc,1007
|
| 705 |
+
numpy/random/bit_generator.pyi,sha256=aXv7a_hwa0nkjY8P2YENslwWp89UcFRn09woXh7Uoc0,3510
|
| 706 |
+
numpy/random/c_distributions.pxd,sha256=7DE-mV3H_Dihk4OK4gMHHkyD4tPX1cAi4570zi5CI30,6344
|
| 707 |
+
numpy/random/lib/libnpyrandom.a,sha256=xUcvOvieju5PThPQ8q0-uGJ5fjsCd5umnjIerIc85Sg,71926
|
| 708 |
+
numpy/random/mtrand.cpython-311-x86_64-linux-gnu.so,sha256=nhB4z5CViqz2qZUxN6QpKM2QwCMktCL5zd4Y65mtKR4,783872
|
| 709 |
+
numpy/random/mtrand.pyi,sha256=3vAGOXsvyFFv0yZl34pVVPP7Dgt22COyfn4tUoi_hEQ,19753
|
| 710 |
+
numpy/random/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 711 |
+
numpy/random/tests/data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 712 |
+
numpy/random/tests/data/mt19937-testset-1.csv,sha256=Xkef402AVB-eZgYQkVtoxERHkxffCA9Jyt_oMbtJGwY,15844
|
| 713 |
+
numpy/random/tests/data/mt19937-testset-2.csv,sha256=nsBEQNnff-aFjHYK4thjvUK4xSXDSfv5aTbcE59pOkE,15825
|
| 714 |
+
numpy/random/tests/data/pcg64-testset-1.csv,sha256=xB00DpknGUTTCxDr9L6aNo9Hs-sfzEMbUSS4t11TTfE,23839
|
| 715 |
+
numpy/random/tests/data/pcg64-testset-2.csv,sha256=NTdzTKvG2U7_WyU_IoQUtMzU3kEvDH39CgnR6VzhTkw,23845
|
| 716 |
+
numpy/random/tests/data/pcg64dxsm-testset-1.csv,sha256=vNSUT-gXS_oEw_awR3O30ziVO4seNPUv1UIZ01SfVnI,23833
|
| 717 |
+
numpy/random/tests/data/pcg64dxsm-testset-2.csv,sha256=uylS8PU2AIKZ185OC04RBr_OePweGRtvn-dE4YN0yYA,23839
|
| 718 |
+
numpy/random/tests/data/philox-testset-1.csv,sha256=SedRaIy5zFadmk71nKrGxCFZ6BwKz8g1A9-OZp3IkkY,23852
|
| 719 |
+
numpy/random/tests/data/philox-testset-2.csv,sha256=dWECt-sbfvaSiK8-Ygp5AqyjoN5i26VEOrXqg01rk3g,23838
|
| 720 |
+
numpy/random/tests/data/sfc64-testset-1.csv,sha256=iHs6iX6KR8bxGwKk-3tedAdMPz6ZW8slDSUECkAqC8Q,23840
|
| 721 |
+
numpy/random/tests/data/sfc64-testset-2.csv,sha256=FIDIDFCaPZfWUSxsJMAe58hPNmMrU27kCd9FhCEYt_k,23833
|
| 722 |
+
numpy/random/tests/test_direct.py,sha256=6vLpCyeKnAWFEZei7l2YihVLQ0rSewO1hJBWt7A5fyQ,17779
|
| 723 |
+
numpy/random/tests/test_extending.py,sha256=S3Wrzu3di4uBhr-Pxnx5dOPvlBY0FRdZqVX6CC1IN6s,4038
|
| 724 |
+
numpy/random/tests/test_generator_mt19937.py,sha256=35LBwV6TtWPnxhefutxTQmhLzAQ5Ee4YiY8ziDXM-eQ,115477
|
| 725 |
+
numpy/random/tests/test_generator_mt19937_regressions.py,sha256=xGkdz76BMX1EK0QPfabVxpNx9qQ9OC-1ZStWOs6N_M8,6387
|
| 726 |
+
numpy/random/tests/test_random.py,sha256=_H2huqON_M0L906tFVIMivzVp-6IeCzVHFBDCpwgoP0,69953
|
| 727 |
+
numpy/random/tests/test_randomstate.py,sha256=IneeUEuiMFVdzPdi8CtnFfqdx1stzSVyaGW-qlM-7CI,84877
|
| 728 |
+
numpy/random/tests/test_randomstate_regression.py,sha256=VucYWIjA7sAquWsalvZMnfkmYLM1O6ysyWnLl931-lA,7917
|
| 729 |
+
numpy/random/tests/test_regression.py,sha256=trntK51UvajOVELiluEO85l64CKSw5nvBSc5SqYyr9w,5439
|
| 730 |
+
numpy/random/tests/test_seed_sequence.py,sha256=GNRJ4jyzrtfolOND3gUWamnbvK6-b_p1bBK_RIG0sfU,3311
|
| 731 |
+
numpy/random/tests/test_smoke.py,sha256=jjNz0aEGD1_oQl9a9UWt6Mz_298alG7KryLT1pgHljw,28183
|
| 732 |
+
numpy/testing/__init__.py,sha256=InpVKoDAzMKO_l_HNcatziW_u1k9_JZze__t2nybrL0,595
|
| 733 |
+
numpy/testing/__init__.pyi,sha256=AhK5NuOpdD-JjIzXOlssE8_iSLyFAAHzyGV_w1BT7vA,1674
|
| 734 |
+
numpy/testing/_private/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 735 |
+
numpy/testing/_private/extbuild.py,sha256=nG2dwP4nUmQS3e5eIRinxt0s_f4sxxA1YfohCg-navo,8017
|
| 736 |
+
numpy/testing/_private/utils.py,sha256=3FrSTMi0OdpDODBDoncgiDQzdo5NKA6YVfQ3uKRSQnc,85242
|
| 737 |
+
numpy/testing/_private/utils.pyi,sha256=MMNrvwEeSTYzZFWawSSzHnTFYG-cSAIiID-1FuJ1f8U,10123
|
| 738 |
+
numpy/testing/overrides.py,sha256=u6fcKSBC8HIzMPWKAbdyowU71h2Fx2ekDQxpG5NhIr8,2123
|
| 739 |
+
numpy/testing/print_coercion_tables.py,sha256=ndxOsS4XfrZ4UY_9nqRTCnxhkzgdqcuUHL8nezd7Op4,6180
|
| 740 |
+
numpy/testing/setup.py,sha256=GPKAtTTBRsNW4kmR7NjP6mmBR_GTdpaTvkTm10_VcLg,709
|
| 741 |
+
numpy/testing/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 742 |
+
numpy/testing/tests/test_utils.py,sha256=IDOr-GXuNGlrsb-XzGSYUHXEqcGYJ78p60jOpBqyPM4,55740
|
| 743 |
+
numpy/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 744 |
+
numpy/tests/test__all__.py,sha256=L3mCnYPTpzAgNfedVuq9g7xPWbc0c1Pot94k9jZ9NpI,221
|
| 745 |
+
numpy/tests/test_ctypeslib.py,sha256=B06QKeFRgDIEbkEPBy_zYA1H5E2exuhTi7IDkzV8gfo,12257
|
| 746 |
+
numpy/tests/test_lazyloading.py,sha256=YETrYiDLAqLX04K_u5_3NVxAfxDoeguxwkIRfz6qKcY,1162
|
| 747 |
+
numpy/tests/test_matlib.py,sha256=gwhIXrJJo9DiecaGLCHLJBjhx2nVGl6yHq80AOUQSRM,1852
|
| 748 |
+
numpy/tests/test_numpy_config.py,sha256=qHvepgi9oyAbQuZD06k7hpcCC2MYhdzcY6D1iQDPNMI,1241
|
| 749 |
+
numpy/tests/test_numpy_version.py,sha256=A8cXFzp4k-p6J5zkOxlDfDvkoFMxDW2hpTFVXcaQRVo,1479
|
| 750 |
+
numpy/tests/test_public_api.py,sha256=DTq7SO84uBjC2tKPoqX17xazc-SLkTAbQ2fLZwGM2jc,18170
|
| 751 |
+
numpy/tests/test_reloading.py,sha256=QuVaPQulcNLg4Fl31Lw-O89L42KclYCK68n5GVy0PNQ,2354
|
| 752 |
+
numpy/tests/test_scripts.py,sha256=jluCLfG94VM1cuX-5RcLFBli_yaJZpIvmVuMxRKRJrc,1645
|
| 753 |
+
numpy/tests/test_warnings.py,sha256=b7x4zdms9sNJkO9FJ-LTzYI4BWhbeLGy2oFMC6Z85ig,2280
|
| 754 |
+
numpy/typing/__init__.py,sha256=VoTILNDrUWvZx0LK9_97lBLQFKtSGmDt4QLOH8zYvlo,5234
|
| 755 |
+
numpy/typing/mypy_plugin.py,sha256=24zVk4Ei3qH4Hc3SSz3v0XtIsycTo8HKoY6ilhB_7AQ,6376
|
| 756 |
+
numpy/typing/setup.py,sha256=Cnz9q53w-vJNyE6vYxqYvQXx0pJbrG9quHyz9sqxfek,374
|
| 757 |
+
numpy/typing/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 758 |
+
numpy/typing/tests/data/fail/arithmetic.pyi,sha256=4rY_ASCERAl8WCus1RakOe0Aw-8vvjilL29mgdD4lv0,3850
|
| 759 |
+
numpy/typing/tests/data/fail/array_constructors.pyi,sha256=X9y_jUYS17WfYmXW5NwkVudyiR6ouUaAwEh0JRte42o,1089
|
| 760 |
+
numpy/typing/tests/data/fail/array_like.pyi,sha256=OVAlEJZ5k8ZRKt0aGpZQwIjlUGpy0PzOOYqfI-IMqBQ,455
|
| 761 |
+
numpy/typing/tests/data/fail/array_pad.pyi,sha256=57oK0Yp53rtKjjIrRFYLcxa-IfIGhtI-bEem7ggJKwI,132
|
| 762 |
+
numpy/typing/tests/data/fail/arrayprint.pyi,sha256=-Fs9VnQfxyfak008Hq8kJWfB0snA6jGDXZz8ljQnwGE,549
|
| 763 |
+
numpy/typing/tests/data/fail/arrayterator.pyi,sha256=FoU4ahHkJZ67dwWXer5FXLjjjesKKg-w2Jq1X1bHymA,480
|
| 764 |
+
numpy/typing/tests/data/fail/bitwise_ops.pyi,sha256=GN9dVqk4_HFXn7zbRrHzJq_UGRFBccoYVUG1UuE7bXs,515
|
| 765 |
+
numpy/typing/tests/data/fail/char.pyi,sha256=-vgN6EmfQ8VaA4SOZ5Ol9u4-Z7Q5I7G78LmaxZOuZ90,2615
|
| 766 |
+
numpy/typing/tests/data/fail/chararray.pyi,sha256=jrNryZFpr8nxG2IHb9e0x3ranpvJpBy_RDex-WpT5rU,2296
|
| 767 |
+
numpy/typing/tests/data/fail/comparisons.pyi,sha256=U4neWzwwtxG6QXsKlNGJuKXHBtwzYBQOa47_7SKF5Wg,888
|
| 768 |
+
numpy/typing/tests/data/fail/constants.pyi,sha256=YSqNbXdhbdMmYbs7ntH0FCKbnm8IFeqsDlZBqcU43iw,286
|
| 769 |
+
numpy/typing/tests/data/fail/datasource.pyi,sha256=PRT2hixR-mVxr2UILvHa99Dr54EF2h3snJXE-v3rWcc,395
|
| 770 |
+
numpy/typing/tests/data/fail/dtype.pyi,sha256=OAGABqdXNB8gClJFEGMckoycuZcIasMaAlS2RkiKROI,334
|
| 771 |
+
numpy/typing/tests/data/fail/einsumfunc.pyi,sha256=RS7GZqUCT_vEFJoyUx4gZlPO8GNFFNFWidxl-wLyRv0,539
|
| 772 |
+
numpy/typing/tests/data/fail/false_positives.pyi,sha256=Q61qMsSsNCtmO0EMRxHj5Z7RYTyrELVpkzfJY5eK8Z0,366
|
| 773 |
+
numpy/typing/tests/data/fail/flatiter.pyi,sha256=qLM4qm7gvJtEZ0rTHcyasUzoP5JbX4FREtqV3g1w6Lo,843
|
| 774 |
+
numpy/typing/tests/data/fail/fromnumeric.pyi,sha256=FH2mjkgtCbA9soqlJRhYN7IIfRRrUL1i9mwqcbYKZSc,5591
|
| 775 |
+
numpy/typing/tests/data/fail/histograms.pyi,sha256=yAPVt0rYTwtxnigoGT-u7hhKCE9iYxsXc24x2HGBrmA,367
|
| 776 |
+
numpy/typing/tests/data/fail/index_tricks.pyi,sha256=moINir9iQoi6Q1ZuVg5BuSB9hSBtbg_uzv-Qm_lLYZk,509
|
| 777 |
+
numpy/typing/tests/data/fail/lib_function_base.pyi,sha256=6y9T773CBLX-jUry1sCQGVuKVKM2wMuQ56Ni5V5j4Dw,2081
|
| 778 |
+
numpy/typing/tests/data/fail/lib_polynomial.pyi,sha256=Ur7Y4iZX6WmoH5SDm0ePi8C8LPsuPs2Yr7g7P5O613g,899
|
| 779 |
+
numpy/typing/tests/data/fail/lib_utils.pyi,sha256=VFpE6_DisvlDByyp1PiNPJEe5IcZp8cH0FlAJyoZipo,276
|
| 780 |
+
numpy/typing/tests/data/fail/lib_version.pyi,sha256=7-ZJDZwDcB-wzpMN8TeYtZAgaqc7xnQ8Dnx2ISiX2Ts,158
|
| 781 |
+
numpy/typing/tests/data/fail/linalg.pyi,sha256=yDd05aK1dI37RPt3pD2eJYo4dZFaT2yB1PEu3K0y9Tg,1322
|
| 782 |
+
numpy/typing/tests/data/fail/memmap.pyi,sha256=HSTCQYNuW1Y6X1Woj361pN4rusSPs4oDCXywqk20yUo,159
|
| 783 |
+
numpy/typing/tests/data/fail/modules.pyi,sha256=_ek4zKcdP-sIh_f-IDY0tP-RbLORKCSWelM9AOYxsyA,670
|
| 784 |
+
numpy/typing/tests/data/fail/multiarray.pyi,sha256=XCdBxufNhR8ZtG8UMzk8nt9_NC5gJTKP9-xTqKO_K9I,1693
|
| 785 |
+
numpy/typing/tests/data/fail/ndarray.pyi,sha256=YnjXy16RHs_esKelMjB07865CQ7gLyQnXhnitq5Kv5c,405
|
| 786 |
+
numpy/typing/tests/data/fail/ndarray_misc.pyi,sha256=w-10xTDDWoff9Lq0dBO-jBeiBR-XjCz2qmes0dLx238,1372
|
| 787 |
+
numpy/typing/tests/data/fail/nditer.pyi,sha256=w7emjnOxnf3NcvLktNLlke6Cuivn2gU3sVmGCfbG6rw,325
|
| 788 |
+
numpy/typing/tests/data/fail/nested_sequence.pyi,sha256=em4GZwLDFE0QSxxg081wVwhh-Dmtkn8f7wThI0DiXVs,427
|
| 789 |
+
numpy/typing/tests/data/fail/npyio.pyi,sha256=56QuHo9SvVR3Uhzl6gQZncCpX575Gy5wugjMICh20m0,620
|
| 790 |
+
numpy/typing/tests/data/fail/numerictypes.pyi,sha256=fevH9x80CafYkiyBJ7LMLVl6GyTvQrZ34trBu6O8TtM,276
|
| 791 |
+
numpy/typing/tests/data/fail/random.pyi,sha256=p5WsUGyOL-MGIeALh9Y0dVhYSRQLaUwMdjXc3G6C_7Q,2830
|
| 792 |
+
numpy/typing/tests/data/fail/rec.pyi,sha256=Ws3TyesnoQjt7Q0wwtpShRDJmZCs2jjP17buFMomVGA,704
|
| 793 |
+
numpy/typing/tests/data/fail/scalars.pyi,sha256=o91BwSfzPTczYVtbXsirqQUoUoYP1C_msGjc2GYsV04,2952
|
| 794 |
+
numpy/typing/tests/data/fail/shape_base.pyi,sha256=Y_f4buHtX2Q2ZA4kaDTyR8LErlPXTzCB_-jBoScGh_Q,152
|
| 795 |
+
numpy/typing/tests/data/fail/stride_tricks.pyi,sha256=IjA0Xrnx0lG3m07d1Hjbhtyo1Te5cXgjgr5fLUo4LYQ,315
|
| 796 |
+
numpy/typing/tests/data/fail/testing.pyi,sha256=e7b5GKTWCtKGoB8z2a8edsW0Xjl1rMheALsvzEJjlCw,1370
|
| 797 |
+
numpy/typing/tests/data/fail/twodim_base.pyi,sha256=ZqbRJfy5S_pW3fFLuomy4L5SBNqj6Nklexg9KDTo65c,899
|
| 798 |
+
numpy/typing/tests/data/fail/type_check.pyi,sha256=CIyI0j0Buxv0QgCvNG2urjaKpoIZ-ZNawC2m6NzGlbo,379
|
| 799 |
+
numpy/typing/tests/data/fail/ufunc_config.pyi,sha256=ukA0xwfJHLoGfoOIpWIN-91wj-DG8oaIjYbO72ymjg4,733
|
| 800 |
+
numpy/typing/tests/data/fail/ufunclike.pyi,sha256=lbxjJyfARmt_QK1HxhxFxvwQTqCEZwJ9I53Wp8X3KIY,679
|
| 801 |
+
numpy/typing/tests/data/fail/ufuncs.pyi,sha256=YaDTL7QLmGSUxE6JVMzpOlZTjHWrgbOo0UIlkX-6ZQk,1347
|
| 802 |
+
numpy/typing/tests/data/fail/warnings_and_errors.pyi,sha256=PrbYDFI7IGN3Gf0OPBkVfefzQs4AXHwDQ495pvrX3RY,174
|
| 803 |
+
numpy/typing/tests/data/misc/extended_precision.pyi,sha256=bS8bBeCFqjgtOiy-8_y39wfa7rwhdjLz2Vmo-RXAYD4,884
|
| 804 |
+
numpy/typing/tests/data/mypy.ini,sha256=Ynv1VSx_kXTD2mFC3ZpgEFuCOg1F2VJXxPk0dxUnF2M,108
|
| 805 |
+
numpy/typing/tests/data/pass/arithmetic.py,sha256=2z3dmuysQQmiPz8x0bg8SOOKW62mVJn97uMa9T0L7Vk,7455
|
| 806 |
+
numpy/typing/tests/data/pass/array_constructors.py,sha256=3GrhfBcmWX53pJHD0NvhXjwr2-uNKREbR1I9WCcZ7rI,2419
|
| 807 |
+
numpy/typing/tests/data/pass/array_like.py,sha256=ce_IVubBd7J6FkSpJmD7qMlRLuwmiidhOqhYfZb16Wo,916
|
| 808 |
+
numpy/typing/tests/data/pass/arrayprint.py,sha256=y_KkuLz1uM7pv53qfq7GQOuud4LoXE3apK1wtARdVyM,766
|
| 809 |
+
numpy/typing/tests/data/pass/arrayterator.py,sha256=FqcpKdUQBQ0FazHFxr9MsLEZG-jnJVGKWZX2owRr4DQ,393
|
| 810 |
+
numpy/typing/tests/data/pass/bitwise_ops.py,sha256=UnmxVr9HwI8ifdrutGm_u3EZU4iOOPQhrOku7hTaH0c,970
|
| 811 |
+
numpy/typing/tests/data/pass/comparisons.py,sha256=nTE-fvraLK6xTZcP4uPV02wOShzYKWDaoapx35AeDOY,2992
|
| 812 |
+
numpy/typing/tests/data/pass/dtype.py,sha256=MqDKC6Ywv6jNkWsR8rdLuabzHUco5w1OylDHEdxve_I,1069
|
| 813 |
+
numpy/typing/tests/data/pass/einsumfunc.py,sha256=eXj5L5MWPtQHgrHPsJ36qqrmBHqct9UoujjJCvHnF1k,1370
|
| 814 |
+
numpy/typing/tests/data/pass/flatiter.py,sha256=0BnbuLMBC7MQlprNZ0QhNSscfYwPhEhXOhWoyiRACWU,174
|
| 815 |
+
numpy/typing/tests/data/pass/fromnumeric.py,sha256=Xd_nJVVDoONdztUX8ddgo7EXJ2FD8AX51MO_Yujnmog,3742
|
| 816 |
+
numpy/typing/tests/data/pass/index_tricks.py,sha256=oaFD9vY01_RI5OkrXt-xTk1n_dd-SpuPp-eZ58XR3c8,1492
|
| 817 |
+
numpy/typing/tests/data/pass/lib_utils.py,sha256=sDQCjHVGUwct0RQqAtH5_16y241siSY4bXKZRsuJ8xA,434
|
| 818 |
+
numpy/typing/tests/data/pass/lib_version.py,sha256=HnuGOx7tQA_bcxFIJ3dRoMAR0fockxg4lGqQ4g7LGIw,299
|
| 819 |
+
numpy/typing/tests/data/pass/literal.py,sha256=DLzdWHD6ttW4S0NEvGQbsH_UEJjhZyhvO4OXJjoyvZQ,1331
|
| 820 |
+
numpy/typing/tests/data/pass/mod.py,sha256=HB9aK4_wGJbc44tomaoroNy0foIL5cI9KIjknvMTbkk,1578
|
| 821 |
+
numpy/typing/tests/data/pass/modules.py,sha256=t0KJxYWbrWd7HbbgIDFb3LAhJBiNNb6QPjjFDAgC2mU,576
|
| 822 |
+
numpy/typing/tests/data/pass/multiarray.py,sha256=MxHax6l94yqlTVZleAqG77ILEbW6wU5osPcHzxJ85ns,1331
|
| 823 |
+
numpy/typing/tests/data/pass/ndarray_conversion.py,sha256=yPgzXG6paY1uF_z-QyHYrcmrZvhX7qtvTUh7ANLseCA,1626
|
| 824 |
+
numpy/typing/tests/data/pass/ndarray_misc.py,sha256=z3mucbn9fLM1gxmbUhWlp2lcrOv4zFjqZFze0caE2EA,2715
|
| 825 |
+
numpy/typing/tests/data/pass/ndarray_shape_manipulation.py,sha256=37eYwMNqMLwanIW9-63hrokacnSz2K_qtPUlkdpsTjo,640
|
| 826 |
+
numpy/typing/tests/data/pass/numeric.py,sha256=SdnsD5zv0wm8T2hnIylyS14ig2McSz6rG9YslckbNQ4,1490
|
| 827 |
+
numpy/typing/tests/data/pass/numerictypes.py,sha256=r0_s-a0-H2MdWIn4U4P6W9RQO0V1xrDusgodHNZeIYM,750
|
| 828 |
+
numpy/typing/tests/data/pass/random.py,sha256=uJCnzlsOn9hr_G1TpHLdsweJI4EdhUSEQ4dxROPjqAs,61881
|
| 829 |
+
numpy/typing/tests/data/pass/scalars.py,sha256=En0adCZAwEigZrzdQ0JQwDEmrS0b-DMd1vvjkFcvwo8,3479
|
| 830 |
+
numpy/typing/tests/data/pass/simple.py,sha256=HmAfCOdZBWQF211YaZFrIGisMgu5FzTELApKny08n3Y,2676
|
| 831 |
+
numpy/typing/tests/data/pass/simple_py3.py,sha256=HuLrc5aphThQkLjU2_19KgGFaXwKOfSzXe0p2xMm8ZI,96
|
| 832 |
+
numpy/typing/tests/data/pass/ufunc_config.py,sha256=_M8v-QWAeT1-2MkfSeAbNl_ZwyPvYfPTsLl6c1X8d_w,1204
|
| 833 |
+
numpy/typing/tests/data/pass/ufunclike.py,sha256=Gve6cJ2AT3TAwOjUOQQDIUnqsRCGYq70_tv_sgODiiA,1039
|
| 834 |
+
numpy/typing/tests/data/pass/ufuncs.py,sha256=xGuKuqPetUTS4io5YDHaki5nbYRu-wC29SGU32tzVIg,462
|
| 835 |
+
numpy/typing/tests/data/pass/warnings_and_errors.py,sha256=Pcg-QWfY4PAhTKyehae8q6LhtbUABxa2Ye63-3h1f4w,150
|
| 836 |
+
numpy/typing/tests/data/reveal/arithmetic.pyi,sha256=Ndmi_IFAl8z28RHsYTbOouf-B5FH91x_9ky-JwsdXVg,19765
|
| 837 |
+
numpy/typing/tests/data/reveal/array_constructors.pyi,sha256=DcT8Z2rEpqYfjXySBejk8cGOUidUmizZGE5ZEy7r14E,10600
|
| 838 |
+
numpy/typing/tests/data/reveal/arraypad.pyi,sha256=Q1pcU4B3eRsw5jsv-S0MsEfNUbp_4aMdO_o3n0rtA2A,776
|
| 839 |
+
numpy/typing/tests/data/reveal/arrayprint.pyi,sha256=YyzzkL-wj4Rs-fdo3brpoaWtb5g3yk4Vn2HKu5KRo4w,876
|
| 840 |
+
numpy/typing/tests/data/reveal/arraysetops.pyi,sha256=ApCFQcZzQ08zV32SJ86Xyv_7jazl3XKMmJmULtNquJ8,4155
|
| 841 |
+
numpy/typing/tests/data/reveal/arrayterator.pyi,sha256=TF_1eneHoT0v9HqS9dKc5Xiv3iY3E330GR1RNcJ7s2Q,1111
|
| 842 |
+
numpy/typing/tests/data/reveal/bitwise_ops.pyi,sha256=nRkyUGrBB_Es7TKyDxS_s3u2dFgBfzjocInI9Ea-J10,3919
|
| 843 |
+
numpy/typing/tests/data/reveal/char.pyi,sha256=M_iTa9Pn8F7jQ1k6RN9KvbhEn00g7UYJZ5PV57ikcZM,7289
|
| 844 |
+
numpy/typing/tests/data/reveal/chararray.pyi,sha256=O0EfwnKc3W1Fnx1c7Yotb1O84kVMuqJLlMBXd2duvjI,6093
|
| 845 |
+
numpy/typing/tests/data/reveal/comparisons.pyi,sha256=huaf-seaF5ndTqfoaBfPtMMkOYovq7ibJl5-CRoQW7s,7468
|
| 846 |
+
numpy/typing/tests/data/reveal/constants.pyi,sha256=P9vFEMkPpJ5KeUnzqPOuyHlh3zAFl9lzB4WxyB2od7A,1949
|
| 847 |
+
numpy/typing/tests/data/reveal/ctypeslib.pyi,sha256=-Pk2rLEGCzz3B_y8Mu10JSVA8gPFztl5fV1dspPzqig,4727
|
| 848 |
+
numpy/typing/tests/data/reveal/datasource.pyi,sha256=e8wjn60tO5EdnkBF34JrZT5XvdyW7kRWD2abtgr6qUg,671
|
| 849 |
+
numpy/typing/tests/data/reveal/dtype.pyi,sha256=TKrYyxMu5IGobs0SDTIRcPuWsZ5X7zMYB4pmUlTTJxA,2872
|
| 850 |
+
numpy/typing/tests/data/reveal/einsumfunc.pyi,sha256=pbtSfzIWUJRkDpe2riHBlvFlNSC3CqVM-SbYtBgX9H0,2044
|
| 851 |
+
numpy/typing/tests/data/reveal/emath.pyi,sha256=-muNpWOv_niIn-zS3gUnFO4qBZAouNlVGue2x1L5Ris,2423
|
| 852 |
+
numpy/typing/tests/data/reveal/false_positives.pyi,sha256=AplTmZV7TS7nivU8vegbstMN5MdMv4U0JJdZ4IeeA5M,482
|
| 853 |
+
numpy/typing/tests/data/reveal/fft.pyi,sha256=ReQ9qn5frvJEy-g0RWpUGlPBntUS1cFSIu6WfPotHzE,1749
|
| 854 |
+
numpy/typing/tests/data/reveal/flatiter.pyi,sha256=e1OQsVxQpgyfqMNw2puUTATl-w3swvdknlctAiWxf_E,882
|
| 855 |
+
numpy/typing/tests/data/reveal/fromnumeric.pyi,sha256=PNtGQR1VmGk_xNbd0eP7k7B2oNCMBz2XOJ17-_SdE5M,12101
|
| 856 |
+
numpy/typing/tests/data/reveal/getlimits.pyi,sha256=nUGOMFpWj3pMgqLy6ZbR7A4G2q7iLIl5zEFBGf-Qcfw,1592
|
| 857 |
+
numpy/typing/tests/data/reveal/histograms.pyi,sha256=MxKWoa7UoJRRLim53H6OoyYfz87P3_9YUXGYPTknGVQ,1303
|
| 858 |
+
numpy/typing/tests/data/reveal/index_tricks.pyi,sha256=HpD7lU7hcyDoLdZbeqskPXnX7KYwPtll7uJKYUzrlE8,3177
|
| 859 |
+
numpy/typing/tests/data/reveal/lib_function_base.pyi,sha256=eSiSZUlmPXqVPKknM7GcEv76BDgj0IJRu3FXcZXpmqc,8318
|
| 860 |
+
numpy/typing/tests/data/reveal/lib_polynomial.pyi,sha256=TOzOdMPDqveDv3vDKSjtq6RRvN-j_s2J7aud2ySDAB0,5986
|
| 861 |
+
numpy/typing/tests/data/reveal/lib_utils.pyi,sha256=_zj7WGYGYMFXAHLK-F11aeFfDvjRvFARUjoXhbXn8V0,1049
|
| 862 |
+
numpy/typing/tests/data/reveal/lib_version.pyi,sha256=UCioUeykot8-nWL6goKxZnKZxtgB4lFEi9wdN_xyF1U,672
|
| 863 |
+
numpy/typing/tests/data/reveal/linalg.pyi,sha256=LPaY-RyYL7Xt3djCgNaWEgI8beI9Eo_XnvOwi6Y7-eo,4877
|
| 864 |
+
numpy/typing/tests/data/reveal/matrix.pyi,sha256=ciJXsn5v2O1IZ3VEn5Ilp8-40NTQokfrOOgVXMFsvLo,2922
|
| 865 |
+
numpy/typing/tests/data/reveal/memmap.pyi,sha256=A5PovMzjRp2zslF1vw3TdTQjj4Y0dIEJ__HDBV_svGM,842
|
| 866 |
+
numpy/typing/tests/data/reveal/mod.pyi,sha256=-CNWft2jQGSdrO8dYRgwbl7OhL3a78Zo60JVmiY-gQI,5666
|
| 867 |
+
numpy/typing/tests/data/reveal/modules.pyi,sha256=0WPq7A-aqWkJsV-IA1_7dFNCcxBacj1AWExaXbXErG4,1958
|
| 868 |
+
numpy/typing/tests/data/reveal/multiarray.pyi,sha256=6MvfNKihK-oN6QwG9HFNelgheo4lnL0FCrmIF_qxdoA,5326
|
| 869 |
+
numpy/typing/tests/data/reveal/nbit_base_example.pyi,sha256=DRUMGatQvQXTuovKEMF4dzazIU6it6FU53LkOEo2vNo,657
|
| 870 |
+
numpy/typing/tests/data/reveal/ndarray_conversion.pyi,sha256=BfjQD8U756l4gOfY0LD47HhDRxbq0yCFfEFKvbXs7Rs,1791
|
| 871 |
+
numpy/typing/tests/data/reveal/ndarray_misc.pyi,sha256=0EN-a47Msn4pZgKVdD-GrXCCmt-oxjlov5rszchBmOI,7126
|
| 872 |
+
numpy/typing/tests/data/reveal/ndarray_shape_manipulation.pyi,sha256=QDQ9g6l-e73pTJp-Dosiynb-okbqi91D4KirjhIjcv4,1233
|
| 873 |
+
numpy/typing/tests/data/reveal/nditer.pyi,sha256=VFXnT75BgWSUpb-dD-q5cZkfeOqsk-x9cH626g9FWT4,2021
|
| 874 |
+
numpy/typing/tests/data/reveal/nested_sequence.pyi,sha256=IQyRlXduk-ZEakOtoliMLCqNgGbeg0mzZf-a-a3Gq_0,734
|
| 875 |
+
numpy/typing/tests/data/reveal/npyio.pyi,sha256=YXagt2J-1suu5WXZ_si5NuJf7sHj_7NlaSLqQkam1Po,4209
|
| 876 |
+
numpy/typing/tests/data/reveal/numeric.pyi,sha256=aJKnav-X45tjSFfgGD4iCetwEFcJXdNgU7valktjiCg,6160
|
| 877 |
+
numpy/typing/tests/data/reveal/numerictypes.pyi,sha256=-YQRhwjBjsFJHjpGCRqzafNnKDdsmbBHbmPwccP0pLI,2487
|
| 878 |
+
numpy/typing/tests/data/reveal/random.pyi,sha256=s6T074ZIpGAUqHnA-yAlozTLvt7PNBjCBqd-nGMqWGg,104091
|
| 879 |
+
numpy/typing/tests/data/reveal/rec.pyi,sha256=DbRVk6lc7-3qPe-7Q26tUWpdaH9B4UVoQSYrRGJUo1Q,3858
|
| 880 |
+
numpy/typing/tests/data/reveal/scalars.pyi,sha256=Qn3B3rsqSN397Jh25xs4odt2pfCQtWkoJe-e0-oX8d4,4790
|
| 881 |
+
numpy/typing/tests/data/reveal/shape_base.pyi,sha256=YjiVukrK6OOydvopOaOmeAIIa0YQ2hn9_I_-FyYkHVU,2427
|
| 882 |
+
numpy/typing/tests/data/reveal/stride_tricks.pyi,sha256=EBZR8gSP385nhotwJ3GH9DOUD2q5nUEYbXfhLo5xrPo,1542
|
| 883 |
+
numpy/typing/tests/data/reveal/testing.pyi,sha256=_WOAj_t5SWYiqN0KG26Mza8RvaD3WAa7rFUlgksjLms,8611
|
| 884 |
+
numpy/typing/tests/data/reveal/twodim_base.pyi,sha256=ZdNVo2HIJcx8iF9PA-z5W3Bs0hWM2nlVdbhLuAQlljM,3132
|
| 885 |
+
numpy/typing/tests/data/reveal/type_check.pyi,sha256=yZSp50TtvPqv_PN7zmVcNOVUTUXMNYFGcguMNj25E9Y,3044
|
| 886 |
+
numpy/typing/tests/data/reveal/ufunc_config.pyi,sha256=buwSvat3SVFAFl5k8TL6Mgpi32o6hHZYZ2Lpn6AHdEU,1327
|
| 887 |
+
numpy/typing/tests/data/reveal/ufunclike.pyi,sha256=V_gLcZVrTXJ21VkUMwA0HyxUgA1r6OzjsdJegaKL2GE,1329
|
| 888 |
+
numpy/typing/tests/data/reveal/ufuncs.pyi,sha256=VnwYr5KT_FLKfc0wV7dtNz7bNtaC9VIQt-oz56Hb5EE,2798
|
| 889 |
+
numpy/typing/tests/data/reveal/warnings_and_errors.pyi,sha256=jsy2e6YlBU9ZlAx3IlVi3VLiPVduHE_nVYpWIeswEvo,538
|
| 890 |
+
numpy/typing/tests/test_isfile.py,sha256=BhKZs4-LrhFUfKjcG0yelySjE6ZITMxGIBYWGDHMRb8,864
|
| 891 |
+
numpy/typing/tests/test_runtime.py,sha256=2qu8JEliITnZCBJ_QJpohacj_OQ08o73ixS2w2ooNXI,3275
|
| 892 |
+
numpy/typing/tests/test_typing.py,sha256=eQWKte9QDjT94Uur8MVTW1YTuhJTccEld6h5swTDfGw,8385
|
| 893 |
+
numpy/version.py,sha256=NuiN26_HI6zcec1d6y_HU_tARUfYf-5_1Ufz5O8Jjy8,216
|
common/runtime/robodojo_support/numpy-1.26.0.dist-info/REQUESTED
ADDED
|
File without changes
|
common/runtime/robodojo_support/numpy-1.26.0.dist-info/WHEEL
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Wheel-Version: 1.0
|
| 2 |
+
Generator: meson
|
| 3 |
+
Root-Is-Purelib: false
|
| 4 |
+
Tag: cp311-cp311-manylinux_2_17_x86_64
|
| 5 |
+
Tag: cp311-cp311-manylinux2014_x86_64
|
| 6 |
+
|
common/runtime/robodojo_support/numpy-1.26.0.dist-info/direct_url.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"archive_info": {"hash": "sha256=e062aa24638bb5018b7841977c360d2f5917268d125c833a686b7cbabbec496c", "hashes": {"sha256": "e062aa24638bb5018b7841977c360d2f5917268d125c833a686b7cbabbec496c"}}, "url": "file:///dataset/vjiehuihuang/projects/starRoboHarness_dev/outputs/starbench_bringup_20261009/downloads/numpy-1.26.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl"}
|
common/runtime/robodojo_support/numpy-1.26.0.dist-info/entry_points.txt
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[array_api]
|
| 2 |
+
numpy = numpy.array_api
|
| 3 |
+
|
| 4 |
+
[pyinstaller40]
|
| 5 |
+
hook-dirs = numpy:_pyinstaller_hooks_dir
|
| 6 |
+
|
| 7 |
+
[console_scripts]
|
| 8 |
+
f2py = numpy.f2py.f2py2e:main
|
| 9 |
+
|
common/runtime/robodojo_support/numpy/typing/tests/data/pass/arithmetic.py
ADDED
|
@@ -0,0 +1,594 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from __future__ import annotations
|
| 2 |
+
|
| 3 |
+
from typing import Any
|
| 4 |
+
import numpy as np
|
| 5 |
+
import pytest
|
| 6 |
+
|
| 7 |
+
c16 = np.complex128(1)
|
| 8 |
+
f8 = np.float64(1)
|
| 9 |
+
i8 = np.int64(1)
|
| 10 |
+
u8 = np.uint64(1)
|
| 11 |
+
|
| 12 |
+
c8 = np.complex64(1)
|
| 13 |
+
f4 = np.float32(1)
|
| 14 |
+
i4 = np.int32(1)
|
| 15 |
+
u4 = np.uint32(1)
|
| 16 |
+
|
| 17 |
+
dt = np.datetime64(1, "D")
|
| 18 |
+
td = np.timedelta64(1, "D")
|
| 19 |
+
|
| 20 |
+
b_ = np.bool_(1)
|
| 21 |
+
|
| 22 |
+
b = bool(1)
|
| 23 |
+
c = complex(1)
|
| 24 |
+
f = float(1)
|
| 25 |
+
i = int(1)
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
class Object:
|
| 29 |
+
def __array__(self) -> np.ndarray[Any, np.dtype[np.object_]]:
|
| 30 |
+
ret = np.empty((), dtype=object)
|
| 31 |
+
ret[()] = self
|
| 32 |
+
return ret
|
| 33 |
+
|
| 34 |
+
def __sub__(self, value: Any) -> Object:
|
| 35 |
+
return self
|
| 36 |
+
|
| 37 |
+
def __rsub__(self, value: Any) -> Object:
|
| 38 |
+
return self
|
| 39 |
+
|
| 40 |
+
def __floordiv__(self, value: Any) -> Object:
|
| 41 |
+
return self
|
| 42 |
+
|
| 43 |
+
def __rfloordiv__(self, value: Any) -> Object:
|
| 44 |
+
return self
|
| 45 |
+
|
| 46 |
+
def __mul__(self, value: Any) -> Object:
|
| 47 |
+
return self
|
| 48 |
+
|
| 49 |
+
def __rmul__(self, value: Any) -> Object:
|
| 50 |
+
return self
|
| 51 |
+
|
| 52 |
+
def __pow__(self, value: Any) -> Object:
|
| 53 |
+
return self
|
| 54 |
+
|
| 55 |
+
def __rpow__(self, value: Any) -> Object:
|
| 56 |
+
return self
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
AR_b: np.ndarray[Any, np.dtype[np.bool_]] = np.array([True])
|
| 60 |
+
AR_u: np.ndarray[Any, np.dtype[np.uint32]] = np.array([1], dtype=np.uint32)
|
| 61 |
+
AR_i: np.ndarray[Any, np.dtype[np.int64]] = np.array([1])
|
| 62 |
+
AR_f: np.ndarray[Any, np.dtype[np.float64]] = np.array([1.0])
|
| 63 |
+
AR_c: np.ndarray[Any, np.dtype[np.complex128]] = np.array([1j])
|
| 64 |
+
AR_m: np.ndarray[Any, np.dtype[np.timedelta64]] = np.array([np.timedelta64(1, "D")])
|
| 65 |
+
AR_M: np.ndarray[Any, np.dtype[np.datetime64]] = np.array([np.datetime64(1, "D")])
|
| 66 |
+
AR_O: np.ndarray[Any, np.dtype[np.object_]] = np.array([Object()])
|
| 67 |
+
|
| 68 |
+
AR_LIKE_b = [True]
|
| 69 |
+
AR_LIKE_u = [np.uint32(1)]
|
| 70 |
+
AR_LIKE_i = [1]
|
| 71 |
+
AR_LIKE_f = [1.0]
|
| 72 |
+
AR_LIKE_c = [1j]
|
| 73 |
+
AR_LIKE_m = [np.timedelta64(1, "D")]
|
| 74 |
+
AR_LIKE_M = [np.datetime64(1, "D")]
|
| 75 |
+
AR_LIKE_O = [Object()]
|
| 76 |
+
|
| 77 |
+
# Array subtractions
|
| 78 |
+
|
| 79 |
+
AR_b - AR_LIKE_u
|
| 80 |
+
AR_b - AR_LIKE_i
|
| 81 |
+
AR_b - AR_LIKE_f
|
| 82 |
+
AR_b - AR_LIKE_c
|
| 83 |
+
AR_b - AR_LIKE_m
|
| 84 |
+
AR_b - AR_LIKE_O
|
| 85 |
+
|
| 86 |
+
AR_LIKE_u - AR_b
|
| 87 |
+
AR_LIKE_i - AR_b
|
| 88 |
+
AR_LIKE_f - AR_b
|
| 89 |
+
AR_LIKE_c - AR_b
|
| 90 |
+
AR_LIKE_m - AR_b
|
| 91 |
+
AR_LIKE_M - AR_b
|
| 92 |
+
AR_LIKE_O - AR_b
|
| 93 |
+
|
| 94 |
+
AR_u - AR_LIKE_b
|
| 95 |
+
AR_u - AR_LIKE_u
|
| 96 |
+
AR_u - AR_LIKE_i
|
| 97 |
+
AR_u - AR_LIKE_f
|
| 98 |
+
AR_u - AR_LIKE_c
|
| 99 |
+
AR_u - AR_LIKE_m
|
| 100 |
+
AR_u - AR_LIKE_O
|
| 101 |
+
|
| 102 |
+
AR_LIKE_b - AR_u
|
| 103 |
+
AR_LIKE_u - AR_u
|
| 104 |
+
AR_LIKE_i - AR_u
|
| 105 |
+
AR_LIKE_f - AR_u
|
| 106 |
+
AR_LIKE_c - AR_u
|
| 107 |
+
AR_LIKE_m - AR_u
|
| 108 |
+
AR_LIKE_M - AR_u
|
| 109 |
+
AR_LIKE_O - AR_u
|
| 110 |
+
|
| 111 |
+
AR_i - AR_LIKE_b
|
| 112 |
+
AR_i - AR_LIKE_u
|
| 113 |
+
AR_i - AR_LIKE_i
|
| 114 |
+
AR_i - AR_LIKE_f
|
| 115 |
+
AR_i - AR_LIKE_c
|
| 116 |
+
AR_i - AR_LIKE_m
|
| 117 |
+
AR_i - AR_LIKE_O
|
| 118 |
+
|
| 119 |
+
AR_LIKE_b - AR_i
|
| 120 |
+
AR_LIKE_u - AR_i
|
| 121 |
+
AR_LIKE_i - AR_i
|
| 122 |
+
AR_LIKE_f - AR_i
|
| 123 |
+
AR_LIKE_c - AR_i
|
| 124 |
+
AR_LIKE_m - AR_i
|
| 125 |
+
AR_LIKE_M - AR_i
|
| 126 |
+
AR_LIKE_O - AR_i
|
| 127 |
+
|
| 128 |
+
AR_f - AR_LIKE_b
|
| 129 |
+
AR_f - AR_LIKE_u
|
| 130 |
+
AR_f - AR_LIKE_i
|
| 131 |
+
AR_f - AR_LIKE_f
|
| 132 |
+
AR_f - AR_LIKE_c
|
| 133 |
+
AR_f - AR_LIKE_O
|
| 134 |
+
|
| 135 |
+
AR_LIKE_b - AR_f
|
| 136 |
+
AR_LIKE_u - AR_f
|
| 137 |
+
AR_LIKE_i - AR_f
|
| 138 |
+
AR_LIKE_f - AR_f
|
| 139 |
+
AR_LIKE_c - AR_f
|
| 140 |
+
AR_LIKE_O - AR_f
|
| 141 |
+
|
| 142 |
+
AR_c - AR_LIKE_b
|
| 143 |
+
AR_c - AR_LIKE_u
|
| 144 |
+
AR_c - AR_LIKE_i
|
| 145 |
+
AR_c - AR_LIKE_f
|
| 146 |
+
AR_c - AR_LIKE_c
|
| 147 |
+
AR_c - AR_LIKE_O
|
| 148 |
+
|
| 149 |
+
AR_LIKE_b - AR_c
|
| 150 |
+
AR_LIKE_u - AR_c
|
| 151 |
+
AR_LIKE_i - AR_c
|
| 152 |
+
AR_LIKE_f - AR_c
|
| 153 |
+
AR_LIKE_c - AR_c
|
| 154 |
+
AR_LIKE_O - AR_c
|
| 155 |
+
|
| 156 |
+
AR_m - AR_LIKE_b
|
| 157 |
+
AR_m - AR_LIKE_u
|
| 158 |
+
AR_m - AR_LIKE_i
|
| 159 |
+
AR_m - AR_LIKE_m
|
| 160 |
+
|
| 161 |
+
AR_LIKE_b - AR_m
|
| 162 |
+
AR_LIKE_u - AR_m
|
| 163 |
+
AR_LIKE_i - AR_m
|
| 164 |
+
AR_LIKE_m - AR_m
|
| 165 |
+
AR_LIKE_M - AR_m
|
| 166 |
+
|
| 167 |
+
AR_M - AR_LIKE_b
|
| 168 |
+
AR_M - AR_LIKE_u
|
| 169 |
+
AR_M - AR_LIKE_i
|
| 170 |
+
AR_M - AR_LIKE_m
|
| 171 |
+
AR_M - AR_LIKE_M
|
| 172 |
+
|
| 173 |
+
AR_LIKE_M - AR_M
|
| 174 |
+
|
| 175 |
+
AR_O - AR_LIKE_b
|
| 176 |
+
AR_O - AR_LIKE_u
|
| 177 |
+
AR_O - AR_LIKE_i
|
| 178 |
+
AR_O - AR_LIKE_f
|
| 179 |
+
AR_O - AR_LIKE_c
|
| 180 |
+
AR_O - AR_LIKE_O
|
| 181 |
+
|
| 182 |
+
AR_LIKE_b - AR_O
|
| 183 |
+
AR_LIKE_u - AR_O
|
| 184 |
+
AR_LIKE_i - AR_O
|
| 185 |
+
AR_LIKE_f - AR_O
|
| 186 |
+
AR_LIKE_c - AR_O
|
| 187 |
+
AR_LIKE_O - AR_O
|
| 188 |
+
|
| 189 |
+
AR_u += AR_b
|
| 190 |
+
AR_u += AR_u
|
| 191 |
+
AR_u += 1 # Allowed during runtime as long as the object is 0D and >=0
|
| 192 |
+
|
| 193 |
+
# Array floor division
|
| 194 |
+
|
| 195 |
+
AR_b // AR_LIKE_b
|
| 196 |
+
AR_b // AR_LIKE_u
|
| 197 |
+
AR_b // AR_LIKE_i
|
| 198 |
+
AR_b // AR_LIKE_f
|
| 199 |
+
AR_b // AR_LIKE_O
|
| 200 |
+
|
| 201 |
+
AR_LIKE_b // AR_b
|
| 202 |
+
AR_LIKE_u // AR_b
|
| 203 |
+
AR_LIKE_i // AR_b
|
| 204 |
+
AR_LIKE_f // AR_b
|
| 205 |
+
AR_LIKE_O // AR_b
|
| 206 |
+
|
| 207 |
+
AR_u // AR_LIKE_b
|
| 208 |
+
AR_u // AR_LIKE_u
|
| 209 |
+
AR_u // AR_LIKE_i
|
| 210 |
+
AR_u // AR_LIKE_f
|
| 211 |
+
AR_u // AR_LIKE_O
|
| 212 |
+
|
| 213 |
+
AR_LIKE_b // AR_u
|
| 214 |
+
AR_LIKE_u // AR_u
|
| 215 |
+
AR_LIKE_i // AR_u
|
| 216 |
+
AR_LIKE_f // AR_u
|
| 217 |
+
AR_LIKE_m // AR_u
|
| 218 |
+
AR_LIKE_O // AR_u
|
| 219 |
+
|
| 220 |
+
AR_i // AR_LIKE_b
|
| 221 |
+
AR_i // AR_LIKE_u
|
| 222 |
+
AR_i // AR_LIKE_i
|
| 223 |
+
AR_i // AR_LIKE_f
|
| 224 |
+
AR_i // AR_LIKE_O
|
| 225 |
+
|
| 226 |
+
AR_LIKE_b // AR_i
|
| 227 |
+
AR_LIKE_u // AR_i
|
| 228 |
+
AR_LIKE_i // AR_i
|
| 229 |
+
AR_LIKE_f // AR_i
|
| 230 |
+
AR_LIKE_m // AR_i
|
| 231 |
+
AR_LIKE_O // AR_i
|
| 232 |
+
|
| 233 |
+
AR_f // AR_LIKE_b
|
| 234 |
+
AR_f // AR_LIKE_u
|
| 235 |
+
AR_f // AR_LIKE_i
|
| 236 |
+
AR_f // AR_LIKE_f
|
| 237 |
+
AR_f // AR_LIKE_O
|
| 238 |
+
|
| 239 |
+
AR_LIKE_b // AR_f
|
| 240 |
+
AR_LIKE_u // AR_f
|
| 241 |
+
AR_LIKE_i // AR_f
|
| 242 |
+
AR_LIKE_f // AR_f
|
| 243 |
+
AR_LIKE_m // AR_f
|
| 244 |
+
AR_LIKE_O // AR_f
|
| 245 |
+
|
| 246 |
+
AR_m // AR_LIKE_u
|
| 247 |
+
AR_m // AR_LIKE_i
|
| 248 |
+
AR_m // AR_LIKE_f
|
| 249 |
+
AR_m // AR_LIKE_m
|
| 250 |
+
|
| 251 |
+
AR_LIKE_m // AR_m
|
| 252 |
+
|
| 253 |
+
AR_O // AR_LIKE_b
|
| 254 |
+
AR_O // AR_LIKE_u
|
| 255 |
+
AR_O // AR_LIKE_i
|
| 256 |
+
AR_O // AR_LIKE_f
|
| 257 |
+
AR_O // AR_LIKE_O
|
| 258 |
+
|
| 259 |
+
AR_LIKE_b // AR_O
|
| 260 |
+
AR_LIKE_u // AR_O
|
| 261 |
+
AR_LIKE_i // AR_O
|
| 262 |
+
AR_LIKE_f // AR_O
|
| 263 |
+
AR_LIKE_O // AR_O
|
| 264 |
+
|
| 265 |
+
# Inplace multiplication
|
| 266 |
+
|
| 267 |
+
AR_b *= AR_LIKE_b
|
| 268 |
+
|
| 269 |
+
AR_u *= AR_LIKE_b
|
| 270 |
+
AR_u *= AR_LIKE_u
|
| 271 |
+
|
| 272 |
+
AR_i *= AR_LIKE_b
|
| 273 |
+
AR_i *= AR_LIKE_u
|
| 274 |
+
AR_i *= AR_LIKE_i
|
| 275 |
+
|
| 276 |
+
AR_f *= AR_LIKE_b
|
| 277 |
+
AR_f *= AR_LIKE_u
|
| 278 |
+
AR_f *= AR_LIKE_i
|
| 279 |
+
AR_f *= AR_LIKE_f
|
| 280 |
+
|
| 281 |
+
AR_c *= AR_LIKE_b
|
| 282 |
+
AR_c *= AR_LIKE_u
|
| 283 |
+
AR_c *= AR_LIKE_i
|
| 284 |
+
AR_c *= AR_LIKE_f
|
| 285 |
+
AR_c *= AR_LIKE_c
|
| 286 |
+
|
| 287 |
+
AR_m *= AR_LIKE_b
|
| 288 |
+
AR_m *= AR_LIKE_u
|
| 289 |
+
AR_m *= AR_LIKE_i
|
| 290 |
+
AR_m *= AR_LIKE_f
|
| 291 |
+
|
| 292 |
+
AR_O *= AR_LIKE_b
|
| 293 |
+
AR_O *= AR_LIKE_u
|
| 294 |
+
AR_O *= AR_LIKE_i
|
| 295 |
+
AR_O *= AR_LIKE_f
|
| 296 |
+
AR_O *= AR_LIKE_c
|
| 297 |
+
AR_O *= AR_LIKE_O
|
| 298 |
+
|
| 299 |
+
# Inplace power
|
| 300 |
+
|
| 301 |
+
AR_u **= AR_LIKE_b
|
| 302 |
+
AR_u **= AR_LIKE_u
|
| 303 |
+
|
| 304 |
+
AR_i **= AR_LIKE_b
|
| 305 |
+
AR_i **= AR_LIKE_u
|
| 306 |
+
AR_i **= AR_LIKE_i
|
| 307 |
+
|
| 308 |
+
AR_f **= AR_LIKE_b
|
| 309 |
+
AR_f **= AR_LIKE_u
|
| 310 |
+
AR_f **= AR_LIKE_i
|
| 311 |
+
AR_f **= AR_LIKE_f
|
| 312 |
+
|
| 313 |
+
AR_c **= AR_LIKE_b
|
| 314 |
+
AR_c **= AR_LIKE_u
|
| 315 |
+
AR_c **= AR_LIKE_i
|
| 316 |
+
AR_c **= AR_LIKE_f
|
| 317 |
+
AR_c **= AR_LIKE_c
|
| 318 |
+
|
| 319 |
+
AR_O **= AR_LIKE_b
|
| 320 |
+
AR_O **= AR_LIKE_u
|
| 321 |
+
AR_O **= AR_LIKE_i
|
| 322 |
+
AR_O **= AR_LIKE_f
|
| 323 |
+
AR_O **= AR_LIKE_c
|
| 324 |
+
AR_O **= AR_LIKE_O
|
| 325 |
+
|
| 326 |
+
# unary ops
|
| 327 |
+
|
| 328 |
+
-c16
|
| 329 |
+
-c8
|
| 330 |
+
-f8
|
| 331 |
+
-f4
|
| 332 |
+
-i8
|
| 333 |
+
-i4
|
| 334 |
+
with pytest.warns(RuntimeWarning):
|
| 335 |
+
-u8
|
| 336 |
+
-u4
|
| 337 |
+
-td
|
| 338 |
+
-AR_f
|
| 339 |
+
|
| 340 |
+
+c16
|
| 341 |
+
+c8
|
| 342 |
+
+f8
|
| 343 |
+
+f4
|
| 344 |
+
+i8
|
| 345 |
+
+i4
|
| 346 |
+
+u8
|
| 347 |
+
+u4
|
| 348 |
+
+td
|
| 349 |
+
+AR_f
|
| 350 |
+
|
| 351 |
+
abs(c16)
|
| 352 |
+
abs(c8)
|
| 353 |
+
abs(f8)
|
| 354 |
+
abs(f4)
|
| 355 |
+
abs(i8)
|
| 356 |
+
abs(i4)
|
| 357 |
+
abs(u8)
|
| 358 |
+
abs(u4)
|
| 359 |
+
abs(td)
|
| 360 |
+
abs(b_)
|
| 361 |
+
abs(AR_f)
|
| 362 |
+
|
| 363 |
+
# Time structures
|
| 364 |
+
|
| 365 |
+
dt + td
|
| 366 |
+
dt + i
|
| 367 |
+
dt + i4
|
| 368 |
+
dt + i8
|
| 369 |
+
dt - dt
|
| 370 |
+
dt - i
|
| 371 |
+
dt - i4
|
| 372 |
+
dt - i8
|
| 373 |
+
|
| 374 |
+
td + td
|
| 375 |
+
td + i
|
| 376 |
+
td + i4
|
| 377 |
+
td + i8
|
| 378 |
+
td - td
|
| 379 |
+
td - i
|
| 380 |
+
td - i4
|
| 381 |
+
td - i8
|
| 382 |
+
td / f
|
| 383 |
+
td / f4
|
| 384 |
+
td / f8
|
| 385 |
+
td / td
|
| 386 |
+
td // td
|
| 387 |
+
td % td
|
| 388 |
+
|
| 389 |
+
|
| 390 |
+
# boolean
|
| 391 |
+
|
| 392 |
+
b_ / b
|
| 393 |
+
b_ / b_
|
| 394 |
+
b_ / i
|
| 395 |
+
b_ / i8
|
| 396 |
+
b_ / i4
|
| 397 |
+
b_ / u8
|
| 398 |
+
b_ / u4
|
| 399 |
+
b_ / f
|
| 400 |
+
b_ / f8
|
| 401 |
+
b_ / f4
|
| 402 |
+
b_ / c
|
| 403 |
+
b_ / c16
|
| 404 |
+
b_ / c8
|
| 405 |
+
|
| 406 |
+
b / b_
|
| 407 |
+
b_ / b_
|
| 408 |
+
i / b_
|
| 409 |
+
i8 / b_
|
| 410 |
+
i4 / b_
|
| 411 |
+
u8 / b_
|
| 412 |
+
u4 / b_
|
| 413 |
+
f / b_
|
| 414 |
+
f8 / b_
|
| 415 |
+
f4 / b_
|
| 416 |
+
c / b_
|
| 417 |
+
c16 / b_
|
| 418 |
+
c8 / b_
|
| 419 |
+
|
| 420 |
+
# Complex
|
| 421 |
+
|
| 422 |
+
c16 + c16
|
| 423 |
+
c16 + f8
|
| 424 |
+
c16 + i8
|
| 425 |
+
c16 + c8
|
| 426 |
+
c16 + f4
|
| 427 |
+
c16 + i4
|
| 428 |
+
c16 + b_
|
| 429 |
+
c16 + b
|
| 430 |
+
c16 + c
|
| 431 |
+
c16 + f
|
| 432 |
+
c16 + i
|
| 433 |
+
c16 + AR_f
|
| 434 |
+
|
| 435 |
+
c16 + c16
|
| 436 |
+
f8 + c16
|
| 437 |
+
i8 + c16
|
| 438 |
+
c8 + c16
|
| 439 |
+
f4 + c16
|
| 440 |
+
i4 + c16
|
| 441 |
+
b_ + c16
|
| 442 |
+
b + c16
|
| 443 |
+
c + c16
|
| 444 |
+
f + c16
|
| 445 |
+
i + c16
|
| 446 |
+
AR_f + c16
|
| 447 |
+
|
| 448 |
+
c8 + c16
|
| 449 |
+
c8 + f8
|
| 450 |
+
c8 + i8
|
| 451 |
+
c8 + c8
|
| 452 |
+
c8 + f4
|
| 453 |
+
c8 + i4
|
| 454 |
+
c8 + b_
|
| 455 |
+
c8 + b
|
| 456 |
+
c8 + c
|
| 457 |
+
c8 + f
|
| 458 |
+
c8 + i
|
| 459 |
+
c8 + AR_f
|
| 460 |
+
|
| 461 |
+
c16 + c8
|
| 462 |
+
f8 + c8
|
| 463 |
+
i8 + c8
|
| 464 |
+
c8 + c8
|
| 465 |
+
f4 + c8
|
| 466 |
+
i4 + c8
|
| 467 |
+
b_ + c8
|
| 468 |
+
b + c8
|
| 469 |
+
c + c8
|
| 470 |
+
f + c8
|
| 471 |
+
i + c8
|
| 472 |
+
AR_f + c8
|
| 473 |
+
|
| 474 |
+
# Float
|
| 475 |
+
|
| 476 |
+
f8 + f8
|
| 477 |
+
f8 + i8
|
| 478 |
+
f8 + f4
|
| 479 |
+
f8 + i4
|
| 480 |
+
f8 + b_
|
| 481 |
+
f8 + b
|
| 482 |
+
f8 + c
|
| 483 |
+
f8 + f
|
| 484 |
+
f8 + i
|
| 485 |
+
f8 + AR_f
|
| 486 |
+
|
| 487 |
+
f8 + f8
|
| 488 |
+
i8 + f8
|
| 489 |
+
f4 + f8
|
| 490 |
+
i4 + f8
|
| 491 |
+
b_ + f8
|
| 492 |
+
b + f8
|
| 493 |
+
c + f8
|
| 494 |
+
f + f8
|
| 495 |
+
i + f8
|
| 496 |
+
AR_f + f8
|
| 497 |
+
|
| 498 |
+
f4 + f8
|
| 499 |
+
f4 + i8
|
| 500 |
+
f4 + f4
|
| 501 |
+
f4 + i4
|
| 502 |
+
f4 + b_
|
| 503 |
+
f4 + b
|
| 504 |
+
f4 + c
|
| 505 |
+
f4 + f
|
| 506 |
+
f4 + i
|
| 507 |
+
f4 + AR_f
|
| 508 |
+
|
| 509 |
+
f8 + f4
|
| 510 |
+
i8 + f4
|
| 511 |
+
f4 + f4
|
| 512 |
+
i4 + f4
|
| 513 |
+
b_ + f4
|
| 514 |
+
b + f4
|
| 515 |
+
c + f4
|
| 516 |
+
f + f4
|
| 517 |
+
i + f4
|
| 518 |
+
AR_f + f4
|
| 519 |
+
|
| 520 |
+
# Int
|
| 521 |
+
|
| 522 |
+
i8 + i8
|
| 523 |
+
i8 + u8
|
| 524 |
+
i8 + i4
|
| 525 |
+
i8 + u4
|
| 526 |
+
i8 + b_
|
| 527 |
+
i8 + b
|
| 528 |
+
i8 + c
|
| 529 |
+
i8 + f
|
| 530 |
+
i8 + i
|
| 531 |
+
i8 + AR_f
|
| 532 |
+
|
| 533 |
+
u8 + u8
|
| 534 |
+
u8 + i4
|
| 535 |
+
u8 + u4
|
| 536 |
+
u8 + b_
|
| 537 |
+
u8 + b
|
| 538 |
+
u8 + c
|
| 539 |
+
u8 + f
|
| 540 |
+
u8 + i
|
| 541 |
+
u8 + AR_f
|
| 542 |
+
|
| 543 |
+
i8 + i8
|
| 544 |
+
u8 + i8
|
| 545 |
+
i4 + i8
|
| 546 |
+
u4 + i8
|
| 547 |
+
b_ + i8
|
| 548 |
+
b + i8
|
| 549 |
+
c + i8
|
| 550 |
+
f + i8
|
| 551 |
+
i + i8
|
| 552 |
+
AR_f + i8
|
| 553 |
+
|
| 554 |
+
u8 + u8
|
| 555 |
+
i4 + u8
|
| 556 |
+
u4 + u8
|
| 557 |
+
b_ + u8
|
| 558 |
+
b + u8
|
| 559 |
+
c + u8
|
| 560 |
+
f + u8
|
| 561 |
+
i + u8
|
| 562 |
+
AR_f + u8
|
| 563 |
+
|
| 564 |
+
i4 + i8
|
| 565 |
+
i4 + i4
|
| 566 |
+
i4 + i
|
| 567 |
+
i4 + b_
|
| 568 |
+
i4 + b
|
| 569 |
+
i4 + AR_f
|
| 570 |
+
|
| 571 |
+
u4 + i8
|
| 572 |
+
u4 + i4
|
| 573 |
+
u4 + u8
|
| 574 |
+
u4 + u4
|
| 575 |
+
u4 + i
|
| 576 |
+
u4 + b_
|
| 577 |
+
u4 + b
|
| 578 |
+
u4 + AR_f
|
| 579 |
+
|
| 580 |
+
i8 + i4
|
| 581 |
+
i4 + i4
|
| 582 |
+
i + i4
|
| 583 |
+
b_ + i4
|
| 584 |
+
b + i4
|
| 585 |
+
AR_f + i4
|
| 586 |
+
|
| 587 |
+
i8 + u4
|
| 588 |
+
i4 + u4
|
| 589 |
+
u8 + u4
|
| 590 |
+
u4 + u4
|
| 591 |
+
b_ + u4
|
| 592 |
+
b + u4
|
| 593 |
+
i + u4
|
| 594 |
+
AR_f + u4
|
common/runtime/robodojo_support/numpy/typing/tests/data/pass/array_constructors.py
ADDED
|
@@ -0,0 +1,137 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import sys
|
| 2 |
+
from typing import Any
|
| 3 |
+
import numpy as np
|
| 4 |
+
|
| 5 |
+
|
| 6 |
+
class Index:
|
| 7 |
+
def __index__(self) -> int:
|
| 8 |
+
return 0
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
class SubClass(np.ndarray):
|
| 12 |
+
pass
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
def func(i: int, j: int, **kwargs: Any) -> SubClass:
|
| 16 |
+
return B
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
i8 = np.int64(1)
|
| 20 |
+
|
| 21 |
+
A = np.array([1])
|
| 22 |
+
B = A.view(SubClass).copy()
|
| 23 |
+
B_stack = np.array([[1], [1]]).view(SubClass)
|
| 24 |
+
C = [1]
|
| 25 |
+
|
| 26 |
+
np.ndarray(Index())
|
| 27 |
+
np.ndarray([Index()])
|
| 28 |
+
|
| 29 |
+
np.array(1, dtype=float)
|
| 30 |
+
np.array(1, copy=False)
|
| 31 |
+
np.array(1, order='F')
|
| 32 |
+
np.array(1, order=None)
|
| 33 |
+
np.array(1, subok=True)
|
| 34 |
+
np.array(1, ndmin=3)
|
| 35 |
+
np.array(1, str, copy=True, order='C', subok=False, ndmin=2)
|
| 36 |
+
|
| 37 |
+
np.asarray(A)
|
| 38 |
+
np.asarray(B)
|
| 39 |
+
np.asarray(C)
|
| 40 |
+
|
| 41 |
+
np.asanyarray(A)
|
| 42 |
+
np.asanyarray(B)
|
| 43 |
+
np.asanyarray(B, dtype=int)
|
| 44 |
+
np.asanyarray(C)
|
| 45 |
+
|
| 46 |
+
np.ascontiguousarray(A)
|
| 47 |
+
np.ascontiguousarray(B)
|
| 48 |
+
np.ascontiguousarray(C)
|
| 49 |
+
|
| 50 |
+
np.asfortranarray(A)
|
| 51 |
+
np.asfortranarray(B)
|
| 52 |
+
np.asfortranarray(C)
|
| 53 |
+
|
| 54 |
+
np.require(A)
|
| 55 |
+
np.require(B)
|
| 56 |
+
np.require(B, dtype=int)
|
| 57 |
+
np.require(B, requirements=None)
|
| 58 |
+
np.require(B, requirements="E")
|
| 59 |
+
np.require(B, requirements=["ENSUREARRAY"])
|
| 60 |
+
np.require(B, requirements={"F", "E"})
|
| 61 |
+
np.require(B, requirements=["C", "OWNDATA"])
|
| 62 |
+
np.require(B, requirements="W")
|
| 63 |
+
np.require(B, requirements="A")
|
| 64 |
+
np.require(C)
|
| 65 |
+
|
| 66 |
+
np.linspace(0, 2)
|
| 67 |
+
np.linspace(0.5, [0, 1, 2])
|
| 68 |
+
np.linspace([0, 1, 2], 3)
|
| 69 |
+
np.linspace(0j, 2)
|
| 70 |
+
np.linspace(0, 2, num=10)
|
| 71 |
+
np.linspace(0, 2, endpoint=True)
|
| 72 |
+
np.linspace(0, 2, retstep=True)
|
| 73 |
+
np.linspace(0j, 2j, retstep=True)
|
| 74 |
+
np.linspace(0, 2, dtype=bool)
|
| 75 |
+
np.linspace([0, 1], [2, 3], axis=Index())
|
| 76 |
+
|
| 77 |
+
np.logspace(0, 2, base=2)
|
| 78 |
+
np.logspace(0, 2, base=2)
|
| 79 |
+
np.logspace(0, 2, base=[1j, 2j], num=2)
|
| 80 |
+
|
| 81 |
+
np.geomspace(1, 2)
|
| 82 |
+
|
| 83 |
+
np.zeros_like(A)
|
| 84 |
+
np.zeros_like(C)
|
| 85 |
+
np.zeros_like(B)
|
| 86 |
+
np.zeros_like(B, dtype=np.int64)
|
| 87 |
+
|
| 88 |
+
np.ones_like(A)
|
| 89 |
+
np.ones_like(C)
|
| 90 |
+
np.ones_like(B)
|
| 91 |
+
np.ones_like(B, dtype=np.int64)
|
| 92 |
+
|
| 93 |
+
np.empty_like(A)
|
| 94 |
+
np.empty_like(C)
|
| 95 |
+
np.empty_like(B)
|
| 96 |
+
np.empty_like(B, dtype=np.int64)
|
| 97 |
+
|
| 98 |
+
np.full_like(A, i8)
|
| 99 |
+
np.full_like(C, i8)
|
| 100 |
+
np.full_like(B, i8)
|
| 101 |
+
np.full_like(B, i8, dtype=np.int64)
|
| 102 |
+
|
| 103 |
+
np.ones(1)
|
| 104 |
+
np.ones([1, 1, 1])
|
| 105 |
+
|
| 106 |
+
np.full(1, i8)
|
| 107 |
+
np.full([1, 1, 1], i8)
|
| 108 |
+
|
| 109 |
+
np.indices([1, 2, 3])
|
| 110 |
+
np.indices([1, 2, 3], sparse=True)
|
| 111 |
+
|
| 112 |
+
np.fromfunction(func, (3, 5))
|
| 113 |
+
|
| 114 |
+
np.identity(10)
|
| 115 |
+
|
| 116 |
+
np.atleast_1d(C)
|
| 117 |
+
np.atleast_1d(A)
|
| 118 |
+
np.atleast_1d(C, C)
|
| 119 |
+
np.atleast_1d(C, A)
|
| 120 |
+
np.atleast_1d(A, A)
|
| 121 |
+
|
| 122 |
+
np.atleast_2d(C)
|
| 123 |
+
|
| 124 |
+
np.atleast_3d(C)
|
| 125 |
+
|
| 126 |
+
np.vstack([C, C])
|
| 127 |
+
np.vstack([C, A])
|
| 128 |
+
np.vstack([A, A])
|
| 129 |
+
|
| 130 |
+
np.hstack([C, C])
|
| 131 |
+
|
| 132 |
+
np.stack([C, C])
|
| 133 |
+
np.stack([C, C], axis=0)
|
| 134 |
+
np.stack([C, C], out=B_stack)
|
| 135 |
+
|
| 136 |
+
np.block([[C, C], [C, C]])
|
| 137 |
+
np.block(A)
|
common/runtime/robodojo_support/numpy/typing/tests/data/pass/array_like.py
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from __future__ import annotations
|
| 2 |
+
|
| 3 |
+
from typing import Any
|
| 4 |
+
|
| 5 |
+
import numpy as np
|
| 6 |
+
from numpy._typing import ArrayLike, _SupportsArray
|
| 7 |
+
|
| 8 |
+
x1: ArrayLike = True
|
| 9 |
+
x2: ArrayLike = 5
|
| 10 |
+
x3: ArrayLike = 1.0
|
| 11 |
+
x4: ArrayLike = 1 + 1j
|
| 12 |
+
x5: ArrayLike = np.int8(1)
|
| 13 |
+
x6: ArrayLike = np.float64(1)
|
| 14 |
+
x7: ArrayLike = np.complex128(1)
|
| 15 |
+
x8: ArrayLike = np.array([1, 2, 3])
|
| 16 |
+
x9: ArrayLike = [1, 2, 3]
|
| 17 |
+
x10: ArrayLike = (1, 2, 3)
|
| 18 |
+
x11: ArrayLike = "foo"
|
| 19 |
+
x12: ArrayLike = memoryview(b'foo')
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
class A:
|
| 23 |
+
def __array__(self, dtype: None | np.dtype[Any] = None) -> np.ndarray:
|
| 24 |
+
return np.array([1, 2, 3])
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
x13: ArrayLike = A()
|
| 28 |
+
|
| 29 |
+
scalar: _SupportsArray = np.int64(1)
|
| 30 |
+
scalar.__array__()
|
| 31 |
+
array: _SupportsArray = np.array(1)
|
| 32 |
+
array.__array__()
|
| 33 |
+
|
| 34 |
+
a: _SupportsArray = A()
|
| 35 |
+
a.__array__()
|
| 36 |
+
a.__array__()
|
| 37 |
+
|
| 38 |
+
# Escape hatch for when you mean to make something like an object
|
| 39 |
+
# array.
|
| 40 |
+
object_array_scalar: Any = (i for i in range(10))
|
| 41 |
+
np.array(object_array_scalar)
|
common/runtime/robodojo_support/numpy/typing/tests/data/pass/arrayterator.py
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
from __future__ import annotations
|
| 3 |
+
|
| 4 |
+
from typing import Any
|
| 5 |
+
import numpy as np
|
| 6 |
+
|
| 7 |
+
AR_i8: np.ndarray[Any, np.dtype[np.int_]] = np.arange(10)
|
| 8 |
+
ar_iter = np.lib.Arrayterator(AR_i8)
|
| 9 |
+
|
| 10 |
+
ar_iter.var
|
| 11 |
+
ar_iter.buf_size
|
| 12 |
+
ar_iter.start
|
| 13 |
+
ar_iter.stop
|
| 14 |
+
ar_iter.step
|
| 15 |
+
ar_iter.shape
|
| 16 |
+
ar_iter.flat
|
| 17 |
+
|
| 18 |
+
ar_iter.__array__()
|
| 19 |
+
|
| 20 |
+
for i in ar_iter:
|
| 21 |
+
pass
|
| 22 |
+
|
| 23 |
+
ar_iter[0]
|
| 24 |
+
ar_iter[...]
|
|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|
| 7 |
+
u4 = np.uint32(1)
|
| 8 |
+
|
| 9 |
+
b_ = np.bool_(1)
|
| 10 |
+
|
| 11 |
+
b = bool(1)
|
| 12 |
+
i = int(1)
|
| 13 |
+
|
| 14 |
+
AR = np.array([0, 1, 2], dtype=np.int32)
|
| 15 |
+
AR.setflags(write=False)
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
i8 << i8
|
| 19 |
+
i8 >> i8
|
| 20 |
+
i8 | i8
|
| 21 |
+
i8 ^ i8
|
| 22 |
+
i8 & i8
|
| 23 |
+
|
| 24 |
+
i8 << AR
|
| 25 |
+
i8 >> AR
|
| 26 |
+
i8 | AR
|
| 27 |
+
i8 ^ AR
|
| 28 |
+
i8 & AR
|
| 29 |
+
|
| 30 |
+
i4 << i4
|
| 31 |
+
i4 >> i4
|
| 32 |
+
i4 | i4
|
| 33 |
+
i4 ^ i4
|
| 34 |
+
i4 & i4
|
| 35 |
+
|
| 36 |
+
i8 << i4
|
| 37 |
+
i8 >> i4
|
| 38 |
+
i8 | i4
|
| 39 |
+
i8 ^ i4
|
| 40 |
+
i8 & i4
|
| 41 |
+
|
| 42 |
+
i8 << i
|
| 43 |
+
i8 >> i
|
| 44 |
+
i8 | i
|
| 45 |
+
i8 ^ i
|
| 46 |
+
i8 & i
|
| 47 |
+
|
| 48 |
+
i8 << b_
|
| 49 |
+
i8 >> b_
|
| 50 |
+
i8 | b_
|
| 51 |
+
i8 ^ b_
|
| 52 |
+
i8 & b_
|
| 53 |
+
|
| 54 |
+
i8 << b
|
| 55 |
+
i8 >> b
|
| 56 |
+
i8 | b
|
| 57 |
+
i8 ^ b
|
| 58 |
+
i8 & b
|
| 59 |
+
|
| 60 |
+
u8 << u8
|
| 61 |
+
u8 >> u8
|
| 62 |
+
u8 | u8
|
| 63 |
+
u8 ^ u8
|
| 64 |
+
u8 & u8
|
| 65 |
+
|
| 66 |
+
u8 << AR
|
| 67 |
+
u8 >> AR
|
| 68 |
+
u8 | AR
|
| 69 |
+
u8 ^ AR
|
| 70 |
+
u8 & AR
|
| 71 |
+
|
| 72 |
+
u4 << u4
|
| 73 |
+
u4 >> u4
|
| 74 |
+
u4 | u4
|
| 75 |
+
u4 ^ u4
|
| 76 |
+
u4 & u4
|
| 77 |
+
|
| 78 |
+
u4 << i4
|
| 79 |
+
u4 >> i4
|
| 80 |
+
u4 | i4
|
| 81 |
+
u4 ^ i4
|
| 82 |
+
u4 & i4
|
| 83 |
+
|
| 84 |
+
u4 << i
|
| 85 |
+
u4 >> i
|
| 86 |
+
u4 | i
|
| 87 |
+
u4 ^ i
|
| 88 |
+
u4 & i
|
| 89 |
+
|
| 90 |
+
u8 << b_
|
| 91 |
+
u8 >> b_
|
| 92 |
+
u8 | b_
|
| 93 |
+
u8 ^ b_
|
| 94 |
+
u8 & b_
|
| 95 |
+
|
| 96 |
+
u8 << b
|
| 97 |
+
u8 >> b
|
| 98 |
+
u8 | b
|
| 99 |
+
u8 ^ b
|
| 100 |
+
u8 & b
|
| 101 |
+
|
| 102 |
+
b_ << b_
|
| 103 |
+
b_ >> b_
|
| 104 |
+
b_ | b_
|
| 105 |
+
b_ ^ b_
|
| 106 |
+
b_ & b_
|
| 107 |
+
|
| 108 |
+
b_ << AR
|
| 109 |
+
b_ >> AR
|
| 110 |
+
b_ | AR
|
| 111 |
+
b_ ^ AR
|
| 112 |
+
b_ & AR
|
| 113 |
+
|
| 114 |
+
b_ << b
|
| 115 |
+
b_ >> b
|
| 116 |
+
b_ | b
|
| 117 |
+
b_ ^ b
|
| 118 |
+
b_ & b
|
| 119 |
+
|
| 120 |
+
b_ << i
|
| 121 |
+
b_ >> i
|
| 122 |
+
b_ | i
|
| 123 |
+
b_ ^ i
|
| 124 |
+
b_ & i
|
| 125 |
+
|
| 126 |
+
~i8
|
| 127 |
+
~i4
|
| 128 |
+
~u8
|
| 129 |
+
~u4
|
| 130 |
+
~b_
|
| 131 |
+
~AR
|
common/runtime/robodojo_support/numpy/typing/tests/data/pass/dtype.py
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import numpy as np
|
| 2 |
+
|
| 3 |
+
dtype_obj = np.dtype(np.str_)
|
| 4 |
+
void_dtype_obj = np.dtype([("f0", np.float64), ("f1", np.float32)])
|
| 5 |
+
|
| 6 |
+
np.dtype(dtype=np.int64)
|
| 7 |
+
np.dtype(int)
|
| 8 |
+
np.dtype("int")
|
| 9 |
+
np.dtype(None)
|
| 10 |
+
|
| 11 |
+
np.dtype((int, 2))
|
| 12 |
+
np.dtype((int, (1,)))
|
| 13 |
+
|
| 14 |
+
np.dtype({"names": ["a", "b"], "formats": [int, float]})
|
| 15 |
+
np.dtype({"names": ["a"], "formats": [int], "titles": [object]})
|
| 16 |
+
np.dtype({"names": ["a"], "formats": [int], "titles": [object()]})
|
| 17 |
+
|
| 18 |
+
np.dtype([("name", np.str_, 16), ("grades", np.float64, (2,)), ("age", "int32")])
|
| 19 |
+
|
| 20 |
+
np.dtype(
|
| 21 |
+
{
|
| 22 |
+
"names": ["a", "b"],
|
| 23 |
+
"formats": [int, float],
|
| 24 |
+
"itemsize": 9,
|
| 25 |
+
"aligned": False,
|
| 26 |
+
"titles": ["x", "y"],
|
| 27 |
+
"offsets": [0, 1],
|
| 28 |
+
}
|
| 29 |
+
)
|
| 30 |
+
|
| 31 |
+
np.dtype((np.float_, float))
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
class Test:
|
| 35 |
+
dtype = np.dtype(float)
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
np.dtype(Test())
|
| 39 |
+
|
| 40 |
+
# Methods and attributes
|
| 41 |
+
dtype_obj.base
|
| 42 |
+
dtype_obj.subdtype
|
| 43 |
+
dtype_obj.newbyteorder()
|
| 44 |
+
dtype_obj.type
|
| 45 |
+
dtype_obj.name
|
| 46 |
+
dtype_obj.names
|
| 47 |
+
|
| 48 |
+
dtype_obj * 0
|
| 49 |
+
dtype_obj * 2
|
| 50 |
+
|
| 51 |
+
0 * dtype_obj
|
| 52 |
+
2 * dtype_obj
|
| 53 |
+
|
| 54 |
+
void_dtype_obj["f0"]
|
| 55 |
+
void_dtype_obj[0]
|
| 56 |
+
void_dtype_obj[["f0", "f1"]]
|
| 57 |
+
void_dtype_obj[["f0"]]
|
common/runtime/robodojo_support/numpy/typing/tests/data/pass/einsumfunc.py
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from __future__ import annotations
|
| 2 |
+
|
| 3 |
+
from typing import Any
|
| 4 |
+
|
| 5 |
+
import numpy as np
|
| 6 |
+
|
| 7 |
+
AR_LIKE_b = [True, True, True]
|
| 8 |
+
AR_LIKE_u = [np.uint32(1), np.uint32(2), np.uint32(3)]
|
| 9 |
+
AR_LIKE_i = [1, 2, 3]
|
| 10 |
+
AR_LIKE_f = [1.0, 2.0, 3.0]
|
| 11 |
+
AR_LIKE_c = [1j, 2j, 3j]
|
| 12 |
+
AR_LIKE_U = ["1", "2", "3"]
|
| 13 |
+
|
| 14 |
+
OUT_f: np.ndarray[Any, np.dtype[np.float64]] = np.empty(3, dtype=np.float64)
|
| 15 |
+
OUT_c: np.ndarray[Any, np.dtype[np.complex128]] = np.empty(3, dtype=np.complex128)
|
| 16 |
+
|
| 17 |
+
np.einsum("i,i->i", AR_LIKE_b, AR_LIKE_b)
|
| 18 |
+
np.einsum("i,i->i", AR_LIKE_u, AR_LIKE_u)
|
| 19 |
+
np.einsum("i,i->i", AR_LIKE_i, AR_LIKE_i)
|
| 20 |
+
np.einsum("i,i->i", AR_LIKE_f, AR_LIKE_f)
|
| 21 |
+
np.einsum("i,i->i", AR_LIKE_c, AR_LIKE_c)
|
| 22 |
+
np.einsum("i,i->i", AR_LIKE_b, AR_LIKE_i)
|
| 23 |
+
np.einsum("i,i,i,i->i", AR_LIKE_b, AR_LIKE_u, AR_LIKE_i, AR_LIKE_c)
|
| 24 |
+
|
| 25 |
+
np.einsum("i,i->i", AR_LIKE_f, AR_LIKE_f, dtype="c16")
|
| 26 |
+
np.einsum("i,i->i", AR_LIKE_U, AR_LIKE_U, dtype=bool, casting="unsafe")
|
| 27 |
+
np.einsum("i,i->i", AR_LIKE_f, AR_LIKE_f, out=OUT_c)
|
| 28 |
+
np.einsum("i,i->i", AR_LIKE_U, AR_LIKE_U, dtype=int, casting="unsafe", out=OUT_f)
|
| 29 |
+
|
| 30 |
+
np.einsum_path("i,i->i", AR_LIKE_b, AR_LIKE_b)
|
| 31 |
+
np.einsum_path("i,i->i", AR_LIKE_u, AR_LIKE_u)
|
| 32 |
+
np.einsum_path("i,i->i", AR_LIKE_i, AR_LIKE_i)
|
| 33 |
+
np.einsum_path("i,i->i", AR_LIKE_f, AR_LIKE_f)
|
| 34 |
+
np.einsum_path("i,i->i", AR_LIKE_c, AR_LIKE_c)
|
| 35 |
+
np.einsum_path("i,i->i", AR_LIKE_b, AR_LIKE_i)
|
| 36 |
+
np.einsum_path("i,i,i,i->i", AR_LIKE_b, AR_LIKE_u, AR_LIKE_i, AR_LIKE_c)
|
common/runtime/robodojo_support/numpy/typing/tests/data/pass/flatiter.py
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import numpy as np
|
| 2 |
+
|
| 3 |
+
a = np.empty((2, 2)).flat
|
| 4 |
+
|
| 5 |
+
a.base
|
| 6 |
+
a.copy()
|
| 7 |
+
a.coords
|
| 8 |
+
a.index
|
| 9 |
+
iter(a)
|
| 10 |
+
next(a)
|
| 11 |
+
a[0]
|
| 12 |
+
a[[0, 1, 2]]
|
| 13 |
+
a[...]
|
| 14 |
+
a[:]
|
| 15 |
+
a.__array__()
|
| 16 |
+
a.__array__(np.dtype(np.float64))
|
common/runtime/robodojo_support/numpy/typing/tests/data/pass/fromnumeric.py
ADDED
|
@@ -0,0 +1,260 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Tests for :mod:`numpy.core.fromnumeric`."""
|
| 2 |
+
|
| 3 |
+
import numpy as np
|
| 4 |
+
|
| 5 |
+
A = np.array(True, ndmin=2, dtype=bool)
|
| 6 |
+
B = np.array(1.0, ndmin=2, dtype=np.float32)
|
| 7 |
+
A.setflags(write=False)
|
| 8 |
+
B.setflags(write=False)
|
| 9 |
+
|
| 10 |
+
a = np.bool_(True)
|
| 11 |
+
b = np.float32(1.0)
|
| 12 |
+
c = 1.0
|
| 13 |
+
d = np.array(1.0, dtype=np.float32) # writeable
|
| 14 |
+
|
| 15 |
+
np.take(a, 0)
|
| 16 |
+
np.take(b, 0)
|
| 17 |
+
np.take(c, 0)
|
| 18 |
+
np.take(A, 0)
|
| 19 |
+
np.take(B, 0)
|
| 20 |
+
np.take(A, [0])
|
| 21 |
+
np.take(B, [0])
|
| 22 |
+
|
| 23 |
+
np.reshape(a, 1)
|
| 24 |
+
np.reshape(b, 1)
|
| 25 |
+
np.reshape(c, 1)
|
| 26 |
+
np.reshape(A, 1)
|
| 27 |
+
np.reshape(B, 1)
|
| 28 |
+
|
| 29 |
+
np.choose(a, [True, True])
|
| 30 |
+
np.choose(A, [1.0, 1.0])
|
| 31 |
+
|
| 32 |
+
np.repeat(a, 1)
|
| 33 |
+
np.repeat(b, 1)
|
| 34 |
+
np.repeat(c, 1)
|
| 35 |
+
np.repeat(A, 1)
|
| 36 |
+
np.repeat(B, 1)
|
| 37 |
+
|
| 38 |
+
np.swapaxes(A, 0, 0)
|
| 39 |
+
np.swapaxes(B, 0, 0)
|
| 40 |
+
|
| 41 |
+
np.transpose(a)
|
| 42 |
+
np.transpose(b)
|
| 43 |
+
np.transpose(c)
|
| 44 |
+
np.transpose(A)
|
| 45 |
+
np.transpose(B)
|
| 46 |
+
|
| 47 |
+
np.partition(a, 0, axis=None)
|
| 48 |
+
np.partition(b, 0, axis=None)
|
| 49 |
+
np.partition(c, 0, axis=None)
|
| 50 |
+
np.partition(A, 0)
|
| 51 |
+
np.partition(B, 0)
|
| 52 |
+
|
| 53 |
+
np.argpartition(a, 0)
|
| 54 |
+
np.argpartition(b, 0)
|
| 55 |
+
np.argpartition(c, 0)
|
| 56 |
+
np.argpartition(A, 0)
|
| 57 |
+
np.argpartition(B, 0)
|
| 58 |
+
|
| 59 |
+
np.sort(A, 0)
|
| 60 |
+
np.sort(B, 0)
|
| 61 |
+
|
| 62 |
+
np.argsort(A, 0)
|
| 63 |
+
np.argsort(B, 0)
|
| 64 |
+
|
| 65 |
+
np.argmax(A)
|
| 66 |
+
np.argmax(B)
|
| 67 |
+
np.argmax(A, axis=0)
|
| 68 |
+
np.argmax(B, axis=0)
|
| 69 |
+
|
| 70 |
+
np.argmin(A)
|
| 71 |
+
np.argmin(B)
|
| 72 |
+
np.argmin(A, axis=0)
|
| 73 |
+
np.argmin(B, axis=0)
|
| 74 |
+
|
| 75 |
+
np.searchsorted(A[0], 0)
|
| 76 |
+
np.searchsorted(B[0], 0)
|
| 77 |
+
np.searchsorted(A[0], [0])
|
| 78 |
+
np.searchsorted(B[0], [0])
|
| 79 |
+
|
| 80 |
+
np.resize(a, (5, 5))
|
| 81 |
+
np.resize(b, (5, 5))
|
| 82 |
+
np.resize(c, (5, 5))
|
| 83 |
+
np.resize(A, (5, 5))
|
| 84 |
+
np.resize(B, (5, 5))
|
| 85 |
+
|
| 86 |
+
np.squeeze(a)
|
| 87 |
+
np.squeeze(b)
|
| 88 |
+
np.squeeze(c)
|
| 89 |
+
np.squeeze(A)
|
| 90 |
+
np.squeeze(B)
|
| 91 |
+
|
| 92 |
+
np.diagonal(A)
|
| 93 |
+
np.diagonal(B)
|
| 94 |
+
|
| 95 |
+
np.trace(A)
|
| 96 |
+
np.trace(B)
|
| 97 |
+
|
| 98 |
+
np.ravel(a)
|
| 99 |
+
np.ravel(b)
|
| 100 |
+
np.ravel(c)
|
| 101 |
+
np.ravel(A)
|
| 102 |
+
np.ravel(B)
|
| 103 |
+
|
| 104 |
+
np.nonzero(A)
|
| 105 |
+
np.nonzero(B)
|
| 106 |
+
|
| 107 |
+
np.shape(a)
|
| 108 |
+
np.shape(b)
|
| 109 |
+
np.shape(c)
|
| 110 |
+
np.shape(A)
|
| 111 |
+
np.shape(B)
|
| 112 |
+
|
| 113 |
+
np.compress([True], a)
|
| 114 |
+
np.compress([True], b)
|
| 115 |
+
np.compress([True], c)
|
| 116 |
+
np.compress([True], A)
|
| 117 |
+
np.compress([True], B)
|
| 118 |
+
|
| 119 |
+
np.clip(a, 0, 1.0)
|
| 120 |
+
np.clip(b, -1, 1)
|
| 121 |
+
np.clip(a, 0, None)
|
| 122 |
+
np.clip(b, None, 1)
|
| 123 |
+
np.clip(c, 0, 1)
|
| 124 |
+
np.clip(A, 0, 1)
|
| 125 |
+
np.clip(B, 0, 1)
|
| 126 |
+
np.clip(B, [0, 1], [1, 2])
|
| 127 |
+
|
| 128 |
+
np.sum(a)
|
| 129 |
+
np.sum(b)
|
| 130 |
+
np.sum(c)
|
| 131 |
+
np.sum(A)
|
| 132 |
+
np.sum(B)
|
| 133 |
+
np.sum(A, axis=0)
|
| 134 |
+
np.sum(B, axis=0)
|
| 135 |
+
|
| 136 |
+
np.all(a)
|
| 137 |
+
np.all(b)
|
| 138 |
+
np.all(c)
|
| 139 |
+
np.all(A)
|
| 140 |
+
np.all(B)
|
| 141 |
+
np.all(A, axis=0)
|
| 142 |
+
np.all(B, axis=0)
|
| 143 |
+
np.all(A, keepdims=True)
|
| 144 |
+
np.all(B, keepdims=True)
|
| 145 |
+
|
| 146 |
+
np.any(a)
|
| 147 |
+
np.any(b)
|
| 148 |
+
np.any(c)
|
| 149 |
+
np.any(A)
|
| 150 |
+
np.any(B)
|
| 151 |
+
np.any(A, axis=0)
|
| 152 |
+
np.any(B, axis=0)
|
| 153 |
+
np.any(A, keepdims=True)
|
| 154 |
+
np.any(B, keepdims=True)
|
| 155 |
+
|
| 156 |
+
np.cumsum(a)
|
| 157 |
+
np.cumsum(b)
|
| 158 |
+
np.cumsum(c)
|
| 159 |
+
np.cumsum(A)
|
| 160 |
+
np.cumsum(B)
|
| 161 |
+
|
| 162 |
+
np.ptp(b)
|
| 163 |
+
np.ptp(c)
|
| 164 |
+
np.ptp(B)
|
| 165 |
+
np.ptp(B, axis=0)
|
| 166 |
+
np.ptp(B, keepdims=True)
|
| 167 |
+
|
| 168 |
+
np.amax(a)
|
| 169 |
+
np.amax(b)
|
| 170 |
+
np.amax(c)
|
| 171 |
+
np.amax(A)
|
| 172 |
+
np.amax(B)
|
| 173 |
+
np.amax(A, axis=0)
|
| 174 |
+
np.amax(B, axis=0)
|
| 175 |
+
np.amax(A, keepdims=True)
|
| 176 |
+
np.amax(B, keepdims=True)
|
| 177 |
+
|
| 178 |
+
np.amin(a)
|
| 179 |
+
np.amin(b)
|
| 180 |
+
np.amin(c)
|
| 181 |
+
np.amin(A)
|
| 182 |
+
np.amin(B)
|
| 183 |
+
np.amin(A, axis=0)
|
| 184 |
+
np.amin(B, axis=0)
|
| 185 |
+
np.amin(A, keepdims=True)
|
| 186 |
+
np.amin(B, keepdims=True)
|
| 187 |
+
|
| 188 |
+
np.prod(a)
|
| 189 |
+
np.prod(b)
|
| 190 |
+
np.prod(c)
|
| 191 |
+
np.prod(A)
|
| 192 |
+
np.prod(B)
|
| 193 |
+
np.prod(a, dtype=None)
|
| 194 |
+
np.prod(A, dtype=None)
|
| 195 |
+
np.prod(A, axis=0)
|
| 196 |
+
np.prod(B, axis=0)
|
| 197 |
+
np.prod(A, keepdims=True)
|
| 198 |
+
np.prod(B, keepdims=True)
|
| 199 |
+
np.prod(b, out=d)
|
| 200 |
+
np.prod(B, out=d)
|
| 201 |
+
|
| 202 |
+
np.cumprod(a)
|
| 203 |
+
np.cumprod(b)
|
| 204 |
+
np.cumprod(c)
|
| 205 |
+
np.cumprod(A)
|
| 206 |
+
np.cumprod(B)
|
| 207 |
+
|
| 208 |
+
np.ndim(a)
|
| 209 |
+
np.ndim(b)
|
| 210 |
+
np.ndim(c)
|
| 211 |
+
np.ndim(A)
|
| 212 |
+
np.ndim(B)
|
| 213 |
+
|
| 214 |
+
np.size(a)
|
| 215 |
+
np.size(b)
|
| 216 |
+
np.size(c)
|
| 217 |
+
np.size(A)
|
| 218 |
+
np.size(B)
|
| 219 |
+
|
| 220 |
+
np.around(a)
|
| 221 |
+
np.around(b)
|
| 222 |
+
np.around(c)
|
| 223 |
+
np.around(A)
|
| 224 |
+
np.around(B)
|
| 225 |
+
|
| 226 |
+
np.mean(a)
|
| 227 |
+
np.mean(b)
|
| 228 |
+
np.mean(c)
|
| 229 |
+
np.mean(A)
|
| 230 |
+
np.mean(B)
|
| 231 |
+
np.mean(A, axis=0)
|
| 232 |
+
np.mean(B, axis=0)
|
| 233 |
+
np.mean(A, keepdims=True)
|
| 234 |
+
np.mean(B, keepdims=True)
|
| 235 |
+
np.mean(b, out=d)
|
| 236 |
+
np.mean(B, out=d)
|
| 237 |
+
|
| 238 |
+
np.std(a)
|
| 239 |
+
np.std(b)
|
| 240 |
+
np.std(c)
|
| 241 |
+
np.std(A)
|
| 242 |
+
np.std(B)
|
| 243 |
+
np.std(A, axis=0)
|
| 244 |
+
np.std(B, axis=0)
|
| 245 |
+
np.std(A, keepdims=True)
|
| 246 |
+
np.std(B, keepdims=True)
|
| 247 |
+
np.std(b, out=d)
|
| 248 |
+
np.std(B, out=d)
|
| 249 |
+
|
| 250 |
+
np.var(a)
|
| 251 |
+
np.var(b)
|
| 252 |
+
np.var(c)
|
| 253 |
+
np.var(A)
|
| 254 |
+
np.var(B)
|
| 255 |
+
np.var(A, axis=0)
|
| 256 |
+
np.var(B, axis=0)
|
| 257 |
+
np.var(A, keepdims=True)
|
| 258 |
+
np.var(B, keepdims=True)
|
| 259 |
+
np.var(b, out=d)
|
| 260 |
+
np.var(B, out=d)
|
common/runtime/robodojo_support/numpy/typing/tests/data/pass/index_tricks.py
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from __future__ import annotations
|
| 2 |
+
from typing import Any
|
| 3 |
+
import numpy as np
|
| 4 |
+
|
| 5 |
+
AR_LIKE_b = [[True, True], [True, True]]
|
| 6 |
+
AR_LIKE_i = [[1, 2], [3, 4]]
|
| 7 |
+
AR_LIKE_f = [[1.0, 2.0], [3.0, 4.0]]
|
| 8 |
+
AR_LIKE_U = [["1", "2"], ["3", "4"]]
|
| 9 |
+
|
| 10 |
+
AR_i8: np.ndarray[Any, np.dtype[np.int64]] = np.array(AR_LIKE_i, dtype=np.int64)
|
| 11 |
+
|
| 12 |
+
np.ndenumerate(AR_i8)
|
| 13 |
+
np.ndenumerate(AR_LIKE_f)
|
| 14 |
+
np.ndenumerate(AR_LIKE_U)
|
| 15 |
+
|
| 16 |
+
np.ndenumerate(AR_i8).iter
|
| 17 |
+
np.ndenumerate(AR_LIKE_f).iter
|
| 18 |
+
np.ndenumerate(AR_LIKE_U).iter
|
| 19 |
+
|
| 20 |
+
next(np.ndenumerate(AR_i8))
|
| 21 |
+
next(np.ndenumerate(AR_LIKE_f))
|
| 22 |
+
next(np.ndenumerate(AR_LIKE_U))
|
| 23 |
+
|
| 24 |
+
iter(np.ndenumerate(AR_i8))
|
| 25 |
+
iter(np.ndenumerate(AR_LIKE_f))
|
| 26 |
+
iter(np.ndenumerate(AR_LIKE_U))
|
| 27 |
+
|
| 28 |
+
iter(np.ndindex(1, 2, 3))
|
| 29 |
+
next(np.ndindex(1, 2, 3))
|
| 30 |
+
|
| 31 |
+
np.unravel_index([22, 41, 37], (7, 6))
|
| 32 |
+
np.unravel_index([31, 41, 13], (7, 6), order='F')
|
| 33 |
+
np.unravel_index(1621, (6, 7, 8, 9))
|
| 34 |
+
|
| 35 |
+
np.ravel_multi_index(AR_LIKE_i, (7, 6))
|
| 36 |
+
np.ravel_multi_index(AR_LIKE_i, (7, 6), order='F')
|
| 37 |
+
np.ravel_multi_index(AR_LIKE_i, (4, 6), mode='clip')
|
| 38 |
+
np.ravel_multi_index(AR_LIKE_i, (4, 4), mode=('clip', 'wrap'))
|
| 39 |
+
np.ravel_multi_index((3, 1, 4, 1), (6, 7, 8, 9))
|
| 40 |
+
|
| 41 |
+
np.mgrid[1:1:2]
|
| 42 |
+
np.mgrid[1:1:2, None:10]
|
| 43 |
+
|
| 44 |
+
np.ogrid[1:1:2]
|
| 45 |
+
np.ogrid[1:1:2, None:10]
|
| 46 |
+
|
| 47 |
+
np.index_exp[0:1]
|
| 48 |
+
np.index_exp[0:1, None:3]
|
| 49 |
+
np.index_exp[0, 0:1, ..., [0, 1, 3]]
|
| 50 |
+
|
| 51 |
+
np.s_[0:1]
|
| 52 |
+
np.s_[0:1, None:3]
|
| 53 |
+
np.s_[0, 0:1, ..., [0, 1, 3]]
|
| 54 |
+
|
| 55 |
+
np.ix_(AR_LIKE_b[0])
|
| 56 |
+
np.ix_(AR_LIKE_i[0], AR_LIKE_f[0])
|
| 57 |
+
np.ix_(AR_i8[0])
|
| 58 |
+
|
| 59 |
+
np.fill_diagonal(AR_i8, 5)
|
| 60 |
+
|
| 61 |
+
np.diag_indices(4)
|
| 62 |
+
np.diag_indices(2, 3)
|
| 63 |
+
|
| 64 |
+
np.diag_indices_from(AR_i8)
|
common/runtime/robodojo_support/numpy/typing/tests/data/pass/lib_utils.py
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from __future__ import annotations
|
| 2 |
+
|
| 3 |
+
from io import StringIO
|
| 4 |
+
|
| 5 |
+
import numpy as np
|
| 6 |
+
|
| 7 |
+
FILE = StringIO()
|
| 8 |
+
AR = np.arange(10, dtype=np.float64)
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
def func(a: int) -> bool:
|
| 12 |
+
return True
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
np.deprecate(func)
|
| 16 |
+
np.deprecate()
|
| 17 |
+
|
| 18 |
+
np.deprecate_with_doc("test")
|
| 19 |
+
np.deprecate_with_doc(None)
|
| 20 |
+
|
| 21 |
+
np.byte_bounds(AR)
|
| 22 |
+
np.byte_bounds(np.float64())
|
| 23 |
+
|
| 24 |
+
np.info(1, output=FILE)
|
| 25 |
+
|
| 26 |
+
np.source(np.interp, output=FILE)
|
| 27 |
+
|
| 28 |
+
np.lookfor("binary representation", output=FILE)
|
common/runtime/robodojo_support/numpy/typing/tests/data/pass/lib_version.py
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from numpy.lib import NumpyVersion
|
| 2 |
+
|
| 3 |
+
version = NumpyVersion("1.8.0")
|
| 4 |
+
|
| 5 |
+
version.vstring
|
| 6 |
+
version.version
|
| 7 |
+
version.major
|
| 8 |
+
version.minor
|
| 9 |
+
version.bugfix
|
| 10 |
+
version.pre_release
|
| 11 |
+
version.is_devversion
|
| 12 |
+
|
| 13 |
+
version == version
|
| 14 |
+
version != version
|
| 15 |
+
version < "1.8.0"
|
| 16 |
+
version <= version
|
| 17 |
+
version > version
|
| 18 |
+
version >= "1.8.0"
|
common/runtime/robodojo_support/numpy/typing/tests/data/pass/mod.py
ADDED
|
@@ -0,0 +1,149 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import numpy as np
|
| 2 |
+
|
| 3 |
+
f8 = np.float64(1)
|
| 4 |
+
i8 = np.int64(1)
|
| 5 |
+
u8 = np.uint64(1)
|
| 6 |
+
|
| 7 |
+
f4 = np.float32(1)
|
| 8 |
+
i4 = np.int32(1)
|
| 9 |
+
u4 = np.uint32(1)
|
| 10 |
+
|
| 11 |
+
td = np.timedelta64(1, "D")
|
| 12 |
+
b_ = np.bool_(1)
|
| 13 |
+
|
| 14 |
+
b = bool(1)
|
| 15 |
+
f = float(1)
|
| 16 |
+
i = int(1)
|
| 17 |
+
|
| 18 |
+
AR = np.array([1], dtype=np.bool_)
|
| 19 |
+
AR.setflags(write=False)
|
| 20 |
+
|
| 21 |
+
AR2 = np.array([1], dtype=np.timedelta64)
|
| 22 |
+
AR2.setflags(write=False)
|
| 23 |
+
|
| 24 |
+
# Time structures
|
| 25 |
+
|
| 26 |
+
td % td
|
| 27 |
+
td % AR2
|
| 28 |
+
AR2 % td
|
| 29 |
+
|
| 30 |
+
divmod(td, td)
|
| 31 |
+
divmod(td, AR2)
|
| 32 |
+
divmod(AR2, td)
|
| 33 |
+
|
| 34 |
+
# Bool
|
| 35 |
+
|
| 36 |
+
b_ % b
|
| 37 |
+
b_ % i
|
| 38 |
+
b_ % f
|
| 39 |
+
b_ % b_
|
| 40 |
+
b_ % i8
|
| 41 |
+
b_ % u8
|
| 42 |
+
b_ % f8
|
| 43 |
+
b_ % AR
|
| 44 |
+
|
| 45 |
+
divmod(b_, b)
|
| 46 |
+
divmod(b_, i)
|
| 47 |
+
divmod(b_, f)
|
| 48 |
+
divmod(b_, b_)
|
| 49 |
+
divmod(b_, i8)
|
| 50 |
+
divmod(b_, u8)
|
| 51 |
+
divmod(b_, f8)
|
| 52 |
+
divmod(b_, AR)
|
| 53 |
+
|
| 54 |
+
b % b_
|
| 55 |
+
i % b_
|
| 56 |
+
f % b_
|
| 57 |
+
b_ % b_
|
| 58 |
+
i8 % b_
|
| 59 |
+
u8 % b_
|
| 60 |
+
f8 % b_
|
| 61 |
+
AR % b_
|
| 62 |
+
|
| 63 |
+
divmod(b, b_)
|
| 64 |
+
divmod(i, b_)
|
| 65 |
+
divmod(f, b_)
|
| 66 |
+
divmod(b_, b_)
|
| 67 |
+
divmod(i8, b_)
|
| 68 |
+
divmod(u8, b_)
|
| 69 |
+
divmod(f8, b_)
|
| 70 |
+
divmod(AR, b_)
|
| 71 |
+
|
| 72 |
+
# int
|
| 73 |
+
|
| 74 |
+
i8 % b
|
| 75 |
+
i8 % i
|
| 76 |
+
i8 % f
|
| 77 |
+
i8 % i8
|
| 78 |
+
i8 % f8
|
| 79 |
+
i4 % i8
|
| 80 |
+
i4 % f8
|
| 81 |
+
i4 % i4
|
| 82 |
+
i4 % f4
|
| 83 |
+
i8 % AR
|
| 84 |
+
|
| 85 |
+
divmod(i8, b)
|
| 86 |
+
divmod(i8, i)
|
| 87 |
+
divmod(i8, f)
|
| 88 |
+
divmod(i8, i8)
|
| 89 |
+
divmod(i8, f8)
|
| 90 |
+
divmod(i8, i4)
|
| 91 |
+
divmod(i8, f4)
|
| 92 |
+
divmod(i4, i4)
|
| 93 |
+
divmod(i4, f4)
|
| 94 |
+
divmod(i8, AR)
|
| 95 |
+
|
| 96 |
+
b % i8
|
| 97 |
+
i % i8
|
| 98 |
+
f % i8
|
| 99 |
+
i8 % i8
|
| 100 |
+
f8 % i8
|
| 101 |
+
i8 % i4
|
| 102 |
+
f8 % i4
|
| 103 |
+
i4 % i4
|
| 104 |
+
f4 % i4
|
| 105 |
+
AR % i8
|
| 106 |
+
|
| 107 |
+
divmod(b, i8)
|
| 108 |
+
divmod(i, i8)
|
| 109 |
+
divmod(f, i8)
|
| 110 |
+
divmod(i8, i8)
|
| 111 |
+
divmod(f8, i8)
|
| 112 |
+
divmod(i4, i8)
|
| 113 |
+
divmod(f4, i8)
|
| 114 |
+
divmod(i4, i4)
|
| 115 |
+
divmod(f4, i4)
|
| 116 |
+
divmod(AR, i8)
|
| 117 |
+
|
| 118 |
+
# float
|
| 119 |
+
|
| 120 |
+
f8 % b
|
| 121 |
+
f8 % i
|
| 122 |
+
f8 % f
|
| 123 |
+
i8 % f4
|
| 124 |
+
f4 % f4
|
| 125 |
+
f8 % AR
|
| 126 |
+
|
| 127 |
+
divmod(f8, b)
|
| 128 |
+
divmod(f8, i)
|
| 129 |
+
divmod(f8, f)
|
| 130 |
+
divmod(f8, f8)
|
| 131 |
+
divmod(f8, f4)
|
| 132 |
+
divmod(f4, f4)
|
| 133 |
+
divmod(f8, AR)
|
| 134 |
+
|
| 135 |
+
b % f8
|
| 136 |
+
i % f8
|
| 137 |
+
f % f8
|
| 138 |
+
f8 % f8
|
| 139 |
+
f8 % f8
|
| 140 |
+
f4 % f4
|
| 141 |
+
AR % f8
|
| 142 |
+
|
| 143 |
+
divmod(b, f8)
|
| 144 |
+
divmod(i, f8)
|
| 145 |
+
divmod(f, f8)
|
| 146 |
+
divmod(f8, f8)
|
| 147 |
+
divmod(f4, f8)
|
| 148 |
+
divmod(f4, f4)
|
| 149 |
+
divmod(AR, f8)
|
common/runtime/robodojo_support/numpy/typing/tests/data/pass/modules.py
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import numpy as np
|
| 2 |
+
from numpy import f2py
|
| 3 |
+
|
| 4 |
+
np.char
|
| 5 |
+
np.ctypeslib
|
| 6 |
+
np.emath
|
| 7 |
+
np.fft
|
| 8 |
+
np.lib
|
| 9 |
+
np.linalg
|
| 10 |
+
np.ma
|
| 11 |
+
np.matrixlib
|
| 12 |
+
np.polynomial
|
| 13 |
+
np.random
|
| 14 |
+
np.rec
|
| 15 |
+
np.testing
|
| 16 |
+
np.version
|
| 17 |
+
|
| 18 |
+
np.lib.format
|
| 19 |
+
np.lib.mixins
|
| 20 |
+
np.lib.scimath
|
| 21 |
+
np.lib.stride_tricks
|
| 22 |
+
np.ma.extras
|
| 23 |
+
np.polynomial.chebyshev
|
| 24 |
+
np.polynomial.hermite
|
| 25 |
+
np.polynomial.hermite_e
|
| 26 |
+
np.polynomial.laguerre
|
| 27 |
+
np.polynomial.legendre
|
| 28 |
+
np.polynomial.polynomial
|
| 29 |
+
|
| 30 |
+
np.__path__
|
| 31 |
+
np.__version__
|
| 32 |
+
|
| 33 |
+
np.__all__
|
| 34 |
+
np.char.__all__
|
| 35 |
+
np.ctypeslib.__all__
|
| 36 |
+
np.emath.__all__
|
| 37 |
+
np.lib.__all__
|
| 38 |
+
np.ma.__all__
|
| 39 |
+
np.random.__all__
|
| 40 |
+
np.rec.__all__
|
| 41 |
+
np.testing.__all__
|
| 42 |
+
f2py.__all__
|
common/runtime/robodojo_support/numpy/typing/tests/data/pass/multiarray.py
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import numpy as np
|
| 2 |
+
import numpy.typing as npt
|
| 3 |
+
|
| 4 |
+
AR_f8: npt.NDArray[np.float64] = np.array([1.0])
|
| 5 |
+
AR_i4 = np.array([1], dtype=np.int32)
|
| 6 |
+
AR_u1 = np.array([1], dtype=np.uint8)
|
| 7 |
+
|
| 8 |
+
AR_LIKE_f = [1.5]
|
| 9 |
+
AR_LIKE_i = [1]
|
| 10 |
+
|
| 11 |
+
b_f8 = np.broadcast(AR_f8)
|
| 12 |
+
b_i4_f8_f8 = np.broadcast(AR_i4, AR_f8, AR_f8)
|
| 13 |
+
|
| 14 |
+
next(b_f8)
|
| 15 |
+
b_f8.reset()
|
| 16 |
+
b_f8.index
|
| 17 |
+
b_f8.iters
|
| 18 |
+
b_f8.nd
|
| 19 |
+
b_f8.ndim
|
| 20 |
+
b_f8.numiter
|
| 21 |
+
b_f8.shape
|
| 22 |
+
b_f8.size
|
| 23 |
+
|
| 24 |
+
next(b_i4_f8_f8)
|
| 25 |
+
b_i4_f8_f8.reset()
|
| 26 |
+
b_i4_f8_f8.ndim
|
| 27 |
+
b_i4_f8_f8.index
|
| 28 |
+
b_i4_f8_f8.iters
|
| 29 |
+
b_i4_f8_f8.nd
|
| 30 |
+
b_i4_f8_f8.numiter
|
| 31 |
+
b_i4_f8_f8.shape
|
| 32 |
+
b_i4_f8_f8.size
|
| 33 |
+
|
| 34 |
+
np.inner(AR_f8, AR_i4)
|
| 35 |
+
|
| 36 |
+
np.where([True, True, False])
|
| 37 |
+
np.where([True, True, False], 1, 0)
|
| 38 |
+
|
| 39 |
+
np.lexsort([0, 1, 2])
|
| 40 |
+
|
| 41 |
+
np.can_cast(np.dtype("i8"), int)
|
| 42 |
+
np.can_cast(AR_f8, "f8")
|
| 43 |
+
np.can_cast(AR_f8, np.complex128, casting="unsafe")
|
| 44 |
+
|
| 45 |
+
np.min_scalar_type([1])
|
| 46 |
+
np.min_scalar_type(AR_f8)
|
| 47 |
+
|
| 48 |
+
np.result_type(int, AR_i4)
|
| 49 |
+
np.result_type(AR_f8, AR_u1)
|
| 50 |
+
np.result_type(AR_f8, np.complex128)
|
| 51 |
+
|
| 52 |
+
np.dot(AR_LIKE_f, AR_i4)
|
| 53 |
+
np.dot(AR_u1, 1)
|
| 54 |
+
np.dot(1.5j, 1)
|
| 55 |
+
np.dot(AR_u1, 1, out=AR_f8)
|
| 56 |
+
|
| 57 |
+
np.vdot(AR_LIKE_f, AR_i4)
|
| 58 |
+
np.vdot(AR_u1, 1)
|
| 59 |
+
np.vdot(1.5j, 1)
|
| 60 |
+
|
| 61 |
+
np.bincount(AR_i4)
|
| 62 |
+
|
| 63 |
+
np.copyto(AR_f8, [1.6])
|
| 64 |
+
|
| 65 |
+
np.putmask(AR_f8, [True], 1.5)
|
| 66 |
+
|
| 67 |
+
np.packbits(AR_i4)
|
| 68 |
+
np.packbits(AR_u1)
|
| 69 |
+
|
| 70 |
+
np.unpackbits(AR_u1)
|
| 71 |
+
|
| 72 |
+
np.shares_memory(1, 2)
|
| 73 |
+
np.shares_memory(AR_f8, AR_f8, max_work=1)
|
| 74 |
+
|
| 75 |
+
np.may_share_memory(1, 2)
|
| 76 |
+
np.may_share_memory(AR_f8, AR_f8, max_work=1)
|
common/runtime/robodojo_support/numpy/typing/tests/data/pass/ndarray_conversion.py
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import os
|
| 2 |
+
import tempfile
|
| 3 |
+
|
| 4 |
+
import numpy as np
|
| 5 |
+
|
| 6 |
+
nd = np.array([[1, 2], [3, 4]])
|
| 7 |
+
scalar_array = np.array(1)
|
| 8 |
+
|
| 9 |
+
# item
|
| 10 |
+
scalar_array.item()
|
| 11 |
+
nd.item(1)
|
| 12 |
+
nd.item(0, 1)
|
| 13 |
+
nd.item((0, 1))
|
| 14 |
+
|
| 15 |
+
# tolist is pretty simple
|
| 16 |
+
|
| 17 |
+
# itemset
|
| 18 |
+
scalar_array.itemset(3)
|
| 19 |
+
nd.itemset(3, 0)
|
| 20 |
+
nd.itemset((0, 0), 3)
|
| 21 |
+
|
| 22 |
+
# tobytes
|
| 23 |
+
nd.tobytes()
|
| 24 |
+
nd.tobytes("C")
|
| 25 |
+
nd.tobytes(None)
|
| 26 |
+
|
| 27 |
+
# tofile
|
| 28 |
+
if os.name != "nt":
|
| 29 |
+
with tempfile.NamedTemporaryFile(suffix=".txt") as tmp:
|
| 30 |
+
nd.tofile(tmp.name)
|
| 31 |
+
nd.tofile(tmp.name, "")
|
| 32 |
+
nd.tofile(tmp.name, sep="")
|
| 33 |
+
|
| 34 |
+
nd.tofile(tmp.name, "", "%s")
|
| 35 |
+
nd.tofile(tmp.name, format="%s")
|
| 36 |
+
|
| 37 |
+
nd.tofile(tmp)
|
| 38 |
+
|
| 39 |
+
# dump is pretty simple
|
| 40 |
+
# dumps is pretty simple
|
| 41 |
+
|
| 42 |
+
# astype
|
| 43 |
+
nd.astype("float")
|
| 44 |
+
nd.astype(float)
|
| 45 |
+
|
| 46 |
+
nd.astype(float, "K")
|
| 47 |
+
nd.astype(float, order="K")
|
| 48 |
+
|
| 49 |
+
nd.astype(float, "K", "unsafe")
|
| 50 |
+
nd.astype(float, casting="unsafe")
|
| 51 |
+
|
| 52 |
+
nd.astype(float, "K", "unsafe", True)
|
| 53 |
+
nd.astype(float, subok=True)
|
| 54 |
+
|
| 55 |
+
nd.astype(float, "K", "unsafe", True, True)
|
| 56 |
+
nd.astype(float, copy=True)
|
| 57 |
+
|
| 58 |
+
# byteswap
|
| 59 |
+
nd.byteswap()
|
| 60 |
+
nd.byteswap(True)
|
| 61 |
+
|
| 62 |
+
# copy
|
| 63 |
+
nd.copy()
|
| 64 |
+
nd.copy("C")
|
| 65 |
+
|
| 66 |
+
# view
|
| 67 |
+
nd.view()
|
| 68 |
+
nd.view(np.int64)
|
| 69 |
+
nd.view(dtype=np.int64)
|
| 70 |
+
nd.view(np.int64, np.matrix)
|
| 71 |
+
nd.view(type=np.matrix)
|
| 72 |
+
|
| 73 |
+
# getfield
|
| 74 |
+
complex_array = np.array([[1 + 1j, 0], [0, 1 - 1j]], dtype=np.complex128)
|
| 75 |
+
|
| 76 |
+
complex_array.getfield("float")
|
| 77 |
+
complex_array.getfield(float)
|
| 78 |
+
|
| 79 |
+
complex_array.getfield("float", 8)
|
| 80 |
+
complex_array.getfield(float, offset=8)
|
| 81 |
+
|
| 82 |
+
# setflags
|
| 83 |
+
nd.setflags()
|
| 84 |
+
|
| 85 |
+
nd.setflags(True)
|
| 86 |
+
nd.setflags(write=True)
|
| 87 |
+
|
| 88 |
+
nd.setflags(True, True)
|
| 89 |
+
nd.setflags(write=True, align=True)
|
| 90 |
+
|
| 91 |
+
nd.setflags(True, True, False)
|
| 92 |
+
nd.setflags(write=True, align=True, uic=False)
|
| 93 |
+
|
| 94 |
+
# fill is pretty simple
|
common/runtime/robodojo_support/numpy/typing/tests/data/pass/ndarray_misc.py
ADDED
|
@@ -0,0 +1,185 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
Tests for miscellaneous (non-magic) ``np.ndarray``/``np.generic`` methods.
|
| 3 |
+
|
| 4 |
+
More extensive tests are performed for the methods'
|
| 5 |
+
function-based counterpart in `../from_numeric.py`.
|
| 6 |
+
|
| 7 |
+
"""
|
| 8 |
+
|
| 9 |
+
from __future__ import annotations
|
| 10 |
+
|
| 11 |
+
import operator
|
| 12 |
+
from typing import cast, Any
|
| 13 |
+
|
| 14 |
+
import numpy as np
|
| 15 |
+
|
| 16 |
+
class SubClass(np.ndarray): ...
|
| 17 |
+
|
| 18 |
+
i4 = np.int32(1)
|
| 19 |
+
A: np.ndarray[Any, np.dtype[np.int32]] = np.array([[1]], dtype=np.int32)
|
| 20 |
+
B0 = np.empty((), dtype=np.int32).view(SubClass)
|
| 21 |
+
B1 = np.empty((1,), dtype=np.int32).view(SubClass)
|
| 22 |
+
B2 = np.empty((1, 1), dtype=np.int32).view(SubClass)
|
| 23 |
+
C: np.ndarray[Any, np.dtype[np.int32]] = np.array([0, 1, 2], dtype=np.int32)
|
| 24 |
+
D = np.ones(3).view(SubClass)
|
| 25 |
+
|
| 26 |
+
i4.all()
|
| 27 |
+
A.all()
|
| 28 |
+
A.all(axis=0)
|
| 29 |
+
A.all(keepdims=True)
|
| 30 |
+
A.all(out=B0)
|
| 31 |
+
|
| 32 |
+
i4.any()
|
| 33 |
+
A.any()
|
| 34 |
+
A.any(axis=0)
|
| 35 |
+
A.any(keepdims=True)
|
| 36 |
+
A.any(out=B0)
|
| 37 |
+
|
| 38 |
+
i4.argmax()
|
| 39 |
+
A.argmax()
|
| 40 |
+
A.argmax(axis=0)
|
| 41 |
+
A.argmax(out=B0)
|
| 42 |
+
|
| 43 |
+
i4.argmin()
|
| 44 |
+
A.argmin()
|
| 45 |
+
A.argmin(axis=0)
|
| 46 |
+
A.argmin(out=B0)
|
| 47 |
+
|
| 48 |
+
i4.argsort()
|
| 49 |
+
A.argsort()
|
| 50 |
+
|
| 51 |
+
i4.choose([()])
|
| 52 |
+
_choices = np.array([[0, 1, 2], [3, 4, 5], [6, 7, 8]], dtype=np.int32)
|
| 53 |
+
C.choose(_choices)
|
| 54 |
+
C.choose(_choices, out=D)
|
| 55 |
+
|
| 56 |
+
i4.clip(1)
|
| 57 |
+
A.clip(1)
|
| 58 |
+
A.clip(None, 1)
|
| 59 |
+
A.clip(1, out=B2)
|
| 60 |
+
A.clip(None, 1, out=B2)
|
| 61 |
+
|
| 62 |
+
i4.compress([1])
|
| 63 |
+
A.compress([1])
|
| 64 |
+
A.compress([1], out=B1)
|
| 65 |
+
|
| 66 |
+
i4.conj()
|
| 67 |
+
A.conj()
|
| 68 |
+
B0.conj()
|
| 69 |
+
|
| 70 |
+
i4.conjugate()
|
| 71 |
+
A.conjugate()
|
| 72 |
+
B0.conjugate()
|
| 73 |
+
|
| 74 |
+
i4.cumprod()
|
| 75 |
+
A.cumprod()
|
| 76 |
+
A.cumprod(out=B1)
|
| 77 |
+
|
| 78 |
+
i4.cumsum()
|
| 79 |
+
A.cumsum()
|
| 80 |
+
A.cumsum(out=B1)
|
| 81 |
+
|
| 82 |
+
i4.max()
|
| 83 |
+
A.max()
|
| 84 |
+
A.max(axis=0)
|
| 85 |
+
A.max(keepdims=True)
|
| 86 |
+
A.max(out=B0)
|
| 87 |
+
|
| 88 |
+
i4.mean()
|
| 89 |
+
A.mean()
|
| 90 |
+
A.mean(axis=0)
|
| 91 |
+
A.mean(keepdims=True)
|
| 92 |
+
A.mean(out=B0)
|
| 93 |
+
|
| 94 |
+
i4.min()
|
| 95 |
+
A.min()
|
| 96 |
+
A.min(axis=0)
|
| 97 |
+
A.min(keepdims=True)
|
| 98 |
+
A.min(out=B0)
|
| 99 |
+
|
| 100 |
+
i4.newbyteorder()
|
| 101 |
+
A.newbyteorder()
|
| 102 |
+
B0.newbyteorder('|')
|
| 103 |
+
|
| 104 |
+
i4.prod()
|
| 105 |
+
A.prod()
|
| 106 |
+
A.prod(axis=0)
|
| 107 |
+
A.prod(keepdims=True)
|
| 108 |
+
A.prod(out=B0)
|
| 109 |
+
|
| 110 |
+
i4.ptp()
|
| 111 |
+
A.ptp()
|
| 112 |
+
A.ptp(axis=0)
|
| 113 |
+
A.ptp(keepdims=True)
|
| 114 |
+
A.astype(int).ptp(out=B0)
|
| 115 |
+
|
| 116 |
+
i4.round()
|
| 117 |
+
A.round()
|
| 118 |
+
A.round(out=B2)
|
| 119 |
+
|
| 120 |
+
i4.repeat(1)
|
| 121 |
+
A.repeat(1)
|
| 122 |
+
B0.repeat(1)
|
| 123 |
+
|
| 124 |
+
i4.std()
|
| 125 |
+
A.std()
|
| 126 |
+
A.std(axis=0)
|
| 127 |
+
A.std(keepdims=True)
|
| 128 |
+
A.std(out=B0.astype(np.float64))
|
| 129 |
+
|
| 130 |
+
i4.sum()
|
| 131 |
+
A.sum()
|
| 132 |
+
A.sum(axis=0)
|
| 133 |
+
A.sum(keepdims=True)
|
| 134 |
+
A.sum(out=B0)
|
| 135 |
+
|
| 136 |
+
i4.take(0)
|
| 137 |
+
A.take(0)
|
| 138 |
+
A.take([0])
|
| 139 |
+
A.take(0, out=B0)
|
| 140 |
+
A.take([0], out=B1)
|
| 141 |
+
|
| 142 |
+
i4.var()
|
| 143 |
+
A.var()
|
| 144 |
+
A.var(axis=0)
|
| 145 |
+
A.var(keepdims=True)
|
| 146 |
+
A.var(out=B0)
|
| 147 |
+
|
| 148 |
+
A.argpartition([0])
|
| 149 |
+
|
| 150 |
+
A.diagonal()
|
| 151 |
+
|
| 152 |
+
A.dot(1)
|
| 153 |
+
A.dot(1, out=B2)
|
| 154 |
+
|
| 155 |
+
A.nonzero()
|
| 156 |
+
|
| 157 |
+
C.searchsorted(1)
|
| 158 |
+
|
| 159 |
+
A.trace()
|
| 160 |
+
A.trace(out=B0)
|
| 161 |
+
|
| 162 |
+
void = cast(np.void, np.array(1, dtype=[("f", np.float64)]).take(0))
|
| 163 |
+
void.setfield(10, np.float64)
|
| 164 |
+
|
| 165 |
+
A.item(0)
|
| 166 |
+
C.item(0)
|
| 167 |
+
|
| 168 |
+
A.ravel()
|
| 169 |
+
C.ravel()
|
| 170 |
+
|
| 171 |
+
A.flatten()
|
| 172 |
+
C.flatten()
|
| 173 |
+
|
| 174 |
+
A.reshape(1)
|
| 175 |
+
C.reshape(3)
|
| 176 |
+
|
| 177 |
+
int(np.array(1.0, dtype=np.float64))
|
| 178 |
+
int(np.array("1", dtype=np.str_))
|
| 179 |
+
|
| 180 |
+
float(np.array(1.0, dtype=np.float64))
|
| 181 |
+
float(np.array("1", dtype=np.str_))
|
| 182 |
+
|
| 183 |
+
complex(np.array(1.0, dtype=np.float64))
|
| 184 |
+
|
| 185 |
+
operator.index(np.array(1, dtype=np.int64))
|
common/runtime/robodojo_support/numpy/typing/tests/data/pass/ndarray_shape_manipulation.py
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import numpy as np
|
| 2 |
+
|
| 3 |
+
nd1 = np.array([[1, 2], [3, 4]])
|
| 4 |
+
|
| 5 |
+
# reshape
|
| 6 |
+
nd1.reshape(4)
|
| 7 |
+
nd1.reshape(2, 2)
|
| 8 |
+
nd1.reshape((2, 2))
|
| 9 |
+
|
| 10 |
+
nd1.reshape((2, 2), order="C")
|
| 11 |
+
nd1.reshape(4, order="C")
|
| 12 |
+
|
| 13 |
+
# resize
|
| 14 |
+
nd1.resize()
|
| 15 |
+
nd1.resize(4)
|
| 16 |
+
nd1.resize(2, 2)
|
| 17 |
+
nd1.resize((2, 2))
|
| 18 |
+
|
| 19 |
+
nd1.resize((2, 2), refcheck=True)
|
| 20 |
+
nd1.resize(4, refcheck=True)
|
| 21 |
+
|
| 22 |
+
nd2 = np.array([[1, 2], [3, 4]])
|
| 23 |
+
|
| 24 |
+
# transpose
|
| 25 |
+
nd2.transpose()
|
| 26 |
+
nd2.transpose(1, 0)
|
| 27 |
+
nd2.transpose((1, 0))
|
| 28 |
+
|
| 29 |
+
# swapaxes
|
| 30 |
+
nd2.swapaxes(0, 1)
|
| 31 |
+
|
| 32 |
+
# flatten
|
| 33 |
+
nd2.flatten()
|
| 34 |
+
nd2.flatten("C")
|
| 35 |
+
|
| 36 |
+
# ravel
|
| 37 |
+
nd2.ravel()
|
| 38 |
+
nd2.ravel("C")
|
| 39 |
+
|
| 40 |
+
# squeeze
|
| 41 |
+
nd2.squeeze()
|
| 42 |
+
|
| 43 |
+
nd3 = np.array([[1, 2]])
|
| 44 |
+
nd3.squeeze(0)
|
| 45 |
+
|
| 46 |
+
nd4 = np.array([[[1, 2]]])
|
| 47 |
+
nd4.squeeze((0, 1))
|
common/runtime/robodojo_support/numpy/typing/tests/data/pass/numeric.py
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
Tests for :mod:`numpy.core.numeric`.
|
| 3 |
+
|
| 4 |
+
Does not include tests which fall under ``array_constructors``.
|
| 5 |
+
|
| 6 |
+
"""
|
| 7 |
+
|
| 8 |
+
from __future__ import annotations
|
| 9 |
+
|
| 10 |
+
import numpy as np
|
| 11 |
+
|
| 12 |
+
class SubClass(np.ndarray):
|
| 13 |
+
...
|
| 14 |
+
|
| 15 |
+
i8 = np.int64(1)
|
| 16 |
+
|
| 17 |
+
A = np.arange(27).reshape(3, 3, 3)
|
| 18 |
+
B: list[list[list[int]]] = A.tolist()
|
| 19 |
+
C = np.empty((27, 27)).view(SubClass)
|
| 20 |
+
|
| 21 |
+
np.count_nonzero(i8)
|
| 22 |
+
np.count_nonzero(A)
|
| 23 |
+
np.count_nonzero(B)
|
| 24 |
+
np.count_nonzero(A, keepdims=True)
|
| 25 |
+
np.count_nonzero(A, axis=0)
|
| 26 |
+
|
| 27 |
+
np.isfortran(i8)
|
| 28 |
+
np.isfortran(A)
|
| 29 |
+
|
| 30 |
+
np.argwhere(i8)
|
| 31 |
+
np.argwhere(A)
|
| 32 |
+
|
| 33 |
+
np.flatnonzero(i8)
|
| 34 |
+
np.flatnonzero(A)
|
| 35 |
+
|
| 36 |
+
np.correlate(B[0][0], A.ravel(), mode="valid")
|
| 37 |
+
np.correlate(A.ravel(), A.ravel(), mode="same")
|
| 38 |
+
|
| 39 |
+
np.convolve(B[0][0], A.ravel(), mode="valid")
|
| 40 |
+
np.convolve(A.ravel(), A.ravel(), mode="same")
|
| 41 |
+
|
| 42 |
+
np.outer(i8, A)
|
| 43 |
+
np.outer(B, A)
|
| 44 |
+
np.outer(A, A)
|
| 45 |
+
np.outer(A, A, out=C)
|
| 46 |
+
|
| 47 |
+
np.tensordot(B, A)
|
| 48 |
+
np.tensordot(A, A)
|
| 49 |
+
np.tensordot(A, A, axes=0)
|
| 50 |
+
np.tensordot(A, A, axes=(0, 1))
|
| 51 |
+
|
| 52 |
+
np.isscalar(i8)
|
| 53 |
+
np.isscalar(A)
|
| 54 |
+
np.isscalar(B)
|
| 55 |
+
|
| 56 |
+
np.roll(A, 1)
|
| 57 |
+
np.roll(A, (1, 2))
|
| 58 |
+
np.roll(B, 1)
|
| 59 |
+
|
| 60 |
+
np.rollaxis(A, 0, 1)
|
| 61 |
+
|
| 62 |
+
np.moveaxis(A, 0, 1)
|
| 63 |
+
np.moveaxis(A, (0, 1), (1, 2))
|
| 64 |
+
|
| 65 |
+
np.cross(B, A)
|
| 66 |
+
np.cross(A, A)
|
| 67 |
+
|
| 68 |
+
np.indices([0, 1, 2])
|
| 69 |
+
np.indices([0, 1, 2], sparse=False)
|
| 70 |
+
np.indices([0, 1, 2], sparse=True)
|
| 71 |
+
|
| 72 |
+
np.binary_repr(1)
|
| 73 |
+
|
| 74 |
+
np.base_repr(1)
|
| 75 |
+
|
| 76 |
+
np.allclose(i8, A)
|
| 77 |
+
np.allclose(B, A)
|
| 78 |
+
np.allclose(A, A)
|
| 79 |
+
|
| 80 |
+
np.isclose(i8, A)
|
| 81 |
+
np.isclose(B, A)
|
| 82 |
+
np.isclose(A, A)
|
| 83 |
+
|
| 84 |
+
np.array_equal(i8, A)
|
| 85 |
+
np.array_equal(B, A)
|
| 86 |
+
np.array_equal(A, A)
|
| 87 |
+
|
| 88 |
+
np.array_equiv(i8, A)
|
| 89 |
+
np.array_equiv(B, A)
|
| 90 |
+
np.array_equiv(A, A)
|
common/runtime/robodojo_support/numpy/typing/tests/data/pass/numerictypes.py
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import numpy as np
|
| 2 |
+
|
| 3 |
+
np.maximum_sctype("S8")
|
| 4 |
+
np.maximum_sctype(object)
|
| 5 |
+
|
| 6 |
+
np.issctype(object)
|
| 7 |
+
np.issctype("S8")
|
| 8 |
+
|
| 9 |
+
np.obj2sctype(list)
|
| 10 |
+
np.obj2sctype(list, default=None)
|
| 11 |
+
np.obj2sctype(list, default=np.bytes_)
|
| 12 |
+
|
| 13 |
+
np.issubclass_(np.int32, int)
|
| 14 |
+
np.issubclass_(np.float64, float)
|
| 15 |
+
np.issubclass_(np.float64, (int, float))
|
| 16 |
+
|
| 17 |
+
np.issubsctype("int64", int)
|
| 18 |
+
np.issubsctype(np.array([1]), np.array([1]))
|
| 19 |
+
|
| 20 |
+
np.issubdtype("S1", np.bytes_)
|
| 21 |
+
np.issubdtype(np.float64, np.float32)
|
| 22 |
+
|
| 23 |
+
np.sctype2char("S1")
|
| 24 |
+
np.sctype2char(list)
|
| 25 |
+
|
| 26 |
+
np.cast[int]
|
| 27 |
+
np.cast["i8"]
|
| 28 |
+
np.cast[np.int64]
|
| 29 |
+
|
| 30 |
+
np.nbytes[int]
|
| 31 |
+
np.nbytes["i8"]
|
| 32 |
+
np.nbytes[np.int64]
|
| 33 |
+
|
| 34 |
+
np.ScalarType
|
| 35 |
+
np.ScalarType[0]
|
| 36 |
+
np.ScalarType[3]
|
| 37 |
+
np.ScalarType[8]
|
| 38 |
+
np.ScalarType[10]
|
| 39 |
+
|
| 40 |
+
np.typecodes["Character"]
|
| 41 |
+
np.typecodes["Complex"]
|
| 42 |
+
np.typecodes["All"]
|
common/runtime/robodojo_support/numpy/typing/tests/data/pass/random.py
ADDED
|
@@ -0,0 +1,1499 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from __future__ import annotations
|
| 2 |
+
|
| 3 |
+
from typing import Any
|
| 4 |
+
import numpy as np
|
| 5 |
+
|
| 6 |
+
SEED_NONE = None
|
| 7 |
+
SEED_INT = 4579435749574957634658964293569
|
| 8 |
+
SEED_ARR: np.ndarray[Any, np.dtype[np.int64]] = np.array([1, 2, 3, 4], dtype=np.int64)
|
| 9 |
+
SEED_ARRLIKE: list[int] = [1, 2, 3, 4]
|
| 10 |
+
SEED_SEED_SEQ: np.random.SeedSequence = np.random.SeedSequence(0)
|
| 11 |
+
SEED_MT19937: np.random.MT19937 = np.random.MT19937(0)
|
| 12 |
+
SEED_PCG64: np.random.PCG64 = np.random.PCG64(0)
|
| 13 |
+
SEED_PHILOX: np.random.Philox = np.random.Philox(0)
|
| 14 |
+
SEED_SFC64: np.random.SFC64 = np.random.SFC64(0)
|
| 15 |
+
|
| 16 |
+
# default rng
|
| 17 |
+
np.random.default_rng()
|
| 18 |
+
np.random.default_rng(SEED_NONE)
|
| 19 |
+
np.random.default_rng(SEED_INT)
|
| 20 |
+
np.random.default_rng(SEED_ARR)
|
| 21 |
+
np.random.default_rng(SEED_ARRLIKE)
|
| 22 |
+
np.random.default_rng(SEED_SEED_SEQ)
|
| 23 |
+
np.random.default_rng(SEED_MT19937)
|
| 24 |
+
np.random.default_rng(SEED_PCG64)
|
| 25 |
+
np.random.default_rng(SEED_PHILOX)
|
| 26 |
+
np.random.default_rng(SEED_SFC64)
|
| 27 |
+
|
| 28 |
+
# Seed Sequence
|
| 29 |
+
np.random.SeedSequence(SEED_NONE)
|
| 30 |
+
np.random.SeedSequence(SEED_INT)
|
| 31 |
+
np.random.SeedSequence(SEED_ARR)
|
| 32 |
+
np.random.SeedSequence(SEED_ARRLIKE)
|
| 33 |
+
|
| 34 |
+
# Bit Generators
|
| 35 |
+
np.random.MT19937(SEED_NONE)
|
| 36 |
+
np.random.MT19937(SEED_INT)
|
| 37 |
+
np.random.MT19937(SEED_ARR)
|
| 38 |
+
np.random.MT19937(SEED_ARRLIKE)
|
| 39 |
+
np.random.MT19937(SEED_SEED_SEQ)
|
| 40 |
+
|
| 41 |
+
np.random.PCG64(SEED_NONE)
|
| 42 |
+
np.random.PCG64(SEED_INT)
|
| 43 |
+
np.random.PCG64(SEED_ARR)
|
| 44 |
+
np.random.PCG64(SEED_ARRLIKE)
|
| 45 |
+
np.random.PCG64(SEED_SEED_SEQ)
|
| 46 |
+
|
| 47 |
+
np.random.Philox(SEED_NONE)
|
| 48 |
+
np.random.Philox(SEED_INT)
|
| 49 |
+
np.random.Philox(SEED_ARR)
|
| 50 |
+
np.random.Philox(SEED_ARRLIKE)
|
| 51 |
+
np.random.Philox(SEED_SEED_SEQ)
|
| 52 |
+
|
| 53 |
+
np.random.SFC64(SEED_NONE)
|
| 54 |
+
np.random.SFC64(SEED_INT)
|
| 55 |
+
np.random.SFC64(SEED_ARR)
|
| 56 |
+
np.random.SFC64(SEED_ARRLIKE)
|
| 57 |
+
np.random.SFC64(SEED_SEED_SEQ)
|
| 58 |
+
|
| 59 |
+
seed_seq: np.random.bit_generator.SeedSequence = np.random.SeedSequence(SEED_NONE)
|
| 60 |
+
seed_seq.spawn(10)
|
| 61 |
+
seed_seq.generate_state(3)
|
| 62 |
+
seed_seq.generate_state(3, "u4")
|
| 63 |
+
seed_seq.generate_state(3, "uint32")
|
| 64 |
+
seed_seq.generate_state(3, "u8")
|
| 65 |
+
seed_seq.generate_state(3, "uint64")
|
| 66 |
+
seed_seq.generate_state(3, np.uint32)
|
| 67 |
+
seed_seq.generate_state(3, np.uint64)
|
| 68 |
+
|
| 69 |
+
|
| 70 |
+
def_gen: np.random.Generator = np.random.default_rng()
|
| 71 |
+
|
| 72 |
+
D_arr_0p1: np.ndarray[Any, np.dtype[np.float64]] = np.array([0.1])
|
| 73 |
+
D_arr_0p5: np.ndarray[Any, np.dtype[np.float64]] = np.array([0.5])
|
| 74 |
+
D_arr_0p9: np.ndarray[Any, np.dtype[np.float64]] = np.array([0.9])
|
| 75 |
+
D_arr_1p5: np.ndarray[Any, np.dtype[np.float64]] = np.array([1.5])
|
| 76 |
+
I_arr_10: np.ndarray[Any, np.dtype[np.int_]] = np.array([10], dtype=np.int_)
|
| 77 |
+
I_arr_20: np.ndarray[Any, np.dtype[np.int_]] = np.array([20], dtype=np.int_)
|
| 78 |
+
D_arr_like_0p1: list[float] = [0.1]
|
| 79 |
+
D_arr_like_0p5: list[float] = [0.5]
|
| 80 |
+
D_arr_like_0p9: list[float] = [0.9]
|
| 81 |
+
D_arr_like_1p5: list[float] = [1.5]
|
| 82 |
+
I_arr_like_10: list[int] = [10]
|
| 83 |
+
I_arr_like_20: list[int] = [20]
|
| 84 |
+
D_2D_like: list[list[float]] = [[1, 2], [2, 3], [3, 4], [4, 5.1]]
|
| 85 |
+
D_2D: np.ndarray[Any, np.dtype[np.float64]] = np.array(D_2D_like)
|
| 86 |
+
|
| 87 |
+
S_out: np.ndarray[Any, np.dtype[np.float32]] = np.empty(1, dtype=np.float32)
|
| 88 |
+
D_out: np.ndarray[Any, np.dtype[np.float64]] = np.empty(1)
|
| 89 |
+
|
| 90 |
+
def_gen.standard_normal()
|
| 91 |
+
def_gen.standard_normal(dtype=np.float32)
|
| 92 |
+
def_gen.standard_normal(dtype="float32")
|
| 93 |
+
def_gen.standard_normal(dtype="double")
|
| 94 |
+
def_gen.standard_normal(dtype=np.float64)
|
| 95 |
+
def_gen.standard_normal(size=None)
|
| 96 |
+
def_gen.standard_normal(size=1)
|
| 97 |
+
def_gen.standard_normal(size=1, dtype=np.float32)
|
| 98 |
+
def_gen.standard_normal(size=1, dtype="f4")
|
| 99 |
+
def_gen.standard_normal(size=1, dtype="float32", out=S_out)
|
| 100 |
+
def_gen.standard_normal(dtype=np.float32, out=S_out)
|
| 101 |
+
def_gen.standard_normal(size=1, dtype=np.float64)
|
| 102 |
+
def_gen.standard_normal(size=1, dtype="float64")
|
| 103 |
+
def_gen.standard_normal(size=1, dtype="f8")
|
| 104 |
+
def_gen.standard_normal(out=D_out)
|
| 105 |
+
def_gen.standard_normal(size=1, dtype="float64")
|
| 106 |
+
def_gen.standard_normal(size=1, dtype="float64", out=D_out)
|
| 107 |
+
|
| 108 |
+
def_gen.random()
|
| 109 |
+
def_gen.random(dtype=np.float32)
|
| 110 |
+
def_gen.random(dtype="float32")
|
| 111 |
+
def_gen.random(dtype="double")
|
| 112 |
+
def_gen.random(dtype=np.float64)
|
| 113 |
+
def_gen.random(size=None)
|
| 114 |
+
def_gen.random(size=1)
|
| 115 |
+
def_gen.random(size=1, dtype=np.float32)
|
| 116 |
+
def_gen.random(size=1, dtype="f4")
|
| 117 |
+
def_gen.random(size=1, dtype="float32", out=S_out)
|
| 118 |
+
def_gen.random(dtype=np.float32, out=S_out)
|
| 119 |
+
def_gen.random(size=1, dtype=np.float64)
|
| 120 |
+
def_gen.random(size=1, dtype="float64")
|
| 121 |
+
def_gen.random(size=1, dtype="f8")
|
| 122 |
+
def_gen.random(out=D_out)
|
| 123 |
+
def_gen.random(size=1, dtype="float64")
|
| 124 |
+
def_gen.random(size=1, dtype="float64", out=D_out)
|
| 125 |
+
|
| 126 |
+
def_gen.standard_cauchy()
|
| 127 |
+
def_gen.standard_cauchy(size=None)
|
| 128 |
+
def_gen.standard_cauchy(size=1)
|
| 129 |
+
|
| 130 |
+
def_gen.standard_exponential()
|
| 131 |
+
def_gen.standard_exponential(method="inv")
|
| 132 |
+
def_gen.standard_exponential(dtype=np.float32)
|
| 133 |
+
def_gen.standard_exponential(dtype="float32")
|
| 134 |
+
def_gen.standard_exponential(dtype="double")
|
| 135 |
+
def_gen.standard_exponential(dtype=np.float64)
|
| 136 |
+
def_gen.standard_exponential(size=None)
|
| 137 |
+
def_gen.standard_exponential(size=None, method="inv")
|
| 138 |
+
def_gen.standard_exponential(size=1, method="inv")
|
| 139 |
+
def_gen.standard_exponential(size=1, dtype=np.float32)
|
| 140 |
+
def_gen.standard_exponential(size=1, dtype="f4", method="inv")
|
| 141 |
+
def_gen.standard_exponential(size=1, dtype="float32", out=S_out)
|
| 142 |
+
def_gen.standard_exponential(dtype=np.float32, out=S_out)
|
| 143 |
+
def_gen.standard_exponential(size=1, dtype=np.float64, method="inv")
|
| 144 |
+
def_gen.standard_exponential(size=1, dtype="float64")
|
| 145 |
+
def_gen.standard_exponential(size=1, dtype="f8")
|
| 146 |
+
def_gen.standard_exponential(out=D_out)
|
| 147 |
+
def_gen.standard_exponential(size=1, dtype="float64")
|
| 148 |
+
def_gen.standard_exponential(size=1, dtype="float64", out=D_out)
|
| 149 |
+
|
| 150 |
+
def_gen.zipf(1.5)
|
| 151 |
+
def_gen.zipf(1.5, size=None)
|
| 152 |
+
def_gen.zipf(1.5, size=1)
|
| 153 |
+
def_gen.zipf(D_arr_1p5)
|
| 154 |
+
def_gen.zipf(D_arr_1p5, size=1)
|
| 155 |
+
def_gen.zipf(D_arr_like_1p5)
|
| 156 |
+
def_gen.zipf(D_arr_like_1p5, size=1)
|
| 157 |
+
|
| 158 |
+
def_gen.weibull(0.5)
|
| 159 |
+
def_gen.weibull(0.5, size=None)
|
| 160 |
+
def_gen.weibull(0.5, size=1)
|
| 161 |
+
def_gen.weibull(D_arr_0p5)
|
| 162 |
+
def_gen.weibull(D_arr_0p5, size=1)
|
| 163 |
+
def_gen.weibull(D_arr_like_0p5)
|
| 164 |
+
def_gen.weibull(D_arr_like_0p5, size=1)
|
| 165 |
+
|
| 166 |
+
def_gen.standard_t(0.5)
|
| 167 |
+
def_gen.standard_t(0.5, size=None)
|
| 168 |
+
def_gen.standard_t(0.5, size=1)
|
| 169 |
+
def_gen.standard_t(D_arr_0p5)
|
| 170 |
+
def_gen.standard_t(D_arr_0p5, size=1)
|
| 171 |
+
def_gen.standard_t(D_arr_like_0p5)
|
| 172 |
+
def_gen.standard_t(D_arr_like_0p5, size=1)
|
| 173 |
+
|
| 174 |
+
def_gen.poisson(0.5)
|
| 175 |
+
def_gen.poisson(0.5, size=None)
|
| 176 |
+
def_gen.poisson(0.5, size=1)
|
| 177 |
+
def_gen.poisson(D_arr_0p5)
|
| 178 |
+
def_gen.poisson(D_arr_0p5, size=1)
|
| 179 |
+
def_gen.poisson(D_arr_like_0p5)
|
| 180 |
+
def_gen.poisson(D_arr_like_0p5, size=1)
|
| 181 |
+
|
| 182 |
+
def_gen.power(0.5)
|
| 183 |
+
def_gen.power(0.5, size=None)
|
| 184 |
+
def_gen.power(0.5, size=1)
|
| 185 |
+
def_gen.power(D_arr_0p5)
|
| 186 |
+
def_gen.power(D_arr_0p5, size=1)
|
| 187 |
+
def_gen.power(D_arr_like_0p5)
|
| 188 |
+
def_gen.power(D_arr_like_0p5, size=1)
|
| 189 |
+
|
| 190 |
+
def_gen.pareto(0.5)
|
| 191 |
+
def_gen.pareto(0.5, size=None)
|
| 192 |
+
def_gen.pareto(0.5, size=1)
|
| 193 |
+
def_gen.pareto(D_arr_0p5)
|
| 194 |
+
def_gen.pareto(D_arr_0p5, size=1)
|
| 195 |
+
def_gen.pareto(D_arr_like_0p5)
|
| 196 |
+
def_gen.pareto(D_arr_like_0p5, size=1)
|
| 197 |
+
|
| 198 |
+
def_gen.chisquare(0.5)
|
| 199 |
+
def_gen.chisquare(0.5, size=None)
|
| 200 |
+
def_gen.chisquare(0.5, size=1)
|
| 201 |
+
def_gen.chisquare(D_arr_0p5)
|
| 202 |
+
def_gen.chisquare(D_arr_0p5, size=1)
|
| 203 |
+
def_gen.chisquare(D_arr_like_0p5)
|
| 204 |
+
def_gen.chisquare(D_arr_like_0p5, size=1)
|
| 205 |
+
|
| 206 |
+
def_gen.exponential(0.5)
|
| 207 |
+
def_gen.exponential(0.5, size=None)
|
| 208 |
+
def_gen.exponential(0.5, size=1)
|
| 209 |
+
def_gen.exponential(D_arr_0p5)
|
| 210 |
+
def_gen.exponential(D_arr_0p5, size=1)
|
| 211 |
+
def_gen.exponential(D_arr_like_0p5)
|
| 212 |
+
def_gen.exponential(D_arr_like_0p5, size=1)
|
| 213 |
+
|
| 214 |
+
def_gen.geometric(0.5)
|
| 215 |
+
def_gen.geometric(0.5, size=None)
|
| 216 |
+
def_gen.geometric(0.5, size=1)
|
| 217 |
+
def_gen.geometric(D_arr_0p5)
|
| 218 |
+
def_gen.geometric(D_arr_0p5, size=1)
|
| 219 |
+
def_gen.geometric(D_arr_like_0p5)
|
| 220 |
+
def_gen.geometric(D_arr_like_0p5, size=1)
|
| 221 |
+
|
| 222 |
+
def_gen.logseries(0.5)
|
| 223 |
+
def_gen.logseries(0.5, size=None)
|
| 224 |
+
def_gen.logseries(0.5, size=1)
|
| 225 |
+
def_gen.logseries(D_arr_0p5)
|
| 226 |
+
def_gen.logseries(D_arr_0p5, size=1)
|
| 227 |
+
def_gen.logseries(D_arr_like_0p5)
|
| 228 |
+
def_gen.logseries(D_arr_like_0p5, size=1)
|
| 229 |
+
|
| 230 |
+
def_gen.rayleigh(0.5)
|
| 231 |
+
def_gen.rayleigh(0.5, size=None)
|
| 232 |
+
def_gen.rayleigh(0.5, size=1)
|
| 233 |
+
def_gen.rayleigh(D_arr_0p5)
|
| 234 |
+
def_gen.rayleigh(D_arr_0p5, size=1)
|
| 235 |
+
def_gen.rayleigh(D_arr_like_0p5)
|
| 236 |
+
def_gen.rayleigh(D_arr_like_0p5, size=1)
|
| 237 |
+
|
| 238 |
+
def_gen.standard_gamma(0.5)
|
| 239 |
+
def_gen.standard_gamma(0.5, size=None)
|
| 240 |
+
def_gen.standard_gamma(0.5, dtype="float32")
|
| 241 |
+
def_gen.standard_gamma(0.5, size=None, dtype="float32")
|
| 242 |
+
def_gen.standard_gamma(0.5, size=1)
|
| 243 |
+
def_gen.standard_gamma(D_arr_0p5)
|
| 244 |
+
def_gen.standard_gamma(D_arr_0p5, dtype="f4")
|
| 245 |
+
def_gen.standard_gamma(0.5, size=1, dtype="float32", out=S_out)
|
| 246 |
+
def_gen.standard_gamma(D_arr_0p5, dtype=np.float32, out=S_out)
|
| 247 |
+
def_gen.standard_gamma(D_arr_0p5, size=1)
|
| 248 |
+
def_gen.standard_gamma(D_arr_like_0p5)
|
| 249 |
+
def_gen.standard_gamma(D_arr_like_0p5, size=1)
|
| 250 |
+
def_gen.standard_gamma(0.5, out=D_out)
|
| 251 |
+
def_gen.standard_gamma(D_arr_like_0p5, out=D_out)
|
| 252 |
+
def_gen.standard_gamma(D_arr_like_0p5, size=1)
|
| 253 |
+
def_gen.standard_gamma(D_arr_like_0p5, size=1, out=D_out, dtype=np.float64)
|
| 254 |
+
|
| 255 |
+
def_gen.vonmises(0.5, 0.5)
|
| 256 |
+
def_gen.vonmises(0.5, 0.5, size=None)
|
| 257 |
+
def_gen.vonmises(0.5, 0.5, size=1)
|
| 258 |
+
def_gen.vonmises(D_arr_0p5, 0.5)
|
| 259 |
+
def_gen.vonmises(0.5, D_arr_0p5)
|
| 260 |
+
def_gen.vonmises(D_arr_0p5, 0.5, size=1)
|
| 261 |
+
def_gen.vonmises(0.5, D_arr_0p5, size=1)
|
| 262 |
+
def_gen.vonmises(D_arr_like_0p5, 0.5)
|
| 263 |
+
def_gen.vonmises(0.5, D_arr_like_0p5)
|
| 264 |
+
def_gen.vonmises(D_arr_0p5, D_arr_0p5)
|
| 265 |
+
def_gen.vonmises(D_arr_like_0p5, D_arr_like_0p5)
|
| 266 |
+
def_gen.vonmises(D_arr_0p5, D_arr_0p5, size=1)
|
| 267 |
+
def_gen.vonmises(D_arr_like_0p5, D_arr_like_0p5, size=1)
|
| 268 |
+
|
| 269 |
+
def_gen.wald(0.5, 0.5)
|
| 270 |
+
def_gen.wald(0.5, 0.5, size=None)
|
| 271 |
+
def_gen.wald(0.5, 0.5, size=1)
|
| 272 |
+
def_gen.wald(D_arr_0p5, 0.5)
|
| 273 |
+
def_gen.wald(0.5, D_arr_0p5)
|
| 274 |
+
def_gen.wald(D_arr_0p5, 0.5, size=1)
|
| 275 |
+
def_gen.wald(0.5, D_arr_0p5, size=1)
|
| 276 |
+
def_gen.wald(D_arr_like_0p5, 0.5)
|
| 277 |
+
def_gen.wald(0.5, D_arr_like_0p5)
|
| 278 |
+
def_gen.wald(D_arr_0p5, D_arr_0p5)
|
| 279 |
+
def_gen.wald(D_arr_like_0p5, D_arr_like_0p5)
|
| 280 |
+
def_gen.wald(D_arr_0p5, D_arr_0p5, size=1)
|
| 281 |
+
def_gen.wald(D_arr_like_0p5, D_arr_like_0p5, size=1)
|
| 282 |
+
|
| 283 |
+
def_gen.uniform(0.5, 0.5)
|
| 284 |
+
def_gen.uniform(0.5, 0.5, size=None)
|
| 285 |
+
def_gen.uniform(0.5, 0.5, size=1)
|
| 286 |
+
def_gen.uniform(D_arr_0p5, 0.5)
|
| 287 |
+
def_gen.uniform(0.5, D_arr_0p5)
|
| 288 |
+
def_gen.uniform(D_arr_0p5, 0.5, size=1)
|
| 289 |
+
def_gen.uniform(0.5, D_arr_0p5, size=1)
|
| 290 |
+
def_gen.uniform(D_arr_like_0p5, 0.5)
|
| 291 |
+
def_gen.uniform(0.5, D_arr_like_0p5)
|
| 292 |
+
def_gen.uniform(D_arr_0p5, D_arr_0p5)
|
| 293 |
+
def_gen.uniform(D_arr_like_0p5, D_arr_like_0p5)
|
| 294 |
+
def_gen.uniform(D_arr_0p5, D_arr_0p5, size=1)
|
| 295 |
+
def_gen.uniform(D_arr_like_0p5, D_arr_like_0p5, size=1)
|
| 296 |
+
|
| 297 |
+
def_gen.beta(0.5, 0.5)
|
| 298 |
+
def_gen.beta(0.5, 0.5, size=None)
|
| 299 |
+
def_gen.beta(0.5, 0.5, size=1)
|
| 300 |
+
def_gen.beta(D_arr_0p5, 0.5)
|
| 301 |
+
def_gen.beta(0.5, D_arr_0p5)
|
| 302 |
+
def_gen.beta(D_arr_0p5, 0.5, size=1)
|
| 303 |
+
def_gen.beta(0.5, D_arr_0p5, size=1)
|
| 304 |
+
def_gen.beta(D_arr_like_0p5, 0.5)
|
| 305 |
+
def_gen.beta(0.5, D_arr_like_0p5)
|
| 306 |
+
def_gen.beta(D_arr_0p5, D_arr_0p5)
|
| 307 |
+
def_gen.beta(D_arr_like_0p5, D_arr_like_0p5)
|
| 308 |
+
def_gen.beta(D_arr_0p5, D_arr_0p5, size=1)
|
| 309 |
+
def_gen.beta(D_arr_like_0p5, D_arr_like_0p5, size=1)
|
| 310 |
+
|
| 311 |
+
def_gen.f(0.5, 0.5)
|
| 312 |
+
def_gen.f(0.5, 0.5, size=None)
|
| 313 |
+
def_gen.f(0.5, 0.5, size=1)
|
| 314 |
+
def_gen.f(D_arr_0p5, 0.5)
|
| 315 |
+
def_gen.f(0.5, D_arr_0p5)
|
| 316 |
+
def_gen.f(D_arr_0p5, 0.5, size=1)
|
| 317 |
+
def_gen.f(0.5, D_arr_0p5, size=1)
|
| 318 |
+
def_gen.f(D_arr_like_0p5, 0.5)
|
| 319 |
+
def_gen.f(0.5, D_arr_like_0p5)
|
| 320 |
+
def_gen.f(D_arr_0p5, D_arr_0p5)
|
| 321 |
+
def_gen.f(D_arr_like_0p5, D_arr_like_0p5)
|
| 322 |
+
def_gen.f(D_arr_0p5, D_arr_0p5, size=1)
|
| 323 |
+
def_gen.f(D_arr_like_0p5, D_arr_like_0p5, size=1)
|
| 324 |
+
|
| 325 |
+
def_gen.gamma(0.5, 0.5)
|
| 326 |
+
def_gen.gamma(0.5, 0.5, size=None)
|
| 327 |
+
def_gen.gamma(0.5, 0.5, size=1)
|
| 328 |
+
def_gen.gamma(D_arr_0p5, 0.5)
|
| 329 |
+
def_gen.gamma(0.5, D_arr_0p5)
|
| 330 |
+
def_gen.gamma(D_arr_0p5, 0.5, size=1)
|
| 331 |
+
def_gen.gamma(0.5, D_arr_0p5, size=1)
|
| 332 |
+
def_gen.gamma(D_arr_like_0p5, 0.5)
|
| 333 |
+
def_gen.gamma(0.5, D_arr_like_0p5)
|
| 334 |
+
def_gen.gamma(D_arr_0p5, D_arr_0p5)
|
| 335 |
+
def_gen.gamma(D_arr_like_0p5, D_arr_like_0p5)
|
| 336 |
+
def_gen.gamma(D_arr_0p5, D_arr_0p5, size=1)
|
| 337 |
+
def_gen.gamma(D_arr_like_0p5, D_arr_like_0p5, size=1)
|
| 338 |
+
|
| 339 |
+
def_gen.gumbel(0.5, 0.5)
|
| 340 |
+
def_gen.gumbel(0.5, 0.5, size=None)
|
| 341 |
+
def_gen.gumbel(0.5, 0.5, size=1)
|
| 342 |
+
def_gen.gumbel(D_arr_0p5, 0.5)
|
| 343 |
+
def_gen.gumbel(0.5, D_arr_0p5)
|
| 344 |
+
def_gen.gumbel(D_arr_0p5, 0.5, size=1)
|
| 345 |
+
def_gen.gumbel(0.5, D_arr_0p5, size=1)
|
| 346 |
+
def_gen.gumbel(D_arr_like_0p5, 0.5)
|
| 347 |
+
def_gen.gumbel(0.5, D_arr_like_0p5)
|
| 348 |
+
def_gen.gumbel(D_arr_0p5, D_arr_0p5)
|
| 349 |
+
def_gen.gumbel(D_arr_like_0p5, D_arr_like_0p5)
|
| 350 |
+
def_gen.gumbel(D_arr_0p5, D_arr_0p5, size=1)
|
| 351 |
+
def_gen.gumbel(D_arr_like_0p5, D_arr_like_0p5, size=1)
|
| 352 |
+
|
| 353 |
+
def_gen.laplace(0.5, 0.5)
|
| 354 |
+
def_gen.laplace(0.5, 0.5, size=None)
|
| 355 |
+
def_gen.laplace(0.5, 0.5, size=1)
|
| 356 |
+
def_gen.laplace(D_arr_0p5, 0.5)
|
| 357 |
+
def_gen.laplace(0.5, D_arr_0p5)
|
| 358 |
+
def_gen.laplace(D_arr_0p5, 0.5, size=1)
|
| 359 |
+
def_gen.laplace(0.5, D_arr_0p5, size=1)
|
| 360 |
+
def_gen.laplace(D_arr_like_0p5, 0.5)
|
| 361 |
+
def_gen.laplace(0.5, D_arr_like_0p5)
|
| 362 |
+
def_gen.laplace(D_arr_0p5, D_arr_0p5)
|
| 363 |
+
def_gen.laplace(D_arr_like_0p5, D_arr_like_0p5)
|
| 364 |
+
def_gen.laplace(D_arr_0p5, D_arr_0p5, size=1)
|
| 365 |
+
def_gen.laplace(D_arr_like_0p5, D_arr_like_0p5, size=1)
|
| 366 |
+
|
| 367 |
+
def_gen.logistic(0.5, 0.5)
|
| 368 |
+
def_gen.logistic(0.5, 0.5, size=None)
|
| 369 |
+
def_gen.logistic(0.5, 0.5, size=1)
|
| 370 |
+
def_gen.logistic(D_arr_0p5, 0.5)
|
| 371 |
+
def_gen.logistic(0.5, D_arr_0p5)
|
| 372 |
+
def_gen.logistic(D_arr_0p5, 0.5, size=1)
|
| 373 |
+
def_gen.logistic(0.5, D_arr_0p5, size=1)
|
| 374 |
+
def_gen.logistic(D_arr_like_0p5, 0.5)
|
| 375 |
+
def_gen.logistic(0.5, D_arr_like_0p5)
|
| 376 |
+
def_gen.logistic(D_arr_0p5, D_arr_0p5)
|
| 377 |
+
def_gen.logistic(D_arr_like_0p5, D_arr_like_0p5)
|
| 378 |
+
def_gen.logistic(D_arr_0p5, D_arr_0p5, size=1)
|
| 379 |
+
def_gen.logistic(D_arr_like_0p5, D_arr_like_0p5, size=1)
|
| 380 |
+
|
| 381 |
+
def_gen.lognormal(0.5, 0.5)
|
| 382 |
+
def_gen.lognormal(0.5, 0.5, size=None)
|
| 383 |
+
def_gen.lognormal(0.5, 0.5, size=1)
|
| 384 |
+
def_gen.lognormal(D_arr_0p5, 0.5)
|
| 385 |
+
def_gen.lognormal(0.5, D_arr_0p5)
|
| 386 |
+
def_gen.lognormal(D_arr_0p5, 0.5, size=1)
|
| 387 |
+
def_gen.lognormal(0.5, D_arr_0p5, size=1)
|
| 388 |
+
def_gen.lognormal(D_arr_like_0p5, 0.5)
|
| 389 |
+
def_gen.lognormal(0.5, D_arr_like_0p5)
|
| 390 |
+
def_gen.lognormal(D_arr_0p5, D_arr_0p5)
|
| 391 |
+
def_gen.lognormal(D_arr_like_0p5, D_arr_like_0p5)
|
| 392 |
+
def_gen.lognormal(D_arr_0p5, D_arr_0p5, size=1)
|
| 393 |
+
def_gen.lognormal(D_arr_like_0p5, D_arr_like_0p5, size=1)
|
| 394 |
+
|
| 395 |
+
def_gen.noncentral_chisquare(0.5, 0.5)
|
| 396 |
+
def_gen.noncentral_chisquare(0.5, 0.5, size=None)
|
| 397 |
+
def_gen.noncentral_chisquare(0.5, 0.5, size=1)
|
| 398 |
+
def_gen.noncentral_chisquare(D_arr_0p5, 0.5)
|
| 399 |
+
def_gen.noncentral_chisquare(0.5, D_arr_0p5)
|
| 400 |
+
def_gen.noncentral_chisquare(D_arr_0p5, 0.5, size=1)
|
| 401 |
+
def_gen.noncentral_chisquare(0.5, D_arr_0p5, size=1)
|
| 402 |
+
def_gen.noncentral_chisquare(D_arr_like_0p5, 0.5)
|
| 403 |
+
def_gen.noncentral_chisquare(0.5, D_arr_like_0p5)
|
| 404 |
+
def_gen.noncentral_chisquare(D_arr_0p5, D_arr_0p5)
|
| 405 |
+
def_gen.noncentral_chisquare(D_arr_like_0p5, D_arr_like_0p5)
|
| 406 |
+
def_gen.noncentral_chisquare(D_arr_0p5, D_arr_0p5, size=1)
|
| 407 |
+
def_gen.noncentral_chisquare(D_arr_like_0p5, D_arr_like_0p5, size=1)
|
| 408 |
+
|
| 409 |
+
def_gen.normal(0.5, 0.5)
|
| 410 |
+
def_gen.normal(0.5, 0.5, size=None)
|
| 411 |
+
def_gen.normal(0.5, 0.5, size=1)
|
| 412 |
+
def_gen.normal(D_arr_0p5, 0.5)
|
| 413 |
+
def_gen.normal(0.5, D_arr_0p5)
|
| 414 |
+
def_gen.normal(D_arr_0p5, 0.5, size=1)
|
| 415 |
+
def_gen.normal(0.5, D_arr_0p5, size=1)
|
| 416 |
+
def_gen.normal(D_arr_like_0p5, 0.5)
|
| 417 |
+
def_gen.normal(0.5, D_arr_like_0p5)
|
| 418 |
+
def_gen.normal(D_arr_0p5, D_arr_0p5)
|
| 419 |
+
def_gen.normal(D_arr_like_0p5, D_arr_like_0p5)
|
| 420 |
+
def_gen.normal(D_arr_0p5, D_arr_0p5, size=1)
|
| 421 |
+
def_gen.normal(D_arr_like_0p5, D_arr_like_0p5, size=1)
|
| 422 |
+
|
| 423 |
+
def_gen.triangular(0.1, 0.5, 0.9)
|
| 424 |
+
def_gen.triangular(0.1, 0.5, 0.9, size=None)
|
| 425 |
+
def_gen.triangular(0.1, 0.5, 0.9, size=1)
|
| 426 |
+
def_gen.triangular(D_arr_0p1, 0.5, 0.9)
|
| 427 |
+
def_gen.triangular(0.1, D_arr_0p5, 0.9)
|
| 428 |
+
def_gen.triangular(D_arr_0p1, 0.5, D_arr_like_0p9, size=1)
|
| 429 |
+
def_gen.triangular(0.1, D_arr_0p5, 0.9, size=1)
|
| 430 |
+
def_gen.triangular(D_arr_like_0p1, 0.5, D_arr_0p9)
|
| 431 |
+
def_gen.triangular(0.5, D_arr_like_0p5, 0.9)
|
| 432 |
+
def_gen.triangular(D_arr_0p1, D_arr_0p5, 0.9)
|
| 433 |
+
def_gen.triangular(D_arr_like_0p1, D_arr_like_0p5, 0.9)
|
| 434 |
+
def_gen.triangular(D_arr_0p1, D_arr_0p5, D_arr_0p9, size=1)
|
| 435 |
+
def_gen.triangular(D_arr_like_0p1, D_arr_like_0p5, D_arr_like_0p9, size=1)
|
| 436 |
+
|
| 437 |
+
def_gen.noncentral_f(0.1, 0.5, 0.9)
|
| 438 |
+
def_gen.noncentral_f(0.1, 0.5, 0.9, size=None)
|
| 439 |
+
def_gen.noncentral_f(0.1, 0.5, 0.9, size=1)
|
| 440 |
+
def_gen.noncentral_f(D_arr_0p1, 0.5, 0.9)
|
| 441 |
+
def_gen.noncentral_f(0.1, D_arr_0p5, 0.9)
|
| 442 |
+
def_gen.noncentral_f(D_arr_0p1, 0.5, D_arr_like_0p9, size=1)
|
| 443 |
+
def_gen.noncentral_f(0.1, D_arr_0p5, 0.9, size=1)
|
| 444 |
+
def_gen.noncentral_f(D_arr_like_0p1, 0.5, D_arr_0p9)
|
| 445 |
+
def_gen.noncentral_f(0.5, D_arr_like_0p5, 0.9)
|
| 446 |
+
def_gen.noncentral_f(D_arr_0p1, D_arr_0p5, 0.9)
|
| 447 |
+
def_gen.noncentral_f(D_arr_like_0p1, D_arr_like_0p5, 0.9)
|
| 448 |
+
def_gen.noncentral_f(D_arr_0p1, D_arr_0p5, D_arr_0p9, size=1)
|
| 449 |
+
def_gen.noncentral_f(D_arr_like_0p1, D_arr_like_0p5, D_arr_like_0p9, size=1)
|
| 450 |
+
|
| 451 |
+
def_gen.binomial(10, 0.5)
|
| 452 |
+
def_gen.binomial(10, 0.5, size=None)
|
| 453 |
+
def_gen.binomial(10, 0.5, size=1)
|
| 454 |
+
def_gen.binomial(I_arr_10, 0.5)
|
| 455 |
+
def_gen.binomial(10, D_arr_0p5)
|
| 456 |
+
def_gen.binomial(I_arr_10, 0.5, size=1)
|
| 457 |
+
def_gen.binomial(10, D_arr_0p5, size=1)
|
| 458 |
+
def_gen.binomial(I_arr_like_10, 0.5)
|
| 459 |
+
def_gen.binomial(10, D_arr_like_0p5)
|
| 460 |
+
def_gen.binomial(I_arr_10, D_arr_0p5)
|
| 461 |
+
def_gen.binomial(I_arr_like_10, D_arr_like_0p5)
|
| 462 |
+
def_gen.binomial(I_arr_10, D_arr_0p5, size=1)
|
| 463 |
+
def_gen.binomial(I_arr_like_10, D_arr_like_0p5, size=1)
|
| 464 |
+
|
| 465 |
+
def_gen.negative_binomial(10, 0.5)
|
| 466 |
+
def_gen.negative_binomial(10, 0.5, size=None)
|
| 467 |
+
def_gen.negative_binomial(10, 0.5, size=1)
|
| 468 |
+
def_gen.negative_binomial(I_arr_10, 0.5)
|
| 469 |
+
def_gen.negative_binomial(10, D_arr_0p5)
|
| 470 |
+
def_gen.negative_binomial(I_arr_10, 0.5, size=1)
|
| 471 |
+
def_gen.negative_binomial(10, D_arr_0p5, size=1)
|
| 472 |
+
def_gen.negative_binomial(I_arr_like_10, 0.5)
|
| 473 |
+
def_gen.negative_binomial(10, D_arr_like_0p5)
|
| 474 |
+
def_gen.negative_binomial(I_arr_10, D_arr_0p5)
|
| 475 |
+
def_gen.negative_binomial(I_arr_like_10, D_arr_like_0p5)
|
| 476 |
+
def_gen.negative_binomial(I_arr_10, D_arr_0p5, size=1)
|
| 477 |
+
def_gen.negative_binomial(I_arr_like_10, D_arr_like_0p5, size=1)
|
| 478 |
+
|
| 479 |
+
def_gen.hypergeometric(20, 20, 10)
|
| 480 |
+
def_gen.hypergeometric(20, 20, 10, size=None)
|
| 481 |
+
def_gen.hypergeometric(20, 20, 10, size=1)
|
| 482 |
+
def_gen.hypergeometric(I_arr_20, 20, 10)
|
| 483 |
+
def_gen.hypergeometric(20, I_arr_20, 10)
|
| 484 |
+
def_gen.hypergeometric(I_arr_20, 20, I_arr_like_10, size=1)
|
| 485 |
+
def_gen.hypergeometric(20, I_arr_20, 10, size=1)
|
| 486 |
+
def_gen.hypergeometric(I_arr_like_20, 20, I_arr_10)
|
| 487 |
+
def_gen.hypergeometric(20, I_arr_like_20, 10)
|
| 488 |
+
def_gen.hypergeometric(I_arr_20, I_arr_20, 10)
|
| 489 |
+
def_gen.hypergeometric(I_arr_like_20, I_arr_like_20, 10)
|
| 490 |
+
def_gen.hypergeometric(I_arr_20, I_arr_20, I_arr_10, size=1)
|
| 491 |
+
def_gen.hypergeometric(I_arr_like_20, I_arr_like_20, I_arr_like_10, size=1)
|
| 492 |
+
|
| 493 |
+
I_int64_100: np.ndarray[Any, np.dtype[np.int64]] = np.array([100], dtype=np.int64)
|
| 494 |
+
|
| 495 |
+
def_gen.integers(0, 100)
|
| 496 |
+
def_gen.integers(100)
|
| 497 |
+
def_gen.integers([100])
|
| 498 |
+
def_gen.integers(0, [100])
|
| 499 |
+
|
| 500 |
+
I_bool_low: np.ndarray[Any, np.dtype[np.bool_]] = np.array([0], dtype=np.bool_)
|
| 501 |
+
I_bool_low_like: list[int] = [0]
|
| 502 |
+
I_bool_high_open: np.ndarray[Any, np.dtype[np.bool_]] = np.array([1], dtype=np.bool_)
|
| 503 |
+
I_bool_high_closed: np.ndarray[Any, np.dtype[np.bool_]] = np.array([1], dtype=np.bool_)
|
| 504 |
+
|
| 505 |
+
def_gen.integers(2, dtype=bool)
|
| 506 |
+
def_gen.integers(0, 2, dtype=bool)
|
| 507 |
+
def_gen.integers(1, dtype=bool, endpoint=True)
|
| 508 |
+
def_gen.integers(0, 1, dtype=bool, endpoint=True)
|
| 509 |
+
def_gen.integers(I_bool_low_like, 1, dtype=bool, endpoint=True)
|
| 510 |
+
def_gen.integers(I_bool_high_open, dtype=bool)
|
| 511 |
+
def_gen.integers(I_bool_low, I_bool_high_open, dtype=bool)
|
| 512 |
+
def_gen.integers(0, I_bool_high_open, dtype=bool)
|
| 513 |
+
def_gen.integers(I_bool_high_closed, dtype=bool, endpoint=True)
|
| 514 |
+
def_gen.integers(I_bool_low, I_bool_high_closed, dtype=bool, endpoint=True)
|
| 515 |
+
def_gen.integers(0, I_bool_high_closed, dtype=bool, endpoint=True)
|
| 516 |
+
|
| 517 |
+
def_gen.integers(2, dtype=np.bool_)
|
| 518 |
+
def_gen.integers(0, 2, dtype=np.bool_)
|
| 519 |
+
def_gen.integers(1, dtype=np.bool_, endpoint=True)
|
| 520 |
+
def_gen.integers(0, 1, dtype=np.bool_, endpoint=True)
|
| 521 |
+
def_gen.integers(I_bool_low_like, 1, dtype=np.bool_, endpoint=True)
|
| 522 |
+
def_gen.integers(I_bool_high_open, dtype=np.bool_)
|
| 523 |
+
def_gen.integers(I_bool_low, I_bool_high_open, dtype=np.bool_)
|
| 524 |
+
def_gen.integers(0, I_bool_high_open, dtype=np.bool_)
|
| 525 |
+
def_gen.integers(I_bool_high_closed, dtype=np.bool_, endpoint=True)
|
| 526 |
+
def_gen.integers(I_bool_low, I_bool_high_closed, dtype=np.bool_, endpoint=True)
|
| 527 |
+
def_gen.integers(0, I_bool_high_closed, dtype=np.bool_, endpoint=True)
|
| 528 |
+
|
| 529 |
+
I_u1_low: np.ndarray[Any, np.dtype[np.uint8]] = np.array([0], dtype=np.uint8)
|
| 530 |
+
I_u1_low_like: list[int] = [0]
|
| 531 |
+
I_u1_high_open: np.ndarray[Any, np.dtype[np.uint8]] = np.array([255], dtype=np.uint8)
|
| 532 |
+
I_u1_high_closed: np.ndarray[Any, np.dtype[np.uint8]] = np.array([255], dtype=np.uint8)
|
| 533 |
+
|
| 534 |
+
def_gen.integers(256, dtype="u1")
|
| 535 |
+
def_gen.integers(0, 256, dtype="u1")
|
| 536 |
+
def_gen.integers(255, dtype="u1", endpoint=True)
|
| 537 |
+
def_gen.integers(0, 255, dtype="u1", endpoint=True)
|
| 538 |
+
def_gen.integers(I_u1_low_like, 255, dtype="u1", endpoint=True)
|
| 539 |
+
def_gen.integers(I_u1_high_open, dtype="u1")
|
| 540 |
+
def_gen.integers(I_u1_low, I_u1_high_open, dtype="u1")
|
| 541 |
+
def_gen.integers(0, I_u1_high_open, dtype="u1")
|
| 542 |
+
def_gen.integers(I_u1_high_closed, dtype="u1", endpoint=True)
|
| 543 |
+
def_gen.integers(I_u1_low, I_u1_high_closed, dtype="u1", endpoint=True)
|
| 544 |
+
def_gen.integers(0, I_u1_high_closed, dtype="u1", endpoint=True)
|
| 545 |
+
|
| 546 |
+
def_gen.integers(256, dtype="uint8")
|
| 547 |
+
def_gen.integers(0, 256, dtype="uint8")
|
| 548 |
+
def_gen.integers(255, dtype="uint8", endpoint=True)
|
| 549 |
+
def_gen.integers(0, 255, dtype="uint8", endpoint=True)
|
| 550 |
+
def_gen.integers(I_u1_low_like, 255, dtype="uint8", endpoint=True)
|
| 551 |
+
def_gen.integers(I_u1_high_open, dtype="uint8")
|
| 552 |
+
def_gen.integers(I_u1_low, I_u1_high_open, dtype="uint8")
|
| 553 |
+
def_gen.integers(0, I_u1_high_open, dtype="uint8")
|
| 554 |
+
def_gen.integers(I_u1_high_closed, dtype="uint8", endpoint=True)
|
| 555 |
+
def_gen.integers(I_u1_low, I_u1_high_closed, dtype="uint8", endpoint=True)
|
| 556 |
+
def_gen.integers(0, I_u1_high_closed, dtype="uint8", endpoint=True)
|
| 557 |
+
|
| 558 |
+
def_gen.integers(256, dtype=np.uint8)
|
| 559 |
+
def_gen.integers(0, 256, dtype=np.uint8)
|
| 560 |
+
def_gen.integers(255, dtype=np.uint8, endpoint=True)
|
| 561 |
+
def_gen.integers(0, 255, dtype=np.uint8, endpoint=True)
|
| 562 |
+
def_gen.integers(I_u1_low_like, 255, dtype=np.uint8, endpoint=True)
|
| 563 |
+
def_gen.integers(I_u1_high_open, dtype=np.uint8)
|
| 564 |
+
def_gen.integers(I_u1_low, I_u1_high_open, dtype=np.uint8)
|
| 565 |
+
def_gen.integers(0, I_u1_high_open, dtype=np.uint8)
|
| 566 |
+
def_gen.integers(I_u1_high_closed, dtype=np.uint8, endpoint=True)
|
| 567 |
+
def_gen.integers(I_u1_low, I_u1_high_closed, dtype=np.uint8, endpoint=True)
|
| 568 |
+
def_gen.integers(0, I_u1_high_closed, dtype=np.uint8, endpoint=True)
|
| 569 |
+
|
| 570 |
+
I_u2_low: np.ndarray[Any, np.dtype[np.uint16]] = np.array([0], dtype=np.uint16)
|
| 571 |
+
I_u2_low_like: list[int] = [0]
|
| 572 |
+
I_u2_high_open: np.ndarray[Any, np.dtype[np.uint16]] = np.array([65535], dtype=np.uint16)
|
| 573 |
+
I_u2_high_closed: np.ndarray[Any, np.dtype[np.uint16]] = np.array([65535], dtype=np.uint16)
|
| 574 |
+
|
| 575 |
+
def_gen.integers(65536, dtype="u2")
|
| 576 |
+
def_gen.integers(0, 65536, dtype="u2")
|
| 577 |
+
def_gen.integers(65535, dtype="u2", endpoint=True)
|
| 578 |
+
def_gen.integers(0, 65535, dtype="u2", endpoint=True)
|
| 579 |
+
def_gen.integers(I_u2_low_like, 65535, dtype="u2", endpoint=True)
|
| 580 |
+
def_gen.integers(I_u2_high_open, dtype="u2")
|
| 581 |
+
def_gen.integers(I_u2_low, I_u2_high_open, dtype="u2")
|
| 582 |
+
def_gen.integers(0, I_u2_high_open, dtype="u2")
|
| 583 |
+
def_gen.integers(I_u2_high_closed, dtype="u2", endpoint=True)
|
| 584 |
+
def_gen.integers(I_u2_low, I_u2_high_closed, dtype="u2", endpoint=True)
|
| 585 |
+
def_gen.integers(0, I_u2_high_closed, dtype="u2", endpoint=True)
|
| 586 |
+
|
| 587 |
+
def_gen.integers(65536, dtype="uint16")
|
| 588 |
+
def_gen.integers(0, 65536, dtype="uint16")
|
| 589 |
+
def_gen.integers(65535, dtype="uint16", endpoint=True)
|
| 590 |
+
def_gen.integers(0, 65535, dtype="uint16", endpoint=True)
|
| 591 |
+
def_gen.integers(I_u2_low_like, 65535, dtype="uint16", endpoint=True)
|
| 592 |
+
def_gen.integers(I_u2_high_open, dtype="uint16")
|
| 593 |
+
def_gen.integers(I_u2_low, I_u2_high_open, dtype="uint16")
|
| 594 |
+
def_gen.integers(0, I_u2_high_open, dtype="uint16")
|
| 595 |
+
def_gen.integers(I_u2_high_closed, dtype="uint16", endpoint=True)
|
| 596 |
+
def_gen.integers(I_u2_low, I_u2_high_closed, dtype="uint16", endpoint=True)
|
| 597 |
+
def_gen.integers(0, I_u2_high_closed, dtype="uint16", endpoint=True)
|
| 598 |
+
|
| 599 |
+
def_gen.integers(65536, dtype=np.uint16)
|
| 600 |
+
def_gen.integers(0, 65536, dtype=np.uint16)
|
| 601 |
+
def_gen.integers(65535, dtype=np.uint16, endpoint=True)
|
| 602 |
+
def_gen.integers(0, 65535, dtype=np.uint16, endpoint=True)
|
| 603 |
+
def_gen.integers(I_u2_low_like, 65535, dtype=np.uint16, endpoint=True)
|
| 604 |
+
def_gen.integers(I_u2_high_open, dtype=np.uint16)
|
| 605 |
+
def_gen.integers(I_u2_low, I_u2_high_open, dtype=np.uint16)
|
| 606 |
+
def_gen.integers(0, I_u2_high_open, dtype=np.uint16)
|
| 607 |
+
def_gen.integers(I_u2_high_closed, dtype=np.uint16, endpoint=True)
|
| 608 |
+
def_gen.integers(I_u2_low, I_u2_high_closed, dtype=np.uint16, endpoint=True)
|
| 609 |
+
def_gen.integers(0, I_u2_high_closed, dtype=np.uint16, endpoint=True)
|
| 610 |
+
|
| 611 |
+
I_u4_low: np.ndarray[Any, np.dtype[np.uint32]] = np.array([0], dtype=np.uint32)
|
| 612 |
+
I_u4_low_like: list[int] = [0]
|
| 613 |
+
I_u4_high_open: np.ndarray[Any, np.dtype[np.uint32]] = np.array([4294967295], dtype=np.uint32)
|
| 614 |
+
I_u4_high_closed: np.ndarray[Any, np.dtype[np.uint32]] = np.array([4294967295], dtype=np.uint32)
|
| 615 |
+
|
| 616 |
+
def_gen.integers(4294967296, dtype="u4")
|
| 617 |
+
def_gen.integers(0, 4294967296, dtype="u4")
|
| 618 |
+
def_gen.integers(4294967295, dtype="u4", endpoint=True)
|
| 619 |
+
def_gen.integers(0, 4294967295, dtype="u4", endpoint=True)
|
| 620 |
+
def_gen.integers(I_u4_low_like, 4294967295, dtype="u4", endpoint=True)
|
| 621 |
+
def_gen.integers(I_u4_high_open, dtype="u4")
|
| 622 |
+
def_gen.integers(I_u4_low, I_u4_high_open, dtype="u4")
|
| 623 |
+
def_gen.integers(0, I_u4_high_open, dtype="u4")
|
| 624 |
+
def_gen.integers(I_u4_high_closed, dtype="u4", endpoint=True)
|
| 625 |
+
def_gen.integers(I_u4_low, I_u4_high_closed, dtype="u4", endpoint=True)
|
| 626 |
+
def_gen.integers(0, I_u4_high_closed, dtype="u4", endpoint=True)
|
| 627 |
+
|
| 628 |
+
def_gen.integers(4294967296, dtype="uint32")
|
| 629 |
+
def_gen.integers(0, 4294967296, dtype="uint32")
|
| 630 |
+
def_gen.integers(4294967295, dtype="uint32", endpoint=True)
|
| 631 |
+
def_gen.integers(0, 4294967295, dtype="uint32", endpoint=True)
|
| 632 |
+
def_gen.integers(I_u4_low_like, 4294967295, dtype="uint32", endpoint=True)
|
| 633 |
+
def_gen.integers(I_u4_high_open, dtype="uint32")
|
| 634 |
+
def_gen.integers(I_u4_low, I_u4_high_open, dtype="uint32")
|
| 635 |
+
def_gen.integers(0, I_u4_high_open, dtype="uint32")
|
| 636 |
+
def_gen.integers(I_u4_high_closed, dtype="uint32", endpoint=True)
|
| 637 |
+
def_gen.integers(I_u4_low, I_u4_high_closed, dtype="uint32", endpoint=True)
|
| 638 |
+
def_gen.integers(0, I_u4_high_closed, dtype="uint32", endpoint=True)
|
| 639 |
+
|
| 640 |
+
def_gen.integers(4294967296, dtype=np.uint32)
|
| 641 |
+
def_gen.integers(0, 4294967296, dtype=np.uint32)
|
| 642 |
+
def_gen.integers(4294967295, dtype=np.uint32, endpoint=True)
|
| 643 |
+
def_gen.integers(0, 4294967295, dtype=np.uint32, endpoint=True)
|
| 644 |
+
def_gen.integers(I_u4_low_like, 4294967295, dtype=np.uint32, endpoint=True)
|
| 645 |
+
def_gen.integers(I_u4_high_open, dtype=np.uint32)
|
| 646 |
+
def_gen.integers(I_u4_low, I_u4_high_open, dtype=np.uint32)
|
| 647 |
+
def_gen.integers(0, I_u4_high_open, dtype=np.uint32)
|
| 648 |
+
def_gen.integers(I_u4_high_closed, dtype=np.uint32, endpoint=True)
|
| 649 |
+
def_gen.integers(I_u4_low, I_u4_high_closed, dtype=np.uint32, endpoint=True)
|
| 650 |
+
def_gen.integers(0, I_u4_high_closed, dtype=np.uint32, endpoint=True)
|
| 651 |
+
|
| 652 |
+
I_u8_low: np.ndarray[Any, np.dtype[np.uint64]] = np.array([0], dtype=np.uint64)
|
| 653 |
+
I_u8_low_like: list[int] = [0]
|
| 654 |
+
I_u8_high_open: np.ndarray[Any, np.dtype[np.uint64]] = np.array([18446744073709551615], dtype=np.uint64)
|
| 655 |
+
I_u8_high_closed: np.ndarray[Any, np.dtype[np.uint64]] = np.array([18446744073709551615], dtype=np.uint64)
|
| 656 |
+
|
| 657 |
+
def_gen.integers(18446744073709551616, dtype="u8")
|
| 658 |
+
def_gen.integers(0, 18446744073709551616, dtype="u8")
|
| 659 |
+
def_gen.integers(18446744073709551615, dtype="u8", endpoint=True)
|
| 660 |
+
def_gen.integers(0, 18446744073709551615, dtype="u8", endpoint=True)
|
| 661 |
+
def_gen.integers(I_u8_low_like, 18446744073709551615, dtype="u8", endpoint=True)
|
| 662 |
+
def_gen.integers(I_u8_high_open, dtype="u8")
|
| 663 |
+
def_gen.integers(I_u8_low, I_u8_high_open, dtype="u8")
|
| 664 |
+
def_gen.integers(0, I_u8_high_open, dtype="u8")
|
| 665 |
+
def_gen.integers(I_u8_high_closed, dtype="u8", endpoint=True)
|
| 666 |
+
def_gen.integers(I_u8_low, I_u8_high_closed, dtype="u8", endpoint=True)
|
| 667 |
+
def_gen.integers(0, I_u8_high_closed, dtype="u8", endpoint=True)
|
| 668 |
+
|
| 669 |
+
def_gen.integers(18446744073709551616, dtype="uint64")
|
| 670 |
+
def_gen.integers(0, 18446744073709551616, dtype="uint64")
|
| 671 |
+
def_gen.integers(18446744073709551615, dtype="uint64", endpoint=True)
|
| 672 |
+
def_gen.integers(0, 18446744073709551615, dtype="uint64", endpoint=True)
|
| 673 |
+
def_gen.integers(I_u8_low_like, 18446744073709551615, dtype="uint64", endpoint=True)
|
| 674 |
+
def_gen.integers(I_u8_high_open, dtype="uint64")
|
| 675 |
+
def_gen.integers(I_u8_low, I_u8_high_open, dtype="uint64")
|
| 676 |
+
def_gen.integers(0, I_u8_high_open, dtype="uint64")
|
| 677 |
+
def_gen.integers(I_u8_high_closed, dtype="uint64", endpoint=True)
|
| 678 |
+
def_gen.integers(I_u8_low, I_u8_high_closed, dtype="uint64", endpoint=True)
|
| 679 |
+
def_gen.integers(0, I_u8_high_closed, dtype="uint64", endpoint=True)
|
| 680 |
+
|
| 681 |
+
def_gen.integers(18446744073709551616, dtype=np.uint64)
|
| 682 |
+
def_gen.integers(0, 18446744073709551616, dtype=np.uint64)
|
| 683 |
+
def_gen.integers(18446744073709551615, dtype=np.uint64, endpoint=True)
|
| 684 |
+
def_gen.integers(0, 18446744073709551615, dtype=np.uint64, endpoint=True)
|
| 685 |
+
def_gen.integers(I_u8_low_like, 18446744073709551615, dtype=np.uint64, endpoint=True)
|
| 686 |
+
def_gen.integers(I_u8_high_open, dtype=np.uint64)
|
| 687 |
+
def_gen.integers(I_u8_low, I_u8_high_open, dtype=np.uint64)
|
| 688 |
+
def_gen.integers(0, I_u8_high_open, dtype=np.uint64)
|
| 689 |
+
def_gen.integers(I_u8_high_closed, dtype=np.uint64, endpoint=True)
|
| 690 |
+
def_gen.integers(I_u8_low, I_u8_high_closed, dtype=np.uint64, endpoint=True)
|
| 691 |
+
def_gen.integers(0, I_u8_high_closed, dtype=np.uint64, endpoint=True)
|
| 692 |
+
|
| 693 |
+
I_i1_low: np.ndarray[Any, np.dtype[np.int8]] = np.array([-128], dtype=np.int8)
|
| 694 |
+
I_i1_low_like: list[int] = [-128]
|
| 695 |
+
I_i1_high_open: np.ndarray[Any, np.dtype[np.int8]] = np.array([127], dtype=np.int8)
|
| 696 |
+
I_i1_high_closed: np.ndarray[Any, np.dtype[np.int8]] = np.array([127], dtype=np.int8)
|
| 697 |
+
|
| 698 |
+
def_gen.integers(128, dtype="i1")
|
| 699 |
+
def_gen.integers(-128, 128, dtype="i1")
|
| 700 |
+
def_gen.integers(127, dtype="i1", endpoint=True)
|
| 701 |
+
def_gen.integers(-128, 127, dtype="i1", endpoint=True)
|
| 702 |
+
def_gen.integers(I_i1_low_like, 127, dtype="i1", endpoint=True)
|
| 703 |
+
def_gen.integers(I_i1_high_open, dtype="i1")
|
| 704 |
+
def_gen.integers(I_i1_low, I_i1_high_open, dtype="i1")
|
| 705 |
+
def_gen.integers(-128, I_i1_high_open, dtype="i1")
|
| 706 |
+
def_gen.integers(I_i1_high_closed, dtype="i1", endpoint=True)
|
| 707 |
+
def_gen.integers(I_i1_low, I_i1_high_closed, dtype="i1", endpoint=True)
|
| 708 |
+
def_gen.integers(-128, I_i1_high_closed, dtype="i1", endpoint=True)
|
| 709 |
+
|
| 710 |
+
def_gen.integers(128, dtype="int8")
|
| 711 |
+
def_gen.integers(-128, 128, dtype="int8")
|
| 712 |
+
def_gen.integers(127, dtype="int8", endpoint=True)
|
| 713 |
+
def_gen.integers(-128, 127, dtype="int8", endpoint=True)
|
| 714 |
+
def_gen.integers(I_i1_low_like, 127, dtype="int8", endpoint=True)
|
| 715 |
+
def_gen.integers(I_i1_high_open, dtype="int8")
|
| 716 |
+
def_gen.integers(I_i1_low, I_i1_high_open, dtype="int8")
|
| 717 |
+
def_gen.integers(-128, I_i1_high_open, dtype="int8")
|
| 718 |
+
def_gen.integers(I_i1_high_closed, dtype="int8", endpoint=True)
|
| 719 |
+
def_gen.integers(I_i1_low, I_i1_high_closed, dtype="int8", endpoint=True)
|
| 720 |
+
def_gen.integers(-128, I_i1_high_closed, dtype="int8", endpoint=True)
|
| 721 |
+
|
| 722 |
+
def_gen.integers(128, dtype=np.int8)
|
| 723 |
+
def_gen.integers(-128, 128, dtype=np.int8)
|
| 724 |
+
def_gen.integers(127, dtype=np.int8, endpoint=True)
|
| 725 |
+
def_gen.integers(-128, 127, dtype=np.int8, endpoint=True)
|
| 726 |
+
def_gen.integers(I_i1_low_like, 127, dtype=np.int8, endpoint=True)
|
| 727 |
+
def_gen.integers(I_i1_high_open, dtype=np.int8)
|
| 728 |
+
def_gen.integers(I_i1_low, I_i1_high_open, dtype=np.int8)
|
| 729 |
+
def_gen.integers(-128, I_i1_high_open, dtype=np.int8)
|
| 730 |
+
def_gen.integers(I_i1_high_closed, dtype=np.int8, endpoint=True)
|
| 731 |
+
def_gen.integers(I_i1_low, I_i1_high_closed, dtype=np.int8, endpoint=True)
|
| 732 |
+
def_gen.integers(-128, I_i1_high_closed, dtype=np.int8, endpoint=True)
|
| 733 |
+
|
| 734 |
+
I_i2_low: np.ndarray[Any, np.dtype[np.int16]] = np.array([-32768], dtype=np.int16)
|
| 735 |
+
I_i2_low_like: list[int] = [-32768]
|
| 736 |
+
I_i2_high_open: np.ndarray[Any, np.dtype[np.int16]] = np.array([32767], dtype=np.int16)
|
| 737 |
+
I_i2_high_closed: np.ndarray[Any, np.dtype[np.int16]] = np.array([32767], dtype=np.int16)
|
| 738 |
+
|
| 739 |
+
def_gen.integers(32768, dtype="i2")
|
| 740 |
+
def_gen.integers(-32768, 32768, dtype="i2")
|
| 741 |
+
def_gen.integers(32767, dtype="i2", endpoint=True)
|
| 742 |
+
def_gen.integers(-32768, 32767, dtype="i2", endpoint=True)
|
| 743 |
+
def_gen.integers(I_i2_low_like, 32767, dtype="i2", endpoint=True)
|
| 744 |
+
def_gen.integers(I_i2_high_open, dtype="i2")
|
| 745 |
+
def_gen.integers(I_i2_low, I_i2_high_open, dtype="i2")
|
| 746 |
+
def_gen.integers(-32768, I_i2_high_open, dtype="i2")
|
| 747 |
+
def_gen.integers(I_i2_high_closed, dtype="i2", endpoint=True)
|
| 748 |
+
def_gen.integers(I_i2_low, I_i2_high_closed, dtype="i2", endpoint=True)
|
| 749 |
+
def_gen.integers(-32768, I_i2_high_closed, dtype="i2", endpoint=True)
|
| 750 |
+
|
| 751 |
+
def_gen.integers(32768, dtype="int16")
|
| 752 |
+
def_gen.integers(-32768, 32768, dtype="int16")
|
| 753 |
+
def_gen.integers(32767, dtype="int16", endpoint=True)
|
| 754 |
+
def_gen.integers(-32768, 32767, dtype="int16", endpoint=True)
|
| 755 |
+
def_gen.integers(I_i2_low_like, 32767, dtype="int16", endpoint=True)
|
| 756 |
+
def_gen.integers(I_i2_high_open, dtype="int16")
|
| 757 |
+
def_gen.integers(I_i2_low, I_i2_high_open, dtype="int16")
|
| 758 |
+
def_gen.integers(-32768, I_i2_high_open, dtype="int16")
|
| 759 |
+
def_gen.integers(I_i2_high_closed, dtype="int16", endpoint=True)
|
| 760 |
+
def_gen.integers(I_i2_low, I_i2_high_closed, dtype="int16", endpoint=True)
|
| 761 |
+
def_gen.integers(-32768, I_i2_high_closed, dtype="int16", endpoint=True)
|
| 762 |
+
|
| 763 |
+
def_gen.integers(32768, dtype=np.int16)
|
| 764 |
+
def_gen.integers(-32768, 32768, dtype=np.int16)
|
| 765 |
+
def_gen.integers(32767, dtype=np.int16, endpoint=True)
|
| 766 |
+
def_gen.integers(-32768, 32767, dtype=np.int16, endpoint=True)
|
| 767 |
+
def_gen.integers(I_i2_low_like, 32767, dtype=np.int16, endpoint=True)
|
| 768 |
+
def_gen.integers(I_i2_high_open, dtype=np.int16)
|
| 769 |
+
def_gen.integers(I_i2_low, I_i2_high_open, dtype=np.int16)
|
| 770 |
+
def_gen.integers(-32768, I_i2_high_open, dtype=np.int16)
|
| 771 |
+
def_gen.integers(I_i2_high_closed, dtype=np.int16, endpoint=True)
|
| 772 |
+
def_gen.integers(I_i2_low, I_i2_high_closed, dtype=np.int16, endpoint=True)
|
| 773 |
+
def_gen.integers(-32768, I_i2_high_closed, dtype=np.int16, endpoint=True)
|
| 774 |
+
|
| 775 |
+
I_i4_low: np.ndarray[Any, np.dtype[np.int32]] = np.array([-2147483648], dtype=np.int32)
|
| 776 |
+
I_i4_low_like: list[int] = [-2147483648]
|
| 777 |
+
I_i4_high_open: np.ndarray[Any, np.dtype[np.int32]] = np.array([2147483647], dtype=np.int32)
|
| 778 |
+
I_i4_high_closed: np.ndarray[Any, np.dtype[np.int32]] = np.array([2147483647], dtype=np.int32)
|
| 779 |
+
|
| 780 |
+
def_gen.integers(2147483648, dtype="i4")
|
| 781 |
+
def_gen.integers(-2147483648, 2147483648, dtype="i4")
|
| 782 |
+
def_gen.integers(2147483647, dtype="i4", endpoint=True)
|
| 783 |
+
def_gen.integers(-2147483648, 2147483647, dtype="i4", endpoint=True)
|
| 784 |
+
def_gen.integers(I_i4_low_like, 2147483647, dtype="i4", endpoint=True)
|
| 785 |
+
def_gen.integers(I_i4_high_open, dtype="i4")
|
| 786 |
+
def_gen.integers(I_i4_low, I_i4_high_open, dtype="i4")
|
| 787 |
+
def_gen.integers(-2147483648, I_i4_high_open, dtype="i4")
|
| 788 |
+
def_gen.integers(I_i4_high_closed, dtype="i4", endpoint=True)
|
| 789 |
+
def_gen.integers(I_i4_low, I_i4_high_closed, dtype="i4", endpoint=True)
|
| 790 |
+
def_gen.integers(-2147483648, I_i4_high_closed, dtype="i4", endpoint=True)
|
| 791 |
+
|
| 792 |
+
def_gen.integers(2147483648, dtype="int32")
|
| 793 |
+
def_gen.integers(-2147483648, 2147483648, dtype="int32")
|
| 794 |
+
def_gen.integers(2147483647, dtype="int32", endpoint=True)
|
| 795 |
+
def_gen.integers(-2147483648, 2147483647, dtype="int32", endpoint=True)
|
| 796 |
+
def_gen.integers(I_i4_low_like, 2147483647, dtype="int32", endpoint=True)
|
| 797 |
+
def_gen.integers(I_i4_high_open, dtype="int32")
|
| 798 |
+
def_gen.integers(I_i4_low, I_i4_high_open, dtype="int32")
|
| 799 |
+
def_gen.integers(-2147483648, I_i4_high_open, dtype="int32")
|
| 800 |
+
def_gen.integers(I_i4_high_closed, dtype="int32", endpoint=True)
|
| 801 |
+
def_gen.integers(I_i4_low, I_i4_high_closed, dtype="int32", endpoint=True)
|
| 802 |
+
def_gen.integers(-2147483648, I_i4_high_closed, dtype="int32", endpoint=True)
|
| 803 |
+
|
| 804 |
+
def_gen.integers(2147483648, dtype=np.int32)
|
| 805 |
+
def_gen.integers(-2147483648, 2147483648, dtype=np.int32)
|
| 806 |
+
def_gen.integers(2147483647, dtype=np.int32, endpoint=True)
|
| 807 |
+
def_gen.integers(-2147483648, 2147483647, dtype=np.int32, endpoint=True)
|
| 808 |
+
def_gen.integers(I_i4_low_like, 2147483647, dtype=np.int32, endpoint=True)
|
| 809 |
+
def_gen.integers(I_i4_high_open, dtype=np.int32)
|
| 810 |
+
def_gen.integers(I_i4_low, I_i4_high_open, dtype=np.int32)
|
| 811 |
+
def_gen.integers(-2147483648, I_i4_high_open, dtype=np.int32)
|
| 812 |
+
def_gen.integers(I_i4_high_closed, dtype=np.int32, endpoint=True)
|
| 813 |
+
def_gen.integers(I_i4_low, I_i4_high_closed, dtype=np.int32, endpoint=True)
|
| 814 |
+
def_gen.integers(-2147483648, I_i4_high_closed, dtype=np.int32, endpoint=True)
|
| 815 |
+
|
| 816 |
+
I_i8_low: np.ndarray[Any, np.dtype[np.int64]] = np.array([-9223372036854775808], dtype=np.int64)
|
| 817 |
+
I_i8_low_like: list[int] = [-9223372036854775808]
|
| 818 |
+
I_i8_high_open: np.ndarray[Any, np.dtype[np.int64]] = np.array([9223372036854775807], dtype=np.int64)
|
| 819 |
+
I_i8_high_closed: np.ndarray[Any, np.dtype[np.int64]] = np.array([9223372036854775807], dtype=np.int64)
|
| 820 |
+
|
| 821 |
+
def_gen.integers(9223372036854775808, dtype="i8")
|
| 822 |
+
def_gen.integers(-9223372036854775808, 9223372036854775808, dtype="i8")
|
| 823 |
+
def_gen.integers(9223372036854775807, dtype="i8", endpoint=True)
|
| 824 |
+
def_gen.integers(-9223372036854775808, 9223372036854775807, dtype="i8", endpoint=True)
|
| 825 |
+
def_gen.integers(I_i8_low_like, 9223372036854775807, dtype="i8", endpoint=True)
|
| 826 |
+
def_gen.integers(I_i8_high_open, dtype="i8")
|
| 827 |
+
def_gen.integers(I_i8_low, I_i8_high_open, dtype="i8")
|
| 828 |
+
def_gen.integers(-9223372036854775808, I_i8_high_open, dtype="i8")
|
| 829 |
+
def_gen.integers(I_i8_high_closed, dtype="i8", endpoint=True)
|
| 830 |
+
def_gen.integers(I_i8_low, I_i8_high_closed, dtype="i8", endpoint=True)
|
| 831 |
+
def_gen.integers(-9223372036854775808, I_i8_high_closed, dtype="i8", endpoint=True)
|
| 832 |
+
|
| 833 |
+
def_gen.integers(9223372036854775808, dtype="int64")
|
| 834 |
+
def_gen.integers(-9223372036854775808, 9223372036854775808, dtype="int64")
|
| 835 |
+
def_gen.integers(9223372036854775807, dtype="int64", endpoint=True)
|
| 836 |
+
def_gen.integers(-9223372036854775808, 9223372036854775807, dtype="int64", endpoint=True)
|
| 837 |
+
def_gen.integers(I_i8_low_like, 9223372036854775807, dtype="int64", endpoint=True)
|
| 838 |
+
def_gen.integers(I_i8_high_open, dtype="int64")
|
| 839 |
+
def_gen.integers(I_i8_low, I_i8_high_open, dtype="int64")
|
| 840 |
+
def_gen.integers(-9223372036854775808, I_i8_high_open, dtype="int64")
|
| 841 |
+
def_gen.integers(I_i8_high_closed, dtype="int64", endpoint=True)
|
| 842 |
+
def_gen.integers(I_i8_low, I_i8_high_closed, dtype="int64", endpoint=True)
|
| 843 |
+
def_gen.integers(-9223372036854775808, I_i8_high_closed, dtype="int64", endpoint=True)
|
| 844 |
+
|
| 845 |
+
def_gen.integers(9223372036854775808, dtype=np.int64)
|
| 846 |
+
def_gen.integers(-9223372036854775808, 9223372036854775808, dtype=np.int64)
|
| 847 |
+
def_gen.integers(9223372036854775807, dtype=np.int64, endpoint=True)
|
| 848 |
+
def_gen.integers(-9223372036854775808, 9223372036854775807, dtype=np.int64, endpoint=True)
|
| 849 |
+
def_gen.integers(I_i8_low_like, 9223372036854775807, dtype=np.int64, endpoint=True)
|
| 850 |
+
def_gen.integers(I_i8_high_open, dtype=np.int64)
|
| 851 |
+
def_gen.integers(I_i8_low, I_i8_high_open, dtype=np.int64)
|
| 852 |
+
def_gen.integers(-9223372036854775808, I_i8_high_open, dtype=np.int64)
|
| 853 |
+
def_gen.integers(I_i8_high_closed, dtype=np.int64, endpoint=True)
|
| 854 |
+
def_gen.integers(I_i8_low, I_i8_high_closed, dtype=np.int64, endpoint=True)
|
| 855 |
+
def_gen.integers(-9223372036854775808, I_i8_high_closed, dtype=np.int64, endpoint=True)
|
| 856 |
+
|
| 857 |
+
|
| 858 |
+
def_gen.bit_generator
|
| 859 |
+
|
| 860 |
+
def_gen.bytes(2)
|
| 861 |
+
|
| 862 |
+
def_gen.choice(5)
|
| 863 |
+
def_gen.choice(5, 3)
|
| 864 |
+
def_gen.choice(5, 3, replace=True)
|
| 865 |
+
def_gen.choice(5, 3, p=[1 / 5] * 5)
|
| 866 |
+
def_gen.choice(5, 3, p=[1 / 5] * 5, replace=False)
|
| 867 |
+
|
| 868 |
+
def_gen.choice(["pooh", "rabbit", "piglet", "Christopher"])
|
| 869 |
+
def_gen.choice(["pooh", "rabbit", "piglet", "Christopher"], 3)
|
| 870 |
+
def_gen.choice(["pooh", "rabbit", "piglet", "Christopher"], 3, p=[1 / 4] * 4)
|
| 871 |
+
def_gen.choice(["pooh", "rabbit", "piglet", "Christopher"], 3, replace=True)
|
| 872 |
+
def_gen.choice(["pooh", "rabbit", "piglet", "Christopher"], 3, replace=False, p=np.array([1 / 8, 1 / 8, 1 / 2, 1 / 4]))
|
| 873 |
+
|
| 874 |
+
def_gen.dirichlet([0.5, 0.5])
|
| 875 |
+
def_gen.dirichlet(np.array([0.5, 0.5]))
|
| 876 |
+
def_gen.dirichlet(np.array([0.5, 0.5]), size=3)
|
| 877 |
+
|
| 878 |
+
def_gen.multinomial(20, [1 / 6.0] * 6)
|
| 879 |
+
def_gen.multinomial(20, np.array([0.5, 0.5]))
|
| 880 |
+
def_gen.multinomial(20, [1 / 6.0] * 6, size=2)
|
| 881 |
+
def_gen.multinomial([[10], [20]], [1 / 6.0] * 6, size=(2, 2))
|
| 882 |
+
def_gen.multinomial(np.array([[10], [20]]), np.array([0.5, 0.5]), size=(2, 2))
|
| 883 |
+
|
| 884 |
+
def_gen.multivariate_hypergeometric([3, 5, 7], 2)
|
| 885 |
+
def_gen.multivariate_hypergeometric(np.array([3, 5, 7]), 2)
|
| 886 |
+
def_gen.multivariate_hypergeometric(np.array([3, 5, 7]), 2, size=4)
|
| 887 |
+
def_gen.multivariate_hypergeometric(np.array([3, 5, 7]), 2, size=(4, 7))
|
| 888 |
+
def_gen.multivariate_hypergeometric([3, 5, 7], 2, method="count")
|
| 889 |
+
def_gen.multivariate_hypergeometric(np.array([3, 5, 7]), 2, method="marginals")
|
| 890 |
+
|
| 891 |
+
def_gen.multivariate_normal([0.0], [[1.0]])
|
| 892 |
+
def_gen.multivariate_normal([0.0], np.array([[1.0]]))
|
| 893 |
+
def_gen.multivariate_normal(np.array([0.0]), [[1.0]])
|
| 894 |
+
def_gen.multivariate_normal([0.0], np.array([[1.0]]))
|
| 895 |
+
|
| 896 |
+
def_gen.permutation(10)
|
| 897 |
+
def_gen.permutation([1, 2, 3, 4])
|
| 898 |
+
def_gen.permutation(np.array([1, 2, 3, 4]))
|
| 899 |
+
def_gen.permutation(D_2D, axis=1)
|
| 900 |
+
def_gen.permuted(D_2D)
|
| 901 |
+
def_gen.permuted(D_2D_like)
|
| 902 |
+
def_gen.permuted(D_2D, axis=1)
|
| 903 |
+
def_gen.permuted(D_2D, out=D_2D)
|
| 904 |
+
def_gen.permuted(D_2D_like, out=D_2D)
|
| 905 |
+
def_gen.permuted(D_2D_like, out=D_2D)
|
| 906 |
+
def_gen.permuted(D_2D, axis=1, out=D_2D)
|
| 907 |
+
|
| 908 |
+
def_gen.shuffle(np.arange(10))
|
| 909 |
+
def_gen.shuffle([1, 2, 3, 4, 5])
|
| 910 |
+
def_gen.shuffle(D_2D, axis=1)
|
| 911 |
+
|
| 912 |
+
def_gen.__str__()
|
| 913 |
+
def_gen.__repr__()
|
| 914 |
+
def_gen_state: dict[str, Any]
|
| 915 |
+
def_gen_state = def_gen.__getstate__()
|
| 916 |
+
def_gen.__setstate__(def_gen_state)
|
| 917 |
+
|
| 918 |
+
# RandomState
|
| 919 |
+
random_st: np.random.RandomState = np.random.RandomState()
|
| 920 |
+
|
| 921 |
+
random_st.standard_normal()
|
| 922 |
+
random_st.standard_normal(size=None)
|
| 923 |
+
random_st.standard_normal(size=1)
|
| 924 |
+
|
| 925 |
+
random_st.random()
|
| 926 |
+
random_st.random(size=None)
|
| 927 |
+
random_st.random(size=1)
|
| 928 |
+
|
| 929 |
+
random_st.standard_cauchy()
|
| 930 |
+
random_st.standard_cauchy(size=None)
|
| 931 |
+
random_st.standard_cauchy(size=1)
|
| 932 |
+
|
| 933 |
+
random_st.standard_exponential()
|
| 934 |
+
random_st.standard_exponential(size=None)
|
| 935 |
+
random_st.standard_exponential(size=1)
|
| 936 |
+
|
| 937 |
+
random_st.zipf(1.5)
|
| 938 |
+
random_st.zipf(1.5, size=None)
|
| 939 |
+
random_st.zipf(1.5, size=1)
|
| 940 |
+
random_st.zipf(D_arr_1p5)
|
| 941 |
+
random_st.zipf(D_arr_1p5, size=1)
|
| 942 |
+
random_st.zipf(D_arr_like_1p5)
|
| 943 |
+
random_st.zipf(D_arr_like_1p5, size=1)
|
| 944 |
+
|
| 945 |
+
random_st.weibull(0.5)
|
| 946 |
+
random_st.weibull(0.5, size=None)
|
| 947 |
+
random_st.weibull(0.5, size=1)
|
| 948 |
+
random_st.weibull(D_arr_0p5)
|
| 949 |
+
random_st.weibull(D_arr_0p5, size=1)
|
| 950 |
+
random_st.weibull(D_arr_like_0p5)
|
| 951 |
+
random_st.weibull(D_arr_like_0p5, size=1)
|
| 952 |
+
|
| 953 |
+
random_st.standard_t(0.5)
|
| 954 |
+
random_st.standard_t(0.5, size=None)
|
| 955 |
+
random_st.standard_t(0.5, size=1)
|
| 956 |
+
random_st.standard_t(D_arr_0p5)
|
| 957 |
+
random_st.standard_t(D_arr_0p5, size=1)
|
| 958 |
+
random_st.standard_t(D_arr_like_0p5)
|
| 959 |
+
random_st.standard_t(D_arr_like_0p5, size=1)
|
| 960 |
+
|
| 961 |
+
random_st.poisson(0.5)
|
| 962 |
+
random_st.poisson(0.5, size=None)
|
| 963 |
+
random_st.poisson(0.5, size=1)
|
| 964 |
+
random_st.poisson(D_arr_0p5)
|
| 965 |
+
random_st.poisson(D_arr_0p5, size=1)
|
| 966 |
+
random_st.poisson(D_arr_like_0p5)
|
| 967 |
+
random_st.poisson(D_arr_like_0p5, size=1)
|
| 968 |
+
|
| 969 |
+
random_st.power(0.5)
|
| 970 |
+
random_st.power(0.5, size=None)
|
| 971 |
+
random_st.power(0.5, size=1)
|
| 972 |
+
random_st.power(D_arr_0p5)
|
| 973 |
+
random_st.power(D_arr_0p5, size=1)
|
| 974 |
+
random_st.power(D_arr_like_0p5)
|
| 975 |
+
random_st.power(D_arr_like_0p5, size=1)
|
| 976 |
+
|
| 977 |
+
random_st.pareto(0.5)
|
| 978 |
+
random_st.pareto(0.5, size=None)
|
| 979 |
+
random_st.pareto(0.5, size=1)
|
| 980 |
+
random_st.pareto(D_arr_0p5)
|
| 981 |
+
random_st.pareto(D_arr_0p5, size=1)
|
| 982 |
+
random_st.pareto(D_arr_like_0p5)
|
| 983 |
+
random_st.pareto(D_arr_like_0p5, size=1)
|
| 984 |
+
|
| 985 |
+
random_st.chisquare(0.5)
|
| 986 |
+
random_st.chisquare(0.5, size=None)
|
| 987 |
+
random_st.chisquare(0.5, size=1)
|
| 988 |
+
random_st.chisquare(D_arr_0p5)
|
| 989 |
+
random_st.chisquare(D_arr_0p5, size=1)
|
| 990 |
+
random_st.chisquare(D_arr_like_0p5)
|
| 991 |
+
random_st.chisquare(D_arr_like_0p5, size=1)
|
| 992 |
+
|
| 993 |
+
random_st.exponential(0.5)
|
| 994 |
+
random_st.exponential(0.5, size=None)
|
| 995 |
+
random_st.exponential(0.5, size=1)
|
| 996 |
+
random_st.exponential(D_arr_0p5)
|
| 997 |
+
random_st.exponential(D_arr_0p5, size=1)
|
| 998 |
+
random_st.exponential(D_arr_like_0p5)
|
| 999 |
+
random_st.exponential(D_arr_like_0p5, size=1)
|
| 1000 |
+
|
| 1001 |
+
random_st.geometric(0.5)
|
| 1002 |
+
random_st.geometric(0.5, size=None)
|
| 1003 |
+
random_st.geometric(0.5, size=1)
|
| 1004 |
+
random_st.geometric(D_arr_0p5)
|
| 1005 |
+
random_st.geometric(D_arr_0p5, size=1)
|
| 1006 |
+
random_st.geometric(D_arr_like_0p5)
|
| 1007 |
+
random_st.geometric(D_arr_like_0p5, size=1)
|
| 1008 |
+
|
| 1009 |
+
random_st.logseries(0.5)
|
| 1010 |
+
random_st.logseries(0.5, size=None)
|
| 1011 |
+
random_st.logseries(0.5, size=1)
|
| 1012 |
+
random_st.logseries(D_arr_0p5)
|
| 1013 |
+
random_st.logseries(D_arr_0p5, size=1)
|
| 1014 |
+
random_st.logseries(D_arr_like_0p5)
|
| 1015 |
+
random_st.logseries(D_arr_like_0p5, size=1)
|
| 1016 |
+
|
| 1017 |
+
random_st.rayleigh(0.5)
|
| 1018 |
+
random_st.rayleigh(0.5, size=None)
|
| 1019 |
+
random_st.rayleigh(0.5, size=1)
|
| 1020 |
+
random_st.rayleigh(D_arr_0p5)
|
| 1021 |
+
random_st.rayleigh(D_arr_0p5, size=1)
|
| 1022 |
+
random_st.rayleigh(D_arr_like_0p5)
|
| 1023 |
+
random_st.rayleigh(D_arr_like_0p5, size=1)
|
| 1024 |
+
|
| 1025 |
+
random_st.standard_gamma(0.5)
|
| 1026 |
+
random_st.standard_gamma(0.5, size=None)
|
| 1027 |
+
random_st.standard_gamma(0.5, size=1)
|
| 1028 |
+
random_st.standard_gamma(D_arr_0p5)
|
| 1029 |
+
random_st.standard_gamma(D_arr_0p5, size=1)
|
| 1030 |
+
random_st.standard_gamma(D_arr_like_0p5)
|
| 1031 |
+
random_st.standard_gamma(D_arr_like_0p5, size=1)
|
| 1032 |
+
random_st.standard_gamma(D_arr_like_0p5, size=1)
|
| 1033 |
+
|
| 1034 |
+
random_st.vonmises(0.5, 0.5)
|
| 1035 |
+
random_st.vonmises(0.5, 0.5, size=None)
|
| 1036 |
+
random_st.vonmises(0.5, 0.5, size=1)
|
| 1037 |
+
random_st.vonmises(D_arr_0p5, 0.5)
|
| 1038 |
+
random_st.vonmises(0.5, D_arr_0p5)
|
| 1039 |
+
random_st.vonmises(D_arr_0p5, 0.5, size=1)
|
| 1040 |
+
random_st.vonmises(0.5, D_arr_0p5, size=1)
|
| 1041 |
+
random_st.vonmises(D_arr_like_0p5, 0.5)
|
| 1042 |
+
random_st.vonmises(0.5, D_arr_like_0p5)
|
| 1043 |
+
random_st.vonmises(D_arr_0p5, D_arr_0p5)
|
| 1044 |
+
random_st.vonmises(D_arr_like_0p5, D_arr_like_0p5)
|
| 1045 |
+
random_st.vonmises(D_arr_0p5, D_arr_0p5, size=1)
|
| 1046 |
+
random_st.vonmises(D_arr_like_0p5, D_arr_like_0p5, size=1)
|
| 1047 |
+
|
| 1048 |
+
random_st.wald(0.5, 0.5)
|
| 1049 |
+
random_st.wald(0.5, 0.5, size=None)
|
| 1050 |
+
random_st.wald(0.5, 0.5, size=1)
|
| 1051 |
+
random_st.wald(D_arr_0p5, 0.5)
|
| 1052 |
+
random_st.wald(0.5, D_arr_0p5)
|
| 1053 |
+
random_st.wald(D_arr_0p5, 0.5, size=1)
|
| 1054 |
+
random_st.wald(0.5, D_arr_0p5, size=1)
|
| 1055 |
+
random_st.wald(D_arr_like_0p5, 0.5)
|
| 1056 |
+
random_st.wald(0.5, D_arr_like_0p5)
|
| 1057 |
+
random_st.wald(D_arr_0p5, D_arr_0p5)
|
| 1058 |
+
random_st.wald(D_arr_like_0p5, D_arr_like_0p5)
|
| 1059 |
+
random_st.wald(D_arr_0p5, D_arr_0p5, size=1)
|
| 1060 |
+
random_st.wald(D_arr_like_0p5, D_arr_like_0p5, size=1)
|
| 1061 |
+
|
| 1062 |
+
random_st.uniform(0.5, 0.5)
|
| 1063 |
+
random_st.uniform(0.5, 0.5, size=None)
|
| 1064 |
+
random_st.uniform(0.5, 0.5, size=1)
|
| 1065 |
+
random_st.uniform(D_arr_0p5, 0.5)
|
| 1066 |
+
random_st.uniform(0.5, D_arr_0p5)
|
| 1067 |
+
random_st.uniform(D_arr_0p5, 0.5, size=1)
|
| 1068 |
+
random_st.uniform(0.5, D_arr_0p5, size=1)
|
| 1069 |
+
random_st.uniform(D_arr_like_0p5, 0.5)
|
| 1070 |
+
random_st.uniform(0.5, D_arr_like_0p5)
|
| 1071 |
+
random_st.uniform(D_arr_0p5, D_arr_0p5)
|
| 1072 |
+
random_st.uniform(D_arr_like_0p5, D_arr_like_0p5)
|
| 1073 |
+
random_st.uniform(D_arr_0p5, D_arr_0p5, size=1)
|
| 1074 |
+
random_st.uniform(D_arr_like_0p5, D_arr_like_0p5, size=1)
|
| 1075 |
+
|
| 1076 |
+
random_st.beta(0.5, 0.5)
|
| 1077 |
+
random_st.beta(0.5, 0.5, size=None)
|
| 1078 |
+
random_st.beta(0.5, 0.5, size=1)
|
| 1079 |
+
random_st.beta(D_arr_0p5, 0.5)
|
| 1080 |
+
random_st.beta(0.5, D_arr_0p5)
|
| 1081 |
+
random_st.beta(D_arr_0p5, 0.5, size=1)
|
| 1082 |
+
random_st.beta(0.5, D_arr_0p5, size=1)
|
| 1083 |
+
random_st.beta(D_arr_like_0p5, 0.5)
|
| 1084 |
+
random_st.beta(0.5, D_arr_like_0p5)
|
| 1085 |
+
random_st.beta(D_arr_0p5, D_arr_0p5)
|
| 1086 |
+
random_st.beta(D_arr_like_0p5, D_arr_like_0p5)
|
| 1087 |
+
random_st.beta(D_arr_0p5, D_arr_0p5, size=1)
|
| 1088 |
+
random_st.beta(D_arr_like_0p5, D_arr_like_0p5, size=1)
|
| 1089 |
+
|
| 1090 |
+
random_st.f(0.5, 0.5)
|
| 1091 |
+
random_st.f(0.5, 0.5, size=None)
|
| 1092 |
+
random_st.f(0.5, 0.5, size=1)
|
| 1093 |
+
random_st.f(D_arr_0p5, 0.5)
|
| 1094 |
+
random_st.f(0.5, D_arr_0p5)
|
| 1095 |
+
random_st.f(D_arr_0p5, 0.5, size=1)
|
| 1096 |
+
random_st.f(0.5, D_arr_0p5, size=1)
|
| 1097 |
+
random_st.f(D_arr_like_0p5, 0.5)
|
| 1098 |
+
random_st.f(0.5, D_arr_like_0p5)
|
| 1099 |
+
random_st.f(D_arr_0p5, D_arr_0p5)
|
| 1100 |
+
random_st.f(D_arr_like_0p5, D_arr_like_0p5)
|
| 1101 |
+
random_st.f(D_arr_0p5, D_arr_0p5, size=1)
|
| 1102 |
+
random_st.f(D_arr_like_0p5, D_arr_like_0p5, size=1)
|
| 1103 |
+
|
| 1104 |
+
random_st.gamma(0.5, 0.5)
|
| 1105 |
+
random_st.gamma(0.5, 0.5, size=None)
|
| 1106 |
+
random_st.gamma(0.5, 0.5, size=1)
|
| 1107 |
+
random_st.gamma(D_arr_0p5, 0.5)
|
| 1108 |
+
random_st.gamma(0.5, D_arr_0p5)
|
| 1109 |
+
random_st.gamma(D_arr_0p5, 0.5, size=1)
|
| 1110 |
+
random_st.gamma(0.5, D_arr_0p5, size=1)
|
| 1111 |
+
random_st.gamma(D_arr_like_0p5, 0.5)
|
| 1112 |
+
random_st.gamma(0.5, D_arr_like_0p5)
|
| 1113 |
+
random_st.gamma(D_arr_0p5, D_arr_0p5)
|
| 1114 |
+
random_st.gamma(D_arr_like_0p5, D_arr_like_0p5)
|
| 1115 |
+
random_st.gamma(D_arr_0p5, D_arr_0p5, size=1)
|
| 1116 |
+
random_st.gamma(D_arr_like_0p5, D_arr_like_0p5, size=1)
|
| 1117 |
+
|
| 1118 |
+
random_st.gumbel(0.5, 0.5)
|
| 1119 |
+
random_st.gumbel(0.5, 0.5, size=None)
|
| 1120 |
+
random_st.gumbel(0.5, 0.5, size=1)
|
| 1121 |
+
random_st.gumbel(D_arr_0p5, 0.5)
|
| 1122 |
+
random_st.gumbel(0.5, D_arr_0p5)
|
| 1123 |
+
random_st.gumbel(D_arr_0p5, 0.5, size=1)
|
| 1124 |
+
random_st.gumbel(0.5, D_arr_0p5, size=1)
|
| 1125 |
+
random_st.gumbel(D_arr_like_0p5, 0.5)
|
| 1126 |
+
random_st.gumbel(0.5, D_arr_like_0p5)
|
| 1127 |
+
random_st.gumbel(D_arr_0p5, D_arr_0p5)
|
| 1128 |
+
random_st.gumbel(D_arr_like_0p5, D_arr_like_0p5)
|
| 1129 |
+
random_st.gumbel(D_arr_0p5, D_arr_0p5, size=1)
|
| 1130 |
+
random_st.gumbel(D_arr_like_0p5, D_arr_like_0p5, size=1)
|
| 1131 |
+
|
| 1132 |
+
random_st.laplace(0.5, 0.5)
|
| 1133 |
+
random_st.laplace(0.5, 0.5, size=None)
|
| 1134 |
+
random_st.laplace(0.5, 0.5, size=1)
|
| 1135 |
+
random_st.laplace(D_arr_0p5, 0.5)
|
| 1136 |
+
random_st.laplace(0.5, D_arr_0p5)
|
| 1137 |
+
random_st.laplace(D_arr_0p5, 0.5, size=1)
|
| 1138 |
+
random_st.laplace(0.5, D_arr_0p5, size=1)
|
| 1139 |
+
random_st.laplace(D_arr_like_0p5, 0.5)
|
| 1140 |
+
random_st.laplace(0.5, D_arr_like_0p5)
|
| 1141 |
+
random_st.laplace(D_arr_0p5, D_arr_0p5)
|
| 1142 |
+
random_st.laplace(D_arr_like_0p5, D_arr_like_0p5)
|
| 1143 |
+
random_st.laplace(D_arr_0p5, D_arr_0p5, size=1)
|
| 1144 |
+
random_st.laplace(D_arr_like_0p5, D_arr_like_0p5, size=1)
|
| 1145 |
+
|
| 1146 |
+
random_st.logistic(0.5, 0.5)
|
| 1147 |
+
random_st.logistic(0.5, 0.5, size=None)
|
| 1148 |
+
random_st.logistic(0.5, 0.5, size=1)
|
| 1149 |
+
random_st.logistic(D_arr_0p5, 0.5)
|
| 1150 |
+
random_st.logistic(0.5, D_arr_0p5)
|
| 1151 |
+
random_st.logistic(D_arr_0p5, 0.5, size=1)
|
| 1152 |
+
random_st.logistic(0.5, D_arr_0p5, size=1)
|
| 1153 |
+
random_st.logistic(D_arr_like_0p5, 0.5)
|
| 1154 |
+
random_st.logistic(0.5, D_arr_like_0p5)
|
| 1155 |
+
random_st.logistic(D_arr_0p5, D_arr_0p5)
|
| 1156 |
+
random_st.logistic(D_arr_like_0p5, D_arr_like_0p5)
|
| 1157 |
+
random_st.logistic(D_arr_0p5, D_arr_0p5, size=1)
|
| 1158 |
+
random_st.logistic(D_arr_like_0p5, D_arr_like_0p5, size=1)
|
| 1159 |
+
|
| 1160 |
+
random_st.lognormal(0.5, 0.5)
|
| 1161 |
+
random_st.lognormal(0.5, 0.5, size=None)
|
| 1162 |
+
random_st.lognormal(0.5, 0.5, size=1)
|
| 1163 |
+
random_st.lognormal(D_arr_0p5, 0.5)
|
| 1164 |
+
random_st.lognormal(0.5, D_arr_0p5)
|
| 1165 |
+
random_st.lognormal(D_arr_0p5, 0.5, size=1)
|
| 1166 |
+
random_st.lognormal(0.5, D_arr_0p5, size=1)
|
| 1167 |
+
random_st.lognormal(D_arr_like_0p5, 0.5)
|
| 1168 |
+
random_st.lognormal(0.5, D_arr_like_0p5)
|
| 1169 |
+
random_st.lognormal(D_arr_0p5, D_arr_0p5)
|
| 1170 |
+
random_st.lognormal(D_arr_like_0p5, D_arr_like_0p5)
|
| 1171 |
+
random_st.lognormal(D_arr_0p5, D_arr_0p5, size=1)
|
| 1172 |
+
random_st.lognormal(D_arr_like_0p5, D_arr_like_0p5, size=1)
|
| 1173 |
+
|
| 1174 |
+
random_st.noncentral_chisquare(0.5, 0.5)
|
| 1175 |
+
random_st.noncentral_chisquare(0.5, 0.5, size=None)
|
| 1176 |
+
random_st.noncentral_chisquare(0.5, 0.5, size=1)
|
| 1177 |
+
random_st.noncentral_chisquare(D_arr_0p5, 0.5)
|
| 1178 |
+
random_st.noncentral_chisquare(0.5, D_arr_0p5)
|
| 1179 |
+
random_st.noncentral_chisquare(D_arr_0p5, 0.5, size=1)
|
| 1180 |
+
random_st.noncentral_chisquare(0.5, D_arr_0p5, size=1)
|
| 1181 |
+
random_st.noncentral_chisquare(D_arr_like_0p5, 0.5)
|
| 1182 |
+
random_st.noncentral_chisquare(0.5, D_arr_like_0p5)
|
| 1183 |
+
random_st.noncentral_chisquare(D_arr_0p5, D_arr_0p5)
|
| 1184 |
+
random_st.noncentral_chisquare(D_arr_like_0p5, D_arr_like_0p5)
|
| 1185 |
+
random_st.noncentral_chisquare(D_arr_0p5, D_arr_0p5, size=1)
|
| 1186 |
+
random_st.noncentral_chisquare(D_arr_like_0p5, D_arr_like_0p5, size=1)
|
| 1187 |
+
|
| 1188 |
+
random_st.normal(0.5, 0.5)
|
| 1189 |
+
random_st.normal(0.5, 0.5, size=None)
|
| 1190 |
+
random_st.normal(0.5, 0.5, size=1)
|
| 1191 |
+
random_st.normal(D_arr_0p5, 0.5)
|
| 1192 |
+
random_st.normal(0.5, D_arr_0p5)
|
| 1193 |
+
random_st.normal(D_arr_0p5, 0.5, size=1)
|
| 1194 |
+
random_st.normal(0.5, D_arr_0p5, size=1)
|
| 1195 |
+
random_st.normal(D_arr_like_0p5, 0.5)
|
| 1196 |
+
random_st.normal(0.5, D_arr_like_0p5)
|
| 1197 |
+
random_st.normal(D_arr_0p5, D_arr_0p5)
|
| 1198 |
+
random_st.normal(D_arr_like_0p5, D_arr_like_0p5)
|
| 1199 |
+
random_st.normal(D_arr_0p5, D_arr_0p5, size=1)
|
| 1200 |
+
random_st.normal(D_arr_like_0p5, D_arr_like_0p5, size=1)
|
| 1201 |
+
|
| 1202 |
+
random_st.triangular(0.1, 0.5, 0.9)
|
| 1203 |
+
random_st.triangular(0.1, 0.5, 0.9, size=None)
|
| 1204 |
+
random_st.triangular(0.1, 0.5, 0.9, size=1)
|
| 1205 |
+
random_st.triangular(D_arr_0p1, 0.5, 0.9)
|
| 1206 |
+
random_st.triangular(0.1, D_arr_0p5, 0.9)
|
| 1207 |
+
random_st.triangular(D_arr_0p1, 0.5, D_arr_like_0p9, size=1)
|
| 1208 |
+
random_st.triangular(0.1, D_arr_0p5, 0.9, size=1)
|
| 1209 |
+
random_st.triangular(D_arr_like_0p1, 0.5, D_arr_0p9)
|
| 1210 |
+
random_st.triangular(0.5, D_arr_like_0p5, 0.9)
|
| 1211 |
+
random_st.triangular(D_arr_0p1, D_arr_0p5, 0.9)
|
| 1212 |
+
random_st.triangular(D_arr_like_0p1, D_arr_like_0p5, 0.9)
|
| 1213 |
+
random_st.triangular(D_arr_0p1, D_arr_0p5, D_arr_0p9, size=1)
|
| 1214 |
+
random_st.triangular(D_arr_like_0p1, D_arr_like_0p5, D_arr_like_0p9, size=1)
|
| 1215 |
+
|
| 1216 |
+
random_st.noncentral_f(0.1, 0.5, 0.9)
|
| 1217 |
+
random_st.noncentral_f(0.1, 0.5, 0.9, size=None)
|
| 1218 |
+
random_st.noncentral_f(0.1, 0.5, 0.9, size=1)
|
| 1219 |
+
random_st.noncentral_f(D_arr_0p1, 0.5, 0.9)
|
| 1220 |
+
random_st.noncentral_f(0.1, D_arr_0p5, 0.9)
|
| 1221 |
+
random_st.noncentral_f(D_arr_0p1, 0.5, D_arr_like_0p9, size=1)
|
| 1222 |
+
random_st.noncentral_f(0.1, D_arr_0p5, 0.9, size=1)
|
| 1223 |
+
random_st.noncentral_f(D_arr_like_0p1, 0.5, D_arr_0p9)
|
| 1224 |
+
random_st.noncentral_f(0.5, D_arr_like_0p5, 0.9)
|
| 1225 |
+
random_st.noncentral_f(D_arr_0p1, D_arr_0p5, 0.9)
|
| 1226 |
+
random_st.noncentral_f(D_arr_like_0p1, D_arr_like_0p5, 0.9)
|
| 1227 |
+
random_st.noncentral_f(D_arr_0p1, D_arr_0p5, D_arr_0p9, size=1)
|
| 1228 |
+
random_st.noncentral_f(D_arr_like_0p1, D_arr_like_0p5, D_arr_like_0p9, size=1)
|
| 1229 |
+
|
| 1230 |
+
random_st.binomial(10, 0.5)
|
| 1231 |
+
random_st.binomial(10, 0.5, size=None)
|
| 1232 |
+
random_st.binomial(10, 0.5, size=1)
|
| 1233 |
+
random_st.binomial(I_arr_10, 0.5)
|
| 1234 |
+
random_st.binomial(10, D_arr_0p5)
|
| 1235 |
+
random_st.binomial(I_arr_10, 0.5, size=1)
|
| 1236 |
+
random_st.binomial(10, D_arr_0p5, size=1)
|
| 1237 |
+
random_st.binomial(I_arr_like_10, 0.5)
|
| 1238 |
+
random_st.binomial(10, D_arr_like_0p5)
|
| 1239 |
+
random_st.binomial(I_arr_10, D_arr_0p5)
|
| 1240 |
+
random_st.binomial(I_arr_like_10, D_arr_like_0p5)
|
| 1241 |
+
random_st.binomial(I_arr_10, D_arr_0p5, size=1)
|
| 1242 |
+
random_st.binomial(I_arr_like_10, D_arr_like_0p5, size=1)
|
| 1243 |
+
|
| 1244 |
+
random_st.negative_binomial(10, 0.5)
|
| 1245 |
+
random_st.negative_binomial(10, 0.5, size=None)
|
| 1246 |
+
random_st.negative_binomial(10, 0.5, size=1)
|
| 1247 |
+
random_st.negative_binomial(I_arr_10, 0.5)
|
| 1248 |
+
random_st.negative_binomial(10, D_arr_0p5)
|
| 1249 |
+
random_st.negative_binomial(I_arr_10, 0.5, size=1)
|
| 1250 |
+
random_st.negative_binomial(10, D_arr_0p5, size=1)
|
| 1251 |
+
random_st.negative_binomial(I_arr_like_10, 0.5)
|
| 1252 |
+
random_st.negative_binomial(10, D_arr_like_0p5)
|
| 1253 |
+
random_st.negative_binomial(I_arr_10, D_arr_0p5)
|
| 1254 |
+
random_st.negative_binomial(I_arr_like_10, D_arr_like_0p5)
|
| 1255 |
+
random_st.negative_binomial(I_arr_10, D_arr_0p5, size=1)
|
| 1256 |
+
random_st.negative_binomial(I_arr_like_10, D_arr_like_0p5, size=1)
|
| 1257 |
+
|
| 1258 |
+
random_st.hypergeometric(20, 20, 10)
|
| 1259 |
+
random_st.hypergeometric(20, 20, 10, size=None)
|
| 1260 |
+
random_st.hypergeometric(20, 20, 10, size=1)
|
| 1261 |
+
random_st.hypergeometric(I_arr_20, 20, 10)
|
| 1262 |
+
random_st.hypergeometric(20, I_arr_20, 10)
|
| 1263 |
+
random_st.hypergeometric(I_arr_20, 20, I_arr_like_10, size=1)
|
| 1264 |
+
random_st.hypergeometric(20, I_arr_20, 10, size=1)
|
| 1265 |
+
random_st.hypergeometric(I_arr_like_20, 20, I_arr_10)
|
| 1266 |
+
random_st.hypergeometric(20, I_arr_like_20, 10)
|
| 1267 |
+
random_st.hypergeometric(I_arr_20, I_arr_20, 10)
|
| 1268 |
+
random_st.hypergeometric(I_arr_like_20, I_arr_like_20, 10)
|
| 1269 |
+
random_st.hypergeometric(I_arr_20, I_arr_20, I_arr_10, size=1)
|
| 1270 |
+
random_st.hypergeometric(I_arr_like_20, I_arr_like_20, I_arr_like_10, size=1)
|
| 1271 |
+
|
| 1272 |
+
random_st.randint(0, 100)
|
| 1273 |
+
random_st.randint(100)
|
| 1274 |
+
random_st.randint([100])
|
| 1275 |
+
random_st.randint(0, [100])
|
| 1276 |
+
|
| 1277 |
+
random_st.randint(2, dtype=bool)
|
| 1278 |
+
random_st.randint(0, 2, dtype=bool)
|
| 1279 |
+
random_st.randint(I_bool_high_open, dtype=bool)
|
| 1280 |
+
random_st.randint(I_bool_low, I_bool_high_open, dtype=bool)
|
| 1281 |
+
random_st.randint(0, I_bool_high_open, dtype=bool)
|
| 1282 |
+
|
| 1283 |
+
random_st.randint(2, dtype=np.bool_)
|
| 1284 |
+
random_st.randint(0, 2, dtype=np.bool_)
|
| 1285 |
+
random_st.randint(I_bool_high_open, dtype=np.bool_)
|
| 1286 |
+
random_st.randint(I_bool_low, I_bool_high_open, dtype=np.bool_)
|
| 1287 |
+
random_st.randint(0, I_bool_high_open, dtype=np.bool_)
|
| 1288 |
+
|
| 1289 |
+
random_st.randint(256, dtype="u1")
|
| 1290 |
+
random_st.randint(0, 256, dtype="u1")
|
| 1291 |
+
random_st.randint(I_u1_high_open, dtype="u1")
|
| 1292 |
+
random_st.randint(I_u1_low, I_u1_high_open, dtype="u1")
|
| 1293 |
+
random_st.randint(0, I_u1_high_open, dtype="u1")
|
| 1294 |
+
|
| 1295 |
+
random_st.randint(256, dtype="uint8")
|
| 1296 |
+
random_st.randint(0, 256, dtype="uint8")
|
| 1297 |
+
random_st.randint(I_u1_high_open, dtype="uint8")
|
| 1298 |
+
random_st.randint(I_u1_low, I_u1_high_open, dtype="uint8")
|
| 1299 |
+
random_st.randint(0, I_u1_high_open, dtype="uint8")
|
| 1300 |
+
|
| 1301 |
+
random_st.randint(256, dtype=np.uint8)
|
| 1302 |
+
random_st.randint(0, 256, dtype=np.uint8)
|
| 1303 |
+
random_st.randint(I_u1_high_open, dtype=np.uint8)
|
| 1304 |
+
random_st.randint(I_u1_low, I_u1_high_open, dtype=np.uint8)
|
| 1305 |
+
random_st.randint(0, I_u1_high_open, dtype=np.uint8)
|
| 1306 |
+
|
| 1307 |
+
random_st.randint(65536, dtype="u2")
|
| 1308 |
+
random_st.randint(0, 65536, dtype="u2")
|
| 1309 |
+
random_st.randint(I_u2_high_open, dtype="u2")
|
| 1310 |
+
random_st.randint(I_u2_low, I_u2_high_open, dtype="u2")
|
| 1311 |
+
random_st.randint(0, I_u2_high_open, dtype="u2")
|
| 1312 |
+
|
| 1313 |
+
random_st.randint(65536, dtype="uint16")
|
| 1314 |
+
random_st.randint(0, 65536, dtype="uint16")
|
| 1315 |
+
random_st.randint(I_u2_high_open, dtype="uint16")
|
| 1316 |
+
random_st.randint(I_u2_low, I_u2_high_open, dtype="uint16")
|
| 1317 |
+
random_st.randint(0, I_u2_high_open, dtype="uint16")
|
| 1318 |
+
|
| 1319 |
+
random_st.randint(65536, dtype=np.uint16)
|
| 1320 |
+
random_st.randint(0, 65536, dtype=np.uint16)
|
| 1321 |
+
random_st.randint(I_u2_high_open, dtype=np.uint16)
|
| 1322 |
+
random_st.randint(I_u2_low, I_u2_high_open, dtype=np.uint16)
|
| 1323 |
+
random_st.randint(0, I_u2_high_open, dtype=np.uint16)
|
| 1324 |
+
|
| 1325 |
+
random_st.randint(4294967296, dtype="u4")
|
| 1326 |
+
random_st.randint(0, 4294967296, dtype="u4")
|
| 1327 |
+
random_st.randint(I_u4_high_open, dtype="u4")
|
| 1328 |
+
random_st.randint(I_u4_low, I_u4_high_open, dtype="u4")
|
| 1329 |
+
random_st.randint(0, I_u4_high_open, dtype="u4")
|
| 1330 |
+
|
| 1331 |
+
random_st.randint(4294967296, dtype="uint32")
|
| 1332 |
+
random_st.randint(0, 4294967296, dtype="uint32")
|
| 1333 |
+
random_st.randint(I_u4_high_open, dtype="uint32")
|
| 1334 |
+
random_st.randint(I_u4_low, I_u4_high_open, dtype="uint32")
|
| 1335 |
+
random_st.randint(0, I_u4_high_open, dtype="uint32")
|
| 1336 |
+
|
| 1337 |
+
random_st.randint(4294967296, dtype=np.uint32)
|
| 1338 |
+
random_st.randint(0, 4294967296, dtype=np.uint32)
|
| 1339 |
+
random_st.randint(I_u4_high_open, dtype=np.uint32)
|
| 1340 |
+
random_st.randint(I_u4_low, I_u4_high_open, dtype=np.uint32)
|
| 1341 |
+
random_st.randint(0, I_u4_high_open, dtype=np.uint32)
|
| 1342 |
+
|
| 1343 |
+
|
| 1344 |
+
random_st.randint(18446744073709551616, dtype="u8")
|
| 1345 |
+
random_st.randint(0, 18446744073709551616, dtype="u8")
|
| 1346 |
+
random_st.randint(I_u8_high_open, dtype="u8")
|
| 1347 |
+
random_st.randint(I_u8_low, I_u8_high_open, dtype="u8")
|
| 1348 |
+
random_st.randint(0, I_u8_high_open, dtype="u8")
|
| 1349 |
+
|
| 1350 |
+
random_st.randint(18446744073709551616, dtype="uint64")
|
| 1351 |
+
random_st.randint(0, 18446744073709551616, dtype="uint64")
|
| 1352 |
+
random_st.randint(I_u8_high_open, dtype="uint64")
|
| 1353 |
+
random_st.randint(I_u8_low, I_u8_high_open, dtype="uint64")
|
| 1354 |
+
random_st.randint(0, I_u8_high_open, dtype="uint64")
|
| 1355 |
+
|
| 1356 |
+
random_st.randint(18446744073709551616, dtype=np.uint64)
|
| 1357 |
+
random_st.randint(0, 18446744073709551616, dtype=np.uint64)
|
| 1358 |
+
random_st.randint(I_u8_high_open, dtype=np.uint64)
|
| 1359 |
+
random_st.randint(I_u8_low, I_u8_high_open, dtype=np.uint64)
|
| 1360 |
+
random_st.randint(0, I_u8_high_open, dtype=np.uint64)
|
| 1361 |
+
|
| 1362 |
+
random_st.randint(128, dtype="i1")
|
| 1363 |
+
random_st.randint(-128, 128, dtype="i1")
|
| 1364 |
+
random_st.randint(I_i1_high_open, dtype="i1")
|
| 1365 |
+
random_st.randint(I_i1_low, I_i1_high_open, dtype="i1")
|
| 1366 |
+
random_st.randint(-128, I_i1_high_open, dtype="i1")
|
| 1367 |
+
|
| 1368 |
+
random_st.randint(128, dtype="int8")
|
| 1369 |
+
random_st.randint(-128, 128, dtype="int8")
|
| 1370 |
+
random_st.randint(I_i1_high_open, dtype="int8")
|
| 1371 |
+
random_st.randint(I_i1_low, I_i1_high_open, dtype="int8")
|
| 1372 |
+
random_st.randint(-128, I_i1_high_open, dtype="int8")
|
| 1373 |
+
|
| 1374 |
+
random_st.randint(128, dtype=np.int8)
|
| 1375 |
+
random_st.randint(-128, 128, dtype=np.int8)
|
| 1376 |
+
random_st.randint(I_i1_high_open, dtype=np.int8)
|
| 1377 |
+
random_st.randint(I_i1_low, I_i1_high_open, dtype=np.int8)
|
| 1378 |
+
random_st.randint(-128, I_i1_high_open, dtype=np.int8)
|
| 1379 |
+
|
| 1380 |
+
random_st.randint(32768, dtype="i2")
|
| 1381 |
+
random_st.randint(-32768, 32768, dtype="i2")
|
| 1382 |
+
random_st.randint(I_i2_high_open, dtype="i2")
|
| 1383 |
+
random_st.randint(I_i2_low, I_i2_high_open, dtype="i2")
|
| 1384 |
+
random_st.randint(-32768, I_i2_high_open, dtype="i2")
|
| 1385 |
+
random_st.randint(32768, dtype="int16")
|
| 1386 |
+
random_st.randint(-32768, 32768, dtype="int16")
|
| 1387 |
+
random_st.randint(I_i2_high_open, dtype="int16")
|
| 1388 |
+
random_st.randint(I_i2_low, I_i2_high_open, dtype="int16")
|
| 1389 |
+
random_st.randint(-32768, I_i2_high_open, dtype="int16")
|
| 1390 |
+
random_st.randint(32768, dtype=np.int16)
|
| 1391 |
+
random_st.randint(-32768, 32768, dtype=np.int16)
|
| 1392 |
+
random_st.randint(I_i2_high_open, dtype=np.int16)
|
| 1393 |
+
random_st.randint(I_i2_low, I_i2_high_open, dtype=np.int16)
|
| 1394 |
+
random_st.randint(-32768, I_i2_high_open, dtype=np.int16)
|
| 1395 |
+
|
| 1396 |
+
random_st.randint(2147483648, dtype="i4")
|
| 1397 |
+
random_st.randint(-2147483648, 2147483648, dtype="i4")
|
| 1398 |
+
random_st.randint(I_i4_high_open, dtype="i4")
|
| 1399 |
+
random_st.randint(I_i4_low, I_i4_high_open, dtype="i4")
|
| 1400 |
+
random_st.randint(-2147483648, I_i4_high_open, dtype="i4")
|
| 1401 |
+
|
| 1402 |
+
random_st.randint(2147483648, dtype="int32")
|
| 1403 |
+
random_st.randint(-2147483648, 2147483648, dtype="int32")
|
| 1404 |
+
random_st.randint(I_i4_high_open, dtype="int32")
|
| 1405 |
+
random_st.randint(I_i4_low, I_i4_high_open, dtype="int32")
|
| 1406 |
+
random_st.randint(-2147483648, I_i4_high_open, dtype="int32")
|
| 1407 |
+
|
| 1408 |
+
random_st.randint(2147483648, dtype=np.int32)
|
| 1409 |
+
random_st.randint(-2147483648, 2147483648, dtype=np.int32)
|
| 1410 |
+
random_st.randint(I_i4_high_open, dtype=np.int32)
|
| 1411 |
+
random_st.randint(I_i4_low, I_i4_high_open, dtype=np.int32)
|
| 1412 |
+
random_st.randint(-2147483648, I_i4_high_open, dtype=np.int32)
|
| 1413 |
+
|
| 1414 |
+
random_st.randint(9223372036854775808, dtype="i8")
|
| 1415 |
+
random_st.randint(-9223372036854775808, 9223372036854775808, dtype="i8")
|
| 1416 |
+
random_st.randint(I_i8_high_open, dtype="i8")
|
| 1417 |
+
random_st.randint(I_i8_low, I_i8_high_open, dtype="i8")
|
| 1418 |
+
random_st.randint(-9223372036854775808, I_i8_high_open, dtype="i8")
|
| 1419 |
+
|
| 1420 |
+
random_st.randint(9223372036854775808, dtype="int64")
|
| 1421 |
+
random_st.randint(-9223372036854775808, 9223372036854775808, dtype="int64")
|
| 1422 |
+
random_st.randint(I_i8_high_open, dtype="int64")
|
| 1423 |
+
random_st.randint(I_i8_low, I_i8_high_open, dtype="int64")
|
| 1424 |
+
random_st.randint(-9223372036854775808, I_i8_high_open, dtype="int64")
|
| 1425 |
+
|
| 1426 |
+
random_st.randint(9223372036854775808, dtype=np.int64)
|
| 1427 |
+
random_st.randint(-9223372036854775808, 9223372036854775808, dtype=np.int64)
|
| 1428 |
+
random_st.randint(I_i8_high_open, dtype=np.int64)
|
| 1429 |
+
random_st.randint(I_i8_low, I_i8_high_open, dtype=np.int64)
|
| 1430 |
+
random_st.randint(-9223372036854775808, I_i8_high_open, dtype=np.int64)
|
| 1431 |
+
|
| 1432 |
+
bg: np.random.BitGenerator = random_st._bit_generator
|
| 1433 |
+
|
| 1434 |
+
random_st.bytes(2)
|
| 1435 |
+
|
| 1436 |
+
random_st.choice(5)
|
| 1437 |
+
random_st.choice(5, 3)
|
| 1438 |
+
random_st.choice(5, 3, replace=True)
|
| 1439 |
+
random_st.choice(5, 3, p=[1 / 5] * 5)
|
| 1440 |
+
random_st.choice(5, 3, p=[1 / 5] * 5, replace=False)
|
| 1441 |
+
|
| 1442 |
+
random_st.choice(["pooh", "rabbit", "piglet", "Christopher"])
|
| 1443 |
+
random_st.choice(["pooh", "rabbit", "piglet", "Christopher"], 3)
|
| 1444 |
+
random_st.choice(["pooh", "rabbit", "piglet", "Christopher"], 3, p=[1 / 4] * 4)
|
| 1445 |
+
random_st.choice(["pooh", "rabbit", "piglet", "Christopher"], 3, replace=True)
|
| 1446 |
+
random_st.choice(["pooh", "rabbit", "piglet", "Christopher"], 3, replace=False, p=np.array([1 / 8, 1 / 8, 1 / 2, 1 / 4]))
|
| 1447 |
+
|
| 1448 |
+
random_st.dirichlet([0.5, 0.5])
|
| 1449 |
+
random_st.dirichlet(np.array([0.5, 0.5]))
|
| 1450 |
+
random_st.dirichlet(np.array([0.5, 0.5]), size=3)
|
| 1451 |
+
|
| 1452 |
+
random_st.multinomial(20, [1 / 6.0] * 6)
|
| 1453 |
+
random_st.multinomial(20, np.array([0.5, 0.5]))
|
| 1454 |
+
random_st.multinomial(20, [1 / 6.0] * 6, size=2)
|
| 1455 |
+
|
| 1456 |
+
random_st.multivariate_normal([0.0], [[1.0]])
|
| 1457 |
+
random_st.multivariate_normal([0.0], np.array([[1.0]]))
|
| 1458 |
+
random_st.multivariate_normal(np.array([0.0]), [[1.0]])
|
| 1459 |
+
random_st.multivariate_normal([0.0], np.array([[1.0]]))
|
| 1460 |
+
|
| 1461 |
+
random_st.permutation(10)
|
| 1462 |
+
random_st.permutation([1, 2, 3, 4])
|
| 1463 |
+
random_st.permutation(np.array([1, 2, 3, 4]))
|
| 1464 |
+
random_st.permutation(D_2D)
|
| 1465 |
+
|
| 1466 |
+
random_st.shuffle(np.arange(10))
|
| 1467 |
+
random_st.shuffle([1, 2, 3, 4, 5])
|
| 1468 |
+
random_st.shuffle(D_2D)
|
| 1469 |
+
|
| 1470 |
+
np.random.RandomState(SEED_PCG64)
|
| 1471 |
+
np.random.RandomState(0)
|
| 1472 |
+
np.random.RandomState([0, 1, 2])
|
| 1473 |
+
random_st.__str__()
|
| 1474 |
+
random_st.__repr__()
|
| 1475 |
+
random_st_state = random_st.__getstate__()
|
| 1476 |
+
random_st.__setstate__(random_st_state)
|
| 1477 |
+
random_st.seed()
|
| 1478 |
+
random_st.seed(1)
|
| 1479 |
+
random_st.seed([0, 1])
|
| 1480 |
+
random_st_get_state = random_st.get_state()
|
| 1481 |
+
random_st_get_state_legacy = random_st.get_state(legacy=True)
|
| 1482 |
+
random_st.set_state(random_st_get_state)
|
| 1483 |
+
|
| 1484 |
+
random_st.rand()
|
| 1485 |
+
random_st.rand(1)
|
| 1486 |
+
random_st.rand(1, 2)
|
| 1487 |
+
random_st.randn()
|
| 1488 |
+
random_st.randn(1)
|
| 1489 |
+
random_st.randn(1, 2)
|
| 1490 |
+
random_st.random_sample()
|
| 1491 |
+
random_st.random_sample(1)
|
| 1492 |
+
random_st.random_sample(size=(1, 2))
|
| 1493 |
+
|
| 1494 |
+
random_st.tomaxint()
|
| 1495 |
+
random_st.tomaxint(1)
|
| 1496 |
+
random_st.tomaxint((1,))
|
| 1497 |
+
|
| 1498 |
+
np.random.set_bit_generator(SEED_PCG64)
|
| 1499 |
+
np.random.get_bit_generator()
|
common/runtime/robodojo_support/numpy/typing/tests/data/pass/scalars.py
ADDED
|
@@ -0,0 +1,248 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import sys
|
| 2 |
+
import datetime as dt
|
| 3 |
+
|
| 4 |
+
import pytest
|
| 5 |
+
import numpy as np
|
| 6 |
+
|
| 7 |
+
b = np.bool_()
|
| 8 |
+
u8 = np.uint64()
|
| 9 |
+
i8 = np.int64()
|
| 10 |
+
f8 = np.float64()
|
| 11 |
+
c16 = np.complex128()
|
| 12 |
+
U = np.str_()
|
| 13 |
+
S = np.bytes_()
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
# Construction
|
| 17 |
+
class D:
|
| 18 |
+
def __index__(self) -> int:
|
| 19 |
+
return 0
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
class C:
|
| 23 |
+
def __complex__(self) -> complex:
|
| 24 |
+
return 3j
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
class B:
|
| 28 |
+
def __int__(self) -> int:
|
| 29 |
+
return 4
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
class A:
|
| 33 |
+
def __float__(self) -> float:
|
| 34 |
+
return 4.0
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
np.complex64(3j)
|
| 38 |
+
np.complex64(A())
|
| 39 |
+
np.complex64(C())
|
| 40 |
+
np.complex128(3j)
|
| 41 |
+
np.complex128(C())
|
| 42 |
+
np.complex128(None)
|
| 43 |
+
np.complex64("1.2")
|
| 44 |
+
np.complex128(b"2j")
|
| 45 |
+
|
| 46 |
+
np.int8(4)
|
| 47 |
+
np.int16(3.4)
|
| 48 |
+
np.int32(4)
|
| 49 |
+
np.int64(-1)
|
| 50 |
+
np.uint8(B())
|
| 51 |
+
np.uint32()
|
| 52 |
+
np.int32("1")
|
| 53 |
+
np.int64(b"2")
|
| 54 |
+
|
| 55 |
+
np.float16(A())
|
| 56 |
+
np.float32(16)
|
| 57 |
+
np.float64(3.0)
|
| 58 |
+
np.float64(None)
|
| 59 |
+
np.float32("1")
|
| 60 |
+
np.float16(b"2.5")
|
| 61 |
+
|
| 62 |
+
np.uint64(D())
|
| 63 |
+
np.float32(D())
|
| 64 |
+
np.complex64(D())
|
| 65 |
+
|
| 66 |
+
np.bytes_(b"hello")
|
| 67 |
+
np.bytes_("hello", 'utf-8')
|
| 68 |
+
np.bytes_("hello", encoding='utf-8')
|
| 69 |
+
np.str_("hello")
|
| 70 |
+
np.str_(b"hello", 'utf-8')
|
| 71 |
+
np.str_(b"hello", encoding='utf-8')
|
| 72 |
+
|
| 73 |
+
# Array-ish semantics
|
| 74 |
+
np.int8().real
|
| 75 |
+
np.int16().imag
|
| 76 |
+
np.int32().data
|
| 77 |
+
np.int64().flags
|
| 78 |
+
|
| 79 |
+
np.uint8().itemsize * 2
|
| 80 |
+
np.uint16().ndim + 1
|
| 81 |
+
np.uint32().strides
|
| 82 |
+
np.uint64().shape
|
| 83 |
+
|
| 84 |
+
# Time structures
|
| 85 |
+
np.datetime64()
|
| 86 |
+
np.datetime64(0, "D")
|
| 87 |
+
np.datetime64(0, b"D")
|
| 88 |
+
np.datetime64(0, ('ms', 3))
|
| 89 |
+
np.datetime64("2019")
|
| 90 |
+
np.datetime64(b"2019")
|
| 91 |
+
np.datetime64("2019", "D")
|
| 92 |
+
np.datetime64(np.datetime64())
|
| 93 |
+
np.datetime64(dt.datetime(2000, 5, 3))
|
| 94 |
+
np.datetime64(dt.date(2000, 5, 3))
|
| 95 |
+
np.datetime64(None)
|
| 96 |
+
np.datetime64(None, "D")
|
| 97 |
+
|
| 98 |
+
np.timedelta64()
|
| 99 |
+
np.timedelta64(0)
|
| 100 |
+
np.timedelta64(0, "D")
|
| 101 |
+
np.timedelta64(0, ('ms', 3))
|
| 102 |
+
np.timedelta64(0, b"D")
|
| 103 |
+
np.timedelta64("3")
|
| 104 |
+
np.timedelta64(b"5")
|
| 105 |
+
np.timedelta64(np.timedelta64(2))
|
| 106 |
+
np.timedelta64(dt.timedelta(2))
|
| 107 |
+
np.timedelta64(None)
|
| 108 |
+
np.timedelta64(None, "D")
|
| 109 |
+
|
| 110 |
+
np.void(1)
|
| 111 |
+
np.void(np.int64(1))
|
| 112 |
+
np.void(True)
|
| 113 |
+
np.void(np.bool_(True))
|
| 114 |
+
np.void(b"test")
|
| 115 |
+
np.void(np.bytes_("test"))
|
| 116 |
+
np.void(object(), [("a", "O"), ("b", "O")])
|
| 117 |
+
np.void(object(), dtype=[("a", "O"), ("b", "O")])
|
| 118 |
+
|
| 119 |
+
# Protocols
|
| 120 |
+
i8 = np.int64()
|
| 121 |
+
u8 = np.uint64()
|
| 122 |
+
f8 = np.float64()
|
| 123 |
+
c16 = np.complex128()
|
| 124 |
+
b_ = np.bool_()
|
| 125 |
+
td = np.timedelta64()
|
| 126 |
+
U = np.str_("1")
|
| 127 |
+
S = np.bytes_("1")
|
| 128 |
+
AR = np.array(1, dtype=np.float64)
|
| 129 |
+
|
| 130 |
+
int(i8)
|
| 131 |
+
int(u8)
|
| 132 |
+
int(f8)
|
| 133 |
+
int(b_)
|
| 134 |
+
int(td)
|
| 135 |
+
int(U)
|
| 136 |
+
int(S)
|
| 137 |
+
int(AR)
|
| 138 |
+
with pytest.warns(np.ComplexWarning):
|
| 139 |
+
int(c16)
|
| 140 |
+
|
| 141 |
+
float(i8)
|
| 142 |
+
float(u8)
|
| 143 |
+
float(f8)
|
| 144 |
+
float(b_)
|
| 145 |
+
float(td)
|
| 146 |
+
float(U)
|
| 147 |
+
float(S)
|
| 148 |
+
float(AR)
|
| 149 |
+
with pytest.warns(np.ComplexWarning):
|
| 150 |
+
float(c16)
|
| 151 |
+
|
| 152 |
+
complex(i8)
|
| 153 |
+
complex(u8)
|
| 154 |
+
complex(f8)
|
| 155 |
+
complex(c16)
|
| 156 |
+
complex(b_)
|
| 157 |
+
complex(td)
|
| 158 |
+
complex(U)
|
| 159 |
+
complex(AR)
|
| 160 |
+
|
| 161 |
+
|
| 162 |
+
# Misc
|
| 163 |
+
c16.dtype
|
| 164 |
+
c16.real
|
| 165 |
+
c16.imag
|
| 166 |
+
c16.real.real
|
| 167 |
+
c16.real.imag
|
| 168 |
+
c16.ndim
|
| 169 |
+
c16.size
|
| 170 |
+
c16.itemsize
|
| 171 |
+
c16.shape
|
| 172 |
+
c16.strides
|
| 173 |
+
c16.squeeze()
|
| 174 |
+
c16.byteswap()
|
| 175 |
+
c16.transpose()
|
| 176 |
+
|
| 177 |
+
# Aliases
|
| 178 |
+
np.string_()
|
| 179 |
+
|
| 180 |
+
np.byte()
|
| 181 |
+
np.short()
|
| 182 |
+
np.intc()
|
| 183 |
+
np.intp()
|
| 184 |
+
np.int_()
|
| 185 |
+
np.longlong()
|
| 186 |
+
|
| 187 |
+
np.ubyte()
|
| 188 |
+
np.ushort()
|
| 189 |
+
np.uintc()
|
| 190 |
+
np.uintp()
|
| 191 |
+
np.uint()
|
| 192 |
+
np.ulonglong()
|
| 193 |
+
|
| 194 |
+
np.half()
|
| 195 |
+
np.single()
|
| 196 |
+
np.double()
|
| 197 |
+
np.float_()
|
| 198 |
+
np.longdouble()
|
| 199 |
+
np.longfloat()
|
| 200 |
+
|
| 201 |
+
np.csingle()
|
| 202 |
+
np.singlecomplex()
|
| 203 |
+
np.cdouble()
|
| 204 |
+
np.complex_()
|
| 205 |
+
np.cfloat()
|
| 206 |
+
np.clongdouble()
|
| 207 |
+
np.clongfloat()
|
| 208 |
+
np.longcomplex()
|
| 209 |
+
|
| 210 |
+
b.item()
|
| 211 |
+
i8.item()
|
| 212 |
+
u8.item()
|
| 213 |
+
f8.item()
|
| 214 |
+
c16.item()
|
| 215 |
+
U.item()
|
| 216 |
+
S.item()
|
| 217 |
+
|
| 218 |
+
b.tolist()
|
| 219 |
+
i8.tolist()
|
| 220 |
+
u8.tolist()
|
| 221 |
+
f8.tolist()
|
| 222 |
+
c16.tolist()
|
| 223 |
+
U.tolist()
|
| 224 |
+
S.tolist()
|
| 225 |
+
|
| 226 |
+
b.ravel()
|
| 227 |
+
i8.ravel()
|
| 228 |
+
u8.ravel()
|
| 229 |
+
f8.ravel()
|
| 230 |
+
c16.ravel()
|
| 231 |
+
U.ravel()
|
| 232 |
+
S.ravel()
|
| 233 |
+
|
| 234 |
+
b.flatten()
|
| 235 |
+
i8.flatten()
|
| 236 |
+
u8.flatten()
|
| 237 |
+
f8.flatten()
|
| 238 |
+
c16.flatten()
|
| 239 |
+
U.flatten()
|
| 240 |
+
S.flatten()
|
| 241 |
+
|
| 242 |
+
b.reshape(1)
|
| 243 |
+
i8.reshape(1)
|
| 244 |
+
u8.reshape(1)
|
| 245 |
+
f8.reshape(1)
|
| 246 |
+
c16.reshape(1)
|
| 247 |
+
U.reshape(1)
|
| 248 |
+
S.reshape(1)
|
common/runtime/robodojo_support/numpy/typing/tests/data/pass/simple.py
ADDED
|
@@ -0,0 +1,165 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Simple expression that should pass with mypy."""
|
| 2 |
+
import operator
|
| 3 |
+
|
| 4 |
+
import numpy as np
|
| 5 |
+
from collections.abc import Iterable
|
| 6 |
+
|
| 7 |
+
# Basic checks
|
| 8 |
+
array = np.array([1, 2])
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
def ndarray_func(x):
|
| 12 |
+
# type: (np.ndarray) -> np.ndarray
|
| 13 |
+
return x
|
| 14 |
+
|
| 15 |
+
|
| 16 |
+
ndarray_func(np.array([1, 2]))
|
| 17 |
+
array == 1
|
| 18 |
+
array.dtype == float
|
| 19 |
+
|
| 20 |
+
# Dtype construction
|
| 21 |
+
np.dtype(float)
|
| 22 |
+
np.dtype(np.float64)
|
| 23 |
+
np.dtype(None)
|
| 24 |
+
np.dtype("float64")
|
| 25 |
+
np.dtype(np.dtype(float))
|
| 26 |
+
np.dtype(("U", 10))
|
| 27 |
+
np.dtype((np.int32, (2, 2)))
|
| 28 |
+
# Define the arguments on the previous line to prevent bidirectional
|
| 29 |
+
# type inference in mypy from broadening the types.
|
| 30 |
+
two_tuples_dtype = [("R", "u1"), ("G", "u1"), ("B", "u1")]
|
| 31 |
+
np.dtype(two_tuples_dtype)
|
| 32 |
+
|
| 33 |
+
three_tuples_dtype = [("R", "u1", 2)]
|
| 34 |
+
np.dtype(three_tuples_dtype)
|
| 35 |
+
|
| 36 |
+
mixed_tuples_dtype = [("R", "u1"), ("G", np.str_, 1)]
|
| 37 |
+
np.dtype(mixed_tuples_dtype)
|
| 38 |
+
|
| 39 |
+
shape_tuple_dtype = [("R", "u1", (2, 2))]
|
| 40 |
+
np.dtype(shape_tuple_dtype)
|
| 41 |
+
|
| 42 |
+
shape_like_dtype = [("R", "u1", (2, 2)), ("G", np.str_, 1)]
|
| 43 |
+
np.dtype(shape_like_dtype)
|
| 44 |
+
|
| 45 |
+
object_dtype = [("field1", object)]
|
| 46 |
+
np.dtype(object_dtype)
|
| 47 |
+
|
| 48 |
+
np.dtype((np.int32, (np.int8, 4)))
|
| 49 |
+
|
| 50 |
+
# Dtype comparison
|
| 51 |
+
np.dtype(float) == float
|
| 52 |
+
np.dtype(float) != np.float64
|
| 53 |
+
np.dtype(float) < None
|
| 54 |
+
np.dtype(float) <= "float64"
|
| 55 |
+
np.dtype(float) > np.dtype(float)
|
| 56 |
+
np.dtype(float) >= np.dtype(("U", 10))
|
| 57 |
+
|
| 58 |
+
# Iteration and indexing
|
| 59 |
+
def iterable_func(x):
|
| 60 |
+
# type: (Iterable) -> Iterable
|
| 61 |
+
return x
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
iterable_func(array)
|
| 65 |
+
[element for element in array]
|
| 66 |
+
iter(array)
|
| 67 |
+
zip(array, array)
|
| 68 |
+
array[1]
|
| 69 |
+
array[:]
|
| 70 |
+
array[...]
|
| 71 |
+
array[:] = 0
|
| 72 |
+
|
| 73 |
+
array_2d = np.ones((3, 3))
|
| 74 |
+
array_2d[:2, :2]
|
| 75 |
+
array_2d[..., 0]
|
| 76 |
+
array_2d[:2, :2] = 0
|
| 77 |
+
|
| 78 |
+
# Other special methods
|
| 79 |
+
len(array)
|
| 80 |
+
str(array)
|
| 81 |
+
array_scalar = np.array(1)
|
| 82 |
+
int(array_scalar)
|
| 83 |
+
float(array_scalar)
|
| 84 |
+
# currently does not work due to https://github.com/python/typeshed/issues/1904
|
| 85 |
+
# complex(array_scalar)
|
| 86 |
+
bytes(array_scalar)
|
| 87 |
+
operator.index(array_scalar)
|
| 88 |
+
bool(array_scalar)
|
| 89 |
+
|
| 90 |
+
# comparisons
|
| 91 |
+
array < 1
|
| 92 |
+
array <= 1
|
| 93 |
+
array == 1
|
| 94 |
+
array != 1
|
| 95 |
+
array > 1
|
| 96 |
+
array >= 1
|
| 97 |
+
1 < array
|
| 98 |
+
1 <= array
|
| 99 |
+
1 == array
|
| 100 |
+
1 != array
|
| 101 |
+
1 > array
|
| 102 |
+
1 >= array
|
| 103 |
+
|
| 104 |
+
# binary arithmetic
|
| 105 |
+
array + 1
|
| 106 |
+
1 + array
|
| 107 |
+
array += 1
|
| 108 |
+
|
| 109 |
+
array - 1
|
| 110 |
+
1 - array
|
| 111 |
+
array -= 1
|
| 112 |
+
|
| 113 |
+
array * 1
|
| 114 |
+
1 * array
|
| 115 |
+
array *= 1
|
| 116 |
+
|
| 117 |
+
nonzero_array = np.array([1, 2])
|
| 118 |
+
array / 1
|
| 119 |
+
1 / nonzero_array
|
| 120 |
+
float_array = np.array([1.0, 2.0])
|
| 121 |
+
float_array /= 1
|
| 122 |
+
|
| 123 |
+
array // 1
|
| 124 |
+
1 // nonzero_array
|
| 125 |
+
array //= 1
|
| 126 |
+
|
| 127 |
+
array % 1
|
| 128 |
+
1 % nonzero_array
|
| 129 |
+
array %= 1
|
| 130 |
+
|
| 131 |
+
divmod(array, 1)
|
| 132 |
+
divmod(1, nonzero_array)
|
| 133 |
+
|
| 134 |
+
array ** 1
|
| 135 |
+
1 ** array
|
| 136 |
+
array **= 1
|
| 137 |
+
|
| 138 |
+
array << 1
|
| 139 |
+
1 << array
|
| 140 |
+
array <<= 1
|
| 141 |
+
|
| 142 |
+
array >> 1
|
| 143 |
+
1 >> array
|
| 144 |
+
array >>= 1
|
| 145 |
+
|
| 146 |
+
array & 1
|
| 147 |
+
1 & array
|
| 148 |
+
array &= 1
|
| 149 |
+
|
| 150 |
+
array ^ 1
|
| 151 |
+
1 ^ array
|
| 152 |
+
array ^= 1
|
| 153 |
+
|
| 154 |
+
array | 1
|
| 155 |
+
1 | array
|
| 156 |
+
array |= 1
|
| 157 |
+
|
| 158 |
+
# unary arithmetic
|
| 159 |
+
-array
|
| 160 |
+
+array
|
| 161 |
+
abs(array)
|
| 162 |
+
~array
|
| 163 |
+
|
| 164 |
+
# Other methods
|
| 165 |
+
np.array([1, 2]).transpose()
|
common/runtime/robodojo_support/numpy/typing/tests/data/pass/simple_py3.py
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import numpy as np
|
| 2 |
+
|
| 3 |
+
array = np.array([1, 2])
|
| 4 |
+
|
| 5 |
+
# The @ operator is not in python 2
|
| 6 |
+
array @ array
|
common/runtime/robodojo_support/numpy/typing/tests/data/pass/ufunc_config.py
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Typing tests for `numpy.core._ufunc_config`."""
|
| 2 |
+
|
| 3 |
+
import numpy as np
|
| 4 |
+
|
| 5 |
+
|
| 6 |
+
def func1(a: str, b: int) -> None:
|
| 7 |
+
return None
|
| 8 |
+
|
| 9 |
+
|
| 10 |
+
def func2(a: str, b: int, c: float = 1.0) -> None:
|
| 11 |
+
return None
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
def func3(a: str, b: int) -> int:
|
| 15 |
+
return 0
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
class Write1:
|
| 19 |
+
def write(self, a: str) -> None:
|
| 20 |
+
return None
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
class Write2:
|
| 24 |
+
def write(self, a: str, b: int = 1) -> None:
|
| 25 |
+
return None
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
class Write3:
|
| 29 |
+
def write(self, a: str) -> int:
|
| 30 |
+
return 0
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
_err_default = np.geterr()
|
| 34 |
+
_bufsize_default = np.getbufsize()
|
| 35 |
+
_errcall_default = np.geterrcall()
|
| 36 |
+
|
| 37 |
+
try:
|
| 38 |
+
np.seterr(all=None)
|
| 39 |
+
np.seterr(divide="ignore")
|
| 40 |
+
np.seterr(over="warn")
|
| 41 |
+
np.seterr(under="call")
|
| 42 |
+
np.seterr(invalid="raise")
|
| 43 |
+
np.geterr()
|
| 44 |
+
|
| 45 |
+
np.setbufsize(4096)
|
| 46 |
+
np.getbufsize()
|
| 47 |
+
|
| 48 |
+
np.seterrcall(func1)
|
| 49 |
+
np.seterrcall(func2)
|
| 50 |
+
np.seterrcall(func3)
|
| 51 |
+
np.seterrcall(Write1())
|
| 52 |
+
np.seterrcall(Write2())
|
| 53 |
+
np.seterrcall(Write3())
|
| 54 |
+
np.geterrcall()
|
| 55 |
+
|
| 56 |
+
with np.errstate(call=func1, all="call"):
|
| 57 |
+
pass
|
| 58 |
+
with np.errstate(call=Write1(), divide="log", over="log"):
|
| 59 |
+
pass
|
| 60 |
+
|
| 61 |
+
finally:
|
| 62 |
+
np.seterr(**_err_default)
|
| 63 |
+
np.setbufsize(_bufsize_default)
|
| 64 |
+
np.seterrcall(_errcall_default)
|
common/runtime/robodojo_support/numpy/typing/tests/data/pass/ufunclike.py
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from __future__ import annotations
|
| 2 |
+
from typing import Any
|
| 3 |
+
import numpy as np
|
| 4 |
+
|
| 5 |
+
|
| 6 |
+
class Object:
|
| 7 |
+
def __ceil__(self) -> Object:
|
| 8 |
+
return self
|
| 9 |
+
|
| 10 |
+
def __floor__(self) -> Object:
|
| 11 |
+
return self
|
| 12 |
+
|
| 13 |
+
def __ge__(self, value: object) -> bool:
|
| 14 |
+
return True
|
| 15 |
+
|
| 16 |
+
def __array__(self) -> np.ndarray[Any, np.dtype[np.object_]]:
|
| 17 |
+
ret = np.empty((), dtype=object)
|
| 18 |
+
ret[()] = self
|
| 19 |
+
return ret
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
AR_LIKE_b = [True, True, False]
|
| 23 |
+
AR_LIKE_u = [np.uint32(1), np.uint32(2), np.uint32(3)]
|
| 24 |
+
AR_LIKE_i = [1, 2, 3]
|
| 25 |
+
AR_LIKE_f = [1.0, 2.0, 3.0]
|
| 26 |
+
AR_LIKE_O = [Object(), Object(), Object()]
|
| 27 |
+
AR_U: np.ndarray[Any, np.dtype[np.str_]] = np.zeros(3, dtype="U5")
|
| 28 |
+
|
| 29 |
+
np.fix(AR_LIKE_b)
|
| 30 |
+
np.fix(AR_LIKE_u)
|
| 31 |
+
np.fix(AR_LIKE_i)
|
| 32 |
+
np.fix(AR_LIKE_f)
|
| 33 |
+
np.fix(AR_LIKE_O)
|
| 34 |
+
np.fix(AR_LIKE_f, out=AR_U)
|
| 35 |
+
|
| 36 |
+
np.isposinf(AR_LIKE_b)
|
| 37 |
+
np.isposinf(AR_LIKE_u)
|
| 38 |
+
np.isposinf(AR_LIKE_i)
|
| 39 |
+
np.isposinf(AR_LIKE_f)
|
| 40 |
+
np.isposinf(AR_LIKE_f, out=AR_U)
|
| 41 |
+
|
| 42 |
+
np.isneginf(AR_LIKE_b)
|
| 43 |
+
np.isneginf(AR_LIKE_u)
|
| 44 |
+
np.isneginf(AR_LIKE_i)
|
| 45 |
+
np.isneginf(AR_LIKE_f)
|
| 46 |
+
np.isneginf(AR_LIKE_f, out=AR_U)
|
common/runtime/robodojo_support/numpy/typing/tests/data/pass/ufuncs.py
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import numpy as np
|
| 2 |
+
|
| 3 |
+
np.sin(1)
|
| 4 |
+
np.sin([1, 2, 3])
|
| 5 |
+
np.sin(1, out=np.empty(1))
|
| 6 |
+
np.matmul(np.ones((2, 2, 2)), np.ones((2, 2, 2)), axes=[(0, 1), (0, 1), (0, 1)])
|
| 7 |
+
np.sin(1, signature="D->D")
|
| 8 |
+
np.sin(1, extobj=[16, 1, lambda: None])
|
| 9 |
+
# NOTE: `np.generic` subclasses are not guaranteed to support addition;
|
| 10 |
+
# re-enable this we can infer the exact return type of `np.sin(...)`.
|
| 11 |
+
#
|
| 12 |
+
# np.sin(1) + np.sin(1)
|
| 13 |
+
np.sin.types[0]
|
| 14 |
+
np.sin.__name__
|
| 15 |
+
np.sin.__doc__
|
| 16 |
+
|
| 17 |
+
np.abs(np.array([1]))
|
common/runtime/robodojo_support/numpy/typing/tests/data/pass/warnings_and_errors.py
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import numpy as np
|
| 2 |
+
|
| 3 |
+
np.AxisError("test")
|
| 4 |
+
np.AxisError(1, ndim=2)
|
| 5 |
+
np.AxisError(1, ndim=2, msg_prefix="error")
|
| 6 |
+
np.AxisError(1, ndim=2, msg_prefix=None)
|
common/runtime/robodojo_support/numpy/typing/tests/data/reveal/arithmetic.pyi
ADDED
|
@@ -0,0 +1,516 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import sys
|
| 2 |
+
from typing import Any
|
| 3 |
+
|
| 4 |
+
import numpy as np
|
| 5 |
+
import numpy.typing as npt
|
| 6 |
+
from numpy._typing import _32Bit,_64Bit, _128Bit
|
| 7 |
+
|
| 8 |
+
if sys.version_info >= (3, 11):
|
| 9 |
+
from typing import assert_type
|
| 10 |
+
else:
|
| 11 |
+
from typing_extensions import assert_type
|
| 12 |
+
|
| 13 |
+
# Can't directly import `np.float128` as it is not available on all platforms
|
| 14 |
+
f16: np.floating[_128Bit]
|
| 15 |
+
|
| 16 |
+
c16 = np.complex128()
|
| 17 |
+
f8 = np.float64()
|
| 18 |
+
i8 = np.int64()
|
| 19 |
+
u8 = np.uint64()
|
| 20 |
+
|
| 21 |
+
c8 = np.complex64()
|
| 22 |
+
f4 = np.float32()
|
| 23 |
+
i4 = np.int32()
|
| 24 |
+
u4 = np.uint32()
|
| 25 |
+
|
| 26 |
+
dt = np.datetime64(0, "D")
|
| 27 |
+
td = np.timedelta64(0, "D")
|
| 28 |
+
|
| 29 |
+
b_ = np.bool_()
|
| 30 |
+
|
| 31 |
+
b = bool()
|
| 32 |
+
c = complex()
|
| 33 |
+
f = float()
|
| 34 |
+
i = int()
|
| 35 |
+
|
| 36 |
+
AR_b: npt.NDArray[np.bool_]
|
| 37 |
+
AR_u: npt.NDArray[np.uint32]
|
| 38 |
+
AR_i: npt.NDArray[np.int64]
|
| 39 |
+
AR_f: npt.NDArray[np.float64]
|
| 40 |
+
AR_c: npt.NDArray[np.complex128]
|
| 41 |
+
AR_m: npt.NDArray[np.timedelta64]
|
| 42 |
+
AR_M: npt.NDArray[np.datetime64]
|
| 43 |
+
AR_O: npt.NDArray[np.object_]
|
| 44 |
+
AR_number: npt.NDArray[np.number[Any]]
|
| 45 |
+
|
| 46 |
+
AR_LIKE_b: list[bool]
|
| 47 |
+
AR_LIKE_u: list[np.uint32]
|
| 48 |
+
AR_LIKE_i: list[int]
|
| 49 |
+
AR_LIKE_f: list[float]
|
| 50 |
+
AR_LIKE_c: list[complex]
|
| 51 |
+
AR_LIKE_m: list[np.timedelta64]
|
| 52 |
+
AR_LIKE_M: list[np.datetime64]
|
| 53 |
+
AR_LIKE_O: list[np.object_]
|
| 54 |
+
|
| 55 |
+
# Array subtraction
|
| 56 |
+
|
| 57 |
+
assert_type(AR_number - AR_number, npt.NDArray[np.number[Any]])
|
| 58 |
+
|
| 59 |
+
assert_type(AR_b - AR_LIKE_u, npt.NDArray[np.unsignedinteger[Any]])
|
| 60 |
+
assert_type(AR_b - AR_LIKE_i, npt.NDArray[np.signedinteger[Any]])
|
| 61 |
+
assert_type(AR_b - AR_LIKE_f, npt.NDArray[np.floating[Any]])
|
| 62 |
+
assert_type(AR_b - AR_LIKE_c, npt.NDArray[np.complexfloating[Any, Any]])
|
| 63 |
+
assert_type(AR_b - AR_LIKE_m, npt.NDArray[np.timedelta64])
|
| 64 |
+
assert_type(AR_b - AR_LIKE_O, Any)
|
| 65 |
+
|
| 66 |
+
assert_type(AR_LIKE_u - AR_b, npt.NDArray[np.unsignedinteger[Any]])
|
| 67 |
+
assert_type(AR_LIKE_i - AR_b, npt.NDArray[np.signedinteger[Any]])
|
| 68 |
+
assert_type(AR_LIKE_f - AR_b, npt.NDArray[np.floating[Any]])
|
| 69 |
+
assert_type(AR_LIKE_c - AR_b, npt.NDArray[np.complexfloating[Any, Any]])
|
| 70 |
+
assert_type(AR_LIKE_m - AR_b, npt.NDArray[np.timedelta64])
|
| 71 |
+
assert_type(AR_LIKE_M - AR_b, npt.NDArray[np.datetime64])
|
| 72 |
+
assert_type(AR_LIKE_O - AR_b, Any)
|
| 73 |
+
|
| 74 |
+
assert_type(AR_u - AR_LIKE_b, npt.NDArray[np.unsignedinteger[Any]])
|
| 75 |
+
assert_type(AR_u - AR_LIKE_u, npt.NDArray[np.unsignedinteger[Any]])
|
| 76 |
+
assert_type(AR_u - AR_LIKE_i, npt.NDArray[np.signedinteger[Any]])
|
| 77 |
+
assert_type(AR_u - AR_LIKE_f, npt.NDArray[np.floating[Any]])
|
| 78 |
+
assert_type(AR_u - AR_LIKE_c, npt.NDArray[np.complexfloating[Any, Any]])
|
| 79 |
+
assert_type(AR_u - AR_LIKE_m, npt.NDArray[np.timedelta64])
|
| 80 |
+
assert_type(AR_u - AR_LIKE_O, Any)
|
| 81 |
+
|
| 82 |
+
assert_type(AR_LIKE_b - AR_u, npt.NDArray[np.unsignedinteger[Any]])
|
| 83 |
+
assert_type(AR_LIKE_u - AR_u, npt.NDArray[np.unsignedinteger[Any]])
|
| 84 |
+
assert_type(AR_LIKE_i - AR_u, npt.NDArray[np.signedinteger[Any]])
|
| 85 |
+
assert_type(AR_LIKE_f - AR_u, npt.NDArray[np.floating[Any]])
|
| 86 |
+
assert_type(AR_LIKE_c - AR_u, npt.NDArray[np.complexfloating[Any, Any]])
|
| 87 |
+
assert_type(AR_LIKE_m - AR_u, npt.NDArray[np.timedelta64])
|
| 88 |
+
assert_type(AR_LIKE_M - AR_u, npt.NDArray[np.datetime64])
|
| 89 |
+
assert_type(AR_LIKE_O - AR_u, Any)
|
| 90 |
+
|
| 91 |
+
assert_type(AR_i - AR_LIKE_b, npt.NDArray[np.signedinteger[Any]])
|
| 92 |
+
assert_type(AR_i - AR_LIKE_u, npt.NDArray[np.signedinteger[Any]])
|
| 93 |
+
assert_type(AR_i - AR_LIKE_i, npt.NDArray[np.signedinteger[Any]])
|
| 94 |
+
assert_type(AR_i - AR_LIKE_f, npt.NDArray[np.floating[Any]])
|
| 95 |
+
assert_type(AR_i - AR_LIKE_c, npt.NDArray[np.complexfloating[Any, Any]])
|
| 96 |
+
assert_type(AR_i - AR_LIKE_m, npt.NDArray[np.timedelta64])
|
| 97 |
+
assert_type(AR_i - AR_LIKE_O, Any)
|
| 98 |
+
|
| 99 |
+
assert_type(AR_LIKE_b - AR_i, npt.NDArray[np.signedinteger[Any]])
|
| 100 |
+
assert_type(AR_LIKE_u - AR_i, npt.NDArray[np.signedinteger[Any]])
|
| 101 |
+
assert_type(AR_LIKE_i - AR_i, npt.NDArray[np.signedinteger[Any]])
|
| 102 |
+
assert_type(AR_LIKE_f - AR_i, npt.NDArray[np.floating[Any]])
|
| 103 |
+
assert_type(AR_LIKE_c - AR_i, npt.NDArray[np.complexfloating[Any, Any]])
|
| 104 |
+
assert_type(AR_LIKE_m - AR_i, npt.NDArray[np.timedelta64])
|
| 105 |
+
assert_type(AR_LIKE_M - AR_i, npt.NDArray[np.datetime64])
|
| 106 |
+
assert_type(AR_LIKE_O - AR_i, Any)
|
| 107 |
+
|
| 108 |
+
assert_type(AR_f - AR_LIKE_b, npt.NDArray[np.floating[Any]])
|
| 109 |
+
assert_type(AR_f - AR_LIKE_u, npt.NDArray[np.floating[Any]])
|
| 110 |
+
assert_type(AR_f - AR_LIKE_i, npt.NDArray[np.floating[Any]])
|
| 111 |
+
assert_type(AR_f - AR_LIKE_f, npt.NDArray[np.floating[Any]])
|
| 112 |
+
assert_type(AR_f - AR_LIKE_c, npt.NDArray[np.complexfloating[Any, Any]])
|
| 113 |
+
assert_type(AR_f - AR_LIKE_O, Any)
|
| 114 |
+
|
| 115 |
+
assert_type(AR_LIKE_b - AR_f, npt.NDArray[np.floating[Any]])
|
| 116 |
+
assert_type(AR_LIKE_u - AR_f, npt.NDArray[np.floating[Any]])
|
| 117 |
+
assert_type(AR_LIKE_i - AR_f, npt.NDArray[np.floating[Any]])
|
| 118 |
+
assert_type(AR_LIKE_f - AR_f, npt.NDArray[np.floating[Any]])
|
| 119 |
+
assert_type(AR_LIKE_c - AR_f, npt.NDArray[np.complexfloating[Any, Any]])
|
| 120 |
+
assert_type(AR_LIKE_O - AR_f, Any)
|
| 121 |
+
|
| 122 |
+
assert_type(AR_c - AR_LIKE_b, npt.NDArray[np.complexfloating[Any, Any]])
|
| 123 |
+
assert_type(AR_c - AR_LIKE_u, npt.NDArray[np.complexfloating[Any, Any]])
|
| 124 |
+
assert_type(AR_c - AR_LIKE_i, npt.NDArray[np.complexfloating[Any, Any]])
|
| 125 |
+
assert_type(AR_c - AR_LIKE_f, npt.NDArray[np.complexfloating[Any, Any]])
|
| 126 |
+
assert_type(AR_c - AR_LIKE_c, npt.NDArray[np.complexfloating[Any, Any]])
|
| 127 |
+
assert_type(AR_c - AR_LIKE_O, Any)
|
| 128 |
+
|
| 129 |
+
assert_type(AR_LIKE_b - AR_c, npt.NDArray[np.complexfloating[Any, Any]])
|
| 130 |
+
assert_type(AR_LIKE_u - AR_c, npt.NDArray[np.complexfloating[Any, Any]])
|
| 131 |
+
assert_type(AR_LIKE_i - AR_c, npt.NDArray[np.complexfloating[Any, Any]])
|
| 132 |
+
assert_type(AR_LIKE_f - AR_c, npt.NDArray[np.complexfloating[Any, Any]])
|
| 133 |
+
assert_type(AR_LIKE_c - AR_c, npt.NDArray[np.complexfloating[Any, Any]])
|
| 134 |
+
assert_type(AR_LIKE_O - AR_c, Any)
|
| 135 |
+
|
| 136 |
+
assert_type(AR_m - AR_LIKE_b, npt.NDArray[np.timedelta64])
|
| 137 |
+
assert_type(AR_m - AR_LIKE_u, npt.NDArray[np.timedelta64])
|
| 138 |
+
assert_type(AR_m - AR_LIKE_i, npt.NDArray[np.timedelta64])
|
| 139 |
+
assert_type(AR_m - AR_LIKE_m, npt.NDArray[np.timedelta64])
|
| 140 |
+
assert_type(AR_m - AR_LIKE_O, Any)
|
| 141 |
+
|
| 142 |
+
assert_type(AR_LIKE_b - AR_m, npt.NDArray[np.timedelta64])
|
| 143 |
+
assert_type(AR_LIKE_u - AR_m, npt.NDArray[np.timedelta64])
|
| 144 |
+
assert_type(AR_LIKE_i - AR_m, npt.NDArray[np.timedelta64])
|
| 145 |
+
assert_type(AR_LIKE_m - AR_m, npt.NDArray[np.timedelta64])
|
| 146 |
+
assert_type(AR_LIKE_M - AR_m, npt.NDArray[np.datetime64])
|
| 147 |
+
assert_type(AR_LIKE_O - AR_m, Any)
|
| 148 |
+
|
| 149 |
+
assert_type(AR_M - AR_LIKE_b, npt.NDArray[np.datetime64])
|
| 150 |
+
assert_type(AR_M - AR_LIKE_u, npt.NDArray[np.datetime64])
|
| 151 |
+
assert_type(AR_M - AR_LIKE_i, npt.NDArray[np.datetime64])
|
| 152 |
+
assert_type(AR_M - AR_LIKE_m, npt.NDArray[np.datetime64])
|
| 153 |
+
assert_type(AR_M - AR_LIKE_M, npt.NDArray[np.timedelta64])
|
| 154 |
+
assert_type(AR_M - AR_LIKE_O, Any)
|
| 155 |
+
|
| 156 |
+
assert_type(AR_LIKE_M - AR_M, npt.NDArray[np.timedelta64])
|
| 157 |
+
assert_type(AR_LIKE_O - AR_M, Any)
|
| 158 |
+
|
| 159 |
+
assert_type(AR_O - AR_LIKE_b, Any)
|
| 160 |
+
assert_type(AR_O - AR_LIKE_u, Any)
|
| 161 |
+
assert_type(AR_O - AR_LIKE_i, Any)
|
| 162 |
+
assert_type(AR_O - AR_LIKE_f, Any)
|
| 163 |
+
assert_type(AR_O - AR_LIKE_c, Any)
|
| 164 |
+
assert_type(AR_O - AR_LIKE_m, Any)
|
| 165 |
+
assert_type(AR_O - AR_LIKE_M, Any)
|
| 166 |
+
assert_type(AR_O - AR_LIKE_O, Any)
|
| 167 |
+
|
| 168 |
+
assert_type(AR_LIKE_b - AR_O, Any)
|
| 169 |
+
assert_type(AR_LIKE_u - AR_O, Any)
|
| 170 |
+
assert_type(AR_LIKE_i - AR_O, Any)
|
| 171 |
+
assert_type(AR_LIKE_f - AR_O, Any)
|
| 172 |
+
assert_type(AR_LIKE_c - AR_O, Any)
|
| 173 |
+
assert_type(AR_LIKE_m - AR_O, Any)
|
| 174 |
+
assert_type(AR_LIKE_M - AR_O, Any)
|
| 175 |
+
assert_type(AR_LIKE_O - AR_O, Any)
|
| 176 |
+
|
| 177 |
+
# Array floor division
|
| 178 |
+
|
| 179 |
+
assert_type(AR_b // AR_LIKE_b, npt.NDArray[np.int8])
|
| 180 |
+
assert_type(AR_b // AR_LIKE_u, npt.NDArray[np.unsignedinteger[Any]])
|
| 181 |
+
assert_type(AR_b // AR_LIKE_i, npt.NDArray[np.signedinteger[Any]])
|
| 182 |
+
assert_type(AR_b // AR_LIKE_f, npt.NDArray[np.floating[Any]])
|
| 183 |
+
assert_type(AR_b // AR_LIKE_O, Any)
|
| 184 |
+
|
| 185 |
+
assert_type(AR_LIKE_b // AR_b, npt.NDArray[np.int8])
|
| 186 |
+
assert_type(AR_LIKE_u // AR_b, npt.NDArray[np.unsignedinteger[Any]])
|
| 187 |
+
assert_type(AR_LIKE_i // AR_b, npt.NDArray[np.signedinteger[Any]])
|
| 188 |
+
assert_type(AR_LIKE_f // AR_b, npt.NDArray[np.floating[Any]])
|
| 189 |
+
assert_type(AR_LIKE_O // AR_b, Any)
|
| 190 |
+
|
| 191 |
+
assert_type(AR_u // AR_LIKE_b, npt.NDArray[np.unsignedinteger[Any]])
|
| 192 |
+
assert_type(AR_u // AR_LIKE_u, npt.NDArray[np.unsignedinteger[Any]])
|
| 193 |
+
assert_type(AR_u // AR_LIKE_i, npt.NDArray[np.signedinteger[Any]])
|
| 194 |
+
assert_type(AR_u // AR_LIKE_f, npt.NDArray[np.floating[Any]])
|
| 195 |
+
assert_type(AR_u // AR_LIKE_O, Any)
|
| 196 |
+
|
| 197 |
+
assert_type(AR_LIKE_b // AR_u, npt.NDArray[np.unsignedinteger[Any]])
|
| 198 |
+
assert_type(AR_LIKE_u // AR_u, npt.NDArray[np.unsignedinteger[Any]])
|
| 199 |
+
assert_type(AR_LIKE_i // AR_u, npt.NDArray[np.signedinteger[Any]])
|
| 200 |
+
assert_type(AR_LIKE_f // AR_u, npt.NDArray[np.floating[Any]])
|
| 201 |
+
assert_type(AR_LIKE_m // AR_u, npt.NDArray[np.timedelta64])
|
| 202 |
+
assert_type(AR_LIKE_O // AR_u, Any)
|
| 203 |
+
|
| 204 |
+
assert_type(AR_i // AR_LIKE_b, npt.NDArray[np.signedinteger[Any]])
|
| 205 |
+
assert_type(AR_i // AR_LIKE_u, npt.NDArray[np.signedinteger[Any]])
|
| 206 |
+
assert_type(AR_i // AR_LIKE_i, npt.NDArray[np.signedinteger[Any]])
|
| 207 |
+
assert_type(AR_i // AR_LIKE_f, npt.NDArray[np.floating[Any]])
|
| 208 |
+
assert_type(AR_i // AR_LIKE_O, Any)
|
| 209 |
+
|
| 210 |
+
assert_type(AR_LIKE_b // AR_i, npt.NDArray[np.signedinteger[Any]])
|
| 211 |
+
assert_type(AR_LIKE_u // AR_i, npt.NDArray[np.signedinteger[Any]])
|
| 212 |
+
assert_type(AR_LIKE_i // AR_i, npt.NDArray[np.signedinteger[Any]])
|
| 213 |
+
assert_type(AR_LIKE_f // AR_i, npt.NDArray[np.floating[Any]])
|
| 214 |
+
assert_type(AR_LIKE_m // AR_i, npt.NDArray[np.timedelta64])
|
| 215 |
+
assert_type(AR_LIKE_O // AR_i, Any)
|
| 216 |
+
|
| 217 |
+
assert_type(AR_f // AR_LIKE_b, npt.NDArray[np.floating[Any]])
|
| 218 |
+
assert_type(AR_f // AR_LIKE_u, npt.NDArray[np.floating[Any]])
|
| 219 |
+
assert_type(AR_f // AR_LIKE_i, npt.NDArray[np.floating[Any]])
|
| 220 |
+
assert_type(AR_f // AR_LIKE_f, npt.NDArray[np.floating[Any]])
|
| 221 |
+
assert_type(AR_f // AR_LIKE_O, Any)
|
| 222 |
+
|
| 223 |
+
assert_type(AR_LIKE_b // AR_f, npt.NDArray[np.floating[Any]])
|
| 224 |
+
assert_type(AR_LIKE_u // AR_f, npt.NDArray[np.floating[Any]])
|
| 225 |
+
assert_type(AR_LIKE_i // AR_f, npt.NDArray[np.floating[Any]])
|
| 226 |
+
assert_type(AR_LIKE_f // AR_f, npt.NDArray[np.floating[Any]])
|
| 227 |
+
assert_type(AR_LIKE_m // AR_f, npt.NDArray[np.timedelta64])
|
| 228 |
+
assert_type(AR_LIKE_O // AR_f, Any)
|
| 229 |
+
|
| 230 |
+
assert_type(AR_m // AR_LIKE_u, npt.NDArray[np.timedelta64])
|
| 231 |
+
assert_type(AR_m // AR_LIKE_i, npt.NDArray[np.timedelta64])
|
| 232 |
+
assert_type(AR_m // AR_LIKE_f, npt.NDArray[np.timedelta64])
|
| 233 |
+
assert_type(AR_m // AR_LIKE_m, npt.NDArray[np.int64])
|
| 234 |
+
assert_type(AR_m // AR_LIKE_O, Any)
|
| 235 |
+
|
| 236 |
+
assert_type(AR_LIKE_m // AR_m, npt.NDArray[np.int64])
|
| 237 |
+
assert_type(AR_LIKE_O // AR_m, Any)
|
| 238 |
+
|
| 239 |
+
assert_type(AR_O // AR_LIKE_b, Any)
|
| 240 |
+
assert_type(AR_O // AR_LIKE_u, Any)
|
| 241 |
+
assert_type(AR_O // AR_LIKE_i, Any)
|
| 242 |
+
assert_type(AR_O // AR_LIKE_f, Any)
|
| 243 |
+
assert_type(AR_O // AR_LIKE_m, Any)
|
| 244 |
+
assert_type(AR_O // AR_LIKE_M, Any)
|
| 245 |
+
assert_type(AR_O // AR_LIKE_O, Any)
|
| 246 |
+
|
| 247 |
+
assert_type(AR_LIKE_b // AR_O, Any)
|
| 248 |
+
assert_type(AR_LIKE_u // AR_O, Any)
|
| 249 |
+
assert_type(AR_LIKE_i // AR_O, Any)
|
| 250 |
+
assert_type(AR_LIKE_f // AR_O, Any)
|
| 251 |
+
assert_type(AR_LIKE_m // AR_O, Any)
|
| 252 |
+
assert_type(AR_LIKE_M // AR_O, Any)
|
| 253 |
+
assert_type(AR_LIKE_O // AR_O, Any)
|
| 254 |
+
|
| 255 |
+
# unary ops
|
| 256 |
+
|
| 257 |
+
assert_type(-f16, np.floating[_128Bit])
|
| 258 |
+
assert_type(-c16, np.complex128)
|
| 259 |
+
assert_type(-c8, np.complex64)
|
| 260 |
+
assert_type(-f8, np.float64)
|
| 261 |
+
assert_type(-f4, np.float32)
|
| 262 |
+
assert_type(-i8, np.int64)
|
| 263 |
+
assert_type(-i4, np.int32)
|
| 264 |
+
assert_type(-u8, np.uint64)
|
| 265 |
+
assert_type(-u4, np.uint32)
|
| 266 |
+
assert_type(-td, np.timedelta64)
|
| 267 |
+
assert_type(-AR_f, npt.NDArray[np.float64])
|
| 268 |
+
|
| 269 |
+
assert_type(+f16, np.floating[_128Bit])
|
| 270 |
+
assert_type(+c16, np.complex128)
|
| 271 |
+
assert_type(+c8, np.complex64)
|
| 272 |
+
assert_type(+f8, np.float64)
|
| 273 |
+
assert_type(+f4, np.float32)
|
| 274 |
+
assert_type(+i8, np.int64)
|
| 275 |
+
assert_type(+i4, np.int32)
|
| 276 |
+
assert_type(+u8, np.uint64)
|
| 277 |
+
assert_type(+u4, np.uint32)
|
| 278 |
+
assert_type(+td, np.timedelta64)
|
| 279 |
+
assert_type(+AR_f, npt.NDArray[np.float64])
|
| 280 |
+
|
| 281 |
+
assert_type(abs(f16), np.floating[_128Bit])
|
| 282 |
+
assert_type(abs(c16), np.float64)
|
| 283 |
+
assert_type(abs(c8), np.float32)
|
| 284 |
+
assert_type(abs(f8), np.float64)
|
| 285 |
+
assert_type(abs(f4), np.float32)
|
| 286 |
+
assert_type(abs(i8), np.int64)
|
| 287 |
+
assert_type(abs(i4), np.int32)
|
| 288 |
+
assert_type(abs(u8), np.uint64)
|
| 289 |
+
assert_type(abs(u4), np.uint32)
|
| 290 |
+
assert_type(abs(td), np.timedelta64)
|
| 291 |
+
assert_type(abs(b_), np.bool_)
|
| 292 |
+
|
| 293 |
+
# Time structures
|
| 294 |
+
|
| 295 |
+
assert_type(dt + td, np.datetime64)
|
| 296 |
+
assert_type(dt + i, np.datetime64)
|
| 297 |
+
assert_type(dt + i4, np.datetime64)
|
| 298 |
+
assert_type(dt + i8, np.datetime64)
|
| 299 |
+
assert_type(dt - dt, np.timedelta64)
|
| 300 |
+
assert_type(dt - i, np.datetime64)
|
| 301 |
+
assert_type(dt - i4, np.datetime64)
|
| 302 |
+
assert_type(dt - i8, np.datetime64)
|
| 303 |
+
|
| 304 |
+
assert_type(td + td, np.timedelta64)
|
| 305 |
+
assert_type(td + i, np.timedelta64)
|
| 306 |
+
assert_type(td + i4, np.timedelta64)
|
| 307 |
+
assert_type(td + i8, np.timedelta64)
|
| 308 |
+
assert_type(td - td, np.timedelta64)
|
| 309 |
+
assert_type(td - i, np.timedelta64)
|
| 310 |
+
assert_type(td - i4, np.timedelta64)
|
| 311 |
+
assert_type(td - i8, np.timedelta64)
|
| 312 |
+
assert_type(td / f, np.timedelta64)
|
| 313 |
+
assert_type(td / f4, np.timedelta64)
|
| 314 |
+
assert_type(td / f8, np.timedelta64)
|
| 315 |
+
assert_type(td / td, np.float64)
|
| 316 |
+
assert_type(td // td, np.int64)
|
| 317 |
+
|
| 318 |
+
# boolean
|
| 319 |
+
|
| 320 |
+
assert_type(b_ / b, np.float64)
|
| 321 |
+
assert_type(b_ / b_, np.float64)
|
| 322 |
+
assert_type(b_ / i, np.float64)
|
| 323 |
+
assert_type(b_ / i8, np.float64)
|
| 324 |
+
assert_type(b_ / i4, np.float64)
|
| 325 |
+
assert_type(b_ / u8, np.float64)
|
| 326 |
+
assert_type(b_ / u4, np.float64)
|
| 327 |
+
assert_type(b_ / f, np.float64)
|
| 328 |
+
assert_type(b_ / f16, np.floating[_128Bit])
|
| 329 |
+
assert_type(b_ / f8, np.float64)
|
| 330 |
+
assert_type(b_ / f4, np.float32)
|
| 331 |
+
assert_type(b_ / c, np.complex128)
|
| 332 |
+
assert_type(b_ / c16, np.complex128)
|
| 333 |
+
assert_type(b_ / c8, np.complex64)
|
| 334 |
+
|
| 335 |
+
assert_type(b / b_, np.float64)
|
| 336 |
+
assert_type(b_ / b_, np.float64)
|
| 337 |
+
assert_type(i / b_, np.float64)
|
| 338 |
+
assert_type(i8 / b_, np.float64)
|
| 339 |
+
assert_type(i4 / b_, np.float64)
|
| 340 |
+
assert_type(u8 / b_, np.float64)
|
| 341 |
+
assert_type(u4 / b_, np.float64)
|
| 342 |
+
assert_type(f / b_, np.float64)
|
| 343 |
+
assert_type(f16 / b_, np.floating[_128Bit])
|
| 344 |
+
assert_type(f8 / b_, np.float64)
|
| 345 |
+
assert_type(f4 / b_, np.float32)
|
| 346 |
+
assert_type(c / b_, np.complex128)
|
| 347 |
+
assert_type(c16 / b_, np.complex128)
|
| 348 |
+
assert_type(c8 / b_, np.complex64)
|
| 349 |
+
|
| 350 |
+
# Complex
|
| 351 |
+
|
| 352 |
+
assert_type(c16 + f16, np.complexfloating[_64Bit | _128Bit, _64Bit | _128Bit])
|
| 353 |
+
assert_type(c16 + c16, np.complex128)
|
| 354 |
+
assert_type(c16 + f8, np.complex128)
|
| 355 |
+
assert_type(c16 + i8, np.complex128)
|
| 356 |
+
assert_type(c16 + c8, np.complexfloating[_32Bit | _64Bit, _32Bit | _64Bit])
|
| 357 |
+
assert_type(c16 + f4, np.complexfloating[_32Bit | _64Bit, _32Bit | _64Bit])
|
| 358 |
+
assert_type(c16 + i4, np.complexfloating[_32Bit | _64Bit, _32Bit | _64Bit])
|
| 359 |
+
assert_type(c16 + b_, np.complex128)
|
| 360 |
+
assert_type(c16 + b, np.complex128)
|
| 361 |
+
assert_type(c16 + c, np.complex128)
|
| 362 |
+
assert_type(c16 + f, np.complex128)
|
| 363 |
+
assert_type(c16 + AR_f, npt.NDArray[np.complexfloating[Any, Any]])
|
| 364 |
+
|
| 365 |
+
assert_type(f16 + c16, np.complexfloating[_64Bit | _128Bit, _64Bit | _128Bit])
|
| 366 |
+
assert_type(c16 + c16, np.complex128)
|
| 367 |
+
assert_type(f8 + c16, np.complex128)
|
| 368 |
+
assert_type(i8 + c16, np.complex128)
|
| 369 |
+
assert_type(c8 + c16, np.complexfloating[_32Bit | _64Bit, _32Bit | _64Bit])
|
| 370 |
+
assert_type(f4 + c16, np.complexfloating[_32Bit | _64Bit, _32Bit | _64Bit])
|
| 371 |
+
assert_type(i4 + c16, np.complexfloating[_32Bit | _64Bit, _32Bit | _64Bit])
|
| 372 |
+
assert_type(b_ + c16, np.complex128)
|
| 373 |
+
assert_type(b + c16, np.complex128)
|
| 374 |
+
assert_type(c + c16, np.complex128)
|
| 375 |
+
assert_type(f + c16, np.complex128)
|
| 376 |
+
assert_type(AR_f + c16, npt.NDArray[np.complexfloating[Any, Any]])
|
| 377 |
+
|
| 378 |
+
assert_type(c8 + f16, np.complexfloating[_32Bit | _128Bit, _32Bit | _128Bit])
|
| 379 |
+
assert_type(c8 + c16, np.complexfloating[_32Bit | _64Bit, _32Bit | _64Bit])
|
| 380 |
+
assert_type(c8 + f8, np.complexfloating[_32Bit | _64Bit, _32Bit | _64Bit])
|
| 381 |
+
assert_type(c8 + i8, np.complexfloating[_32Bit | _64Bit, _32Bit | _64Bit])
|
| 382 |
+
assert_type(c8 + c8, np.complex64)
|
| 383 |
+
assert_type(c8 + f4, np.complex64)
|
| 384 |
+
assert_type(c8 + i4, np.complex64)
|
| 385 |
+
assert_type(c8 + b_, np.complex64)
|
| 386 |
+
assert_type(c8 + b, np.complex64)
|
| 387 |
+
assert_type(c8 + c, np.complexfloating[_32Bit | _64Bit, _32Bit | _64Bit])
|
| 388 |
+
assert_type(c8 + f, np.complexfloating[_32Bit | _64Bit, _32Bit | _64Bit])
|
| 389 |
+
assert_type(c8 + AR_f, npt.NDArray[np.complexfloating[Any, Any]])
|
| 390 |
+
|
| 391 |
+
assert_type(f16 + c8, np.complexfloating[_32Bit | _128Bit, _32Bit | _128Bit])
|
| 392 |
+
assert_type(c16 + c8, np.complexfloating[_32Bit | _64Bit, _32Bit | _64Bit])
|
| 393 |
+
assert_type(f8 + c8, np.complexfloating[_32Bit | _64Bit, _32Bit | _64Bit])
|
| 394 |
+
assert_type(i8 + c8, np.complexfloating[_32Bit | _64Bit, _32Bit | _64Bit])
|
| 395 |
+
assert_type(c8 + c8, np.complex64)
|
| 396 |
+
assert_type(f4 + c8, np.complex64)
|
| 397 |
+
assert_type(i4 + c8, np.complex64)
|
| 398 |
+
assert_type(b_ + c8, np.complex64)
|
| 399 |
+
assert_type(b + c8, np.complex64)
|
| 400 |
+
assert_type(c + c8, np.complexfloating[_32Bit | _64Bit, _32Bit | _64Bit])
|
| 401 |
+
assert_type(f + c8, np.complexfloating[_32Bit | _64Bit, _32Bit | _64Bit])
|
| 402 |
+
assert_type(AR_f + c8, npt.NDArray[np.complexfloating[Any, Any]])
|
| 403 |
+
|
| 404 |
+
# Float
|
| 405 |
+
|
| 406 |
+
assert_type(f8 + f16, np.floating[_64Bit | _128Bit])
|
| 407 |
+
assert_type(f8 + f8, np.float64)
|
| 408 |
+
assert_type(f8 + i8, np.float64)
|
| 409 |
+
assert_type(f8 + f4, np.floating[_32Bit | _64Bit])
|
| 410 |
+
assert_type(f8 + i4, np.floating[_32Bit | _64Bit])
|
| 411 |
+
assert_type(f8 + b_, np.float64)
|
| 412 |
+
assert_type(f8 + b, np.float64)
|
| 413 |
+
assert_type(f8 + c, np.complex128)
|
| 414 |
+
assert_type(f8 + f, np.float64)
|
| 415 |
+
assert_type(f8 + AR_f, npt.NDArray[np.floating[Any]])
|
| 416 |
+
|
| 417 |
+
assert_type(f16 + f8, np.floating[_64Bit | _128Bit])
|
| 418 |
+
assert_type(f8 + f8, np.float64)
|
| 419 |
+
assert_type(i8 + f8, np.float64)
|
| 420 |
+
assert_type(f4 + f8, np.floating[_32Bit | _64Bit])
|
| 421 |
+
assert_type(i4 + f8, np.floating[_32Bit | _64Bit])
|
| 422 |
+
assert_type(b_ + f8, np.float64)
|
| 423 |
+
assert_type(b + f8, np.float64)
|
| 424 |
+
assert_type(c + f8, np.complex128)
|
| 425 |
+
assert_type(f + f8, np.float64)
|
| 426 |
+
assert_type(AR_f + f8, npt.NDArray[np.floating[Any]])
|
| 427 |
+
|
| 428 |
+
assert_type(f4 + f16, np.floating[_32Bit | _128Bit])
|
| 429 |
+
assert_type(f4 + f8, np.floating[_32Bit | _64Bit])
|
| 430 |
+
assert_type(f4 + i8, np.floating[_32Bit | _64Bit])
|
| 431 |
+
assert_type(f4 + f4, np.float32)
|
| 432 |
+
assert_type(f4 + i4, np.float32)
|
| 433 |
+
assert_type(f4 + b_, np.float32)
|
| 434 |
+
assert_type(f4 + b, np.float32)
|
| 435 |
+
assert_type(f4 + c, np.complexfloating[_32Bit | _64Bit, _32Bit | _64Bit])
|
| 436 |
+
assert_type(f4 + f, np.floating[_32Bit | _64Bit])
|
| 437 |
+
assert_type(f4 + AR_f, npt.NDArray[np.floating[Any]])
|
| 438 |
+
|
| 439 |
+
assert_type(f16 + f4, np.floating[_32Bit | _128Bit])
|
| 440 |
+
assert_type(f8 + f4, np.floating[_32Bit | _64Bit])
|
| 441 |
+
assert_type(i8 + f4, np.floating[_32Bit | _64Bit])
|
| 442 |
+
assert_type(f4 + f4, np.float32)
|
| 443 |
+
assert_type(i4 + f4, np.float32)
|
| 444 |
+
assert_type(b_ + f4, np.float32)
|
| 445 |
+
assert_type(b + f4, np.float32)
|
| 446 |
+
assert_type(c + f4, np.complexfloating[_32Bit | _64Bit, _32Bit | _64Bit])
|
| 447 |
+
assert_type(f + f4, np.floating[_32Bit | _64Bit])
|
| 448 |
+
assert_type(AR_f + f4, npt.NDArray[np.floating[Any]])
|
| 449 |
+
|
| 450 |
+
# Int
|
| 451 |
+
|
| 452 |
+
assert_type(i8 + i8, np.int64)
|
| 453 |
+
assert_type(i8 + u8, Any)
|
| 454 |
+
assert_type(i8 + i4, np.signedinteger[_32Bit | _64Bit])
|
| 455 |
+
assert_type(i8 + u4, Any)
|
| 456 |
+
assert_type(i8 + b_, np.int64)
|
| 457 |
+
assert_type(i8 + b, np.int64)
|
| 458 |
+
assert_type(i8 + c, np.complex128)
|
| 459 |
+
assert_type(i8 + f, np.float64)
|
| 460 |
+
assert_type(i8 + AR_f, npt.NDArray[np.floating[Any]])
|
| 461 |
+
|
| 462 |
+
assert_type(u8 + u8, np.uint64)
|
| 463 |
+
assert_type(u8 + i4, Any)
|
| 464 |
+
assert_type(u8 + u4, np.unsignedinteger[_32Bit | _64Bit])
|
| 465 |
+
assert_type(u8 + b_, np.uint64)
|
| 466 |
+
assert_type(u8 + b, np.uint64)
|
| 467 |
+
assert_type(u8 + c, np.complex128)
|
| 468 |
+
assert_type(u8 + f, np.float64)
|
| 469 |
+
assert_type(u8 + AR_f, npt.NDArray[np.floating[Any]])
|
| 470 |
+
|
| 471 |
+
assert_type(i8 + i8, np.int64)
|
| 472 |
+
assert_type(u8 + i8, Any)
|
| 473 |
+
assert_type(i4 + i8, np.signedinteger[_32Bit | _64Bit])
|
| 474 |
+
assert_type(u4 + i8, Any)
|
| 475 |
+
assert_type(b_ + i8, np.int64)
|
| 476 |
+
assert_type(b + i8, np.int64)
|
| 477 |
+
assert_type(c + i8, np.complex128)
|
| 478 |
+
assert_type(f + i8, np.float64)
|
| 479 |
+
assert_type(AR_f + i8, npt.NDArray[np.floating[Any]])
|
| 480 |
+
|
| 481 |
+
assert_type(u8 + u8, np.uint64)
|
| 482 |
+
assert_type(i4 + u8, Any)
|
| 483 |
+
assert_type(u4 + u8, np.unsignedinteger[_32Bit | _64Bit])
|
| 484 |
+
assert_type(b_ + u8, np.uint64)
|
| 485 |
+
assert_type(b + u8, np.uint64)
|
| 486 |
+
assert_type(c + u8, np.complex128)
|
| 487 |
+
assert_type(f + u8, np.float64)
|
| 488 |
+
assert_type(AR_f + u8, npt.NDArray[np.floating[Any]])
|
| 489 |
+
|
| 490 |
+
assert_type(i4 + i8, np.signedinteger[_32Bit | _64Bit])
|
| 491 |
+
assert_type(i4 + i4, np.int32)
|
| 492 |
+
assert_type(i4 + b_, np.int32)
|
| 493 |
+
assert_type(i4 + b, np.int32)
|
| 494 |
+
assert_type(i4 + AR_f, npt.NDArray[np.floating[Any]])
|
| 495 |
+
|
| 496 |
+
assert_type(u4 + i8, Any)
|
| 497 |
+
assert_type(u4 + i4, Any)
|
| 498 |
+
assert_type(u4 + u8, np.unsignedinteger[_32Bit | _64Bit])
|
| 499 |
+
assert_type(u4 + u4, np.uint32)
|
| 500 |
+
assert_type(u4 + b_, np.uint32)
|
| 501 |
+
assert_type(u4 + b, np.uint32)
|
| 502 |
+
assert_type(u4 + AR_f, npt.NDArray[np.floating[Any]])
|
| 503 |
+
|
| 504 |
+
assert_type(i8 + i4, np.signedinteger[_32Bit | _64Bit])
|
| 505 |
+
assert_type(i4 + i4, np.int32)
|
| 506 |
+
assert_type(b_ + i4, np.int32)
|
| 507 |
+
assert_type(b + i4, np.int32)
|
| 508 |
+
assert_type(AR_f + i4, npt.NDArray[np.floating[Any]])
|
| 509 |
+
|
| 510 |
+
assert_type(i8 + u4, Any)
|
| 511 |
+
assert_type(i4 + u4, Any)
|
| 512 |
+
assert_type(u8 + u4, np.unsignedinteger[_32Bit | _64Bit])
|
| 513 |
+
assert_type(u4 + u4, np.uint32)
|
| 514 |
+
assert_type(b_ + u4, np.uint32)
|
| 515 |
+
assert_type(b + u4, np.uint32)
|
| 516 |
+
assert_type(AR_f + u4, npt.NDArray[np.floating[Any]])
|
common/runtime/robodojo_support/numpy/typing/tests/data/reveal/array_constructors.pyi
ADDED
|
@@ -0,0 +1,221 @@
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import sys
|
| 2 |
+
from typing import Any, TypeVar
|
| 3 |
+
from pathlib import Path
|
| 4 |
+
from collections import deque
|
| 5 |
+
|
| 6 |
+
import numpy as np
|
| 7 |
+
import numpy.typing as npt
|
| 8 |
+
|
| 9 |
+
if sys.version_info >= (3, 11):
|
| 10 |
+
from typing import assert_type
|
| 11 |
+
else:
|
| 12 |
+
from typing_extensions import assert_type
|
| 13 |
+
|
| 14 |
+
_SCT = TypeVar("_SCT", bound=np.generic, covariant=True)
|
| 15 |
+
|
| 16 |
+
class SubClass(np.ndarray[Any, np.dtype[_SCT]]): ...
|
| 17 |
+
|
| 18 |
+
i8: np.int64
|
| 19 |
+
|
| 20 |
+
A: npt.NDArray[np.float64]
|
| 21 |
+
B: SubClass[np.float64]
|
| 22 |
+
C: list[int]
|
| 23 |
+
|
| 24 |
+
def func(i: int, j: int, **kwargs: Any) -> SubClass[np.float64]: ...
|
| 25 |
+
|
| 26 |
+
assert_type(np.empty_like(A), npt.NDArray[np.float64])
|
| 27 |
+
assert_type(np.empty_like(B), SubClass[np.float64])
|
| 28 |
+
assert_type(np.empty_like([1, 1.0]), npt.NDArray[Any])
|
| 29 |
+
assert_type(np.empty_like(A, dtype=np.int64), npt.NDArray[np.int64])
|
| 30 |
+
assert_type(np.empty_like(A, dtype='c16'), npt.NDArray[Any])
|
| 31 |
+
|
| 32 |
+
assert_type(np.array(A), npt.NDArray[np.float64])
|
| 33 |
+
assert_type(np.array(B), npt.NDArray[np.float64])
|
| 34 |
+
assert_type(np.array(B, subok=True), SubClass[np.float64])
|
| 35 |
+
assert_type(np.array([1, 1.0]), npt.NDArray[Any])
|
| 36 |
+
assert_type(np.array(deque([1, 2, 3])), npt.NDArray[Any])
|
| 37 |
+
assert_type(np.array(A, dtype=np.int64), npt.NDArray[np.int64])
|
| 38 |
+
assert_type(np.array(A, dtype='c16'), npt.NDArray[Any])
|
| 39 |
+
assert_type(np.array(A, like=A), npt.NDArray[np.float64])
|
| 40 |
+
|
| 41 |
+
assert_type(np.zeros([1, 5, 6]), npt.NDArray[np.float64])
|
| 42 |
+
assert_type(np.zeros([1, 5, 6], dtype=np.int64), npt.NDArray[np.int64])
|
| 43 |
+
assert_type(np.zeros([1, 5, 6], dtype='c16'), npt.NDArray[Any])
|
| 44 |
+
|
| 45 |
+
assert_type(np.empty([1, 5, 6]), npt.NDArray[np.float64])
|
| 46 |
+
assert_type(np.empty([1, 5, 6], dtype=np.int64), npt.NDArray[np.int64])
|
| 47 |
+
assert_type(np.empty([1, 5, 6], dtype='c16'), npt.NDArray[Any])
|
| 48 |
+
|
| 49 |
+
assert_type(np.concatenate(A), npt.NDArray[np.float64])
|
| 50 |
+
assert_type(np.concatenate([A, A]), Any)
|
| 51 |
+
assert_type(np.concatenate([[1], A]), npt.NDArray[Any])
|
| 52 |
+
assert_type(np.concatenate([[1], [1]]), npt.NDArray[Any])
|
| 53 |
+
assert_type(np.concatenate((A, A)), npt.NDArray[np.float64])
|
| 54 |
+
assert_type(np.concatenate(([1], [1])), npt.NDArray[Any])
|
| 55 |
+
assert_type(np.concatenate([1, 1.0]), npt.NDArray[Any])
|
| 56 |
+
assert_type(np.concatenate(A, dtype=np.int64), npt.NDArray[np.int64])
|
| 57 |
+
assert_type(np.concatenate(A, dtype='c16'), npt.NDArray[Any])
|
| 58 |
+
assert_type(np.concatenate([1, 1.0], out=A), npt.NDArray[np.float64])
|
| 59 |
+
|
| 60 |
+
assert_type(np.asarray(A), npt.NDArray[np.float64])
|
| 61 |
+
assert_type(np.asarray(B), npt.NDArray[np.float64])
|
| 62 |
+
assert_type(np.asarray([1, 1.0]), npt.NDArray[Any])
|
| 63 |
+
assert_type(np.asarray(A, dtype=np.int64), npt.NDArray[np.int64])
|
| 64 |
+
assert_type(np.asarray(A, dtype='c16'), npt.NDArray[Any])
|
| 65 |
+
|
| 66 |
+
assert_type(np.asanyarray(A), npt.NDArray[np.float64])
|
| 67 |
+
assert_type(np.asanyarray(B), SubClass[np.float64])
|
| 68 |
+
assert_type(np.asanyarray([1, 1.0]), npt.NDArray[Any])
|
| 69 |
+
assert_type(np.asanyarray(A, dtype=np.int64), npt.NDArray[np.int64])
|
| 70 |
+
assert_type(np.asanyarray(A, dtype='c16'), npt.NDArray[Any])
|
| 71 |
+
|
| 72 |
+
assert_type(np.ascontiguousarray(A), npt.NDArray[np.float64])
|
| 73 |
+
assert_type(np.ascontiguousarray(B), npt.NDArray[np.float64])
|
| 74 |
+
assert_type(np.ascontiguousarray([1, 1.0]), npt.NDArray[Any])
|
| 75 |
+
assert_type(np.ascontiguousarray(A, dtype=np.int64), npt.NDArray[np.int64])
|
| 76 |
+
assert_type(np.ascontiguousarray(A, dtype='c16'), npt.NDArray[Any])
|
| 77 |
+
|
| 78 |
+
assert_type(np.asfortranarray(A), npt.NDArray[np.float64])
|
| 79 |
+
assert_type(np.asfortranarray(B), npt.NDArray[np.float64])
|
| 80 |
+
assert_type(np.asfortranarray([1, 1.0]), npt.NDArray[Any])
|
| 81 |
+
assert_type(np.asfortranarray(A, dtype=np.int64), npt.NDArray[np.int64])
|
| 82 |
+
assert_type(np.asfortranarray(A, dtype='c16'), npt.NDArray[Any])
|
| 83 |
+
|
| 84 |
+
assert_type(np.fromstring("1 1 1", sep=" "), npt.NDArray[np.float64])
|
| 85 |
+
assert_type(np.fromstring(b"1 1 1", sep=" "), npt.NDArray[np.float64])
|
| 86 |
+
assert_type(np.fromstring("1 1 1", dtype=np.int64, sep=" "), npt.NDArray[np.int64])
|
| 87 |
+
assert_type(np.fromstring(b"1 1 1", dtype=np.int64, sep=" "), npt.NDArray[np.int64])
|
| 88 |
+
assert_type(np.fromstring("1 1 1", dtype="c16", sep=" "), npt.NDArray[Any])
|
| 89 |
+
assert_type(np.fromstring(b"1 1 1", dtype="c16", sep=" "), npt.NDArray[Any])
|
| 90 |
+
|
| 91 |
+
assert_type(np.fromfile("test.txt", sep=" "), npt.NDArray[np.float64])
|
| 92 |
+
assert_type(np.fromfile("test.txt", dtype=np.int64, sep=" "), npt.NDArray[np.int64])
|
| 93 |
+
assert_type(np.fromfile("test.txt", dtype="c16", sep=" "), npt.NDArray[Any])
|
| 94 |
+
with open("test.txt") as f:
|
| 95 |
+
assert_type(np.fromfile(f, sep=" "), npt.NDArray[np.float64])
|
| 96 |
+
assert_type(np.fromfile(b"test.txt", sep=" "), npt.NDArray[np.float64])
|
| 97 |
+
assert_type(np.fromfile(Path("test.txt"), sep=" "), npt.NDArray[np.float64])
|
| 98 |
+
|
| 99 |
+
assert_type(np.fromiter("12345", np.float64), npt.NDArray[np.float64])
|
| 100 |
+
assert_type(np.fromiter("12345", float), npt.NDArray[Any])
|
| 101 |
+
|
| 102 |
+
assert_type(np.frombuffer(A), npt.NDArray[np.float64])
|
| 103 |
+
assert_type(np.frombuffer(A, dtype=np.int64), npt.NDArray[np.int64])
|
| 104 |
+
assert_type(np.frombuffer(A, dtype="c16"), npt.NDArray[Any])
|
| 105 |
+
|
| 106 |
+
assert_type(np.arange(False, True), npt.NDArray[np.signedinteger[Any]])
|
| 107 |
+
assert_type(np.arange(10), npt.NDArray[np.signedinteger[Any]])
|
| 108 |
+
assert_type(np.arange(0, 10, step=2), npt.NDArray[np.signedinteger[Any]])
|
| 109 |
+
assert_type(np.arange(10.0), npt.NDArray[np.floating[Any]])
|
| 110 |
+
assert_type(np.arange(start=0, stop=10.0), npt.NDArray[np.floating[Any]])
|
| 111 |
+
assert_type(np.arange(np.timedelta64(0)), npt.NDArray[np.timedelta64])
|
| 112 |
+
assert_type(np.arange(0, np.timedelta64(10)), npt.NDArray[np.timedelta64])
|
| 113 |
+
assert_type(np.arange(np.datetime64("0"), np.datetime64("10")), npt.NDArray[np.datetime64])
|
| 114 |
+
assert_type(np.arange(10, dtype=np.float64), npt.NDArray[np.float64])
|
| 115 |
+
assert_type(np.arange(0, 10, step=2, dtype=np.int16), npt.NDArray[np.int16])
|
| 116 |
+
assert_type(np.arange(10, dtype=int), npt.NDArray[Any])
|
| 117 |
+
assert_type(np.arange(0, 10, dtype="f8"), npt.NDArray[Any])
|
| 118 |
+
|
| 119 |
+
assert_type(np.require(A), npt.NDArray[np.float64])
|
| 120 |
+
assert_type(np.require(B), SubClass[np.float64])
|
| 121 |
+
assert_type(np.require(B, requirements=None), SubClass[np.float64])
|
| 122 |
+
assert_type(np.require(B, dtype=int), np.ndarray[Any, Any])
|
| 123 |
+
assert_type(np.require(B, requirements="E"), np.ndarray[Any, Any])
|
| 124 |
+
assert_type(np.require(B, requirements=["ENSUREARRAY"]), np.ndarray[Any, Any])
|
| 125 |
+
assert_type(np.require(B, requirements={"F", "E"}), np.ndarray[Any, Any])
|
| 126 |
+
assert_type(np.require(B, requirements=["C", "OWNDATA"]), SubClass[np.float64])
|
| 127 |
+
assert_type(np.require(B, requirements="W"), SubClass[np.float64])
|
| 128 |
+
assert_type(np.require(B, requirements="A"), SubClass[np.float64])
|
| 129 |
+
assert_type(np.require(C), np.ndarray[Any, Any])
|
| 130 |
+
|
| 131 |
+
assert_type(np.linspace(0, 10), npt.NDArray[np.floating[Any]])
|
| 132 |
+
assert_type(np.linspace(0, 10j), npt.NDArray[np.complexfloating[Any, Any]])
|
| 133 |
+
assert_type(np.linspace(0, 10, dtype=np.int64), npt.NDArray[np.int64])
|
| 134 |
+
assert_type(np.linspace(0, 10, dtype=int), npt.NDArray[Any])
|
| 135 |
+
assert_type(np.linspace(0, 10, retstep=True), tuple[npt.NDArray[np.floating[Any]], np.floating[Any]])
|
| 136 |
+
assert_type(np.linspace(0j, 10, retstep=True), tuple[npt.NDArray[np.complexfloating[Any, Any]], np.complexfloating[Any, Any]])
|
| 137 |
+
assert_type(np.linspace(0, 10, retstep=True, dtype=np.int64), tuple[npt.NDArray[np.int64], np.int64])
|
| 138 |
+
assert_type(np.linspace(0j, 10, retstep=True, dtype=int), tuple[npt.NDArray[Any], Any])
|
| 139 |
+
|
| 140 |
+
assert_type(np.logspace(0, 10), npt.NDArray[np.floating[Any]])
|
| 141 |
+
assert_type(np.logspace(0, 10j), npt.NDArray[np.complexfloating[Any, Any]])
|
| 142 |
+
assert_type(np.logspace(0, 10, dtype=np.int64), npt.NDArray[np.int64])
|
| 143 |
+
assert_type(np.logspace(0, 10, dtype=int), npt.NDArray[Any])
|
| 144 |
+
|
| 145 |
+
assert_type(np.geomspace(0, 10), npt.NDArray[np.floating[Any]])
|
| 146 |
+
assert_type(np.geomspace(0, 10j), npt.NDArray[np.complexfloating[Any, Any]])
|
| 147 |
+
assert_type(np.geomspace(0, 10, dtype=np.int64), npt.NDArray[np.int64])
|
| 148 |
+
assert_type(np.geomspace(0, 10, dtype=int), npt.NDArray[Any])
|
| 149 |
+
|
| 150 |
+
assert_type(np.zeros_like(A), npt.NDArray[np.float64])
|
| 151 |
+
assert_type(np.zeros_like(C), npt.NDArray[Any])
|
| 152 |
+
assert_type(np.zeros_like(A, dtype=float), npt.NDArray[Any])
|
| 153 |
+
assert_type(np.zeros_like(B), SubClass[np.float64])
|
| 154 |
+
assert_type(np.zeros_like(B, dtype=np.int64), npt.NDArray[np.int64])
|
| 155 |
+
|
| 156 |
+
assert_type(np.ones_like(A), npt.NDArray[np.float64])
|
| 157 |
+
assert_type(np.ones_like(C), npt.NDArray[Any])
|
| 158 |
+
assert_type(np.ones_like(A, dtype=float), npt.NDArray[Any])
|
| 159 |
+
assert_type(np.ones_like(B), SubClass[np.float64])
|
| 160 |
+
assert_type(np.ones_like(B, dtype=np.int64), npt.NDArray[np.int64])
|
| 161 |
+
|
| 162 |
+
assert_type(np.full_like(A, i8), npt.NDArray[np.float64])
|
| 163 |
+
assert_type(np.full_like(C, i8), npt.NDArray[Any])
|
| 164 |
+
assert_type(np.full_like(A, i8, dtype=int), npt.NDArray[Any])
|
| 165 |
+
assert_type(np.full_like(B, i8), SubClass[np.float64])
|
| 166 |
+
assert_type(np.full_like(B, i8, dtype=np.int64), npt.NDArray[np.int64])
|
| 167 |
+
|
| 168 |
+
assert_type(np.ones(1), npt.NDArray[np.float64])
|
| 169 |
+
assert_type(np.ones([1, 1, 1]), npt.NDArray[np.float64])
|
| 170 |
+
assert_type(np.ones(5, dtype=np.int64), npt.NDArray[np.int64])
|
| 171 |
+
assert_type(np.ones(5, dtype=int), npt.NDArray[Any])
|
| 172 |
+
|
| 173 |
+
assert_type(np.full(1, i8), npt.NDArray[Any])
|
| 174 |
+
assert_type(np.full([1, 1, 1], i8), npt.NDArray[Any])
|
| 175 |
+
assert_type(np.full(1, i8, dtype=np.float64), npt.NDArray[np.float64])
|
| 176 |
+
assert_type(np.full(1, i8, dtype=float), npt.NDArray[Any])
|
| 177 |
+
|
| 178 |
+
assert_type(np.indices([1, 2, 3]), npt.NDArray[np.int_])
|
| 179 |
+
assert_type(np.indices([1, 2, 3], sparse=True), tuple[npt.NDArray[np.int_], ...])
|
| 180 |
+
|
| 181 |
+
assert_type(np.fromfunction(func, (3, 5)), SubClass[np.float64])
|
| 182 |
+
|
| 183 |
+
assert_type(np.identity(10), npt.NDArray[np.float64])
|
| 184 |
+
assert_type(np.identity(10, dtype=np.int64), npt.NDArray[np.int64])
|
| 185 |
+
assert_type(np.identity(10, dtype=int), npt.NDArray[Any])
|
| 186 |
+
|
| 187 |
+
assert_type(np.atleast_1d(A), npt.NDArray[np.float64])
|
| 188 |
+
assert_type(np.atleast_1d(C), npt.NDArray[Any])
|
| 189 |
+
assert_type(np.atleast_1d(A, A), list[npt.NDArray[Any]])
|
| 190 |
+
assert_type(np.atleast_1d(A, C), list[npt.NDArray[Any]])
|
| 191 |
+
assert_type(np.atleast_1d(C, C), list[npt.NDArray[Any]])
|
| 192 |
+
|
| 193 |
+
assert_type(np.atleast_2d(A), npt.NDArray[np.float64])
|
| 194 |
+
|
| 195 |
+
assert_type(np.atleast_3d(A), npt.NDArray[np.float64])
|
| 196 |
+
|
| 197 |
+
assert_type(np.vstack([A, A]), np.ndarray[Any, Any])
|
| 198 |
+
assert_type(np.vstack([A, A], dtype=np.float64), npt.NDArray[np.float64])
|
| 199 |
+
assert_type(np.vstack([A, C]), npt.NDArray[Any])
|
| 200 |
+
assert_type(np.vstack([C, C]), npt.NDArray[Any])
|
| 201 |
+
|
| 202 |
+
assert_type(np.hstack([A, A]), np.ndarray[Any, Any])
|
| 203 |
+
assert_type(np.hstack([A, A], dtype=np.float64), npt.NDArray[np.float64])
|
| 204 |
+
|
| 205 |
+
assert_type(np.stack([A, A]), Any)
|
| 206 |
+
assert_type(np.stack([A, A], dtype=np.float64), npt.NDArray[np.float64])
|
| 207 |
+
assert_type(np.stack([A, C]), npt.NDArray[Any])
|
| 208 |
+
assert_type(np.stack([C, C]), npt.NDArray[Any])
|
| 209 |
+
assert_type(np.stack([A, A], axis=0), Any)
|
| 210 |
+
assert_type(np.stack([A, A], out=B), SubClass[np.float64])
|
| 211 |
+
|
| 212 |
+
assert_type(np.block([[A, A], [A, A]]), npt.NDArray[Any])
|
| 213 |
+
assert_type(np.block(C), npt.NDArray[Any])
|
| 214 |
+
|
| 215 |
+
if sys.version_info >= (3, 12):
|
| 216 |
+
from collections.abc import Buffer
|
| 217 |
+
|
| 218 |
+
def create_array(obj: npt.ArrayLike) -> npt.NDArray[Any]: ...
|
| 219 |
+
|
| 220 |
+
buffer: Buffer
|
| 221 |
+
assert_type(create_array(buffer), npt.NDArray[Any])
|
common/runtime/robodojo_support/numpy/typing/tests/data/reveal/arraypad.pyi
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import sys
|
| 2 |
+
from collections.abc import Mapping
|
| 3 |
+
from typing import Any, SupportsIndex
|
| 4 |
+
|
| 5 |
+
import numpy as np
|
| 6 |
+
import numpy.typing as npt
|
| 7 |
+
|
| 8 |
+
if sys.version_info >= (3, 11):
|
| 9 |
+
from typing import assert_type
|
| 10 |
+
else:
|
| 11 |
+
from typing_extensions import assert_type
|
| 12 |
+
|
| 13 |
+
def mode_func(
|
| 14 |
+
ar: npt.NDArray[np.number[Any]],
|
| 15 |
+
width: tuple[int, int],
|
| 16 |
+
iaxis: SupportsIndex,
|
| 17 |
+
kwargs: Mapping[str, Any],
|
| 18 |
+
) -> None: ...
|
| 19 |
+
|
| 20 |
+
AR_i8: npt.NDArray[np.int64]
|
| 21 |
+
AR_f8: npt.NDArray[np.float64]
|
| 22 |
+
AR_LIKE: list[int]
|
| 23 |
+
|
| 24 |
+
assert_type(np.pad(AR_i8, (2, 3), "constant"), npt.NDArray[np.int64])
|
| 25 |
+
assert_type(np.pad(AR_LIKE, (2, 3), "constant"), npt.NDArray[Any])
|
| 26 |
+
|
| 27 |
+
assert_type(np.pad(AR_f8, (2, 3), mode_func), npt.NDArray[np.float64])
|
| 28 |
+
assert_type(np.pad(AR_f8, (2, 3), mode_func, a=1, b=2), npt.NDArray[np.float64])
|
common/runtime/robodojo_support/numpy/typing/tests/data/reveal/arrayprint.pyi
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import sys
|
| 2 |
+
import contextlib
|
| 3 |
+
from collections.abc import Callable
|
| 4 |
+
from typing import Any
|
| 5 |
+
|
| 6 |
+
import numpy as np
|
| 7 |
+
from numpy.core.arrayprint import _FormatOptions
|
| 8 |
+
|
| 9 |
+
if sys.version_info >= (3, 11):
|
| 10 |
+
from typing import assert_type
|
| 11 |
+
else:
|
| 12 |
+
from typing_extensions import assert_type
|
| 13 |
+
|
| 14 |
+
AR: np.ndarray[Any, Any]
|
| 15 |
+
func_float: Callable[[np.floating[Any]], str]
|
| 16 |
+
func_int: Callable[[np.integer[Any]], str]
|
| 17 |
+
|
| 18 |
+
assert_type(np.get_printoptions(), _FormatOptions)
|
| 19 |
+
assert_type(
|
| 20 |
+
np.array2string(AR, formatter={'float_kind': func_float, 'int_kind': func_int}),
|
| 21 |
+
str,
|
| 22 |
+
)
|
| 23 |
+
assert_type(np.format_float_scientific(1.0), str)
|
| 24 |
+
assert_type(np.format_float_positional(1), str)
|
| 25 |
+
assert_type(np.array_repr(AR), str)
|
| 26 |
+
assert_type(np.array_str(AR), str)
|
| 27 |
+
|
| 28 |
+
assert_type(np.printoptions(), contextlib._GeneratorContextManager[_FormatOptions])
|
| 29 |
+
with np.printoptions() as dct:
|
| 30 |
+
assert_type(dct, _FormatOptions)
|
common/runtime/robodojo_support/numpy/typing/tests/data/reveal/arraysetops.pyi
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import sys
|
| 2 |
+
from typing import Any
|
| 3 |
+
|
| 4 |
+
import numpy as np
|
| 5 |
+
import numpy.typing as npt
|
| 6 |
+
|
| 7 |
+
if sys.version_info >= (3, 11):
|
| 8 |
+
from typing import assert_type
|
| 9 |
+
else:
|
| 10 |
+
from typing_extensions import assert_type
|
| 11 |
+
|
| 12 |
+
AR_b: npt.NDArray[np.bool_]
|
| 13 |
+
AR_i8: npt.NDArray[np.int64]
|
| 14 |
+
AR_f8: npt.NDArray[np.float64]
|
| 15 |
+
AR_M: npt.NDArray[np.datetime64]
|
| 16 |
+
AR_O: npt.NDArray[np.object_]
|
| 17 |
+
|
| 18 |
+
AR_LIKE_f8: list[float]
|
| 19 |
+
|
| 20 |
+
assert_type(np.ediff1d(AR_b), npt.NDArray[np.int8])
|
| 21 |
+
assert_type(np.ediff1d(AR_i8, to_end=[1, 2, 3]), npt.NDArray[np.int64])
|
| 22 |
+
assert_type(np.ediff1d(AR_M), npt.NDArray[np.timedelta64])
|
| 23 |
+
assert_type(np.ediff1d(AR_O), npt.NDArray[np.object_])
|
| 24 |
+
assert_type(np.ediff1d(AR_LIKE_f8, to_begin=[1, 1.5]), npt.NDArray[Any])
|
| 25 |
+
|
| 26 |
+
assert_type(np.intersect1d(AR_i8, AR_i8), npt.NDArray[np.int64])
|
| 27 |
+
assert_type(np.intersect1d(AR_M, AR_M, assume_unique=True), npt.NDArray[np.datetime64])
|
| 28 |
+
assert_type(np.intersect1d(AR_f8, AR_i8), npt.NDArray[Any])
|
| 29 |
+
assert_type(np.intersect1d(AR_f8, AR_f8, return_indices=True), tuple[npt.NDArray[np.float64], npt.NDArray[np.intp], npt.NDArray[np.intp]])
|
| 30 |
+
|
| 31 |
+
assert_type(np.setxor1d(AR_i8, AR_i8), npt.NDArray[np.int64])
|
| 32 |
+
assert_type(np.setxor1d(AR_M, AR_M, assume_unique=True), npt.NDArray[np.datetime64])
|
| 33 |
+
assert_type(np.setxor1d(AR_f8, AR_i8), npt.NDArray[Any])
|
| 34 |
+
|
| 35 |
+
assert_type(np.in1d(AR_i8, AR_i8), npt.NDArray[np.bool_])
|
| 36 |
+
assert_type(np.in1d(AR_M, AR_M, assume_unique=True), npt.NDArray[np.bool_])
|
| 37 |
+
assert_type(np.in1d(AR_f8, AR_i8), npt.NDArray[np.bool_])
|
| 38 |
+
assert_type(np.in1d(AR_f8, AR_LIKE_f8, invert=True), npt.NDArray[np.bool_])
|
| 39 |
+
|
| 40 |
+
assert_type(np.isin(AR_i8, AR_i8), npt.NDArray[np.bool_])
|
| 41 |
+
assert_type(np.isin(AR_M, AR_M, assume_unique=True), npt.NDArray[np.bool_])
|
| 42 |
+
assert_type(np.isin(AR_f8, AR_i8), npt.NDArray[np.bool_])
|
| 43 |
+
assert_type(np.isin(AR_f8, AR_LIKE_f8, invert=True), npt.NDArray[np.bool_])
|
| 44 |
+
|
| 45 |
+
assert_type(np.union1d(AR_i8, AR_i8), npt.NDArray[np.int64])
|
| 46 |
+
assert_type(np.union1d(AR_M, AR_M), npt.NDArray[np.datetime64])
|
| 47 |
+
assert_type(np.union1d(AR_f8, AR_i8), npt.NDArray[Any])
|
| 48 |
+
|
| 49 |
+
assert_type(np.setdiff1d(AR_i8, AR_i8), npt.NDArray[np.int64])
|
| 50 |
+
assert_type(np.setdiff1d(AR_M, AR_M, assume_unique=True), npt.NDArray[np.datetime64])
|
| 51 |
+
assert_type(np.setdiff1d(AR_f8, AR_i8), npt.NDArray[Any])
|
| 52 |
+
|
| 53 |
+
assert_type(np.unique(AR_f8), npt.NDArray[np.float64])
|
| 54 |
+
assert_type(np.unique(AR_LIKE_f8, axis=0), npt.NDArray[Any])
|
| 55 |
+
assert_type(np.unique(AR_f8, return_index=True), tuple[npt.NDArray[np.float64], npt.NDArray[np.intp]])
|
| 56 |
+
assert_type(np.unique(AR_LIKE_f8, return_index=True), tuple[npt.NDArray[Any], npt.NDArray[np.intp]])
|
| 57 |
+
assert_type(np.unique(AR_f8, return_inverse=True), tuple[npt.NDArray[np.float64], npt.NDArray[np.intp]])
|
| 58 |
+
assert_type(np.unique(AR_LIKE_f8, return_inverse=True), tuple[npt.NDArray[Any], npt.NDArray[np.intp]])
|
| 59 |
+
assert_type(np.unique(AR_f8, return_counts=True), tuple[npt.NDArray[np.float64], npt.NDArray[np.intp]])
|
| 60 |
+
assert_type(np.unique(AR_LIKE_f8, return_counts=True), tuple[npt.NDArray[Any], npt.NDArray[np.intp]])
|
| 61 |
+
assert_type(np.unique(AR_f8, return_index=True, return_inverse=True), tuple[npt.NDArray[np.float64], npt.NDArray[np.intp], npt.NDArray[np.intp]])
|
| 62 |
+
assert_type(np.unique(AR_LIKE_f8, return_index=True, return_inverse=True), tuple[npt.NDArray[Any], npt.NDArray[np.intp], npt.NDArray[np.intp]])
|
| 63 |
+
assert_type(np.unique(AR_f8, return_index=True, return_counts=True), tuple[npt.NDArray[np.float64], npt.NDArray[np.intp], npt.NDArray[np.intp]])
|
| 64 |
+
assert_type(np.unique(AR_LIKE_f8, return_index=True, return_counts=True), tuple[npt.NDArray[Any], npt.NDArray[np.intp], npt.NDArray[np.intp]])
|
| 65 |
+
assert_type(np.unique(AR_f8, return_inverse=True, return_counts=True), tuple[npt.NDArray[np.float64], npt.NDArray[np.intp], npt.NDArray[np.intp]])
|
| 66 |
+
assert_type(np.unique(AR_LIKE_f8, return_inverse=True, return_counts=True), tuple[npt.NDArray[Any], npt.NDArray[np.intp], npt.NDArray[np.intp]])
|
| 67 |
+
assert_type(np.unique(AR_f8, return_index=True, return_inverse=True, return_counts=True), tuple[npt.NDArray[np.float64], npt.NDArray[np.intp], npt.NDArray[np.intp], npt.NDArray[np.intp]])
|
| 68 |
+
assert_type(np.unique(AR_LIKE_f8, return_index=True, return_inverse=True, return_counts=True), tuple[npt.NDArray[Any], npt.NDArray[np.intp], npt.NDArray[np.intp], npt.NDArray[np.intp]])
|
common/runtime/robodojo_support/numpy/typing/tests/data/reveal/arrayterator.pyi
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import sys
|
| 2 |
+
from typing import Any
|
| 3 |
+
from collections.abc import Generator
|
| 4 |
+
|
| 5 |
+
import numpy as np
|
| 6 |
+
import numpy.typing as npt
|
| 7 |
+
|
| 8 |
+
if sys.version_info >= (3, 11):
|
| 9 |
+
from typing import assert_type
|
| 10 |
+
else:
|
| 11 |
+
from typing_extensions import assert_type
|
| 12 |
+
|
| 13 |
+
AR_i8: np.ndarray[Any, np.dtype[np.int64]]
|
| 14 |
+
ar_iter = np.lib.Arrayterator(AR_i8)
|
| 15 |
+
|
| 16 |
+
assert_type(ar_iter.var, npt.NDArray[np.int64])
|
| 17 |
+
assert_type(ar_iter.buf_size, None | int)
|
| 18 |
+
assert_type(ar_iter.start, list[int])
|
| 19 |
+
assert_type(ar_iter.stop, list[int])
|
| 20 |
+
assert_type(ar_iter.step, list[int])
|
| 21 |
+
assert_type(ar_iter.shape, tuple[int, ...])
|
| 22 |
+
assert_type(ar_iter.flat, Generator[np.int64, None, None])
|
| 23 |
+
|
| 24 |
+
assert_type(ar_iter.__array__(), npt.NDArray[np.int64])
|
| 25 |
+
|
| 26 |
+
for i in ar_iter:
|
| 27 |
+
assert_type(i, npt.NDArray[np.int64])
|
| 28 |
+
|
| 29 |
+
assert_type(ar_iter[0], np.lib.Arrayterator[Any, np.dtype[np.int64]])
|
| 30 |
+
assert_type(ar_iter[...], np.lib.Arrayterator[Any, np.dtype[np.int64]])
|
| 31 |
+
assert_type(ar_iter[:], np.lib.Arrayterator[Any, np.dtype[np.int64]])
|
| 32 |
+
assert_type(ar_iter[0, 0, 0], np.lib.Arrayterator[Any, np.dtype[np.int64]])
|
| 33 |
+
assert_type(ar_iter[..., 0, :], np.lib.Arrayterator[Any, np.dtype[np.int64]])
|
common/runtime/robodojo_support/numpy/typing/tests/data/reveal/bitwise_ops.pyi
ADDED
|
@@ -0,0 +1,135 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import sys
|
| 2 |
+
from typing import Any
|
| 3 |
+
|
| 4 |
+
import numpy as np
|
| 5 |
+
import numpy.typing as npt
|
| 6 |
+
from numpy._typing import _64Bit, _32Bit
|
| 7 |
+
|
| 8 |
+
if sys.version_info >= (3, 11):
|
| 9 |
+
from typing import assert_type
|
| 10 |
+
else:
|
| 11 |
+
from typing_extensions import assert_type
|
| 12 |
+
|
| 13 |
+
i8 = np.int64(1)
|
| 14 |
+
u8 = np.uint64(1)
|
| 15 |
+
|
| 16 |
+
i4 = np.int32(1)
|
| 17 |
+
u4 = np.uint32(1)
|
| 18 |
+
|
| 19 |
+
b_ = np.bool_(1)
|
| 20 |
+
|
| 21 |
+
b = bool(1)
|
| 22 |
+
i = int(1)
|
| 23 |
+
|
| 24 |
+
AR = np.array([0, 1, 2], dtype=np.int32)
|
| 25 |
+
AR.setflags(write=False)
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
assert_type(i8 << i8, np.int64)
|
| 29 |
+
assert_type(i8 >> i8, np.int64)
|
| 30 |
+
assert_type(i8 | i8, np.int64)
|
| 31 |
+
assert_type(i8 ^ i8, np.int64)
|
| 32 |
+
assert_type(i8 & i8, np.int64)
|
| 33 |
+
|
| 34 |
+
assert_type(i8 << AR, npt.NDArray[np.signedinteger[Any]])
|
| 35 |
+
assert_type(i8 >> AR, npt.NDArray[np.signedinteger[Any]])
|
| 36 |
+
assert_type(i8 | AR, npt.NDArray[np.signedinteger[Any]])
|
| 37 |
+
assert_type(i8 ^ AR, npt.NDArray[np.signedinteger[Any]])
|
| 38 |
+
assert_type(i8 & AR, npt.NDArray[np.signedinteger[Any]])
|
| 39 |
+
|
| 40 |
+
assert_type(i4 << i4, np.int32)
|
| 41 |
+
assert_type(i4 >> i4, np.int32)
|
| 42 |
+
assert_type(i4 | i4, np.int32)
|
| 43 |
+
assert_type(i4 ^ i4, np.int32)
|
| 44 |
+
assert_type(i4 & i4, np.int32)
|
| 45 |
+
|
| 46 |
+
assert_type(i8 << i4, np.signedinteger[_32Bit | _64Bit])
|
| 47 |
+
assert_type(i8 >> i4, np.signedinteger[_32Bit | _64Bit])
|
| 48 |
+
assert_type(i8 | i4, np.signedinteger[_32Bit | _64Bit])
|
| 49 |
+
assert_type(i8 ^ i4, np.signedinteger[_32Bit | _64Bit])
|
| 50 |
+
assert_type(i8 & i4, np.signedinteger[_32Bit | _64Bit])
|
| 51 |
+
|
| 52 |
+
assert_type(i8 << b_, np.int64)
|
| 53 |
+
assert_type(i8 >> b_, np.int64)
|
| 54 |
+
assert_type(i8 | b_, np.int64)
|
| 55 |
+
assert_type(i8 ^ b_, np.int64)
|
| 56 |
+
assert_type(i8 & b_, np.int64)
|
| 57 |
+
|
| 58 |
+
assert_type(i8 << b, np.int64)
|
| 59 |
+
assert_type(i8 >> b, np.int64)
|
| 60 |
+
assert_type(i8 | b, np.int64)
|
| 61 |
+
assert_type(i8 ^ b, np.int64)
|
| 62 |
+
assert_type(i8 & b, np.int64)
|
| 63 |
+
|
| 64 |
+
assert_type(u8 << u8, np.uint64)
|
| 65 |
+
assert_type(u8 >> u8, np.uint64)
|
| 66 |
+
assert_type(u8 | u8, np.uint64)
|
| 67 |
+
assert_type(u8 ^ u8, np.uint64)
|
| 68 |
+
assert_type(u8 & u8, np.uint64)
|
| 69 |
+
|
| 70 |
+
assert_type(u8 << AR, npt.NDArray[np.signedinteger[Any]])
|
| 71 |
+
assert_type(u8 >> AR, npt.NDArray[np.signedinteger[Any]])
|
| 72 |
+
assert_type(u8 | AR, npt.NDArray[np.signedinteger[Any]])
|
| 73 |
+
assert_type(u8 ^ AR, npt.NDArray[np.signedinteger[Any]])
|
| 74 |
+
assert_type(u8 & AR, npt.NDArray[np.signedinteger[Any]])
|
| 75 |
+
|
| 76 |
+
assert_type(u4 << u4, np.uint32)
|
| 77 |
+
assert_type(u4 >> u4, np.uint32)
|
| 78 |
+
assert_type(u4 | u4, np.uint32)
|
| 79 |
+
assert_type(u4 ^ u4, np.uint32)
|
| 80 |
+
assert_type(u4 & u4, np.uint32)
|
| 81 |
+
|
| 82 |
+
assert_type(u4 << i4, np.signedinteger[Any])
|
| 83 |
+
assert_type(u4 >> i4, np.signedinteger[Any])
|
| 84 |
+
assert_type(u4 | i4, np.signedinteger[Any])
|
| 85 |
+
assert_type(u4 ^ i4, np.signedinteger[Any])
|
| 86 |
+
assert_type(u4 & i4, np.signedinteger[Any])
|
| 87 |
+
|
| 88 |
+
assert_type(u4 << i, np.signedinteger[Any])
|
| 89 |
+
assert_type(u4 >> i, np.signedinteger[Any])
|
| 90 |
+
assert_type(u4 | i, np.signedinteger[Any])
|
| 91 |
+
assert_type(u4 ^ i, np.signedinteger[Any])
|
| 92 |
+
assert_type(u4 & i, np.signedinteger[Any])
|
| 93 |
+
|
| 94 |
+
assert_type(u8 << b_, np.uint64)
|
| 95 |
+
assert_type(u8 >> b_, np.uint64)
|
| 96 |
+
assert_type(u8 | b_, np.uint64)
|
| 97 |
+
assert_type(u8 ^ b_, np.uint64)
|
| 98 |
+
assert_type(u8 & b_, np.uint64)
|
| 99 |
+
|
| 100 |
+
assert_type(u8 << b, np.uint64)
|
| 101 |
+
assert_type(u8 >> b, np.uint64)
|
| 102 |
+
assert_type(u8 | b, np.uint64)
|
| 103 |
+
assert_type(u8 ^ b, np.uint64)
|
| 104 |
+
assert_type(u8 & b, np.uint64)
|
| 105 |
+
|
| 106 |
+
assert_type(b_ << b_, np.int8)
|
| 107 |
+
assert_type(b_ >> b_, np.int8)
|
| 108 |
+
assert_type(b_ | b_, np.bool_)
|
| 109 |
+
assert_type(b_ ^ b_, np.bool_)
|
| 110 |
+
assert_type(b_ & b_, np.bool_)
|
| 111 |
+
|
| 112 |
+
assert_type(b_ << AR, npt.NDArray[np.signedinteger[Any]])
|
| 113 |
+
assert_type(b_ >> AR, npt.NDArray[np.signedinteger[Any]])
|
| 114 |
+
assert_type(b_ | AR, npt.NDArray[np.signedinteger[Any]])
|
| 115 |
+
assert_type(b_ ^ AR, npt.NDArray[np.signedinteger[Any]])
|
| 116 |
+
assert_type(b_ & AR, npt.NDArray[np.signedinteger[Any]])
|
| 117 |
+
|
| 118 |
+
assert_type(b_ << b, np.int8)
|
| 119 |
+
assert_type(b_ >> b, np.int8)
|
| 120 |
+
assert_type(b_ | b, np.bool_)
|
| 121 |
+
assert_type(b_ ^ b, np.bool_)
|
| 122 |
+
assert_type(b_ & b, np.bool_)
|
| 123 |
+
|
| 124 |
+
assert_type(b_ << i, np.int_)
|
| 125 |
+
assert_type(b_ >> i, np.int_)
|
| 126 |
+
assert_type(b_ | i, np.int_)
|
| 127 |
+
assert_type(b_ ^ i, np.int_)
|
| 128 |
+
assert_type(b_ & i, np.int_)
|
| 129 |
+
|
| 130 |
+
assert_type(~i8, np.int64)
|
| 131 |
+
assert_type(~i4, np.int32)
|
| 132 |
+
assert_type(~u8, np.uint64)
|
| 133 |
+
assert_type(~u4, np.uint32)
|
| 134 |
+
assert_type(~b_, np.bool_)
|
| 135 |
+
assert_type(~AR, npt.NDArray[np.int32])
|
common/runtime/robodojo_support/numpy/typing/tests/data/reveal/char.pyi
ADDED
|
@@ -0,0 +1,154 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import sys
|
| 2 |
+
from typing import Any
|
| 3 |
+
|
| 4 |
+
import numpy as np
|
| 5 |
+
import numpy.typing as npt
|
| 6 |
+
|
| 7 |
+
if sys.version_info >= (3, 11):
|
| 8 |
+
from typing import assert_type
|
| 9 |
+
else:
|
| 10 |
+
from typing_extensions import assert_type
|
| 11 |
+
|
| 12 |
+
AR_U: npt.NDArray[np.str_]
|
| 13 |
+
AR_S: npt.NDArray[np.bytes_]
|
| 14 |
+
|
| 15 |
+
assert_type(np.char.equal(AR_U, AR_U), npt.NDArray[np.bool_])
|
| 16 |
+
assert_type(np.char.equal(AR_S, AR_S), npt.NDArray[np.bool_])
|
| 17 |
+
|
| 18 |
+
assert_type(np.char.not_equal(AR_U, AR_U), npt.NDArray[np.bool_])
|
| 19 |
+
assert_type(np.char.not_equal(AR_S, AR_S), npt.NDArray[np.bool_])
|
| 20 |
+
|
| 21 |
+
assert_type(np.char.greater_equal(AR_U, AR_U), npt.NDArray[np.bool_])
|
| 22 |
+
assert_type(np.char.greater_equal(AR_S, AR_S), npt.NDArray[np.bool_])
|
| 23 |
+
|
| 24 |
+
assert_type(np.char.less_equal(AR_U, AR_U), npt.NDArray[np.bool_])
|
| 25 |
+
assert_type(np.char.less_equal(AR_S, AR_S), npt.NDArray[np.bool_])
|
| 26 |
+
|
| 27 |
+
assert_type(np.char.greater(AR_U, AR_U), npt.NDArray[np.bool_])
|
| 28 |
+
assert_type(np.char.greater(AR_S, AR_S), npt.NDArray[np.bool_])
|
| 29 |
+
|
| 30 |
+
assert_type(np.char.less(AR_U, AR_U), npt.NDArray[np.bool_])
|
| 31 |
+
assert_type(np.char.less(AR_S, AR_S), npt.NDArray[np.bool_])
|
| 32 |
+
|
| 33 |
+
assert_type(np.char.multiply(AR_U, 5), npt.NDArray[np.str_])
|
| 34 |
+
assert_type(np.char.multiply(AR_S, [5, 4, 3]), npt.NDArray[np.bytes_])
|
| 35 |
+
|
| 36 |
+
assert_type(np.char.mod(AR_U, "test"), npt.NDArray[np.str_])
|
| 37 |
+
assert_type(np.char.mod(AR_S, "test"), npt.NDArray[np.bytes_])
|
| 38 |
+
|
| 39 |
+
assert_type(np.char.capitalize(AR_U), npt.NDArray[np.str_])
|
| 40 |
+
assert_type(np.char.capitalize(AR_S), npt.NDArray[np.bytes_])
|
| 41 |
+
|
| 42 |
+
assert_type(np.char.center(AR_U, 5), npt.NDArray[np.str_])
|
| 43 |
+
assert_type(np.char.center(AR_S, [2, 3, 4], b"a"), npt.NDArray[np.bytes_])
|
| 44 |
+
|
| 45 |
+
assert_type(np.char.encode(AR_U), npt.NDArray[np.bytes_])
|
| 46 |
+
assert_type(np.char.decode(AR_S), npt.NDArray[np.str_])
|
| 47 |
+
|
| 48 |
+
assert_type(np.char.expandtabs(AR_U), npt.NDArray[np.str_])
|
| 49 |
+
assert_type(np.char.expandtabs(AR_S, tabsize=4), npt.NDArray[np.bytes_])
|
| 50 |
+
|
| 51 |
+
assert_type(np.char.join(AR_U, "_"), npt.NDArray[np.str_])
|
| 52 |
+
assert_type(np.char.join(AR_S, [b"_", b""]), npt.NDArray[np.bytes_])
|
| 53 |
+
|
| 54 |
+
assert_type(np.char.ljust(AR_U, 5), npt.NDArray[np.str_])
|
| 55 |
+
assert_type(np.char.ljust(AR_S, [4, 3, 1], fillchar=[b"a", b"b", b"c"]), npt.NDArray[np.bytes_])
|
| 56 |
+
assert_type(np.char.rjust(AR_U, 5), npt.NDArray[np.str_])
|
| 57 |
+
assert_type(np.char.rjust(AR_S, [4, 3, 1], fillchar=[b"a", b"b", b"c"]), npt.NDArray[np.bytes_])
|
| 58 |
+
|
| 59 |
+
assert_type(np.char.lstrip(AR_U), npt.NDArray[np.str_])
|
| 60 |
+
assert_type(np.char.lstrip(AR_S, chars=b"_"), npt.NDArray[np.bytes_])
|
| 61 |
+
assert_type(np.char.rstrip(AR_U), npt.NDArray[np.str_])
|
| 62 |
+
assert_type(np.char.rstrip(AR_S, chars=b"_"), npt.NDArray[np.bytes_])
|
| 63 |
+
assert_type(np.char.strip(AR_U), npt.NDArray[np.str_])
|
| 64 |
+
assert_type(np.char.strip(AR_S, chars=b"_"), npt.NDArray[np.bytes_])
|
| 65 |
+
|
| 66 |
+
assert_type(np.char.partition(AR_U, "\n"), npt.NDArray[np.str_])
|
| 67 |
+
assert_type(np.char.partition(AR_S, [b"a", b"b", b"c"]), npt.NDArray[np.bytes_])
|
| 68 |
+
assert_type(np.char.rpartition(AR_U, "\n"), npt.NDArray[np.str_])
|
| 69 |
+
assert_type(np.char.rpartition(AR_S, [b"a", b"b", b"c"]), npt.NDArray[np.bytes_])
|
| 70 |
+
|
| 71 |
+
assert_type(np.char.replace(AR_U, "_", "-"), npt.NDArray[np.str_])
|
| 72 |
+
assert_type(np.char.replace(AR_S, [b"_", b""], [b"a", b"b"]), npt.NDArray[np.bytes_])
|
| 73 |
+
|
| 74 |
+
assert_type(np.char.split(AR_U, "_"), npt.NDArray[np.object_])
|
| 75 |
+
assert_type(np.char.split(AR_S, maxsplit=[1, 2, 3]), npt.NDArray[np.object_])
|
| 76 |
+
assert_type(np.char.rsplit(AR_U, "_"), npt.NDArray[np.object_])
|
| 77 |
+
assert_type(np.char.rsplit(AR_S, maxsplit=[1, 2, 3]), npt.NDArray[np.object_])
|
| 78 |
+
|
| 79 |
+
assert_type(np.char.splitlines(AR_U), npt.NDArray[np.object_])
|
| 80 |
+
assert_type(np.char.splitlines(AR_S, keepends=[True, True, False]), npt.NDArray[np.object_])
|
| 81 |
+
|
| 82 |
+
assert_type(np.char.swapcase(AR_U), npt.NDArray[np.str_])
|
| 83 |
+
assert_type(np.char.swapcase(AR_S), npt.NDArray[np.bytes_])
|
| 84 |
+
|
| 85 |
+
assert_type(np.char.title(AR_U), npt.NDArray[np.str_])
|
| 86 |
+
assert_type(np.char.title(AR_S), npt.NDArray[np.bytes_])
|
| 87 |
+
|
| 88 |
+
assert_type(np.char.upper(AR_U), npt.NDArray[np.str_])
|
| 89 |
+
assert_type(np.char.upper(AR_S), npt.NDArray[np.bytes_])
|
| 90 |
+
|
| 91 |
+
assert_type(np.char.zfill(AR_U, 5), npt.NDArray[np.str_])
|
| 92 |
+
assert_type(np.char.zfill(AR_S, [2, 3, 4]), npt.NDArray[np.bytes_])
|
| 93 |
+
|
| 94 |
+
assert_type(np.char.count(AR_U, "a", start=[1, 2, 3]), npt.NDArray[np.int_])
|
| 95 |
+
assert_type(np.char.count(AR_S, [b"a", b"b", b"c"], end=9), npt.NDArray[np.int_])
|
| 96 |
+
|
| 97 |
+
assert_type(np.char.endswith(AR_U, "a", start=[1, 2, 3]), npt.NDArray[np.bool_])
|
| 98 |
+
assert_type(np.char.endswith(AR_S, [b"a", b"b", b"c"], end=9), npt.NDArray[np.bool_])
|
| 99 |
+
assert_type(np.char.startswith(AR_U, "a", start=[1, 2, 3]), npt.NDArray[np.bool_])
|
| 100 |
+
assert_type(np.char.startswith(AR_S, [b"a", b"b", b"c"], end=9), npt.NDArray[np.bool_])
|
| 101 |
+
|
| 102 |
+
assert_type(np.char.find(AR_U, "a", start=[1, 2, 3]), npt.NDArray[np.int_])
|
| 103 |
+
assert_type(np.char.find(AR_S, [b"a", b"b", b"c"], end=9), npt.NDArray[np.int_])
|
| 104 |
+
assert_type(np.char.rfind(AR_U, "a", start=[1, 2, 3]), npt.NDArray[np.int_])
|
| 105 |
+
assert_type(np.char.rfind(AR_S, [b"a", b"b", b"c"], end=9), npt.NDArray[np.int_])
|
| 106 |
+
|
| 107 |
+
assert_type(np.char.index(AR_U, "a", start=[1, 2, 3]), npt.NDArray[np.int_])
|
| 108 |
+
assert_type(np.char.index(AR_S, [b"a", b"b", b"c"], end=9), npt.NDArray[np.int_])
|
| 109 |
+
assert_type(np.char.rindex(AR_U, "a", start=[1, 2, 3]), npt.NDArray[np.int_])
|
| 110 |
+
assert_type(np.char.rindex(AR_S, [b"a", b"b", b"c"], end=9), npt.NDArray[np.int_])
|
| 111 |
+
|
| 112 |
+
assert_type(np.char.isalpha(AR_U), npt.NDArray[np.bool_])
|
| 113 |
+
assert_type(np.char.isalpha(AR_S), npt.NDArray[np.bool_])
|
| 114 |
+
|
| 115 |
+
assert_type(np.char.isalnum(AR_U), npt.NDArray[np.bool_])
|
| 116 |
+
assert_type(np.char.isalnum(AR_S), npt.NDArray[np.bool_])
|
| 117 |
+
|
| 118 |
+
assert_type(np.char.isdecimal(AR_U), npt.NDArray[np.bool_])
|
| 119 |
+
assert_type(np.char.isdecimal(AR_S), npt.NDArray[np.bool_])
|
| 120 |
+
|
| 121 |
+
assert_type(np.char.isdigit(AR_U), npt.NDArray[np.bool_])
|
| 122 |
+
assert_type(np.char.isdigit(AR_S), npt.NDArray[np.bool_])
|
| 123 |
+
|
| 124 |
+
assert_type(np.char.islower(AR_U), npt.NDArray[np.bool_])
|
| 125 |
+
assert_type(np.char.islower(AR_S), npt.NDArray[np.bool_])
|
| 126 |
+
|
| 127 |
+
assert_type(np.char.isnumeric(AR_U), npt.NDArray[np.bool_])
|
| 128 |
+
assert_type(np.char.isnumeric(AR_S), npt.NDArray[np.bool_])
|
| 129 |
+
|
| 130 |
+
assert_type(np.char.isspace(AR_U), npt.NDArray[np.bool_])
|
| 131 |
+
assert_type(np.char.isspace(AR_S), npt.NDArray[np.bool_])
|
| 132 |
+
|
| 133 |
+
assert_type(np.char.istitle(AR_U), npt.NDArray[np.bool_])
|
| 134 |
+
assert_type(np.char.istitle(AR_S), npt.NDArray[np.bool_])
|
| 135 |
+
|
| 136 |
+
assert_type(np.char.isupper(AR_U), npt.NDArray[np.bool_])
|
| 137 |
+
assert_type(np.char.isupper(AR_S), npt.NDArray[np.bool_])
|
| 138 |
+
|
| 139 |
+
assert_type(np.char.str_len(AR_U), npt.NDArray[np.int_])
|
| 140 |
+
assert_type(np.char.str_len(AR_S), npt.NDArray[np.int_])
|
| 141 |
+
|
| 142 |
+
assert_type(np.char.array(AR_U), np.chararray[Any, np.dtype[np.str_]])
|
| 143 |
+
assert_type(np.char.array(AR_S, order="K"), np.chararray[Any, np.dtype[np.bytes_]])
|
| 144 |
+
assert_type(np.char.array("bob", copy=True), np.chararray[Any, np.dtype[np.str_]])
|
| 145 |
+
assert_type(np.char.array(b"bob", itemsize=5), np.chararray[Any, np.dtype[np.bytes_]])
|
| 146 |
+
assert_type(np.char.array(1, unicode=False), np.chararray[Any, np.dtype[np.bytes_]])
|
| 147 |
+
assert_type(np.char.array(1, unicode=True), np.chararray[Any, np.dtype[np.str_]])
|
| 148 |
+
|
| 149 |
+
assert_type(np.char.asarray(AR_U), np.chararray[Any, np.dtype[np.str_]])
|
| 150 |
+
assert_type(np.char.asarray(AR_S, order="K"), np.chararray[Any, np.dtype[np.bytes_]])
|
| 151 |
+
assert_type(np.char.asarray("bob"), np.chararray[Any, np.dtype[np.str_]])
|
| 152 |
+
assert_type(np.char.asarray(b"bob", itemsize=5), np.chararray[Any, np.dtype[np.bytes_]])
|
| 153 |
+
assert_type(np.char.asarray(1, unicode=False), np.chararray[Any, np.dtype[np.bytes_]])
|
| 154 |
+
assert_type(np.char.asarray(1, unicode=True), np.chararray[Any, np.dtype[np.str_]])
|
common/runtime/robodojo_support/numpy/typing/tests/data/reveal/chararray.pyi
ADDED
|
@@ -0,0 +1,140 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import sys
|
| 2 |
+
from typing import Any
|
| 3 |
+
|
| 4 |
+
import numpy as np
|
| 5 |
+
import numpy.typing as npt
|
| 6 |
+
|
| 7 |
+
if sys.version_info >= (3, 11):
|
| 8 |
+
from typing import assert_type
|
| 9 |
+
else:
|
| 10 |
+
from typing_extensions import assert_type
|
| 11 |
+
|
| 12 |
+
AR_U: np.chararray[Any, np.dtype[np.str_]]
|
| 13 |
+
AR_S: np.chararray[Any, np.dtype[np.bytes_]]
|
| 14 |
+
|
| 15 |
+
assert_type(AR_U == AR_U, npt.NDArray[np.bool_])
|
| 16 |
+
assert_type(AR_S == AR_S, npt.NDArray[np.bool_])
|
| 17 |
+
|
| 18 |
+
assert_type(AR_U != AR_U, npt.NDArray[np.bool_])
|
| 19 |
+
assert_type(AR_S != AR_S, npt.NDArray[np.bool_])
|
| 20 |
+
|
| 21 |
+
assert_type(AR_U >= AR_U, npt.NDArray[np.bool_])
|
| 22 |
+
assert_type(AR_S >= AR_S, npt.NDArray[np.bool_])
|
| 23 |
+
|
| 24 |
+
assert_type(AR_U <= AR_U, npt.NDArray[np.bool_])
|
| 25 |
+
assert_type(AR_S <= AR_S, npt.NDArray[np.bool_])
|
| 26 |
+
|
| 27 |
+
assert_type(AR_U > AR_U, npt.NDArray[np.bool_])
|
| 28 |
+
assert_type(AR_S > AR_S, npt.NDArray[np.bool_])
|
| 29 |
+
|
| 30 |
+
assert_type(AR_U < AR_U, npt.NDArray[np.bool_])
|
| 31 |
+
assert_type(AR_S < AR_S, npt.NDArray[np.bool_])
|
| 32 |
+
|
| 33 |
+
assert_type(AR_U * 5, np.chararray[Any, np.dtype[np.str_]])
|
| 34 |
+
assert_type(AR_S * [5], np.chararray[Any, np.dtype[np.bytes_]])
|
| 35 |
+
|
| 36 |
+
assert_type(AR_U % "test", np.chararray[Any, np.dtype[np.str_]])
|
| 37 |
+
assert_type(AR_S % b"test", np.chararray[Any, np.dtype[np.bytes_]])
|
| 38 |
+
|
| 39 |
+
assert_type(AR_U.capitalize(), np.chararray[Any, np.dtype[np.str_]])
|
| 40 |
+
assert_type(AR_S.capitalize(), np.chararray[Any, np.dtype[np.bytes_]])
|
| 41 |
+
|
| 42 |
+
assert_type(AR_U.center(5), np.chararray[Any, np.dtype[np.str_]])
|
| 43 |
+
assert_type(AR_S.center([2, 3, 4], b"a"), np.chararray[Any, np.dtype[np.bytes_]])
|
| 44 |
+
|
| 45 |
+
assert_type(AR_U.encode(), np.chararray[Any, np.dtype[np.bytes_]])
|
| 46 |
+
assert_type(AR_S.decode(), np.chararray[Any, np.dtype[np.str_]])
|
| 47 |
+
|
| 48 |
+
assert_type(AR_U.expandtabs(), np.chararray[Any, np.dtype[np.str_]])
|
| 49 |
+
assert_type(AR_S.expandtabs(tabsize=4), np.chararray[Any, np.dtype[np.bytes_]])
|
| 50 |
+
|
| 51 |
+
assert_type(AR_U.join("_"), np.chararray[Any, np.dtype[np.str_]])
|
| 52 |
+
assert_type(AR_S.join([b"_", b""]), np.chararray[Any, np.dtype[np.bytes_]])
|
| 53 |
+
|
| 54 |
+
assert_type(AR_U.ljust(5), np.chararray[Any, np.dtype[np.str_]])
|
| 55 |
+
assert_type(AR_S.ljust([4, 3, 1], fillchar=[b"a", b"b", b"c"]), np.chararray[Any, np.dtype[np.bytes_]])
|
| 56 |
+
assert_type(AR_U.rjust(5), np.chararray[Any, np.dtype[np.str_]])
|
| 57 |
+
assert_type(AR_S.rjust([4, 3, 1], fillchar=[b"a", b"b", b"c"]), np.chararray[Any, np.dtype[np.bytes_]])
|
| 58 |
+
|
| 59 |
+
assert_type(AR_U.lstrip(), np.chararray[Any, np.dtype[np.str_]])
|
| 60 |
+
assert_type(AR_S.lstrip(chars=b"_"), np.chararray[Any, np.dtype[np.bytes_]])
|
| 61 |
+
assert_type(AR_U.rstrip(), np.chararray[Any, np.dtype[np.str_]])
|
| 62 |
+
assert_type(AR_S.rstrip(chars=b"_"), np.chararray[Any, np.dtype[np.bytes_]])
|
| 63 |
+
assert_type(AR_U.strip(), np.chararray[Any, np.dtype[np.str_]])
|
| 64 |
+
assert_type(AR_S.strip(chars=b"_"), np.chararray[Any, np.dtype[np.bytes_]])
|
| 65 |
+
|
| 66 |
+
assert_type(AR_U.partition("\n"), np.chararray[Any, np.dtype[np.str_]])
|
| 67 |
+
assert_type(AR_S.partition([b"a", b"b", b"c"]), np.chararray[Any, np.dtype[np.bytes_]])
|
| 68 |
+
assert_type(AR_U.rpartition("\n"), np.chararray[Any, np.dtype[np.str_]])
|
| 69 |
+
assert_type(AR_S.rpartition([b"a", b"b", b"c"]), np.chararray[Any, np.dtype[np.bytes_]])
|
| 70 |
+
|
| 71 |
+
assert_type(AR_U.replace("_", "-"), np.chararray[Any, np.dtype[np.str_]])
|
| 72 |
+
assert_type(AR_S.replace([b"_", b""], [b"a", b"b"]), np.chararray[Any, np.dtype[np.bytes_]])
|
| 73 |
+
|
| 74 |
+
assert_type(AR_U.split("_"), npt.NDArray[np.object_])
|
| 75 |
+
assert_type(AR_S.split(maxsplit=[1, 2, 3]), npt.NDArray[np.object_])
|
| 76 |
+
assert_type(AR_U.rsplit("_"), npt.NDArray[np.object_])
|
| 77 |
+
assert_type(AR_S.rsplit(maxsplit=[1, 2, 3]), npt.NDArray[np.object_])
|
| 78 |
+
|
| 79 |
+
assert_type(AR_U.splitlines(), npt.NDArray[np.object_])
|
| 80 |
+
assert_type(AR_S.splitlines(keepends=[True, True, False]), npt.NDArray[np.object_])
|
| 81 |
+
|
| 82 |
+
assert_type(AR_U.swapcase(), np.chararray[Any, np.dtype[np.str_]])
|
| 83 |
+
assert_type(AR_S.swapcase(), np.chararray[Any, np.dtype[np.bytes_]])
|
| 84 |
+
|
| 85 |
+
assert_type(AR_U.title(), np.chararray[Any, np.dtype[np.str_]])
|
| 86 |
+
assert_type(AR_S.title(), np.chararray[Any, np.dtype[np.bytes_]])
|
| 87 |
+
|
| 88 |
+
assert_type(AR_U.upper(), np.chararray[Any, np.dtype[np.str_]])
|
| 89 |
+
assert_type(AR_S.upper(), np.chararray[Any, np.dtype[np.bytes_]])
|
| 90 |
+
|
| 91 |
+
assert_type(AR_U.zfill(5), np.chararray[Any, np.dtype[np.str_]])
|
| 92 |
+
assert_type(AR_S.zfill([2, 3, 4]), np.chararray[Any, np.dtype[np.bytes_]])
|
| 93 |
+
|
| 94 |
+
assert_type(AR_U.count("a", start=[1, 2, 3]), npt.NDArray[np.int_])
|
| 95 |
+
assert_type(AR_S.count([b"a", b"b", b"c"], end=9), npt.NDArray[np.int_])
|
| 96 |
+
|
| 97 |
+
assert_type(AR_U.endswith("a", start=[1, 2, 3]), npt.NDArray[np.bool_])
|
| 98 |
+
assert_type(AR_S.endswith([b"a", b"b", b"c"], end=9), npt.NDArray[np.bool_])
|
| 99 |
+
assert_type(AR_U.startswith("a", start=[1, 2, 3]), npt.NDArray[np.bool_])
|
| 100 |
+
assert_type(AR_S.startswith([b"a", b"b", b"c"], end=9), npt.NDArray[np.bool_])
|
| 101 |
+
|
| 102 |
+
assert_type(AR_U.find("a", start=[1, 2, 3]), npt.NDArray[np.int_])
|
| 103 |
+
assert_type(AR_S.find([b"a", b"b", b"c"], end=9), npt.NDArray[np.int_])
|
| 104 |
+
assert_type(AR_U.rfind("a", start=[1, 2, 3]), npt.NDArray[np.int_])
|
| 105 |
+
assert_type(AR_S.rfind([b"a", b"b", b"c"], end=9), npt.NDArray[np.int_])
|
| 106 |
+
|
| 107 |
+
assert_type(AR_U.index("a", start=[1, 2, 3]), npt.NDArray[np.int_])
|
| 108 |
+
assert_type(AR_S.index([b"a", b"b", b"c"], end=9), npt.NDArray[np.int_])
|
| 109 |
+
assert_type(AR_U.rindex("a", start=[1, 2, 3]), npt.NDArray[np.int_])
|
| 110 |
+
assert_type(AR_S.rindex([b"a", b"b", b"c"], end=9), npt.NDArray[np.int_])
|
| 111 |
+
|
| 112 |
+
assert_type(AR_U.isalpha(), npt.NDArray[np.bool_])
|
| 113 |
+
assert_type(AR_S.isalpha(), npt.NDArray[np.bool_])
|
| 114 |
+
|
| 115 |
+
assert_type(AR_U.isalnum(), npt.NDArray[np.bool_])
|
| 116 |
+
assert_type(AR_S.isalnum(), npt.NDArray[np.bool_])
|
| 117 |
+
|
| 118 |
+
assert_type(AR_U.isdecimal(), npt.NDArray[np.bool_])
|
| 119 |
+
assert_type(AR_S.isdecimal(), npt.NDArray[np.bool_])
|
| 120 |
+
|
| 121 |
+
assert_type(AR_U.isdigit(), npt.NDArray[np.bool_])
|
| 122 |
+
assert_type(AR_S.isdigit(), npt.NDArray[np.bool_])
|
| 123 |
+
|
| 124 |
+
assert_type(AR_U.islower(), npt.NDArray[np.bool_])
|
| 125 |
+
assert_type(AR_S.islower(), npt.NDArray[np.bool_])
|
| 126 |
+
|
| 127 |
+
assert_type(AR_U.isnumeric(), npt.NDArray[np.bool_])
|
| 128 |
+
assert_type(AR_S.isnumeric(), npt.NDArray[np.bool_])
|
| 129 |
+
|
| 130 |
+
assert_type(AR_U.isspace(), npt.NDArray[np.bool_])
|
| 131 |
+
assert_type(AR_S.isspace(), npt.NDArray[np.bool_])
|
| 132 |
+
|
| 133 |
+
assert_type(AR_U.istitle(), npt.NDArray[np.bool_])
|
| 134 |
+
assert_type(AR_S.istitle(), npt.NDArray[np.bool_])
|
| 135 |
+
|
| 136 |
+
assert_type(AR_U.isupper(), npt.NDArray[np.bool_])
|
| 137 |
+
assert_type(AR_S.isupper(), npt.NDArray[np.bool_])
|
| 138 |
+
|
| 139 |
+
assert_type(AR_U.__array_finalize__(object()), None)
|
| 140 |
+
assert_type(AR_S.__array_finalize__(object()), None)
|
common/runtime/robodojo_support/numpy/typing/tests/data/reveal/comparisons.pyi
ADDED
|
@@ -0,0 +1,270 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import sys
|
| 2 |
+
import fractions
|
| 3 |
+
import decimal
|
| 4 |
+
from typing import Any
|
| 5 |
+
|
| 6 |
+
import numpy as np
|
| 7 |
+
import numpy.typing as npt
|
| 8 |
+
|
| 9 |
+
if sys.version_info >= (3, 11):
|
| 10 |
+
from typing import assert_type
|
| 11 |
+
else:
|
| 12 |
+
from typing_extensions import assert_type
|
| 13 |
+
|
| 14 |
+
c16 = np.complex128()
|
| 15 |
+
f8 = np.float64()
|
| 16 |
+
i8 = np.int64()
|
| 17 |
+
u8 = np.uint64()
|
| 18 |
+
|
| 19 |
+
c8 = np.complex64()
|
| 20 |
+
f4 = np.float32()
|
| 21 |
+
i4 = np.int32()
|
| 22 |
+
u4 = np.uint32()
|
| 23 |
+
|
| 24 |
+
dt = np.datetime64(0, "D")
|
| 25 |
+
td = np.timedelta64(0, "D")
|
| 26 |
+
|
| 27 |
+
b_ = np.bool_()
|
| 28 |
+
|
| 29 |
+
b = bool()
|
| 30 |
+
c = complex()
|
| 31 |
+
f = float()
|
| 32 |
+
i = int()
|
| 33 |
+
|
| 34 |
+
AR = np.array([0], dtype=np.int64)
|
| 35 |
+
AR.setflags(write=False)
|
| 36 |
+
|
| 37 |
+
SEQ = (0, 1, 2, 3, 4)
|
| 38 |
+
|
| 39 |
+
# object-like comparisons
|
| 40 |
+
|
| 41 |
+
assert_type(i8 > fractions.Fraction(1, 5), Any)
|
| 42 |
+
assert_type(i8 > [fractions.Fraction(1, 5)], Any)
|
| 43 |
+
assert_type(i8 > decimal.Decimal("1.5"), Any)
|
| 44 |
+
assert_type(i8 > [decimal.Decimal("1.5")], Any)
|
| 45 |
+
|
| 46 |
+
# Time structures
|
| 47 |
+
|
| 48 |
+
assert_type(dt > dt, np.bool_)
|
| 49 |
+
|
| 50 |
+
assert_type(td > td, np.bool_)
|
| 51 |
+
assert_type(td > i, np.bool_)
|
| 52 |
+
assert_type(td > i4, np.bool_)
|
| 53 |
+
assert_type(td > i8, np.bool_)
|
| 54 |
+
|
| 55 |
+
assert_type(td > AR, npt.NDArray[np.bool_])
|
| 56 |
+
assert_type(td > SEQ, npt.NDArray[np.bool_])
|
| 57 |
+
assert_type(AR > SEQ, npt.NDArray[np.bool_])
|
| 58 |
+
assert_type(AR > td, npt.NDArray[np.bool_])
|
| 59 |
+
assert_type(SEQ > td, npt.NDArray[np.bool_])
|
| 60 |
+
assert_type(SEQ > AR, npt.NDArray[np.bool_])
|
| 61 |
+
|
| 62 |
+
# boolean
|
| 63 |
+
|
| 64 |
+
assert_type(b_ > b, np.bool_)
|
| 65 |
+
assert_type(b_ > b_, np.bool_)
|
| 66 |
+
assert_type(b_ > i, np.bool_)
|
| 67 |
+
assert_type(b_ > i8, np.bool_)
|
| 68 |
+
assert_type(b_ > i4, np.bool_)
|
| 69 |
+
assert_type(b_ > u8, np.bool_)
|
| 70 |
+
assert_type(b_ > u4, np.bool_)
|
| 71 |
+
assert_type(b_ > f, np.bool_)
|
| 72 |
+
assert_type(b_ > f8, np.bool_)
|
| 73 |
+
assert_type(b_ > f4, np.bool_)
|
| 74 |
+
assert_type(b_ > c, np.bool_)
|
| 75 |
+
assert_type(b_ > c16, np.bool_)
|
| 76 |
+
assert_type(b_ > c8, np.bool_)
|
| 77 |
+
assert_type(b_ > AR, npt.NDArray[np.bool_])
|
| 78 |
+
assert_type(b_ > SEQ, npt.NDArray[np.bool_])
|
| 79 |
+
|
| 80 |
+
# Complex
|
| 81 |
+
|
| 82 |
+
assert_type(c16 > c16, np.bool_)
|
| 83 |
+
assert_type(c16 > f8, np.bool_)
|
| 84 |
+
assert_type(c16 > i8, np.bool_)
|
| 85 |
+
assert_type(c16 > c8, np.bool_)
|
| 86 |
+
assert_type(c16 > f4, np.bool_)
|
| 87 |
+
assert_type(c16 > i4, np.bool_)
|
| 88 |
+
assert_type(c16 > b_, np.bool_)
|
| 89 |
+
assert_type(c16 > b, np.bool_)
|
| 90 |
+
assert_type(c16 > c, np.bool_)
|
| 91 |
+
assert_type(c16 > f, np.bool_)
|
| 92 |
+
assert_type(c16 > i, np.bool_)
|
| 93 |
+
assert_type(c16 > AR, npt.NDArray[np.bool_])
|
| 94 |
+
assert_type(c16 > SEQ, npt.NDArray[np.bool_])
|
| 95 |
+
|
| 96 |
+
assert_type(c16 > c16, np.bool_)
|
| 97 |
+
assert_type(f8 > c16, np.bool_)
|
| 98 |
+
assert_type(i8 > c16, np.bool_)
|
| 99 |
+
assert_type(c8 > c16, np.bool_)
|
| 100 |
+
assert_type(f4 > c16, np.bool_)
|
| 101 |
+
assert_type(i4 > c16, np.bool_)
|
| 102 |
+
assert_type(b_ > c16, np.bool_)
|
| 103 |
+
assert_type(b > c16, np.bool_)
|
| 104 |
+
assert_type(c > c16, np.bool_)
|
| 105 |
+
assert_type(f > c16, np.bool_)
|
| 106 |
+
assert_type(i > c16, np.bool_)
|
| 107 |
+
assert_type(AR > c16, npt.NDArray[np.bool_])
|
| 108 |
+
assert_type(SEQ > c16, npt.NDArray[np.bool_])
|
| 109 |
+
|
| 110 |
+
assert_type(c8 > c16, np.bool_)
|
| 111 |
+
assert_type(c8 > f8, np.bool_)
|
| 112 |
+
assert_type(c8 > i8, np.bool_)
|
| 113 |
+
assert_type(c8 > c8, np.bool_)
|
| 114 |
+
assert_type(c8 > f4, np.bool_)
|
| 115 |
+
assert_type(c8 > i4, np.bool_)
|
| 116 |
+
assert_type(c8 > b_, np.bool_)
|
| 117 |
+
assert_type(c8 > b, np.bool_)
|
| 118 |
+
assert_type(c8 > c, np.bool_)
|
| 119 |
+
assert_type(c8 > f, np.bool_)
|
| 120 |
+
assert_type(c8 > i, np.bool_)
|
| 121 |
+
assert_type(c8 > AR, npt.NDArray[np.bool_])
|
| 122 |
+
assert_type(c8 > SEQ, npt.NDArray[np.bool_])
|
| 123 |
+
|
| 124 |
+
assert_type(c16 > c8, np.bool_)
|
| 125 |
+
assert_type(f8 > c8, np.bool_)
|
| 126 |
+
assert_type(i8 > c8, np.bool_)
|
| 127 |
+
assert_type(c8 > c8, np.bool_)
|
| 128 |
+
assert_type(f4 > c8, np.bool_)
|
| 129 |
+
assert_type(i4 > c8, np.bool_)
|
| 130 |
+
assert_type(b_ > c8, np.bool_)
|
| 131 |
+
assert_type(b > c8, np.bool_)
|
| 132 |
+
assert_type(c > c8, np.bool_)
|
| 133 |
+
assert_type(f > c8, np.bool_)
|
| 134 |
+
assert_type(i > c8, np.bool_)
|
| 135 |
+
assert_type(AR > c8, npt.NDArray[np.bool_])
|
| 136 |
+
assert_type(SEQ > c8, npt.NDArray[np.bool_])
|
| 137 |
+
|
| 138 |
+
# Float
|
| 139 |
+
|
| 140 |
+
assert_type(f8 > f8, np.bool_)
|
| 141 |
+
assert_type(f8 > i8, np.bool_)
|
| 142 |
+
assert_type(f8 > f4, np.bool_)
|
| 143 |
+
assert_type(f8 > i4, np.bool_)
|
| 144 |
+
assert_type(f8 > b_, np.bool_)
|
| 145 |
+
assert_type(f8 > b, np.bool_)
|
| 146 |
+
assert_type(f8 > c, np.bool_)
|
| 147 |
+
assert_type(f8 > f, np.bool_)
|
| 148 |
+
assert_type(f8 > i, np.bool_)
|
| 149 |
+
assert_type(f8 > AR, npt.NDArray[np.bool_])
|
| 150 |
+
assert_type(f8 > SEQ, npt.NDArray[np.bool_])
|
| 151 |
+
|
| 152 |
+
assert_type(f8 > f8, np.bool_)
|
| 153 |
+
assert_type(i8 > f8, np.bool_)
|
| 154 |
+
assert_type(f4 > f8, np.bool_)
|
| 155 |
+
assert_type(i4 > f8, np.bool_)
|
| 156 |
+
assert_type(b_ > f8, np.bool_)
|
| 157 |
+
assert_type(b > f8, np.bool_)
|
| 158 |
+
assert_type(c > f8, np.bool_)
|
| 159 |
+
assert_type(f > f8, np.bool_)
|
| 160 |
+
assert_type(i > f8, np.bool_)
|
| 161 |
+
assert_type(AR > f8, npt.NDArray[np.bool_])
|
| 162 |
+
assert_type(SEQ > f8, npt.NDArray[np.bool_])
|
| 163 |
+
|
| 164 |
+
assert_type(f4 > f8, np.bool_)
|
| 165 |
+
assert_type(f4 > i8, np.bool_)
|
| 166 |
+
assert_type(f4 > f4, np.bool_)
|
| 167 |
+
assert_type(f4 > i4, np.bool_)
|
| 168 |
+
assert_type(f4 > b_, np.bool_)
|
| 169 |
+
assert_type(f4 > b, np.bool_)
|
| 170 |
+
assert_type(f4 > c, np.bool_)
|
| 171 |
+
assert_type(f4 > f, np.bool_)
|
| 172 |
+
assert_type(f4 > i, np.bool_)
|
| 173 |
+
assert_type(f4 > AR, npt.NDArray[np.bool_])
|
| 174 |
+
assert_type(f4 > SEQ, npt.NDArray[np.bool_])
|
| 175 |
+
|
| 176 |
+
assert_type(f8 > f4, np.bool_)
|
| 177 |
+
assert_type(i8 > f4, np.bool_)
|
| 178 |
+
assert_type(f4 > f4, np.bool_)
|
| 179 |
+
assert_type(i4 > f4, np.bool_)
|
| 180 |
+
assert_type(b_ > f4, np.bool_)
|
| 181 |
+
assert_type(b > f4, np.bool_)
|
| 182 |
+
assert_type(c > f4, np.bool_)
|
| 183 |
+
assert_type(f > f4, np.bool_)
|
| 184 |
+
assert_type(i > f4, np.bool_)
|
| 185 |
+
assert_type(AR > f4, npt.NDArray[np.bool_])
|
| 186 |
+
assert_type(SEQ > f4, npt.NDArray[np.bool_])
|
| 187 |
+
|
| 188 |
+
# Int
|
| 189 |
+
|
| 190 |
+
assert_type(i8 > i8, np.bool_)
|
| 191 |
+
assert_type(i8 > u8, np.bool_)
|
| 192 |
+
assert_type(i8 > i4, np.bool_)
|
| 193 |
+
assert_type(i8 > u4, np.bool_)
|
| 194 |
+
assert_type(i8 > b_, np.bool_)
|
| 195 |
+
assert_type(i8 > b, np.bool_)
|
| 196 |
+
assert_type(i8 > c, np.bool_)
|
| 197 |
+
assert_type(i8 > f, np.bool_)
|
| 198 |
+
assert_type(i8 > i, np.bool_)
|
| 199 |
+
assert_type(i8 > AR, npt.NDArray[np.bool_])
|
| 200 |
+
assert_type(i8 > SEQ, npt.NDArray[np.bool_])
|
| 201 |
+
|
| 202 |
+
assert_type(u8 > u8, np.bool_)
|
| 203 |
+
assert_type(u8 > i4, np.bool_)
|
| 204 |
+
assert_type(u8 > u4, np.bool_)
|
| 205 |
+
assert_type(u8 > b_, np.bool_)
|
| 206 |
+
assert_type(u8 > b, np.bool_)
|
| 207 |
+
assert_type(u8 > c, np.bool_)
|
| 208 |
+
assert_type(u8 > f, np.bool_)
|
| 209 |
+
assert_type(u8 > i, np.bool_)
|
| 210 |
+
assert_type(u8 > AR, npt.NDArray[np.bool_])
|
| 211 |
+
assert_type(u8 > SEQ, npt.NDArray[np.bool_])
|
| 212 |
+
|
| 213 |
+
assert_type(i8 > i8, np.bool_)
|
| 214 |
+
assert_type(u8 > i8, np.bool_)
|
| 215 |
+
assert_type(i4 > i8, np.bool_)
|
| 216 |
+
assert_type(u4 > i8, np.bool_)
|
| 217 |
+
assert_type(b_ > i8, np.bool_)
|
| 218 |
+
assert_type(b > i8, np.bool_)
|
| 219 |
+
assert_type(c > i8, np.bool_)
|
| 220 |
+
assert_type(f > i8, np.bool_)
|
| 221 |
+
assert_type(i > i8, np.bool_)
|
| 222 |
+
assert_type(AR > i8, npt.NDArray[np.bool_])
|
| 223 |
+
assert_type(SEQ > i8, npt.NDArray[np.bool_])
|
| 224 |
+
|
| 225 |
+
assert_type(u8 > u8, np.bool_)
|
| 226 |
+
assert_type(i4 > u8, np.bool_)
|
| 227 |
+
assert_type(u4 > u8, np.bool_)
|
| 228 |
+
assert_type(b_ > u8, np.bool_)
|
| 229 |
+
assert_type(b > u8, np.bool_)
|
| 230 |
+
assert_type(c > u8, np.bool_)
|
| 231 |
+
assert_type(f > u8, np.bool_)
|
| 232 |
+
assert_type(i > u8, np.bool_)
|
| 233 |
+
assert_type(AR > u8, npt.NDArray[np.bool_])
|
| 234 |
+
assert_type(SEQ > u8, npt.NDArray[np.bool_])
|
| 235 |
+
|
| 236 |
+
assert_type(i4 > i8, np.bool_)
|
| 237 |
+
assert_type(i4 > i4, np.bool_)
|
| 238 |
+
assert_type(i4 > i, np.bool_)
|
| 239 |
+
assert_type(i4 > b_, np.bool_)
|
| 240 |
+
assert_type(i4 > b, np.bool_)
|
| 241 |
+
assert_type(i4 > AR, npt.NDArray[np.bool_])
|
| 242 |
+
assert_type(i4 > SEQ, npt.NDArray[np.bool_])
|
| 243 |
+
|
| 244 |
+
assert_type(u4 > i8, np.bool_)
|
| 245 |
+
assert_type(u4 > i4, np.bool_)
|
| 246 |
+
assert_type(u4 > u8, np.bool_)
|
| 247 |
+
assert_type(u4 > u4, np.bool_)
|
| 248 |
+
assert_type(u4 > i, np.bool_)
|
| 249 |
+
assert_type(u4 > b_, np.bool_)
|
| 250 |
+
assert_type(u4 > b, np.bool_)
|
| 251 |
+
assert_type(u4 > AR, npt.NDArray[np.bool_])
|
| 252 |
+
assert_type(u4 > SEQ, npt.NDArray[np.bool_])
|
| 253 |
+
|
| 254 |
+
assert_type(i8 > i4, np.bool_)
|
| 255 |
+
assert_type(i4 > i4, np.bool_)
|
| 256 |
+
assert_type(i > i4, np.bool_)
|
| 257 |
+
assert_type(b_ > i4, np.bool_)
|
| 258 |
+
assert_type(b > i4, np.bool_)
|
| 259 |
+
assert_type(AR > i4, npt.NDArray[np.bool_])
|
| 260 |
+
assert_type(SEQ > i4, npt.NDArray[np.bool_])
|
| 261 |
+
|
| 262 |
+
assert_type(i8 > u4, np.bool_)
|
| 263 |
+
assert_type(i4 > u4, np.bool_)
|
| 264 |
+
assert_type(u8 > u4, np.bool_)
|
| 265 |
+
assert_type(u4 > u4, np.bool_)
|
| 266 |
+
assert_type(b_ > u4, np.bool_)
|
| 267 |
+
assert_type(b > u4, np.bool_)
|
| 268 |
+
assert_type(i > u4, np.bool_)
|
| 269 |
+
assert_type(AR > u4, npt.NDArray[np.bool_])
|
| 270 |
+
assert_type(SEQ > u4, npt.NDArray[np.bool_])
|
common/runtime/robodojo_support/numpy/typing/tests/data/reveal/constants.pyi
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import sys
|
| 2 |
+
from typing import Literal
|
| 3 |
+
|
| 4 |
+
import numpy as np
|
| 5 |
+
from numpy.core._type_aliases import _SCTypes
|
| 6 |
+
|
| 7 |
+
if sys.version_info >= (3, 11):
|
| 8 |
+
from typing import assert_type
|
| 9 |
+
else:
|
| 10 |
+
from typing_extensions import assert_type
|
| 11 |
+
|
| 12 |
+
assert_type(np.Inf, float)
|
| 13 |
+
assert_type(np.Infinity, float)
|
| 14 |
+
assert_type(np.NAN, float)
|
| 15 |
+
assert_type(np.NINF, float)
|
| 16 |
+
assert_type(np.NZERO, float)
|
| 17 |
+
assert_type(np.NaN, float)
|
| 18 |
+
assert_type(np.PINF, float)
|
| 19 |
+
assert_type(np.PZERO, float)
|
| 20 |
+
assert_type(np.e, float)
|
| 21 |
+
assert_type(np.euler_gamma, float)
|
| 22 |
+
assert_type(np.inf, float)
|
| 23 |
+
assert_type(np.infty, float)
|
| 24 |
+
assert_type(np.nan, float)
|
| 25 |
+
assert_type(np.pi, float)
|
| 26 |
+
|
| 27 |
+
assert_type(np.ALLOW_THREADS, int)
|
| 28 |
+
assert_type(np.BUFSIZE, Literal[8192])
|
| 29 |
+
assert_type(np.CLIP, Literal[0])
|
| 30 |
+
assert_type(np.ERR_CALL, Literal[3])
|
| 31 |
+
assert_type(np.ERR_DEFAULT, Literal[521])
|
| 32 |
+
assert_type(np.ERR_IGNORE, Literal[0])
|
| 33 |
+
assert_type(np.ERR_LOG, Literal[5])
|
| 34 |
+
assert_type(np.ERR_PRINT, Literal[4])
|
| 35 |
+
assert_type(np.ERR_RAISE, Literal[2])
|
| 36 |
+
assert_type(np.ERR_WARN, Literal[1])
|
| 37 |
+
assert_type(np.FLOATING_POINT_SUPPORT, Literal[1])
|
| 38 |
+
assert_type(np.FPE_DIVIDEBYZERO, Literal[1])
|
| 39 |
+
assert_type(np.FPE_INVALID, Literal[8])
|
| 40 |
+
assert_type(np.FPE_OVERFLOW, Literal[2])
|
| 41 |
+
assert_type(np.FPE_UNDERFLOW, Literal[4])
|
| 42 |
+
assert_type(np.MAXDIMS, Literal[32])
|
| 43 |
+
assert_type(np.MAY_SHARE_BOUNDS, Literal[0])
|
| 44 |
+
assert_type(np.MAY_SHARE_EXACT, Literal[-1])
|
| 45 |
+
assert_type(np.RAISE, Literal[2])
|
| 46 |
+
assert_type(np.SHIFT_DIVIDEBYZERO, Literal[0])
|
| 47 |
+
assert_type(np.SHIFT_INVALID, Literal[9])
|
| 48 |
+
assert_type(np.SHIFT_OVERFLOW, Literal[3])
|
| 49 |
+
assert_type(np.SHIFT_UNDERFLOW, Literal[6])
|
| 50 |
+
assert_type(np.UFUNC_BUFSIZE_DEFAULT, Literal[8192])
|
| 51 |
+
assert_type(np.WRAP, Literal[1])
|
| 52 |
+
assert_type(np.tracemalloc_domain, Literal[389047])
|
| 53 |
+
|
| 54 |
+
assert_type(np.little_endian, bool)
|
| 55 |
+
assert_type(np.True_, np.bool_)
|
| 56 |
+
assert_type(np.False_, np.bool_)
|
| 57 |
+
|
| 58 |
+
assert_type(np.UFUNC_PYVALS_NAME, Literal["UFUNC_PYVALS"])
|
| 59 |
+
|
| 60 |
+
assert_type(np.sctypeDict, dict[int | str, type[np.generic]])
|
| 61 |
+
assert_type(np.sctypes, _SCTypes)
|
common/runtime/robodojo_support/numpy/typing/tests/data/reveal/ctypeslib.pyi
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import sys
|
| 2 |
+
import ctypes as ct
|
| 3 |
+
from typing import Any
|
| 4 |
+
|
| 5 |
+
import numpy as np
|
| 6 |
+
import numpy.typing as npt
|
| 7 |
+
from numpy import ctypeslib
|
| 8 |
+
|
| 9 |
+
if sys.version_info >= (3, 11):
|
| 10 |
+
from typing import assert_type
|
| 11 |
+
else:
|
| 12 |
+
from typing_extensions import assert_type
|
| 13 |
+
|
| 14 |
+
AR_bool: npt.NDArray[np.bool_]
|
| 15 |
+
AR_ubyte: npt.NDArray[np.ubyte]
|
| 16 |
+
AR_ushort: npt.NDArray[np.ushort]
|
| 17 |
+
AR_uintc: npt.NDArray[np.uintc]
|
| 18 |
+
AR_uint: npt.NDArray[np.uint]
|
| 19 |
+
AR_ulonglong: npt.NDArray[np.ulonglong]
|
| 20 |
+
AR_byte: npt.NDArray[np.byte]
|
| 21 |
+
AR_short: npt.NDArray[np.short]
|
| 22 |
+
AR_intc: npt.NDArray[np.intc]
|
| 23 |
+
AR_int: npt.NDArray[np.int_]
|
| 24 |
+
AR_longlong: npt.NDArray[np.longlong]
|
| 25 |
+
AR_single: npt.NDArray[np.single]
|
| 26 |
+
AR_double: npt.NDArray[np.double]
|
| 27 |
+
AR_longdouble: npt.NDArray[np.longdouble]
|
| 28 |
+
AR_void: npt.NDArray[np.void]
|
| 29 |
+
|
| 30 |
+
pointer: ct._Pointer[Any]
|
| 31 |
+
|
| 32 |
+
assert_type(np.ctypeslib.c_intp(), ctypeslib.c_intp)
|
| 33 |
+
|
| 34 |
+
assert_type(np.ctypeslib.ndpointer(), type[ctypeslib._ndptr[None]])
|
| 35 |
+
assert_type(np.ctypeslib.ndpointer(dtype=np.float64), type[ctypeslib._ndptr[np.dtype[np.float64]]])
|
| 36 |
+
assert_type(np.ctypeslib.ndpointer(dtype=float), type[ctypeslib._ndptr[np.dtype[Any]]])
|
| 37 |
+
assert_type(np.ctypeslib.ndpointer(shape=(10, 3)), type[ctypeslib._ndptr[None]])
|
| 38 |
+
assert_type(np.ctypeslib.ndpointer(np.int64, shape=(10, 3)), type[ctypeslib._concrete_ndptr[np.dtype[np.int64]]])
|
| 39 |
+
assert_type(np.ctypeslib.ndpointer(int, shape=(1,)), type[np.ctypeslib._concrete_ndptr[np.dtype[Any]]])
|
| 40 |
+
|
| 41 |
+
assert_type(np.ctypeslib.as_ctypes_type(np.bool_), type[ct.c_bool])
|
| 42 |
+
assert_type(np.ctypeslib.as_ctypes_type(np.ubyte), type[ct.c_ubyte])
|
| 43 |
+
assert_type(np.ctypeslib.as_ctypes_type(np.ushort), type[ct.c_ushort])
|
| 44 |
+
assert_type(np.ctypeslib.as_ctypes_type(np.uintc), type[ct.c_uint])
|
| 45 |
+
assert_type(np.ctypeslib.as_ctypes_type(np.byte), type[ct.c_byte])
|
| 46 |
+
assert_type(np.ctypeslib.as_ctypes_type(np.short), type[ct.c_short])
|
| 47 |
+
assert_type(np.ctypeslib.as_ctypes_type(np.intc), type[ct.c_int])
|
| 48 |
+
assert_type(np.ctypeslib.as_ctypes_type(np.single), type[ct.c_float])
|
| 49 |
+
assert_type(np.ctypeslib.as_ctypes_type(np.double), type[ct.c_double])
|
| 50 |
+
assert_type(np.ctypeslib.as_ctypes_type(ct.c_double), type[ct.c_double])
|
| 51 |
+
assert_type(np.ctypeslib.as_ctypes_type("q"), type[ct.c_longlong])
|
| 52 |
+
assert_type(np.ctypeslib.as_ctypes_type([("i8", np.int64), ("f8", np.float64)]), type[Any])
|
| 53 |
+
assert_type(np.ctypeslib.as_ctypes_type("i8"), type[Any])
|
| 54 |
+
assert_type(np.ctypeslib.as_ctypes_type("f8"), type[Any])
|
| 55 |
+
|
| 56 |
+
assert_type(np.ctypeslib.as_ctypes(AR_bool.take(0)), ct.c_bool)
|
| 57 |
+
assert_type(np.ctypeslib.as_ctypes(AR_ubyte.take(0)), ct.c_ubyte)
|
| 58 |
+
assert_type(np.ctypeslib.as_ctypes(AR_ushort.take(0)), ct.c_ushort)
|
| 59 |
+
assert_type(np.ctypeslib.as_ctypes(AR_uintc.take(0)), ct.c_uint)
|
| 60 |
+
|
| 61 |
+
assert_type(np.ctypeslib.as_ctypes(AR_byte.take(0)), ct.c_byte)
|
| 62 |
+
assert_type(np.ctypeslib.as_ctypes(AR_short.take(0)), ct.c_short)
|
| 63 |
+
assert_type(np.ctypeslib.as_ctypes(AR_intc.take(0)), ct.c_int)
|
| 64 |
+
assert_type(np.ctypeslib.as_ctypes(AR_single.take(0)), ct.c_float)
|
| 65 |
+
assert_type(np.ctypeslib.as_ctypes(AR_double.take(0)), ct.c_double)
|
| 66 |
+
assert_type(np.ctypeslib.as_ctypes(AR_void.take(0)), Any)
|
| 67 |
+
assert_type(np.ctypeslib.as_ctypes(AR_bool), ct.Array[ct.c_bool])
|
| 68 |
+
assert_type(np.ctypeslib.as_ctypes(AR_ubyte), ct.Array[ct.c_ubyte])
|
| 69 |
+
assert_type(np.ctypeslib.as_ctypes(AR_ushort), ct.Array[ct.c_ushort])
|
| 70 |
+
assert_type(np.ctypeslib.as_ctypes(AR_uintc), ct.Array[ct.c_uint])
|
| 71 |
+
assert_type(np.ctypeslib.as_ctypes(AR_byte), ct.Array[ct.c_byte])
|
| 72 |
+
assert_type(np.ctypeslib.as_ctypes(AR_short), ct.Array[ct.c_short])
|
| 73 |
+
assert_type(np.ctypeslib.as_ctypes(AR_intc), ct.Array[ct.c_int])
|
| 74 |
+
assert_type(np.ctypeslib.as_ctypes(AR_single), ct.Array[ct.c_float])
|
| 75 |
+
assert_type(np.ctypeslib.as_ctypes(AR_double), ct.Array[ct.c_double])
|
| 76 |
+
assert_type(np.ctypeslib.as_ctypes(AR_void), ct.Array[Any])
|
| 77 |
+
|
| 78 |
+
assert_type(np.ctypeslib.as_array(AR_ubyte), npt.NDArray[np.ubyte])
|
| 79 |
+
assert_type(np.ctypeslib.as_array(1), npt.NDArray[Any])
|
| 80 |
+
assert_type(np.ctypeslib.as_array(pointer), npt.NDArray[Any])
|
| 81 |
+
|
| 82 |
+
if sys.platform == "win32":
|
| 83 |
+
assert_type(np.ctypeslib.as_ctypes_type(np.int_), type[ct.c_int])
|
| 84 |
+
assert_type(np.ctypeslib.as_ctypes_type(np.uint), type[ct.c_uint])
|
| 85 |
+
assert_type(np.ctypeslib.as_ctypes(AR_uint), ct.Array[ct.c_uint])
|
| 86 |
+
assert_type(np.ctypeslib.as_ctypes(AR_int), ct.Array[ct.c_int])
|
| 87 |
+
assert_type(np.ctypeslib.as_ctypes(AR_uint.take(0)), ct.c_uint)
|
| 88 |
+
assert_type(np.ctypeslib.as_ctypes(AR_int.take(0)), ct.c_int)
|
| 89 |
+
else:
|
| 90 |
+
assert_type(np.ctypeslib.as_ctypes_type(np.int_), type[ct.c_long])
|
| 91 |
+
assert_type(np.ctypeslib.as_ctypes_type(np.uint), type[ct.c_ulong])
|
| 92 |
+
assert_type(np.ctypeslib.as_ctypes(AR_uint), ct.Array[ct.c_ulong])
|
| 93 |
+
assert_type(np.ctypeslib.as_ctypes(AR_int), ct.Array[ct.c_long])
|
| 94 |
+
assert_type(np.ctypeslib.as_ctypes(AR_uint.take(0)), ct.c_ulong)
|
| 95 |
+
assert_type(np.ctypeslib.as_ctypes(AR_int.take(0)), ct.c_long)
|