|
MBDyn-1.7.3
|
#include <stdio.h>

Go to the source code of this file.
Classes | |
| struct | matrix |
| struct | vector |
Macros | |
| #define | W_M_NONE (0x00U) |
| #define | W_M_TEXT (0x01U) |
| #define | W_M_BIN (0x02U) |
| #define | W_M_BIN_ROW (0x04U) |
Typedefs | |
| typedef struct matrix | matrix |
| typedef struct vector | vector |
Enumerations | |
| enum | mat_res_t { MAT_OK = 0, MAT_DIMENSION, MAT_NO_MEMORY, MAT_INPUT, MAT_GEN_ERROR } |
| #define W_M_BIN (0x02U) |
Definition at line 48 of file matrix.h.
Referenced by ANN_DataRead(), ANN_DataWrite(), ANN_init(), ANN_write(), main(), matrix_write(), and vector_write().
| #define W_M_BIN_ROW (0x04U) |
Definition at line 49 of file matrix.h.
Referenced by vector_write().
| #define W_M_TEXT (0x01U) |
Definition at line 47 of file matrix.h.
Referenced by ANN_write(), main(), matrix_write(), and vector_write().
| enum mat_res_t |
| Enumerator | |
|---|---|
| MAT_OK | |
| MAT_DIMENSION | |
| MAT_NO_MEMORY | |
| MAT_INPUT | |
| MAT_GEN_ERROR | |
Definition at line 52 of file matrix.h.
Definition at line 140 of file matrix.c.
References matrix::mat, MAT_DIMENSION, MAT_OK, matrix_error(), matrix::Ncolumn, and matrix::Nrow.
Referenced by main().

Definition at line 84 of file matrix.c.
References matrix::mat, MAT_OK, and matrix::Nrow.
Referenced by ANN_destroy(), and main().
| void matrix_error | ( | mat_res_t | , |
| const char * | |||
| ) |
Definition at line 535 of file matrix.c.
References MAT_DIMENSION, MAT_GEN_ERROR, MAT_INPUT, and MAT_NO_MEMORY.
Referenced by matrix_copy(), matrix_eye(), matrix_init(), matrix_null(), matrix_prod(), matrix_prod_sym(), matrix_prod_transpose(), matrix_sum(), matrix_sum_transpose(), matrix_transpose(), matrix_transpose_prod(), matrix_vector_prod(), matrixT_vector_prod(), scalar_prod(), sub_matrix_extract(), sub_matrix_insert(), vector_copy(), vector_init(), vector_null(), vector_sum(), and vector_vector_prod().
Definition at line 122 of file matrix.c.
References matrix::mat, MAT_GEN_ERROR, MAT_OK, matrix_error(), matrix_null(), and matrix::Nrow.

Definition at line 43 of file matrix.c.
References matrix::mat, MAT_DIMENSION, MAT_NO_MEMORY, MAT_OK, matrix_error(), matrix::Ncolumn, and matrix::Nrow.
Referenced by ANN_DataRead(), ANN_init(), ANN_vector_matrix_init(), and main().

Definition at line 107 of file matrix.c.
References matrix::mat, MAT_GEN_ERROR, MAT_OK, matrix_error(), matrix::Ncolumn, and matrix::Nrow.
Referenced by ANN_reset(), matrix_eye(), matrix_prod(), matrix_prod_sym(), matrix_prod_transpose(), and matrix_transpose_prod().

Definition at line 187 of file matrix.c.
References matrix::mat, MAT_DIMENSION, MAT_GEN_ERROR, MAT_OK, matrix_error(), matrix_null(), matrix::Ncolumn, and matrix::Nrow.

Definition at line 212 of file matrix.c.
References matrix::mat, MAT_DIMENSION, MAT_GEN_ERROR, MAT_OK, matrix_error(), matrix_null(), matrix::Ncolumn, and matrix::Nrow.

Definition at line 284 of file matrix.c.
References matrix::mat, MAT_DIMENSION, MAT_GEN_ERROR, MAT_OK, matrix_error(), matrix_null(), matrix::Ncolumn, and matrix::Nrow.

Definition at line 552 of file matrix.c.
References matrix::mat, MAT_OK, matrix::Ncolumn, and matrix::Nrow.
Referenced by main().
Definition at line 506 of file matrix.c.
References matrix::mat, MAT_INPUT, MAT_OK, matrix::Ncolumn, and matrix::Nrow.
Referenced by ANN_DataRead(), and ANN_init().
Definition at line 409 of file matrix.c.
References matrix::mat, MAT_DIMENSION, MAT_OK, matrix_error(), matrix::Ncolumn, and matrix::Nrow.
Referenced by ANN_TrainingEpoch(), and ANN_WeightUpdate().

Definition at line 428 of file matrix.c.
References matrix::mat, MAT_DIMENSION, MAT_OK, matrix_error(), matrix::Ncolumn, and matrix::Nrow.

| double matrix_trace | ( | matrix * | ) |
Definition at line 644 of file matrix.c.
References matrix::mat, and matrix::Nrow.
Definition at line 239 of file matrix.c.
References matrix::mat, MAT_DIMENSION, MAT_OK, matrix_error(), matrix::Ncolumn, and matrix::Nrow.

Definition at line 258 of file matrix.c.
References matrix::mat, MAT_DIMENSION, MAT_GEN_ERROR, MAT_OK, matrix_error(), matrix_null(), matrix::Ncolumn, and matrix::Nrow.

Definition at line 354 of file matrix.c.
References vector::dimension, matrix::mat, MAT_DIMENSION, MAT_GEN_ERROR, MAT_OK, matrix_error(), matrix::Ncolumn, matrix::Nrow, vector::vec, and vector_null().
Referenced by ANN_dEdW().

Definition at line 467 of file matrix.c.
References matrix::mat, MAT_OK, matrix::Ncolumn, matrix::Nrow, W_M_BIN, and W_M_TEXT.
Referenced by ANN_DataWrite(), ANN_write(), and main().
Definition at line 379 of file matrix.c.
References vector::dimension, matrix::mat, MAT_DIMENSION, MAT_GEN_ERROR, MAT_OK, matrix_error(), matrix::Ncolumn, matrix::Nrow, vector::vec, and vector_null().
Referenced by ANN_dEdW(), ANN_dXdW(), ANN_jacobian_matrix(), and ANN_sim().

Definition at line 612 of file matrix.c.
References matrix::mat, MAX, and matrix::Nrow.
Referenced by main().
Definition at line 586 of file matrix.c.
References matrix::mat, and matrix::Nrow.
Referenced by main(), and variance().
Definition at line 628 of file matrix.c.
References matrix::mat, MIN, and matrix::Nrow.
Referenced by main().
Definition at line 310 of file matrix.c.
References vector::dimension, MAT_DIMENSION, MAT_OK, matrix_error(), and vector::vec.

Definition at line 656 of file matrix.c.
References matrix::mat, MAT_DIMENSION, MAT_OK, matrix_error(), matrix::Ncolumn, and matrix::Nrow.

Definition at line 674 of file matrix.c.
References matrix::mat, MAT_DIMENSION, MAT_OK, matrix_error(), matrix::Ncolumn, and matrix::Nrow.

Definition at line 598 of file matrix.c.
References matrix::mat, mean_value(), and matrix::Nrow.
Referenced by main().

Definition at line 159 of file matrix.c.
References vector::dimension, MAT_DIMENSION, MAT_OK, matrix_error(), and vector::vec.

Definition at line 97 of file matrix.c.
References MAT_OK, and vector::vec.
Referenced by ANN_destroy(), and main().
Definition at line 68 of file matrix.c.
References vector::dimension, MAT_DIMENSION, MAT_NO_MEMORY, MAT_OK, matrix_error(), and vector::vec.
Referenced by ANN_init(), ANN_vector_vector_init(), and main().

Definition at line 176 of file matrix.c.
References vector::dimension, MAT_GEN_ERROR, MAT_OK, matrix_error(), and vector::vec.
Referenced by ANN_jacobian_matrix(), ANN_reset(), matrix_vector_prod(), and matrixT_vector_prod().

Definition at line 570 of file matrix.c.
References vector::dimension, MAT_OK, and vector::vec.
Definition at line 522 of file matrix.c.
References vector::dimension, MAT_INPUT, MAT_OK, and vector::vec.
Definition at line 447 of file matrix.c.
References vector::dimension, MAT_DIMENSION, MAT_OK, matrix_error(), and vector::vec.

Definition at line 333 of file matrix.c.
References vector::dimension, matrix::mat, MAT_DIMENSION, MAT_OK, matrix_error(), matrix::Ncolumn, matrix::Nrow, and vector::vec.

Definition at line 487 of file matrix.c.
References vector::dimension, MAT_OK, vector::vec, W_M_BIN, W_M_BIN_ROW, and W_M_TEXT.
Referenced by main().