OpenVDB
1.1.0
|
#include <Mat.h>
Public Types | |
enum | SIZE_ { size = SIZE } |
typedef T | value_type |
typedef T | ValueType |
Public Member Functions | |
Mat () | |
Mat (Mat const &src) | |
Copy constructor. Used when the class signature matches exactly. | |
std::string | str (unsigned indentation=0) const |
void | write (std::ostream &os) const |
void | read (std::istream &is) |
Static Public Member Functions | |
static unsigned | numRows () |
static unsigned | numColumns () |
static unsigned | numElements () |
Protected Attributes | |
T | mm [SIZE *SIZE] |
Friends | |
std::ostream & | operator<< (std::ostream &ostr, const Mat< SIZE, T > &m) |
Write a Mat to an output stream. |
A base class for square matrices.
typedef T value_type |
typedef T ValueType |
enum SIZE_ |
|
inline |
Default ctor. Does nothing. Required because declaring a copy (or other) constructor means the default constructor gets left out.
Copy constructor. Used when the class signature matches exactly.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
cout << "matrix: " << mat.str(7)
matrix: [[1 2] [3 4]]
|
inline |
|
friend |
Write a Mat to an output stream.
|
protected |