Home | Trees | Indices | Help |
|
---|
|
Math-related helper functions.
Classes | |
getHexToBin returns a dictionary mapping hex chars to their binary expansions. |
|
Matrix3 A quick and easy 3d matrix. |
Functions | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Variables | |
DEG = 0.0174532925199
|
|
ARCSEC = 4.8481368111e-06
|
|
__package__ =
|
Function Details |
returns an estimate for the minimum of the single-argument function f on (left,right). minInterval is a fourth of the smallest test interval considered. For constant functions, a value close to left will be returned. This function should only be used on functions having exactly one minimum in the interval. |
returns anInt as a string with its binary digits, MSB first. If desiredLength is given and the binary expansion is shorter, the value will be padded with zeros. >>> toBinary(349) '101011101' >>> toBinary(349, 10) '0101011101' |
returns a 3-cartesian unit vector pointing to longitude theta, latitude phi. The angles are in rad. |
returns spherical coordinates for a 3-unit vector. We do not check if unitvector actually *is* a unit vector. The returned angles are in rad. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu May 2 07:29:09 2019 | http://epydoc.sourceforge.net |