verse.utils.utils
Functions
|
Checks if the two polygons are intersecting. |
|
|
|
Compute a confidence ellipsoid over the parameter theta, where y = theta^T phi |
|
Compute a confidence polytope over the parameter theta, where y = theta^T phi |
|
|
|
|
|
|
|
Compute the intersection between a line segment and a rectangle. |
|
|
|
|
|
Check if rect1 has a corner inside rect2 |
|
Calculate the distance between [minA, maxA] and [minB, maxB] The distance will be negative if the intervals overlap |
|
Check whether a dataset {phi_n, y_n} is consistent |
|
Check if a new observation (phi, y) is valid according to a confidence ellipsoid on theta. |
|
Linear map of value v with range x to desired range y. |
|
Split a number into several bins with near-even distribution. |
|
|
|
Check if a point is inside an ellipse |
|
Check if a point is inside a rectangle |
|
Check if a point is inside a rotated rectangle |
|
|
|
Returns the positions of the corners of a rectangle. |
|
Do two rotated rectangles intersect? |
|
|
|
|
|
|
|