示例#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()))))
}