119 parameter( one = 1.0e+0, zero = 0.0e+0 )
123 REAL anorm, scale, sum
139 ELSE IF(
lsame( norm,
'M' ) )
THEN
143 anorm = abs( d( n ) )
146 IF( anorm .LT. sum .OR.
sisnan( sum ) ) anorm = sum
148 IF( anorm .LT. sum .OR.
sisnan( sum ) ) anorm = sum
150 ELSE IF(
lsame( norm,
'O' ) .OR. norm.EQ.
'1' .OR.
151 $
lsame( norm,
'I' ) )
THEN
156 anorm = abs( d( 1 ) )
158 anorm = abs( d( 1 ) )+abs( e( 1 ) )
159 sum = abs( e( n-1 ) )+abs( d( n ) )
160 IF( anorm .LT. sum .OR.
sisnan( sum ) ) anorm = sum
162 sum = abs( d( i ) )+abs( e( i ) )+abs( e( i-1 ) )
163 IF( anorm .LT. sum .OR.
sisnan( sum ) ) anorm = sum
166 ELSE IF( (
lsame( norm,
'F' ) ) .OR. (
lsame( norm,
'E' ) ) )
THEN
173 CALL classq( n-1, e, 1, scale, sum )
176 CALL slassq( n, d, 1, scale, sum )
177 anorm = scale*sqrt( sum )
logical function sisnan(sin)
SISNAN tests input for NaN.
real function clanht(norm, n, d, e)
CLANHT returns the value of the 1-norm, or the Frobenius norm, or the infinity norm,...
subroutine slassq(n, x, incx, scale, sumsq)
SLASSQ updates a sum of squares represented in scaled form.
subroutine classq(n, x, incx, scale, sumsq)
CLASSQ updates a sum of squares represented in scaled form.
logical function lsame(ca, cb)
LSAME