1
/* operator functions for NR::Matrix. */
2
#ifndef SEEN_NR_MATRIX_OPS_H
3
#define SEEN_NR_MATRIX_OPS_H
5
#include <libnr/nr-matrix.h>
9
inline bool operator==(Matrix const &a, Matrix const &b)
11
for(unsigned i = 0; i < 6; ++i) {
19
inline bool operator!=(Matrix const &a, Matrix const &b)
24
Matrix operator*(Matrix const &a, Matrix const &b);
26
inline Matrix &operator*=(Matrix &a, Matrix const &b) { a = a * b; return a; }
30
#endif /* !SEEN_NR_MATRIX_OPS_H */
35
c-file-style:"stroustrup"
36
c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
41
// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :