Esempio n. 1
0
func SortVectorUcharLargestIndex(p []int, k int, v *vector.GslVectorUchar) int32 {
	_slice_header_0 := (*reflect.SliceHeader)(unsafe.Pointer(&p))
	return int32(C.gsl_sort_vector_uchar_largest_index((*C.size_t)(unsafe.Pointer(_slice_header_0.Data)), C.size_t(k), (*C.gsl_vector_uchar)(unsafe.Pointer(v.Ptr()))))
}
Esempio n. 2
0
func SortVectorUcharLargest(dest []uint8, k int, v *vector.GslVectorUchar) int32 {
	_slice_header_0 := (*reflect.SliceHeader)(unsafe.Pointer(&dest))
	return int32(C.gsl_sort_vector_uchar_largest((*C.uchar)(unsafe.Pointer(_slice_header_0.Data)), C.size_t(k), (*C.gsl_vector_uchar)(unsafe.Pointer(v.Ptr()))))
}
Esempio n. 3
0
func SortVector2Uchar(v1 *vector.GslVectorUchar, v2 *vector.GslVectorUchar) {
	C.gsl_sort_vector2_uchar((*C.gsl_vector_uchar)(unsafe.Pointer(v1.Ptr())), (*C.gsl_vector_uchar)(unsafe.Pointer(v2.Ptr())))
}
Esempio n. 4
0
func SortVectorUcharIndex(p *permutation.GslPermutation, v *vector.GslVectorUchar) int32 {
	return int32(C.gsl_sort_vector_uchar_index((*C.gsl_permutation)(unsafe.Pointer(p.Ptr())), (*C.gsl_vector_uchar)(unsafe.Pointer(v.Ptr()))))
}
Esempio n. 5
0
func SortVectorUchar(v *vector.GslVectorUchar) {
	C.gsl_sort_vector_uchar((*C.gsl_vector_uchar)(unsafe.Pointer(v.Ptr())))
}