NAME
split_v4 - Splits a target vector vector vector vector
SYNOPSIS
#include "m/m_vec_basic.h"
Example compile flags (system dependent):
-DLINUX_386 -DLINUX_386_P4
-I/home/kobus/include
-L/home/kobus/load/linux_386_p4 -L/usr/local/lib -L/usr/lib
-lKJB -llapack -lblas -lg2c -lXext -lX11
int split_v4
(
V_v_v_v **target_1_vvvvpp,
V_v_v_v **target_2_vvvvpp,
const V_v_v_v *source_vvvvp,
const Int_vector *index_list_vp
);
DESCRIPTION
This routine splits a vector vector vector vector with the
creation/over-writing semantics used in the KJB library in the case of vector
vector vectors according to a list provided in index_list_vp. If
*target_1_vvvvpp or *target_2_vvvvpp is NULL, then this routine creates the
vector vector. If they are not null, and are the right size, then the storage
is recycled. If they are the wrong size, then they are resized.
The routine free_v4 should be used to dispose of the storage once it is no
longer needed.
RETURNS
On error, this routine returns NULL, with an error message being set.
On success it returns a pointer to two arrays.
DISCLAIMER
This software is not adequatedly tested. It is recomended that
results are checked independantly where appropriate.
AUTHOR
Ranjini Swaminathan
DOCUMENTOR
Ranjini Swaminathan
SEE ALSO
split_vector_vector
,
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