@@ -18,9 +18,9 @@ module stdlib_linalg_blas_aux
18
18
19
19
contains
20
20
21
- ! > DCABS1: computes |Re(.)| + |Im(.)| of a double complex number
22
21
23
22
pure real (dp) function stdlib_dcabs1(z)
23
+ ! ! DCABS1 computes |Re(.)| + |Im(.)| of a double complex number
24
24
! -- reference blas level1 routine --
25
25
! -- reference blas is a software package provided by univ. of tennessee, --
26
26
! -- univ. of california berkeley, univ. of colorado denver and nag ltd..--
@@ -33,9 +33,9 @@ pure real(dp) function stdlib_dcabs1(z)
33
33
return
34
34
end function stdlib_dcabs1
35
35
36
- ! > ISAMAX: finds the index of the first element having maximum absolute value.
37
36
38
37
pure integer (ilp) function stdlib_isamax(n,sx,incx)
38
+ ! ! ISAMAX finds the index of the first element having maximum absolute value.
39
39
! -- reference blas level1 routine --
40
40
! -- reference blas is a software package provided by univ. of tennessee, --
41
41
! -- univ. of california berkeley, univ. of colorado denver and nag ltd..--
@@ -78,9 +78,9 @@ pure integer(ilp) function stdlib_isamax(n,sx,incx)
78
78
return
79
79
end function stdlib_isamax
80
80
81
- ! > IZAMAX: finds the index of the first element having maximum |Re(.)| + |Im(.)|
82
81
83
82
pure integer (ilp) function stdlib_izamax(n,zx,incx)
83
+ ! ! IZAMAX finds the index of the first element having maximum |Re(.)| + |Im(.)|
84
84
! -- reference blas level1 routine --
85
85
! -- reference blas is a software package provided by univ. of tennessee, --
86
86
! -- univ. of california berkeley, univ. of colorado denver and nag ltd..--
@@ -121,10 +121,10 @@ pure integer(ilp) function stdlib_izamax(n,zx,incx)
121
121
return
122
122
end function stdlib_izamax
123
123
124
- ! > LSAME: returns .TRUE. if CA is the same letter as CB regardless of
125
- ! > case.
126
124
127
125
pure logical (lk) function stdlib_lsame(ca,cb)
126
+ ! ! LSAME returns .TRUE. if CA is the same letter as CB regardless of
127
+ ! ! case.
128
128
! -- reference blas level1 routine --
129
129
! -- reference blas is a software package provided by univ. of tennessee, --
130
130
! -- univ. of california berkeley, univ. of colorado denver and nag ltd..--
@@ -168,9 +168,9 @@ pure logical(lk) function stdlib_lsame(ca,cb)
168
168
! return
169
169
end function stdlib_lsame
170
170
171
- ! > SCABS1: computes |Re(.)| + |Im(.)| of a complex number
172
171
173
172
pure real (sp) function stdlib_scabs1(z)
173
+ ! ! SCABS1 computes |Re(.)| + |Im(.)| of a complex number
174
174
! -- reference blas level1 routine --
175
175
! -- reference blas is a software package provided by univ. of tennessee, --
176
176
! -- univ. of california berkeley, univ. of colorado denver and nag ltd..--
@@ -183,13 +183,13 @@ pure real(sp) function stdlib_scabs1(z)
183
183
return
184
184
end function stdlib_scabs1
185
185
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.
191
186
192
187
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.
193
193
! -- reference blas level1 routine --
194
194
! -- reference blas is a software package provided by univ. of tennessee, --
195
195
! -- univ. of california berkeley, univ. of colorado denver and nag ltd..--
@@ -204,24 +204,24 @@ pure subroutine stdlib_xerbla( srname, info )
204
204
205
205
end subroutine stdlib_xerbla
206
206
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.
223
207
224
208
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.
225
225
! -- reference blas level1 routine --
226
226
! -- reference blas is a software package provided by univ. of tennessee, --
227
227
! -- univ. of california berkeley, univ. of colorado denver and nag ltd..--
@@ -248,9 +248,9 @@ end subroutine stdlib_xerbla_array
248
248
249
249
250
250
251
- ! > ICAMAX: finds the index of the first element having maximum |Re(.)| + |Im(.)|
252
251
253
252
pure integer (ilp) function stdlib_icamax(n,cx,incx)
253
+ ! ! ICAMAX finds the index of the first element having maximum |Re(.)| + |Im(.)|
254
254
! -- reference blas level1 routine --
255
255
! -- reference blas is a software package provided by univ. of tennessee, --
256
256
! -- univ. of california berkeley, univ. of colorado denver and nag ltd..--
@@ -291,9 +291,9 @@ pure integer(ilp) function stdlib_icamax(n,cx,incx)
291
291
return
292
292
end function stdlib_icamax
293
293
294
- ! > IDAMAX: finds the index of the first element having maximum absolute value.
295
294
296
295
pure integer (ilp) function stdlib_idamax(n,dx,incx)
296
+ ! ! IDAMAX finds the index of the first element having maximum absolute value.
297
297
! -- reference blas level1 routine --
298
298
! -- reference blas is a software package provided by univ. of tennessee, --
299
299
! -- univ. of california berkeley, univ. of colorado denver and nag ltd..--
0 commit comments