ParaMonte MATLAB 3.0.0
Parallel Monte Carlo and Machine Learning Library
See the latest version documentation. |
Go to the source code of this file.
Functions | |
function | index (in array) |
Given array(1 : n) , return the array index indx(1 : n) such that array(indx) is in ascending order.More... | |
function index | ( | in | array | ) |
Given array(1 : n)
, return the array index indx(1 : n)
such that array(indx)
is in ascending order.
This is a simple convenience wrapper around the MATLAB intrinsic function sort()
.
indx
is not the rank of the elements of the input array.[in] | array | : The input MATLAB vector of sortable values (that can be passed to the MATLAB intrinsic function sort() ). |
indx
: The output MATLAB integer vector of the same size as the input array
such that array(indx)
is in ascending order.
Possible calling interfaces ⛓
Example usage ⛓
Final Remarks ⛓
If you believe this algorithm or its documentation can be improved, we appreciate your contribution and help to edit this page's documentation and source file on GitHub.
For details on the naming abbreviations, see this page.
For details on the naming conventions, see this page.
This software is distributed under the MIT license with additional terms outlined below.
This software is available to the public under a highly permissive license.
Help us justify its continued development and maintenance by acknowledging its benefit to society, distributing it, and contributing to it.