Documentation for /home/davin/idl/socware/

Generated by IDLdoc

single page | use frames     summary     class     fields     routine details     file attributes

general/cotrans/special/

tcrossp.pro


PROCEDURE: TCROSSP Purpose: Vectorized routine to calculate the cross product of two tplot variables containing arrays of 3d vectors and storing the result in a tplot variable. Also, can perform vectorized cross product on arrays. Arguments: v1: The name of the tplot variable or an Nx3 length array storing the first vector in the cross product v2: The name of the tplot variable or an Nx3 length array storing the second vector in the cross product newname(optional): the name of the output tplot variable error(optional): named variable in which to return error state of the computation. 1 = success 0 = failure diff_tsize_ok = if set, allows the arrays to have a different number of elements in time, uses data_cut, which interpolates the data in v2 to the number of times given by v1 Outputs(optional): out: Returns output in array format, if this argument is present, no tplot variable will be created Example: TPLOT; tcrossp,'tvarname1','tvarname2' Array: tcrossp,array_2d_1,array_2d_2,out=array_output NOTES:

Routines

top source tcrossp

tcrossp, v1, v2, newname=newname, error=error, out=out, diff_tsize_ok=diff_tsize_ok

Parameters

v1
v2

Keywords

newname
error
out
diff_tsize_ok

File attributes

Modification date: Thu Feb 13 16:43:35 2014
Lines: 103