Exemple #1
0
func SortVectorCharLargestIndex(p []int, k int, v *vector.GslVectorChar) int32 {
	_slice_header_0 := (*reflect.SliceHeader)(unsafe.Pointer(&p))
	return int32(C.gsl_sort_vector_char_largest_index((*C.size_t)(unsafe.Pointer(_slice_header_0.Data)), C.size_t(k), (*C.gsl_vector_char)(unsafe.Pointer(v.Ptr()))))
}
Exemple #2
0
func SortVectorCharSmallest(dest []int8, k int, v *vector.GslVectorChar) int32 {
	_slice_header_0 := (*reflect.SliceHeader)(unsafe.Pointer(&dest))
	return int32(C.gsl_sort_vector_char_smallest((*C.char)(unsafe.Pointer(_slice_header_0.Data)), C.size_t(k), (*C.gsl_vector_char)(unsafe.Pointer(v.Ptr()))))
}
Exemple #3
0
func SortVector2Char(v1 *vector.GslVectorChar, v2 *vector.GslVectorChar) {
	C.gsl_sort_vector2_char((*C.gsl_vector_char)(unsafe.Pointer(v1.Ptr())), (*C.gsl_vector_char)(unsafe.Pointer(v2.Ptr())))
}
Exemple #4
0
func SortVectorCharIndex(p *permutation.GslPermutation, v *vector.GslVectorChar) int32 {
	return int32(C.gsl_sort_vector_char_index((*C.gsl_permutation)(unsafe.Pointer(p.Ptr())), (*C.gsl_vector_char)(unsafe.Pointer(v.Ptr()))))
}
Exemple #5
0
func SortVectorChar(v *vector.GslVectorChar) {
	C.gsl_sort_vector_char((*C.gsl_vector_char)(unsafe.Pointer(v.Ptr())))
}