Logo Search packages:      
Sourcecode: inkscape version File versions

nr-matrix.cpp File Reference

Detailed Description

Various matrix routines. Currently includes some NR::rotate etc. routines too.

Definition in file nr-matrix.cpp.

#include "nr-matrix.h"
#include "nr-values.h"

Go to the source code of this file.


namespace  NR


void NR::assert_close (Matrix const &a, Matrix const &b)
double NR::expansion (Matrix const &m)
Matrix NR::from_basis (const Point x_basis, const Point y_basis, const Point offset=Point(0, 0))
Matrix NR::identity ()
bool NR::matrix_equalp (Matrix const &m0, Matrix const &m1, NR::Coord const epsilon)
NRMatrix * nr_matrix_invert (NRMatrix *d, NRMatrix const *m)
NRMatrix * nr_matrix_multiply (NRMatrix *d, NRMatrix const *m0, NRMatrix const *m1)
NRMatrix * nr_matrix_set_rotate (NRMatrix *m, NR::Coord const theta)
NRMatrix * nr_matrix_set_scale (NRMatrix *m, NR::Coord const sx, NR::Coord const sy)
NRMatrix * nr_matrix_set_translate (NRMatrix *m, NR::Coord const x, NR::Coord const y)
Matrix NR::operator* (Matrix const &a, Matrix const &b)
bool NR::transform_equalp (Matrix const &m0, Matrix const &m1, NR::Coord const epsilon)
bool NR::translate_equalp (Matrix const &m0, Matrix const &m1, NR::Coord const epsilon)

Generated by  Doxygen 1.6.0   Back to index