Table of Contents
QccVectorMoveComponentToFront - move specified component to front
of vector
#include "libQccPack.h"
int QccVectorMoveComponentToFront(QccVector
vector, int vector_dimension, int index);
QccVectorMoveComponentToFront()
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 vector. The permuted vector
is returned in vector.
QccPack(3)
Copyright (C) 1997-2021
James E. Fowler
Table of Contents