This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Utilities for inspecting/modifying widget geometry state as returned/set by | |
| `QWidget.saveGeometry` and `QWidget.restoreGeometry` | |
| """ | |
| import struct | |
| from collections import namedtuple | |
| #: Parsed geometry state (version 1; Qt < 5.4) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| FreeViz | |
| ------- | |
| Compute a lower dimensional linear projection to optimize separation | |
| between classes. | |
| """ | |
| import numpy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """ | |
| Tail call 'optimization' | |
| ------------------------ | |
| A simple tail call 'optimization' implemented by a trampoline. | |
| Usage | |
| ----- | |
| Use the `tailrec` decorator on the function, and change the tail recursive |
NewerOlder