Skip to main content

make connected sum for link pd_code

Project description

pd_code_connected_sum

caculate connected sum for link pd_code.

Install

pip install pd-code-connected-sum

Usage

import pd_code_connected_sum

# L2a1
link_pd_code_1 = [[4, 1, 3, 2], [2, 3, 1, 4]]

# L4a1
link_pd_code_2 = [[6, 1, 7, 2], [8, 3, 5, 4], [2, 5, 3, 6], [4, 7, 1, 8]]

connect_pos_1 = 1
connect_pos_2 = 1

print(pd_code_connected_sum.connected_sum(
    link_pd_code_1, link_pd_code_2, connect_pos_1, connect_pos_2))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pd_code_connected_sum-0.0.1.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pd_code_connected_sum-0.0.1-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file pd_code_connected_sum-0.0.1.tar.gz.

File metadata

  • Download URL: pd_code_connected_sum-0.0.1.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.3.2 CPython/3.13.12 Windows/11

File hashes

Hashes for pd_code_connected_sum-0.0.1.tar.gz
Algorithm Hash digest
SHA256 b5de2cba4d2838c4658ea77fe11508e97679590530c0460f4c176bd9652cf05d
MD5 9bdfd27a30fc8a10585f960396184a62
BLAKE2b-256 fe8e80cd9985548d81e423c9fe073fd6d27750d186412bfa30f2654eda1aa2e3

See more details on using hashes here.

File details

Details for the file pd_code_connected_sum-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pd_code_connected_sum-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b04801174e88cfa4cf98adb13fecc3cc9fffb2d85680b1789af8a079060b8bd1
MD5 cf58eb9fc988e76e89670f0594dc29be
BLAKE2b-256 864d7eb5ad42fd24ad8fb57b97720b0d9892bf45e79a0ddefd484d0bcc997591

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page