function vabs, v ;+ ; NAME: ; vabs ; PURPOSE: (one line) ; Return the length of a vector ; DESCRIPTION: ; Return the length of a vector ; CATEGORY: ; Math ; CALLING SEQUENCE: ; len = abs(v) ; INPUTS: ; v - a vector of arbitrary length ; OPTIONAL INPUT PARAMETERS: ; none ; KEYWORD INPUT PARAMETERS: ; none ; KEYWORD OUTPUT PARAMETERS: ; none ; OUTPUTS: ; sqrt(total(v^2)) ; COMMON BLOCKS: ; None ; SIDE EFFECTS: ; RESTRICTIONS: ; None ; PROCEDURE: ; MODIFICATION HISTORY: ; Written 2000, by Leslie Young, SwRI ;- len = sqrt(total( float(v)^2)) return, len ; end