Exemplo n.º 1
0
func Wavelet2dTransformMatrix(w *GslWavelet, m *matrix.GslMatrix, dir GslWaveletDirection, work *GslWaveletWorkspace) int32 {
	return int32(C.gsl_wavelet2d_transform_matrix((*C.gsl_wavelet)(unsafe.Pointer(w.Ptr())), (*C.gsl_matrix)(unsafe.Pointer(m.Ptr())), C.gsl_wavelet_direction(dir), (*C.gsl_wavelet_workspace)(unsafe.Pointer(work.Ptr()))))
}
Exemplo n.º 2
0
func Wavelet2dNstransform(w *GslWavelet, data []float64, tda int, size1 int, size2 int, dir GslWaveletDirection, work *GslWaveletWorkspace) int32 {
	_slice_header_1 := (*reflect.SliceHeader)(unsafe.Pointer(&data))
	return int32(C.gsl_wavelet2d_nstransform((*C.gsl_wavelet)(unsafe.Pointer(w.Ptr())), (*C.double)(unsafe.Pointer(_slice_header_1.Data)), C.size_t(tda), C.size_t(size1), C.size_t(size2), C.gsl_wavelet_direction(dir), (*C.gsl_wavelet_workspace)(unsafe.Pointer(work.Ptr()))))
}
Exemplo n.º 3
0
func WaveletTransform(w *GslWavelet, data []float64, stride int, n int, dir GslWaveletDirection, work *GslWaveletWorkspace) int32 {
	_slice_header_1 := (*reflect.SliceHeader)(unsafe.Pointer(&data))
	return int32(C.gsl_wavelet_transform((*C.gsl_wavelet)(unsafe.Pointer(w.Ptr())), (*C.double)(unsafe.Pointer(_slice_header_1.Data)), C.size_t(stride), C.size_t(n), C.gsl_wavelet_direction(dir), (*C.gsl_wavelet_workspace)(unsafe.Pointer(work.Ptr()))))
}