rocsolver_slarfg Interface Reference#
hipfort_rocsolver::rocsolver_slarfg Interface Reference
! More...
Public Member Functions | |
integer(kind(rocblas_status_success)) function | rocsolver_slarfg_rank_0 (handle, n, alpha, x, incx, tau) |
integer(kind(rocblas_status_success)) function | rocsolver_slarfg_orig (handle, n, alpha, x, incx, tau) |
integer(kind(rocblas_status_success)) function | rocsolver_slarfg_rank_1 (handle, n, alpha, x, incx, tau) |
Detailed Description
!
LARFG generates an orthogonal Householder reflector H of order n.
Householder reflector H is such that
H [alpha] = [beta] [ x ] [ 0 ]
where x is an n-1 vector and alpha and beta are scalars. Matrix H can be generated as
H = I - tau [1] [1 v'] [v]
with v an n-1 vector and tau a scalar.
- Parameters
-
[in] handle rocblas_handle [in] n rocblas_int. n >= 0.
The order (size) of reflector H.[in,out] alpha pointer to type. A scalar on the GPU.
On input the scalar alpha, on output it is overwritten with beta.[in,out] x pointer to type. Array on the GPU of size at least n-1.
On input it is the vector x, on output it is overwritten with vector v.[in] incx rocblas_int. incx > 0.
The increment between consecutive elements of x.[out] tau pointer to type. A scalar on the GPU.
The scalar tau.
Member Function/Subroutine Documentation
◆ rocsolver_slarfg_orig()
integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_slarfg::rocsolver_slarfg_orig | ( | type(c_ptr), value | handle, |
integer(c_int), value | n, | ||
real(c_float) | alpha, | ||
type(c_ptr), value | x, | ||
integer(c_int), value | incx, | ||
real(c_float) | tau | ||
) |
◆ rocsolver_slarfg_rank_0()
integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_slarfg::rocsolver_slarfg_rank_0 | ( | type(c_ptr), value | handle, |
integer(c_int), value | n, | ||
real(c_float) | alpha, | ||
real(c_float), target | x, | ||
integer(c_int), value | incx, | ||
real(c_float) | tau | ||
) |
◆ rocsolver_slarfg_rank_1()
integer(kind(rocblas_status_success)) function hipfort_rocsolver::rocsolver_slarfg::rocsolver_slarfg_rank_1 | ( | type(c_ptr), value | handle, |
integer(c_int), value | n, | ||
real(c_float) | alpha, | ||
real(c_float), dimension(:), target | x, | ||
integer(c_int), value | incx, | ||
real(c_float) | tau | ||
) |
The documentation for this interface was generated from the following file: