Faiss

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
Public Member Functions | Public Attributes | List of all members
faiss::SortedArray< T > Struct Template Reference

## Public Member Functions
| SortedArray (int N)
void | init (const T *x)
T | get_0 ()
T | get_diff (int n)
int | get_ord (int n)

## Public Attributes
const T * | x
int | N
std::vector< int > | perm

## Detailed Description

### template<typename T>
struct faiss::SortedArray< T >

Array that maintains a permutation of its elements so that the array's elements are sorted

Definition at line 475 of file IndexPQ.cpp.

The documentation for this struct was generated from the following file:

- /data/users/matthijs/github_faiss/faiss/IndexPQ.cpp