R/linearAlgebra-vec-dot.R

Defines functions .Vec

#' Vectorize a Matrix
#'
#' @author Ivan Jacob Agaloos Pesigan
#'
#' @return Returns a vector.
#'
#' @param x Matrix.
#'
#' @family Vectorization Functions
#' @keywords linearAlgebra vectorization internal
#' @noRd
.Vec <- function(x) {
  dim(x) <- NULL
  return(x)
}

Try the betaMC package in your browser

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

betaMC documentation built on June 24, 2024, 9:08 a.m.