R/is-symmetric.R

#' @describeIn WoodburyMatrix-class Check for symmetry of matrix; always returns
#' \code{FALSE}.
#' @export
setMethod(
  'isSymmetric',
  c(object = 'GWoodburyMatrix'),
  function(object) FALSE
)

#' @describeIn WoodburyMatrix-class Check for symmetry of matrix; always returns
#' \code{TRUE}.
#' @export
setMethod(
  'isSymmetric',
  c(object = 'SWoodburyMatrix'),
  function(object) TRUE
)

Try the WoodburyMatrix package in your browser

Any scripts or data that you put into this service are public.

WoodburyMatrix documentation built on July 9, 2023, 7:04 p.m.