This is an old version, view current version.

7.5 Complex elementwise functions

As in the real case, elementwise complex functions apply a function to each element of a vector or matrix, returning a result of the same shape as the argument.

complex_vector operator.*(complex_vector x, complex_vector y)
The elementwise product of x and y
Available since 2.30

complex_row_vector operator.*(complex_row_vector x, complex_row_vector y)
The elementwise product of x and y
Available since 2.30

complex_matrix operator.*(complex_matrix x, complex_matrix y)
The elementwise product of x and y
Available since 2.30

complex_vector operator./(complex_vector x, complex_vector y)
The elementwise quotient of x and y
Available since 2.30

complex_vector operator./(complex x, complex_vector y)
The elementwise quotient of x and y
Available since 2.30

complex_vector operator./(complex_vector x, complex y)
The elementwise quotient of x and y
Available since 2.30

complex_row_vector operator./(complex_row_vector x, complex_row_vector y)
The elementwise quotient of x and y
Available since 2.30

complex_row_vector operator./(complex x, complex_row_vector y)
The elementwise quotient of x and y
Available since 2.30

complex_row_vector operator./(complex_row_vector x, complex y)
The elementwise quotient of x and y
Available since 2.30

complex_matrix operator./(complex_matrix x, complex_matrix y)
The elementwise quotient of x and y
Available since 2.30

complex_matrix operator./(complex x, complex_matrix y)
The elementwise quotient of x and y
Available since 2.30

complex_matrix operator./(complex_matrix x, complex y)
The elementwise quotient of x and y
Available since 2.30

vector operator.^(complex_vector x, complex_vector y)
The elementwise power of y and x
Available since 2.30

vector operator.^(complex_vector x, complex y)
The elementwise power of y and x
Available since 2.30

vector operator.^(complex x, complex_vector y)
The elementwise power of y and x
Available since 2.30

row_vector operator.^(complex_row_vector x, complex_row_vector y)
The elementwise power of y and x
Available since 2.30

row_vector operator.^(complex_row_vector x, complex y)
The elementwise power of y and x
Available since 2.30

row_vector operator.^(complex x, complex_row_vector y)
The elementwise power of y and x
Available since 2.30

matrix operator.^( complex_matrix x, complex_matrix y)
The elementwise power of y and x
Available since 2.30

matrix operator.^( complex_matrix x, complex y)
The elementwise power of y and x
Available since 2.30

matrix operator.^(complex x, complex_matrix y)
The elementwise power of y and x
Available since 2.30