Bytecode: remove unused methods
parent
5e7b7ec7b0
commit
d584317a6a
|
@ -185,53 +185,6 @@ dynSparseMatrix::Delete(int r, int c)
|
||||||
NbNZCol[c]--;
|
NbNZCol[c]--;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
dynSparseMatrix::Print(int Size, const int *b) const
|
|
||||||
{
|
|
||||||
mexPrintf(" ");
|
|
||||||
for (int k = 0; k < Size*periods; k++)
|
|
||||||
mexPrintf("%-2d ", k);
|
|
||||||
mexPrintf(" | ");
|
|
||||||
for (int k = 0; k < Size*periods; k++)
|
|
||||||
mexPrintf("%8d", k);
|
|
||||||
mexPrintf("\n");
|
|
||||||
for (int i = 0; i < Size*periods; i++)
|
|
||||||
{
|
|
||||||
NonZeroElem *first = FNZE_R[i];
|
|
||||||
int j = NbNZRow[i];
|
|
||||||
mexPrintf("%-2d ", i);
|
|
||||||
int a = 0;
|
|
||||||
for (int k = 0; k < j; k++)
|
|
||||||
{
|
|
||||||
for (int l = 0; l < (first->c_index-a); l++)
|
|
||||||
mexPrintf(" ");
|
|
||||||
mexPrintf("%-2d ", first->u_index);
|
|
||||||
a = first->c_index+1;
|
|
||||||
first = first->NZE_R_N;
|
|
||||||
}
|
|
||||||
for (int k = a; k < Size*periods; k++)
|
|
||||||
mexPrintf(" ");
|
|
||||||
mexPrintf("%-2d ", b[i]);
|
|
||||||
|
|
||||||
first = FNZE_R[i];
|
|
||||||
j = NbNZRow[i];
|
|
||||||
mexPrintf(" | %-2d ", i);
|
|
||||||
a = 0;
|
|
||||||
for (int k = 0; k < j; k++)
|
|
||||||
{
|
|
||||||
for (int l = 0; l < (first->c_index-a); l++)
|
|
||||||
mexPrintf(" ");
|
|
||||||
mexPrintf("%8.4f", static_cast<double>(u[first->u_index]));
|
|
||||||
a = first->c_index+1;
|
|
||||||
first = first->NZE_R_N;
|
|
||||||
}
|
|
||||||
for (int k = a; k < Size*periods; k++)
|
|
||||||
mexPrintf(" ");
|
|
||||||
mexPrintf("%8.4f", static_cast<double>(u[b[i]]));
|
|
||||||
mexPrintf("\n");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
dynSparseMatrix::Insert(int r, int c, int u_index, int lag_index)
|
dynSparseMatrix::Insert(int r, int c, int u_index, int lag_index)
|
||||||
{
|
{
|
||||||
|
@ -1163,13 +1116,6 @@ dynSparseMatrix::Clear_u()
|
||||||
u_liste.clear();
|
u_liste.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
dynSparseMatrix::Print_u() const
|
|
||||||
{
|
|
||||||
for (int i : u_liste)
|
|
||||||
mexPrintf("%d ", i);
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
dynSparseMatrix::End_GE()
|
dynSparseMatrix::End_GE()
|
||||||
{
|
{
|
||||||
|
|
|
@ -117,11 +117,9 @@ private:
|
||||||
int NRow(int r) const;
|
int NRow(int r) const;
|
||||||
int NCol(int c) const;
|
int NCol(int c) const;
|
||||||
int Union_Row(int row1, int row2) const;
|
int Union_Row(int row1, int row2) const;
|
||||||
void Print(int Size, const int *b) const;
|
|
||||||
int Get_u();
|
int Get_u();
|
||||||
void Delete_u(int pos);
|
void Delete_u(int pos);
|
||||||
void Clear_u();
|
void Clear_u();
|
||||||
void Print_u() const;
|
|
||||||
void *Symbolic {nullptr}, *Numeric {nullptr};
|
void *Symbolic {nullptr}, *Numeric {nullptr};
|
||||||
int complete(int beg_t, int Size, int periods, int *b);
|
int complete(int beg_t, int Size, int periods, int *b);
|
||||||
void bksub(int tbreak, int last_period, int Size, double slowc_l);
|
void bksub(int tbreak, int last_period, int Size, double slowc_l);
|
||||||
|
|
Loading…
Reference in New Issue