Skip to contents

Find t smallest index of a vector (RcppArmadillo-version)

Usage

armabottom_k(x, k)

Arguments

x

A vector.

k

A int.

Value

The index of the t smallest element of the vector.