This function computes the infinity-norm of a vector x.
If x is a real vector it computes infinity norm as:
else if x is a complex vector then it computes the infinity-norm as:
amax | x | Function |
Short Precision Real | Short Precision Real | psb_geamax |
Long Precision Real | Long Precision Real | psb_geamax |
Short Precision Real | Short Precision Complex | psb_geamax |
Long Precision Real | Long Precision Complex | psb_geamax |
Notes
In this way the global communication, which for small sizes is a latency-bound operation, is invoked only once.