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