Skip to content

Commit

Permalink
doc: fix typos in laplacian_matrix documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
szhorvat committed Feb 25, 2025
1 parent 67a5929 commit d6366c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions R/structural.properties.R
Original file line number Diff line number Diff line change
Expand Up @@ -2553,7 +2553,7 @@ unfold_tree <- function(graph, mode = c("all", "out", "in", "total"), roots) {
#' - "symmetric": Symmetrically normalized Laplacian,
#' \eqn{L = I - D^{-\frac{1}{2}} A D^{-\frac{1}{2}}}{L = I - D^(-1/2) A D^(-1/2)}.
#' - "left": Left-stochastic normalized Laplacian, \eqn{{L = I - D^{-1} A}}{L = I - D^-1 A}.
#' - "rigth": Right-stochastic normalized Laplacian, \eqn{L = I - A D^{-1}}{L = I - A D^-1}.
#' - "right": Right-stochastic normalized Laplacian, \eqn{L = I - A D^{-1}}{L = I - A D^-1}.
#'
#' @examples
#'
Expand All @@ -2562,8 +2562,8 @@ unfold_tree <- function(graph, mode = c("all", "out", "in", "total"), roots) {
#' laplacian_matrix(g, normalization = "unnormalized")
#' laplacian_matrix(g, normalization = "unnormalized", sparse = FALSE)
#'
#' @cdocs igraph_get_laplacian_sparse
#' @cdocs igraph_get_laplacian
#' @cdocs igraph_get_laplacian_sparse
laplacian_matrix <- function(graph, weights = NULL,
sparse = igraph_opt("sparsematrices"), normalization = c("unnormalized", "symmetric", "left", "right"), normalized) {
# Argument checks
Expand Down
4 changes: 2 additions & 2 deletions man/laplacian_matrix.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d6366c3

Please sign in to comment.