NAME
copy_indexed_vector - Copies an indexed vector
SYNOPSIS
#include "m/m_vec_basic.h"
Example compile flags (system dependent):
-DLINUX_X86_64 -DLINUX_X86_64_OPTERON -DGNU_COMPILER
-I/home/kobus/include
-L/home/kobus/misc/load/linux_x86_64_opteron -L/usr/lib/x86_64-linux-gnu
-lKJB -lfftw3 -lgsl -lgslcblas -ljpeg -lSVM -lstdc++ -lpthread -lSLATEC -lg2c -lacml -lacml_mv -lblas -lg2c -lncursesw
int copy_indexed_vector
(
Indexed_vector **target_vpp,
const Indexed_vector *source_vp
);
DESCRIPTION
This routine copies the indexed vector pointed to by source_vp to the vector
pointer to by *target_vp. If *target_vp is NULL, then it is created. If it
is the wrong size, it is resized.
RETURNS
On success, this routine returns a pointer to a newly created vector
which is a copy of the input vector. On failure, it returns NULL, and sets
an error message. Currently this routine can only fail if storage
allocation fails.
DISCLAIMER
This software is not adequatedly tested. It is recomended that
results are checked independantly where appropriate.
AUTHOR
Kobus Barnard
DOCUMENTER
Kobus Barnard
SEE ALSO
split_v4
,
split_vector_vector
,
split_vector
,
copy_v4
,
copy_v3
,
create_vector_copy
,
select_from_vector_vector
,
copy_vector_vector
,
copy_vector_segment
,
copy_vector
,
ow_copy_vector
,
flatten_vector_vector
,
vector_vector_from_vector
,
vector_vector_from_matrix
,
get_vector_vector_transpose
,
is_element_in_vector
,
is_vector_vector_consistent