Sébastien Villemot
77a7d5c3de
For bytecode+block, use the LBJ implementation in .m
...
The latter is now much faster than the implementation in the bytecode
MEX (which this commit thus removes).
2023-11-08 17:21:44 +01:00
Sébastien Villemot
7dc90654ab
Bytecode: adapt for enum removal in preprocessor
2023-11-07 15:37:55 +01:00
Sébastien Villemot
93ab67acab
🐛 Bytecode MEX: fix bug with evaluation of recursive variables with block+mfs>0
...
In “evaluate” mode, with mfs>0, if the value of variable would depend on a
previously re-evaluated recursive variable, then the value used for that recursive
variable would be incorrect (it would be the value before re-evaluation of the
recursive variable, as passed by the caller).
2023-11-07 15:37:51 +01:00
Sébastien Villemot
7e512af074
Bytecode MEX: refactor handling of temporary terms
...
In particular:
– properly return temporary terms as output argument in evaluate+dynamic mode
(with periods in rows and the temporary terms in column)
– drop the unused “global_temporary_terms” keyword input argument
2023-11-07 15:37:32 +01:00
Sébastien Villemot
f6adb1d9ad
Bytecode: safer handling of block= option
2023-11-02 16:51:02 +01:00
Sébastien Villemot
6027d31da2
Bytecode: rename some methods in Interpreter for clarity
2023-10-20 14:31:46 -04:00
Sébastien Villemot
b17ff164fc
Bytecode: rename argument in Interpreter::compute_block_time()
...
To avoid ambiguity with class member with same name.
2023-10-20 11:49:04 -04:00
Sébastien Villemot
753848ab4b
Bytecode: simplify Interpreter::Simple_Init()
2023-10-20 11:47:13 -04:00
Sébastien Villemot
12a0781bc4
Bytecode: simplify Interpreter::simple_bksub()
2023-10-20 11:43:48 -04:00
Sébastien Villemot
8573c6d06a
Bytecode: simplify Interpreter::bksub() and Interpreter::complete()
2023-10-20 11:42:04 -04:00
Sébastien Villemot
8305afc6b3
Bytecode: simplify Interpreter::compare()
2023-10-20 11:36:35 -04:00
Sébastien Villemot
ed45b2092f
Bytecode: simplify a couple of other Interpreter methods
2023-10-20 11:31:23 -04:00
Sébastien Villemot
9964de1c5f
Bytecode: simplify Interpreter::Solve_Matlab_BiCGStab()
2023-10-20 11:23:15 -04:00
Sébastien Villemot
1492073669
Bytecode: simplify Interpreter::Solve_Matlab_GMRES()
2023-10-20 11:18:40 -04:00
Sébastien Villemot
9b9c87e09f
Bytecode: further simplify Interpreter::Read_SparseMatrix()
2023-10-20 10:57:53 -04:00
Sébastien Villemot
4d13d73c58
Bytecode: simplify Interpreter::Solve_LU_UMFPack() (two boundaries version)
2023-10-20 10:47:53 -04:00
Sébastien Villemot
401fbd25a6
Bytecode: simplify Interpreter::Solve_LU_UMFPack() (one boundary version)
2023-10-20 10:41:25 -04:00
Sébastien Villemot
853b195432
Bytecode: remove unused methods in Interpreter
2023-10-20 10:34:17 -04:00
Sébastien Villemot
2617f5a4be
Bytecode: simplify Interpreter::Solve_Matlab_Relaxation()
2023-10-20 10:31:51 -04:00
Sébastien Villemot
c132817780
Bytecode: simplify Interpreter::Solve_ByteCode_Sparse_GaussianElimination()
2023-10-20 10:25:06 -04:00
Sébastien Villemot
6c3325cc5e
Bytecode: simplify Interpreter::Solve_ByteCode_Symbolic_Sparse_GaussianElimination()
2023-10-20 10:20:45 -04:00
Sébastien Villemot
d5618a61d9
Bytecode: simplify Interpreter::golden()
2023-10-20 10:17:08 -04:00
Sébastien Villemot
f47507395d
Bytecode: simplify Interpreter::mnbrak()
2023-10-20 10:16:53 -04:00
Sébastien Villemot
9eaf1510f6
Bytecode: make some parameters of Interpreter::Init_Matlab_Sparse() as const
2023-10-20 09:41:01 -04:00
Sébastien Villemot
093a547684
Bytecode: simplify Interpreter::compute_complete()
2023-10-20 09:38:03 -04:00
Sébastien Villemot
0bfcc6d2f5
Bytecode: simplify Interpreter::Init_UMFPACK_Sparse_Simple()
2023-10-19 17:34:06 -04:00
Sébastien Villemot
860285b8b8
Bytecode: simplify Interpreter::Init_Matlab_Sparse_Simple()
2023-10-19 17:34:05 -04:00
Sébastien Villemot
233d0815a6
Bytecode: simplify Interpreter::Init_UMFPACK_Sparse()
2023-10-19 17:33:24 -04:00
Sébastien Villemot
dc6a84196a
Bytecode: simplify Interpreter::Init_Matlab_Sparse()
2023-10-19 17:01:51 -04:00
Sébastien Villemot
88a0f67585
Bytecode: simplify Interpreter::Init_GE()
2023-10-19 16:58:14 -04:00
Sébastien Villemot
24fc3854e2
Bytecode: simplify Interpreter::Singular_display()
2023-10-19 16:55:51 -04:00
Sébastien Villemot
115a0a8e5d
Bytecode: simplify Interpreter::Read_SparseMatrix()
2023-10-19 16:52:48 -04:00
Sébastien Villemot
e5bf3f79b3
Bytecode: simplify Interpreter::fixe_u()
2023-10-19 16:48:00 -04:00
Sébastien Villemot
197347c870
Bytecode: merge two methods
2023-10-19 16:43:40 -04:00
Sébastien Villemot
e104318e6b
Bytecode: simplify Interpreter::Simulate_Newton_Two_Boundaries()
2023-10-19 16:38:51 -04:00
Sébastien Villemot
68cee02eb5
Bytecode: simplify Interpreter::check_for_controlled_exo_validity()
2023-10-19 16:33:54 -04:00
Sébastien Villemot
fdb3cd0623
Bytecode: simplify Interpreter::compute_complete()
2023-10-19 16:31:50 -04:00
Sébastien Villemot
8e74322325
Bytecode: rename a method for clarity
2023-10-19 15:58:33 -04:00
Sébastien Villemot
af1985d569
Bytecode: mark function as static
2023-10-19 15:56:55 -04:00
Sébastien Villemot
fd16bbe493
Bytecode: simplify Interpreter::initializeTemporaryTerms()
2023-10-19 15:56:39 -04:00
Sébastien Villemot
6809819961
Bytecode: simplify Interpreter::compute_complete_2b()
2023-10-19 15:47:10 -04:00
Sébastien Villemot
bbcbcd1eed
Bytecode: improve interface of methods for looking through Jacobian sparse matrix
2023-10-19 14:50:07 -04:00
Sébastien Villemot
b747eff473
Bytecode: remove unused method
2023-10-19 14:19:01 -04:00
Sébastien Villemot
846ed7e829
Bytecode: merge class dynSparseMatrix into Interpreter
...
These two classes were so entangled that their separation was meaningless.
2023-10-19 13:56:10 -04:00
Sébastien Villemot
654b4e57a2
Bytecode: remove several unused class members of SparseMatrix
2023-10-19 10:59:23 -04:00
Sébastien Villemot
06ac452459
Cosmetics: remove empty list of parameters for lambda functions
2023-10-19 09:56:55 -04:00
Sébastien Villemot
d78dea3086
Use __builtin_unreachable() to silent some GCC warnings
...
This is cleaner than using exit() for that purpose.
2023-10-18 14:28:54 -04:00
Sébastien Villemot
9a0462a8a6
Bytecode: remove a couple of useless casts
2023-10-16 18:06:42 -04:00
Sébastien Villemot
06a7acf19b
Bytecode: enforce consistent typing of size variables
2023-10-16 18:00:11 -04:00
Sébastien Villemot
651fed87be
Bytecode: remove warnings about narrowing (-Wnarrowing)
2023-10-16 17:58:36 -04:00