@@ -11,18 +11,18 @@ if Libdl.find_library(libfasttransforms) ≡ libfasttransforms
11
11
ft_set_threads (n:: Int ) = ccall ((:omp_set_num_threads , libfasttransforms), Nothing, (Int, ), n)
12
12
ft_set_threads (Sys. CPU_THREADS)
13
13
14
- c_plan_sph2fourier (n:: Int ) = ccall ((:plan_sph2fourier , libfasttransforms), PlanPtr, (Int64, ), n)
15
- fc_sph2fourier (P:: PlanPtr , A:: Matrix{Float64} ) = ccall ((:execute_sph2fourier , libfasttransforms), Nothing, (PlanPtr, Ptr{Float64}, Int64, Int64), P, A, size (A, 1 ), size (A, 2 ))
14
+ c_plan_sph2fourier (n:: Int ) = ccall ((:ft_plan_sph2fourier , libfasttransforms), PlanPtr, (Int64, ), n)
15
+ fc_sph2fourier (P:: PlanPtr , A:: Matrix{Float64} ) = ccall ((:ft_execute_sph2fourier , libfasttransforms), Nothing, (PlanPtr, Ptr{Float64}, Int64, Int64), P, A, size (A, 1 ), size (A, 2 ))
16
16
17
- c_plan_rottriangle (n:: Int , α:: Float64 , β:: Float64 , γ:: Float64 ) = ccall ((:plan_rottriangle , libfasttransforms), PlanPtr, (Int64, Float64, Float64, Float64), n, α, β, γ)
18
- c_execute_tri_hi2lo (P:: PlanPtr , A:: Matrix{Float64} ) = ccall ((:execute_tri_hi2lo , libfasttransforms), Nothing, (PlanPtr, Ptr{Float64}, Int64), P, A, size (A, 2 ))
19
- c_execute_tri_lo2hi (P:: PlanPtr , A:: Matrix{Float64} ) = ccall ((:execute_tri_lo2hi , libfasttransforms), Nothing, (PlanPtr, Ptr{Float64}, Int64), P, A, size (A, 2 ))
17
+ c_plan_rottriangle (n:: Int , α:: Float64 , β:: Float64 , γ:: Float64 ) = ccall ((:ft_plan_rottriangle , libfasttransforms), PlanPtr, (Int64, Float64, Float64, Float64), n, α, β, γ)
18
+ c_execute_tri_hi2lo (P:: PlanPtr , A:: Matrix{Float64} ) = ccall ((:ft_execute_tri_hi2lo , libfasttransforms), Nothing, (PlanPtr, Ptr{Float64}, Int64), P, A, size (A, 2 ))
19
+ c_execute_tri_lo2hi (P:: PlanPtr , A:: Matrix{Float64} ) = ccall ((:ft_execute_tri_lo2hi , libfasttransforms), Nothing, (PlanPtr, Ptr{Float64}, Int64), P, A, size (A, 2 ))
20
20
21
- c_plan_tri2cheb (n:: Int , α:: Float64 , β:: Float64 , γ:: Float64 ) = ccall ((:plan_tri2cheb , libfasttransforms), PlanPtr, (Int64, Float64, Float64, Float64), n, α, β, γ)
22
- c_tri2cheb (P:: PlanPtr , A:: Matrix{Float64} ) = ccall ((:execute_tri2cheb , libfasttransforms), Nothing, (PlanPtr, Ptr{Float64}, Int64, Int64), P, A, size (A, 1 ), size (A, 2 ))
23
- c_cheb2tri (P:: PlanPtr , A:: Matrix{Float64} ) = ccall ((:execute_cheb2tri , libfasttransforms), Nothing, (PlanPtr, Ptr{Float64}, Int64, Int64), P, A, size (A, 1 ), size (A, 2 ))
21
+ c_plan_tri2cheb (n:: Int , α:: Float64 , β:: Float64 , γ:: Float64 ) = ccall ((:ft_plan_tri2cheb , libfasttransforms), PlanPtr, (Int64, Float64, Float64, Float64), n, α, β, γ)
22
+ c_tri2cheb (P:: PlanPtr , A:: Matrix{Float64} ) = ccall ((:ft_execute_tri2cheb , libfasttransforms), Nothing, (PlanPtr, Ptr{Float64}, Int64, Int64), P, A, size (A, 1 ), size (A, 2 ))
23
+ c_cheb2tri (P:: PlanPtr , A:: Matrix{Float64} ) = ccall ((:ft_execute_cheb2tri , libfasttransforms), Nothing, (PlanPtr, Ptr{Float64}, Int64, Int64), P, A, size (A, 1 ), size (A, 2 ))
24
24
else
25
- warn ( " Cannot load FastTransforms Dylib" )
25
+ @ warn " Cannot load FastTransforms Dylib"
26
26
end
27
27
28
28
struct CTri2ChebPlan
0 commit comments