@@ -28,9 +28,9 @@ module stdlib_linalg_blas_aux
28
28
29
29
contains
30
30
31
- !> DCABS1: computes |Re(.)| + |Im(.)| of a double complex number
32
31
33
32
pure real(dp) function stdlib_dcabs1(z)
33
+ !> DCABS1 computes |Re(.)| + |Im(.)| of a double complex number
34
34
! -- reference blas level1 routine --
35
35
! -- reference blas is a software package provided by univ. of tennessee, --
36
36
! -- univ. of california berkeley, univ. of colorado denver and nag ltd..--
@@ -43,9 +43,9 @@ module stdlib_linalg_blas_aux
43
43
return
44
44
end function stdlib_dcabs1
45
45
46
- !> ISAMAX: finds the index of the first element having maximum absolute value.
47
46
48
47
pure integer(ilp) function stdlib_isamax(n,sx,incx)
48
+ !> ISAMAX finds the index of the first element having maximum absolute value.
49
49
! -- reference blas level1 routine --
50
50
! -- reference blas is a software package provided by univ. of tennessee, --
51
51
! -- univ. of california berkeley, univ. of colorado denver and nag ltd..--
@@ -88,9 +88,9 @@ module stdlib_linalg_blas_aux
88
88
return
89
89
end function stdlib_isamax
90
90
91
- !> IZAMAX: finds the index of the first element having maximum |Re(.)| + |Im(.)|
92
91
93
92
pure integer(ilp) function stdlib_izamax(n,zx,incx)
93
+ !> IZAMAX finds the index of the first element having maximum |Re(.)| + |Im(.)|
94
94
! -- reference blas level1 routine --
95
95
! -- reference blas is a software package provided by univ. of tennessee, --
96
96
! -- univ. of california berkeley, univ. of colorado denver and nag ltd..--
@@ -131,10 +131,10 @@ module stdlib_linalg_blas_aux
131
131
return
132
132
end function stdlib_izamax
133
133
134
- !> LSAME: returns .TRUE. if CA is the same letter as CB regardless of
135
- !> case.
136
134
137
135
pure logical(lk) function stdlib_lsame(ca,cb)
136
+ !> LSAME returns .TRUE. if CA is the same letter as CB regardless of
137
+ !> case.
138
138
! -- reference blas level1 routine --
139
139
! -- reference blas is a software package provided by univ. of tennessee, --
140
140
! -- univ. of california berkeley, univ. of colorado denver and nag ltd..--
@@ -178,9 +178,9 @@ module stdlib_linalg_blas_aux
178
178
! return
179
179
end function stdlib_lsame
180
180
181
- !> SCABS1: computes |Re(.)| + |Im(.)| of a complex number
182
181
183
182
pure real(sp) function stdlib_scabs1(z)
183
+ !> SCABS1 computes |Re(.)| + |Im(.)| of a complex number
184
184
! -- reference blas level1 routine --
185
185
! -- reference blas is a software package provided by univ. of tennessee, --
186
186
! -- univ. of california berkeley, univ. of colorado denver and nag ltd..--
@@ -193,13 +193,13 @@ module stdlib_linalg_blas_aux
193
193
return
194
194
end function stdlib_scabs1
195
195
196
- !> XERBLA: is an error handler for the LAPACK routines.
196
+
197
+ pure subroutine stdlib_xerbla( srname, info )
198
+ !> XERBLA is an error handler for the LAPACK routines.
197
199
!> It is called by an LAPACK routine if an input parameter has an
198
200
!> invalid value. A message is printed and execution stops.
199
201
!> Installers may consider modifying the STOP statement in order to
200
202
!> call system-specific exception-handling facilities.
201
-
202
- pure subroutine stdlib_xerbla( srname, info )
203
203
! -- reference blas level1 routine --
204
204
! -- reference blas is a software package provided by univ. of tennessee, --
205
205
! -- univ. of california berkeley, univ. of colorado denver and nag ltd..--
@@ -214,7 +214,9 @@ module stdlib_linalg_blas_aux
214
214
215
215
end subroutine stdlib_xerbla
216
216
217
- !> XERBLA_ARRAY: assists other languages in calling XERBLA, the LAPACK
217
+
218
+ pure subroutine stdlib_xerbla_array(srname_array, srname_len, info)
219
+ !> XERBLA_ARRAY assists other languages in calling XERBLA, the LAPACK
218
220
!> and BLAS error handler. Rather than taking a Fortran string argument
219
221
!> as the function's name, XERBLA_ARRAY takes an array of single
220
222
!> characters along with the array's length. XERBLA_ARRAY then copies
@@ -230,8 +232,6 @@ module stdlib_linalg_blas_aux
230
232
!> }
231
233
!> Providing XERBLA_ARRAY is not necessary for intercepting LAPACK
232
234
!> errors. XERBLA_ARRAY calls XERBLA.
233
-
234
- pure subroutine stdlib_xerbla_array(srname_array, srname_len, info)
235
235
! -- reference blas level1 routine --
236
236
! -- reference blas is a software package provided by univ. of tennessee, --
237
237
! -- univ. of california berkeley, univ. of colorado denver and nag ltd..--
@@ -257,9 +257,9 @@ module stdlib_linalg_blas_aux
257
257
258
258
#:if WITH_QP
259
259
260
- !> DCABS1: computes |Re(.)| + |Im(.)| of a double complex number
261
260
262
261
pure real(qp) function stdlib_qcabs1(z)
262
+ !> DCABS1: computes |Re(.)| + |Im(.)| of a double complex number
263
263
! -- reference blas level1 routine --
264
264
! -- reference blas is a software package provided by univ. of tennessee, --
265
265
! -- univ. of california berkeley, univ. of colorado denver and nag ltd..--
@@ -275,9 +275,9 @@ module stdlib_linalg_blas_aux
275
275
276
276
#:if WITH_QP
277
277
278
- !> IDAMAX: finds the index of the first element having maximum absolute value.
279
278
280
279
pure integer(ilp) function stdlib_iqamax(n,dx,incx)
280
+ !> IDAMAX: finds the index of the first element having maximum absolute value.
281
281
! -- reference blas level1 routine --
282
282
! -- reference blas is a software package provided by univ. of tennessee, --
283
283
! -- univ. of california berkeley, univ. of colorado denver and nag ltd..--
@@ -323,9 +323,9 @@ module stdlib_linalg_blas_aux
323
323
324
324
#:if WITH_QP
325
325
326
- !> IZAMAX: finds the index of the first element having maximum |Re(.)| + |Im(.)|
327
326
328
327
pure integer(ilp) function stdlib_iwamax(n,zx,incx)
328
+ !> IZAMAX: finds the index of the first element having maximum |Re(.)| + |Im(.)|
329
329
! -- reference blas level1 routine --
330
330
! -- reference blas is a software package provided by univ. of tennessee, --
331
331
! -- univ. of california berkeley, univ. of colorado denver and nag ltd..--
@@ -367,9 +367,9 @@ module stdlib_linalg_blas_aux
367
367
end function stdlib_iwamax
368
368
#:endif
369
369
370
- !> ICAMAX: finds the index of the first element having maximum |Re(.)| + |Im(.)|
371
370
372
371
pure integer(ilp) function stdlib_icamax(n,cx,incx)
372
+ !> ICAMAX finds the index of the first element having maximum |Re(.)| + |Im(.)|
373
373
! -- reference blas level1 routine --
374
374
! -- reference blas is a software package provided by univ. of tennessee, --
375
375
! -- univ. of california berkeley, univ. of colorado denver and nag ltd..--
@@ -410,9 +410,9 @@ module stdlib_linalg_blas_aux
410
410
return
411
411
end function stdlib_icamax
412
412
413
- !> IDAMAX: finds the index of the first element having maximum absolute value.
414
413
415
414
pure integer(ilp) function stdlib_idamax(n,dx,incx)
415
+ !> IDAMAX finds the index of the first element having maximum absolute value.
416
416
! -- reference blas level1 routine --
417
417
! -- reference blas is a software package provided by univ. of tennessee, --
418
418
! -- univ. of california berkeley, univ. of colorado denver and nag ltd..--
0 commit comments