function vdot, v1,v2 ;+ ; NAME: ; vdot ; PURPOSE: (one line) ; Return the dot product of two vectors ; DESCRIPTION: ; Return the dot product of two vectors ; CATEGORY: ; Math ; CALLING SEQUENCE: ; d = vdot(v1,v2) ; INPUTS: ; v1, v2 - two vector of arbitrary length ; OPTIONAL INPUT PARAMETERS: ; none ; KEYWORD INPUT PARAMETERS: ; none ; KEYWORD OUTPUT PARAMETERS: ; none ; OUTPUTS: ; v1 . v2 ; COMMON BLOCKS: ; None ; SIDE EFFECTS: ; RESTRICTIONS: ; None ; PROCEDURE: ; MODIFICATION HISTORY: ; Written 2000, by Leslie Young, SwRI ;- return, total(v1*v2) end