norm,vclMatrix,character-method {gpuR} | R Documentation |
Compute the Norm of a Matrix
Description
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.
Usage
## S4 method for signature 'vclMatrix,character'
norm(x, type)
## S4 method for signature 'vclMatrix,missing'
norm(x, type)
## S4 method for signature 'gpuMatrix,character'
norm(x, type)
## S4 method for signature 'gpuMatrix,missing'
norm(x, type)
## S4 method for signature 'ANY,missing'
norm(x, type)
## S4 method for signature 'ANY,character'
norm(x, type)
Arguments
x |
A gpuR matrix object |
type |
character string, specifying the type of matrix norm to be computed. |
Value
The matrix norm, a non-negative number
Author(s)
Charles Determan Jr.
See Also
[Package gpuR version 2.0.6 Index]