Skip to main content

spmat: A collection of tools for special matrices

Project description

Special Matrices (spmat)

PyPI Python Build PyPI Downloads

A collection of tools for special matrices with optimized implementations for scientific computing.

Features

Currently includes:

  • ILMat: Identity plus positive semi-definite (PSD) low-rank matrix
  • DLMat: Diagonal plus positive semi-definite (PSD) low-rank matrix
  • BDLMat: Block diagonal plus low-rank matrix

Installation

From PyPI (Recommended)

pip install spmat

From Source

Clone the repository and install:

git clone https://github.com/ihmeuw-msca/spmat.git
cd spmat
pip install -e .

Requirements

  • Python >= 3.12
  • NumPy
  • SciPy

Development

To set up the development environment:

git clone https://github.com/ihmeuw-msca/spmat.git
cd spmat
pip install -e ".[dev]"

Run tests:

pytest

License

This project is licensed under the BSD-2-Clause License - see the LICENSE file for details.

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

spmat-0.1.2.tar.gz (8.6 kB view details)

Uploaded Source

Built Distributions

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

spmat-0.1.2-cp314-cp314-win_amd64.whl (85.6 kB view details)

Uploaded CPython 3.14Windows x86-64

spmat-0.1.2-cp314-cp314-musllinux_1_2_x86_64.whl (557.2 kB view details)

Uploaded CPython 3.14musllinux: musl 1.2+ x86-64

spmat-0.1.2-cp314-cp314-musllinux_1_2_aarch64.whl (539.1 kB view details)

Uploaded CPython 3.14musllinux: musl 1.2+ ARM64

spmat-0.1.2-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (558.0 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

spmat-0.1.2-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (551.2 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

spmat-0.1.2-cp314-cp314-macosx_11_0_arm64.whl (95.9 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

spmat-0.1.2-cp313-cp313-win_amd64.whl (83.3 kB view details)

Uploaded CPython 3.13Windows x86-64

spmat-0.1.2-cp313-cp313-musllinux_1_2_x86_64.whl (560.5 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

spmat-0.1.2-cp313-cp313-musllinux_1_2_aarch64.whl (540.0 kB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ ARM64

spmat-0.1.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (562.2 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

spmat-0.1.2-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (552.4 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

spmat-0.1.2-cp313-cp313-macosx_11_0_arm64.whl (95.2 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

spmat-0.1.2-cp312-cp312-win_amd64.whl (83.5 kB view details)

Uploaded CPython 3.12Windows x86-64

spmat-0.1.2-cp312-cp312-musllinux_1_2_x86_64.whl (563.8 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

spmat-0.1.2-cp312-cp312-musllinux_1_2_aarch64.whl (544.9 kB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ ARM64

spmat-0.1.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (566.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

spmat-0.1.2-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (557.1 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

spmat-0.1.2-cp312-cp312-macosx_11_0_arm64.whl (95.7 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

File details

Details for the file spmat-0.1.2.tar.gz.

File metadata

  • Download URL: spmat-0.1.2.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for spmat-0.1.2.tar.gz
Algorithm Hash digest
SHA256 7a7db029cbf756038a3c3a8dc4ececa121bec1391e403fe61ce25c142f0d4637
MD5 7ee0a64c1759cb414db8a9c5d73d9545
BLAKE2b-256 8e5d20bc5b1fb583761bac8bc55d4dd2f8d30f807f569733ef534c18defdbfe4

See more details on using hashes here.

File details

Details for the file spmat-0.1.2-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: spmat-0.1.2-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 85.6 kB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for spmat-0.1.2-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 4e1119f5613ad4ff76afd1bfa8a1f2244b8c62192e31c3919f85a3028e2d79e6
MD5 8aff890fcfbb147de5db6c027626945b
BLAKE2b-256 3a3647694a97c08e9ce60994dd8b59793f569af058d687deb9602dcfaa945041

See more details on using hashes here.

File details

Details for the file spmat-0.1.2-cp314-cp314-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for spmat-0.1.2-cp314-cp314-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 2645d142b15cc9d50d3cad1cf31bf18d25eb1e2c0e9ba1d3055483f629ffa015
MD5 be1cb20557552014df37140ee097372f
BLAKE2b-256 041f13c577930cdfdf4b0f9dcd12e38267217324c9ddc41d811f3fac74d2c829

See more details on using hashes here.

File details

Details for the file spmat-0.1.2-cp314-cp314-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for spmat-0.1.2-cp314-cp314-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 29e95a32193756729858ca3a21c5fe4a826cb8accd18996bde362e56d75306cc
MD5 56472bb1f496468538eb02d97388699c
BLAKE2b-256 fb71c9db13bbf6cdc0d7ea736d25c70eca466b525931050f8184ad8718c99fa1

See more details on using hashes here.

File details

Details for the file spmat-0.1.2-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for spmat-0.1.2-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8dda661bb8f35aacad262a2b1972a2b7b8c2cf0bab0d46d057df66436dc1751e
MD5 9093bd58642d3d3554bfde055db15c66
BLAKE2b-256 ca8e5550e77a27ddaaa0bd796b64688904061af184d3617b866af699bc428f4e

See more details on using hashes here.

File details

Details for the file spmat-0.1.2-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for spmat-0.1.2-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 525ad08a84df267f53107b40b2f01ec631d12102cd89ef1c21de984405635382
MD5 99707e88bd4cf4cb2eb39801ab99421d
BLAKE2b-256 6445609d6850c6004f15d135abf73630a63f1d61d9a036ab52fc66e469b5bf59

See more details on using hashes here.

File details

Details for the file spmat-0.1.2-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for spmat-0.1.2-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7d8dce410e67e945f5670e1d6dc2f63b41d40b79be77613b79bdcc50f01cda66
MD5 7ae12f652dea9e057ed7140e1d9d8398
BLAKE2b-256 6b4dfb7575a15b98c06a8b634dd58efd8eb76842ed5e39884ed7d97d0de50a69

See more details on using hashes here.

File details

Details for the file spmat-0.1.2-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: spmat-0.1.2-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 83.3 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for spmat-0.1.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 ec1b99cb52ca26fb5e0f10fe8e8902690df1b881cf6c868ce6e1f467c3dbad51
MD5 2a8f782214ebc19f708faba8b9b322e4
BLAKE2b-256 4c5f8c5ef383227ad0cab19d52b33e33c70e8177c4e71a81193e5976f30b579e

See more details on using hashes here.

File details

Details for the file spmat-0.1.2-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for spmat-0.1.2-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 61fdf52195fc90b415c0b26ccfea828e14e0e81757bb4535677c6d9f77a3fe48
MD5 4b27f586ee5add2d23170477e5400cfe
BLAKE2b-256 186a86df1d8bcf44290c605030e5f7eaeffb23b8153584da64ff3566b2678c7e

See more details on using hashes here.

File details

Details for the file spmat-0.1.2-cp313-cp313-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for spmat-0.1.2-cp313-cp313-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 03401ac09a52ac1fd8805d732e2af4000a25940029b1ea2b18a0568e2fd56fc6
MD5 b28515e9001e3ca9a4881a44c98ae14b
BLAKE2b-256 974cd2b1fb8eb448a6cdeafb1f24bcd767dd00bc166e8f7bc7a67e86581a0bc2

See more details on using hashes here.

File details

Details for the file spmat-0.1.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for spmat-0.1.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7d7a02164de56a27539ff3b2a7259f42bb34d888961d14e6ee47e3159260a146
MD5 6d8565f52dd83707cb2ae268fce2fd66
BLAKE2b-256 e29ee41c466cae38146a982c10f3dc0b0abc15d56601af61f86f36b5808de14d

See more details on using hashes here.

File details

Details for the file spmat-0.1.2-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for spmat-0.1.2-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 95f92aace8276312af89cd00ca38160be9a949ce30cfe08d7ee2c0976a2e47f1
MD5 c92c2e33fda7bf84a862a3277ffef425
BLAKE2b-256 71c13064ce98278b1eb8b6195259aae1279deba222d507da262c6b87f35eff0d

See more details on using hashes here.

File details

Details for the file spmat-0.1.2-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for spmat-0.1.2-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e0455b3e01159768b9fa7de5e9cb495e4ea1ae489a1a504b780a30891fffadb6
MD5 73e7a49a39cc5b51ef4668ef0cc8890e
BLAKE2b-256 6f6260ea2be916337ef17ba4bf72681a3df1613775c08f047021a9b9fe02926f

See more details on using hashes here.

File details

Details for the file spmat-0.1.2-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: spmat-0.1.2-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 83.5 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for spmat-0.1.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 666d16593a7a1d50ee701e60f2007f553c44d14f4f3c53100ae6b4bc3315ad62
MD5 0000ca0a37eee0b204e33a7b627c902c
BLAKE2b-256 2814b2bd555aed0caa34e85b274c937e42bd8e8576688259a5931d0cc4cf737e

See more details on using hashes here.

File details

Details for the file spmat-0.1.2-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for spmat-0.1.2-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 7faae1b67a48b0ed9f9112e1d8c222216c2b4395dd1e3c537e5ead4821920f59
MD5 58089dbf6fe5a052e167eacd2f95eae3
BLAKE2b-256 8a47fb4984954c6c61a58b9959d56b2f54b223ef4c5cc07a3e03c10e36eaf085

See more details on using hashes here.

File details

Details for the file spmat-0.1.2-cp312-cp312-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for spmat-0.1.2-cp312-cp312-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 70eeacd714755a4500e24bf1569bf996f6aef984cd105dd6063a6a3dbc80e51a
MD5 99e2a88aa64a16f66851b6c96f85c417
BLAKE2b-256 b99ff5198e47ba8477a323401116ffa0df7f8045765809ec026febe6088f5b21

See more details on using hashes here.

File details

Details for the file spmat-0.1.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for spmat-0.1.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f2266f73834dcb7ecdb5971b6a35e137cd305e6a999444ecd3059cf9afe09420
MD5 1389e39c03cbad7bb5e944d1186ae7fc
BLAKE2b-256 fad801aedf41d50c7841141a1603ec74028287d2362094a0992a81ad9bfe5d7b

See more details on using hashes here.

File details

Details for the file spmat-0.1.2-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for spmat-0.1.2-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 7524aedb4ced69eaa199c309e78c7913ecb94ba26ce8336396b996a76cc9d1b3
MD5 7b28ca10c2c06f65380433934c67011f
BLAKE2b-256 d17a068a167013fb8983bc800fef1b93e91073f9d4c2d491ba82f4ed539d4a96

See more details on using hashes here.

File details

Details for the file spmat-0.1.2-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for spmat-0.1.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e18d00065b9f299f4d0f7544e1819328007ff9ce42f6f09b963a60ad5dc851c1
MD5 658a8accd3e56ee0ebfd5bd91733038f
BLAKE2b-256 d6b6aa5da9f5364c105f71cdd1e9c23fcb81d495d2bdfd194204b314bf4b2ac6

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