diff_mat | R Documentation |
Difference matrix
diff_mat(N, l = "-1", d = 1)
N |
Number of rows (and columns) |
l |
Value / symbol below main diagonal |
d |
Value / symbol on main diagonal |
if (has_sympy()){
Dm <- diff_mat(4)
Dm
y <- vector_sym(4, "y")
Dm %*% y
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.