예제 #1
0
파일: wavelet.go 프로젝트: dtromb/gogsl
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()))))
}
예제 #2
0
파일: wavelet.go 프로젝트: dtromb/gogsl
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()))))
}
예제 #3
0
파일: wavelet.go 프로젝트: dtromb/gogsl
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()))))
}