rocsolver_slange Interface Reference#
hipfort_rocsolver::rocsolver_slange Interface Reference
The LANGE functions compute the norm of a general m-by-n matrix A.
More...
Public Member Functions | |
| integer(kind(rocblas_status_success)) function | rocsolver_slange_ (handle, norm_type, m, n, a, lda, norm) |
Detailed Description
The LANGE functions compute the norm of a general m-by-n matrix A.
The norm computed is specified by norm_type as follows:
rocsolver_norm_type_one: the 1-norm (maximum column sum),rocsolver_norm_type_frobenius: the Frobenius norm (square root of sum of squares),rocsolver_norm_type_infinity: the infinity-norm (maximum row sum), orrocsolver_norm_type_max: the maximum absolute value of any element.
- Parameters
-
[in] handle - rocblas_handle. [in] norm_type - rocsolver_norm_type. Specifies the type of norm to compute. [in] m - rocblas_int. m >= 0. The number of rows of the matrix A. [in] n - rocblas_int. n >= 0. The number of columns of the matrix A. [in] A - pointer to type. Array on the GPU of dimension lda*n. The m-by-n matrix A. [in] lda - rocblas_int. lda >= m. The leading dimension of A. [out] norm - pointer to real type. Scalar on the GPU. The computed norm of the matrix A.
Member Function/Subroutine Documentation
◆ rocsolver_slange_()
| integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_slange::rocsolver_slange_ | ( | type(c_ptr), value | handle, |
| integer(kind(rocsolver_norm_type_one)), value | norm_type, | ||
| integer(c_int), value | m, | ||
| integer(c_int), value | n, | ||
| type(c_ptr), value | a, | ||
| integer(c_int), value | lda, | ||
| type(c_ptr), value | norm | ||
| ) |
The documentation for this interface was generated from the following file: