99 REAL function
slanst( norm, n, d, e )
117 parameter( one = 1.0e+0, zero = 0.0e+0 )
121 REAL anorm, scale, sum
137 ELSE IF(
lsame( norm,
'M' ) )
THEN
141 anorm = abs( d( n ) )
144 IF( anorm .LT. sum .OR.
sisnan( sum ) ) anorm = sum
146 IF( anorm .LT. sum .OR.
sisnan( sum ) ) anorm = sum
148 ELSE IF(
lsame( norm,
'O' ) .OR. norm.EQ.
'1' .OR.
149 $
lsame( norm,
'I' ) )
THEN
154 anorm = abs( d( 1 ) )
156 anorm = abs( d( 1 ) )+abs( e( 1 ) )
157 sum = abs( e( n-1 ) )+abs( d( n ) )
158 IF( anorm .LT. sum .OR.
sisnan( sum ) ) anorm = sum
160 sum = abs( d( i ) )+abs( e( i ) )+abs( e( i-1 ) )
161 IF( anorm .LT. sum .OR.
sisnan( sum ) ) anorm = sum
164 ELSE IF( (
lsame( norm,
'F' ) ) .OR. (
lsame( norm,
'E' ) ) )
THEN
171 CALL slassq( n-1, e, 1, scale, sum )
174 CALL slassq( n, d, 1, scale, sum )
175 anorm = scale*sqrt( sum )
logical function sisnan(sin)
SISNAN tests input for NaN.
real function slanst(norm, n, d, e)
SLANST 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.
logical function lsame(ca, cb)
LSAME