Ejemplo n.º 1
0
func ComplexHouseholderTransform(v *vector.GslVectorComplex) complex128 {
	_result := C.gsl_linalg_complex_householder_transform((*C.gsl_vector_complex)(unsafe.Pointer(v.Ptr())))
	return complex_.GslComplexToGo(uintptr(unsafe.Pointer(&_result)))
}
Ejemplo n.º 2
0
func ComplexLUSgndet(lU *matrix.GslMatrixComplex, signum int32) complex128 {
	_result := C.gsl_linalg_complex_LU_sgndet((*C.gsl_matrix_complex)(unsafe.Pointer(lU.Ptr())), C.int(signum))
	return complex_.GslComplexToGo(uintptr(unsafe.Pointer(&_result)))
}
Ejemplo n.º 3
0
func ComplexPolyComplexEval(c []complex128, len int32, z complex128) complex128 {
	_slice_header_0 := (*reflect.SliceHeader)(unsafe.Pointer(&c))
	_arg_2 := complex_.GoComplexToGsl(z)
	_result := C.gsl_complex_poly_complex_eval((*C.gsl_complex)(unsafe.Pointer(_slice_header_0.Data)), C.int(len), *(*C.gsl_complex)(unsafe.Pointer(_arg_2)))
	return complex_.GslComplexToGo(uintptr(unsafe.Pointer(&_result)))
}