Table of Contents
QccVectorIntMoveComponentToFront - move specified component to front
of integer vector
#include "libQccPack.h"
int QccVectorIntMoveComponentToFront(QccVectorInt
vector, int vector_dimension, int index);
QccVectorIntMoveComponentToFront()
permutes the components of vector. The component at index index, vector[index],
is moved to the front of vector (i.e., to the vector[0] position). The components
originally at indices 0 to index-1 are "shifted" one index higher to make
room for the insertion at the front of the integer vector. The permuted
integer vector is returned in vector.
QccVectorInt(3)
, QccPack(3)
Copyright (C) 1997-2021 James E. Fowler
Table of Contents