CODeME
Matrix.h
Go to the documentation of this file.
1 
12 #ifndef MATRIX_H_INCLUDED
13 #define MATRIX_H_INCLUDED
14 
15 double** create_Double_Matrix (int rows , int cols);
16 double** Identity_Double_Matrix (int Dimension);
17 int** create_Integer_Matrix (int rows , int cols);
18 int** Identity_Integer_Matrix (int Dimension);
19 char** create_Char_Matrix (int rows , int cols);
20 void free_Double_Matrix (int rows , double** Matrix);
21 void free_Inetger_Matrix (int rows , int** Matrix);
22 void free_Char_Matrix (int rows , char** Matrix);
23 void Copy_Double_Vector (int length , double* Destiny, double* Sources);
24 void Copy_Double_Matrix (int rows , int cols , double** Destiny, double** Sources);
25 void print_Double_Matrix (int rows , int cols , double** Matrix);
26 void print_Double_Vector (int length , double* Vector);
27 double** Transpose_Matrix (int rows , int cols , double** Matrix);
28 void Vector_Add_Vector (int length, double* Source , double*Destiny);
29 void Vector_Subtract_Vector (int length, double* Source , double*Destiny);
30 void Matrix_Multiplication_Scalar (int rows , int cols , double** Matrix , double Scalar);
31 double* Matrix_Vector_Multiplication (int rows, int cols, double** Matrix, double* Vector);
32 double** Matrix_Matrix_Multiplication (int rows, int cols, int intermedia, double** Matrix_1, double** Matrix_2);
33 void Matrix_Vector_Mult (int rows, int cols, double** Matrix, double* Vector, double* Ans);
34 void Matrix_Matrix_Mult (int rows, int cols, int intermedia, double** Matrix_1, double** Matrix_2, double** Ans);
35 void Matrix_Add_Matrix (int rows, int cols , double** Source , double**Destiny);
36 void Matrix_Substract_Matrix (int rows, int cols , double** Source , double**Destiny);
37 void Matrix_Complete_Symmetry (int size , double** Matrix);
38 double Dot_Product (int length , double* Vector_1 , double* Vector_2);
39 double Norm_L2 (int length , double* Vector);
40 double Norm_Forbenius (int rows , int cols , double** Matrix);
41 double Norm_One (int rows , int cols , double** Matrix);
42 double Norm_Infinity (int rows , int cols , double** Matrix);
43 void LU_Cholesky_Diagonal_Descomp (int length , double** A);
44 double* LU_Cholesky_Diagonal_Solver (int length , double** A , double* VO);
45 void LU_Crout_Descomp (int length , double** A);
46 double* LU_Crout_Solver (int length , double** A , double* VO);
47 int LU_Cholesky_Diagonal_Check (int Dimension , double** LU , double min);
48 int Check_PositiveDef_Matrix (int Dimension , double** Matrix , double min);
49 void Set_PositiveDef_Matrix (int Dimension , double** Matrix);
50 double** Inverse_Matrix (int length , double** Matrix);
51 double Power_Method (int length , double** Matrix , int Max_Iterations , double Tolerance , double* Eigenvector);
52 double Inverse_Power_Method (int length , double** Matrix , int Max_Iterations , double Tolerance , double* Eigenvector);
53 double* Power_Method_Def (int length , int displacement , double** Matrix , int Max_Iterations , double Tolerance , double** Eigenvector);
54 double* Inverse_Power_Method_Def (int length , int displacement , double** Matrix , int Max_Iterations , double Tolerance , double** Eigenvector);
55 double Conditon_Number (int length , double** Matrix);
56 double Inverse_Conditon_Number (int length , double** Matrix);
57 
58 #endif // MATRIX_H_INCLUDED
double * Matrix_Vector_Multiplication(int rows, int cols, double **Matrix, double *Vector)
Definition: Matrix.c:155
void LU_Cholesky_Diagonal_Descomp(int length, double **A)
Definition: Matrix.c:341
double * LU_Cholesky_Diagonal_Solver(int length, double **A, double *VO)
Definition: Matrix.c:363
int Check_PositiveDef_Matrix(int Dimension, double **Matrix, double min)
Definition: Matrix.c:409