Function sansmic::sq#

Function Documentation#

double sansmic::sq(double val)#

Shortcut for square.

Because FORTRAN and Python have an operator for power, a shortcut function was written for brevity and to ensure there are no mistakes due to typos between two complex groupings of products/sums that are then squared.

Parameters:

val

Returns:

double