Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F66401328
Functions.hpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Jun 10, 07:17
Size
1 KB
Mime Type
text/x-c++
Expires
Wed, Jun 12, 07:17 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
18217261
Attached To
R7934 PCSC_project
Functions.hpp
View Options
#ifndef FUNCTIONSHEADERREF
#define FUNCTIONSHEADERREF
class LU_matrices{
public:
double** U_matrix;
double** L_matrix;
double* b_star_vector;
};
class Cholesky_matrices{
public:
double** L_matrix;
double** L_T_matrix;
double* b_star_vector;
};
double** Initialize(int size);
double** Copy(double** A,int size);
double** AllocateMemory(int rows, int cols);
void SubstractRows (double** A,int scalar,int row_1, int row_2, int size);
double Normalize (double** A,int row, int size);
LU_matrices Pivot(double** A,double* b,int size);
double* AllocateMemory(int rows);
void FreeMemory(double** A,int rows);
void FreeMemory(double* u);
int FindMax (double** A,int col,int size);
void SwapRows (double** A,int last_index, int new_index, int size);
void TerminalPrint(double** A,int rows, int cols);
void TerminalPrint(double* u,int size);
double** Multiply(double** A,double** B,int rowsA, int colsA, int rowsB, int colsB);
double* Multiply(double** A,double* u,int rowsA, int colsA, int rowsU);
double* Multiply(double* u,double** A,int rowsA, int colsA, int rowsU);
double** Multiply(double** A,double scalar, int rowsA, int colsA);
double* Multiply(double* u,double scalar, int rowsU);
void ReduceMatrix(double** A,int size,int col, double** &A_hat);
double Determinant(double** A,int size);
double** Generate_L(double** L,LU_matrices out,int size);
double* Up(double** U, double* b_star, int size);
Cholesky_matrices Cholesky_L(double** A,double* b,int size);
#endif
Event Timeline
Log In to Comment