Skip to content

Commit

Permalink
Merge pull request xtensor-stack#2425 from tdegeus/docs
Browse files Browse the repository at this point in the history
Updating docs argmin and argmax
  • Loading branch information
JohanMabille authored Aug 23, 2021
2 parents 2618d5a + 89e3b9f commit cc23f11
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions include/xtensor/xsort.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -861,10 +861,12 @@ namespace xt
}

/**
* Find position of minimal value in xexpression
* Find position of minimal value in xexpression.
* By default, the returned index is into the flattened array.
* If `axis` is specified, the indices are along the specified axis.
*
* @param e input xexpression
* @param axis select axis (or none)
* @param axis select axis (optional)
*
* @return returns xarray with positions of minimal value
*/
Expand All @@ -887,9 +889,11 @@ namespace xt

/**
* Find position of maximal value in xexpression
* By default, the returned index is into the flattened array.
* If `axis` is specified, the indices are along the specified axis.
*
* @param e input xexpression
* @param axis select axis (or none)
* @param axis select axis (optional)
*
* @return returns xarray with positions of maximal value
*/
Expand Down

0 comments on commit cc23f11

Please sign in to comment.