Computes a matrix norm of x. The norm can be the one \("O"\) norm, the infinity \("I"\) norm, the Frobenius \("F"\) norm, the maximum modulus \("M"\) among elements of a matrix, or the “spectral” or "2"-norm, as determined by the value of type.
# S4 method for vclMatrix,character
norm(x, type)# S4 method for vclMatrix,missing
norm(x, type)
# S4 method for gpuMatrix,character
norm(x, type)
# S4 method for gpuMatrix,missing
norm(x, type)
# S4 method for ANY,missing
norm(x, type)
# S4 method for ANY,character
norm(x, type)
The matrix norm, a non-negative number
A gpuR matrix object
character string, specifying the type of matrix norm to be computed.
Charles Determan Jr.