tesseract
4.00.00dev
|
#include <matrix.h>
Public Member Functions | |
MATRIX (int dimension, int bandwidth) | |
bool | Classified (int col, int row, int wildcard_id) const |
void | IncreaseBandSize (int bandwidth) |
MATRIX * | ConsumeAndMakeBigger (int ind) |
MATRIX * | DeepCopy () const |
void | print (const UNICHARSET &unicharset) const |
![]() | |
BandTriMatrix (int dim1, int dim2, const BLOB_CHOICE_LIST * &empty) | |
int | dimension () const |
int | bandwidth () const |
virtual int | index (int column, int row) const |
void | AttachOnCorner (BandTriMatrix< BLOB_CHOICE_LIST * > *array2) |
![]() | |
GENERIC_2D_ARRAY (int dim1, int dim2, const BLOB_CHOICE_LIST * &empty, BLOB_CHOICE_LIST * *array) | |
GENERIC_2D_ARRAY (int dim1, int dim2, const BLOB_CHOICE_LIST * &empty) | |
GENERIC_2D_ARRAY () | |
GENERIC_2D_ARRAY (const GENERIC_2D_ARRAY< BLOB_CHOICE_LIST * > &src) | |
virtual | ~GENERIC_2D_ARRAY () |
void | operator= (const GENERIC_2D_ARRAY< BLOB_CHOICE_LIST * > &src) |
void | ResizeNoInit (int size1, int size2) |
void | Resize (int size1, int size2, const BLOB_CHOICE_LIST * &empty) |
void | ResizeWithCopy (int size1, int size2) |
void | Clear () |
bool | Serialize (FILE *fp) const |
bool | Serialize (tesseract::TFile *fp) const |
bool | DeSerialize (bool swap, FILE *fp) |
bool | DeSerialize (tesseract::TFile *fp) |
bool | SerializeClasses (FILE *fp) const |
bool | DeSerializeClasses (bool swap, FILE *fp) |
int | dim1 () const |
int | dim2 () const |
virtual int | num_elements () const |
void | put (ICOORD pos, const BLOB_CHOICE_LIST * &thing) |
void | put (int column, int row, const BLOB_CHOICE_LIST * &thing) |
BLOB_CHOICE_LIST * | get (ICOORD pos) const |
BLOB_CHOICE_LIST * | get (int column, int row) const |
const BLOB_CHOICE_LIST * & | operator() (int column, int row) const |
BLOB_CHOICE_LIST * & | operator() (int column, int row) |
BLOB_CHOICE_LIST * * | operator[] (int column) |
const BLOB_CHOICE_LIST * * | operator[] (int column) const |
void | operator+= (const GENERIC_2D_ARRAY< BLOB_CHOICE_LIST * > &addend) |
void | operator+= (const BLOB_CHOICE_LIST * &addend) |
void | operator-= (const GENERIC_2D_ARRAY< BLOB_CHOICE_LIST * > &minuend) |
void | operator*= (const BLOB_CHOICE_LIST * &factor) |
void | Clip (const BLOB_CHOICE_LIST * &rangemin, const BLOB_CHOICE_LIST * &rangemax) |
bool | WithinBounds (const BLOB_CHOICE_LIST * &rangemin, const BLOB_CHOICE_LIST * &rangemax) const |
double | Normalize () |
BLOB_CHOICE_LIST * | Max () const |
BLOB_CHOICE_LIST * | MaxAbs () const |
void | SumSquares (const GENERIC_2D_ARRAY< BLOB_CHOICE_LIST * > &src) |
void | AdaGradScaling (const GENERIC_2D_ARRAY< BLOB_CHOICE_LIST * > &sqsum, int num_samples) |
void | AssertFinite () const |
void | RotatingTranspose (const int *dims, int num_dims, int src_dim, int dest_dim, GENERIC_2D_ARRAY< BLOB_CHOICE_LIST * > *result) const |
void | delete_matrix_pointers () |
Additional Inherited Members | |
![]() | |
bool | SerializeSize (FILE *fp) const |
bool | SerializeSize (tesseract::TFile *fp) const |
bool | DeSerializeSize (bool swap, FILE *fp) |
bool | DeSerializeSize (tesseract::TFile *fp) |
![]() | |
BLOB_CHOICE_LIST * * | array_ |
BLOB_CHOICE_LIST * | empty_ |
int | dim1_ |
int | dim2_ |
int | size_allocated_ |
Definition at line 565 of file matrix.h.
Definition at line 36 of file matrix.cpp.
Definition at line 58 of file matrix.cpp.
MATRIX * MATRIX::DeepCopy | ( | ) | const |
Definition at line 94 of file matrix.cpp.
void MATRIX::IncreaseBandSize | ( | int | bandwidth | ) |
Definition at line 49 of file matrix.cpp.
void MATRIX::print | ( | const UNICHARSET & | unicharset | ) | const |
Definition at line 112 of file matrix.cpp.