Table of Contents

NAME

QccVectorIntMoveComponentToFront - move specified component to front of integer vector

SYNOPSIS

#include "libQccPack.h"

int QccVectorIntMoveComponentToFront(QccVectorInt vector, int vector_dimension, int index);

DESCRIPTION

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.

SEE ALSO

QccVectorInt(3) , QccPack(3)

AUTHOR

Copyright (C) 1997-2021 James E. Fowler


Table of Contents



Get QccPack at SourceForge.net. Fast, secure and Free Open Source software downloads