@@ -166,33 +166,62 @@ class LIBCELLML_EXPORT AnalyserEquation
166166 bool isStateRateBased () const ;
167167
168168 /* *
169- * @brief Get the number of variables computed by this @ref AnalyserEquation.
169+ * @brief Get the number of computed constants computed by this @ref AnalyserEquation.
170170 *
171- * Return the number of variables computed by this @ref AnalyserEquation.
171+ * Return the number of computed constants computed by this @ref AnalyserEquation.
172172 *
173- * @return The number of variables .
173+ * @return The number of computed constants .
174174 */
175- size_t variableCount () const ;
175+ size_t computedConstantCount () const ;
176176
177177 /* *
178- * @brief Get the variables computed by this @ref AnalyserEquation.
178+ * @brief Get the computed constants computed by this @ref AnalyserEquation.
179179 *
180- * Return the variables computed by this @ref AnalyserEquation.
180+ * Return the computed constants computed by this @ref AnalyserEquation.
181181 *
182- * @return The variables as a @c std::vector.
182+ * @return The computed constants as a @c std::vector.
183183 */
184- std::vector<AnalyserVariablePtr> variables () const ;
184+ std::vector<AnalyserVariablePtr> computedConstants () const ;
185185
186186 /* *
187- * @brief Get the variable , at @p index, computed by this @ref AnalyserEquation.
187+ * @brief Get the computed constant , at @p index, computed by this @ref AnalyserEquation.
188188 *
189- * Return the variable , at @p index, computed by this @ref AnalyserEquation.
189+ * Return the computed constant , at @p index, computed by this @ref AnalyserEquation.
190190 *
191- * @param index The index of the variable to return.
191+ * @param index The index of the computed constant to return.
192192 *
193- * @return The variable , at @p index, on success, @c nullptr on failure.
193+ * @return The computed constant , at @p index, on success, @c nullptr on failure.
194194 */
195- AnalyserVariablePtr variable (size_t index) const ;
195+ AnalyserVariablePtr computedConstant (size_t index) const ;
196+
197+ /* *
198+ * @brief Get the number of algebraic variables computed by this @ref AnalyserEquation.
199+ *
200+ * Return the number of algebraic variables computed by this @ref AnalyserEquation.
201+ *
202+ * @return The number of algebraic variables.
203+ */
204+ size_t algebraicCount () const ;
205+
206+ /* *
207+ * @brief Get the algebraic variables computed by this @ref AnalyserEquation.
208+ *
209+ * Return the algebraic variables computed by this @ref AnalyserEquation.
210+ *
211+ * @return The algebraic variables as a @c std::vector.
212+ */
213+ std::vector<AnalyserVariablePtr> algebraic () const ;
214+
215+ /* *
216+ * @brief Get the algebraic variable, at @p index, computed by this @ref AnalyserEquation.
217+ *
218+ * Return the algebraic variable, at @p index, computed by this @ref AnalyserEquation.
219+ *
220+ * @param index The index of the algebraic variable to return.
221+ *
222+ * @return The algebraic variable, at @p index, on success, @c nullptr on failure.
223+ */
224+ AnalyserVariablePtr algebraic (size_t index) const ;
196225
197226private:
198227 AnalyserEquation (); /* *< Constructor, @private. */
0 commit comments