Openholo
v5.0
Open Source Digital Holographic Library
|
#include <mat.h>
Public Types | |
using | typeT = typename std::enable_if< std::is_same< Real, T >::value||std::is_same< Real_t, T >::value||std::is_same< int, T >::value||std::is_same< uchar, T >::value||std::is_same< Complex< Real >, T >::value||std::is_same< Complex< Real_t >, T >::value, T >::type |
Public Member Functions | |
matrix (void) | |
matrix (int x, int y) | |
matrix (ivec2 _size) | |
matrix (const matrix< T > &ref) | |
~matrix () | |
void | init (void) |
void | release (void) |
oph::ivec2 & | getSize (void) |
matrix< T > & | resize (int x, int y) |
matrix< T > & | identity (void) |
matrix< T > & | zeros (void) |
matrix< T > & | add (matrix< T > &p) |
matrix< T > & | sub (matrix< T > &p) |
matrix< T > & | mul (matrix< T > &p) |
matrix< T > & | div (matrix< T > &p) |
matrix< T > & | mulElem (matrix< T > &p) |
std::vector< T > & | operator[] (const int index) |
T & | operator() (int x, int y) |
void | operator= (const matrix< T > &p) |
void | operator= (T *p) |
matrix< T > & | operator+ (matrix< T > &p) |
matrix< T > & | operator- (matrix< T > &p) |
matrix< T > & | operator* (matrix< T > &p) |
matrix< T > & | operator/ (matrix< T > &p) |
matrix< T > & | operator+ (const T &p) |
const matrix< T > & | operator- (const T &p) |
const matrix< T > & | operator* (const T &p) |
const matrix< T > & | operator/ (const T &p) |
Public Attributes | |
std::vector< T > * | mat |
ivec2 | size |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
std::vector<T>* oph::matrix< T >::mat |
ivec2 oph::matrix< T >::size |