Skip to main content

Module penalty_matrix

Module penalty_matrix 

Source
Expand description

The PenaltyMatrix carrier (dense / Kronecker / scaled) used by every custom-family block, plus its constructors and the Array2 conversion.

Enums§

PenaltyMatrix
A penalty matrix that may be stored in Kronecker-factored form.

Functions§

kronecker_product
Computes the Kronecker product A ⊗ B for penalty matrix construction. This is used to create tensor product penalties that enforce smoothness in multiple dimensions for interaction terms.