vector_mag(function) Function vector_mag(function)
NAME
vector_mag - computes magnitude of the vector values.
DESCRIPTION
The vector_mag object computes magnitudes of vectors and
stores the magnitudes as scalar values.
SUPERCLASS
generic_function
INSTANCE VARIABLES
EXAMPLE
/* pipeline fragment *
display_data new:dd
vectors=(1,1,0,1,1,1,3,4,0)
/* magnitudes are sqrt(2), sqrt(3), and 5 */
;
vector_mag new:vm;
dd_function_filter new:vecmag_filter
data_in=dd
function=vm
output!
;
SEE ALSO
dd_function_filter generic_function ds_function_filter
Please send comments and suggestions toconsult@rpi.edu