# Matrix-Scalar ops ---------------------------------------------------------------------------
#' Compute area of the minimal rectangle containing the given object
#' @export
size <- function( m ) {
maj <- axis_major( m )
min <- axis_minor( m, major=maj )
return( vnorm( maj ) * vnorm( min ) )
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.