fann_sys::fann_subset_train_data [] [src]

pub unsafe extern fn fann_subset_train_data(data: *const fann_train_data, pos: c_uint, length: c_uint) -> *mut fann_train_data

Returns an copy of a subset of the fann_train_data, starting at position pos and length elements forward.

fann_subset_train_data(train_data, 0, fann_length_train_data(train_data))

will do the same as fann_duplicate_train_data.

See also

fann_length_train_data

This function appears in FANN >= 2.0.0.