Skip to content

polyMatrix

Infrastructure for Manipulation Polynomial Matrices

v0.9.16 · Jul 18, 2021 · MIT + file LICENSE

Description

Implementation of class "polyMatrix" for storing a matrix of polynomials and implements basic matrix operations; including a determinant and characteristic polynomial. It is based on the package 'polynom' and uses a lot of its methods to implement matrix operations. This package includes 3 methods of triangularization of polynomial matrices: Extended Euclidean algorithm which is most classical but numerically unstable; Sylvester algorithm based on LQ decomposition; Interpolation algorithm is based on LQ decomposition and Newton interpolation. Both methods are described in D. Henrion & M. Sebek, Reliable numerical methods for polynomial matrix triangularization, IEEE Transactions on Automatic Control (Volume 44, Issue 3, Mar 1999, Pages 497-508) <doi:10.1109/9.751344> and in Salah Labhalla, Henri Lombardi & Roger Marlin, Algorithmes de calcule de la reduction de Hermite d'une matrice a coefficients polynomeaux, Theoretical Computer Science (Volume 161, Issue 1-2, July 1996, Pages 69-92) <doi:10.1016/0304-3975(95)00090-9>.

Downloads

CRAN

336

Last 30 days

13265th

830

Last 90 days

3.3K

Last year

Trend: +50% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

24

Last 90 days

104

Last year

Trend: -100% (30d vs prior 30d)

autoCRAN

5

Last 7 days

15

Last 30 days

5

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

5,378

Files

99

Compiled share

0%

Has compiled src

No

Language breakdown

R 2,476 (46%)Tests 1,434 (26.7%)Docs 1,468 (27.3%)

API

Exported functions

29

Internal functions

50

Recent export changes

v0.9.11+22 adjoint, cbind, charpolynom +19 more  −48 %X%, CanForm, M2pM 45 more
v0.3.1+1 triang_Interpolation

Testing & CI

Has tests

Yes

Test-to-code ratio

0.58

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

61.9%

\dontrun example ratio

0%

Roxygen coverage

82.8%

Has pkgdown

No

NEWS present

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.0

System requirements

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

5

First release

2020-01-16

Latest release

2021-07-18

Avg cadence

70 days

Cold removal rate

100%

Dep drift

4

LOC over versions

v0.2.4: 7,419 LOCv0.2.5: 7,382 LOCv0.3.1: 7,584 LOCv0.9.11: 5,195 LOCv0.9.16: 5,378 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies polynom Matrix polyMatrix

Version History

6 tracked
new 0.9.16 Mar 10, 2026
updated 0.9.16 ← 0.9.11 diff Jul 17, 2021
updated 0.9.11 ← 0.3.1 diff Jul 10, 2021
updated 0.3.1 ← 0.2.5 diff Jun 3, 2020
updated 0.2.5 ← 0.2.4 diff Feb 2, 2020
new 0.2.4 Jan 15, 2020