Table of Contents

NAME

QccVectorMoveComponentToFront - move specified component to front of vector

SYNOPSIS

#include "libQccPack.h"

int QccVectorMoveComponentToFront(QccVector vector, int vector_dimension, int index);

DESCRIPTION

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.

SEE ALSO

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