# D18294: Algorithms to find values and indices in vectors of data

Wed Jan 16 13:18:21 GMT 2019

```yurchor added a comment.

Thanks in advance for fixing minor Doxygen issues.

> XYCurve.cpp:1721
> + /*!
> + * Find y value which corresponds to a @param x . @param valueFound indicates, if value was found.
> + * When monotonic increasing or decreasing a different algorithm will be used, which needs less steps (mean) (log_2(rowCount)) to find the value.

Here, in this line, that should be `@p x` and `@p valueFound`to avoid Doxygen error.

> XYCurve.cpp:1751
> +/*!
> +* Find index which corresponds to a @par x .
> +* When monotonic increasing or decreasing a different algorithm will be used, which needs less steps (mean) (log_2(rowCount)) to find the value.

`@p x`

> XYCurve.cpp:1883
> +/*!
> +* Find index which corresponds to a @param x . In a vector of values
> +* When monotonic increasing or decreasing a different algorithm will be used, which needs less steps (mean) (log_2(rowCount)) to find the value.

`@p x in a vector of values`

> XYCurve.cpp:1957
> +/*!
> +* Find index which corresponds to a @param x . In a vector of values
> +* When monotonic increasing or decreasing a different algorithm will be used, which needs less steps (mean) (log_2(rowCount)) to find the value.

`@p x`

> XYCurve.cpp:2031
> +/*!
> +* Find index which corresponds to a @param x . In a vector of values
> +* When monotonic increasing or decreasing a different algorithm will be used, which needs less steps (mean) (log_2(rowCount)) to find the value.

`@p x`

REPOSITORY
R262 LabPlot

REVISION DETAIL
https://phabricator.kde.org/D18294

To: Murmele, asemke
Cc: yurchor, kde-edu, Murmele, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20190116/a30b8129/attachment.html>
```