GRASS Programmer's Manual  6.4.2(2012)
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
mult.c File Reference

Go to the source code of this file.

Functions

int mult (double *v1[2], int size1, double *v2[2], int size2, double *v3[2], int size3)
 Multiply two complex vectors, point by point.

Function Documentation

int mult ( double *  v1[2],
int  size1,
double *  v2[2],
int  size2,
double *  v3[2],
int  size3 
)

Multiply two complex vectors, point by point.

Vectors are in the form: real, imaginary (each a floating number). A vector can be of any size. Computes v3 = v1 * v2. v3 should as big as the biggest of v1 and v2.

Parameters
v1
size1
v2
size2
v3
size3
Returns
int

Definition at line 23 of file mult.c.

Referenced by GS_draw_flowline_at_xy().