
Computes the Frobenius norm of a LazyMatrix object.
norm-LazyMatrix-method.RdComputes the Frobenius norm of a LazyMatrix object.
Usage
# S4 method for class 'LazyMatrix'
norm(x)Examples
mat_a <- base::matrix(rnorm(50), nrow = 10, ncol = 5)
lazy_a <- LazyMatrix(mat_a, "sd", "mean")
norm(lazy_a)
#> [1] 6.708204