Skip to content

Commit 61ad12f

Browse files
committed
Deploying to stdlib-fpm from @ 693986a 🚀
1 parent 5ceee1c commit 61ad12f

12 files changed

+20780
-20836
lines changed

src/stdlib_linalg_blas.f90

+227-231
Large diffs are not rendered by default.

src/stdlib_linalg_blas_aux.f90

+29-29
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ module stdlib_linalg_blas_aux
1818

1919
contains
2020

21-
!> DCABS1: computes |Re(.)| + |Im(.)| of a double complex number
2221

2322
pure real(dp) function stdlib_dcabs1(z)
23+
!! DCABS1 computes |Re(.)| + |Im(.)| of a double complex number
2424
! -- reference blas level1 routine --
2525
! -- reference blas is a software package provided by univ. of tennessee, --
2626
! -- univ. of california berkeley, univ. of colorado denver and nag ltd..--
@@ -33,9 +33,9 @@ pure real(dp) function stdlib_dcabs1(z)
3333
return
3434
end function stdlib_dcabs1
3535

36-
!> ISAMAX: finds the index of the first element having maximum absolute value.
3736

3837
pure integer(ilp) function stdlib_isamax(n,sx,incx)
38+
!! ISAMAX finds the index of the first element having maximum absolute value.
3939
! -- reference blas level1 routine --
4040
! -- reference blas is a software package provided by univ. of tennessee, --
4141
! -- univ. of california berkeley, univ. of colorado denver and nag ltd..--
@@ -78,9 +78,9 @@ pure integer(ilp) function stdlib_isamax(n,sx,incx)
7878
return
7979
end function stdlib_isamax
8080

81-
!> IZAMAX: finds the index of the first element having maximum |Re(.)| + |Im(.)|
8281

8382
pure integer(ilp) function stdlib_izamax(n,zx,incx)
83+
!! IZAMAX finds the index of the first element having maximum |Re(.)| + |Im(.)|
8484
! -- reference blas level1 routine --
8585
! -- reference blas is a software package provided by univ. of tennessee, --
8686
! -- univ. of california berkeley, univ. of colorado denver and nag ltd..--
@@ -121,10 +121,10 @@ pure integer(ilp) function stdlib_izamax(n,zx,incx)
121121
return
122122
end function stdlib_izamax
123123

124-
!> LSAME: returns .TRUE. if CA is the same letter as CB regardless of
125-
!> case.
126124

127125
pure logical(lk) function stdlib_lsame(ca,cb)
126+
!! LSAME returns .TRUE. if CA is the same letter as CB regardless of
127+
!! case.
128128
! -- reference blas level1 routine --
129129
! -- reference blas is a software package provided by univ. of tennessee, --
130130
! -- univ. of california berkeley, univ. of colorado denver and nag ltd..--
@@ -168,9 +168,9 @@ pure logical(lk) function stdlib_lsame(ca,cb)
168168
! return
169169
end function stdlib_lsame
170170

171-
!> SCABS1: computes |Re(.)| + |Im(.)| of a complex number
172171

173172
pure real(sp) function stdlib_scabs1(z)
173+
!! SCABS1 computes |Re(.)| + |Im(.)| of a complex number
174174
! -- reference blas level1 routine --
175175
! -- reference blas is a software package provided by univ. of tennessee, --
176176
! -- univ. of california berkeley, univ. of colorado denver and nag ltd..--
@@ -183,13 +183,13 @@ pure real(sp) function stdlib_scabs1(z)
183183
return
184184
end function stdlib_scabs1
185185

186-
!> XERBLA: is an error handler for the LAPACK routines.
187-
!> It is called by an LAPACK routine if an input parameter has an
188-
!> invalid value. A message is printed and execution stops.
189-
!> Installers may consider modifying the STOP statement in order to
190-
!> call system-specific exception-handling facilities.
191186

192187
pure subroutine stdlib_xerbla( srname, info )
188+
!! XERBLA is an error handler for the LAPACK routines.
189+
!! It is called by an LAPACK routine if an input parameter has an
190+
!! invalid value. A message is printed and execution stops.
191+
!! Installers may consider modifying the STOP statement in order to
192+
!! call system-specific exception-handling facilities.
193193
! -- reference blas level1 routine --
194194
! -- reference blas is a software package provided by univ. of tennessee, --
195195
! -- univ. of california berkeley, univ. of colorado denver and nag ltd..--
@@ -204,24 +204,24 @@ pure subroutine stdlib_xerbla( srname, info )
204204

205205
end subroutine stdlib_xerbla
206206

207-
!> XERBLA_ARRAY: assists other languages in calling XERBLA, the LAPACK
208-
!> and BLAS error handler. Rather than taking a Fortran string argument
209-
!> as the function's name, XERBLA_ARRAY takes an array of single
210-
!> characters along with the array's length. XERBLA_ARRAY then copies
211-
!> up to 32 characters of that array into a Fortran string and passes
212-
!> that to XERBLA. If called with a non-positive SRNAME_LEN,
213-
!> XERBLA_ARRAY will call XERBLA with a string of all blank characters.
214-
!> Say some macro or other device makes XERBLA_ARRAY available to C99
215-
!> by a name lapack_xerbla and with a common Fortran calling convention.
216-
!> Then a C99 program could invoke XERBLA via:
217-
!> {
218-
!> int flen = strlen(__func__);
219-
!> lapack_xerbla(__func__,
220-
!> }
221-
!> Providing XERBLA_ARRAY is not necessary for intercepting LAPACK
222-
!> errors. XERBLA_ARRAY calls XERBLA.
223207

224208
pure subroutine stdlib_xerbla_array(srname_array, srname_len, info)
209+
!! XERBLA_ARRAY assists other languages in calling XERBLA, the LAPACK
210+
!! and BLAS error handler. Rather than taking a Fortran string argument
211+
!! as the function's name, XERBLA_ARRAY takes an array of single
212+
!! characters along with the array's length. XERBLA_ARRAY then copies
213+
!! up to 32 characters of that array into a Fortran string and passes
214+
!! that to XERBLA. If called with a non-positive SRNAME_LEN,
215+
!! XERBLA_ARRAY will call XERBLA with a string of all blank characters.
216+
!! Say some macro or other device makes XERBLA_ARRAY available to C99
217+
!! by a name lapack_xerbla and with a common Fortran calling convention.
218+
!! Then a C99 program could invoke XERBLA via:
219+
!! {
220+
!! int flen = strlen(__func__);
221+
!! lapack_xerbla(__func__,
222+
!! }
223+
!! Providing XERBLA_ARRAY is not necessary for intercepting LAPACK
224+
!! errors. XERBLA_ARRAY calls XERBLA.
225225
! -- reference blas level1 routine --
226226
! -- reference blas is a software package provided by univ. of tennessee, --
227227
! -- univ. of california berkeley, univ. of colorado denver and nag ltd..--
@@ -248,9 +248,9 @@ end subroutine stdlib_xerbla_array
248248

249249

250250

251-
!> ICAMAX: finds the index of the first element having maximum |Re(.)| + |Im(.)|
252251

253252
pure integer(ilp) function stdlib_icamax(n,cx,incx)
253+
!! ICAMAX finds the index of the first element having maximum |Re(.)| + |Im(.)|
254254
! -- reference blas level1 routine --
255255
! -- reference blas is a software package provided by univ. of tennessee, --
256256
! -- univ. of california berkeley, univ. of colorado denver and nag ltd..--
@@ -291,9 +291,9 @@ pure integer(ilp) function stdlib_icamax(n,cx,incx)
291291
return
292292
end function stdlib_icamax
293293

294-
!> IDAMAX: finds the index of the first element having maximum absolute value.
295294

296295
pure integer(ilp) function stdlib_idamax(n,dx,incx)
296+
!! IDAMAX finds the index of the first element having maximum absolute value.
297297
! -- reference blas level1 routine --
298298
! -- reference blas is a software package provided by univ. of tennessee, --
299299
! -- univ. of california berkeley, univ. of colorado denver and nag ltd..--

0 commit comments

Comments
 (0)