StrctTerm.coef

Contents

StrctTerm.coef#

property StrctTerm.coef: Var#

The coefficient variable of this term.

Examples

>>> x = jnp.linspace(0.0, 1.0, 4)
>>> basis = Basis(jnp.column_stack([jnp.ones_like(x), x]), xname="x")
>>> term = StrctTerm(basis, penalty=None, scale=1.0)
>>> term.coef.value.shape
(2,)