View source: R/tfg_matrix_code.R
compute_tfg_Xb | R Documentation |
Compute unscaled X %*% b using the special structure of trend filtering
compute_tfg_Xb(X, b)
X |
a tfg_matrix created by make_tfg_matrix |
b |
a p vector of the changes at each change point |
an n vector of the means at each data point
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.