GRASS GIS 7 Programmer's Manual  7.9.dev(2021)-e5379bbd7
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

◆ G_math_complex_mult()

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.

Referenced by del2g().