Skip to content
Snippets Groups Projects
Verified Commit 8211edc4 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

fix typo

parent 9e454deb
Branches
Tags
No related merge requests found
...@@ -345,14 +345,12 @@ public: ...@@ -345,14 +345,12 @@ public:
//! Is a given variable non-stationary? //! Is a given variable non-stationary?
bool isNonstationary(int symb_id) const; bool isNonstationary(int symb_id) const;
void set_cutoff_to_zero(); void set_cutoff_to_zero();
//! Helper for writing the Jacobian elements in MATLAB and C
/*! Writes either (i+1,j+1) or [i+j*no_eq] */
//! Simplify model equations: if a variable is equal to a constant, replace that variable elsewhere in the model //! Simplify model equations: if a variable is equal to a constant, replace that variable elsewhere in the model
void simplifyEquations(); void simplifyEquations();
//! Find equations where variable is equal to a constant //! Find equations where variable is equal to a constant
void findConstantEquations(map<VariableNode *, NumConstNode *> &subst_table) const; void findConstantEquations(map<VariableNode *, NumConstNode *> &subst_table) const;
//! Helper for writing the Jacobian elements in MATLAB and C
/*! Writes either (i+1,j+1) or [i+j*no_eq] */
void jacobianHelper(ostream &output, int eq_nb, int col_nb, ExprNodeOutputType output_type) const; void jacobianHelper(ostream &output, int eq_nb, int col_nb, ExprNodeOutputType output_type) const;
//! Helper for writing the sparse Hessian or third derivatives in MATLAB and C //! Helper for writing the sparse Hessian or third derivatives in MATLAB and C
/*! If order=2, writes either v2(i+1,j+1) or v2[i+j*NNZDerivatives[2]] /*! If order=2, writes either v2(i+1,j+1) or v2[i+j*NNZDerivatives[2]]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment