blob: d6fb598b8680027ed5c8c0002c739bbb63495876 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#include "libnr/nr-matrix-ops.h"
#include "libnr/nr-point-matrix-ops.h"
NR::Point operator/(NR::Point const &p, NR::Matrix const &m) {
return p * m.inverse();
}
NR::Matrix operator/(NR::Matrix const &a, NR::Matrix const &b) {
return a * b.inverse();
}
/*
Local Variables:
mode:c++
c-file-style:"stroustrup"
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
indent-tabs-mode:nil
fill-column:99
End:
*/
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :
|