generic-matrices | R Documentation |
Generate generic vectors and matrices.
vector_sym(n, entry = "v")
matrix_sym(nrow, ncol, entry = "v")
matrix_sym_diag(nrow, entry = "v")
matrix_sym_symmetric(nrow, entry = "v")
n |
Length of vector |
entry |
The symbolic name of each entry. |
nrow , ncol |
Number of rows and columns |
if (has_sympy()) {
vector_sym(4, "b")
matrix_sym(3, 2, "a")
matrix_sym_diag(4, "s")
matrix_sym_symmetric(4, "s")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.