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
  x
}

Try the cTMed package in your browser

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

cTMed documentation built on Nov. 5, 2025, 7:18 p.m.