#include <matrix.h>
Public Member Functions | |
Matrix (void) | |
Matrix (const unsigned int &new_rows_number, const unsigned int &new_columns_number) | |
Matrix (const unsigned int &new_rows_number, const unsigned int &new_columns_number, const Type &type) | |
Matrix (const std::string &filename) | |
Matrix (const Matrix &other_matrix) | |
~Matrix (void) | |
Matrix< Type > & | operator= (const Matrix< Type > &other_matrix) |
Type * | operator[] (const unsigned int &i) |
const Type * | operator[] (const unsigned int &i) const |
bool | operator== (const Matrix< Type > &other_matrix) const |
bool | operator== (const Type &value) const |
bool | operator!= (const Matrix< Type > &other_matrix) const |
bool | operator!= (const Type &value) const |
bool | operator> (const Matrix< Type > &other_matrix) const |
bool | operator> (const Type &value) const |
bool | operator< (const Matrix< Type > &other_matrix) const |
bool | operator< (const Type &value) const |
bool | operator>= (const Matrix< Type > &other_matrix) const |
bool | operator>= (const Type &value) const |
bool | operator<= (const Matrix< Type > &other_matrix) const |
bool | operator<= (const Type &value) const |
const unsigned int & | get_rows_number (void) const |
const unsigned int & | get_columns_number (void) const |
void | set (void) |
void | set (const unsigned int &new_rows_number, const unsigned int &new_columns_number) |
void | set (const unsigned int &new_rows_number, const unsigned int &new_columns_number, const Type &value) |
void | set (const Matrix &other_matrix) |
void | set (const std::string &filename) |
void | set_identity (const unsigned int &new_size) |
void | set_rows_number (const unsigned int &new_rows_number) |
void | set_columns_number (const unsigned int &new_columns_number) |
void | resize (const unsigned int &new_rows_number, const unsigned int &new_columns_number) |
void | tuck_in (const unsigned int &row_position, const unsigned int &column_position, const Matrix< Type > &other_matrix) |
Matrix< Type > | arrange_submatrix (const Vector< unsigned int > &row_indices, const Vector< unsigned int > &column_indices) const |
Matrix< Type > | arrange_submatrix_rows (const Vector< unsigned int > &row_indices) const |
Matrix< Type > | arrange_submatrix_columns (const Vector< unsigned int > &column_indices) const |
Vector< Type > | arrange_row (const unsigned int &i) const |
Vector< Type > | arrange_row (const unsigned int &row_index, const Vector< unsigned int > &column_indices) const |
Vector< Type > | arrange_column (const unsigned int &j) const |
Vector< Type > | arrange_column (const unsigned int &column_index, const Vector< unsigned int > &row_indices) const |
Vector< Type > | get_diagonal (void) const |
void | set_row (const unsigned int &row_index, const Vector< Type > &new_row) |
void | set_row (const unsigned int &row_index, const Type &value) |
void | set_column (const unsigned int &column_index, const Vector< Type > &new_column) |
void | set_column (const unsigned int &column_index, const Type &value) |
void | set_diagonal (const Type &new_diagonal) |
void | set_diagonal (const Vector< Type > &new_diagonal) |
void | initialize_diagonal (const unsigned int &new_size, const Type &new_value) |
void | initialize_diagonal (const unsigned int &new_size, const Vector< Type > &new_values) |
Matrix< Type > | sum_diagonal (const Type &new_summing_value) const |
Matrix< Type > | sum_diagonal (const Vector< Type > &new_summing_values) const |
void | append_row (const Vector< Type > &new_row) |
void | append_column (const Vector< Type > &new_column) |
void | subtract_row (const unsigned int &row_index) |
void | subtract_column (const unsigned int &column_index) |
Matrix< Type > | get_assembly_columns (const Matrix< Type > &other_matrix) const |
void | initialize (const Type &value) const |
void | initialize_uniform (void) const |
void | initialize_uniform (const double &minimum, double maximum) const |
void | initialize_uniform (const Matrix< double > &minimum, const Matrix< double > &maximum) const |
void | initialize_normal (void) const |
void | initialize_normal (const double &mean, double standard_deviation) const |
void | initialize_normal (const Matrix< double > &mean, const Matrix< double > &standard_deviation) const |
void | initialize_identity (void) const |
void | initialize_diagonal (const Type &value) const |
double | calculate_trace (void) const |
Vector< double > | calculate_mean (void) const |
Vector< double > | calculate_mean (const Vector< unsigned int > &column_indices) const |
Vector< double > | calculate_mean (const Vector< unsigned int > &row_indices, const Vector< unsigned int > &column_indices) const |
Vector< Vector< double > > | calculate_mean_standard_deviation (void) const |
Vector< Vector< double > > | calculate_mean_standard_deviation (const Vector< unsigned int > &column_indices) const |
Vector< Vector< double > > | calculate_mean_standard_deviation (const Vector< unsigned int > &row_indices, const Vector< unsigned int > &column_indices) const |
Vector< Vector< Type > > | calculate_minimum_maximum (void) const |
Vector< Vector< Type > > | calculate_minimum_maximum (const Vector< unsigned int > &column_indices) const |
Vector< Vector< Type > > | calculate_minimum_maximum (const Vector< unsigned int > &row_indices, const Vector< unsigned int > &column_indices) const |
Vector< Vector< double > > | calculate_statistics (void) const |
Vector< Vector< Vector< Type > > > | calculate_histogram (const unsigned int &bins_number) const |
Vector< Vector< Vector< Type > > > | calculate_histogram (void) const |
void | scale_mean_standard_deviation (const Vector< double > &mean, const Vector< double > &standard_deviation) const |
void | scale_minimum_maximum (const Vector< double > &minimum, const Vector< double > &maximum) const |
void | unscale_mean_standard_deviation (const Vector< double > &mean, const Vector< double > &standard_deviation) const |
void | unscale_minimum_maximum (const Vector< double > &minimum, const Vector< double > &maximum) const |
Vector< unsigned int > | calculate_minimal_indices (void) const |
Vector< unsigned int > | calculate_maximal_indices (void) const |
Vector< Vector< unsigned int > > | calculate_minimal_maximal_indices (void) const |
double | calculate_sum_squared_error (const Matrix< double > &other_matrix) const |
double | calculate_sum_squared_error (const Vector< double > &vector) const |
Vector< double > | calculate_rows_norm (void) const |
Matrix< Type > | calculate_absolute_value (void) const |
Matrix< Type > | calculate_transpose (void) const |
Type | calculate_determinant (void) const |
Matrix< Type > | calculate_cofactor (void) const |
Matrix< Type > | calculate_inverse (void) const |
Matrix< Type > | operator+ (const Type &scalar) const |
Matrix< Type > | operator+ (const Vector< Type > &vector) const |
Matrix< Type > | operator+ (const Matrix< Type > &other_matrix) const |
Matrix< Type > | operator- (const Type &scalar) const |
Matrix< Type > | operator- (const Vector< Type > &vector) const |
Matrix< Type > | operator- (const Matrix< Type > &other_matrix) const |
Matrix< Type > | operator* (const Type &scalar) const |
Matrix< Type > | operator* (const Vector< Type > &vector) const |
Matrix< Type > | operator* (const Matrix< Type > &other_matrix) const |
Matrix< Type > | operator/ (const Type &scalar) const |
Matrix< Type > | operator/ (const Vector< Type > &vector) const |
Matrix< Type > | operator/ (const Matrix< Type > &other_matrix) const |
void | operator+= (const Type &value) |
void | operator+= (const Matrix< Type > &other_matrix) |
void | operator-= (const Type &value) |
void | operator-= (const Matrix< Type > &other_matrix) |
void | operator*= (const Type &value) |
void | operator*= (const Matrix< Type > &other_matrix) |
void | operator/= (const Type &value) |
void | operator/= (const Matrix< Type > &other_matrix) |
Vector< Type > | dot (const Vector< Type > &vector) const |
Matrix< Type > | dot (const Matrix< Type > &other_matrix) const |
Matrix< Type > | direct (const Matrix< Type > &other_matrix) const |
bool | empty (void) const |
bool | is_square (void) const |
bool | is_symmetric (void) const |
bool | is_antisymmetric (void) const |
bool | is_diagonal (void) const |
bool | is_scalar (void) const |
bool | is_identity (void) const |
void | print (void) const |
void | load (const std::string &filename) |
void | save (const std::string &filename) const |
std::string | to_string (void) const |
Matrix< std::string > | get_string_matrix (void) const |
Vector< Type > | to_vector (void) const |
Definition at line 41 of file matrix.h.
OpenNN::Matrix< Type >::Matrix | ( | void | ) | [inline, explicit] |
OpenNN::Matrix< Type >::Matrix | ( | const unsigned int & | new_rows_number, | |
const unsigned int & | new_columns_number | |||
) | [inline, explicit] |
OpenNN::Matrix< Type >::Matrix | ( | const unsigned int & | new_rows_number, | |
const unsigned int & | new_columns_number, | |||
const Type & | type | |||
) | [inline, explicit] |
OpenNN::Matrix< Type >::Matrix | ( | const std::string & | filename | ) | [inline, explicit] |
OpenNN::Matrix< Type >::Matrix | ( | const Matrix< Type > & | other_matrix | ) | [inline] |
OpenNN::Matrix< Type >::~Matrix | ( | void | ) | [inline] |
Matrix<Type>& OpenNN::Matrix< Type >::operator= | ( | const Matrix< Type > & | other_matrix | ) | [inline] |
Type* OpenNN::Matrix< Type >::operator[] | ( | const unsigned int & | i | ) | [inline] |
const Type* OpenNN::Matrix< Type >::operator[] | ( | const unsigned int & | i | ) | const [inline] |
bool OpenNN::Matrix< Type >::operator== | ( | const Matrix< Type > & | other_matrix | ) | const [inline] |
bool OpenNN::Matrix< Type >::operator== | ( | const Type & | value | ) | const [inline] |
bool OpenNN::Matrix< Type >::operator!= | ( | const Matrix< Type > & | other_matrix | ) | const [inline] |
bool OpenNN::Matrix< Type >::operator!= | ( | const Type & | value | ) | const [inline] |
bool OpenNN::Matrix< Type >::operator> | ( | const Matrix< Type > & | other_matrix | ) | const [inline] |
Greater than relational operator between this matrix and other vector. It produces true if all the elements of this matrix are greater than the corresponding elements of the other matrix, and false otherwise.
other_matrix | matrix to be compared with. |
bool OpenNN::Matrix< Type >::operator> | ( | const Type & | value | ) | const [inline] |
bool OpenNN::Matrix< Type >::operator< | ( | const Matrix< Type > & | other_matrix | ) | const [inline] |
bool OpenNN::Matrix< Type >::operator< | ( | const Type & | value | ) | const [inline] |
bool OpenNN::Matrix< Type >::operator>= | ( | const Matrix< Type > & | other_matrix | ) | const [inline] |
Greater than or equal to relational operator between this matrix and other matrix. It produces true if all the elements of this matrix are greater than or equal to the corresponding elements of the other matrix, and false otherwise.
other_matrix | Matrix to be compared with. |
bool OpenNN::Matrix< Type >::operator>= | ( | const Type & | value | ) | const [inline] |
bool OpenNN::Matrix< Type >::operator<= | ( | const Matrix< Type > & | other_matrix | ) | const [inline] |
Less than or equal to relational operator between this matrix and other matrix. It produces true if all the elements of this matrix are less than or equal to the corresponding elements of the other matrix, and false otherwise.
other_matrix | Matrix to be compared with. |
bool OpenNN::Matrix< Type >::operator<= | ( | const Type & | value | ) | const [inline] |
const unsigned int& OpenNN::Matrix< Type >::get_rows_number | ( | void | ) | const [inline] |
const unsigned int& OpenNN::Matrix< Type >::get_columns_number | ( | void | ) | const [inline] |
void OpenNN::Matrix< Type >::set | ( | void | ) | [inline] |
void OpenNN::Matrix< Type >::set | ( | const unsigned int & | new_rows_number, | |
const unsigned int & | new_columns_number | |||
) | [inline] |
void OpenNN::Matrix< Type >::set | ( | const unsigned int & | new_rows_number, | |
const unsigned int & | new_columns_number, | |||
const Type & | value | |||
) | [inline] |
void OpenNN::Matrix< Type >::set | ( | const Matrix< Type > & | other_matrix | ) | [inline] |
void OpenNN::Matrix< Type >::set | ( | const std::string & | filename | ) | [inline] |
void OpenNN::Matrix< Type >::set_identity | ( | const unsigned int & | new_size | ) | [inline] |
void OpenNN::Matrix< Type >::set_rows_number | ( | const unsigned int & | new_rows_number | ) | [inline] |
void OpenNN::Matrix< Type >::set_columns_number | ( | const unsigned int & | new_columns_number | ) | [inline] |
void OpenNN::Matrix< Type >::resize | ( | const unsigned int & | new_rows_number, | |
const unsigned int & | new_columns_number | |||
) | [inline] |
void OpenNN::Matrix< Type >::tuck_in | ( | const unsigned int & | row_position, | |
const unsigned int & | column_position, | |||
const Matrix< Type > & | other_matrix | |||
) | [inline] |
Matrix<Type> OpenNN::Matrix< Type >::arrange_submatrix | ( | const Vector< unsigned int > & | row_indices, | |
const Vector< unsigned int > & | column_indices | |||
) | const [inline] |
Matrix<Type> OpenNN::Matrix< Type >::arrange_submatrix_rows | ( | const Vector< unsigned int > & | row_indices | ) | const [inline] |
Matrix<Type> OpenNN::Matrix< Type >::arrange_submatrix_columns | ( | const Vector< unsigned int > & | column_indices | ) | const [inline] |
Vector<Type> OpenNN::Matrix< Type >::arrange_row | ( | const unsigned int & | i | ) | const [inline] |
Vector<Type> OpenNN::Matrix< Type >::arrange_row | ( | const unsigned int & | row_index, | |
const Vector< unsigned int > & | column_indices | |||
) | const [inline] |
Vector<Type> OpenNN::Matrix< Type >::arrange_column | ( | const unsigned int & | j | ) | const [inline] |
Vector<Type> OpenNN::Matrix< Type >::arrange_column | ( | const unsigned int & | column_index, | |
const Vector< unsigned int > & | row_indices | |||
) | const [inline] |
Vector<Type> OpenNN::Matrix< Type >::get_diagonal | ( | void | ) | const [inline] |
void OpenNN::Matrix< Type >::set_row | ( | const unsigned int & | row_index, | |
const Vector< Type > & | new_row | |||
) | [inline] |
void OpenNN::Matrix< Type >::set_row | ( | const unsigned int & | row_index, | |
const Type & | value | |||
) | [inline] |
void OpenNN::Matrix< Type >::set_column | ( | const unsigned int & | column_index, | |
const Vector< Type > & | new_column | |||
) | [inline] |
void OpenNN::Matrix< Type >::set_column | ( | const unsigned int & | column_index, | |
const Type & | value | |||
) | [inline] |
void OpenNN::Matrix< Type >::set_diagonal | ( | const Type & | new_diagonal | ) | [inline] |
void OpenNN::Matrix< Type >::set_diagonal | ( | const Vector< Type > & | new_diagonal | ) | [inline] |
void OpenNN::Matrix< Type >::initialize_diagonal | ( | const unsigned int & | new_size, | |
const Type & | new_value | |||
) | [inline] |
This method sets this matrix to be diagonal. A diagonal matrix is a square matrix in which the entries outside the main diagonal are all zero. It also initializes the elements on the main diagonal to a unique given value.
new_size | Number of rows and colums in the matrix. | |
new_value | Value of all the elements in the main diagonal. |
void OpenNN::Matrix< Type >::initialize_diagonal | ( | const unsigned int & | new_size, | |
const Vector< Type > & | new_values | |||
) | [inline] |
This method sets this matrix to be diagonal. A diagonal matrix is a square matrix in which the entries outside the main diagonal are all zero. It also initializes the elements on the main diagonal to given values.
new_size | Number of rows and colums in the matrix. | |
new_values | Values of the elements in the main diagonal. |
Matrix<Type> OpenNN::Matrix< Type >::sum_diagonal | ( | const Type & | new_summing_value | ) | const [inline] |
Matrix<Type> OpenNN::Matrix< Type >::sum_diagonal | ( | const Vector< Type > & | new_summing_values | ) | const [inline] |
void OpenNN::Matrix< Type >::append_row | ( | const Vector< Type > & | new_row | ) | [inline] |
void OpenNN::Matrix< Type >::append_column | ( | const Vector< Type > & | new_column | ) | [inline] |
This method appends a new column to the matrix. The size of the column vector must be equal to the number of rows of the matrix. Note that resizing is necessary here and therefore this method can be very inefficient.
new_column | Column to be appended. |
void OpenNN::Matrix< Type >::subtract_row | ( | const unsigned int & | row_index | ) | [inline] |
void OpenNN::Matrix< Type >::subtract_column | ( | const unsigned int & | column_index | ) | [inline] |
Matrix<Type> OpenNN::Matrix< Type >::get_assembly_columns | ( | const Matrix< Type > & | other_matrix | ) | const [inline] |
void OpenNN::Matrix< Type >::initialize | ( | const Type & | value | ) | const [inline] |
void OpenNN::Matrix< Type >::initialize_uniform | ( | void | ) | const [inline] |
void OpenNN::Matrix< Type >::initialize_uniform | ( | const double & | minimum, | |
double | maximum | |||
) | const [inline] |
void OpenNN::Matrix< Type >::initialize_uniform | ( | const Matrix< double > & | minimum, | |
const Matrix< double > & | maximum | |||
) | const [inline] |
void OpenNN::Matrix< Type >::initialize_normal | ( | void | ) | const [inline] |
void OpenNN::Matrix< Type >::initialize_normal | ( | const double & | mean, | |
double | standard_deviation | |||
) | const [inline] |
This method assigns random values to each element in the matrix, taken from a normal distribution with a given mean and a given standard deviation.
mean | Mean value of uniform distribution. | |
standard_deviation | Standard deviation value of uniform distribution. |
void OpenNN::Matrix< Type >::initialize_normal | ( | const Matrix< double > & | mean, | |
const Matrix< double > & | standard_deviation | |||
) | const [inline] |
This method assigns random values to each element in the vector, taken from normal distributions with given means and standard deviations for each element.
mean | Mean values of uniform distributions. | |
standard_deviation | Standard deviation values of uniform distributions. |
void OpenNN::Matrix< Type >::initialize_identity | ( | void | ) | const [inline] |
void OpenNN::Matrix< Type >::initialize_diagonal | ( | const Type & | value | ) | const [inline] |
double OpenNN::Matrix< Type >::calculate_trace | ( | void | ) | const [inline] |
Vector<double> OpenNN::Matrix< Type >::calculate_mean | ( | void | ) | const [inline] |
Vector<double> OpenNN::Matrix< Type >::calculate_mean | ( | const Vector< unsigned int > & | column_indices | ) | const [inline] |
Vector<double> OpenNN::Matrix< Type >::calculate_mean | ( | const Vector< unsigned int > & | row_indices, | |
const Vector< unsigned int > & | column_indices | |||
) | const [inline] |
Vector< Vector<double> > OpenNN::Matrix< Type >::calculate_mean_standard_deviation | ( | void | ) | const [inline] |
Vector< Vector<double> > OpenNN::Matrix< Type >::calculate_mean_standard_deviation | ( | const Vector< unsigned int > & | column_indices | ) | const [inline] |
Vector< Vector<double> > OpenNN::Matrix< Type >::calculate_mean_standard_deviation | ( | const Vector< unsigned int > & | row_indices, | |
const Vector< unsigned int > & | column_indices | |||
) | const [inline] |
This method returns a vector of vectors with the mean and standard deviation values of given columns for given rows. The size of the vector is two. The size of each element is equal to the size of the column indices vector.
row_indices | Indices of rows. | |
column_indices | Indices of columns. |
Vector< Vector<Type> > OpenNN::Matrix< Type >::calculate_minimum_maximum | ( | void | ) | const [inline] |
Vector< Vector<Type> > OpenNN::Matrix< Type >::calculate_minimum_maximum | ( | const Vector< unsigned int > & | column_indices | ) | const [inline] |
Vector< Vector<Type> > OpenNN::Matrix< Type >::calculate_minimum_maximum | ( | const Vector< unsigned int > & | row_indices, | |
const Vector< unsigned int > & | column_indices | |||
) | const [inline] |
This method returns a vector of vectors with the minimum and maximum values of given columns for given rows. The size of the vector is two. The size of each element is equal to the size of the column indices vector.
row_indices | Indices of rows. | |
column_indices | Indices of columns. |
Vector< Vector<double> > OpenNN::Matrix< Type >::calculate_statistics | ( | void | ) | const [inline] |
This method returns the basic statistics of the columns. The format is a vector of size four. The first subvector contains the minimum values of the columns. The second subvector contains the maximum values of the columns. The third subvector contains the mean values of the columns. The fourth subvector contains the standard deviation values of the columns.
Vector< Vector< Vector<Type> > > OpenNN::Matrix< Type >::calculate_histogram | ( | const unsigned int & | bins_number | ) | const [inline] |
This method calculates a histogram for each column, each having a given number of bins. It returns a vector of vectors of vectors. The size of the main vector is the number of columns. Each subvector contains the frequencies and centers of that colums.
bins_number | Number of bins for each histogram. |
Vector< Vector< Vector<Type> > > OpenNN::Matrix< Type >::calculate_histogram | ( | void | ) | const [inline] |
This method calculates a histogram for each column, each having a default number of bins (10). It returns a vector of vectors of vectors. The size of the main vector is the number of columns. Each subvector contains the frequencies and centers of that colums.
void OpenNN::Matrix< Type >::scale_mean_standard_deviation | ( | const Vector< double > & | mean, | |
const Vector< double > & | standard_deviation | |||
) | const [inline] |
This method scales the matrix elements with given mean and standard deviation values. It updates the data in the matrix. The size of the mean and standard deviation vectors must be equal to the number of columns in the matrix.
mean | Mean values. | |
standard_deviation | Standard deviation values. |
void OpenNN::Matrix< Type >::scale_minimum_maximum | ( | const Vector< double > & | minimum, | |
const Vector< double > & | maximum | |||
) | const [inline] |
This method scales the matrix elements with given minimum and maximum values. It updates the data in the matrix. The size of the minimum and maximum vectors must be equal to the number of columns in the matrix.
minimum | Minimum values. | |
maximum | Maximum values. |
void OpenNN::Matrix< Type >::unscale_mean_standard_deviation | ( | const Vector< double > & | mean, | |
const Vector< double > & | standard_deviation | |||
) | const [inline] |
This method unscales the matrix elements with given mean and standard deviation values. It updates the matrix elements. The size of the mean and standard deviation vectors must be equal to the number of columns in the matrix.
mean | Mean values. | |
standard_deviation | Standard deviation values. |
void OpenNN::Matrix< Type >::unscale_minimum_maximum | ( | const Vector< double > & | minimum, | |
const Vector< double > & | maximum | |||
) | const [inline] |
This method unscales the matrix elements with given minimum and maximum values. It updates the matrix elements. The size of the minimum and maximum vectors must be equal to the number of columns in the matrix.
minimum | Minimum values. | |
maximum | Maximum deviation values. |
Vector<unsigned int> OpenNN::Matrix< Type >::calculate_minimal_indices | ( | void | ) | const [inline] |
Vector<unsigned int> OpenNN::Matrix< Type >::calculate_maximal_indices | ( | void | ) | const [inline] |
Vector< Vector<unsigned int> > OpenNN::Matrix< Type >::calculate_minimal_maximal_indices | ( | void | ) | const [inline] |
This method returns the row and column indices corresponding to the entries with minimum and maximum values. The format is a vector of two vectors. Each subvector also has two elements. The first vector contains the minimal indices, and the second vector contains the maximal indices.
double OpenNN::Matrix< Type >::calculate_sum_squared_error | ( | const Matrix< double > & | other_matrix | ) | const [inline] |
double OpenNN::Matrix< Type >::calculate_sum_squared_error | ( | const Vector< double > & | vector | ) | const [inline] |
Vector<double> OpenNN::Matrix< Type >::calculate_rows_norm | ( | void | ) | const [inline] |
Matrix<Type> OpenNN::Matrix< Type >::calculate_absolute_value | ( | void | ) | const [inline] |
Matrix<Type> OpenNN::Matrix< Type >::calculate_transpose | ( | void | ) | const [inline] |
Type OpenNN::Matrix< Type >::calculate_determinant | ( | void | ) | const [inline] |
Matrix<Type> OpenNN::Matrix< Type >::calculate_cofactor | ( | void | ) | const [inline] |
Matrix<Type> OpenNN::Matrix< Type >::calculate_inverse | ( | void | ) | const [inline] |
Matrix<Type> OpenNN::Matrix< Type >::operator+ | ( | const Type & | scalar | ) | const [inline] |
Matrix<Type> OpenNN::Matrix< Type >::operator+ | ( | const Vector< Type > & | vector | ) | const [inline] |
Matrix<Type> OpenNN::Matrix< Type >::operator+ | ( | const Matrix< Type > & | other_matrix | ) | const [inline] |
Matrix<Type> OpenNN::Matrix< Type >::operator- | ( | const Type & | scalar | ) | const [inline] |
Matrix<Type> OpenNN::Matrix< Type >::operator- | ( | const Vector< Type > & | vector | ) | const [inline] |
Matrix<Type> OpenNN::Matrix< Type >::operator- | ( | const Matrix< Type > & | other_matrix | ) | const [inline] |
Matrix<Type> OpenNN::Matrix< Type >::operator* | ( | const Type & | scalar | ) | const [inline] |
Matrix<Type> OpenNN::Matrix< Type >::operator* | ( | const Vector< Type > & | vector | ) | const [inline] |
Matrix<Type> OpenNN::Matrix< Type >::operator* | ( | const Matrix< Type > & | other_matrix | ) | const [inline] |
Matrix<Type> OpenNN::Matrix< Type >::operator/ | ( | const Type & | scalar | ) | const [inline] |
Matrix<Type> OpenNN::Matrix< Type >::operator/ | ( | const Vector< Type > & | vector | ) | const [inline] |
Matrix<Type> OpenNN::Matrix< Type >::operator/ | ( | const Matrix< Type > & | other_matrix | ) | const [inline] |
void OpenNN::Matrix< Type >::operator+= | ( | const Type & | value | ) | [inline] |
void OpenNN::Matrix< Type >::operator+= | ( | const Matrix< Type > & | other_matrix | ) | [inline] |
void OpenNN::Matrix< Type >::operator-= | ( | const Type & | value | ) | [inline] |
void OpenNN::Matrix< Type >::operator-= | ( | const Matrix< Type > & | other_matrix | ) | [inline] |
void OpenNN::Matrix< Type >::operator*= | ( | const Type & | value | ) | [inline] |
void OpenNN::Matrix< Type >::operator*= | ( | const Matrix< Type > & | other_matrix | ) | [inline] |
void OpenNN::Matrix< Type >::operator/= | ( | const Type & | value | ) | [inline] |
void OpenNN::Matrix< Type >::operator/= | ( | const Matrix< Type > & | other_matrix | ) | [inline] |
Vector<Type> OpenNN::Matrix< Type >::dot | ( | const Vector< Type > & | vector | ) | const [inline] |
Matrix<Type> OpenNN::Matrix< Type >::dot | ( | const Matrix< Type > & | other_matrix | ) | const [inline] |
Matrix<Type> OpenNN::Matrix< Type >::direct | ( | const Matrix< Type > & | other_matrix | ) | const [inline] |
bool OpenNN::Matrix< Type >::empty | ( | void | ) | const [inline] |
bool OpenNN::Matrix< Type >::is_square | ( | void | ) | const [inline] |
bool OpenNN::Matrix< Type >::is_symmetric | ( | void | ) | const [inline] |
bool OpenNN::Matrix< Type >::is_antisymmetric | ( | void | ) | const [inline] |
bool OpenNN::Matrix< Type >::is_diagonal | ( | void | ) | const [inline] |
bool OpenNN::Matrix< Type >::is_scalar | ( | void | ) | const [inline] |
bool OpenNN::Matrix< Type >::is_identity | ( | void | ) | const [inline] |
void OpenNN::Matrix< Type >::print | ( | void | ) | const [inline] |
void OpenNN::Matrix< Type >::load | ( | const std::string & | filename | ) | [inline] |
void OpenNN::Matrix< Type >::save | ( | const std::string & | filename | ) | const [inline] |
std::string OpenNN::Matrix< Type >::to_string | ( | void | ) | const [inline] |
Matrix<std::string> OpenNN::Matrix< Type >::get_string_matrix | ( | void | ) | const [inline] |
Vector<Type> OpenNN::Matrix< Type >::to_vector | ( | void | ) | const [inline] |