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.2.tar.gz (4.2 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.2-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pd_code_connected_sum-0.0.2.tar.gz
  • Upload date:
  • Size: 4.2 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.2.tar.gz
Algorithm Hash digest
SHA256 357ba6301042d11577a05adda5e6dd03181e0e8732f07fc977916dd049ef0b2d
MD5 73925d4365c55bace1b5bfe05fa1589f
BLAKE2b-256 77dd49fc0fd03b078b8fc5645cc021fd14e73277b0f1bc01dc0216efdb216ea4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pd_code_connected_sum-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 89046696312a8df6262ef7526a1475cdd1439686bea1c1b237883611668d9145
MD5 0289623fa385e24e6db9699ea1589b9c
BLAKE2b-256 984608c93bd6064c91e48cfcba609c24a63d7e328ef747a23ba8c26d800bb505

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