Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
preprocessor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dynare
preprocessor
Commits
8211edc4
Verified
Commit
8211edc4
authored
5 years ago
by
Houtan Bastani
Browse files
Options
Downloads
Patches
Plain Diff
fix typo
parent
9e454deb
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/ModelTree.hh
+2
-4
2 additions, 4 deletions
src/ModelTree.hh
with
2 additions
and
4 deletions
src/ModelTree.hh
+
2
−
4
View file @
8211edc4
...
@@ -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]]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment