#include <math3d.h>
Public Types | |
typedef super::const_iterator | const_iterator |
typedef super::iterator | iterator |
Public Member Functions | |
super::reference | at (const size_t r, const size_t c) |
super::const_reference | at (size_t r, size_t c) const |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
matrix () | |
matrix (int w, int h) | |
matrix (int w, int h, const T &v) | |
matrix (const matrix< T > &m) | |
bool | operator!= (const matrix< T > &m) const |
super::reference | operator() (size_t r, size_t c) |
super::const_reference | operator() (size_t r, size_t c) const |
template<typename S > | |
matrix< T > & | operator*= (const S &s) |
template<typename S > | |
matrix< T > & | operator/= (const S &s) |
matrix & | operator= (const matrix< T > &m) |
bool | operator== (const matrix< T > &m) const |
void | resize (int w, int h) |
size_t | size () const |
const T * | to_ptr () const |
T * | to_ptr () |
Public Attributes | |
const int & | height |
const int & | width |
Private Types | |
typedef std::vector< T > | super |
Private Attributes | |
int | height_ |
int | width_ |
Friends | |
std::ostream & | operator<< (std::ostream &s, const matrix< T > &m) |
typedef super::const_iterator math3d::matrix< T >::const_iterator |
typedef super::iterator math3d::matrix< T >::iterator |
|
private |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
const int& math3d::matrix< T >::height |
|
private |
const int& math3d::matrix< T >::width |
|
private |