GRASS GIS 7 Programmer's Manual  7.5.svn(2018)-r72739
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
mult.c File Reference

Go to the source code of this file.

Functions

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

Function Documentation

int G_math_complex_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.