Scythe-1.0.3
template<matrix_order RO, matrix_style RS, typename T , matrix_order PO1, matrix_style PS1, matrix_order PO2, matrix_style PS2, typename S >
Matrix<T,RO,RS> scythe::atan2 ( const Matrix< T, PO1, PS1 > &  A,
const Matrix< S, PO2, PS2 > &  B 
)

Calculate the angle whose tangent is y/x.

This function calculates the angle whose tangent is y/x, given two matrices A and B (where y is the ith element of A, and x is the jth element of matrix B).

Parameters:
AThe matrix of y values
BThe matrix of x values
See also:
tan()
tanh()
sin()
sinh()
cos()
cosh()
acos()
acosh()
asin()
asinh()
atan()
atanh()