View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001418 | FreeCAD | Bug | public | 2014-02-17 14:45 | 2014-02-17 16:10 |
Reporter | shoogen | Assigned To | wmayer | ||
Priority | low | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | trunk | ||||
Summary | 0001418: Base::Matrix4d can't invert rotoinversion | ||||
Description | I'm not sure if i need to invert such a matrix. But those matrices are not singular. >>> FreeCAD.Matrix (0,-1,0,9,-1,0,0,9,0,0,1,0,0,0,0,1).inverse() Traceback (most recent call last): File "<input>", line 1, in <module> Exception: Cannot invert singular matrix >>> import numpy as np >>> np.linalg.matrix_rank(np.array(FreeCAD.Matrix (0,-1,0,9,-1,0,0,9,0,0,1,0,0,0,0,1).A).reshape(4,4)) 4 | ||||
Steps To Reproduce | >>> FreeCAD.Matrix(-1).inverse() | ||||
Tags | No tags attached. | ||||
FreeCAD Information | |||||