NAME
split_vector_vector - Splits a vector vector into two target vector vectors
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 split_vector_vector
(
Vector_vector **target_1_vvpp,
Vector_vector **target_2_vvpp,
const Vector_vector *source_vvp,
const Int_vector *index_list_vp
);
DESCRIPTION
This routine splits a vector vector with the creation/over-writing semantics
used in the KJB library in the case of vector arrays. If *target_1_vvpp or
*target_2_vvpp is NULL, then this routine creates the vector vector.
If they not null, and are the right size, then the storage is recycled.
If the wrong size, then they are resized.
The routine free_vector_vector should be used to dispose of the storage once
the targets are no longer needed
RETURNS
On error, this routine returns NULL, with an error message being set.
On success it returns a pointer to the two target arrays.
DISCLAIMER
This software is not adequatedly tested. It is recomended that
results are checked independantly where appropriate.
AUTHOR
Ranjini Swaminathan
DOCUMENTER
Ranjini Swaminathan
SEE ALSO
split_v4
,
split_vector
,
copy_v4
,
copy_v3
,
copy_indexed_vector
,
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