diff --git a/GALAHAD.jl/gen/rewriter.jl b/GALAHAD.jl/gen/rewriter.jl index 2e9a0913bc..40fa3f01c2 100644 --- a/GALAHAD.jl/gen/rewriter.jl +++ b/GALAHAD.jl/gen/rewriter.jl @@ -158,9 +158,9 @@ function rewrite!(path::String, name::String, optimized::Bool) routine_double_int64 = routine_double_int32 routine_quadruple_int64 = routine_quadruple_int32 - routine_single_int64 = replace(routine_single_int64, "libgalahad_single" => "libgalahad_single_64") - routine_double_int64 = replace(routine_double_int64, "libgalahad_double" => "libgalahad_double_64") - routine_quadruple_int64 = replace(routine_quadruple_int64, "libgalahad_quadruple" => "libgalahad_quadruple_64") + routine_single_int64 = replace(routine_single_int64, "libgalahad_single.$(fname)_s(" => "libgalahad_single_64.$(fname)_s_64(") + routine_double_int64 = replace(routine_double_int64, "libgalahad_double.$(fname)(" => "libgalahad_double_64.$(fname)_64(") + routine_quadruple_int64 = replace(routine_quadruple_int64, "libgalahad_quadruple.$(fname)_q(" => "libgalahad_quadruple_64.$(fname)_q_64(") routine_single_int64 = replace(routine_single_int64, "Int32" => "Int64") routine_double_int64 = replace(routine_double_int64, "Int32" => "Int64") diff --git a/GALAHAD.jl/src/wrappers/arc.jl b/GALAHAD.jl/src/wrappers/arc.jl index 5a8978a19a..87ad74050b 100644 --- a/GALAHAD.jl/src/wrappers/arc.jl +++ b/GALAHAD.jl/src/wrappers/arc.jl @@ -109,9 +109,10 @@ function arc_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function arc_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.arc_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{arc_control_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.arc_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{arc_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function arc_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -121,9 +122,10 @@ function arc_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function arc_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.arc_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{arc_control_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.arc_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{arc_control_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function arc_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -134,10 +136,10 @@ function arc_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) end function arc_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.arc_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{arc_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.arc_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{arc_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export arc_read_specfile @@ -148,9 +150,9 @@ function arc_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfile) end function arc_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.arc_read_specfile_s(control::Ptr{arc_control_type{Float32, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.arc_read_specfile_s_64(control::Ptr{arc_control_type{Float32, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function arc_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -159,9 +161,9 @@ function arc_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) end function arc_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.arc_read_specfile(control::Ptr{arc_control_type{Float64, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.arc_read_specfile_64(control::Ptr{arc_control_type{Float64, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function arc_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -171,9 +173,9 @@ function arc_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) end function arc_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.arc_read_specfile_q(control::Ptr{arc_control_type{Float128, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.arc_read_specfile_q_64(control::Ptr{arc_control_type{Float128, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end export arc_import @@ -188,11 +190,11 @@ end function arc_import(::Type{Float32}, ::Type{Int64}, control, data, status, n, H_type, ne, H_row, H_col, H_ptr) - @ccall libgalahad_single_64.arc_import_s(control::Ptr{arc_control_type{Float32,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, H_type::Ptr{Cchar}, ne::Int64, - H_row::Ptr{Int64}, H_col::Ptr{Int64}, - H_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.arc_import_s_64(control::Ptr{arc_control_type{Float32,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, H_type::Ptr{Cchar}, ne::Int64, + H_row::Ptr{Int64}, H_col::Ptr{Int64}, + H_ptr::Ptr{Int64})::Cvoid end function arc_import(::Type{Float64}, ::Type{Int32}, control, data, status, n, H_type, ne, @@ -205,11 +207,11 @@ end function arc_import(::Type{Float64}, ::Type{Int64}, control, data, status, n, H_type, ne, H_row, H_col, H_ptr) - @ccall libgalahad_double_64.arc_import(control::Ptr{arc_control_type{Float64,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, H_type::Ptr{Cchar}, ne::Int64, - H_row::Ptr{Int64}, H_col::Ptr{Int64}, - H_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.arc_import_64(control::Ptr{arc_control_type{Float64,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, H_type::Ptr{Cchar}, ne::Int64, + H_row::Ptr{Int64}, H_col::Ptr{Int64}, + H_ptr::Ptr{Int64})::Cvoid end function arc_import(::Type{Float128}, ::Type{Int32}, control, data, status, n, H_type, ne, @@ -223,11 +225,12 @@ end function arc_import(::Type{Float128}, ::Type{Int64}, control, data, status, n, H_type, ne, H_row, H_col, H_ptr) - @ccall libgalahad_quadruple_64.arc_import_q(control::Ptr{arc_control_type{Float128,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, H_type::Ptr{Cchar}, ne::Int64, - H_row::Ptr{Int64}, H_col::Ptr{Int64}, - H_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.arc_import_q_64(control::Ptr{arc_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, H_type::Ptr{Cchar}, ne::Int64, + H_row::Ptr{Int64}, H_col::Ptr{Int64}, + H_ptr::Ptr{Int64})::Cvoid end export arc_reset_control @@ -239,10 +242,10 @@ function arc_reset_control(::Type{Float32}, ::Type{Int32}, control, data, status end function arc_reset_control(::Type{Float32}, ::Type{Int64}, control, data, status) - @ccall libgalahad_single_64.arc_reset_control_s(control::Ptr{arc_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.arc_reset_control_s_64(control::Ptr{arc_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function arc_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status) @@ -252,10 +255,10 @@ function arc_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status end function arc_reset_control(::Type{Float64}, ::Type{Int64}, control, data, status) - @ccall libgalahad_double_64.arc_reset_control(control::Ptr{arc_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.arc_reset_control_64(control::Ptr{arc_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function arc_reset_control(::Type{Float128}, ::Type{Int32}, control, data, status) @@ -266,10 +269,10 @@ function arc_reset_control(::Type{Float128}, ::Type{Int32}, control, data, statu end function arc_reset_control(::Type{Float128}, ::Type{Int64}, control, data, status) - @ccall libgalahad_quadruple_64.arc_reset_control_q(control::Ptr{arc_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.arc_reset_control_q_64(control::Ptr{arc_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end export arc_solve_with_mat @@ -286,13 +289,14 @@ end function arc_solve_with_mat(::Type{Float32}, ::Type{Int64}, data, userdata, status, n, x, g, ne, eval_f, eval_g, eval_h, eval_prec) - @ccall libgalahad_single_64.arc_solve_with_mat_s(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, status::Ptr{Int64}, - n::Int64, x::Ptr{Float32}, - g::Ptr{Float32}, ne::Int64, - eval_f::Ptr{Cvoid}, eval_g::Ptr{Cvoid}, - eval_h::Ptr{Cvoid}, - eval_prec::Ptr{Cvoid})::Cvoid + @ccall libgalahad_single_64.arc_solve_with_mat_s_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + x::Ptr{Float32}, g::Ptr{Float32}, + ne::Int64, eval_f::Ptr{Cvoid}, + eval_g::Ptr{Cvoid}, + eval_h::Ptr{Cvoid}, + eval_prec::Ptr{Cvoid})::Cvoid end function arc_solve_with_mat(::Type{Float64}, ::Type{Int32}, data, userdata, status, n, x, g, @@ -307,12 +311,13 @@ end function arc_solve_with_mat(::Type{Float64}, ::Type{Int64}, data, userdata, status, n, x, g, ne, eval_f, eval_g, eval_h, eval_prec) - @ccall libgalahad_double_64.arc_solve_with_mat(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, status::Ptr{Int64}, - n::Int64, x::Ptr{Float64}, g::Ptr{Float64}, - ne::Int64, eval_f::Ptr{Cvoid}, - eval_g::Ptr{Cvoid}, eval_h::Ptr{Cvoid}, - eval_prec::Ptr{Cvoid})::Cvoid + @ccall libgalahad_double_64.arc_solve_with_mat_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + x::Ptr{Float64}, g::Ptr{Float64}, + ne::Int64, eval_f::Ptr{Cvoid}, + eval_g::Ptr{Cvoid}, eval_h::Ptr{Cvoid}, + eval_prec::Ptr{Cvoid})::Cvoid end function arc_solve_with_mat(::Type{Float128}, ::Type{Int32}, data, userdata, status, n, x, @@ -328,14 +333,14 @@ end function arc_solve_with_mat(::Type{Float128}, ::Type{Int64}, data, userdata, status, n, x, g, ne, eval_f, eval_g, eval_h, eval_prec) - @ccall libgalahad_quadruple_64.arc_solve_with_mat_q(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, - status::Ptr{Int64}, n::Int64, - x::Ptr{Float128}, g::Ptr{Float128}, - ne::Int64, eval_f::Ptr{Cvoid}, - eval_g::Ptr{Cvoid}, - eval_h::Ptr{Cvoid}, - eval_prec::Ptr{Cvoid})::Cvoid + @ccall libgalahad_quadruple_64.arc_solve_with_mat_q_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + x::Ptr{Float128}, g::Ptr{Float128}, + ne::Int64, eval_f::Ptr{Cvoid}, + eval_g::Ptr{Cvoid}, + eval_h::Ptr{Cvoid}, + eval_prec::Ptr{Cvoid})::Cvoid end export arc_solve_without_mat @@ -353,14 +358,14 @@ end function arc_solve_without_mat(::Type{Float32}, ::Type{Int64}, data, userdata, status, n, x, g, eval_f, eval_g, eval_hprod, eval_prec) - @ccall libgalahad_single_64.arc_solve_without_mat_s(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, - status::Ptr{Int64}, n::Int64, - x::Ptr{Float32}, g::Ptr{Float32}, - eval_f::Ptr{Cvoid}, - eval_g::Ptr{Cvoid}, - eval_hprod::Ptr{Cvoid}, - eval_prec::Ptr{Cvoid})::Cvoid + @ccall libgalahad_single_64.arc_solve_without_mat_s_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + x::Ptr{Float32}, g::Ptr{Float32}, + eval_f::Ptr{Cvoid}, + eval_g::Ptr{Cvoid}, + eval_hprod::Ptr{Cvoid}, + eval_prec::Ptr{Cvoid})::Cvoid end function arc_solve_without_mat(::Type{Float64}, ::Type{Int32}, data, userdata, status, n, x, @@ -375,13 +380,14 @@ end function arc_solve_without_mat(::Type{Float64}, ::Type{Int64}, data, userdata, status, n, x, g, eval_f, eval_g, eval_hprod, eval_prec) - @ccall libgalahad_double_64.arc_solve_without_mat(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, - status::Ptr{Int64}, n::Int64, - x::Ptr{Float64}, g::Ptr{Float64}, - eval_f::Ptr{Cvoid}, eval_g::Ptr{Cvoid}, - eval_hprod::Ptr{Cvoid}, - eval_prec::Ptr{Cvoid})::Cvoid + @ccall libgalahad_double_64.arc_solve_without_mat_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + x::Ptr{Float64}, g::Ptr{Float64}, + eval_f::Ptr{Cvoid}, + eval_g::Ptr{Cvoid}, + eval_hprod::Ptr{Cvoid}, + eval_prec::Ptr{Cvoid})::Cvoid end function arc_solve_without_mat(::Type{Float128}, ::Type{Int32}, data, userdata, status, n, @@ -398,14 +404,15 @@ end function arc_solve_without_mat(::Type{Float128}, ::Type{Int64}, data, userdata, status, n, x, g, eval_f, eval_g, eval_hprod, eval_prec) - @ccall libgalahad_quadruple_64.arc_solve_without_mat_q(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, - status::Ptr{Int64}, n::Int64, - x::Ptr{Float128}, g::Ptr{Float128}, - eval_f::Ptr{Cvoid}, - eval_g::Ptr{Cvoid}, - eval_hprod::Ptr{Cvoid}, - eval_prec::Ptr{Cvoid})::Cvoid + @ccall libgalahad_quadruple_64.arc_solve_without_mat_q_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + x::Ptr{Float128}, + g::Ptr{Float128}, + eval_f::Ptr{Cvoid}, + eval_g::Ptr{Cvoid}, + eval_hprod::Ptr{Cvoid}, + eval_prec::Ptr{Cvoid})::Cvoid end export arc_solve_reverse_with_mat @@ -424,14 +431,15 @@ end function arc_solve_reverse_with_mat(::Type{Float32}, ::Type{Int64}, data, status, eval_status, n, x, f, g, ne, H_val, u, v) - @ccall libgalahad_single_64.arc_solve_reverse_with_mat_s(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, - n::Int64, x::Ptr{Float32}, - f::Float32, g::Ptr{Float32}, - ne::Int64, H_val::Ptr{Float32}, - u::Ptr{Float32}, - v::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.arc_solve_reverse_with_mat_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, x::Ptr{Float32}, + f::Float32, g::Ptr{Float32}, + ne::Int64, + H_val::Ptr{Float32}, + u::Ptr{Float32}, + v::Ptr{Float32})::Cvoid end function arc_solve_reverse_with_mat(::Type{Float64}, ::Type{Int32}, data, status, @@ -447,14 +455,14 @@ end function arc_solve_reverse_with_mat(::Type{Float64}, ::Type{Int64}, data, status, eval_status, n, x, f, g, ne, H_val, u, v) - @ccall libgalahad_double_64.arc_solve_reverse_with_mat(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, n::Int64, - x::Ptr{Float64}, f::Float64, - g::Ptr{Float64}, ne::Int64, - H_val::Ptr{Float64}, - u::Ptr{Float64}, - v::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.arc_solve_reverse_with_mat_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, x::Ptr{Float64}, + f::Float64, g::Ptr{Float64}, + ne::Int64, H_val::Ptr{Float64}, + u::Ptr{Float64}, + v::Ptr{Float64})::Cvoid end function arc_solve_reverse_with_mat(::Type{Float128}, ::Type{Int32}, data, status, @@ -471,15 +479,16 @@ end function arc_solve_reverse_with_mat(::Type{Float128}, ::Type{Int64}, data, status, eval_status, n, x, f, g, ne, H_val, u, v) - @ccall libgalahad_quadruple_64.arc_solve_reverse_with_mat_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, - n::Int64, x::Ptr{Float128}, - f::Cfloat128, - g::Ptr{Float128}, ne::Int64, - H_val::Ptr{Float128}, - u::Ptr{Float128}, - v::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.arc_solve_reverse_with_mat_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, x::Ptr{Float128}, + f::Cfloat128, + g::Ptr{Float128}, + ne::Int64, + H_val::Ptr{Float128}, + u::Ptr{Float128}, + v::Ptr{Float128})::Cvoid end export arc_solve_reverse_without_mat @@ -497,13 +506,14 @@ end function arc_solve_reverse_without_mat(::Type{Float32}, ::Type{Int64}, data, status, eval_status, n, x, f, g, u, v) - @ccall libgalahad_single_64.arc_solve_reverse_without_mat_s(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, - n::Int64, x::Ptr{Float32}, - f::Float32, g::Ptr{Float32}, - u::Ptr{Float32}, - v::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.arc_solve_reverse_without_mat_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, x::Ptr{Float32}, + f::Float32, + g::Ptr{Float32}, + u::Ptr{Float32}, + v::Ptr{Float32})::Cvoid end function arc_solve_reverse_without_mat(::Type{Float64}, ::Type{Int32}, data, status, @@ -518,13 +528,13 @@ end function arc_solve_reverse_without_mat(::Type{Float64}, ::Type{Int64}, data, status, eval_status, n, x, f, g, u, v) - @ccall libgalahad_double_64.arc_solve_reverse_without_mat(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, - n::Int64, x::Ptr{Float64}, - f::Float64, g::Ptr{Float64}, - u::Ptr{Float64}, - v::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.arc_solve_reverse_without_mat_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, x::Ptr{Float64}, + f::Float64, g::Ptr{Float64}, + u::Ptr{Float64}, + v::Ptr{Float64})::Cvoid end function arc_solve_reverse_without_mat(::Type{Float128}, ::Type{Int32}, data, status, @@ -541,14 +551,15 @@ end function arc_solve_reverse_without_mat(::Type{Float128}, ::Type{Int64}, data, status, eval_status, n, x, f, g, u, v) - @ccall libgalahad_quadruple_64.arc_solve_reverse_without_mat_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, - n::Int64, x::Ptr{Float128}, - f::Cfloat128, - g::Ptr{Float128}, - u::Ptr{Float128}, - v::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.arc_solve_reverse_without_mat_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, + x::Ptr{Float128}, + f::Cfloat128, + g::Ptr{Float128}, + u::Ptr{Float128}, + v::Ptr{Float128})::Cvoid end export arc_information @@ -560,9 +571,10 @@ function arc_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function arc_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.arc_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{arc_inform_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.arc_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{arc_inform_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function arc_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -572,9 +584,9 @@ function arc_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function arc_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.arc_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{arc_inform_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.arc_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{arc_inform_type{Float64,Int64}}, + status::Ptr{Int64})::Cvoid end function arc_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -584,10 +596,10 @@ function arc_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function arc_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.arc_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{arc_inform_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.arc_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{arc_inform_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export arc_terminate @@ -599,9 +611,10 @@ function arc_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function arc_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.arc_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{arc_control_type{Float32,Int64}}, - inform::Ptr{arc_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.arc_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{arc_control_type{Float32, + Int64}}, + inform::Ptr{arc_inform_type{Float32,Int64}})::Cvoid end function arc_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -611,9 +624,9 @@ function arc_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function arc_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.arc_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{arc_control_type{Float64,Int64}}, - inform::Ptr{arc_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.arc_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{arc_control_type{Float64,Int64}}, + inform::Ptr{arc_inform_type{Float64,Int64}})::Cvoid end function arc_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -623,9 +636,9 @@ function arc_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function arc_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.arc_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{arc_control_type{Float128, - Int64}}, - inform::Ptr{arc_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.arc_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{arc_control_type{Float128, + Int64}}, + inform::Ptr{arc_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/bgo.jl b/GALAHAD.jl/src/wrappers/bgo.jl index 853a613e47..a4192ef5ab 100644 --- a/GALAHAD.jl/src/wrappers/bgo.jl +++ b/GALAHAD.jl/src/wrappers/bgo.jl @@ -62,9 +62,10 @@ function bgo_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function bgo_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.bgo_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{bgo_control_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.bgo_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{bgo_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function bgo_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -74,9 +75,10 @@ function bgo_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function bgo_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.bgo_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{bgo_control_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.bgo_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{bgo_control_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function bgo_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -87,10 +89,10 @@ function bgo_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) end function bgo_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.bgo_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{bgo_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.bgo_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{bgo_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export bgo_read_specfile @@ -101,9 +103,9 @@ function bgo_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfile) end function bgo_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.bgo_read_specfile_s(control::Ptr{bgo_control_type{Float32, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.bgo_read_specfile_s_64(control::Ptr{bgo_control_type{Float32, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function bgo_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -112,9 +114,9 @@ function bgo_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) end function bgo_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.bgo_read_specfile(control::Ptr{bgo_control_type{Float64, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.bgo_read_specfile_64(control::Ptr{bgo_control_type{Float64, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function bgo_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -124,9 +126,9 @@ function bgo_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) end function bgo_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.bgo_read_specfile_q(control::Ptr{bgo_control_type{Float128, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.bgo_read_specfile_q_64(control::Ptr{bgo_control_type{Float128, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end export bgo_import @@ -142,11 +144,12 @@ end function bgo_import(::Type{Float32}, ::Type{Int64}, control, data, status, n, x_l, x_u, H_type, ne, H_row, H_col, H_ptr) - @ccall libgalahad_single_64.bgo_import_s(control::Ptr{bgo_control_type{Float32,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, x_l::Ptr{Float32}, x_u::Ptr{Float32}, - H_type::Ptr{Cchar}, ne::Int64, H_row::Ptr{Int64}, - H_col::Ptr{Int64}, H_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.bgo_import_s_64(control::Ptr{bgo_control_type{Float32,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, x_l::Ptr{Float32}, + x_u::Ptr{Float32}, H_type::Ptr{Cchar}, + ne::Int64, H_row::Ptr{Int64}, + H_col::Ptr{Int64}, H_ptr::Ptr{Int64})::Cvoid end function bgo_import(::Type{Float64}, ::Type{Int32}, control, data, status, n, x_l, x_u, @@ -160,11 +163,12 @@ end function bgo_import(::Type{Float64}, ::Type{Int64}, control, data, status, n, x_l, x_u, H_type, ne, H_row, H_col, H_ptr) - @ccall libgalahad_double_64.bgo_import(control::Ptr{bgo_control_type{Float64,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, x_l::Ptr{Float64}, x_u::Ptr{Float64}, - H_type::Ptr{Cchar}, ne::Int64, H_row::Ptr{Int64}, - H_col::Ptr{Int64}, H_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.bgo_import_64(control::Ptr{bgo_control_type{Float64,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, x_l::Ptr{Float64}, x_u::Ptr{Float64}, + H_type::Ptr{Cchar}, ne::Int64, + H_row::Ptr{Int64}, H_col::Ptr{Int64}, + H_ptr::Ptr{Int64})::Cvoid end function bgo_import(::Type{Float128}, ::Type{Int32}, control, data, status, n, x_l, x_u, @@ -178,12 +182,14 @@ end function bgo_import(::Type{Float128}, ::Type{Int64}, control, data, status, n, x_l, x_u, H_type, ne, H_row, H_col, H_ptr) - @ccall libgalahad_quadruple_64.bgo_import_q(control::Ptr{bgo_control_type{Float128,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, x_l::Ptr{Float128}, - x_u::Ptr{Float128}, H_type::Ptr{Cchar}, - ne::Int64, H_row::Ptr{Int64}, - H_col::Ptr{Int64}, H_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.bgo_import_q_64(control::Ptr{bgo_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, x_l::Ptr{Float128}, + x_u::Ptr{Float128}, H_type::Ptr{Cchar}, + ne::Int64, H_row::Ptr{Int64}, + H_col::Ptr{Int64}, + H_ptr::Ptr{Int64})::Cvoid end export bgo_reset_control @@ -195,10 +201,10 @@ function bgo_reset_control(::Type{Float32}, ::Type{Int32}, control, data, status end function bgo_reset_control(::Type{Float32}, ::Type{Int64}, control, data, status) - @ccall libgalahad_single_64.bgo_reset_control_s(control::Ptr{bgo_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.bgo_reset_control_s_64(control::Ptr{bgo_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function bgo_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status) @@ -208,10 +214,10 @@ function bgo_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status end function bgo_reset_control(::Type{Float64}, ::Type{Int64}, control, data, status) - @ccall libgalahad_double_64.bgo_reset_control(control::Ptr{bgo_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.bgo_reset_control_64(control::Ptr{bgo_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function bgo_reset_control(::Type{Float128}, ::Type{Int32}, control, data, status) @@ -222,10 +228,10 @@ function bgo_reset_control(::Type{Float128}, ::Type{Int32}, control, data, statu end function bgo_reset_control(::Type{Float128}, ::Type{Int64}, control, data, status) - @ccall libgalahad_quadruple_64.bgo_reset_control_q(control::Ptr{bgo_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.bgo_reset_control_q_64(control::Ptr{bgo_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end export bgo_solve_with_mat @@ -242,14 +248,15 @@ end function bgo_solve_with_mat(::Type{Float32}, ::Type{Int64}, data, userdata, status, n, x, g, ne, eval_f, eval_g, eval_h, eval_hprod, eval_prec) - @ccall libgalahad_single_64.bgo_solve_with_mat_s(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, status::Ptr{Int64}, - n::Int64, x::Ptr{Float32}, - g::Ptr{Float32}, ne::Int64, - eval_f::Ptr{Cvoid}, eval_g::Ptr{Cvoid}, - eval_h::Ptr{Cvoid}, - eval_hprod::Ptr{Cvoid}, - eval_prec::Ptr{Cvoid})::Cvoid + @ccall libgalahad_single_64.bgo_solve_with_mat_s_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + x::Ptr{Float32}, g::Ptr{Float32}, + ne::Int64, eval_f::Ptr{Cvoid}, + eval_g::Ptr{Cvoid}, + eval_h::Ptr{Cvoid}, + eval_hprod::Ptr{Cvoid}, + eval_prec::Ptr{Cvoid})::Cvoid end function bgo_solve_with_mat(::Type{Float64}, ::Type{Int32}, data, userdata, status, n, x, g, @@ -264,13 +271,14 @@ end function bgo_solve_with_mat(::Type{Float64}, ::Type{Int64}, data, userdata, status, n, x, g, ne, eval_f, eval_g, eval_h, eval_hprod, eval_prec) - @ccall libgalahad_double_64.bgo_solve_with_mat(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, status::Ptr{Int64}, - n::Int64, x::Ptr{Float64}, g::Ptr{Float64}, - ne::Int64, eval_f::Ptr{Cvoid}, - eval_g::Ptr{Cvoid}, eval_h::Ptr{Cvoid}, - eval_hprod::Ptr{Cvoid}, - eval_prec::Ptr{Cvoid})::Cvoid + @ccall libgalahad_double_64.bgo_solve_with_mat_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + x::Ptr{Float64}, g::Ptr{Float64}, + ne::Int64, eval_f::Ptr{Cvoid}, + eval_g::Ptr{Cvoid}, eval_h::Ptr{Cvoid}, + eval_hprod::Ptr{Cvoid}, + eval_prec::Ptr{Cvoid})::Cvoid end function bgo_solve_with_mat(::Type{Float128}, ::Type{Int32}, data, userdata, status, n, x, @@ -287,15 +295,15 @@ end function bgo_solve_with_mat(::Type{Float128}, ::Type{Int64}, data, userdata, status, n, x, g, ne, eval_f, eval_g, eval_h, eval_hprod, eval_prec) - @ccall libgalahad_quadruple_64.bgo_solve_with_mat_q(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, - status::Ptr{Int64}, n::Int64, - x::Ptr{Float128}, g::Ptr{Float128}, - ne::Int64, eval_f::Ptr{Cvoid}, - eval_g::Ptr{Cvoid}, - eval_h::Ptr{Cvoid}, - eval_hprod::Ptr{Cvoid}, - eval_prec::Ptr{Cvoid})::Cvoid + @ccall libgalahad_quadruple_64.bgo_solve_with_mat_q_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + x::Ptr{Float128}, g::Ptr{Float128}, + ne::Int64, eval_f::Ptr{Cvoid}, + eval_g::Ptr{Cvoid}, + eval_h::Ptr{Cvoid}, + eval_hprod::Ptr{Cvoid}, + eval_prec::Ptr{Cvoid})::Cvoid end export bgo_solve_without_mat @@ -314,15 +322,15 @@ end function bgo_solve_without_mat(::Type{Float32}, ::Type{Int64}, data, userdata, status, n, x, g, eval_f, eval_g, eval_hprod, eval_shprod, eval_prec) - @ccall libgalahad_single_64.bgo_solve_without_mat_s(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, - status::Ptr{Int64}, n::Int64, - x::Ptr{Float32}, g::Ptr{Float32}, - eval_f::Ptr{Cvoid}, - eval_g::Ptr{Cvoid}, - eval_hprod::Ptr{Cvoid}, - eval_shprod::Ptr{Cvoid}, - eval_prec::Ptr{Cvoid})::Cvoid + @ccall libgalahad_single_64.bgo_solve_without_mat_s_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + x::Ptr{Float32}, g::Ptr{Float32}, + eval_f::Ptr{Cvoid}, + eval_g::Ptr{Cvoid}, + eval_hprod::Ptr{Cvoid}, + eval_shprod::Ptr{Cvoid}, + eval_prec::Ptr{Cvoid})::Cvoid end function bgo_solve_without_mat(::Type{Float64}, ::Type{Int32}, data, userdata, status, n, x, @@ -338,14 +346,15 @@ end function bgo_solve_without_mat(::Type{Float64}, ::Type{Int64}, data, userdata, status, n, x, g, eval_f, eval_g, eval_hprod, eval_shprod, eval_prec) - @ccall libgalahad_double_64.bgo_solve_without_mat(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, - status::Ptr{Int64}, n::Int64, - x::Ptr{Float64}, g::Ptr{Float64}, - eval_f::Ptr{Cvoid}, eval_g::Ptr{Cvoid}, - eval_hprod::Ptr{Cvoid}, - eval_shprod::Ptr{Cvoid}, - eval_prec::Ptr{Cvoid})::Cvoid + @ccall libgalahad_double_64.bgo_solve_without_mat_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + x::Ptr{Float64}, g::Ptr{Float64}, + eval_f::Ptr{Cvoid}, + eval_g::Ptr{Cvoid}, + eval_hprod::Ptr{Cvoid}, + eval_shprod::Ptr{Cvoid}, + eval_prec::Ptr{Cvoid})::Cvoid end function bgo_solve_without_mat(::Type{Float128}, ::Type{Int32}, data, userdata, status, n, @@ -363,15 +372,16 @@ end function bgo_solve_without_mat(::Type{Float128}, ::Type{Int64}, data, userdata, status, n, x, g, eval_f, eval_g, eval_hprod, eval_shprod, eval_prec) - @ccall libgalahad_quadruple_64.bgo_solve_without_mat_q(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, - status::Ptr{Int64}, n::Int64, - x::Ptr{Float128}, g::Ptr{Float128}, - eval_f::Ptr{Cvoid}, - eval_g::Ptr{Cvoid}, - eval_hprod::Ptr{Cvoid}, - eval_shprod::Ptr{Cvoid}, - eval_prec::Ptr{Cvoid})::Cvoid + @ccall libgalahad_quadruple_64.bgo_solve_without_mat_q_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + x::Ptr{Float128}, + g::Ptr{Float128}, + eval_f::Ptr{Cvoid}, + eval_g::Ptr{Cvoid}, + eval_hprod::Ptr{Cvoid}, + eval_shprod::Ptr{Cvoid}, + eval_prec::Ptr{Cvoid})::Cvoid end export bgo_solve_reverse_with_mat @@ -390,14 +400,15 @@ end function bgo_solve_reverse_with_mat(::Type{Float32}, ::Type{Int64}, data, status, eval_status, n, x, f, g, ne, H_val, u, v) - @ccall libgalahad_single_64.bgo_solve_reverse_with_mat_s(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, - n::Int64, x::Ptr{Float32}, - f::Float32, g::Ptr{Float32}, - ne::Int64, H_val::Ptr{Float32}, - u::Ptr{Float32}, - v::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.bgo_solve_reverse_with_mat_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, x::Ptr{Float32}, + f::Float32, g::Ptr{Float32}, + ne::Int64, + H_val::Ptr{Float32}, + u::Ptr{Float32}, + v::Ptr{Float32})::Cvoid end function bgo_solve_reverse_with_mat(::Type{Float64}, ::Type{Int32}, data, status, @@ -413,14 +424,14 @@ end function bgo_solve_reverse_with_mat(::Type{Float64}, ::Type{Int64}, data, status, eval_status, n, x, f, g, ne, H_val, u, v) - @ccall libgalahad_double_64.bgo_solve_reverse_with_mat(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, n::Int64, - x::Ptr{Float64}, f::Float64, - g::Ptr{Float64}, ne::Int64, - H_val::Ptr{Float64}, - u::Ptr{Float64}, - v::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.bgo_solve_reverse_with_mat_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, x::Ptr{Float64}, + f::Float64, g::Ptr{Float64}, + ne::Int64, H_val::Ptr{Float64}, + u::Ptr{Float64}, + v::Ptr{Float64})::Cvoid end function bgo_solve_reverse_with_mat(::Type{Float128}, ::Type{Int32}, data, status, @@ -437,15 +448,16 @@ end function bgo_solve_reverse_with_mat(::Type{Float128}, ::Type{Int64}, data, status, eval_status, n, x, f, g, ne, H_val, u, v) - @ccall libgalahad_quadruple_64.bgo_solve_reverse_with_mat_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, - n::Int64, x::Ptr{Float128}, - f::Cfloat128, - g::Ptr{Float128}, ne::Int64, - H_val::Ptr{Float128}, - u::Ptr{Float128}, - v::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.bgo_solve_reverse_with_mat_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, x::Ptr{Float128}, + f::Cfloat128, + g::Ptr{Float128}, + ne::Int64, + H_val::Ptr{Float128}, + u::Ptr{Float128}, + v::Ptr{Float128})::Cvoid end export bgo_solve_reverse_without_mat @@ -468,17 +480,18 @@ end function bgo_solve_reverse_without_mat(::Type{Float32}, ::Type{Int64}, data, status, eval_status, n, x, f, g, u, v, index_nz_v, nnz_v, index_nz_u, nnz_u) - @ccall libgalahad_single_64.bgo_solve_reverse_without_mat_s(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, - n::Int64, x::Ptr{Float32}, - f::Float32, g::Ptr{Float32}, - u::Ptr{Float32}, - v::Ptr{Float32}, - index_nz_v::Ptr{Int64}, - nnz_v::Ptr{Int64}, - index_nz_u::Ptr{Int64}, - nnz_u::Int64)::Cvoid + @ccall libgalahad_single_64.bgo_solve_reverse_without_mat_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, x::Ptr{Float32}, + f::Float32, + g::Ptr{Float32}, + u::Ptr{Float32}, + v::Ptr{Float32}, + index_nz_v::Ptr{Int64}, + nnz_v::Ptr{Int64}, + index_nz_u::Ptr{Int64}, + nnz_u::Int64)::Cvoid end function bgo_solve_reverse_without_mat(::Type{Float64}, ::Type{Int32}, data, status, @@ -499,17 +512,17 @@ end function bgo_solve_reverse_without_mat(::Type{Float64}, ::Type{Int64}, data, status, eval_status, n, x, f, g, u, v, index_nz_v, nnz_v, index_nz_u, nnz_u) - @ccall libgalahad_double_64.bgo_solve_reverse_without_mat(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, - n::Int64, x::Ptr{Float64}, - f::Float64, g::Ptr{Float64}, - u::Ptr{Float64}, - v::Ptr{Float64}, - index_nz_v::Ptr{Int64}, - nnz_v::Ptr{Int64}, - index_nz_u::Ptr{Int64}, - nnz_u::Int64)::Cvoid + @ccall libgalahad_double_64.bgo_solve_reverse_without_mat_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, x::Ptr{Float64}, + f::Float64, g::Ptr{Float64}, + u::Ptr{Float64}, + v::Ptr{Float64}, + index_nz_v::Ptr{Int64}, + nnz_v::Ptr{Int64}, + index_nz_u::Ptr{Int64}, + nnz_u::Int64)::Cvoid end function bgo_solve_reverse_without_mat(::Type{Float128}, ::Type{Int32}, data, status, @@ -532,18 +545,19 @@ end function bgo_solve_reverse_without_mat(::Type{Float128}, ::Type{Int64}, data, status, eval_status, n, x, f, g, u, v, index_nz_v, nnz_v, index_nz_u, nnz_u) - @ccall libgalahad_quadruple_64.bgo_solve_reverse_without_mat_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, - n::Int64, x::Ptr{Float128}, - f::Cfloat128, - g::Ptr{Float128}, - u::Ptr{Float128}, - v::Ptr{Float128}, - index_nz_v::Ptr{Int64}, - nnz_v::Ptr{Int64}, - index_nz_u::Ptr{Int64}, - nnz_u::Int64)::Cvoid + @ccall libgalahad_quadruple_64.bgo_solve_reverse_without_mat_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, + x::Ptr{Float128}, + f::Cfloat128, + g::Ptr{Float128}, + u::Ptr{Float128}, + v::Ptr{Float128}, + index_nz_v::Ptr{Int64}, + nnz_v::Ptr{Int64}, + index_nz_u::Ptr{Int64}, + nnz_u::Int64)::Cvoid end export bgo_information @@ -555,9 +569,10 @@ function bgo_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function bgo_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.bgo_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{bgo_inform_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.bgo_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{bgo_inform_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function bgo_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -567,9 +582,9 @@ function bgo_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function bgo_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.bgo_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{bgo_inform_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.bgo_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{bgo_inform_type{Float64,Int64}}, + status::Ptr{Int64})::Cvoid end function bgo_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -579,10 +594,10 @@ function bgo_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function bgo_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.bgo_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{bgo_inform_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.bgo_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{bgo_inform_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export bgo_terminate @@ -594,9 +609,10 @@ function bgo_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function bgo_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.bgo_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{bgo_control_type{Float32,Int64}}, - inform::Ptr{bgo_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.bgo_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{bgo_control_type{Float32, + Int64}}, + inform::Ptr{bgo_inform_type{Float32,Int64}})::Cvoid end function bgo_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -606,9 +622,9 @@ function bgo_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function bgo_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.bgo_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{bgo_control_type{Float64,Int64}}, - inform::Ptr{bgo_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.bgo_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{bgo_control_type{Float64,Int64}}, + inform::Ptr{bgo_inform_type{Float64,Int64}})::Cvoid end function bgo_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -618,9 +634,9 @@ function bgo_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function bgo_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.bgo_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{bgo_control_type{Float128, - Int64}}, - inform::Ptr{bgo_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.bgo_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{bgo_control_type{Float128, + Int64}}, + inform::Ptr{bgo_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/blls.jl b/GALAHAD.jl/src/wrappers/blls.jl index 5ca1b93ee2..d8aed2e07a 100644 --- a/GALAHAD.jl/src/wrappers/blls.jl +++ b/GALAHAD.jl/src/wrappers/blls.jl @@ -78,10 +78,10 @@ function blls_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function blls_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.blls_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{blls_control_type{Float32, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.blls_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{blls_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function blls_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -91,9 +91,10 @@ function blls_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function blls_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.blls_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{blls_control_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.blls_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{blls_control_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function blls_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -104,10 +105,10 @@ function blls_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) end function blls_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.blls_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{blls_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.blls_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{blls_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export blls_read_specfile @@ -119,9 +120,9 @@ function blls_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfile) end function blls_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.blls_read_specfile_s(control::Ptr{blls_control_type{Float32, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.blls_read_specfile_s_64(control::Ptr{blls_control_type{Float32, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function blls_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -130,9 +131,9 @@ function blls_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) end function blls_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.blls_read_specfile(control::Ptr{blls_control_type{Float64, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.blls_read_specfile_64(control::Ptr{blls_control_type{Float64, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function blls_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -142,9 +143,9 @@ function blls_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) end function blls_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.blls_read_specfile_q(control::Ptr{blls_control_type{Float128, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.blls_read_specfile_q_64(control::Ptr{blls_control_type{Float128, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end export blls_import @@ -161,12 +162,13 @@ end function blls_import(::Type{Float32}, ::Type{Int64}, control, data, status, n, o, Ao_type, Ao_ne, Ao_row, Ao_col, Ao_ptr_ne, Ao_ptr) - @ccall libgalahad_single_64.blls_import_s(control::Ptr{blls_control_type{Float32,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, o::Int64, Ao_type::Ptr{Cchar}, - Ao_ne::Int64, Ao_row::Ptr{Int64}, - Ao_col::Ptr{Int64}, Ao_ptr_ne::Int64, - Ao_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.blls_import_s_64(control::Ptr{blls_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, o::Int64, Ao_type::Ptr{Cchar}, + Ao_ne::Int64, Ao_row::Ptr{Int64}, + Ao_col::Ptr{Int64}, Ao_ptr_ne::Int64, + Ao_ptr::Ptr{Int64})::Cvoid end function blls_import(::Type{Float64}, ::Type{Int32}, control, data, status, n, o, Ao_type, @@ -180,12 +182,12 @@ end function blls_import(::Type{Float64}, ::Type{Int64}, control, data, status, n, o, Ao_type, Ao_ne, Ao_row, Ao_col, Ao_ptr_ne, Ao_ptr) - @ccall libgalahad_double_64.blls_import(control::Ptr{blls_control_type{Float64,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, o::Int64, Ao_type::Ptr{Cchar}, - Ao_ne::Int64, Ao_row::Ptr{Int64}, - Ao_col::Ptr{Int64}, Ao_ptr_ne::Int64, - Ao_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.blls_import_64(control::Ptr{blls_control_type{Float64,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, o::Int64, Ao_type::Ptr{Cchar}, + Ao_ne::Int64, Ao_row::Ptr{Int64}, + Ao_col::Ptr{Int64}, Ao_ptr_ne::Int64, + Ao_ptr::Ptr{Int64})::Cvoid end function blls_import(::Type{Float128}, ::Type{Int32}, control, data, status, n, o, Ao_type, @@ -200,13 +202,13 @@ end function blls_import(::Type{Float128}, ::Type{Int64}, control, data, status, n, o, Ao_type, Ao_ne, Ao_row, Ao_col, Ao_ptr_ne, Ao_ptr) - @ccall libgalahad_quadruple_64.blls_import_q(control::Ptr{blls_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, o::Int64, Ao_type::Ptr{Cchar}, - Ao_ne::Int64, Ao_row::Ptr{Int64}, - Ao_col::Ptr{Int64}, Ao_ptr_ne::Int64, - Ao_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.blls_import_q_64(control::Ptr{blls_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, o::Int64, Ao_type::Ptr{Cchar}, + Ao_ne::Int64, Ao_row::Ptr{Int64}, + Ao_col::Ptr{Int64}, Ao_ptr_ne::Int64, + Ao_ptr::Ptr{Int64})::Cvoid end export blls_import_without_a @@ -220,11 +222,11 @@ function blls_import_without_a(::Type{Float32}, ::Type{Int32}, control, data, st end function blls_import_without_a(::Type{Float32}, ::Type{Int64}, control, data, status, n, o) - @ccall libgalahad_single_64.blls_import_without_a_s(control::Ptr{blls_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - o::Int64)::Cvoid + @ccall libgalahad_single_64.blls_import_without_a_s_64(control::Ptr{blls_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + o::Int64)::Cvoid end function blls_import_without_a(::Type{Float64}, ::Type{Int32}, control, data, status, n, o) @@ -235,11 +237,11 @@ function blls_import_without_a(::Type{Float64}, ::Type{Int32}, control, data, st end function blls_import_without_a(::Type{Float64}, ::Type{Int64}, control, data, status, n, o) - @ccall libgalahad_double_64.blls_import_without_a(control::Ptr{blls_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - o::Int64)::Cvoid + @ccall libgalahad_double_64.blls_import_without_a_64(control::Ptr{blls_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + o::Int64)::Cvoid end function blls_import_without_a(::Type{Float128}, ::Type{Int32}, control, data, status, n, o) @@ -251,11 +253,11 @@ function blls_import_without_a(::Type{Float128}, ::Type{Int32}, control, data, s end function blls_import_without_a(::Type{Float128}, ::Type{Int64}, control, data, status, n, o) - @ccall libgalahad_quadruple_64.blls_import_without_a_q(control::Ptr{blls_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - o::Int64)::Cvoid + @ccall libgalahad_quadruple_64.blls_import_without_a_q_64(control::Ptr{blls_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + o::Int64)::Cvoid end export blls_reset_control @@ -268,10 +270,10 @@ function blls_reset_control(::Type{Float32}, ::Type{Int32}, control, data, statu end function blls_reset_control(::Type{Float32}, ::Type{Int64}, control, data, status) - @ccall libgalahad_single_64.blls_reset_control_s(control::Ptr{blls_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.blls_reset_control_s_64(control::Ptr{blls_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function blls_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status) @@ -281,10 +283,10 @@ function blls_reset_control(::Type{Float64}, ::Type{Int32}, control, data, statu end function blls_reset_control(::Type{Float64}, ::Type{Int64}, control, data, status) - @ccall libgalahad_double_64.blls_reset_control(control::Ptr{blls_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.blls_reset_control_64(control::Ptr{blls_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function blls_reset_control(::Type{Float128}, ::Type{Int32}, control, data, status) @@ -295,10 +297,10 @@ function blls_reset_control(::Type{Float128}, ::Type{Int32}, control, data, stat end function blls_reset_control(::Type{Float128}, ::Type{Int64}, control, data, status) - @ccall libgalahad_quadruple_64.blls_reset_control_q(control::Ptr{blls_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.blls_reset_control_q_64(control::Ptr{blls_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end export blls_solve_given_a @@ -318,15 +320,16 @@ end function blls_solve_given_a(::Type{Float32}, ::Type{Int64}, data, userdata, status, n, o, Ao_ne, Ao_val, b, x_l, x_u, x, z, r, g, x_stat, w, eval_prec) - @ccall libgalahad_single_64.blls_solve_given_a_s(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, status::Ptr{Int64}, - n::Int64, o::Int64, Ao_ne::Int64, - Ao_val::Ptr{Float32}, b::Ptr{Float32}, - x_l::Ptr{Float32}, x_u::Ptr{Float32}, - x::Ptr{Float32}, z::Ptr{Float32}, - r::Ptr{Float32}, g::Ptr{Float32}, - x_stat::Ptr{Int64}, w::Ptr{Float32}, - eval_prec::Ptr{Cvoid})::Cvoid + @ccall libgalahad_single_64.blls_solve_given_a_s_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + o::Int64, Ao_ne::Int64, + Ao_val::Ptr{Float32}, b::Ptr{Float32}, + x_l::Ptr{Float32}, x_u::Ptr{Float32}, + x::Ptr{Float32}, z::Ptr{Float32}, + r::Ptr{Float32}, g::Ptr{Float32}, + x_stat::Ptr{Int64}, w::Ptr{Float32}, + eval_prec::Ptr{Cvoid})::Cvoid end function blls_solve_given_a(::Type{Float64}, ::Type{Int32}, data, userdata, status, n, o, @@ -343,15 +346,16 @@ end function blls_solve_given_a(::Type{Float64}, ::Type{Int64}, data, userdata, status, n, o, Ao_ne, Ao_val, b, x_l, x_u, x, z, r, g, x_stat, w, eval_prec) - @ccall libgalahad_double_64.blls_solve_given_a(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, status::Ptr{Int64}, - n::Int64, o::Int64, Ao_ne::Int64, - Ao_val::Ptr{Float64}, b::Ptr{Float64}, - x_l::Ptr{Float64}, x_u::Ptr{Float64}, - x::Ptr{Float64}, z::Ptr{Float64}, - r::Ptr{Float64}, g::Ptr{Float64}, - x_stat::Ptr{Int64}, w::Ptr{Float64}, - eval_prec::Ptr{Cvoid})::Cvoid + @ccall libgalahad_double_64.blls_solve_given_a_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, o::Int64, + Ao_ne::Int64, Ao_val::Ptr{Float64}, + b::Ptr{Float64}, x_l::Ptr{Float64}, + x_u::Ptr{Float64}, x::Ptr{Float64}, + z::Ptr{Float64}, r::Ptr{Float64}, + g::Ptr{Float64}, x_stat::Ptr{Int64}, + w::Ptr{Float64}, + eval_prec::Ptr{Cvoid})::Cvoid end function blls_solve_given_a(::Type{Float128}, ::Type{Int32}, data, userdata, status, n, o, @@ -369,17 +373,19 @@ end function blls_solve_given_a(::Type{Float128}, ::Type{Int64}, data, userdata, status, n, o, Ao_ne, Ao_val, b, x_l, x_u, x, z, r, g, x_stat, w, eval_prec) - @ccall libgalahad_quadruple_64.blls_solve_given_a_q(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, - status::Ptr{Int64}, n::Int64, - o::Int64, Ao_ne::Int64, - Ao_val::Ptr{Float128}, - b::Ptr{Float128}, x_l::Ptr{Float128}, - x_u::Ptr{Float128}, x::Ptr{Float128}, - z::Ptr{Float128}, r::Ptr{Float128}, - g::Ptr{Float128}, x_stat::Ptr{Int64}, - w::Ptr{Float128}, - eval_prec::Ptr{Cvoid})::Cvoid + @ccall libgalahad_quadruple_64.blls_solve_given_a_q_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + o::Int64, Ao_ne::Int64, + Ao_val::Ptr{Float128}, + b::Ptr{Float128}, + x_l::Ptr{Float128}, + x_u::Ptr{Float128}, + x::Ptr{Float128}, z::Ptr{Float128}, + r::Ptr{Float128}, g::Ptr{Float128}, + x_stat::Ptr{Int64}, + w::Ptr{Float128}, + eval_prec::Ptr{Cvoid})::Cvoid end export blls_solve_reverse_a_prod @@ -405,21 +411,26 @@ end function blls_solve_reverse_a_prod(::Type{Float32}, ::Type{Int64}, data, status, eval_status, n, o, b, x_l, x_u, x, z, r, g, x_stat, v, p, nz_v, nz_v_start, nz_v_end, nz_p, nz_p_end, w) - @ccall libgalahad_single_64.blls_solve_reverse_a_prod_s(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, n::Int64, - o::Int64, b::Ptr{Float32}, - x_l::Ptr{Float32}, - x_u::Ptr{Float32}, - x::Ptr{Float32}, z::Ptr{Float32}, - r::Ptr{Float32}, g::Ptr{Float32}, - x_stat::Ptr{Int64}, - v::Ptr{Float32}, p::Ptr{Float32}, - nz_v::Ptr{Int64}, - nz_v_start::Ptr{Int64}, - nz_v_end::Ptr{Int64}, - nz_p::Ptr{Int64}, nz_p_end::Int64, - w::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.blls_solve_reverse_a_prod_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, o::Int64, + b::Ptr{Float32}, + x_l::Ptr{Float32}, + x_u::Ptr{Float32}, + x::Ptr{Float32}, + z::Ptr{Float32}, + r::Ptr{Float32}, + g::Ptr{Float32}, + x_stat::Ptr{Int64}, + v::Ptr{Float32}, + p::Ptr{Float32}, + nz_v::Ptr{Int64}, + nz_v_start::Ptr{Int64}, + nz_v_end::Ptr{Int64}, + nz_p::Ptr{Int64}, + nz_p_end::Int64, + w::Ptr{Float32})::Cvoid end function blls_solve_reverse_a_prod(::Type{Float64}, ::Type{Int32}, data, status, @@ -443,20 +454,23 @@ end function blls_solve_reverse_a_prod(::Type{Float64}, ::Type{Int64}, data, status, eval_status, n, o, b, x_l, x_u, x, z, r, g, x_stat, v, p, nz_v, nz_v_start, nz_v_end, nz_p, nz_p_end, w) - @ccall libgalahad_double_64.blls_solve_reverse_a_prod(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, n::Int64, - o::Int64, b::Ptr{Float64}, - x_l::Ptr{Float64}, - x_u::Ptr{Float64}, x::Ptr{Float64}, - z::Ptr{Float64}, r::Ptr{Float64}, - g::Ptr{Float64}, x_stat::Ptr{Int64}, - v::Ptr{Float64}, p::Ptr{Float64}, - nz_v::Ptr{Int64}, - nz_v_start::Ptr{Int64}, - nz_v_end::Ptr{Int64}, - nz_p::Ptr{Int64}, nz_p_end::Int64, - w::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.blls_solve_reverse_a_prod_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, o::Int64, + b::Ptr{Float64}, + x_l::Ptr{Float64}, + x_u::Ptr{Float64}, + x::Ptr{Float64}, z::Ptr{Float64}, + r::Ptr{Float64}, g::Ptr{Float64}, + x_stat::Ptr{Int64}, + v::Ptr{Float64}, p::Ptr{Float64}, + nz_v::Ptr{Int64}, + nz_v_start::Ptr{Int64}, + nz_v_end::Ptr{Int64}, + nz_p::Ptr{Int64}, + nz_p_end::Int64, + w::Ptr{Float64})::Cvoid end function blls_solve_reverse_a_prod(::Type{Float128}, ::Type{Int32}, data, status, @@ -485,26 +499,26 @@ end function blls_solve_reverse_a_prod(::Type{Float128}, ::Type{Int64}, data, status, eval_status, n, o, b, x_l, x_u, x, z, r, g, x_stat, v, p, nz_v, nz_v_start, nz_v_end, nz_p, nz_p_end, w) - @ccall libgalahad_quadruple_64.blls_solve_reverse_a_prod_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, - n::Int64, o::Int64, - b::Ptr{Float128}, - x_l::Ptr{Float128}, - x_u::Ptr{Float128}, - x::Ptr{Float128}, - z::Ptr{Float128}, - r::Ptr{Float128}, - g::Ptr{Float128}, - x_stat::Ptr{Int64}, - v::Ptr{Float128}, - p::Ptr{Float128}, - nz_v::Ptr{Int64}, - nz_v_start::Ptr{Int64}, - nz_v_end::Ptr{Int64}, - nz_p::Ptr{Int64}, - nz_p_end::Int64, - w::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.blls_solve_reverse_a_prod_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, o::Int64, + b::Ptr{Float128}, + x_l::Ptr{Float128}, + x_u::Ptr{Float128}, + x::Ptr{Float128}, + z::Ptr{Float128}, + r::Ptr{Float128}, + g::Ptr{Float128}, + x_stat::Ptr{Int64}, + v::Ptr{Float128}, + p::Ptr{Float128}, + nz_v::Ptr{Int64}, + nz_v_start::Ptr{Int64}, + nz_v_end::Ptr{Int64}, + nz_p::Ptr{Int64}, + nz_p_end::Int64, + w::Ptr{Float128})::Cvoid end export blls_information @@ -516,10 +530,10 @@ function blls_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function blls_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.blls_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{blls_inform_type{Float32, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.blls_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{blls_inform_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function blls_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -529,9 +543,10 @@ function blls_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function blls_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.blls_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{blls_inform_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.blls_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{blls_inform_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function blls_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -542,10 +557,10 @@ function blls_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function blls_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.blls_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{blls_inform_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.blls_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{blls_inform_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export blls_terminate @@ -557,10 +572,11 @@ function blls_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function blls_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.blls_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{blls_control_type{Float32, - Int64}}, - inform::Ptr{blls_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.blls_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{blls_control_type{Float32, + Int64}}, + inform::Ptr{blls_inform_type{Float32, + Int64}})::Cvoid end function blls_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -570,9 +586,10 @@ function blls_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function blls_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.blls_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{blls_control_type{Float64,Int64}}, - inform::Ptr{blls_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.blls_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{blls_control_type{Float64, + Int64}}, + inform::Ptr{blls_inform_type{Float64,Int64}})::Cvoid end function blls_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -583,9 +600,9 @@ function blls_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function blls_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.blls_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{blls_control_type{Float128, - Int64}}, - inform::Ptr{blls_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.blls_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{blls_control_type{Float128, + Int64}}, + inform::Ptr{blls_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/bllsb.jl b/GALAHAD.jl/src/wrappers/bllsb.jl index e523109228..5b5a5f0402 100644 --- a/GALAHAD.jl/src/wrappers/bllsb.jl +++ b/GALAHAD.jl/src/wrappers/bllsb.jl @@ -122,10 +122,10 @@ function bllsb_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function bllsb_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.bllsb_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{bllsb_control_type{Float32, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.bllsb_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{bllsb_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function bllsb_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -135,10 +135,10 @@ function bllsb_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function bllsb_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.bllsb_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{bllsb_control_type{Float64, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.bllsb_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{bllsb_control_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function bllsb_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -149,10 +149,10 @@ function bllsb_initialize(::Type{Float128}, ::Type{Int32}, data, control, status end function bllsb_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.bllsb_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{bllsb_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.bllsb_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{bllsb_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export bllsb_read_specfile @@ -164,9 +164,9 @@ function bllsb_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfile) end function bllsb_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.bllsb_read_specfile_s(control::Ptr{bllsb_control_type{Float32, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.bllsb_read_specfile_s_64(control::Ptr{bllsb_control_type{Float32, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function bllsb_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -176,9 +176,9 @@ function bllsb_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) end function bllsb_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.bllsb_read_specfile(control::Ptr{bllsb_control_type{Float64, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.bllsb_read_specfile_64(control::Ptr{bllsb_control_type{Float64, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function bllsb_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -188,9 +188,9 @@ function bllsb_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) end function bllsb_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.bllsb_read_specfile_q(control::Ptr{bllsb_control_type{Float128, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.bllsb_read_specfile_q_64(control::Ptr{bllsb_control_type{Float128, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end export bllsb_import @@ -207,12 +207,13 @@ end function bllsb_import(::Type{Float32}, ::Type{Int64}, control, data, status, n, o, Ao_type, Ao_ne, Ao_row, Ao_col, Ao_ptr_ne, Ao_ptr) - @ccall libgalahad_single_64.bllsb_import_s(control::Ptr{bllsb_control_type{Float32,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, o::Int64, Ao_type::Ptr{Cchar}, - Ao_ne::Int64, Ao_row::Ptr{Int64}, - Ao_col::Ptr{Int64}, Ao_ptr_ne::Int64, - Ao_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.bllsb_import_s_64(control::Ptr{bllsb_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, o::Int64, Ao_type::Ptr{Cchar}, + Ao_ne::Int64, Ao_row::Ptr{Int64}, + Ao_col::Ptr{Int64}, Ao_ptr_ne::Int64, + Ao_ptr::Ptr{Int64})::Cvoid end function bllsb_import(::Type{Float64}, ::Type{Int32}, control, data, status, n, o, Ao_type, @@ -226,12 +227,13 @@ end function bllsb_import(::Type{Float64}, ::Type{Int64}, control, data, status, n, o, Ao_type, Ao_ne, Ao_row, Ao_col, Ao_ptr_ne, Ao_ptr) - @ccall libgalahad_double_64.bllsb_import(control::Ptr{bllsb_control_type{Float64,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, o::Int64, Ao_type::Ptr{Cchar}, - Ao_ne::Int64, Ao_row::Ptr{Int64}, - Ao_col::Ptr{Int64}, Ao_ptr_ne::Int64, - Ao_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.bllsb_import_64(control::Ptr{bllsb_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, o::Int64, Ao_type::Ptr{Cchar}, + Ao_ne::Int64, Ao_row::Ptr{Int64}, + Ao_col::Ptr{Int64}, Ao_ptr_ne::Int64, + Ao_ptr::Ptr{Int64})::Cvoid end function bllsb_import(::Type{Float128}, ::Type{Int32}, control, data, status, n, o, Ao_type, @@ -247,13 +249,14 @@ end function bllsb_import(::Type{Float128}, ::Type{Int64}, control, data, status, n, o, Ao_type, Ao_ne, Ao_row, Ao_col, Ao_ptr_ne, Ao_ptr) - @ccall libgalahad_quadruple_64.bllsb_import_q(control::Ptr{bllsb_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, o::Int64, Ao_type::Ptr{Cchar}, - Ao_ne::Int64, Ao_row::Ptr{Int64}, - Ao_col::Ptr{Int64}, Ao_ptr_ne::Int64, - Ao_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.bllsb_import_q_64(control::Ptr{bllsb_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, o::Int64, + Ao_type::Ptr{Cchar}, Ao_ne::Int64, + Ao_row::Ptr{Int64}, Ao_col::Ptr{Int64}, + Ao_ptr_ne::Int64, + Ao_ptr::Ptr{Int64})::Cvoid end export bllsb_reset_control @@ -266,10 +269,10 @@ function bllsb_reset_control(::Type{Float32}, ::Type{Int32}, control, data, stat end function bllsb_reset_control(::Type{Float32}, ::Type{Int64}, control, data, status) - @ccall libgalahad_single_64.bllsb_reset_control_s(control::Ptr{bllsb_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.bllsb_reset_control_s_64(control::Ptr{bllsb_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function bllsb_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status) @@ -280,10 +283,10 @@ function bllsb_reset_control(::Type{Float64}, ::Type{Int32}, control, data, stat end function bllsb_reset_control(::Type{Float64}, ::Type{Int64}, control, data, status) - @ccall libgalahad_double_64.bllsb_reset_control(control::Ptr{bllsb_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.bllsb_reset_control_64(control::Ptr{bllsb_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function bllsb_reset_control(::Type{Float128}, ::Type{Int32}, control, data, status) @@ -294,10 +297,10 @@ function bllsb_reset_control(::Type{Float128}, ::Type{Int32}, control, data, sta end function bllsb_reset_control(::Type{Float128}, ::Type{Int64}, control, data, status) - @ccall libgalahad_quadruple_64.bllsb_reset_control_q(control::Ptr{bllsb_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.bllsb_reset_control_q_64(control::Ptr{bllsb_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end export bllsb_solve_blls @@ -316,14 +319,15 @@ end function bllsb_solve_blls(::Type{Float32}, ::Type{Int64}, data, status, n, o, Ao_ne, Ao_val, b, regularization_weight, x_l, x_u, x, r, z, x_stat, w) - @ccall libgalahad_single_64.bllsb_solve_blls_s(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, o::Int64, Ao_ne::Int64, - Ao_val::Ptr{Float32}, b::Ptr{Float32}, - regularization_weight::Float32, - x_l::Ptr{Float32}, x_u::Ptr{Float32}, - x::Ptr{Float32}, r::Ptr{Float32}, - z::Ptr{Float32}, x_stat::Ptr{Int64}, - w::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.bllsb_solve_blls_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, o::Int64, + Ao_ne::Int64, Ao_val::Ptr{Float32}, + b::Ptr{Float32}, + regularization_weight::Float32, + x_l::Ptr{Float32}, x_u::Ptr{Float32}, + x::Ptr{Float32}, r::Ptr{Float32}, + z::Ptr{Float32}, x_stat::Ptr{Int64}, + w::Ptr{Float32})::Cvoid end function bllsb_solve_blls(::Type{Float64}, ::Type{Int32}, data, status, n, o, Ao_ne, Ao_val, @@ -340,14 +344,14 @@ end function bllsb_solve_blls(::Type{Float64}, ::Type{Int64}, data, status, n, o, Ao_ne, Ao_val, b, regularization_weight, x_l, x_u, x, r, z, x_stat, w) - @ccall libgalahad_double_64.bllsb_solve_blls(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, o::Int64, Ao_ne::Int64, - Ao_val::Ptr{Float64}, b::Ptr{Float64}, - regularization_weight::Float64, - x_l::Ptr{Float64}, x_u::Ptr{Float64}, - x::Ptr{Float64}, r::Ptr{Float64}, - z::Ptr{Float64}, x_stat::Ptr{Int64}, - w::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.bllsb_solve_blls_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, o::Int64, Ao_ne::Int64, + Ao_val::Ptr{Float64}, b::Ptr{Float64}, + regularization_weight::Float64, + x_l::Ptr{Float64}, x_u::Ptr{Float64}, + x::Ptr{Float64}, r::Ptr{Float64}, + z::Ptr{Float64}, x_stat::Ptr{Int64}, + w::Ptr{Float64})::Cvoid end function bllsb_solve_blls(::Type{Float128}, ::Type{Int32}, data, status, n, o, Ao_ne, @@ -364,15 +368,17 @@ end function bllsb_solve_blls(::Type{Float128}, ::Type{Int64}, data, status, n, o, Ao_ne, Ao_val, b, regularization_weight, x_l, x_u, x, r, z, x_stat, w) - @ccall libgalahad_quadruple_64.bllsb_solve_blls_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, o::Int64, - Ao_ne::Int64, Ao_val::Ptr{Float128}, - b::Ptr{Float128}, - regularization_weight::Cfloat128, - x_l::Ptr{Float128}, x_u::Ptr{Float128}, - x::Ptr{Float128}, r::Ptr{Float128}, - z::Ptr{Float128}, x_stat::Ptr{Int64}, - w::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.bllsb_solve_blls_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + o::Int64, Ao_ne::Int64, + Ao_val::Ptr{Float128}, + b::Ptr{Float128}, + regularization_weight::Cfloat128, + x_l::Ptr{Float128}, + x_u::Ptr{Float128}, x::Ptr{Float128}, + r::Ptr{Float128}, z::Ptr{Float128}, + x_stat::Ptr{Int64}, + w::Ptr{Float128})::Cvoid end export bllsb_information @@ -384,10 +390,10 @@ function bllsb_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function bllsb_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.bllsb_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{bllsb_inform_type{Float32, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.bllsb_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{bllsb_inform_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function bllsb_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -397,10 +403,10 @@ function bllsb_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function bllsb_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.bllsb_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{bllsb_inform_type{Float64, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.bllsb_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{bllsb_inform_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function bllsb_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -411,10 +417,10 @@ function bllsb_information(::Type{Float128}, ::Type{Int32}, data, inform, status end function bllsb_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.bllsb_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{bllsb_inform_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.bllsb_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{bllsb_inform_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export bllsb_terminate @@ -426,11 +432,11 @@ function bllsb_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function bllsb_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.bllsb_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{bllsb_control_type{Float32, - Int64}}, - inform::Ptr{bllsb_inform_type{Float32, - Int64}})::Cvoid + @ccall libgalahad_single_64.bllsb_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{bllsb_control_type{Float32, + Int64}}, + inform::Ptr{bllsb_inform_type{Float32, + Int64}})::Cvoid end function bllsb_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -440,10 +446,11 @@ function bllsb_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function bllsb_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.bllsb_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{bllsb_control_type{Float64, - Int64}}, - inform::Ptr{bllsb_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.bllsb_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{bllsb_control_type{Float64, + Int64}}, + inform::Ptr{bllsb_inform_type{Float64, + Int64}})::Cvoid end function bllsb_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -455,9 +462,9 @@ function bllsb_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function bllsb_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.bllsb_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{bllsb_control_type{Float128, - Int64}}, - inform::Ptr{bllsb_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.bllsb_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{bllsb_control_type{Float128, + Int64}}, + inform::Ptr{bllsb_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/bnls.jl b/GALAHAD.jl/src/wrappers/bnls.jl index 7c26866786..a7dbf0880f 100644 --- a/GALAHAD.jl/src/wrappers/bnls.jl +++ b/GALAHAD.jl/src/wrappers/bnls.jl @@ -193,10 +193,11 @@ function bnls_initialize(::Type{Float32}, ::Type{Int32}, data, control, inform) end function bnls_initialize(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.bnls_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{bnls_control_type{Float32, - Int64}}, - inform::Ptr{bnls_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.bnls_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{bnls_control_type{Float32, + Int64}}, + inform::Ptr{bnls_inform_type{Float32, + Int64}})::Cvoid end function bnls_initialize(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -206,9 +207,11 @@ function bnls_initialize(::Type{Float64}, ::Type{Int32}, data, control, inform) end function bnls_initialize(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.bnls_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{bnls_control_type{Float64,Int64}}, - inform::Ptr{bnls_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.bnls_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{bnls_control_type{Float64, + Int64}}, + inform::Ptr{bnls_inform_type{Float64, + Int64}})::Cvoid end function bnls_initialize(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -220,11 +223,11 @@ function bnls_initialize(::Type{Float128}, ::Type{Int32}, data, control, inform) end function bnls_initialize(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.bnls_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{bnls_control_type{Float128, - Int64}}, - inform::Ptr{bnls_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.bnls_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{bnls_control_type{Float128, + Int64}}, + inform::Ptr{bnls_inform_type{Float128, + Int64}})::Cvoid end export bnls_read_specfile @@ -236,9 +239,9 @@ function bnls_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfile) end function bnls_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.bnls_read_specfile_s(control::Ptr{bnls_control_type{Float32, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.bnls_read_specfile_s_64(control::Ptr{bnls_control_type{Float32, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function bnls_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -247,9 +250,9 @@ function bnls_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) end function bnls_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.bnls_read_specfile(control::Ptr{bnls_control_type{Float64, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.bnls_read_specfile_64(control::Ptr{bnls_control_type{Float64, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function bnls_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -259,9 +262,9 @@ function bnls_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) end function bnls_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.bnls_read_specfile_q(control::Ptr{bnls_control_type{Float128, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.bnls_read_specfile_q_64(control::Ptr{bnls_control_type{Float128, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end export bnls_import @@ -284,18 +287,19 @@ end function bnls_import(::Type{Float32}, ::Type{Int64}, control, data, status, n, m, x_l, x_u, J_type, J_ne, J_row, J_col, J_ptr, H_type, H_ne, H_row, H_col, H_ptr, P_type, P_ne, P_row, P_col, P_ptr, w) - @ccall libgalahad_single_64.bnls_import_s(control::Ptr{bnls_control_type{Float32,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, x_l::Ptr{Float32}, - x_u::Ptr{Float32}, J_type::Ptr{Cchar}, - J_ne::Int64, J_row::Ptr{Int64}, - J_col::Ptr{Int64}, J_ptr::Ptr{Int64}, - H_type::Ptr{Cchar}, H_ne::Int64, - H_row::Ptr{Int64}, H_col::Ptr{Int64}, - H_ptr::Ptr{Int64}, P_type::Ptr{Cchar}, - P_ne::Int64, P_row::Ptr{Int64}, - P_col::Ptr{Int64}, P_ptr::Ptr{Int64}, - w::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.bnls_import_s_64(control::Ptr{bnls_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, x_l::Ptr{Float32}, + x_u::Ptr{Float32}, J_type::Ptr{Cchar}, + J_ne::Int64, J_row::Ptr{Int64}, + J_col::Ptr{Int64}, J_ptr::Ptr{Int64}, + H_type::Ptr{Cchar}, H_ne::Int64, + H_row::Ptr{Int64}, H_col::Ptr{Int64}, + H_ptr::Ptr{Int64}, P_type::Ptr{Cchar}, + P_ne::Int64, P_row::Ptr{Int64}, + P_col::Ptr{Int64}, P_ptr::Ptr{Int64}, + w::Ptr{Float32})::Cvoid end function bnls_import(::Type{Float64}, ::Type{Int32}, control, data, status, n, m, x_l, x_u, @@ -316,16 +320,18 @@ end function bnls_import(::Type{Float64}, ::Type{Int64}, control, data, status, n, m, x_l, x_u, J_type, J_ne, J_row, J_col, J_ptr, H_type, H_ne, H_row, H_col, H_ptr, P_type, P_ne, P_row, P_col, P_ptr, w) - @ccall libgalahad_double_64.bnls_import(control::Ptr{bnls_control_type{Float64,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, x_l::Ptr{Float64}, - x_u::Ptr{Float64}, J_type::Ptr{Cchar}, - J_ne::Int64, J_row::Ptr{Int64}, J_col::Ptr{Int64}, - J_ptr::Ptr{Int64}, H_type::Ptr{Cchar}, - H_ne::Int64, H_row::Ptr{Int64}, H_col::Ptr{Int64}, - H_ptr::Ptr{Int64}, P_type::Ptr{Cchar}, - P_ne::Int64, P_row::Ptr{Int64}, P_col::Ptr{Int64}, - P_ptr::Ptr{Int64}, w::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.bnls_import_64(control::Ptr{bnls_control_type{Float64,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, x_l::Ptr{Float64}, + x_u::Ptr{Float64}, J_type::Ptr{Cchar}, + J_ne::Int64, J_row::Ptr{Int64}, + J_col::Ptr{Int64}, J_ptr::Ptr{Int64}, + H_type::Ptr{Cchar}, H_ne::Int64, + H_row::Ptr{Int64}, H_col::Ptr{Int64}, + H_ptr::Ptr{Int64}, P_type::Ptr{Cchar}, + P_ne::Int64, P_row::Ptr{Int64}, + P_col::Ptr{Int64}, P_ptr::Ptr{Int64}, + w::Ptr{Float64})::Cvoid end function bnls_import(::Type{Float128}, ::Type{Int32}, control, data, status, n, m, x_l, x_u, @@ -348,19 +354,19 @@ end function bnls_import(::Type{Float128}, ::Type{Int64}, control, data, status, n, m, x_l, x_u, J_type, J_ne, J_row, J_col, J_ptr, H_type, H_ne, H_row, H_col, H_ptr, P_type, P_ne, P_row, P_col, P_ptr, w) - @ccall libgalahad_quadruple_64.bnls_import_q(control::Ptr{bnls_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, x_l::Ptr{Float128}, - x_u::Ptr{Float128}, J_type::Ptr{Cchar}, - J_ne::Int64, J_row::Ptr{Int64}, - J_col::Ptr{Int64}, J_ptr::Ptr{Int64}, - H_type::Ptr{Cchar}, H_ne::Int64, - H_row::Ptr{Int64}, H_col::Ptr{Int64}, - H_ptr::Ptr{Int64}, P_type::Ptr{Cchar}, - P_ne::Int64, P_row::Ptr{Int64}, - P_col::Ptr{Int64}, P_ptr::Ptr{Int64}, - w::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.bnls_import_q_64(control::Ptr{bnls_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, x_l::Ptr{Float128}, + x_u::Ptr{Float128}, J_type::Ptr{Cchar}, + J_ne::Int64, J_row::Ptr{Int64}, + J_col::Ptr{Int64}, J_ptr::Ptr{Int64}, + H_type::Ptr{Cchar}, H_ne::Int64, + H_row::Ptr{Int64}, H_col::Ptr{Int64}, + H_ptr::Ptr{Int64}, P_type::Ptr{Cchar}, + P_ne::Int64, P_row::Ptr{Int64}, + P_col::Ptr{Int64}, P_ptr::Ptr{Int64}, + w::Ptr{Float128})::Cvoid end export bnls_reset_control @@ -373,10 +379,10 @@ function bnls_reset_control(::Type{Float32}, ::Type{Int32}, control, data, statu end function bnls_reset_control(::Type{Float32}, ::Type{Int64}, control, data, status) - @ccall libgalahad_single_64.bnls_reset_control_s(control::Ptr{bnls_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.bnls_reset_control_s_64(control::Ptr{bnls_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function bnls_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status) @@ -386,10 +392,10 @@ function bnls_reset_control(::Type{Float64}, ::Type{Int32}, control, data, statu end function bnls_reset_control(::Type{Float64}, ::Type{Int64}, control, data, status) - @ccall libgalahad_double_64.bnls_reset_control(control::Ptr{bnls_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.bnls_reset_control_64(control::Ptr{bnls_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function bnls_reset_control(::Type{Float128}, ::Type{Int32}, control, data, status) @@ -400,10 +406,10 @@ function bnls_reset_control(::Type{Float128}, ::Type{Int32}, control, data, stat end function bnls_reset_control(::Type{Float128}, ::Type{Int64}, control, data, status) - @ccall libgalahad_quadruple_64.bnls_reset_control_q(control::Ptr{bnls_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.bnls_reset_control_q_64(control::Ptr{bnls_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end export bnls_solve_with_mat @@ -422,15 +428,15 @@ end function bnls_solve_with_mat(::Type{Float32}, ::Type{Int64}, data, userdata, status, n, m, x, c, g, eval_c, j_ne, eval_j, h_ne, eval_h, p_ne, eval_hprods) - @ccall libgalahad_single_64.bnls_solve_with_mat_s(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, - status::Ptr{Int64}, n::Int64, m::Int64, - x::Ptr{Float32}, c::Ptr{Float32}, - g::Ptr{Float32}, eval_c::Ptr{Cvoid}, - j_ne::Int64, eval_j::Ptr{Cvoid}, - h_ne::Int64, eval_h::Ptr{Cvoid}, - p_ne::Int64, - eval_hprods::Ptr{Cvoid})::Cvoid + @ccall libgalahad_single_64.bnls_solve_with_mat_s_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + m::Int64, x::Ptr{Float32}, + c::Ptr{Float32}, g::Ptr{Float32}, + eval_c::Ptr{Cvoid}, j_ne::Int64, + eval_j::Ptr{Cvoid}, h_ne::Int64, + eval_h::Ptr{Cvoid}, p_ne::Int64, + eval_hprods::Ptr{Cvoid})::Cvoid end function bnls_solve_with_mat(::Type{Float64}, ::Type{Int32}, data, userdata, status, n, m, @@ -446,14 +452,15 @@ end function bnls_solve_with_mat(::Type{Float64}, ::Type{Int64}, data, userdata, status, n, m, x, c, g, eval_c, j_ne, eval_j, h_ne, eval_h, p_ne, eval_hprods) - @ccall libgalahad_double_64.bnls_solve_with_mat(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, status::Ptr{Int64}, - n::Int64, m::Int64, x::Ptr{Float64}, - c::Ptr{Float64}, g::Ptr{Float64}, - eval_c::Ptr{Cvoid}, j_ne::Int64, - eval_j::Ptr{Cvoid}, h_ne::Int64, - eval_h::Ptr{Cvoid}, p_ne::Int64, - eval_hprods::Ptr{Cvoid})::Cvoid + @ccall libgalahad_double_64.bnls_solve_with_mat_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, m::Int64, + x::Ptr{Float64}, c::Ptr{Float64}, + g::Ptr{Float64}, eval_c::Ptr{Cvoid}, + j_ne::Int64, eval_j::Ptr{Cvoid}, + h_ne::Int64, eval_h::Ptr{Cvoid}, + p_ne::Int64, + eval_hprods::Ptr{Cvoid})::Cvoid end function bnls_solve_with_mat(::Type{Float128}, ::Type{Int32}, data, userdata, status, n, m, @@ -471,15 +478,16 @@ end function bnls_solve_with_mat(::Type{Float128}, ::Type{Int64}, data, userdata, status, n, m, x, c, g, eval_c, j_ne, eval_j, h_ne, eval_h, p_ne, eval_hprods) - @ccall libgalahad_quadruple_64.bnls_solve_with_mat_q(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, - status::Ptr{Int64}, n::Int64, - m::Int64, x::Ptr{Float128}, - c::Ptr{Float128}, g::Ptr{Float128}, - eval_c::Ptr{Cvoid}, j_ne::Int64, - eval_j::Ptr{Cvoid}, h_ne::Int64, - eval_h::Ptr{Cvoid}, p_ne::Int64, - eval_hprods::Ptr{Cvoid})::Cvoid + @ccall libgalahad_quadruple_64.bnls_solve_with_mat_q_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + m::Int64, x::Ptr{Float128}, + c::Ptr{Float128}, + g::Ptr{Float128}, + eval_c::Ptr{Cvoid}, j_ne::Int64, + eval_j::Ptr{Cvoid}, h_ne::Int64, + eval_h::Ptr{Cvoid}, p_ne::Int64, + eval_hprods::Ptr{Cvoid})::Cvoid end export bnls_solve_without_mat @@ -500,15 +508,16 @@ end function bnls_solve_without_mat(::Type{Float32}, ::Type{Int64}, data, userdata, status, n, m, x, c, g, eval_c, eval_jprod, eval_hprod, p_ne, eval_hprods) - @ccall libgalahad_single_64.bnls_solve_without_mat_s(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, - status::Ptr{Int64}, n::Int64, - m::Int64, x::Ptr{Float32}, - c::Ptr{Float32}, g::Ptr{Float32}, - eval_c::Ptr{Cvoid}, - eval_jprod::Ptr{Cvoid}, - eval_hprod::Ptr{Cvoid}, p_ne::Int64, - eval_hprods::Ptr{Cvoid})::Cvoid + @ccall libgalahad_single_64.bnls_solve_without_mat_s_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + m::Int64, x::Ptr{Float32}, + c::Ptr{Float32}, g::Ptr{Float32}, + eval_c::Ptr{Cvoid}, + eval_jprod::Ptr{Cvoid}, + eval_hprod::Ptr{Cvoid}, + p_ne::Int64, + eval_hprods::Ptr{Cvoid})::Cvoid end function bnls_solve_without_mat(::Type{Float64}, ::Type{Int32}, data, userdata, status, n, @@ -527,14 +536,15 @@ end function bnls_solve_without_mat(::Type{Float64}, ::Type{Int64}, data, userdata, status, n, m, x, c, g, eval_c, eval_jprod, eval_hprod, p_ne, eval_hprods) - @ccall libgalahad_double_64.bnls_solve_without_mat(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, - status::Ptr{Int64}, n::Int64, m::Int64, - x::Ptr{Float64}, c::Ptr{Float64}, - g::Ptr{Float64}, eval_c::Ptr{Cvoid}, - eval_jprod::Ptr{Cvoid}, - eval_hprod::Ptr{Cvoid}, p_ne::Int64, - eval_hprods::Ptr{Cvoid})::Cvoid + @ccall libgalahad_double_64.bnls_solve_without_mat_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + m::Int64, x::Ptr{Float64}, + c::Ptr{Float64}, g::Ptr{Float64}, + eval_c::Ptr{Cvoid}, + eval_jprod::Ptr{Cvoid}, + eval_hprod::Ptr{Cvoid}, p_ne::Int64, + eval_hprods::Ptr{Cvoid})::Cvoid end function bnls_solve_without_mat(::Type{Float128}, ::Type{Int32}, data, userdata, status, n, @@ -554,17 +564,17 @@ end function bnls_solve_without_mat(::Type{Float128}, ::Type{Int64}, data, userdata, status, n, m, x, c, g, eval_c, eval_jprod, eval_hprod, p_ne, eval_hprods) - @ccall libgalahad_quadruple_64.bnls_solve_without_mat_q(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, - status::Ptr{Int64}, n::Int64, - m::Int64, x::Ptr{Float128}, - c::Ptr{Float128}, - g::Ptr{Float128}, - eval_c::Ptr{Cvoid}, - eval_jprod::Ptr{Cvoid}, - eval_hprod::Ptr{Cvoid}, - p_ne::Int64, - eval_hprods::Ptr{Cvoid})::Cvoid + @ccall libgalahad_quadruple_64.bnls_solve_without_mat_q_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + m::Int64, x::Ptr{Float128}, + c::Ptr{Float128}, + g::Ptr{Float128}, + eval_c::Ptr{Cvoid}, + eval_jprod::Ptr{Cvoid}, + eval_hprod::Ptr{Cvoid}, + p_ne::Int64, + eval_hprods::Ptr{Cvoid})::Cvoid end export bnls_solve_reverse_with_mat @@ -587,18 +597,18 @@ end function bnls_solve_reverse_with_mat(::Type{Float32}, ::Type{Int64}, data, status, eval_status, n, m, x, c, g, j_ne, J_val, y, h_ne, H_val, v, p_ne, P_val) - @ccall libgalahad_single_64.bnls_solve_reverse_with_mat_s(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, - n::Int64, m::Int64, - x::Ptr{Float32}, - c::Ptr{Float32}, - g::Ptr{Float32}, j_ne::Int64, - J_val::Ptr{Float32}, - y::Ptr{Float32}, h_ne::Int64, - H_val::Ptr{Float32}, - v::Ptr{Float32}, p_ne::Int64, - P_val::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.bnls_solve_reverse_with_mat_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, m::Int64, + x::Ptr{Float32}, + c::Ptr{Float32}, + g::Ptr{Float32}, j_ne::Int64, + J_val::Ptr{Float32}, + y::Ptr{Float32}, h_ne::Int64, + H_val::Ptr{Float32}, + v::Ptr{Float32}, p_ne::Int64, + P_val::Ptr{Float32})::Cvoid end function bnls_solve_reverse_with_mat(::Type{Float64}, ::Type{Int32}, data, status, @@ -619,16 +629,18 @@ end function bnls_solve_reverse_with_mat(::Type{Float64}, ::Type{Int64}, data, status, eval_status, n, m, x, c, g, j_ne, J_val, y, h_ne, H_val, v, p_ne, P_val) - @ccall libgalahad_double_64.bnls_solve_reverse_with_mat(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, n::Int64, - m::Int64, x::Ptr{Float64}, - c::Ptr{Float64}, g::Ptr{Float64}, - j_ne::Int64, J_val::Ptr{Float64}, - y::Ptr{Float64}, h_ne::Int64, - H_val::Ptr{Float64}, - v::Ptr{Float64}, p_ne::Int64, - P_val::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.bnls_solve_reverse_with_mat_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, m::Int64, + x::Ptr{Float64}, + c::Ptr{Float64}, + g::Ptr{Float64}, j_ne::Int64, + J_val::Ptr{Float64}, + y::Ptr{Float64}, h_ne::Int64, + H_val::Ptr{Float64}, + v::Ptr{Float64}, p_ne::Int64, + P_val::Ptr{Float64})::Cvoid end function bnls_solve_reverse_with_mat(::Type{Float128}, ::Type{Int32}, data, status, @@ -651,21 +663,21 @@ end function bnls_solve_reverse_with_mat(::Type{Float128}, ::Type{Int64}, data, status, eval_status, n, m, x, c, g, j_ne, J_val, y, h_ne, H_val, v, p_ne, P_val) - @ccall libgalahad_quadruple_64.bnls_solve_reverse_with_mat_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, - n::Int64, m::Int64, - x::Ptr{Float128}, - c::Ptr{Float128}, - g::Ptr{Float128}, - j_ne::Int64, - J_val::Ptr{Float128}, - y::Ptr{Float128}, - h_ne::Int64, - H_val::Ptr{Float128}, - v::Ptr{Float128}, - p_ne::Int64, - P_val::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.bnls_solve_reverse_with_mat_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, m::Int64, + x::Ptr{Float128}, + c::Ptr{Float128}, + g::Ptr{Float128}, + j_ne::Int64, + J_val::Ptr{Float128}, + y::Ptr{Float128}, + h_ne::Int64, + H_val::Ptr{Float128}, + v::Ptr{Float128}, + p_ne::Int64, + P_val::Ptr{Float128})::Cvoid end export bnls_solve_reverse_without_mat @@ -690,18 +702,19 @@ end function bnls_solve_reverse_without_mat(::Type{Float32}, ::Type{Int64}, data, status, eval_status, n, m, x, c, g, transpose, u, v, y, p_ne, P_val) - @ccall libgalahad_single_64.bnls_solve_reverse_without_mat_s(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, - n::Int64, m::Int64, - x::Ptr{Float32}, - c::Ptr{Float32}, - g::Ptr{Float32}, - transpose::Ptr{Bool}, - u::Ptr{Float32}, - v::Ptr{Float32}, - y::Ptr{Float32}, p_ne::Int64, - P_val::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.bnls_solve_reverse_without_mat_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, m::Int64, + x::Ptr{Float32}, + c::Ptr{Float32}, + g::Ptr{Float32}, + transpose::Ptr{Bool}, + u::Ptr{Float32}, + v::Ptr{Float32}, + y::Ptr{Float32}, + p_ne::Int64, + P_val::Ptr{Float32})::Cvoid end function bnls_solve_reverse_without_mat(::Type{Float64}, ::Type{Int32}, data, status, @@ -721,18 +734,19 @@ end function bnls_solve_reverse_without_mat(::Type{Float64}, ::Type{Int64}, data, status, eval_status, n, m, x, c, g, transpose, u, v, y, p_ne, P_val) - @ccall libgalahad_double_64.bnls_solve_reverse_without_mat(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, - n::Int64, m::Int64, - x::Ptr{Float64}, - c::Ptr{Float64}, - g::Ptr{Float64}, - transpose::Ptr{Bool}, - u::Ptr{Float64}, - v::Ptr{Float64}, - y::Ptr{Float64}, p_ne::Int64, - P_val::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.bnls_solve_reverse_without_mat_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, m::Int64, + x::Ptr{Float64}, + c::Ptr{Float64}, + g::Ptr{Float64}, + transpose::Ptr{Bool}, + u::Ptr{Float64}, + v::Ptr{Float64}, + y::Ptr{Float64}, + p_ne::Int64, + P_val::Ptr{Float64})::Cvoid end function bnls_solve_reverse_without_mat(::Type{Float128}, ::Type{Int32}, data, status, @@ -756,19 +770,19 @@ end function bnls_solve_reverse_without_mat(::Type{Float128}, ::Type{Int64}, data, status, eval_status, n, m, x, c, g, transpose, u, v, y, p_ne, P_val) - @ccall libgalahad_quadruple_64.bnls_solve_reverse_without_mat_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, - n::Int64, m::Int64, - x::Ptr{Float128}, - c::Ptr{Float128}, - g::Ptr{Float128}, - transpose::Ptr{Bool}, - u::Ptr{Float128}, - v::Ptr{Float128}, - y::Ptr{Float128}, - p_ne::Int64, - P_val::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.bnls_solve_reverse_without_mat_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, m::Int64, + x::Ptr{Float128}, + c::Ptr{Float128}, + g::Ptr{Float128}, + transpose::Ptr{Bool}, + u::Ptr{Float128}, + v::Ptr{Float128}, + y::Ptr{Float128}, + p_ne::Int64, + P_val::Ptr{Float128})::Cvoid end export bnls_information @@ -780,10 +794,10 @@ function bnls_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function bnls_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.bnls_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{bnls_inform_type{Float32, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.bnls_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{bnls_inform_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function bnls_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -793,9 +807,10 @@ function bnls_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function bnls_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.bnls_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{bnls_inform_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.bnls_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{bnls_inform_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function bnls_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -806,10 +821,10 @@ function bnls_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function bnls_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.bnls_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{bnls_inform_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.bnls_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{bnls_inform_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export bnls_terminate @@ -821,10 +836,11 @@ function bnls_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function bnls_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.bnls_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{bnls_control_type{Float32, - Int64}}, - inform::Ptr{bnls_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.bnls_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{bnls_control_type{Float32, + Int64}}, + inform::Ptr{bnls_inform_type{Float32, + Int64}})::Cvoid end function bnls_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -834,9 +850,10 @@ function bnls_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function bnls_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.bnls_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{bnls_control_type{Float64,Int64}}, - inform::Ptr{bnls_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.bnls_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{bnls_control_type{Float64, + Int64}}, + inform::Ptr{bnls_inform_type{Float64,Int64}})::Cvoid end function bnls_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -847,9 +864,9 @@ function bnls_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function bnls_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.bnls_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{bnls_control_type{Float128, - Int64}}, - inform::Ptr{bnls_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.bnls_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{bnls_control_type{Float128, + Int64}}, + inform::Ptr{bnls_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/bqp.jl b/GALAHAD.jl/src/wrappers/bqp.jl index 9641e63193..45e5214363 100644 --- a/GALAHAD.jl/src/wrappers/bqp.jl +++ b/GALAHAD.jl/src/wrappers/bqp.jl @@ -65,9 +65,10 @@ function bqp_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function bqp_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.bqp_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{bqp_control_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.bqp_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{bqp_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function bqp_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -77,9 +78,10 @@ function bqp_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function bqp_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.bqp_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{bqp_control_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.bqp_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{bqp_control_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function bqp_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -90,10 +92,10 @@ function bqp_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) end function bqp_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.bqp_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{bqp_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.bqp_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{bqp_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export bqp_read_specfile @@ -104,9 +106,9 @@ function bqp_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfile) end function bqp_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.bqp_read_specfile_s(control::Ptr{bqp_control_type{Float32, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.bqp_read_specfile_s_64(control::Ptr{bqp_control_type{Float32, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function bqp_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -115,9 +117,9 @@ function bqp_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) end function bqp_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.bqp_read_specfile(control::Ptr{bqp_control_type{Float64, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.bqp_read_specfile_64(control::Ptr{bqp_control_type{Float64, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function bqp_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -127,9 +129,9 @@ function bqp_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) end function bqp_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.bqp_read_specfile_q(control::Ptr{bqp_control_type{Float128, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.bqp_read_specfile_q_64(control::Ptr{bqp_control_type{Float128, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end export bqp_import @@ -144,11 +146,11 @@ end function bqp_import(::Type{Float32}, ::Type{Int64}, control, data, status, n, H_type, ne, H_row, H_col, H_ptr) - @ccall libgalahad_single_64.bqp_import_s(control::Ptr{bqp_control_type{Float32,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, H_type::Ptr{Cchar}, ne::Int64, - H_row::Ptr{Int64}, H_col::Ptr{Int64}, - H_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.bqp_import_s_64(control::Ptr{bqp_control_type{Float32,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, H_type::Ptr{Cchar}, ne::Int64, + H_row::Ptr{Int64}, H_col::Ptr{Int64}, + H_ptr::Ptr{Int64})::Cvoid end function bqp_import(::Type{Float64}, ::Type{Int32}, control, data, status, n, H_type, ne, @@ -161,11 +163,11 @@ end function bqp_import(::Type{Float64}, ::Type{Int64}, control, data, status, n, H_type, ne, H_row, H_col, H_ptr) - @ccall libgalahad_double_64.bqp_import(control::Ptr{bqp_control_type{Float64,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, H_type::Ptr{Cchar}, ne::Int64, - H_row::Ptr{Int64}, H_col::Ptr{Int64}, - H_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.bqp_import_64(control::Ptr{bqp_control_type{Float64,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, H_type::Ptr{Cchar}, ne::Int64, + H_row::Ptr{Int64}, H_col::Ptr{Int64}, + H_ptr::Ptr{Int64})::Cvoid end function bqp_import(::Type{Float128}, ::Type{Int32}, control, data, status, n, H_type, ne, @@ -179,11 +181,12 @@ end function bqp_import(::Type{Float128}, ::Type{Int64}, control, data, status, n, H_type, ne, H_row, H_col, H_ptr) - @ccall libgalahad_quadruple_64.bqp_import_q(control::Ptr{bqp_control_type{Float128,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, H_type::Ptr{Cchar}, ne::Int64, - H_row::Ptr{Int64}, H_col::Ptr{Int64}, - H_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.bqp_import_q_64(control::Ptr{bqp_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, H_type::Ptr{Cchar}, ne::Int64, + H_row::Ptr{Int64}, H_col::Ptr{Int64}, + H_ptr::Ptr{Int64})::Cvoid end export bqp_import_without_h @@ -196,10 +199,10 @@ function bqp_import_without_h(::Type{Float32}, ::Type{Int32}, control, data, sta end function bqp_import_without_h(::Type{Float32}, ::Type{Int64}, control, data, status, n) - @ccall libgalahad_single_64.bqp_import_without_h_s(control::Ptr{bqp_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64)::Cvoid + @ccall libgalahad_single_64.bqp_import_without_h_s_64(control::Ptr{bqp_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64)::Cvoid end function bqp_import_without_h(::Type{Float64}, ::Type{Int32}, control, data, status, n) @@ -210,10 +213,10 @@ function bqp_import_without_h(::Type{Float64}, ::Type{Int32}, control, data, sta end function bqp_import_without_h(::Type{Float64}, ::Type{Int64}, control, data, status, n) - @ccall libgalahad_double_64.bqp_import_without_h(control::Ptr{bqp_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64)::Cvoid + @ccall libgalahad_double_64.bqp_import_without_h_64(control::Ptr{bqp_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64)::Cvoid end function bqp_import_without_h(::Type{Float128}, ::Type{Int32}, control, data, status, n) @@ -224,10 +227,11 @@ function bqp_import_without_h(::Type{Float128}, ::Type{Int32}, control, data, st end function bqp_import_without_h(::Type{Float128}, ::Type{Int64}, control, data, status, n) - @ccall libgalahad_quadruple_64.bqp_import_without_h_q(control::Ptr{bqp_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64)::Cvoid + @ccall libgalahad_quadruple_64.bqp_import_without_h_q_64(control::Ptr{bqp_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + n::Int64)::Cvoid end export bqp_reset_control @@ -239,10 +243,10 @@ function bqp_reset_control(::Type{Float32}, ::Type{Int32}, control, data, status end function bqp_reset_control(::Type{Float32}, ::Type{Int64}, control, data, status) - @ccall libgalahad_single_64.bqp_reset_control_s(control::Ptr{bqp_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.bqp_reset_control_s_64(control::Ptr{bqp_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function bqp_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status) @@ -252,10 +256,10 @@ function bqp_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status end function bqp_reset_control(::Type{Float64}, ::Type{Int64}, control, data, status) - @ccall libgalahad_double_64.bqp_reset_control(control::Ptr{bqp_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.bqp_reset_control_64(control::Ptr{bqp_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function bqp_reset_control(::Type{Float128}, ::Type{Int32}, control, data, status) @@ -266,10 +270,10 @@ function bqp_reset_control(::Type{Float128}, ::Type{Int32}, control, data, statu end function bqp_reset_control(::Type{Float128}, ::Type{Int64}, control, data, status) - @ccall libgalahad_quadruple_64.bqp_reset_control_q(control::Ptr{bqp_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.bqp_reset_control_q_64(control::Ptr{bqp_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end export bqp_solve_given_h @@ -286,13 +290,13 @@ end function bqp_solve_given_h(::Type{Float32}, ::Type{Int64}, data, status, n, h_ne, H_val, g, f, x_l, x_u, x, z, x_stat) - @ccall libgalahad_single_64.bqp_solve_given_h_s(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, h_ne::Int64, - H_val::Ptr{Float32}, g::Ptr{Float32}, - f::Float32, x_l::Ptr{Float32}, - x_u::Ptr{Float32}, x::Ptr{Float32}, - z::Ptr{Float32}, - x_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.bqp_solve_given_h_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + h_ne::Int64, H_val::Ptr{Float32}, + g::Ptr{Float32}, f::Float32, + x_l::Ptr{Float32}, x_u::Ptr{Float32}, + x::Ptr{Float32}, z::Ptr{Float32}, + x_stat::Ptr{Int64})::Cvoid end function bqp_solve_given_h(::Type{Float64}, ::Type{Int32}, data, status, n, h_ne, H_val, g, @@ -306,12 +310,13 @@ end function bqp_solve_given_h(::Type{Float64}, ::Type{Int64}, data, status, n, h_ne, H_val, g, f, x_l, x_u, x, z, x_stat) - @ccall libgalahad_double_64.bqp_solve_given_h(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, h_ne::Int64, H_val::Ptr{Float64}, - g::Ptr{Float64}, f::Float64, - x_l::Ptr{Float64}, x_u::Ptr{Float64}, - x::Ptr{Float64}, z::Ptr{Float64}, - x_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.bqp_solve_given_h_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + h_ne::Int64, H_val::Ptr{Float64}, + g::Ptr{Float64}, f::Float64, + x_l::Ptr{Float64}, x_u::Ptr{Float64}, + x::Ptr{Float64}, z::Ptr{Float64}, + x_stat::Ptr{Int64})::Cvoid end function bqp_solve_given_h(::Type{Float128}, ::Type{Int32}, data, status, n, h_ne, H_val, g, @@ -327,13 +332,14 @@ end function bqp_solve_given_h(::Type{Float128}, ::Type{Int64}, data, status, n, h_ne, H_val, g, f, x_l, x_u, x, z, x_stat) - @ccall libgalahad_quadruple_64.bqp_solve_given_h_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - h_ne::Int64, H_val::Ptr{Float128}, - g::Ptr{Float128}, f::Cfloat128, - x_l::Ptr{Float128}, x_u::Ptr{Float128}, - x::Ptr{Float128}, z::Ptr{Float128}, - x_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.bqp_solve_given_h_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + h_ne::Int64, H_val::Ptr{Float128}, + g::Ptr{Float128}, f::Cfloat128, + x_l::Ptr{Float128}, + x_u::Ptr{Float128}, + x::Ptr{Float128}, z::Ptr{Float128}, + x_stat::Ptr{Int64})::Cvoid end export bqp_solve_reverse_h_prod @@ -357,20 +363,21 @@ end function bqp_solve_reverse_h_prod(::Type{Float32}, ::Type{Int64}, data, status, n, g, f, x_l, x_u, x, z, x_stat, v, prod, nz_v, nz_v_start, nz_v_end, nz_prod, nz_prod_end) - @ccall libgalahad_single_64.bqp_solve_reverse_h_prod_s(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - g::Ptr{Float32}, f::Float32, - x_l::Ptr{Float32}, - x_u::Ptr{Float32}, x::Ptr{Float32}, - z::Ptr{Float32}, - x_stat::Ptr{Int64}, - v::Ptr{Float32}, - prod::Ptr{Float32}, - nz_v::Ptr{Int64}, - nz_v_start::Ptr{Int64}, - nz_v_end::Ptr{Int64}, - nz_prod::Ptr{Int64}, - nz_prod_end::Int64)::Cvoid + @ccall libgalahad_single_64.bqp_solve_reverse_h_prod_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + g::Ptr{Float32}, f::Float32, + x_l::Ptr{Float32}, + x_u::Ptr{Float32}, + x::Ptr{Float32}, + z::Ptr{Float32}, + x_stat::Ptr{Int64}, + v::Ptr{Float32}, + prod::Ptr{Float32}, + nz_v::Ptr{Int64}, + nz_v_start::Ptr{Int64}, + nz_v_end::Ptr{Int64}, + nz_prod::Ptr{Int64}, + nz_prod_end::Int64)::Cvoid end function bqp_solve_reverse_h_prod(::Type{Float64}, ::Type{Int32}, data, status, n, g, f, @@ -392,17 +399,20 @@ end function bqp_solve_reverse_h_prod(::Type{Float64}, ::Type{Int64}, data, status, n, g, f, x_l, x_u, x, z, x_stat, v, prod, nz_v, nz_v_start, nz_v_end, nz_prod, nz_prod_end) - @ccall libgalahad_double_64.bqp_solve_reverse_h_prod(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - g::Ptr{Float64}, f::Float64, - x_l::Ptr{Float64}, x_u::Ptr{Float64}, - x::Ptr{Float64}, z::Ptr{Float64}, - x_stat::Ptr{Int64}, v::Ptr{Float64}, - prod::Ptr{Float64}, nz_v::Ptr{Int64}, - nz_v_start::Ptr{Int64}, - nz_v_end::Ptr{Int64}, - nz_prod::Ptr{Int64}, - nz_prod_end::Int64)::Cvoid + @ccall libgalahad_double_64.bqp_solve_reverse_h_prod_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + g::Ptr{Float64}, f::Float64, + x_l::Ptr{Float64}, + x_u::Ptr{Float64}, + x::Ptr{Float64}, z::Ptr{Float64}, + x_stat::Ptr{Int64}, + v::Ptr{Float64}, + prod::Ptr{Float64}, + nz_v::Ptr{Int64}, + nz_v_start::Ptr{Int64}, + nz_v_end::Ptr{Int64}, + nz_prod::Ptr{Int64}, + nz_prod_end::Int64)::Cvoid end function bqp_solve_reverse_h_prod(::Type{Float128}, ::Type{Int32}, data, status, n, g, f, @@ -427,21 +437,22 @@ end function bqp_solve_reverse_h_prod(::Type{Float128}, ::Type{Int64}, data, status, n, g, f, x_l, x_u, x, z, x_stat, v, prod, nz_v, nz_v_start, nz_v_end, nz_prod, nz_prod_end) - @ccall libgalahad_quadruple_64.bqp_solve_reverse_h_prod_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - g::Ptr{Float128}, f::Cfloat128, - x_l::Ptr{Float128}, - x_u::Ptr{Float128}, - x::Ptr{Float128}, - z::Ptr{Float128}, - x_stat::Ptr{Int64}, - v::Ptr{Float128}, - prod::Ptr{Float128}, - nz_v::Ptr{Int64}, - nz_v_start::Ptr{Int64}, - nz_v_end::Ptr{Int64}, - nz_prod::Ptr{Int64}, - nz_prod_end::Int64)::Cvoid + @ccall libgalahad_quadruple_64.bqp_solve_reverse_h_prod_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + g::Ptr{Float128}, + f::Cfloat128, + x_l::Ptr{Float128}, + x_u::Ptr{Float128}, + x::Ptr{Float128}, + z::Ptr{Float128}, + x_stat::Ptr{Int64}, + v::Ptr{Float128}, + prod::Ptr{Float128}, + nz_v::Ptr{Int64}, + nz_v_start::Ptr{Int64}, + nz_v_end::Ptr{Int64}, + nz_prod::Ptr{Int64}, + nz_prod_end::Int64)::Cvoid end export bqp_information @@ -453,9 +464,10 @@ function bqp_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function bqp_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.bqp_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{bqp_inform_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.bqp_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{bqp_inform_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function bqp_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -465,9 +477,9 @@ function bqp_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function bqp_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.bqp_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{bqp_inform_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.bqp_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{bqp_inform_type{Float64,Int64}}, + status::Ptr{Int64})::Cvoid end function bqp_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -477,10 +489,10 @@ function bqp_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function bqp_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.bqp_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{bqp_inform_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.bqp_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{bqp_inform_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export bqp_terminate @@ -492,9 +504,10 @@ function bqp_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function bqp_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.bqp_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{bqp_control_type{Float32,Int64}}, - inform::Ptr{bqp_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.bqp_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{bqp_control_type{Float32, + Int64}}, + inform::Ptr{bqp_inform_type{Float32,Int64}})::Cvoid end function bqp_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -504,9 +517,9 @@ function bqp_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function bqp_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.bqp_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{bqp_control_type{Float64,Int64}}, - inform::Ptr{bqp_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.bqp_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{bqp_control_type{Float64,Int64}}, + inform::Ptr{bqp_inform_type{Float64,Int64}})::Cvoid end function bqp_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -516,9 +529,9 @@ function bqp_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function bqp_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.bqp_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{bqp_control_type{Float128, - Int64}}, - inform::Ptr{bqp_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.bqp_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{bqp_control_type{Float128, + Int64}}, + inform::Ptr{bqp_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/bqpb.jl b/GALAHAD.jl/src/wrappers/bqpb.jl index 5811cef745..6511820b7b 100644 --- a/GALAHAD.jl/src/wrappers/bqpb.jl +++ b/GALAHAD.jl/src/wrappers/bqpb.jl @@ -124,10 +124,10 @@ function bqpb_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function bqpb_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.bqpb_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{bqpb_control_type{Float32, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.bqpb_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{bqpb_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function bqpb_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -137,9 +137,10 @@ function bqpb_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function bqpb_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.bqpb_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{bqpb_control_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.bqpb_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{bqpb_control_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function bqpb_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -150,10 +151,10 @@ function bqpb_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) end function bqpb_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.bqpb_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{bqpb_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.bqpb_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{bqpb_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export bqpb_read_specfile @@ -165,9 +166,9 @@ function bqpb_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfile) end function bqpb_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.bqpb_read_specfile_s(control::Ptr{bqpb_control_type{Float32, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.bqpb_read_specfile_s_64(control::Ptr{bqpb_control_type{Float32, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function bqpb_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -176,9 +177,9 @@ function bqpb_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) end function bqpb_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.bqpb_read_specfile(control::Ptr{bqpb_control_type{Float64, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.bqpb_read_specfile_64(control::Ptr{bqpb_control_type{Float64, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function bqpb_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -188,9 +189,9 @@ function bqpb_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) end function bqpb_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.bqpb_read_specfile_q(control::Ptr{bqpb_control_type{Float128, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.bqpb_read_specfile_q_64(control::Ptr{bqpb_control_type{Float128, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end export bqpb_import @@ -206,11 +207,12 @@ end function bqpb_import(::Type{Float32}, ::Type{Int64}, control, data, status, n, H_type, H_ne, H_row, H_col, H_ptr) - @ccall libgalahad_single_64.bqpb_import_s(control::Ptr{bqpb_control_type{Float32,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, H_type::Ptr{Cchar}, H_ne::Int64, - H_row::Ptr{Int64}, H_col::Ptr{Int64}, - H_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.bqpb_import_s_64(control::Ptr{bqpb_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, H_type::Ptr{Cchar}, H_ne::Int64, + H_row::Ptr{Int64}, H_col::Ptr{Int64}, + H_ptr::Ptr{Int64})::Cvoid end function bqpb_import(::Type{Float64}, ::Type{Int32}, control, data, status, n, H_type, H_ne, @@ -223,11 +225,11 @@ end function bqpb_import(::Type{Float64}, ::Type{Int64}, control, data, status, n, H_type, H_ne, H_row, H_col, H_ptr) - @ccall libgalahad_double_64.bqpb_import(control::Ptr{bqpb_control_type{Float64,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, H_type::Ptr{Cchar}, H_ne::Int64, - H_row::Ptr{Int64}, H_col::Ptr{Int64}, - H_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.bqpb_import_64(control::Ptr{bqpb_control_type{Float64,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, H_type::Ptr{Cchar}, H_ne::Int64, + H_row::Ptr{Int64}, H_col::Ptr{Int64}, + H_ptr::Ptr{Int64})::Cvoid end function bqpb_import(::Type{Float128}, ::Type{Int32}, control, data, status, n, H_type, @@ -241,12 +243,12 @@ end function bqpb_import(::Type{Float128}, ::Type{Int64}, control, data, status, n, H_type, H_ne, H_row, H_col, H_ptr) - @ccall libgalahad_quadruple_64.bqpb_import_q(control::Ptr{bqpb_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, H_type::Ptr{Cchar}, H_ne::Int64, - H_row::Ptr{Int64}, H_col::Ptr{Int64}, - H_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.bqpb_import_q_64(control::Ptr{bqpb_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, H_type::Ptr{Cchar}, H_ne::Int64, + H_row::Ptr{Int64}, H_col::Ptr{Int64}, + H_ptr::Ptr{Int64})::Cvoid end export bqpb_reset_control @@ -259,10 +261,10 @@ function bqpb_reset_control(::Type{Float32}, ::Type{Int32}, control, data, statu end function bqpb_reset_control(::Type{Float32}, ::Type{Int64}, control, data, status) - @ccall libgalahad_single_64.bqpb_reset_control_s(control::Ptr{bqpb_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.bqpb_reset_control_s_64(control::Ptr{bqpb_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function bqpb_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status) @@ -272,10 +274,10 @@ function bqpb_reset_control(::Type{Float64}, ::Type{Int32}, control, data, statu end function bqpb_reset_control(::Type{Float64}, ::Type{Int64}, control, data, status) - @ccall libgalahad_double_64.bqpb_reset_control(control::Ptr{bqpb_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.bqpb_reset_control_64(control::Ptr{bqpb_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function bqpb_reset_control(::Type{Float128}, ::Type{Int32}, control, data, status) @@ -286,10 +288,10 @@ function bqpb_reset_control(::Type{Float128}, ::Type{Int32}, control, data, stat end function bqpb_reset_control(::Type{Float128}, ::Type{Int64}, control, data, status) - @ccall libgalahad_quadruple_64.bqpb_reset_control_q(control::Ptr{bqpb_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.bqpb_reset_control_q_64(control::Ptr{bqpb_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end export bqpb_solve_qp @@ -305,12 +307,12 @@ end function bqpb_solve_qp(::Type{Float32}, ::Type{Int64}, data, status, n, h_ne, H_val, g, f, x_l, x_u, x, z, x_stat) - @ccall libgalahad_single_64.bqpb_solve_qp_s(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, h_ne::Int64, H_val::Ptr{Float32}, - g::Ptr{Float32}, f::Float32, - x_l::Ptr{Float32}, x_u::Ptr{Float32}, - x::Ptr{Float32}, z::Ptr{Float32}, - x_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.bqpb_solve_qp_s_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, h_ne::Int64, H_val::Ptr{Float32}, + g::Ptr{Float32}, f::Float32, + x_l::Ptr{Float32}, x_u::Ptr{Float32}, + x::Ptr{Float32}, z::Ptr{Float32}, + x_stat::Ptr{Int64})::Cvoid end function bqpb_solve_qp(::Type{Float64}, ::Type{Int32}, data, status, n, h_ne, H_val, g, f, @@ -324,11 +326,12 @@ end function bqpb_solve_qp(::Type{Float64}, ::Type{Int64}, data, status, n, h_ne, H_val, g, f, x_l, x_u, x, z, x_stat) - @ccall libgalahad_double_64.bqpb_solve_qp(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, h_ne::Int64, H_val::Ptr{Float64}, - g::Ptr{Float64}, f::Float64, x_l::Ptr{Float64}, - x_u::Ptr{Float64}, x::Ptr{Float64}, - z::Ptr{Float64}, x_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.bqpb_solve_qp_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, h_ne::Int64, H_val::Ptr{Float64}, + g::Ptr{Float64}, f::Float64, + x_l::Ptr{Float64}, x_u::Ptr{Float64}, + x::Ptr{Float64}, z::Ptr{Float64}, + x_stat::Ptr{Int64})::Cvoid end function bqpb_solve_qp(::Type{Float128}, ::Type{Int32}, data, status, n, h_ne, H_val, g, f, @@ -343,13 +346,13 @@ end function bqpb_solve_qp(::Type{Float128}, ::Type{Int64}, data, status, n, h_ne, H_val, g, f, x_l, x_u, x, z, x_stat) - @ccall libgalahad_quadruple_64.bqpb_solve_qp_q(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, h_ne::Int64, - H_val::Ptr{Float128}, g::Ptr{Float128}, - f::Cfloat128, x_l::Ptr{Float128}, - x_u::Ptr{Float128}, x::Ptr{Float128}, - z::Ptr{Float128}, - x_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.bqpb_solve_qp_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + h_ne::Int64, H_val::Ptr{Float128}, + g::Ptr{Float128}, f::Cfloat128, + x_l::Ptr{Float128}, x_u::Ptr{Float128}, + x::Ptr{Float128}, z::Ptr{Float128}, + x_stat::Ptr{Int64})::Cvoid end export bqpb_solve_sldqp @@ -366,12 +369,13 @@ end function bqpb_solve_sldqp(::Type{Float32}, ::Type{Int64}, data, status, n, w, x0, g, f, x_l, x_u, x, z, x_stat) - @ccall libgalahad_single_64.bqpb_solve_sldqp_s(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, w::Ptr{Float32}, - x0::Ptr{Float32}, g::Ptr{Float32}, - f::Float32, x_l::Ptr{Float32}, - x_u::Ptr{Float32}, x::Ptr{Float32}, - z::Ptr{Float32}, x_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.bqpb_solve_sldqp_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + w::Ptr{Float32}, x0::Ptr{Float32}, + g::Ptr{Float32}, f::Float32, + x_l::Ptr{Float32}, x_u::Ptr{Float32}, + x::Ptr{Float32}, z::Ptr{Float32}, + x_stat::Ptr{Int64})::Cvoid end function bqpb_solve_sldqp(::Type{Float64}, ::Type{Int32}, data, status, n, w, x0, g, f, x_l, @@ -385,12 +389,13 @@ end function bqpb_solve_sldqp(::Type{Float64}, ::Type{Int64}, data, status, n, w, x0, g, f, x_l, x_u, x, z, x_stat) - @ccall libgalahad_double_64.bqpb_solve_sldqp(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, w::Ptr{Float64}, x0::Ptr{Float64}, - g::Ptr{Float64}, f::Float64, - x_l::Ptr{Float64}, x_u::Ptr{Float64}, - x::Ptr{Float64}, z::Ptr{Float64}, - x_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.bqpb_solve_sldqp_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, w::Ptr{Float64}, + x0::Ptr{Float64}, g::Ptr{Float64}, + f::Float64, x_l::Ptr{Float64}, + x_u::Ptr{Float64}, x::Ptr{Float64}, + z::Ptr{Float64}, + x_stat::Ptr{Int64})::Cvoid end function bqpb_solve_sldqp(::Type{Float128}, ::Type{Int32}, data, status, n, w, x0, g, f, @@ -406,13 +411,14 @@ end function bqpb_solve_sldqp(::Type{Float128}, ::Type{Int64}, data, status, n, w, x0, g, f, x_l, x_u, x, z, x_stat) - @ccall libgalahad_quadruple_64.bqpb_solve_sldqp_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - w::Ptr{Float128}, x0::Ptr{Float128}, - g::Ptr{Float128}, f::Cfloat128, - x_l::Ptr{Float128}, x_u::Ptr{Float128}, - x::Ptr{Float128}, z::Ptr{Float128}, - x_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.bqpb_solve_sldqp_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + w::Ptr{Float128}, x0::Ptr{Float128}, + g::Ptr{Float128}, f::Cfloat128, + x_l::Ptr{Float128}, + x_u::Ptr{Float128}, x::Ptr{Float128}, + z::Ptr{Float128}, + x_stat::Ptr{Int64})::Cvoid end export bqpb_information @@ -424,10 +430,10 @@ function bqpb_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function bqpb_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.bqpb_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{bqpb_inform_type{Float32, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.bqpb_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{bqpb_inform_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function bqpb_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -437,9 +443,10 @@ function bqpb_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function bqpb_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.bqpb_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{bqpb_inform_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.bqpb_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{bqpb_inform_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function bqpb_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -450,10 +457,10 @@ function bqpb_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function bqpb_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.bqpb_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{bqpb_inform_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.bqpb_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{bqpb_inform_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export bqpb_terminate @@ -465,10 +472,11 @@ function bqpb_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function bqpb_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.bqpb_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{bqpb_control_type{Float32, - Int64}}, - inform::Ptr{bqpb_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.bqpb_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{bqpb_control_type{Float32, + Int64}}, + inform::Ptr{bqpb_inform_type{Float32, + Int64}})::Cvoid end function bqpb_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -478,9 +486,10 @@ function bqpb_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function bqpb_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.bqpb_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{bqpb_control_type{Float64,Int64}}, - inform::Ptr{bqpb_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.bqpb_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{bqpb_control_type{Float64, + Int64}}, + inform::Ptr{bqpb_inform_type{Float64,Int64}})::Cvoid end function bqpb_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -491,9 +500,9 @@ function bqpb_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function bqpb_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.bqpb_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{bqpb_control_type{Float128, - Int64}}, - inform::Ptr{bqpb_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.bqpb_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{bqpb_control_type{Float128, + Int64}}, + inform::Ptr{bqpb_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/bsc.jl b/GALAHAD.jl/src/wrappers/bsc.jl index 99d89cc18c..93c1e1db2f 100644 --- a/GALAHAD.jl/src/wrappers/bsc.jl +++ b/GALAHAD.jl/src/wrappers/bsc.jl @@ -35,9 +35,9 @@ function bsc_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function bsc_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.bsc_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{bsc_control_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.bsc_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{bsc_control_type{Int64}}, + status::Ptr{Int64})::Cvoid end function bsc_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -47,9 +47,9 @@ function bsc_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function bsc_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.bsc_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{bsc_control_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.bsc_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{bsc_control_type{Int64}}, + status::Ptr{Int64})::Cvoid end function bsc_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -59,9 +59,9 @@ function bsc_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) end function bsc_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.bsc_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{bsc_control_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.bsc_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{bsc_control_type{Int64}}, + status::Ptr{Int64})::Cvoid end export bsc_information @@ -73,9 +73,10 @@ function bsc_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function bsc_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.bsc_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{bsc_inform_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.bsc_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{bsc_inform_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function bsc_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -85,9 +86,9 @@ function bsc_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function bsc_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.bsc_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{bsc_inform_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.bsc_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{bsc_inform_type{Float64,Int64}}, + status::Ptr{Int64})::Cvoid end function bsc_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -97,10 +98,10 @@ function bsc_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function bsc_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.bsc_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{bsc_inform_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.bsc_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{bsc_inform_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export bsc_terminate @@ -112,9 +113,9 @@ function bsc_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function bsc_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.bsc_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{bsc_control_type{Int64}}, - inform::Ptr{bsc_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.bsc_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{bsc_control_type{Int64}}, + inform::Ptr{bsc_inform_type{Float32,Int64}})::Cvoid end function bsc_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -124,9 +125,9 @@ function bsc_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function bsc_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.bsc_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{bsc_control_type{Int64}}, - inform::Ptr{bsc_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.bsc_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{bsc_control_type{Int64}}, + inform::Ptr{bsc_inform_type{Float64,Int64}})::Cvoid end function bsc_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -136,8 +137,8 @@ function bsc_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function bsc_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.bsc_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{bsc_control_type{Int64}}, - inform::Ptr{bsc_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.bsc_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{bsc_control_type{Int64}}, + inform::Ptr{bsc_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/ccqp.jl b/GALAHAD.jl/src/wrappers/ccqp.jl index 3594067011..192405a2bb 100644 --- a/GALAHAD.jl/src/wrappers/ccqp.jl +++ b/GALAHAD.jl/src/wrappers/ccqp.jl @@ -124,10 +124,10 @@ function ccqp_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function ccqp_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.ccqp_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{ccqp_control_type{Float32, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.ccqp_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{ccqp_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function ccqp_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -137,9 +137,10 @@ function ccqp_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function ccqp_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.ccqp_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{ccqp_control_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.ccqp_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{ccqp_control_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function ccqp_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -150,10 +151,10 @@ function ccqp_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) end function ccqp_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.ccqp_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{ccqp_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.ccqp_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{ccqp_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export ccqp_read_specfile @@ -165,9 +166,9 @@ function ccqp_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfile) end function ccqp_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.ccqp_read_specfile_s(control::Ptr{ccqp_control_type{Float32, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.ccqp_read_specfile_s_64(control::Ptr{ccqp_control_type{Float32, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function ccqp_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -176,9 +177,9 @@ function ccqp_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) end function ccqp_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.ccqp_read_specfile(control::Ptr{ccqp_control_type{Float64, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.ccqp_read_specfile_64(control::Ptr{ccqp_control_type{Float64, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function ccqp_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -188,9 +189,9 @@ function ccqp_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) end function ccqp_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.ccqp_read_specfile_q(control::Ptr{ccqp_control_type{Float128, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.ccqp_read_specfile_q_64(control::Ptr{ccqp_control_type{Float128, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end export ccqp_import @@ -208,14 +209,15 @@ end function ccqp_import(::Type{Float32}, ::Type{Int64}, control, data, status, n, m, H_type, H_ne, H_row, H_col, H_ptr, A_type, A_ne, A_row, A_col, A_ptr) - @ccall libgalahad_single_64.ccqp_import_s(control::Ptr{ccqp_control_type{Float32,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, H_type::Ptr{Cchar}, - H_ne::Int64, H_row::Ptr{Int64}, - H_col::Ptr{Int64}, H_ptr::Ptr{Int64}, - A_type::Ptr{Cchar}, A_ne::Int64, - A_row::Ptr{Int64}, A_col::Ptr{Int64}, - A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.ccqp_import_s_64(control::Ptr{ccqp_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, H_type::Ptr{Cchar}, + H_ne::Int64, H_row::Ptr{Int64}, + H_col::Ptr{Int64}, H_ptr::Ptr{Int64}, + A_type::Ptr{Cchar}, A_ne::Int64, + A_row::Ptr{Int64}, A_col::Ptr{Int64}, + A_ptr::Ptr{Int64})::Cvoid end function ccqp_import(::Type{Float64}, ::Type{Int32}, control, data, status, n, m, H_type, @@ -231,13 +233,14 @@ end function ccqp_import(::Type{Float64}, ::Type{Int64}, control, data, status, n, m, H_type, H_ne, H_row, H_col, H_ptr, A_type, A_ne, A_row, A_col, A_ptr) - @ccall libgalahad_double_64.ccqp_import(control::Ptr{ccqp_control_type{Float64,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, H_type::Ptr{Cchar}, - H_ne::Int64, H_row::Ptr{Int64}, H_col::Ptr{Int64}, - H_ptr::Ptr{Int64}, A_type::Ptr{Cchar}, - A_ne::Int64, A_row::Ptr{Int64}, A_col::Ptr{Int64}, - A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.ccqp_import_64(control::Ptr{ccqp_control_type{Float64,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, H_type::Ptr{Cchar}, + H_ne::Int64, H_row::Ptr{Int64}, + H_col::Ptr{Int64}, H_ptr::Ptr{Int64}, + A_type::Ptr{Cchar}, A_ne::Int64, + A_row::Ptr{Int64}, A_col::Ptr{Int64}, + A_ptr::Ptr{Int64})::Cvoid end function ccqp_import(::Type{Float128}, ::Type{Int32}, control, data, status, n, m, H_type, @@ -254,15 +257,15 @@ end function ccqp_import(::Type{Float128}, ::Type{Int64}, control, data, status, n, m, H_type, H_ne, H_row, H_col, H_ptr, A_type, A_ne, A_row, A_col, A_ptr) - @ccall libgalahad_quadruple_64.ccqp_import_q(control::Ptr{ccqp_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, H_type::Ptr{Cchar}, - H_ne::Int64, H_row::Ptr{Int64}, - H_col::Ptr{Int64}, H_ptr::Ptr{Int64}, - A_type::Ptr{Cchar}, A_ne::Int64, - A_row::Ptr{Int64}, A_col::Ptr{Int64}, - A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.ccqp_import_q_64(control::Ptr{ccqp_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, H_type::Ptr{Cchar}, + H_ne::Int64, H_row::Ptr{Int64}, + H_col::Ptr{Int64}, H_ptr::Ptr{Int64}, + A_type::Ptr{Cchar}, A_ne::Int64, + A_row::Ptr{Int64}, A_col::Ptr{Int64}, + A_ptr::Ptr{Int64})::Cvoid end export ccqp_reset_control @@ -275,10 +278,10 @@ function ccqp_reset_control(::Type{Float32}, ::Type{Int32}, control, data, statu end function ccqp_reset_control(::Type{Float32}, ::Type{Int64}, control, data, status) - @ccall libgalahad_single_64.ccqp_reset_control_s(control::Ptr{ccqp_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.ccqp_reset_control_s_64(control::Ptr{ccqp_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function ccqp_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status) @@ -288,10 +291,10 @@ function ccqp_reset_control(::Type{Float64}, ::Type{Int32}, control, data, statu end function ccqp_reset_control(::Type{Float64}, ::Type{Int64}, control, data, status) - @ccall libgalahad_double_64.ccqp_reset_control(control::Ptr{ccqp_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.ccqp_reset_control_64(control::Ptr{ccqp_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function ccqp_reset_control(::Type{Float128}, ::Type{Int32}, control, data, status) @@ -302,10 +305,10 @@ function ccqp_reset_control(::Type{Float128}, ::Type{Int32}, control, data, stat end function ccqp_reset_control(::Type{Float128}, ::Type{Int64}, control, data, status) - @ccall libgalahad_quadruple_64.ccqp_reset_control_q(control::Ptr{ccqp_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.ccqp_reset_control_q_64(control::Ptr{ccqp_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end export ccqp_solve_qp @@ -325,15 +328,16 @@ end function ccqp_solve_qp(::Type{Float32}, ::Type{Int64}, data, status, n, m, h_ne, H_val, g, f, a_ne, A_val, c_l, c_u, x_l, x_u, x, c, y, z, x_stat, c_stat) - @ccall libgalahad_single_64.ccqp_solve_qp_s(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, h_ne::Int64, - H_val::Ptr{Float32}, g::Ptr{Float32}, - f::Float32, a_ne::Int64, A_val::Ptr{Float32}, - c_l::Ptr{Float32}, c_u::Ptr{Float32}, - x_l::Ptr{Float32}, x_u::Ptr{Float32}, - x::Ptr{Float32}, c::Ptr{Float32}, - y::Ptr{Float32}, z::Ptr{Float32}, - x_stat::Ptr{Int64}, c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.ccqp_solve_qp_s_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, h_ne::Int64, + H_val::Ptr{Float32}, g::Ptr{Float32}, + f::Float32, a_ne::Int64, + A_val::Ptr{Float32}, c_l::Ptr{Float32}, + c_u::Ptr{Float32}, x_l::Ptr{Float32}, + x_u::Ptr{Float32}, x::Ptr{Float32}, + c::Ptr{Float32}, y::Ptr{Float32}, + z::Ptr{Float32}, x_stat::Ptr{Int64}, + c_stat::Ptr{Int64})::Cvoid end function ccqp_solve_qp(::Type{Float64}, ::Type{Int32}, data, status, n, m, h_ne, H_val, g, @@ -351,15 +355,16 @@ end function ccqp_solve_qp(::Type{Float64}, ::Type{Int64}, data, status, n, m, h_ne, H_val, g, f, a_ne, A_val, c_l, c_u, x_l, x_u, x, c, y, z, x_stat, c_stat) - @ccall libgalahad_double_64.ccqp_solve_qp(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, h_ne::Int64, - H_val::Ptr{Float64}, g::Ptr{Float64}, - f::Float64, a_ne::Int64, A_val::Ptr{Float64}, - c_l::Ptr{Float64}, c_u::Ptr{Float64}, - x_l::Ptr{Float64}, x_u::Ptr{Float64}, - x::Ptr{Float64}, c::Ptr{Float64}, - y::Ptr{Float64}, z::Ptr{Float64}, - x_stat::Ptr{Int64}, c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.ccqp_solve_qp_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, h_ne::Int64, + H_val::Ptr{Float64}, g::Ptr{Float64}, + f::Float64, a_ne::Int64, A_val::Ptr{Float64}, + c_l::Ptr{Float64}, c_u::Ptr{Float64}, + x_l::Ptr{Float64}, x_u::Ptr{Float64}, + x::Ptr{Float64}, c::Ptr{Float64}, + y::Ptr{Float64}, z::Ptr{Float64}, + x_stat::Ptr{Int64}, + c_stat::Ptr{Int64})::Cvoid end function ccqp_solve_qp(::Type{Float128}, ::Type{Int32}, data, status, n, m, h_ne, H_val, g, @@ -378,16 +383,17 @@ end function ccqp_solve_qp(::Type{Float128}, ::Type{Int64}, data, status, n, m, h_ne, H_val, g, f, a_ne, A_val, c_l, c_u, x_l, x_u, x, c, y, z, x_stat, c_stat) - @ccall libgalahad_quadruple_64.ccqp_solve_qp_q(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, h_ne::Int64, - H_val::Ptr{Float128}, g::Ptr{Float128}, - f::Cfloat128, a_ne::Int64, - A_val::Ptr{Float128}, c_l::Ptr{Float128}, - c_u::Ptr{Float128}, x_l::Ptr{Float128}, - x_u::Ptr{Float128}, x::Ptr{Float128}, - c::Ptr{Float128}, y::Ptr{Float128}, - z::Ptr{Float128}, x_stat::Ptr{Int64}, - c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.ccqp_solve_qp_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, m::Int64, + h_ne::Int64, H_val::Ptr{Float128}, + g::Ptr{Float128}, f::Cfloat128, + a_ne::Int64, A_val::Ptr{Float128}, + c_l::Ptr{Float128}, c_u::Ptr{Float128}, + x_l::Ptr{Float128}, x_u::Ptr{Float128}, + x::Ptr{Float128}, c::Ptr{Float128}, + y::Ptr{Float128}, z::Ptr{Float128}, + x_stat::Ptr{Int64}, + c_stat::Ptr{Int64})::Cvoid end export ccqp_solve_sldqp @@ -407,16 +413,17 @@ end function ccqp_solve_sldqp(::Type{Float32}, ::Type{Int64}, data, status, n, m, w, x0, g, f, a_ne, A_val, c_l, c_u, x_l, x_u, x, c, y, z, x_stat, c_stat) - @ccall libgalahad_single_64.ccqp_solve_sldqp_s(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, w::Ptr{Float32}, - x0::Ptr{Float32}, g::Ptr{Float32}, - f::Float32, a_ne::Int64, - A_val::Ptr{Float32}, c_l::Ptr{Float32}, - c_u::Ptr{Float32}, x_l::Ptr{Float32}, - x_u::Ptr{Float32}, x::Ptr{Float32}, - c::Ptr{Float32}, y::Ptr{Float32}, - z::Ptr{Float32}, x_stat::Ptr{Int64}, - c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.ccqp_solve_sldqp_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, m::Int64, + w::Ptr{Float32}, x0::Ptr{Float32}, + g::Ptr{Float32}, f::Float32, + a_ne::Int64, A_val::Ptr{Float32}, + c_l::Ptr{Float32}, c_u::Ptr{Float32}, + x_l::Ptr{Float32}, x_u::Ptr{Float32}, + x::Ptr{Float32}, c::Ptr{Float32}, + y::Ptr{Float32}, z::Ptr{Float32}, + x_stat::Ptr{Int64}, + c_stat::Ptr{Int64})::Cvoid end function ccqp_solve_sldqp(::Type{Float64}, ::Type{Int32}, data, status, n, m, w, x0, g, f, @@ -434,16 +441,16 @@ end function ccqp_solve_sldqp(::Type{Float64}, ::Type{Int64}, data, status, n, m, w, x0, g, f, a_ne, A_val, c_l, c_u, x_l, x_u, x, c, y, z, x_stat, c_stat) - @ccall libgalahad_double_64.ccqp_solve_sldqp(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, w::Ptr{Float64}, - x0::Ptr{Float64}, g::Ptr{Float64}, - f::Float64, a_ne::Int64, A_val::Ptr{Float64}, - c_l::Ptr{Float64}, c_u::Ptr{Float64}, - x_l::Ptr{Float64}, x_u::Ptr{Float64}, - x::Ptr{Float64}, c::Ptr{Float64}, - y::Ptr{Float64}, z::Ptr{Float64}, - x_stat::Ptr{Int64}, - c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.ccqp_solve_sldqp_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, w::Ptr{Float64}, + x0::Ptr{Float64}, g::Ptr{Float64}, + f::Float64, a_ne::Int64, + A_val::Ptr{Float64}, c_l::Ptr{Float64}, + c_u::Ptr{Float64}, x_l::Ptr{Float64}, + x_u::Ptr{Float64}, x::Ptr{Float64}, + c::Ptr{Float64}, y::Ptr{Float64}, + z::Ptr{Float64}, x_stat::Ptr{Int64}, + c_stat::Ptr{Int64})::Cvoid end function ccqp_solve_sldqp(::Type{Float128}, ::Type{Int32}, data, status, n, m, w, x0, g, f, @@ -462,17 +469,19 @@ end function ccqp_solve_sldqp(::Type{Float128}, ::Type{Int64}, data, status, n, m, w, x0, g, f, a_ne, A_val, c_l, c_u, x_l, x_u, x, c, y, z, x_stat, c_stat) - @ccall libgalahad_quadruple_64.ccqp_solve_sldqp_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, m::Int64, - w::Ptr{Float128}, x0::Ptr{Float128}, - g::Ptr{Float128}, f::Cfloat128, - a_ne::Int64, A_val::Ptr{Float128}, - c_l::Ptr{Float128}, c_u::Ptr{Float128}, - x_l::Ptr{Float128}, x_u::Ptr{Float128}, - x::Ptr{Float128}, c::Ptr{Float128}, - y::Ptr{Float128}, z::Ptr{Float128}, - x_stat::Ptr{Int64}, - c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.ccqp_solve_sldqp_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + m::Int64, w::Ptr{Float128}, + x0::Ptr{Float128}, g::Ptr{Float128}, + f::Cfloat128, a_ne::Int64, + A_val::Ptr{Float128}, + c_l::Ptr{Float128}, + c_u::Ptr{Float128}, + x_l::Ptr{Float128}, + x_u::Ptr{Float128}, x::Ptr{Float128}, + c::Ptr{Float128}, y::Ptr{Float128}, + z::Ptr{Float128}, x_stat::Ptr{Int64}, + c_stat::Ptr{Int64})::Cvoid end export ccqp_information @@ -484,10 +493,10 @@ function ccqp_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function ccqp_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.ccqp_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{ccqp_inform_type{Float32, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.ccqp_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{ccqp_inform_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function ccqp_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -497,9 +506,10 @@ function ccqp_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function ccqp_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.ccqp_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{ccqp_inform_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.ccqp_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{ccqp_inform_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function ccqp_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -510,10 +520,10 @@ function ccqp_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function ccqp_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.ccqp_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{ccqp_inform_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.ccqp_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{ccqp_inform_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export ccqp_terminate @@ -525,10 +535,11 @@ function ccqp_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function ccqp_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.ccqp_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{ccqp_control_type{Float32, - Int64}}, - inform::Ptr{ccqp_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.ccqp_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{ccqp_control_type{Float32, + Int64}}, + inform::Ptr{ccqp_inform_type{Float32, + Int64}})::Cvoid end function ccqp_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -538,9 +549,10 @@ function ccqp_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function ccqp_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.ccqp_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{ccqp_control_type{Float64,Int64}}, - inform::Ptr{ccqp_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.ccqp_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{ccqp_control_type{Float64, + Int64}}, + inform::Ptr{ccqp_inform_type{Float64,Int64}})::Cvoid end function ccqp_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -551,9 +563,9 @@ function ccqp_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function ccqp_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.ccqp_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{ccqp_control_type{Float128, - Int64}}, - inform::Ptr{ccqp_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.ccqp_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{ccqp_control_type{Float128, + Int64}}, + inform::Ptr{ccqp_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/clls.jl b/GALAHAD.jl/src/wrappers/clls.jl index 490393692c..a978db7c00 100644 --- a/GALAHAD.jl/src/wrappers/clls.jl +++ b/GALAHAD.jl/src/wrappers/clls.jl @@ -121,10 +121,10 @@ function clls_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function clls_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.clls_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{clls_control_type{Float32, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.clls_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{clls_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function clls_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -134,9 +134,10 @@ function clls_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function clls_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.clls_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{clls_control_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.clls_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{clls_control_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function clls_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -147,10 +148,10 @@ function clls_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) end function clls_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.clls_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{clls_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.clls_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{clls_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export clls_read_specfile @@ -162,9 +163,9 @@ function clls_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfile) end function clls_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.clls_read_specfile_s(control::Ptr{clls_control_type{Float32, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.clls_read_specfile_s_64(control::Ptr{clls_control_type{Float32, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function clls_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -173,9 +174,9 @@ function clls_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) end function clls_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.clls_read_specfile(control::Ptr{clls_control_type{Float64, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.clls_read_specfile_64(control::Ptr{clls_control_type{Float64, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function clls_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -185,9 +186,9 @@ function clls_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) end function clls_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.clls_read_specfile_q(control::Ptr{clls_control_type{Float128, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.clls_read_specfile_q_64(control::Ptr{clls_control_type{Float128, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end export clls_import @@ -208,15 +209,16 @@ end function clls_import(::Type{Float32}, ::Type{Int64}, control, data, status, n, o, m, Ao_type, Ao_ne, Ao_row, Ao_col, Ao_ptr_ne, Ao_ptr, A_type, A_ne, A_row, A_col, A_ptr_ne, A_ptr) - @ccall libgalahad_single_64.clls_import_s(control::Ptr{clls_control_type{Float32,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, o::Int64, m::Int64, - Ao_type::Ptr{Cchar}, Ao_ne::Int64, - Ao_row::Ptr{Int64}, Ao_col::Ptr{Int64}, - Ao_ptr_ne::Int64, Ao_ptr::Ptr{Int64}, - A_type::Ptr{Cchar}, A_ne::Int64, - A_row::Ptr{Int64}, A_col::Ptr{Int64}, - A_ptr_ne::Int64, A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.clls_import_s_64(control::Ptr{clls_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, o::Int64, m::Int64, + Ao_type::Ptr{Cchar}, Ao_ne::Int64, + Ao_row::Ptr{Int64}, Ao_col::Ptr{Int64}, + Ao_ptr_ne::Int64, Ao_ptr::Ptr{Int64}, + A_type::Ptr{Cchar}, A_ne::Int64, + A_row::Ptr{Int64}, A_col::Ptr{Int64}, + A_ptr_ne::Int64, A_ptr::Ptr{Int64})::Cvoid end function clls_import(::Type{Float64}, ::Type{Int32}, control, data, status, n, o, m, @@ -235,14 +237,15 @@ end function clls_import(::Type{Float64}, ::Type{Int64}, control, data, status, n, o, m, Ao_type, Ao_ne, Ao_row, Ao_col, Ao_ptr_ne, Ao_ptr, A_type, A_ne, A_row, A_col, A_ptr_ne, A_ptr) - @ccall libgalahad_double_64.clls_import(control::Ptr{clls_control_type{Float64,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, o::Int64, m::Int64, Ao_type::Ptr{Cchar}, - Ao_ne::Int64, Ao_row::Ptr{Int64}, - Ao_col::Ptr{Int64}, Ao_ptr_ne::Int64, - Ao_ptr::Ptr{Int64}, A_type::Ptr{Cchar}, - A_ne::Int64, A_row::Ptr{Int64}, A_col::Ptr{Int64}, - A_ptr_ne::Int64, A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.clls_import_64(control::Ptr{clls_control_type{Float64,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, o::Int64, m::Int64, + Ao_type::Ptr{Cchar}, Ao_ne::Int64, + Ao_row::Ptr{Int64}, Ao_col::Ptr{Int64}, + Ao_ptr_ne::Int64, Ao_ptr::Ptr{Int64}, + A_type::Ptr{Cchar}, A_ne::Int64, + A_row::Ptr{Int64}, A_col::Ptr{Int64}, + A_ptr_ne::Int64, A_ptr::Ptr{Int64})::Cvoid end function clls_import(::Type{Float128}, ::Type{Int32}, control, data, status, n, o, m, @@ -262,16 +265,16 @@ end function clls_import(::Type{Float128}, ::Type{Int64}, control, data, status, n, o, m, Ao_type, Ao_ne, Ao_row, Ao_col, Ao_ptr_ne, Ao_ptr, A_type, A_ne, A_row, A_col, A_ptr_ne, A_ptr) - @ccall libgalahad_quadruple_64.clls_import_q(control::Ptr{clls_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, o::Int64, m::Int64, - Ao_type::Ptr{Cchar}, Ao_ne::Int64, - Ao_row::Ptr{Int64}, Ao_col::Ptr{Int64}, - Ao_ptr_ne::Int64, Ao_ptr::Ptr{Int64}, - A_type::Ptr{Cchar}, A_ne::Int64, - A_row::Ptr{Int64}, A_col::Ptr{Int64}, - A_ptr_ne::Int64, A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.clls_import_q_64(control::Ptr{clls_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, o::Int64, m::Int64, + Ao_type::Ptr{Cchar}, Ao_ne::Int64, + Ao_row::Ptr{Int64}, Ao_col::Ptr{Int64}, + Ao_ptr_ne::Int64, Ao_ptr::Ptr{Int64}, + A_type::Ptr{Cchar}, A_ne::Int64, + A_row::Ptr{Int64}, A_col::Ptr{Int64}, + A_ptr_ne::Int64, A_ptr::Ptr{Int64})::Cvoid end export clls_reset_control @@ -284,10 +287,10 @@ function clls_reset_control(::Type{Float32}, ::Type{Int32}, control, data, statu end function clls_reset_control(::Type{Float32}, ::Type{Int64}, control, data, status) - @ccall libgalahad_single_64.clls_reset_control_s(control::Ptr{clls_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.clls_reset_control_s_64(control::Ptr{clls_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function clls_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status) @@ -297,10 +300,10 @@ function clls_reset_control(::Type{Float64}, ::Type{Int32}, control, data, statu end function clls_reset_control(::Type{Float64}, ::Type{Int64}, control, data, status) - @ccall libgalahad_double_64.clls_reset_control(control::Ptr{clls_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.clls_reset_control_64(control::Ptr{clls_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function clls_reset_control(::Type{Float128}, ::Type{Int32}, control, data, status) @@ -311,10 +314,10 @@ function clls_reset_control(::Type{Float128}, ::Type{Int32}, control, data, stat end function clls_reset_control(::Type{Float128}, ::Type{Int64}, control, data, status) - @ccall libgalahad_quadruple_64.clls_reset_control_q(control::Ptr{clls_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.clls_reset_control_q_64(control::Ptr{clls_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end export clls_solve_clls @@ -338,17 +341,19 @@ end function clls_solve_clls(::Type{Float32}, ::Type{Int64}, data, status, n, o, m, Ao_ne, Ao_val, b, regularization_weight, A_ne, A_val, c_l, c_u, x_l, x_u, x, r, c, y, z, x_stat, c_stat, w) - @ccall libgalahad_single_64.clls_solve_clls_s(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, o::Int64, m::Int64, Ao_ne::Int64, - Ao_val::Ptr{Float32}, b::Ptr{Float32}, - regularization_weight::Float32, A_ne::Int64, - A_val::Ptr{Float32}, c_l::Ptr{Float32}, - c_u::Ptr{Float32}, x_l::Ptr{Float32}, - x_u::Ptr{Float32}, x::Ptr{Float32}, - r::Ptr{Float32}, c::Ptr{Float32}, - y::Ptr{Float32}, z::Ptr{Float32}, - x_stat::Ptr{Int64}, c_stat::Ptr{Int64}, - w::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.clls_solve_clls_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, o::Int64, + m::Int64, Ao_ne::Int64, + Ao_val::Ptr{Float32}, b::Ptr{Float32}, + regularization_weight::Float32, + A_ne::Int64, A_val::Ptr{Float32}, + c_l::Ptr{Float32}, c_u::Ptr{Float32}, + x_l::Ptr{Float32}, x_u::Ptr{Float32}, + x::Ptr{Float32}, r::Ptr{Float32}, + c::Ptr{Float32}, y::Ptr{Float32}, + z::Ptr{Float32}, x_stat::Ptr{Int64}, + c_stat::Ptr{Int64}, + w::Ptr{Float32})::Cvoid end function clls_solve_clls(::Type{Float64}, ::Type{Int32}, data, status, n, o, m, Ao_ne, @@ -370,17 +375,17 @@ end function clls_solve_clls(::Type{Float64}, ::Type{Int64}, data, status, n, o, m, Ao_ne, Ao_val, b, regularization_weight, A_ne, A_val, c_l, c_u, x_l, x_u, x, r, c, y, z, x_stat, c_stat, w) - @ccall libgalahad_double_64.clls_solve_clls(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, o::Int64, m::Int64, Ao_ne::Int64, - Ao_val::Ptr{Float64}, b::Ptr{Float64}, - regularization_weight::Float64, A_ne::Int64, - A_val::Ptr{Float64}, c_l::Ptr{Float64}, - c_u::Ptr{Float64}, x_l::Ptr{Float64}, - x_u::Ptr{Float64}, x::Ptr{Float64}, - r::Ptr{Float64}, c::Ptr{Float64}, - y::Ptr{Float64}, z::Ptr{Float64}, - x_stat::Ptr{Int64}, c_stat::Ptr{Int64}, - w::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.clls_solve_clls_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, o::Int64, m::Int64, Ao_ne::Int64, + Ao_val::Ptr{Float64}, b::Ptr{Float64}, + regularization_weight::Float64, + A_ne::Int64, A_val::Ptr{Float64}, + c_l::Ptr{Float64}, c_u::Ptr{Float64}, + x_l::Ptr{Float64}, x_u::Ptr{Float64}, + x::Ptr{Float64}, r::Ptr{Float64}, + c::Ptr{Float64}, y::Ptr{Float64}, + z::Ptr{Float64}, x_stat::Ptr{Int64}, + c_stat::Ptr{Int64}, w::Ptr{Float64})::Cvoid end function clls_solve_clls(::Type{Float128}, ::Type{Int32}, data, status, n, o, m, Ao_ne, @@ -402,19 +407,22 @@ end function clls_solve_clls(::Type{Float128}, ::Type{Int64}, data, status, n, o, m, Ao_ne, Ao_val, b, regularization_weight, A_ne, A_val, c_l, c_u, x_l, x_u, x, r, c, y, z, x_stat, c_stat, w) - @ccall libgalahad_quadruple_64.clls_solve_clls_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, o::Int64, - m::Int64, Ao_ne::Int64, - Ao_val::Ptr{Float128}, b::Ptr{Float128}, - regularization_weight::Cfloat128, - A_ne::Int64, A_val::Ptr{Float128}, - c_l::Ptr{Float128}, c_u::Ptr{Float128}, - x_l::Ptr{Float128}, x_u::Ptr{Float128}, - x::Ptr{Float128}, r::Ptr{Float128}, - c::Ptr{Float128}, y::Ptr{Float128}, - z::Ptr{Float128}, x_stat::Ptr{Int64}, - c_stat::Ptr{Int64}, - w::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.clls_solve_clls_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + o::Int64, m::Int64, Ao_ne::Int64, + Ao_val::Ptr{Float128}, + b::Ptr{Float128}, + regularization_weight::Cfloat128, + A_ne::Int64, A_val::Ptr{Float128}, + c_l::Ptr{Float128}, + c_u::Ptr{Float128}, + x_l::Ptr{Float128}, + x_u::Ptr{Float128}, x::Ptr{Float128}, + r::Ptr{Float128}, c::Ptr{Float128}, + y::Ptr{Float128}, z::Ptr{Float128}, + x_stat::Ptr{Int64}, + c_stat::Ptr{Int64}, + w::Ptr{Float128})::Cvoid end export clls_information @@ -426,10 +434,10 @@ function clls_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function clls_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.clls_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{clls_inform_type{Float32, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.clls_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{clls_inform_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function clls_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -439,9 +447,10 @@ function clls_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function clls_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.clls_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{clls_inform_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.clls_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{clls_inform_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function clls_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -452,10 +461,10 @@ function clls_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function clls_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.clls_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{clls_inform_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.clls_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{clls_inform_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export clls_terminate @@ -467,10 +476,11 @@ function clls_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function clls_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.clls_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{clls_control_type{Float32, - Int64}}, - inform::Ptr{clls_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.clls_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{clls_control_type{Float32, + Int64}}, + inform::Ptr{clls_inform_type{Float32, + Int64}})::Cvoid end function clls_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -480,9 +490,10 @@ function clls_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function clls_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.clls_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{clls_control_type{Float64,Int64}}, - inform::Ptr{clls_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.clls_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{clls_control_type{Float64, + Int64}}, + inform::Ptr{clls_inform_type{Float64,Int64}})::Cvoid end function clls_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -493,9 +504,9 @@ function clls_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function clls_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.clls_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{clls_control_type{Float128, - Int64}}, - inform::Ptr{clls_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.clls_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{clls_control_type{Float128, + Int64}}, + inform::Ptr{clls_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/convert.jl b/GALAHAD.jl/src/wrappers/convert.jl index 60a3a872f3..69adc05785 100644 --- a/GALAHAD.jl/src/wrappers/convert.jl +++ b/GALAHAD.jl/src/wrappers/convert.jl @@ -39,9 +39,9 @@ function convert_initialize(::Type{Float32}, ::Type{Int32}, data, control, statu end function convert_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.convert_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{convert_control_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.convert_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{convert_control_type{Int64}}, + status::Ptr{Int64})::Cvoid end function convert_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -51,9 +51,9 @@ function convert_initialize(::Type{Float64}, ::Type{Int32}, data, control, statu end function convert_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.convert_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{convert_control_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.convert_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{convert_control_type{Int64}}, + status::Ptr{Int64})::Cvoid end function convert_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -63,9 +63,9 @@ function convert_initialize(::Type{Float128}, ::Type{Int32}, data, control, stat end function convert_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.convert_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{convert_control_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.convert_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{convert_control_type{Int64}}, + status::Ptr{Int64})::Cvoid end export convert_information @@ -78,10 +78,10 @@ function convert_information(::Type{Float32}, ::Type{Int32}, data, inform, statu end function convert_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.convert_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{convert_inform_type{Float32, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.convert_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{convert_inform_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function convert_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -92,10 +92,10 @@ function convert_information(::Type{Float64}, ::Type{Int32}, data, inform, statu end function convert_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.convert_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{convert_inform_type{Float64, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.convert_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{convert_inform_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function convert_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -106,10 +106,10 @@ function convert_information(::Type{Float128}, ::Type{Int32}, data, inform, stat end function convert_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.convert_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{convert_inform_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.convert_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{convert_inform_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export convert_terminate @@ -122,10 +122,10 @@ function convert_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform end function convert_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.convert_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{convert_control_type{Int64}}, - inform::Ptr{convert_inform_type{Float32, - Int64}})::Cvoid + @ccall libgalahad_single_64.convert_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{convert_control_type{Int64}}, + inform::Ptr{convert_inform_type{Float32, + Int64}})::Cvoid end function convert_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -135,10 +135,10 @@ function convert_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform end function convert_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.convert_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{convert_control_type{Int64}}, - inform::Ptr{convert_inform_type{Float64, - Int64}})::Cvoid + @ccall libgalahad_double_64.convert_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{convert_control_type{Int64}}, + inform::Ptr{convert_inform_type{Float64, + Int64}})::Cvoid end function convert_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -149,8 +149,8 @@ function convert_terminate(::Type{Float128}, ::Type{Int32}, data, control, infor end function convert_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.convert_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{convert_control_type{Int64}}, - inform::Ptr{convert_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.convert_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{convert_control_type{Int64}}, + inform::Ptr{convert_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/cqp.jl b/GALAHAD.jl/src/wrappers/cqp.jl index 783126f923..59131b99bf 100644 --- a/GALAHAD.jl/src/wrappers/cqp.jl +++ b/GALAHAD.jl/src/wrappers/cqp.jl @@ -124,9 +124,10 @@ function cqp_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function cqp_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.cqp_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{cqp_control_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.cqp_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{cqp_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function cqp_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -136,9 +137,10 @@ function cqp_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function cqp_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.cqp_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{cqp_control_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.cqp_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{cqp_control_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function cqp_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -149,10 +151,10 @@ function cqp_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) end function cqp_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.cqp_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{cqp_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.cqp_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{cqp_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export cqp_read_specfile @@ -163,9 +165,9 @@ function cqp_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfile) end function cqp_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.cqp_read_specfile_s(control::Ptr{cqp_control_type{Float32, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.cqp_read_specfile_s_64(control::Ptr{cqp_control_type{Float32, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function cqp_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -174,9 +176,9 @@ function cqp_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) end function cqp_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.cqp_read_specfile(control::Ptr{cqp_control_type{Float64, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.cqp_read_specfile_64(control::Ptr{cqp_control_type{Float64, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function cqp_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -186,9 +188,9 @@ function cqp_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) end function cqp_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.cqp_read_specfile_q(control::Ptr{cqp_control_type{Float128, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.cqp_read_specfile_q_64(control::Ptr{cqp_control_type{Float128, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end export cqp_import @@ -206,14 +208,14 @@ end function cqp_import(::Type{Float32}, ::Type{Int64}, control, data, status, n, m, H_type, H_ne, H_row, H_col, H_ptr, A_type, A_ne, A_row, A_col, A_ptr) - @ccall libgalahad_single_64.cqp_import_s(control::Ptr{cqp_control_type{Float32,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, H_type::Ptr{Cchar}, - H_ne::Int64, H_row::Ptr{Int64}, - H_col::Ptr{Int64}, H_ptr::Ptr{Int64}, - A_type::Ptr{Cchar}, A_ne::Int64, - A_row::Ptr{Int64}, A_col::Ptr{Int64}, - A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.cqp_import_s_64(control::Ptr{cqp_control_type{Float32,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, H_type::Ptr{Cchar}, + H_ne::Int64, H_row::Ptr{Int64}, + H_col::Ptr{Int64}, H_ptr::Ptr{Int64}, + A_type::Ptr{Cchar}, A_ne::Int64, + A_row::Ptr{Int64}, A_col::Ptr{Int64}, + A_ptr::Ptr{Int64})::Cvoid end function cqp_import(::Type{Float64}, ::Type{Int32}, control, data, status, n, m, H_type, @@ -229,13 +231,14 @@ end function cqp_import(::Type{Float64}, ::Type{Int64}, control, data, status, n, m, H_type, H_ne, H_row, H_col, H_ptr, A_type, A_ne, A_row, A_col, A_ptr) - @ccall libgalahad_double_64.cqp_import(control::Ptr{cqp_control_type{Float64,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, H_type::Ptr{Cchar}, - H_ne::Int64, H_row::Ptr{Int64}, H_col::Ptr{Int64}, - H_ptr::Ptr{Int64}, A_type::Ptr{Cchar}, A_ne::Int64, - A_row::Ptr{Int64}, A_col::Ptr{Int64}, - A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.cqp_import_64(control::Ptr{cqp_control_type{Float64,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, H_type::Ptr{Cchar}, + H_ne::Int64, H_row::Ptr{Int64}, + H_col::Ptr{Int64}, H_ptr::Ptr{Int64}, + A_type::Ptr{Cchar}, A_ne::Int64, + A_row::Ptr{Int64}, A_col::Ptr{Int64}, + A_ptr::Ptr{Int64})::Cvoid end function cqp_import(::Type{Float128}, ::Type{Int32}, control, data, status, n, m, H_type, @@ -252,14 +255,15 @@ end function cqp_import(::Type{Float128}, ::Type{Int64}, control, data, status, n, m, H_type, H_ne, H_row, H_col, H_ptr, A_type, A_ne, A_row, A_col, A_ptr) - @ccall libgalahad_quadruple_64.cqp_import_q(control::Ptr{cqp_control_type{Float128,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, H_type::Ptr{Cchar}, - H_ne::Int64, H_row::Ptr{Int64}, - H_col::Ptr{Int64}, H_ptr::Ptr{Int64}, - A_type::Ptr{Cchar}, A_ne::Int64, - A_row::Ptr{Int64}, A_col::Ptr{Int64}, - A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.cqp_import_q_64(control::Ptr{cqp_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, H_type::Ptr{Cchar}, + H_ne::Int64, H_row::Ptr{Int64}, + H_col::Ptr{Int64}, H_ptr::Ptr{Int64}, + A_type::Ptr{Cchar}, A_ne::Int64, + A_row::Ptr{Int64}, A_col::Ptr{Int64}, + A_ptr::Ptr{Int64})::Cvoid end export cqp_reset_control @@ -271,10 +275,10 @@ function cqp_reset_control(::Type{Float32}, ::Type{Int32}, control, data, status end function cqp_reset_control(::Type{Float32}, ::Type{Int64}, control, data, status) - @ccall libgalahad_single_64.cqp_reset_control_s(control::Ptr{cqp_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.cqp_reset_control_s_64(control::Ptr{cqp_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function cqp_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status) @@ -284,10 +288,10 @@ function cqp_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status end function cqp_reset_control(::Type{Float64}, ::Type{Int64}, control, data, status) - @ccall libgalahad_double_64.cqp_reset_control(control::Ptr{cqp_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.cqp_reset_control_64(control::Ptr{cqp_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function cqp_reset_control(::Type{Float128}, ::Type{Int32}, control, data, status) @@ -298,10 +302,10 @@ function cqp_reset_control(::Type{Float128}, ::Type{Int32}, control, data, statu end function cqp_reset_control(::Type{Float128}, ::Type{Int64}, control, data, status) - @ccall libgalahad_quadruple_64.cqp_reset_control_q(control::Ptr{cqp_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.cqp_reset_control_q_64(control::Ptr{cqp_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end export cqp_solve_qp @@ -321,15 +325,16 @@ end function cqp_solve_qp(::Type{Float32}, ::Type{Int64}, data, status, n, m, h_ne, H_val, g, f, a_ne, A_val, c_l, c_u, x_l, x_u, x, c, y, z, x_stat, c_stat) - @ccall libgalahad_single_64.cqp_solve_qp_s(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, h_ne::Int64, - H_val::Ptr{Float32}, g::Ptr{Float32}, - f::Float32, a_ne::Int64, A_val::Ptr{Float32}, - c_l::Ptr{Float32}, c_u::Ptr{Float32}, - x_l::Ptr{Float32}, x_u::Ptr{Float32}, - x::Ptr{Float32}, c::Ptr{Float32}, - y::Ptr{Float32}, z::Ptr{Float32}, - x_stat::Ptr{Int64}, c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.cqp_solve_qp_s_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, h_ne::Int64, + H_val::Ptr{Float32}, g::Ptr{Float32}, + f::Float32, a_ne::Int64, + A_val::Ptr{Float32}, c_l::Ptr{Float32}, + c_u::Ptr{Float32}, x_l::Ptr{Float32}, + x_u::Ptr{Float32}, x::Ptr{Float32}, + c::Ptr{Float32}, y::Ptr{Float32}, + z::Ptr{Float32}, x_stat::Ptr{Int64}, + c_stat::Ptr{Int64})::Cvoid end function cqp_solve_qp(::Type{Float64}, ::Type{Int32}, data, status, n, m, h_ne, H_val, g, f, @@ -346,15 +351,15 @@ end function cqp_solve_qp(::Type{Float64}, ::Type{Int64}, data, status, n, m, h_ne, H_val, g, f, a_ne, A_val, c_l, c_u, x_l, x_u, x, c, y, z, x_stat, c_stat) - @ccall libgalahad_double_64.cqp_solve_qp(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, h_ne::Int64, - H_val::Ptr{Float64}, g::Ptr{Float64}, f::Float64, - a_ne::Int64, A_val::Ptr{Float64}, - c_l::Ptr{Float64}, c_u::Ptr{Float64}, - x_l::Ptr{Float64}, x_u::Ptr{Float64}, - x::Ptr{Float64}, c::Ptr{Float64}, - y::Ptr{Float64}, z::Ptr{Float64}, - x_stat::Ptr{Int64}, c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.cqp_solve_qp_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, h_ne::Int64, + H_val::Ptr{Float64}, g::Ptr{Float64}, + f::Float64, a_ne::Int64, A_val::Ptr{Float64}, + c_l::Ptr{Float64}, c_u::Ptr{Float64}, + x_l::Ptr{Float64}, x_u::Ptr{Float64}, + x::Ptr{Float64}, c::Ptr{Float64}, + y::Ptr{Float64}, z::Ptr{Float64}, + x_stat::Ptr{Int64}, c_stat::Ptr{Int64})::Cvoid end function cqp_solve_qp(::Type{Float128}, ::Type{Int32}, data, status, n, m, h_ne, H_val, g, @@ -373,16 +378,17 @@ end function cqp_solve_qp(::Type{Float128}, ::Type{Int64}, data, status, n, m, h_ne, H_val, g, f, a_ne, A_val, c_l, c_u, x_l, x_u, x, c, y, z, x_stat, c_stat) - @ccall libgalahad_quadruple_64.cqp_solve_qp_q(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, h_ne::Int64, - H_val::Ptr{Float128}, g::Ptr{Float128}, - f::Cfloat128, a_ne::Int64, - A_val::Ptr{Float128}, c_l::Ptr{Float128}, - c_u::Ptr{Float128}, x_l::Ptr{Float128}, - x_u::Ptr{Float128}, x::Ptr{Float128}, - c::Ptr{Float128}, y::Ptr{Float128}, - z::Ptr{Float128}, x_stat::Ptr{Int64}, - c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.cqp_solve_qp_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, m::Int64, + h_ne::Int64, H_val::Ptr{Float128}, + g::Ptr{Float128}, f::Cfloat128, + a_ne::Int64, A_val::Ptr{Float128}, + c_l::Ptr{Float128}, c_u::Ptr{Float128}, + x_l::Ptr{Float128}, x_u::Ptr{Float128}, + x::Ptr{Float128}, c::Ptr{Float128}, + y::Ptr{Float128}, z::Ptr{Float128}, + x_stat::Ptr{Int64}, + c_stat::Ptr{Int64})::Cvoid end export cqp_solve_sldqp @@ -402,16 +408,16 @@ end function cqp_solve_sldqp(::Type{Float32}, ::Type{Int64}, data, status, n, m, w, x0, g, f, a_ne, A_val, c_l, c_u, x_l, x_u, x, c, y, z, x_stat, c_stat) - @ccall libgalahad_single_64.cqp_solve_sldqp_s(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, w::Ptr{Float32}, - x0::Ptr{Float32}, g::Ptr{Float32}, - f::Float32, a_ne::Int64, - A_val::Ptr{Float32}, c_l::Ptr{Float32}, - c_u::Ptr{Float32}, x_l::Ptr{Float32}, - x_u::Ptr{Float32}, x::Ptr{Float32}, - c::Ptr{Float32}, y::Ptr{Float32}, - z::Ptr{Float32}, x_stat::Ptr{Int64}, - c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.cqp_solve_sldqp_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, m::Int64, + w::Ptr{Float32}, x0::Ptr{Float32}, + g::Ptr{Float32}, f::Float32, a_ne::Int64, + A_val::Ptr{Float32}, c_l::Ptr{Float32}, + c_u::Ptr{Float32}, x_l::Ptr{Float32}, + x_u::Ptr{Float32}, x::Ptr{Float32}, + c::Ptr{Float32}, y::Ptr{Float32}, + z::Ptr{Float32}, x_stat::Ptr{Int64}, + c_stat::Ptr{Int64})::Cvoid end function cqp_solve_sldqp(::Type{Float64}, ::Type{Int32}, data, status, n, m, w, x0, g, f, @@ -429,15 +435,16 @@ end function cqp_solve_sldqp(::Type{Float64}, ::Type{Int64}, data, status, n, m, w, x0, g, f, a_ne, A_val, c_l, c_u, x_l, x_u, x, c, y, z, x_stat, c_stat) - @ccall libgalahad_double_64.cqp_solve_sldqp(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, w::Ptr{Float64}, - x0::Ptr{Float64}, g::Ptr{Float64}, f::Float64, - a_ne::Int64, A_val::Ptr{Float64}, - c_l::Ptr{Float64}, c_u::Ptr{Float64}, - x_l::Ptr{Float64}, x_u::Ptr{Float64}, - x::Ptr{Float64}, c::Ptr{Float64}, - y::Ptr{Float64}, z::Ptr{Float64}, - x_stat::Ptr{Int64}, c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.cqp_solve_sldqp_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, w::Ptr{Float64}, + x0::Ptr{Float64}, g::Ptr{Float64}, + f::Float64, a_ne::Int64, + A_val::Ptr{Float64}, c_l::Ptr{Float64}, + c_u::Ptr{Float64}, x_l::Ptr{Float64}, + x_u::Ptr{Float64}, x::Ptr{Float64}, + c::Ptr{Float64}, y::Ptr{Float64}, + z::Ptr{Float64}, x_stat::Ptr{Int64}, + c_stat::Ptr{Int64})::Cvoid end function cqp_solve_sldqp(::Type{Float128}, ::Type{Int32}, data, status, n, m, w, x0, g, f, @@ -456,17 +463,19 @@ end function cqp_solve_sldqp(::Type{Float128}, ::Type{Int64}, data, status, n, m, w, x0, g, f, a_ne, A_val, c_l, c_u, x_l, x_u, x, c, y, z, x_stat, c_stat) - @ccall libgalahad_quadruple_64.cqp_solve_sldqp_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, m::Int64, - w::Ptr{Float128}, x0::Ptr{Float128}, - g::Ptr{Float128}, f::Cfloat128, - a_ne::Int64, A_val::Ptr{Float128}, - c_l::Ptr{Float128}, c_u::Ptr{Float128}, - x_l::Ptr{Float128}, x_u::Ptr{Float128}, - x::Ptr{Float128}, c::Ptr{Float128}, - y::Ptr{Float128}, z::Ptr{Float128}, - x_stat::Ptr{Int64}, - c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.cqp_solve_sldqp_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + m::Int64, w::Ptr{Float128}, + x0::Ptr{Float128}, g::Ptr{Float128}, + f::Cfloat128, a_ne::Int64, + A_val::Ptr{Float128}, + c_l::Ptr{Float128}, + c_u::Ptr{Float128}, + x_l::Ptr{Float128}, + x_u::Ptr{Float128}, x::Ptr{Float128}, + c::Ptr{Float128}, y::Ptr{Float128}, + z::Ptr{Float128}, x_stat::Ptr{Int64}, + c_stat::Ptr{Int64})::Cvoid end export cqp_information @@ -478,9 +487,10 @@ function cqp_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function cqp_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.cqp_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{cqp_inform_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.cqp_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{cqp_inform_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function cqp_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -490,9 +500,9 @@ function cqp_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function cqp_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.cqp_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{cqp_inform_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.cqp_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{cqp_inform_type{Float64,Int64}}, + status::Ptr{Int64})::Cvoid end function cqp_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -502,10 +512,10 @@ function cqp_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function cqp_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.cqp_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{cqp_inform_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.cqp_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{cqp_inform_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export cqp_terminate @@ -517,9 +527,10 @@ function cqp_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function cqp_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.cqp_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{cqp_control_type{Float32,Int64}}, - inform::Ptr{cqp_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.cqp_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{cqp_control_type{Float32, + Int64}}, + inform::Ptr{cqp_inform_type{Float32,Int64}})::Cvoid end function cqp_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -529,9 +540,9 @@ function cqp_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function cqp_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.cqp_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{cqp_control_type{Float64,Int64}}, - inform::Ptr{cqp_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.cqp_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{cqp_control_type{Float64,Int64}}, + inform::Ptr{cqp_inform_type{Float64,Int64}})::Cvoid end function cqp_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -541,9 +552,9 @@ function cqp_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function cqp_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.cqp_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{cqp_control_type{Float128, - Int64}}, - inform::Ptr{cqp_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.cqp_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{cqp_control_type{Float128, + Int64}}, + inform::Ptr{cqp_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/cro.jl b/GALAHAD.jl/src/wrappers/cro.jl index 5c14d361bc..2fa5be3c04 100644 --- a/GALAHAD.jl/src/wrappers/cro.jl +++ b/GALAHAD.jl/src/wrappers/cro.jl @@ -59,9 +59,10 @@ function cro_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function cro_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.cro_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{cro_control_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.cro_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{cro_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function cro_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -71,9 +72,10 @@ function cro_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function cro_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.cro_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{cro_control_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.cro_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{cro_control_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function cro_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -84,10 +86,10 @@ function cro_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) end function cro_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.cro_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{cro_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.cro_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{cro_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export cro_read_specfile @@ -98,9 +100,9 @@ function cro_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfile) end function cro_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.cro_read_specfile_s(control::Ptr{cro_control_type{Float32, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.cro_read_specfile_s_64(control::Ptr{cro_control_type{Float32, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function cro_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -109,9 +111,9 @@ function cro_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) end function cro_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.cro_read_specfile(control::Ptr{cro_control_type{Float64, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.cro_read_specfile_64(control::Ptr{cro_control_type{Float64, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function cro_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -121,9 +123,9 @@ function cro_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) end function cro_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.cro_read_specfile_q(control::Ptr{cro_control_type{Float128, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.cro_read_specfile_q_64(control::Ptr{cro_control_type{Float128, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end export cro_crossover_solution @@ -152,22 +154,28 @@ end function cro_crossover_solution(::Type{Float32}, ::Type{Int64}, data, control, inform, n, m, m_equal, h_ne, H_val, H_col, H_ptr, a_ne, A_val, A_col, A_ptr, g, c_l, c_u, x_l, x_u, x, c, y, z, x_stat, c_stat) - @ccall libgalahad_single_64.cro_crossover_solution_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{cro_control_type{Float32, - Int64}}, - inform::Ptr{cro_inform_type{Float32, - Int64}}, - n::Int64, m::Int64, m_equal::Int64, - h_ne::Int64, H_val::Ptr{Float32}, - H_col::Ptr{Int64}, H_ptr::Ptr{Int64}, - a_ne::Int64, A_val::Ptr{Float32}, - A_col::Ptr{Int64}, A_ptr::Ptr{Int64}, - g::Ptr{Float32}, c_l::Ptr{Float32}, - c_u::Ptr{Float32}, x_l::Ptr{Float32}, - x_u::Ptr{Float32}, x::Ptr{Float32}, - c::Ptr{Float32}, y::Ptr{Float32}, - z::Ptr{Float32}, x_stat::Ptr{Int64}, - c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.cro_crossover_solution_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{cro_control_type{Float32, + Int64}}, + inform::Ptr{cro_inform_type{Float32, + Int64}}, + n::Int64, m::Int64, + m_equal::Int64, h_ne::Int64, + H_val::Ptr{Float32}, + H_col::Ptr{Int64}, + H_ptr::Ptr{Int64}, a_ne::Int64, + A_val::Ptr{Float32}, + A_col::Ptr{Int64}, + A_ptr::Ptr{Int64}, + g::Ptr{Float32}, + c_l::Ptr{Float32}, + c_u::Ptr{Float32}, + x_l::Ptr{Float32}, + x_u::Ptr{Float32}, + x::Ptr{Float32}, c::Ptr{Float32}, + y::Ptr{Float32}, z::Ptr{Float32}, + x_stat::Ptr{Int64}, + c_stat::Ptr{Int64})::Cvoid end function cro_crossover_solution(::Type{Float64}, ::Type{Int32}, data, control, inform, n, m, @@ -194,22 +202,25 @@ end function cro_crossover_solution(::Type{Float64}, ::Type{Int64}, data, control, inform, n, m, m_equal, h_ne, H_val, H_col, H_ptr, a_ne, A_val, A_col, A_ptr, g, c_l, c_u, x_l, x_u, x, c, y, z, x_stat, c_stat) - @ccall libgalahad_double_64.cro_crossover_solution(data::Ptr{Ptr{Cvoid}}, - control::Ptr{cro_control_type{Float64, - Int64}}, - inform::Ptr{cro_inform_type{Float64, - Int64}}, - n::Int64, m::Int64, m_equal::Int64, - h_ne::Int64, H_val::Ptr{Float64}, - H_col::Ptr{Int64}, H_ptr::Ptr{Int64}, - a_ne::Int64, A_val::Ptr{Float64}, - A_col::Ptr{Int64}, A_ptr::Ptr{Int64}, - g::Ptr{Float64}, c_l::Ptr{Float64}, - c_u::Ptr{Float64}, x_l::Ptr{Float64}, - x_u::Ptr{Float64}, x::Ptr{Float64}, - c::Ptr{Float64}, y::Ptr{Float64}, - z::Ptr{Float64}, x_stat::Ptr{Int64}, - c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.cro_crossover_solution_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{cro_control_type{Float64, + Int64}}, + inform::Ptr{cro_inform_type{Float64, + Int64}}, + n::Int64, m::Int64, m_equal::Int64, + h_ne::Int64, H_val::Ptr{Float64}, + H_col::Ptr{Int64}, + H_ptr::Ptr{Int64}, a_ne::Int64, + A_val::Ptr{Float64}, + A_col::Ptr{Int64}, + A_ptr::Ptr{Int64}, g::Ptr{Float64}, + c_l::Ptr{Float64}, + c_u::Ptr{Float64}, + x_l::Ptr{Float64}, + x_u::Ptr{Float64}, x::Ptr{Float64}, + c::Ptr{Float64}, y::Ptr{Float64}, + z::Ptr{Float64}, x_stat::Ptr{Int64}, + c_stat::Ptr{Int64})::Cvoid end function cro_crossover_solution(::Type{Float128}, ::Type{Int32}, data, control, inform, n, @@ -237,30 +248,30 @@ end function cro_crossover_solution(::Type{Float128}, ::Type{Int64}, data, control, inform, n, m, m_equal, h_ne, H_val, H_col, H_ptr, a_ne, A_val, A_col, A_ptr, g, c_l, c_u, x_l, x_u, x, c, y, z, x_stat, c_stat) - @ccall libgalahad_quadruple_64.cro_crossover_solution_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{cro_control_type{Float128, - Int64}}, - inform::Ptr{cro_inform_type{Float128, - Int64}}, - n::Int64, m::Int64, - m_equal::Int64, h_ne::Int64, - H_val::Ptr{Float128}, - H_col::Ptr{Int64}, - H_ptr::Ptr{Int64}, a_ne::Int64, - A_val::Ptr{Float128}, - A_col::Ptr{Int64}, - A_ptr::Ptr{Int64}, - g::Ptr{Float128}, - c_l::Ptr{Float128}, - c_u::Ptr{Float128}, - x_l::Ptr{Float128}, - x_u::Ptr{Float128}, - x::Ptr{Float128}, - c::Ptr{Float128}, - y::Ptr{Float128}, - z::Ptr{Float128}, - x_stat::Ptr{Int64}, - c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.cro_crossover_solution_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{cro_control_type{Float128, + Int64}}, + inform::Ptr{cro_inform_type{Float128, + Int64}}, + n::Int64, m::Int64, + m_equal::Int64, h_ne::Int64, + H_val::Ptr{Float128}, + H_col::Ptr{Int64}, + H_ptr::Ptr{Int64}, a_ne::Int64, + A_val::Ptr{Float128}, + A_col::Ptr{Int64}, + A_ptr::Ptr{Int64}, + g::Ptr{Float128}, + c_l::Ptr{Float128}, + c_u::Ptr{Float128}, + x_l::Ptr{Float128}, + x_u::Ptr{Float128}, + x::Ptr{Float128}, + c::Ptr{Float128}, + y::Ptr{Float128}, + z::Ptr{Float128}, + x_stat::Ptr{Int64}, + c_stat::Ptr{Int64})::Cvoid end export cro_terminate @@ -272,9 +283,10 @@ function cro_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function cro_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.cro_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{cro_control_type{Float32,Int64}}, - inform::Ptr{cro_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.cro_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{cro_control_type{Float32, + Int64}}, + inform::Ptr{cro_inform_type{Float32,Int64}})::Cvoid end function cro_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -284,9 +296,9 @@ function cro_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function cro_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.cro_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{cro_control_type{Float64,Int64}}, - inform::Ptr{cro_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.cro_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{cro_control_type{Float64,Int64}}, + inform::Ptr{cro_inform_type{Float64,Int64}})::Cvoid end function cro_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -296,9 +308,9 @@ function cro_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function cro_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.cro_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{cro_control_type{Float128, - Int64}}, - inform::Ptr{cro_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.cro_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{cro_control_type{Float128, + Int64}}, + inform::Ptr{cro_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/dgo.jl b/GALAHAD.jl/src/wrappers/dgo.jl index bf2d545221..340b178921 100644 --- a/GALAHAD.jl/src/wrappers/dgo.jl +++ b/GALAHAD.jl/src/wrappers/dgo.jl @@ -74,9 +74,10 @@ function dgo_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function dgo_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.dgo_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{dgo_control_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.dgo_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{dgo_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function dgo_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -86,9 +87,10 @@ function dgo_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function dgo_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.dgo_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{dgo_control_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.dgo_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{dgo_control_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function dgo_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -99,10 +101,10 @@ function dgo_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) end function dgo_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.dgo_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{dgo_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.dgo_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{dgo_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export dgo_read_specfile @@ -113,9 +115,9 @@ function dgo_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfile) end function dgo_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.dgo_read_specfile_s(control::Ptr{dgo_control_type{Float32, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.dgo_read_specfile_s_64(control::Ptr{dgo_control_type{Float32, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function dgo_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -124,9 +126,9 @@ function dgo_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) end function dgo_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.dgo_read_specfile(control::Ptr{dgo_control_type{Float64, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.dgo_read_specfile_64(control::Ptr{dgo_control_type{Float64, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function dgo_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -136,9 +138,9 @@ function dgo_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) end function dgo_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.dgo_read_specfile_q(control::Ptr{dgo_control_type{Float128, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.dgo_read_specfile_q_64(control::Ptr{dgo_control_type{Float128, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end export dgo_import @@ -154,11 +156,12 @@ end function dgo_import(::Type{Float32}, ::Type{Int64}, control, data, status, n, x_l, x_u, H_type, ne, H_row, H_col, H_ptr) - @ccall libgalahad_single_64.dgo_import_s(control::Ptr{dgo_control_type{Float32,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, x_l::Ptr{Float32}, x_u::Ptr{Float32}, - H_type::Ptr{Cchar}, ne::Int64, H_row::Ptr{Int64}, - H_col::Ptr{Int64}, H_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.dgo_import_s_64(control::Ptr{dgo_control_type{Float32,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, x_l::Ptr{Float32}, + x_u::Ptr{Float32}, H_type::Ptr{Cchar}, + ne::Int64, H_row::Ptr{Int64}, + H_col::Ptr{Int64}, H_ptr::Ptr{Int64})::Cvoid end function dgo_import(::Type{Float64}, ::Type{Int32}, control, data, status, n, x_l, x_u, @@ -172,11 +175,12 @@ end function dgo_import(::Type{Float64}, ::Type{Int64}, control, data, status, n, x_l, x_u, H_type, ne, H_row, H_col, H_ptr) - @ccall libgalahad_double_64.dgo_import(control::Ptr{dgo_control_type{Float64,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, x_l::Ptr{Float64}, x_u::Ptr{Float64}, - H_type::Ptr{Cchar}, ne::Int64, H_row::Ptr{Int64}, - H_col::Ptr{Int64}, H_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.dgo_import_64(control::Ptr{dgo_control_type{Float64,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, x_l::Ptr{Float64}, x_u::Ptr{Float64}, + H_type::Ptr{Cchar}, ne::Int64, + H_row::Ptr{Int64}, H_col::Ptr{Int64}, + H_ptr::Ptr{Int64})::Cvoid end function dgo_import(::Type{Float128}, ::Type{Int32}, control, data, status, n, x_l, x_u, @@ -190,12 +194,14 @@ end function dgo_import(::Type{Float128}, ::Type{Int64}, control, data, status, n, x_l, x_u, H_type, ne, H_row, H_col, H_ptr) - @ccall libgalahad_quadruple_64.dgo_import_q(control::Ptr{dgo_control_type{Float128,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, x_l::Ptr{Float128}, - x_u::Ptr{Float128}, H_type::Ptr{Cchar}, - ne::Int64, H_row::Ptr{Int64}, - H_col::Ptr{Int64}, H_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.dgo_import_q_64(control::Ptr{dgo_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, x_l::Ptr{Float128}, + x_u::Ptr{Float128}, H_type::Ptr{Cchar}, + ne::Int64, H_row::Ptr{Int64}, + H_col::Ptr{Int64}, + H_ptr::Ptr{Int64})::Cvoid end export dgo_reset_control @@ -207,10 +213,10 @@ function dgo_reset_control(::Type{Float32}, ::Type{Int32}, control, data, status end function dgo_reset_control(::Type{Float32}, ::Type{Int64}, control, data, status) - @ccall libgalahad_single_64.dgo_reset_control_s(control::Ptr{dgo_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.dgo_reset_control_s_64(control::Ptr{dgo_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function dgo_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status) @@ -220,10 +226,10 @@ function dgo_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status end function dgo_reset_control(::Type{Float64}, ::Type{Int64}, control, data, status) - @ccall libgalahad_double_64.dgo_reset_control(control::Ptr{dgo_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.dgo_reset_control_64(control::Ptr{dgo_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function dgo_reset_control(::Type{Float128}, ::Type{Int32}, control, data, status) @@ -234,10 +240,10 @@ function dgo_reset_control(::Type{Float128}, ::Type{Int32}, control, data, statu end function dgo_reset_control(::Type{Float128}, ::Type{Int64}, control, data, status) - @ccall libgalahad_quadruple_64.dgo_reset_control_q(control::Ptr{dgo_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.dgo_reset_control_q_64(control::Ptr{dgo_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end export dgo_solve_with_mat @@ -254,14 +260,15 @@ end function dgo_solve_with_mat(::Type{Float32}, ::Type{Int64}, data, userdata, status, n, x, g, ne, eval_f, eval_g, eval_h, eval_hprod, eval_prec) - @ccall libgalahad_single_64.dgo_solve_with_mat_s(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, status::Ptr{Int64}, - n::Int64, x::Ptr{Float32}, - g::Ptr{Float32}, ne::Int64, - eval_f::Ptr{Cvoid}, eval_g::Ptr{Cvoid}, - eval_h::Ptr{Cvoid}, - eval_hprod::Ptr{Cvoid}, - eval_prec::Ptr{Cvoid})::Cvoid + @ccall libgalahad_single_64.dgo_solve_with_mat_s_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + x::Ptr{Float32}, g::Ptr{Float32}, + ne::Int64, eval_f::Ptr{Cvoid}, + eval_g::Ptr{Cvoid}, + eval_h::Ptr{Cvoid}, + eval_hprod::Ptr{Cvoid}, + eval_prec::Ptr{Cvoid})::Cvoid end function dgo_solve_with_mat(::Type{Float64}, ::Type{Int32}, data, userdata, status, n, x, g, @@ -276,13 +283,14 @@ end function dgo_solve_with_mat(::Type{Float64}, ::Type{Int64}, data, userdata, status, n, x, g, ne, eval_f, eval_g, eval_h, eval_hprod, eval_prec) - @ccall libgalahad_double_64.dgo_solve_with_mat(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, status::Ptr{Int64}, - n::Int64, x::Ptr{Float64}, g::Ptr{Float64}, - ne::Int64, eval_f::Ptr{Cvoid}, - eval_g::Ptr{Cvoid}, eval_h::Ptr{Cvoid}, - eval_hprod::Ptr{Cvoid}, - eval_prec::Ptr{Cvoid})::Cvoid + @ccall libgalahad_double_64.dgo_solve_with_mat_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + x::Ptr{Float64}, g::Ptr{Float64}, + ne::Int64, eval_f::Ptr{Cvoid}, + eval_g::Ptr{Cvoid}, eval_h::Ptr{Cvoid}, + eval_hprod::Ptr{Cvoid}, + eval_prec::Ptr{Cvoid})::Cvoid end function dgo_solve_with_mat(::Type{Float128}, ::Type{Int32}, data, userdata, status, n, x, @@ -299,15 +307,15 @@ end function dgo_solve_with_mat(::Type{Float128}, ::Type{Int64}, data, userdata, status, n, x, g, ne, eval_f, eval_g, eval_h, eval_hprod, eval_prec) - @ccall libgalahad_quadruple_64.dgo_solve_with_mat_q(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, - status::Ptr{Int64}, n::Int64, - x::Ptr{Float128}, g::Ptr{Float128}, - ne::Int64, eval_f::Ptr{Cvoid}, - eval_g::Ptr{Cvoid}, - eval_h::Ptr{Cvoid}, - eval_hprod::Ptr{Cvoid}, - eval_prec::Ptr{Cvoid})::Cvoid + @ccall libgalahad_quadruple_64.dgo_solve_with_mat_q_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + x::Ptr{Float128}, g::Ptr{Float128}, + ne::Int64, eval_f::Ptr{Cvoid}, + eval_g::Ptr{Cvoid}, + eval_h::Ptr{Cvoid}, + eval_hprod::Ptr{Cvoid}, + eval_prec::Ptr{Cvoid})::Cvoid end export dgo_solve_without_mat @@ -326,15 +334,15 @@ end function dgo_solve_without_mat(::Type{Float32}, ::Type{Int64}, data, userdata, status, n, x, g, eval_f, eval_g, eval_hprod, eval_shprod, eval_prec) - @ccall libgalahad_single_64.dgo_solve_without_mat_s(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, - status::Ptr{Int64}, n::Int64, - x::Ptr{Float32}, g::Ptr{Float32}, - eval_f::Ptr{Cvoid}, - eval_g::Ptr{Cvoid}, - eval_hprod::Ptr{Cvoid}, - eval_shprod::Ptr{Cvoid}, - eval_prec::Ptr{Cvoid})::Cvoid + @ccall libgalahad_single_64.dgo_solve_without_mat_s_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + x::Ptr{Float32}, g::Ptr{Float32}, + eval_f::Ptr{Cvoid}, + eval_g::Ptr{Cvoid}, + eval_hprod::Ptr{Cvoid}, + eval_shprod::Ptr{Cvoid}, + eval_prec::Ptr{Cvoid})::Cvoid end function dgo_solve_without_mat(::Type{Float64}, ::Type{Int32}, data, userdata, status, n, x, @@ -350,14 +358,15 @@ end function dgo_solve_without_mat(::Type{Float64}, ::Type{Int64}, data, userdata, status, n, x, g, eval_f, eval_g, eval_hprod, eval_shprod, eval_prec) - @ccall libgalahad_double_64.dgo_solve_without_mat(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, - status::Ptr{Int64}, n::Int64, - x::Ptr{Float64}, g::Ptr{Float64}, - eval_f::Ptr{Cvoid}, eval_g::Ptr{Cvoid}, - eval_hprod::Ptr{Cvoid}, - eval_shprod::Ptr{Cvoid}, - eval_prec::Ptr{Cvoid})::Cvoid + @ccall libgalahad_double_64.dgo_solve_without_mat_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + x::Ptr{Float64}, g::Ptr{Float64}, + eval_f::Ptr{Cvoid}, + eval_g::Ptr{Cvoid}, + eval_hprod::Ptr{Cvoid}, + eval_shprod::Ptr{Cvoid}, + eval_prec::Ptr{Cvoid})::Cvoid end function dgo_solve_without_mat(::Type{Float128}, ::Type{Int32}, data, userdata, status, n, @@ -375,15 +384,16 @@ end function dgo_solve_without_mat(::Type{Float128}, ::Type{Int64}, data, userdata, status, n, x, g, eval_f, eval_g, eval_hprod, eval_shprod, eval_prec) - @ccall libgalahad_quadruple_64.dgo_solve_without_mat_q(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, - status::Ptr{Int64}, n::Int64, - x::Ptr{Float128}, g::Ptr{Float128}, - eval_f::Ptr{Cvoid}, - eval_g::Ptr{Cvoid}, - eval_hprod::Ptr{Cvoid}, - eval_shprod::Ptr{Cvoid}, - eval_prec::Ptr{Cvoid})::Cvoid + @ccall libgalahad_quadruple_64.dgo_solve_without_mat_q_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + x::Ptr{Float128}, + g::Ptr{Float128}, + eval_f::Ptr{Cvoid}, + eval_g::Ptr{Cvoid}, + eval_hprod::Ptr{Cvoid}, + eval_shprod::Ptr{Cvoid}, + eval_prec::Ptr{Cvoid})::Cvoid end export dgo_solve_reverse_with_mat @@ -402,14 +412,15 @@ end function dgo_solve_reverse_with_mat(::Type{Float32}, ::Type{Int64}, data, status, eval_status, n, x, f, g, ne, H_val, u, v) - @ccall libgalahad_single_64.dgo_solve_reverse_with_mat_s(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, - n::Int64, x::Ptr{Float32}, - f::Float32, g::Ptr{Float32}, - ne::Int64, H_val::Ptr{Float32}, - u::Ptr{Float32}, - v::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.dgo_solve_reverse_with_mat_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, x::Ptr{Float32}, + f::Float32, g::Ptr{Float32}, + ne::Int64, + H_val::Ptr{Float32}, + u::Ptr{Float32}, + v::Ptr{Float32})::Cvoid end function dgo_solve_reverse_with_mat(::Type{Float64}, ::Type{Int32}, data, status, @@ -425,14 +436,14 @@ end function dgo_solve_reverse_with_mat(::Type{Float64}, ::Type{Int64}, data, status, eval_status, n, x, f, g, ne, H_val, u, v) - @ccall libgalahad_double_64.dgo_solve_reverse_with_mat(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, n::Int64, - x::Ptr{Float64}, f::Float64, - g::Ptr{Float64}, ne::Int64, - H_val::Ptr{Float64}, - u::Ptr{Float64}, - v::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.dgo_solve_reverse_with_mat_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, x::Ptr{Float64}, + f::Float64, g::Ptr{Float64}, + ne::Int64, H_val::Ptr{Float64}, + u::Ptr{Float64}, + v::Ptr{Float64})::Cvoid end function dgo_solve_reverse_with_mat(::Type{Float128}, ::Type{Int32}, data, status, @@ -449,15 +460,16 @@ end function dgo_solve_reverse_with_mat(::Type{Float128}, ::Type{Int64}, data, status, eval_status, n, x, f, g, ne, H_val, u, v) - @ccall libgalahad_quadruple_64.dgo_solve_reverse_with_mat_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, - n::Int64, x::Ptr{Float128}, - f::Cfloat128, - g::Ptr{Float128}, ne::Int64, - H_val::Ptr{Float128}, - u::Ptr{Float128}, - v::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.dgo_solve_reverse_with_mat_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, x::Ptr{Float128}, + f::Cfloat128, + g::Ptr{Float128}, + ne::Int64, + H_val::Ptr{Float128}, + u::Ptr{Float128}, + v::Ptr{Float128})::Cvoid end export dgo_solve_reverse_without_mat @@ -480,17 +492,18 @@ end function dgo_solve_reverse_without_mat(::Type{Float32}, ::Type{Int64}, data, status, eval_status, n, x, f, g, u, v, index_nz_v, nnz_v, index_nz_u, nnz_u) - @ccall libgalahad_single_64.dgo_solve_reverse_without_mat_s(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, - n::Int64, x::Ptr{Float32}, - f::Float32, g::Ptr{Float32}, - u::Ptr{Float32}, - v::Ptr{Float32}, - index_nz_v::Ptr{Int64}, - nnz_v::Ptr{Int64}, - index_nz_u::Ptr{Int64}, - nnz_u::Int64)::Cvoid + @ccall libgalahad_single_64.dgo_solve_reverse_without_mat_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, x::Ptr{Float32}, + f::Float32, + g::Ptr{Float32}, + u::Ptr{Float32}, + v::Ptr{Float32}, + index_nz_v::Ptr{Int64}, + nnz_v::Ptr{Int64}, + index_nz_u::Ptr{Int64}, + nnz_u::Int64)::Cvoid end function dgo_solve_reverse_without_mat(::Type{Float64}, ::Type{Int32}, data, status, @@ -511,17 +524,17 @@ end function dgo_solve_reverse_without_mat(::Type{Float64}, ::Type{Int64}, data, status, eval_status, n, x, f, g, u, v, index_nz_v, nnz_v, index_nz_u, nnz_u) - @ccall libgalahad_double_64.dgo_solve_reverse_without_mat(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, - n::Int64, x::Ptr{Float64}, - f::Float64, g::Ptr{Float64}, - u::Ptr{Float64}, - v::Ptr{Float64}, - index_nz_v::Ptr{Int64}, - nnz_v::Ptr{Int64}, - index_nz_u::Ptr{Int64}, - nnz_u::Int64)::Cvoid + @ccall libgalahad_double_64.dgo_solve_reverse_without_mat_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, x::Ptr{Float64}, + f::Float64, g::Ptr{Float64}, + u::Ptr{Float64}, + v::Ptr{Float64}, + index_nz_v::Ptr{Int64}, + nnz_v::Ptr{Int64}, + index_nz_u::Ptr{Int64}, + nnz_u::Int64)::Cvoid end function dgo_solve_reverse_without_mat(::Type{Float128}, ::Type{Int32}, data, status, @@ -544,18 +557,19 @@ end function dgo_solve_reverse_without_mat(::Type{Float128}, ::Type{Int64}, data, status, eval_status, n, x, f, g, u, v, index_nz_v, nnz_v, index_nz_u, nnz_u) - @ccall libgalahad_quadruple_64.dgo_solve_reverse_without_mat_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, - n::Int64, x::Ptr{Float128}, - f::Cfloat128, - g::Ptr{Float128}, - u::Ptr{Float128}, - v::Ptr{Float128}, - index_nz_v::Ptr{Int64}, - nnz_v::Ptr{Int64}, - index_nz_u::Ptr{Int64}, - nnz_u::Int64)::Cvoid + @ccall libgalahad_quadruple_64.dgo_solve_reverse_without_mat_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, + x::Ptr{Float128}, + f::Cfloat128, + g::Ptr{Float128}, + u::Ptr{Float128}, + v::Ptr{Float128}, + index_nz_v::Ptr{Int64}, + nnz_v::Ptr{Int64}, + index_nz_u::Ptr{Int64}, + nnz_u::Int64)::Cvoid end export dgo_information @@ -567,9 +581,10 @@ function dgo_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function dgo_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.dgo_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{dgo_inform_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.dgo_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{dgo_inform_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function dgo_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -579,9 +594,9 @@ function dgo_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function dgo_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.dgo_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{dgo_inform_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.dgo_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{dgo_inform_type{Float64,Int64}}, + status::Ptr{Int64})::Cvoid end function dgo_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -591,10 +606,10 @@ function dgo_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function dgo_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.dgo_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{dgo_inform_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.dgo_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{dgo_inform_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export dgo_terminate @@ -606,9 +621,10 @@ function dgo_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function dgo_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.dgo_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{dgo_control_type{Float32,Int64}}, - inform::Ptr{dgo_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.dgo_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{dgo_control_type{Float32, + Int64}}, + inform::Ptr{dgo_inform_type{Float32,Int64}})::Cvoid end function dgo_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -618,9 +634,9 @@ function dgo_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function dgo_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.dgo_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{dgo_control_type{Float64,Int64}}, - inform::Ptr{dgo_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.dgo_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{dgo_control_type{Float64,Int64}}, + inform::Ptr{dgo_inform_type{Float64,Int64}})::Cvoid end function dgo_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -630,9 +646,9 @@ function dgo_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function dgo_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.dgo_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{dgo_control_type{Float128, - Int64}}, - inform::Ptr{dgo_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.dgo_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{dgo_control_type{Float128, + Int64}}, + inform::Ptr{dgo_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/dps.jl b/GALAHAD.jl/src/wrappers/dps.jl index abd07b9bb4..ca4035e000 100644 --- a/GALAHAD.jl/src/wrappers/dps.jl +++ b/GALAHAD.jl/src/wrappers/dps.jl @@ -62,9 +62,10 @@ function dps_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function dps_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.dps_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{dps_control_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.dps_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{dps_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function dps_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -74,9 +75,10 @@ function dps_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function dps_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.dps_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{dps_control_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.dps_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{dps_control_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function dps_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -87,10 +89,10 @@ function dps_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) end function dps_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.dps_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{dps_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.dps_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{dps_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export dps_read_specfile @@ -101,9 +103,9 @@ function dps_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfile) end function dps_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.dps_read_specfile_s(control::Ptr{dps_control_type{Float32, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.dps_read_specfile_s_64(control::Ptr{dps_control_type{Float32, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function dps_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -112,9 +114,9 @@ function dps_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) end function dps_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.dps_read_specfile(control::Ptr{dps_control_type{Float64, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.dps_read_specfile_64(control::Ptr{dps_control_type{Float64, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function dps_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -124,9 +126,9 @@ function dps_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) end function dps_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.dps_read_specfile_q(control::Ptr{dps_control_type{Float128, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.dps_read_specfile_q_64(control::Ptr{dps_control_type{Float128, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end export dps_import @@ -141,11 +143,11 @@ end function dps_import(::Type{Float32}, ::Type{Int64}, control, data, status, n, H_type, ne, H_row, H_col, H_ptr) - @ccall libgalahad_single_64.dps_import_s(control::Ptr{dps_control_type{Float32,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, H_type::Ptr{Cchar}, ne::Int64, - H_row::Ptr{Int64}, H_col::Ptr{Int64}, - H_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.dps_import_s_64(control::Ptr{dps_control_type{Float32,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, H_type::Ptr{Cchar}, ne::Int64, + H_row::Ptr{Int64}, H_col::Ptr{Int64}, + H_ptr::Ptr{Int64})::Cvoid end function dps_import(::Type{Float64}, ::Type{Int32}, control, data, status, n, H_type, ne, @@ -158,11 +160,11 @@ end function dps_import(::Type{Float64}, ::Type{Int64}, control, data, status, n, H_type, ne, H_row, H_col, H_ptr) - @ccall libgalahad_double_64.dps_import(control::Ptr{dps_control_type{Float64,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, H_type::Ptr{Cchar}, ne::Int64, - H_row::Ptr{Int64}, H_col::Ptr{Int64}, - H_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.dps_import_64(control::Ptr{dps_control_type{Float64,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, H_type::Ptr{Cchar}, ne::Int64, + H_row::Ptr{Int64}, H_col::Ptr{Int64}, + H_ptr::Ptr{Int64})::Cvoid end function dps_import(::Type{Float128}, ::Type{Int32}, control, data, status, n, H_type, ne, @@ -176,11 +178,12 @@ end function dps_import(::Type{Float128}, ::Type{Int64}, control, data, status, n, H_type, ne, H_row, H_col, H_ptr) - @ccall libgalahad_quadruple_64.dps_import_q(control::Ptr{dps_control_type{Float128,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, H_type::Ptr{Cchar}, ne::Int64, - H_row::Ptr{Int64}, H_col::Ptr{Int64}, - H_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.dps_import_q_64(control::Ptr{dps_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, H_type::Ptr{Cchar}, ne::Int64, + H_row::Ptr{Int64}, H_col::Ptr{Int64}, + H_ptr::Ptr{Int64})::Cvoid end export dps_reset_control @@ -192,10 +195,10 @@ function dps_reset_control(::Type{Float32}, ::Type{Int32}, control, data, status end function dps_reset_control(::Type{Float32}, ::Type{Int64}, control, data, status) - @ccall libgalahad_single_64.dps_reset_control_s(control::Ptr{dps_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.dps_reset_control_s_64(control::Ptr{dps_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function dps_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status) @@ -205,10 +208,10 @@ function dps_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status end function dps_reset_control(::Type{Float64}, ::Type{Int64}, control, data, status) - @ccall libgalahad_double_64.dps_reset_control(control::Ptr{dps_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.dps_reset_control_64(control::Ptr{dps_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function dps_reset_control(::Type{Float128}, ::Type{Int32}, control, data, status) @@ -219,10 +222,10 @@ function dps_reset_control(::Type{Float128}, ::Type{Int32}, control, data, statu end function dps_reset_control(::Type{Float128}, ::Type{Int64}, control, data, status) - @ccall libgalahad_quadruple_64.dps_reset_control_q(control::Ptr{dps_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.dps_reset_control_q_64(control::Ptr{dps_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end export dps_solve_tr_problem @@ -237,12 +240,12 @@ end function dps_solve_tr_problem(::Type{Float32}, ::Type{Int64}, data, status, n, ne, H_val, c, f, radius, x) - @ccall libgalahad_single_64.dps_solve_tr_problem_s(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - ne::Int64, H_val::Ptr{Float32}, - c::Ptr{Float32}, f::Float32, - radius::Float32, - x::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.dps_solve_tr_problem_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + ne::Int64, H_val::Ptr{Float32}, + c::Ptr{Float32}, f::Float32, + radius::Float32, + x::Ptr{Float32})::Cvoid end function dps_solve_tr_problem(::Type{Float64}, ::Type{Int32}, data, status, n, ne, H_val, c, @@ -255,11 +258,12 @@ end function dps_solve_tr_problem(::Type{Float64}, ::Type{Int64}, data, status, n, ne, H_val, c, f, radius, x) - @ccall libgalahad_double_64.dps_solve_tr_problem(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, ne::Int64, - H_val::Ptr{Float64}, c::Ptr{Float64}, - f::Float64, radius::Float64, - x::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.dps_solve_tr_problem_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + ne::Int64, H_val::Ptr{Float64}, + c::Ptr{Float64}, f::Float64, + radius::Float64, + x::Ptr{Float64})::Cvoid end function dps_solve_tr_problem(::Type{Float128}, ::Type{Int32}, data, status, n, ne, H_val, @@ -274,12 +278,12 @@ end function dps_solve_tr_problem(::Type{Float128}, ::Type{Int64}, data, status, n, ne, H_val, c, f, radius, x) - @ccall libgalahad_quadruple_64.dps_solve_tr_problem_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - ne::Int64, H_val::Ptr{Float128}, - c::Ptr{Float128}, f::Cfloat128, - radius::Cfloat128, - x::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.dps_solve_tr_problem_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + ne::Int64, H_val::Ptr{Float128}, + c::Ptr{Float128}, f::Cfloat128, + radius::Cfloat128, + x::Ptr{Float128})::Cvoid end export dps_solve_rq_problem @@ -295,12 +299,12 @@ end function dps_solve_rq_problem(::Type{Float32}, ::Type{Int64}, data, status, n, ne, H_val, c, f, power, weight, x) - @ccall libgalahad_single_64.dps_solve_rq_problem_s(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - ne::Int64, H_val::Ptr{Float32}, - c::Ptr{Float32}, f::Float32, - power::Float32, weight::Float32, - x::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.dps_solve_rq_problem_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + ne::Int64, H_val::Ptr{Float32}, + c::Ptr{Float32}, f::Float32, + power::Float32, weight::Float32, + x::Ptr{Float32})::Cvoid end function dps_solve_rq_problem(::Type{Float64}, ::Type{Int32}, data, status, n, ne, H_val, c, @@ -313,11 +317,12 @@ end function dps_solve_rq_problem(::Type{Float64}, ::Type{Int64}, data, status, n, ne, H_val, c, f, power, weight, x) - @ccall libgalahad_double_64.dps_solve_rq_problem(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, ne::Int64, - H_val::Ptr{Float64}, c::Ptr{Float64}, - f::Float64, power::Float64, - weight::Float64, x::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.dps_solve_rq_problem_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + ne::Int64, H_val::Ptr{Float64}, + c::Ptr{Float64}, f::Float64, + power::Float64, weight::Float64, + x::Ptr{Float64})::Cvoid end function dps_solve_rq_problem(::Type{Float128}, ::Type{Int32}, data, status, n, ne, H_val, @@ -332,12 +337,13 @@ end function dps_solve_rq_problem(::Type{Float128}, ::Type{Int64}, data, status, n, ne, H_val, c, f, power, weight, x) - @ccall libgalahad_quadruple_64.dps_solve_rq_problem_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - ne::Int64, H_val::Ptr{Float128}, - c::Ptr{Float128}, f::Cfloat128, - power::Cfloat128, weight::Cfloat128, - x::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.dps_solve_rq_problem_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + ne::Int64, H_val::Ptr{Float128}, + c::Ptr{Float128}, f::Cfloat128, + power::Cfloat128, + weight::Cfloat128, + x::Ptr{Float128})::Cvoid end export dps_resolve_tr_problem @@ -352,11 +358,11 @@ end function dps_resolve_tr_problem(::Type{Float32}, ::Type{Int64}, data, status, n, c, f, radius, x) - @ccall libgalahad_single_64.dps_resolve_tr_problem_s(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - c::Ptr{Float32}, f::Float32, - radius::Float32, - x::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.dps_resolve_tr_problem_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + c::Ptr{Float32}, f::Float32, + radius::Float32, + x::Ptr{Float32})::Cvoid end function dps_resolve_tr_problem(::Type{Float64}, ::Type{Int32}, data, status, n, c, f, @@ -368,11 +374,11 @@ end function dps_resolve_tr_problem(::Type{Float64}, ::Type{Int64}, data, status, n, c, f, radius, x) - @ccall libgalahad_double_64.dps_resolve_tr_problem(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - c::Ptr{Float64}, f::Float64, - radius::Float64, - x::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.dps_resolve_tr_problem_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + c::Ptr{Float64}, f::Float64, + radius::Float64, + x::Ptr{Float64})::Cvoid end function dps_resolve_tr_problem(::Type{Float128}, ::Type{Int32}, data, status, n, c, f, @@ -386,11 +392,11 @@ end function dps_resolve_tr_problem(::Type{Float128}, ::Type{Int64}, data, status, n, c, f, radius, x) - @ccall libgalahad_quadruple_64.dps_resolve_tr_problem_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - c::Ptr{Float128}, f::Cfloat128, - radius::Cfloat128, - x::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.dps_resolve_tr_problem_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + c::Ptr{Float128}, f::Cfloat128, + radius::Cfloat128, + x::Ptr{Float128})::Cvoid end export dps_resolve_rq_problem @@ -406,11 +412,11 @@ end function dps_resolve_rq_problem(::Type{Float32}, ::Type{Int64}, data, status, n, c, f, power, weight, x) - @ccall libgalahad_single_64.dps_resolve_rq_problem_s(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - c::Ptr{Float32}, f::Float32, - power::Float32, weight::Float32, - x::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.dps_resolve_rq_problem_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + c::Ptr{Float32}, f::Float32, + power::Float32, weight::Float32, + x::Ptr{Float32})::Cvoid end function dps_resolve_rq_problem(::Type{Float64}, ::Type{Int32}, data, status, n, c, f, @@ -423,11 +429,11 @@ end function dps_resolve_rq_problem(::Type{Float64}, ::Type{Int64}, data, status, n, c, f, power, weight, x) - @ccall libgalahad_double_64.dps_resolve_rq_problem(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - c::Ptr{Float64}, f::Float64, - power::Float64, weight::Float64, - x::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.dps_resolve_rq_problem_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + c::Ptr{Float64}, f::Float64, + power::Float64, weight::Float64, + x::Ptr{Float64})::Cvoid end function dps_resolve_rq_problem(::Type{Float128}, ::Type{Int32}, data, status, n, c, f, @@ -441,12 +447,12 @@ end function dps_resolve_rq_problem(::Type{Float128}, ::Type{Int64}, data, status, n, c, f, power, weight, x) - @ccall libgalahad_quadruple_64.dps_resolve_rq_problem_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - c::Ptr{Float128}, f::Cfloat128, - power::Cfloat128, - weight::Cfloat128, - x::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.dps_resolve_rq_problem_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + c::Ptr{Float128}, f::Cfloat128, + power::Cfloat128, + weight::Cfloat128, + x::Ptr{Float128})::Cvoid end export dps_information @@ -458,9 +464,10 @@ function dps_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function dps_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.dps_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{dps_inform_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.dps_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{dps_inform_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function dps_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -470,9 +477,9 @@ function dps_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function dps_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.dps_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{dps_inform_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.dps_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{dps_inform_type{Float64,Int64}}, + status::Ptr{Int64})::Cvoid end function dps_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -482,10 +489,10 @@ function dps_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function dps_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.dps_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{dps_inform_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.dps_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{dps_inform_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export dps_terminate @@ -497,9 +504,10 @@ function dps_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function dps_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.dps_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{dps_control_type{Float32,Int64}}, - inform::Ptr{dps_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.dps_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{dps_control_type{Float32, + Int64}}, + inform::Ptr{dps_inform_type{Float32,Int64}})::Cvoid end function dps_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -509,9 +517,9 @@ function dps_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function dps_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.dps_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{dps_control_type{Float64,Int64}}, - inform::Ptr{dps_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.dps_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{dps_control_type{Float64,Int64}}, + inform::Ptr{dps_inform_type{Float64,Int64}})::Cvoid end function dps_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -521,9 +529,9 @@ function dps_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function dps_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.dps_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{dps_control_type{Float128, - Int64}}, - inform::Ptr{dps_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.dps_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{dps_control_type{Float128, + Int64}}, + inform::Ptr{dps_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/dqp.jl b/GALAHAD.jl/src/wrappers/dqp.jl index 65eea3d98b..1253ad716b 100644 --- a/GALAHAD.jl/src/wrappers/dqp.jl +++ b/GALAHAD.jl/src/wrappers/dqp.jl @@ -118,9 +118,10 @@ function dqp_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function dqp_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.dqp_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{dqp_control_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.dqp_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{dqp_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function dqp_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -130,9 +131,10 @@ function dqp_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function dqp_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.dqp_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{dqp_control_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.dqp_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{dqp_control_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function dqp_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -143,10 +145,10 @@ function dqp_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) end function dqp_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.dqp_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{dqp_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.dqp_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{dqp_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export dqp_read_specfile @@ -157,9 +159,9 @@ function dqp_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfile) end function dqp_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.dqp_read_specfile_s(control::Ptr{dqp_control_type{Float32, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.dqp_read_specfile_s_64(control::Ptr{dqp_control_type{Float32, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function dqp_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -168,9 +170,9 @@ function dqp_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) end function dqp_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.dqp_read_specfile(control::Ptr{dqp_control_type{Float64, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.dqp_read_specfile_64(control::Ptr{dqp_control_type{Float64, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function dqp_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -180,9 +182,9 @@ function dqp_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) end function dqp_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.dqp_read_specfile_q(control::Ptr{dqp_control_type{Float128, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.dqp_read_specfile_q_64(control::Ptr{dqp_control_type{Float128, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end export dqp_import @@ -200,14 +202,14 @@ end function dqp_import(::Type{Float32}, ::Type{Int64}, control, data, status, n, m, H_type, H_ne, H_row, H_col, H_ptr, A_type, A_ne, A_row, A_col, A_ptr) - @ccall libgalahad_single_64.dqp_import_s(control::Ptr{dqp_control_type{Float32,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, H_type::Ptr{Cchar}, - H_ne::Int64, H_row::Ptr{Int64}, - H_col::Ptr{Int64}, H_ptr::Ptr{Int64}, - A_type::Ptr{Cchar}, A_ne::Int64, - A_row::Ptr{Int64}, A_col::Ptr{Int64}, - A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.dqp_import_s_64(control::Ptr{dqp_control_type{Float32,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, H_type::Ptr{Cchar}, + H_ne::Int64, H_row::Ptr{Int64}, + H_col::Ptr{Int64}, H_ptr::Ptr{Int64}, + A_type::Ptr{Cchar}, A_ne::Int64, + A_row::Ptr{Int64}, A_col::Ptr{Int64}, + A_ptr::Ptr{Int64})::Cvoid end function dqp_import(::Type{Float64}, ::Type{Int32}, control, data, status, n, m, H_type, @@ -223,13 +225,14 @@ end function dqp_import(::Type{Float64}, ::Type{Int64}, control, data, status, n, m, H_type, H_ne, H_row, H_col, H_ptr, A_type, A_ne, A_row, A_col, A_ptr) - @ccall libgalahad_double_64.dqp_import(control::Ptr{dqp_control_type{Float64,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, H_type::Ptr{Cchar}, - H_ne::Int64, H_row::Ptr{Int64}, H_col::Ptr{Int64}, - H_ptr::Ptr{Int64}, A_type::Ptr{Cchar}, A_ne::Int64, - A_row::Ptr{Int64}, A_col::Ptr{Int64}, - A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.dqp_import_64(control::Ptr{dqp_control_type{Float64,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, H_type::Ptr{Cchar}, + H_ne::Int64, H_row::Ptr{Int64}, + H_col::Ptr{Int64}, H_ptr::Ptr{Int64}, + A_type::Ptr{Cchar}, A_ne::Int64, + A_row::Ptr{Int64}, A_col::Ptr{Int64}, + A_ptr::Ptr{Int64})::Cvoid end function dqp_import(::Type{Float128}, ::Type{Int32}, control, data, status, n, m, H_type, @@ -246,14 +249,15 @@ end function dqp_import(::Type{Float128}, ::Type{Int64}, control, data, status, n, m, H_type, H_ne, H_row, H_col, H_ptr, A_type, A_ne, A_row, A_col, A_ptr) - @ccall libgalahad_quadruple_64.dqp_import_q(control::Ptr{dqp_control_type{Float128,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, H_type::Ptr{Cchar}, - H_ne::Int64, H_row::Ptr{Int64}, - H_col::Ptr{Int64}, H_ptr::Ptr{Int64}, - A_type::Ptr{Cchar}, A_ne::Int64, - A_row::Ptr{Int64}, A_col::Ptr{Int64}, - A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.dqp_import_q_64(control::Ptr{dqp_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, H_type::Ptr{Cchar}, + H_ne::Int64, H_row::Ptr{Int64}, + H_col::Ptr{Int64}, H_ptr::Ptr{Int64}, + A_type::Ptr{Cchar}, A_ne::Int64, + A_row::Ptr{Int64}, A_col::Ptr{Int64}, + A_ptr::Ptr{Int64})::Cvoid end export dqp_reset_control @@ -265,10 +269,10 @@ function dqp_reset_control(::Type{Float32}, ::Type{Int32}, control, data, status end function dqp_reset_control(::Type{Float32}, ::Type{Int64}, control, data, status) - @ccall libgalahad_single_64.dqp_reset_control_s(control::Ptr{dqp_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.dqp_reset_control_s_64(control::Ptr{dqp_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function dqp_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status) @@ -278,10 +282,10 @@ function dqp_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status end function dqp_reset_control(::Type{Float64}, ::Type{Int64}, control, data, status) - @ccall libgalahad_double_64.dqp_reset_control(control::Ptr{dqp_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.dqp_reset_control_64(control::Ptr{dqp_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function dqp_reset_control(::Type{Float128}, ::Type{Int32}, control, data, status) @@ -292,10 +296,10 @@ function dqp_reset_control(::Type{Float128}, ::Type{Int32}, control, data, statu end function dqp_reset_control(::Type{Float128}, ::Type{Int64}, control, data, status) - @ccall libgalahad_quadruple_64.dqp_reset_control_q(control::Ptr{dqp_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.dqp_reset_control_q_64(control::Ptr{dqp_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end export dqp_solve_qp @@ -315,15 +319,16 @@ end function dqp_solve_qp(::Type{Float32}, ::Type{Int64}, data, status, n, m, h_ne, H_val, g, f, a_ne, A_val, c_l, c_u, x_l, x_u, x, c, y, z, x_stat, c_stat) - @ccall libgalahad_single_64.dqp_solve_qp_s(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, h_ne::Int64, - H_val::Ptr{Float32}, g::Ptr{Float32}, - f::Float32, a_ne::Int64, A_val::Ptr{Float32}, - c_l::Ptr{Float32}, c_u::Ptr{Float32}, - x_l::Ptr{Float32}, x_u::Ptr{Float32}, - x::Ptr{Float32}, c::Ptr{Float32}, - y::Ptr{Float32}, z::Ptr{Float32}, - x_stat::Ptr{Int64}, c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.dqp_solve_qp_s_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, h_ne::Int64, + H_val::Ptr{Float32}, g::Ptr{Float32}, + f::Float32, a_ne::Int64, + A_val::Ptr{Float32}, c_l::Ptr{Float32}, + c_u::Ptr{Float32}, x_l::Ptr{Float32}, + x_u::Ptr{Float32}, x::Ptr{Float32}, + c::Ptr{Float32}, y::Ptr{Float32}, + z::Ptr{Float32}, x_stat::Ptr{Int64}, + c_stat::Ptr{Int64})::Cvoid end function dqp_solve_qp(::Type{Float64}, ::Type{Int32}, data, status, n, m, h_ne, H_val, g, f, @@ -340,15 +345,15 @@ end function dqp_solve_qp(::Type{Float64}, ::Type{Int64}, data, status, n, m, h_ne, H_val, g, f, a_ne, A_val, c_l, c_u, x_l, x_u, x, c, y, z, x_stat, c_stat) - @ccall libgalahad_double_64.dqp_solve_qp(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, h_ne::Int64, - H_val::Ptr{Float64}, g::Ptr{Float64}, f::Float64, - a_ne::Int64, A_val::Ptr{Float64}, - c_l::Ptr{Float64}, c_u::Ptr{Float64}, - x_l::Ptr{Float64}, x_u::Ptr{Float64}, - x::Ptr{Float64}, c::Ptr{Float64}, - y::Ptr{Float64}, z::Ptr{Float64}, - x_stat::Ptr{Int64}, c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.dqp_solve_qp_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, h_ne::Int64, + H_val::Ptr{Float64}, g::Ptr{Float64}, + f::Float64, a_ne::Int64, A_val::Ptr{Float64}, + c_l::Ptr{Float64}, c_u::Ptr{Float64}, + x_l::Ptr{Float64}, x_u::Ptr{Float64}, + x::Ptr{Float64}, c::Ptr{Float64}, + y::Ptr{Float64}, z::Ptr{Float64}, + x_stat::Ptr{Int64}, c_stat::Ptr{Int64})::Cvoid end function dqp_solve_qp(::Type{Float128}, ::Type{Int32}, data, status, n, m, h_ne, H_val, g, @@ -367,16 +372,17 @@ end function dqp_solve_qp(::Type{Float128}, ::Type{Int64}, data, status, n, m, h_ne, H_val, g, f, a_ne, A_val, c_l, c_u, x_l, x_u, x, c, y, z, x_stat, c_stat) - @ccall libgalahad_quadruple_64.dqp_solve_qp_q(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, h_ne::Int64, - H_val::Ptr{Float128}, g::Ptr{Float128}, - f::Cfloat128, a_ne::Int64, - A_val::Ptr{Float128}, c_l::Ptr{Float128}, - c_u::Ptr{Float128}, x_l::Ptr{Float128}, - x_u::Ptr{Float128}, x::Ptr{Float128}, - c::Ptr{Float128}, y::Ptr{Float128}, - z::Ptr{Float128}, x_stat::Ptr{Int64}, - c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.dqp_solve_qp_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, m::Int64, + h_ne::Int64, H_val::Ptr{Float128}, + g::Ptr{Float128}, f::Cfloat128, + a_ne::Int64, A_val::Ptr{Float128}, + c_l::Ptr{Float128}, c_u::Ptr{Float128}, + x_l::Ptr{Float128}, x_u::Ptr{Float128}, + x::Ptr{Float128}, c::Ptr{Float128}, + y::Ptr{Float128}, z::Ptr{Float128}, + x_stat::Ptr{Int64}, + c_stat::Ptr{Int64})::Cvoid end export dqp_solve_sldqp @@ -396,16 +402,16 @@ end function dqp_solve_sldqp(::Type{Float32}, ::Type{Int64}, data, status, n, m, w, x0, g, f, a_ne, A_val, c_l, c_u, x_l, x_u, x, c, y, z, x_stat, c_stat) - @ccall libgalahad_single_64.dqp_solve_sldqp_s(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, w::Ptr{Float32}, - x0::Ptr{Float32}, g::Ptr{Float32}, - f::Float32, a_ne::Int64, - A_val::Ptr{Float32}, c_l::Ptr{Float32}, - c_u::Ptr{Float32}, x_l::Ptr{Float32}, - x_u::Ptr{Float32}, x::Ptr{Float32}, - c::Ptr{Float32}, y::Ptr{Float32}, - z::Ptr{Float32}, x_stat::Ptr{Int64}, - c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.dqp_solve_sldqp_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, m::Int64, + w::Ptr{Float32}, x0::Ptr{Float32}, + g::Ptr{Float32}, f::Float32, a_ne::Int64, + A_val::Ptr{Float32}, c_l::Ptr{Float32}, + c_u::Ptr{Float32}, x_l::Ptr{Float32}, + x_u::Ptr{Float32}, x::Ptr{Float32}, + c::Ptr{Float32}, y::Ptr{Float32}, + z::Ptr{Float32}, x_stat::Ptr{Int64}, + c_stat::Ptr{Int64})::Cvoid end function dqp_solve_sldqp(::Type{Float64}, ::Type{Int32}, data, status, n, m, w, x0, g, f, @@ -423,15 +429,16 @@ end function dqp_solve_sldqp(::Type{Float64}, ::Type{Int64}, data, status, n, m, w, x0, g, f, a_ne, A_val, c_l, c_u, x_l, x_u, x, c, y, z, x_stat, c_stat) - @ccall libgalahad_double_64.dqp_solve_sldqp(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, w::Ptr{Float64}, - x0::Ptr{Float64}, g::Ptr{Float64}, f::Float64, - a_ne::Int64, A_val::Ptr{Float64}, - c_l::Ptr{Float64}, c_u::Ptr{Float64}, - x_l::Ptr{Float64}, x_u::Ptr{Float64}, - x::Ptr{Float64}, c::Ptr{Float64}, - y::Ptr{Float64}, z::Ptr{Float64}, - x_stat::Ptr{Int64}, c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.dqp_solve_sldqp_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, w::Ptr{Float64}, + x0::Ptr{Float64}, g::Ptr{Float64}, + f::Float64, a_ne::Int64, + A_val::Ptr{Float64}, c_l::Ptr{Float64}, + c_u::Ptr{Float64}, x_l::Ptr{Float64}, + x_u::Ptr{Float64}, x::Ptr{Float64}, + c::Ptr{Float64}, y::Ptr{Float64}, + z::Ptr{Float64}, x_stat::Ptr{Int64}, + c_stat::Ptr{Int64})::Cvoid end function dqp_solve_sldqp(::Type{Float128}, ::Type{Int32}, data, status, n, m, w, x0, g, f, @@ -450,17 +457,19 @@ end function dqp_solve_sldqp(::Type{Float128}, ::Type{Int64}, data, status, n, m, w, x0, g, f, a_ne, A_val, c_l, c_u, x_l, x_u, x, c, y, z, x_stat, c_stat) - @ccall libgalahad_quadruple_64.dqp_solve_sldqp_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, m::Int64, - w::Ptr{Float128}, x0::Ptr{Float128}, - g::Ptr{Float128}, f::Cfloat128, - a_ne::Int64, A_val::Ptr{Float128}, - c_l::Ptr{Float128}, c_u::Ptr{Float128}, - x_l::Ptr{Float128}, x_u::Ptr{Float128}, - x::Ptr{Float128}, c::Ptr{Float128}, - y::Ptr{Float128}, z::Ptr{Float128}, - x_stat::Ptr{Int64}, - c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.dqp_solve_sldqp_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + m::Int64, w::Ptr{Float128}, + x0::Ptr{Float128}, g::Ptr{Float128}, + f::Cfloat128, a_ne::Int64, + A_val::Ptr{Float128}, + c_l::Ptr{Float128}, + c_u::Ptr{Float128}, + x_l::Ptr{Float128}, + x_u::Ptr{Float128}, x::Ptr{Float128}, + c::Ptr{Float128}, y::Ptr{Float128}, + z::Ptr{Float128}, x_stat::Ptr{Int64}, + c_stat::Ptr{Int64})::Cvoid end export dqp_information @@ -472,9 +481,10 @@ function dqp_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function dqp_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.dqp_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{dqp_inform_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.dqp_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{dqp_inform_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function dqp_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -484,9 +494,9 @@ function dqp_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function dqp_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.dqp_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{dqp_inform_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.dqp_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{dqp_inform_type{Float64,Int64}}, + status::Ptr{Int64})::Cvoid end function dqp_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -496,10 +506,10 @@ function dqp_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function dqp_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.dqp_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{dqp_inform_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.dqp_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{dqp_inform_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export dqp_terminate @@ -511,9 +521,10 @@ function dqp_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function dqp_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.dqp_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{dqp_control_type{Float32,Int64}}, - inform::Ptr{dqp_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.dqp_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{dqp_control_type{Float32, + Int64}}, + inform::Ptr{dqp_inform_type{Float32,Int64}})::Cvoid end function dqp_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -523,9 +534,9 @@ function dqp_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function dqp_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.dqp_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{dqp_control_type{Float64,Int64}}, - inform::Ptr{dqp_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.dqp_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{dqp_control_type{Float64,Int64}}, + inform::Ptr{dqp_inform_type{Float64,Int64}})::Cvoid end function dqp_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -535,9 +546,9 @@ function dqp_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function dqp_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.dqp_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{dqp_control_type{Float128, - Int64}}, - inform::Ptr{dqp_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.dqp_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{dqp_control_type{Float128, + Int64}}, + inform::Ptr{dqp_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/eqp.jl b/GALAHAD.jl/src/wrappers/eqp.jl index 56606a845d..bb8abb32c3 100644 --- a/GALAHAD.jl/src/wrappers/eqp.jl +++ b/GALAHAD.jl/src/wrappers/eqp.jl @@ -80,9 +80,10 @@ function eqp_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function eqp_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.eqp_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{eqp_control_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.eqp_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{eqp_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function eqp_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -92,9 +93,10 @@ function eqp_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function eqp_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.eqp_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{eqp_control_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.eqp_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{eqp_control_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function eqp_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -105,10 +107,10 @@ function eqp_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) end function eqp_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.eqp_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{eqp_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.eqp_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{eqp_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export eqp_read_specfile @@ -119,9 +121,9 @@ function eqp_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfile) end function eqp_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.eqp_read_specfile_s(control::Ptr{eqp_control_type{Float32, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.eqp_read_specfile_s_64(control::Ptr{eqp_control_type{Float32, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function eqp_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -130,9 +132,9 @@ function eqp_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) end function eqp_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.eqp_read_specfile(control::Ptr{eqp_control_type{Float64, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.eqp_read_specfile_64(control::Ptr{eqp_control_type{Float64, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function eqp_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -142,9 +144,9 @@ function eqp_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) end function eqp_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.eqp_read_specfile_q(control::Ptr{eqp_control_type{Float128, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.eqp_read_specfile_q_64(control::Ptr{eqp_control_type{Float128, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end export eqp_import @@ -162,14 +164,14 @@ end function eqp_import(::Type{Float32}, ::Type{Int64}, control, data, status, n, m, H_type, H_ne, H_row, H_col, H_ptr, A_type, A_ne, A_row, A_col, A_ptr) - @ccall libgalahad_single_64.eqp_import_s(control::Ptr{eqp_control_type{Float32,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, H_type::Ptr{Cchar}, - H_ne::Int64, H_row::Ptr{Int64}, - H_col::Ptr{Int64}, H_ptr::Ptr{Int64}, - A_type::Ptr{Cchar}, A_ne::Int64, - A_row::Ptr{Int64}, A_col::Ptr{Int64}, - A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.eqp_import_s_64(control::Ptr{eqp_control_type{Float32,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, H_type::Ptr{Cchar}, + H_ne::Int64, H_row::Ptr{Int64}, + H_col::Ptr{Int64}, H_ptr::Ptr{Int64}, + A_type::Ptr{Cchar}, A_ne::Int64, + A_row::Ptr{Int64}, A_col::Ptr{Int64}, + A_ptr::Ptr{Int64})::Cvoid end function eqp_import(::Type{Float64}, ::Type{Int32}, control, data, status, n, m, H_type, @@ -185,13 +187,14 @@ end function eqp_import(::Type{Float64}, ::Type{Int64}, control, data, status, n, m, H_type, H_ne, H_row, H_col, H_ptr, A_type, A_ne, A_row, A_col, A_ptr) - @ccall libgalahad_double_64.eqp_import(control::Ptr{eqp_control_type{Float64,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, H_type::Ptr{Cchar}, - H_ne::Int64, H_row::Ptr{Int64}, H_col::Ptr{Int64}, - H_ptr::Ptr{Int64}, A_type::Ptr{Cchar}, A_ne::Int64, - A_row::Ptr{Int64}, A_col::Ptr{Int64}, - A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.eqp_import_64(control::Ptr{eqp_control_type{Float64,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, H_type::Ptr{Cchar}, + H_ne::Int64, H_row::Ptr{Int64}, + H_col::Ptr{Int64}, H_ptr::Ptr{Int64}, + A_type::Ptr{Cchar}, A_ne::Int64, + A_row::Ptr{Int64}, A_col::Ptr{Int64}, + A_ptr::Ptr{Int64})::Cvoid end function eqp_import(::Type{Float128}, ::Type{Int32}, control, data, status, n, m, H_type, @@ -208,14 +211,15 @@ end function eqp_import(::Type{Float128}, ::Type{Int64}, control, data, status, n, m, H_type, H_ne, H_row, H_col, H_ptr, A_type, A_ne, A_row, A_col, A_ptr) - @ccall libgalahad_quadruple_64.eqp_import_q(control::Ptr{eqp_control_type{Float128,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, H_type::Ptr{Cchar}, - H_ne::Int64, H_row::Ptr{Int64}, - H_col::Ptr{Int64}, H_ptr::Ptr{Int64}, - A_type::Ptr{Cchar}, A_ne::Int64, - A_row::Ptr{Int64}, A_col::Ptr{Int64}, - A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.eqp_import_q_64(control::Ptr{eqp_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, H_type::Ptr{Cchar}, + H_ne::Int64, H_row::Ptr{Int64}, + H_col::Ptr{Int64}, H_ptr::Ptr{Int64}, + A_type::Ptr{Cchar}, A_ne::Int64, + A_row::Ptr{Int64}, A_col::Ptr{Int64}, + A_ptr::Ptr{Int64})::Cvoid end export eqp_reset_control @@ -227,10 +231,10 @@ function eqp_reset_control(::Type{Float32}, ::Type{Int32}, control, data, status end function eqp_reset_control(::Type{Float32}, ::Type{Int64}, control, data, status) - @ccall libgalahad_single_64.eqp_reset_control_s(control::Ptr{eqp_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.eqp_reset_control_s_64(control::Ptr{eqp_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function eqp_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status) @@ -240,10 +244,10 @@ function eqp_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status end function eqp_reset_control(::Type{Float64}, ::Type{Int64}, control, data, status) - @ccall libgalahad_double_64.eqp_reset_control(control::Ptr{eqp_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.eqp_reset_control_64(control::Ptr{eqp_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function eqp_reset_control(::Type{Float128}, ::Type{Int32}, control, data, status) @@ -254,10 +258,10 @@ function eqp_reset_control(::Type{Float128}, ::Type{Int32}, control, data, statu end function eqp_reset_control(::Type{Float128}, ::Type{Int64}, control, data, status) - @ccall libgalahad_quadruple_64.eqp_reset_control_q(control::Ptr{eqp_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.eqp_reset_control_q_64(control::Ptr{eqp_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end export eqp_solve_qp @@ -273,12 +277,12 @@ end function eqp_solve_qp(::Type{Float32}, ::Type{Int64}, data, status, n, m, h_ne, H_val, g, f, a_ne, A_val, c, x, y) - @ccall libgalahad_single_64.eqp_solve_qp_s(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, h_ne::Int64, - H_val::Ptr{Float32}, g::Ptr{Float32}, - f::Float32, a_ne::Int64, A_val::Ptr{Float32}, - c::Ptr{Float32}, x::Ptr{Float32}, - y::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.eqp_solve_qp_s_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, h_ne::Int64, + H_val::Ptr{Float32}, g::Ptr{Float32}, + f::Float32, a_ne::Int64, + A_val::Ptr{Float32}, c::Ptr{Float32}, + x::Ptr{Float32}, y::Ptr{Float32})::Cvoid end function eqp_solve_qp(::Type{Float64}, ::Type{Int32}, data, status, n, m, h_ne, H_val, g, f, @@ -292,12 +296,12 @@ end function eqp_solve_qp(::Type{Float64}, ::Type{Int64}, data, status, n, m, h_ne, H_val, g, f, a_ne, A_val, c, x, y) - @ccall libgalahad_double_64.eqp_solve_qp(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, h_ne::Int64, - H_val::Ptr{Float64}, g::Ptr{Float64}, f::Float64, - a_ne::Int64, A_val::Ptr{Float64}, - c::Ptr{Float64}, x::Ptr{Float64}, - y::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.eqp_solve_qp_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, h_ne::Int64, + H_val::Ptr{Float64}, g::Ptr{Float64}, + f::Float64, a_ne::Int64, A_val::Ptr{Float64}, + c::Ptr{Float64}, x::Ptr{Float64}, + y::Ptr{Float64})::Cvoid end function eqp_solve_qp(::Type{Float128}, ::Type{Int32}, data, status, n, m, h_ne, H_val, g, @@ -312,12 +316,13 @@ end function eqp_solve_qp(::Type{Float128}, ::Type{Int64}, data, status, n, m, h_ne, H_val, g, f, a_ne, A_val, c, x, y) - @ccall libgalahad_quadruple_64.eqp_solve_qp_q(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, h_ne::Int64, - H_val::Ptr{Float128}, g::Ptr{Float128}, - f::Cfloat128, a_ne::Int64, - A_val::Ptr{Float128}, c::Ptr{Float128}, - x::Ptr{Float128}, y::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.eqp_solve_qp_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, m::Int64, + h_ne::Int64, H_val::Ptr{Float128}, + g::Ptr{Float128}, f::Cfloat128, + a_ne::Int64, A_val::Ptr{Float128}, + c::Ptr{Float128}, x::Ptr{Float128}, + y::Ptr{Float128})::Cvoid end export eqp_solve_sldqp @@ -334,12 +339,12 @@ end function eqp_solve_sldqp(::Type{Float32}, ::Type{Int64}, data, status, n, m, w, x0, g, f, a_ne, A_val, c, x, y) - @ccall libgalahad_single_64.eqp_solve_sldqp_s(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, w::Ptr{Float32}, - x0::Ptr{Float32}, g::Ptr{Float32}, - f::Float32, a_ne::Int64, - A_val::Ptr{Float32}, c::Ptr{Float32}, - x::Ptr{Float32}, y::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.eqp_solve_sldqp_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, m::Int64, + w::Ptr{Float32}, x0::Ptr{Float32}, + g::Ptr{Float32}, f::Float32, a_ne::Int64, + A_val::Ptr{Float32}, c::Ptr{Float32}, + x::Ptr{Float32}, y::Ptr{Float32})::Cvoid end function eqp_solve_sldqp(::Type{Float64}, ::Type{Int32}, data, status, n, m, w, x0, g, f, @@ -354,12 +359,12 @@ end function eqp_solve_sldqp(::Type{Float64}, ::Type{Int64}, data, status, n, m, w, x0, g, f, a_ne, A_val, c, x, y) - @ccall libgalahad_double_64.eqp_solve_sldqp(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, w::Ptr{Float64}, - x0::Ptr{Float64}, g::Ptr{Float64}, f::Float64, - a_ne::Int64, A_val::Ptr{Float64}, - c::Ptr{Float64}, x::Ptr{Float64}, - y::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.eqp_solve_sldqp_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, w::Ptr{Float64}, + x0::Ptr{Float64}, g::Ptr{Float64}, + f::Float64, a_ne::Int64, + A_val::Ptr{Float64}, c::Ptr{Float64}, + x::Ptr{Float64}, y::Ptr{Float64})::Cvoid end function eqp_solve_sldqp(::Type{Float128}, ::Type{Int32}, data, status, n, m, w, x0, g, f, @@ -374,13 +379,14 @@ end function eqp_solve_sldqp(::Type{Float128}, ::Type{Int64}, data, status, n, m, w, x0, g, f, a_ne, A_val, c, x, y) - @ccall libgalahad_quadruple_64.eqp_solve_sldqp_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, m::Int64, - w::Ptr{Float128}, x0::Ptr{Float128}, - g::Ptr{Float128}, f::Cfloat128, - a_ne::Int64, A_val::Ptr{Float128}, - c::Ptr{Float128}, x::Ptr{Float128}, - y::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.eqp_solve_sldqp_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + m::Int64, w::Ptr{Float128}, + x0::Ptr{Float128}, g::Ptr{Float128}, + f::Cfloat128, a_ne::Int64, + A_val::Ptr{Float128}, + c::Ptr{Float128}, x::Ptr{Float128}, + y::Ptr{Float128})::Cvoid end export eqp_resolve_qp @@ -393,10 +399,10 @@ function eqp_resolve_qp(::Type{Float32}, ::Type{Int32}, data, status, n, m, g, f end function eqp_resolve_qp(::Type{Float32}, ::Type{Int64}, data, status, n, m, g, f, c, x, y) - @ccall libgalahad_single_64.eqp_resolve_qp_s(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, g::Ptr{Float32}, - f::Float32, c::Ptr{Float32}, x::Ptr{Float32}, - y::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.eqp_resolve_qp_s_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, g::Ptr{Float32}, + f::Float32, c::Ptr{Float32}, + x::Ptr{Float32}, y::Ptr{Float32})::Cvoid end function eqp_resolve_qp(::Type{Float64}, ::Type{Int32}, data, status, n, m, g, f, c, x, y) @@ -407,10 +413,10 @@ function eqp_resolve_qp(::Type{Float64}, ::Type{Int32}, data, status, n, m, g, f end function eqp_resolve_qp(::Type{Float64}, ::Type{Int64}, data, status, n, m, g, f, c, x, y) - @ccall libgalahad_double_64.eqp_resolve_qp(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, g::Ptr{Float64}, - f::Float64, c::Ptr{Float64}, x::Ptr{Float64}, - y::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.eqp_resolve_qp_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, g::Ptr{Float64}, + f::Float64, c::Ptr{Float64}, + x::Ptr{Float64}, y::Ptr{Float64})::Cvoid end function eqp_resolve_qp(::Type{Float128}, ::Type{Int32}, data, status, n, m, g, f, c, x, y) @@ -421,10 +427,11 @@ function eqp_resolve_qp(::Type{Float128}, ::Type{Int32}, data, status, n, m, g, end function eqp_resolve_qp(::Type{Float128}, ::Type{Int64}, data, status, n, m, g, f, c, x, y) - @ccall libgalahad_quadruple_64.eqp_resolve_qp_q(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, g::Ptr{Float128}, - f::Cfloat128, c::Ptr{Float128}, - x::Ptr{Float128}, y::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.eqp_resolve_qp_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, m::Int64, + g::Ptr{Float128}, f::Cfloat128, + c::Ptr{Float128}, x::Ptr{Float128}, + y::Ptr{Float128})::Cvoid end export eqp_information @@ -436,9 +443,10 @@ function eqp_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function eqp_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.eqp_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{eqp_inform_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.eqp_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{eqp_inform_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function eqp_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -448,9 +456,9 @@ function eqp_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function eqp_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.eqp_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{eqp_inform_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.eqp_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{eqp_inform_type{Float64,Int64}}, + status::Ptr{Int64})::Cvoid end function eqp_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -460,10 +468,10 @@ function eqp_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function eqp_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.eqp_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{eqp_inform_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.eqp_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{eqp_inform_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export eqp_terminate @@ -475,9 +483,10 @@ function eqp_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function eqp_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.eqp_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{eqp_control_type{Float32,Int64}}, - inform::Ptr{eqp_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.eqp_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{eqp_control_type{Float32, + Int64}}, + inform::Ptr{eqp_inform_type{Float32,Int64}})::Cvoid end function eqp_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -487,9 +496,9 @@ function eqp_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function eqp_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.eqp_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{eqp_control_type{Float64,Int64}}, - inform::Ptr{eqp_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.eqp_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{eqp_control_type{Float64,Int64}}, + inform::Ptr{eqp_inform_type{Float64,Int64}})::Cvoid end function eqp_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -499,9 +508,9 @@ function eqp_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function eqp_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.eqp_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{eqp_control_type{Float128, - Int64}}, - inform::Ptr{eqp_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.eqp_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{eqp_control_type{Float128, + Int64}}, + inform::Ptr{eqp_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/fdc.jl b/GALAHAD.jl/src/wrappers/fdc.jl index 4eb55ddcf3..4cdebd241b 100644 --- a/GALAHAD.jl/src/wrappers/fdc.jl +++ b/GALAHAD.jl/src/wrappers/fdc.jl @@ -56,9 +56,10 @@ function fdc_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function fdc_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.fdc_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{fdc_control_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.fdc_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{fdc_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function fdc_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -68,9 +69,10 @@ function fdc_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function fdc_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.fdc_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{fdc_control_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.fdc_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{fdc_control_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function fdc_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -81,10 +83,10 @@ function fdc_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) end function fdc_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.fdc_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{fdc_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.fdc_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{fdc_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export fdc_read_specfile @@ -95,9 +97,9 @@ function fdc_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfile) end function fdc_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.fdc_read_specfile_s(control::Ptr{fdc_control_type{Float32, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.fdc_read_specfile_s_64(control::Ptr{fdc_control_type{Float32, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function fdc_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -106,9 +108,9 @@ function fdc_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) end function fdc_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.fdc_read_specfile(control::Ptr{fdc_control_type{Float64, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.fdc_read_specfile_64(control::Ptr{fdc_control_type{Float64, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function fdc_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -118,9 +120,9 @@ function fdc_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) end function fdc_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.fdc_read_specfile_q(control::Ptr{fdc_control_type{Float128, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.fdc_read_specfile_q_64(control::Ptr{fdc_control_type{Float128, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end export fdc_find_dependent_rows @@ -141,19 +143,19 @@ end function fdc_find_dependent_rows(::Type{Float32}, ::Type{Int64}, control, data, inform, status, m, n, A_ne, A_col, A_ptr, A_val, b, n_depen, depen) - @ccall libgalahad_single_64.fdc_find_dependent_rows_s(control::Ptr{fdc_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - inform::Ptr{fdc_inform_type{Float32, - Int64}}, - status::Ptr{Int64}, m::Int64, - n::Int64, A_ne::Int64, - A_col::Ptr{Int64}, - A_ptr::Ptr{Int64}, - A_val::Ptr{Float32}, - b::Ptr{Float32}, - n_depen::Ptr{Int64}, - depen::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.fdc_find_dependent_rows_s_64(control::Ptr{fdc_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + inform::Ptr{fdc_inform_type{Float32, + Int64}}, + status::Ptr{Int64}, m::Int64, + n::Int64, A_ne::Int64, + A_col::Ptr{Int64}, + A_ptr::Ptr{Int64}, + A_val::Ptr{Float32}, + b::Ptr{Float32}, + n_depen::Ptr{Int64}, + depen::Ptr{Int64})::Cvoid end function fdc_find_dependent_rows(::Type{Float64}, ::Type{Int32}, control, data, inform, @@ -172,17 +174,19 @@ end function fdc_find_dependent_rows(::Type{Float64}, ::Type{Int64}, control, data, inform, status, m, n, A_ne, A_col, A_ptr, A_val, b, n_depen, depen) - @ccall libgalahad_double_64.fdc_find_dependent_rows(control::Ptr{fdc_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - inform::Ptr{fdc_inform_type{Float64, - Int64}}, - status::Ptr{Int64}, m::Int64, - n::Int64, A_ne::Int64, - A_col::Ptr{Int64}, A_ptr::Ptr{Int64}, - A_val::Ptr{Float64}, b::Ptr{Float64}, - n_depen::Ptr{Int64}, - depen::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.fdc_find_dependent_rows_64(control::Ptr{fdc_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + inform::Ptr{fdc_inform_type{Float64, + Int64}}, + status::Ptr{Int64}, m::Int64, + n::Int64, A_ne::Int64, + A_col::Ptr{Int64}, + A_ptr::Ptr{Int64}, + A_val::Ptr{Float64}, + b::Ptr{Float64}, + n_depen::Ptr{Int64}, + depen::Ptr{Int64})::Cvoid end function fdc_find_dependent_rows(::Type{Float128}, ::Type{Int32}, control, data, inform, @@ -204,19 +208,19 @@ end function fdc_find_dependent_rows(::Type{Float128}, ::Type{Int64}, control, data, inform, status, m, n, A_ne, A_col, A_ptr, A_val, b, n_depen, depen) - @ccall libgalahad_quadruple_64.fdc_find_dependent_rows_q(control::Ptr{fdc_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - inform::Ptr{fdc_inform_type{Float128, - Int64}}, - status::Ptr{Int64}, m::Int64, - n::Int64, A_ne::Int64, - A_col::Ptr{Int64}, - A_ptr::Ptr{Int64}, - A_val::Ptr{Float128}, - b::Ptr{Float128}, - n_depen::Ptr{Int64}, - depen::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.fdc_find_dependent_rows_q_64(control::Ptr{fdc_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + inform::Ptr{fdc_inform_type{Float128, + Int64}}, + status::Ptr{Int64}, m::Int64, + n::Int64, A_ne::Int64, + A_col::Ptr{Int64}, + A_ptr::Ptr{Int64}, + A_val::Ptr{Float128}, + b::Ptr{Float128}, + n_depen::Ptr{Int64}, + depen::Ptr{Int64})::Cvoid end export fdc_terminate @@ -228,9 +232,10 @@ function fdc_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function fdc_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.fdc_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{fdc_control_type{Float32,Int64}}, - inform::Ptr{fdc_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.fdc_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{fdc_control_type{Float32, + Int64}}, + inform::Ptr{fdc_inform_type{Float32,Int64}})::Cvoid end function fdc_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -240,9 +245,9 @@ function fdc_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function fdc_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.fdc_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{fdc_control_type{Float64,Int64}}, - inform::Ptr{fdc_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.fdc_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{fdc_control_type{Float64,Int64}}, + inform::Ptr{fdc_inform_type{Float64,Int64}})::Cvoid end function fdc_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -252,9 +257,9 @@ function fdc_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function fdc_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.fdc_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{fdc_control_type{Float128, - Int64}}, - inform::Ptr{fdc_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.fdc_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{fdc_control_type{Float128, + Int64}}, + inform::Ptr{fdc_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/fit.jl b/GALAHAD.jl/src/wrappers/fit.jl index 409091406b..eb4d6cdff8 100644 --- a/GALAHAD.jl/src/wrappers/fit.jl +++ b/GALAHAD.jl/src/wrappers/fit.jl @@ -27,9 +27,9 @@ function fit_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function fit_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.fit_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{fit_control_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.fit_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{fit_control_type{Int64}}, + status::Ptr{Int64})::Cvoid end function fit_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -39,9 +39,9 @@ function fit_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function fit_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.fit_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{fit_control_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.fit_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{fit_control_type{Int64}}, + status::Ptr{Int64})::Cvoid end function fit_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -51,9 +51,9 @@ function fit_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) end function fit_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.fit_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{fit_control_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.fit_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{fit_control_type{Int64}}, + status::Ptr{Int64})::Cvoid end export fit_information @@ -65,9 +65,9 @@ function fit_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function fit_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.fit_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{fit_inform_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.fit_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{fit_inform_type{Int64}}, + status::Ptr{Int64})::Cvoid end function fit_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -77,9 +77,9 @@ function fit_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function fit_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.fit_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{fit_inform_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.fit_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{fit_inform_type{Int64}}, + status::Ptr{Int64})::Cvoid end function fit_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -89,9 +89,9 @@ function fit_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function fit_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.fit_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{fit_inform_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.fit_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{fit_inform_type{Int64}}, + status::Ptr{Int64})::Cvoid end export fit_terminate @@ -103,9 +103,9 @@ function fit_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function fit_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.fit_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{fit_control_type{Int64}}, - inform::Ptr{fit_inform_type{Int64}})::Cvoid + @ccall libgalahad_single_64.fit_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{fit_control_type{Int64}}, + inform::Ptr{fit_inform_type{Int64}})::Cvoid end function fit_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -115,9 +115,9 @@ function fit_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function fit_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.fit_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{fit_control_type{Int64}}, - inform::Ptr{fit_inform_type{Int64}})::Cvoid + @ccall libgalahad_double_64.fit_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{fit_control_type{Int64}}, + inform::Ptr{fit_inform_type{Int64}})::Cvoid end function fit_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -127,7 +127,7 @@ function fit_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function fit_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.fit_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{fit_control_type{Int64}}, - inform::Ptr{fit_inform_type{Int64}})::Cvoid + @ccall libgalahad_quadruple_64.fit_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{fit_control_type{Int64}}, + inform::Ptr{fit_inform_type{Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/glrt.jl b/GALAHAD.jl/src/wrappers/glrt.jl index 5302bd07bd..8c0c55f09c 100644 --- a/GALAHAD.jl/src/wrappers/glrt.jl +++ b/GALAHAD.jl/src/wrappers/glrt.jl @@ -50,10 +50,10 @@ function glrt_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function glrt_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.glrt_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{glrt_control_type{Float32, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.glrt_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{glrt_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function glrt_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -63,9 +63,10 @@ function glrt_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function glrt_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.glrt_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{glrt_control_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.glrt_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{glrt_control_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function glrt_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -76,10 +77,10 @@ function glrt_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) end function glrt_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.glrt_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{glrt_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.glrt_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{glrt_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export glrt_read_specfile @@ -91,9 +92,9 @@ function glrt_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfile) end function glrt_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.glrt_read_specfile_s(control::Ptr{glrt_control_type{Float32, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.glrt_read_specfile_s_64(control::Ptr{glrt_control_type{Float32, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function glrt_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -102,9 +103,9 @@ function glrt_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) end function glrt_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.glrt_read_specfile(control::Ptr{glrt_control_type{Float64, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.glrt_read_specfile_64(control::Ptr{glrt_control_type{Float64, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function glrt_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -114,9 +115,9 @@ function glrt_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) end function glrt_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.glrt_read_specfile_q(control::Ptr{glrt_control_type{Float128, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.glrt_read_specfile_q_64(control::Ptr{glrt_control_type{Float128, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end export glrt_import_control @@ -129,10 +130,10 @@ function glrt_import_control(::Type{Float32}, ::Type{Int32}, control, data, stat end function glrt_import_control(::Type{Float32}, ::Type{Int64}, control, data, status) - @ccall libgalahad_single_64.glrt_import_control_s(control::Ptr{glrt_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.glrt_import_control_s_64(control::Ptr{glrt_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function glrt_import_control(::Type{Float64}, ::Type{Int32}, control, data, status) @@ -143,10 +144,10 @@ function glrt_import_control(::Type{Float64}, ::Type{Int32}, control, data, stat end function glrt_import_control(::Type{Float64}, ::Type{Int64}, control, data, status) - @ccall libgalahad_double_64.glrt_import_control(control::Ptr{glrt_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.glrt_import_control_64(control::Ptr{glrt_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function glrt_import_control(::Type{Float128}, ::Type{Int32}, control, data, status) @@ -157,10 +158,10 @@ function glrt_import_control(::Type{Float128}, ::Type{Int32}, control, data, sta end function glrt_import_control(::Type{Float128}, ::Type{Int64}, control, data, status) - @ccall libgalahad_quadruple_64.glrt_import_control_q(control::Ptr{glrt_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.glrt_import_control_q_64(control::Ptr{glrt_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end export glrt_solve_problem @@ -175,11 +176,11 @@ end function glrt_solve_problem(::Type{Float32}, ::Type{Int64}, data, status, n, power, weight, x, r, vector) - @ccall libgalahad_single_64.glrt_solve_problem_s(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - power::Float32, weight::Float32, - x::Ptr{Float32}, r::Ptr{Float32}, - vector::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.glrt_solve_problem_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + power::Float32, weight::Float32, + x::Ptr{Float32}, r::Ptr{Float32}, + vector::Ptr{Float32})::Cvoid end function glrt_solve_problem(::Type{Float64}, ::Type{Int32}, data, status, n, power, weight, @@ -192,10 +193,11 @@ end function glrt_solve_problem(::Type{Float64}, ::Type{Int64}, data, status, n, power, weight, x, r, vector) - @ccall libgalahad_double_64.glrt_solve_problem(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, power::Float64, weight::Float64, - x::Ptr{Float64}, r::Ptr{Float64}, - vector::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.glrt_solve_problem_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + power::Float64, weight::Float64, + x::Ptr{Float64}, r::Ptr{Float64}, + vector::Ptr{Float64})::Cvoid end function glrt_solve_problem(::Type{Float128}, ::Type{Int32}, data, status, n, power, weight, @@ -209,11 +211,12 @@ end function glrt_solve_problem(::Type{Float128}, ::Type{Int64}, data, status, n, power, weight, x, r, vector) - @ccall libgalahad_quadruple_64.glrt_solve_problem_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - power::Cfloat128, weight::Cfloat128, - x::Ptr{Float128}, r::Ptr{Float128}, - vector::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.glrt_solve_problem_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + power::Cfloat128, + weight::Cfloat128, + x::Ptr{Float128}, r::Ptr{Float128}, + vector::Ptr{Float128})::Cvoid end export glrt_information @@ -225,10 +228,10 @@ function glrt_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function glrt_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.glrt_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{glrt_inform_type{Float32, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.glrt_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{glrt_inform_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function glrt_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -238,9 +241,10 @@ function glrt_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function glrt_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.glrt_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{glrt_inform_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.glrt_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{glrt_inform_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function glrt_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -251,10 +255,10 @@ function glrt_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function glrt_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.glrt_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{glrt_inform_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.glrt_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{glrt_inform_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export glrt_terminate @@ -266,10 +270,11 @@ function glrt_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function glrt_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.glrt_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{glrt_control_type{Float32, - Int64}}, - inform::Ptr{glrt_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.glrt_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{glrt_control_type{Float32, + Int64}}, + inform::Ptr{glrt_inform_type{Float32, + Int64}})::Cvoid end function glrt_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -279,9 +284,10 @@ function glrt_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function glrt_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.glrt_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{glrt_control_type{Float64,Int64}}, - inform::Ptr{glrt_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.glrt_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{glrt_control_type{Float64, + Int64}}, + inform::Ptr{glrt_inform_type{Float64,Int64}})::Cvoid end function glrt_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -292,9 +298,9 @@ function glrt_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function glrt_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.glrt_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{glrt_control_type{Float128, - Int64}}, - inform::Ptr{glrt_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.glrt_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{glrt_control_type{Float128, + Int64}}, + inform::Ptr{glrt_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/gls.jl b/GALAHAD.jl/src/wrappers/gls.jl index 75131888ab..63e3212cbe 100644 --- a/GALAHAD.jl/src/wrappers/gls.jl +++ b/GALAHAD.jl/src/wrappers/gls.jl @@ -75,8 +75,9 @@ function gls_initialize(::Type{Float32}, ::Type{Int32}, data, control) end function gls_initialize(::Type{Float32}, ::Type{Int64}, data, control) - @ccall libgalahad_single_64.gls_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{gls_control_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.gls_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{gls_control_type{Float32, + Int64}})::Cvoid end function gls_initialize(::Type{Float64}, ::Type{Int32}, data, control) @@ -85,8 +86,9 @@ function gls_initialize(::Type{Float64}, ::Type{Int32}, data, control) end function gls_initialize(::Type{Float64}, ::Type{Int64}, data, control) - @ccall libgalahad_double_64.gls_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{gls_control_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.gls_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{gls_control_type{Float64, + Int64}})::Cvoid end function gls_initialize(::Type{Float128}, ::Type{Int32}, data, control) @@ -96,9 +98,9 @@ function gls_initialize(::Type{Float128}, ::Type{Int32}, data, control) end function gls_initialize(::Type{Float128}, ::Type{Int64}, data, control) - @ccall libgalahad_quadruple_64.gls_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{gls_control_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.gls_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{gls_control_type{Float128, + Int64}})::Cvoid end export gls_read_specfile @@ -109,9 +111,9 @@ function gls_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfile) end function gls_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.gls_read_specfile_s(control::Ptr{gls_control_type{Float32, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.gls_read_specfile_s_64(control::Ptr{gls_control_type{Float32, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function gls_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -120,9 +122,9 @@ function gls_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) end function gls_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.gls_read_specfile(control::Ptr{gls_control_type{Float64, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.gls_read_specfile_64(control::Ptr{gls_control_type{Float64, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function gls_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -132,9 +134,9 @@ function gls_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) end function gls_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.gls_read_specfile_q(control::Ptr{gls_control_type{Float128, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.gls_read_specfile_q_64(control::Ptr{gls_control_type{Float128, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end export gls_import @@ -145,8 +147,9 @@ function gls_import(::Type{Float32}, ::Type{Int32}, control, data, status) end function gls_import(::Type{Float32}, ::Type{Int64}, control, data, status) - @ccall libgalahad_single_64.gls_import_s(control::Ptr{gls_control_type{Float32,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.gls_import_s_64(control::Ptr{gls_control_type{Float32,Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function gls_import(::Type{Float64}, ::Type{Int32}, control, data, status) @@ -155,8 +158,9 @@ function gls_import(::Type{Float64}, ::Type{Int32}, control, data, status) end function gls_import(::Type{Float64}, ::Type{Int64}, control, data, status) - @ccall libgalahad_double_64.gls_import(control::Ptr{gls_control_type{Float64,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.gls_import_64(control::Ptr{gls_control_type{Float64,Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function gls_import(::Type{Float128}, ::Type{Int32}, control, data, status) @@ -165,9 +169,10 @@ function gls_import(::Type{Float128}, ::Type{Int32}, control, data, status) end function gls_import(::Type{Float128}, ::Type{Int64}, control, data, status) - @ccall libgalahad_quadruple_64.gls_import_q(control::Ptr{gls_control_type{Float128,Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.gls_import_q_64(control::Ptr{gls_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end export gls_reset_control @@ -179,10 +184,10 @@ function gls_reset_control(::Type{Float32}, ::Type{Int32}, control, data, status end function gls_reset_control(::Type{Float32}, ::Type{Int64}, control, data, status) - @ccall libgalahad_single_64.gls_reset_control_s(control::Ptr{gls_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.gls_reset_control_s_64(control::Ptr{gls_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function gls_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status) @@ -192,10 +197,10 @@ function gls_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status end function gls_reset_control(::Type{Float64}, ::Type{Int64}, control, data, status) - @ccall libgalahad_double_64.gls_reset_control(control::Ptr{gls_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.gls_reset_control_64(control::Ptr{gls_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function gls_reset_control(::Type{Float128}, ::Type{Int32}, control, data, status) @@ -206,10 +211,10 @@ function gls_reset_control(::Type{Float128}, ::Type{Int32}, control, data, statu end function gls_reset_control(::Type{Float128}, ::Type{Int64}, control, data, status) - @ccall libgalahad_quadruple_64.gls_reset_control_q(control::Ptr{gls_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.gls_reset_control_q_64(control::Ptr{gls_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end export gls_information @@ -223,11 +228,11 @@ function gls_information(::Type{Float32}, ::Type{Int32}, data, ainfo, finfo, sin end function gls_information(::Type{Float32}, ::Type{Int64}, data, ainfo, finfo, sinfo, status) - @ccall libgalahad_single_64.gls_information_s(data::Ptr{Ptr{Cvoid}}, - ainfo::Ptr{gls_ainfo_type{Float32,Int64}}, - finfo::Ptr{gls_finfo_type{Float32,Int64}}, - sinfo::Ptr{gls_sinfo_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.gls_information_s_64(data::Ptr{Ptr{Cvoid}}, + ainfo::Ptr{gls_ainfo_type{Float32,Int64}}, + finfo::Ptr{gls_finfo_type{Float32,Int64}}, + sinfo::Ptr{gls_sinfo_type{Int64}}, + status::Ptr{Int64})::Cvoid end function gls_information(::Type{Float64}, ::Type{Int32}, data, ainfo, finfo, sinfo, status) @@ -239,11 +244,11 @@ function gls_information(::Type{Float64}, ::Type{Int32}, data, ainfo, finfo, sin end function gls_information(::Type{Float64}, ::Type{Int64}, data, ainfo, finfo, sinfo, status) - @ccall libgalahad_double_64.gls_information(data::Ptr{Ptr{Cvoid}}, - ainfo::Ptr{gls_ainfo_type{Float64,Int64}}, - finfo::Ptr{gls_finfo_type{Float64,Int64}}, - sinfo::Ptr{gls_sinfo_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.gls_information_64(data::Ptr{Ptr{Cvoid}}, + ainfo::Ptr{gls_ainfo_type{Float64,Int64}}, + finfo::Ptr{gls_finfo_type{Float64,Int64}}, + sinfo::Ptr{gls_sinfo_type{Int64}}, + status::Ptr{Int64})::Cvoid end function gls_information(::Type{Float128}, ::Type{Int32}, data, ainfo, finfo, sinfo, status) @@ -255,13 +260,13 @@ function gls_information(::Type{Float128}, ::Type{Int32}, data, ainfo, finfo, si end function gls_information(::Type{Float128}, ::Type{Int64}, data, ainfo, finfo, sinfo, status) - @ccall libgalahad_quadruple_64.gls_information_q(data::Ptr{Ptr{Cvoid}}, - ainfo::Ptr{gls_ainfo_type{Float128, - Int64}}, - finfo::Ptr{gls_finfo_type{Float128, - Int64}}, - sinfo::Ptr{gls_sinfo_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.gls_information_q_64(data::Ptr{Ptr{Cvoid}}, + ainfo::Ptr{gls_ainfo_type{Float128, + Int64}}, + finfo::Ptr{gls_finfo_type{Float128, + Int64}}, + sinfo::Ptr{gls_sinfo_type{Int64}}, + status::Ptr{Int64})::Cvoid end export gls_finalize @@ -273,9 +278,10 @@ function gls_finalize(::Type{Float32}, ::Type{Int32}, data, control, status) end function gls_finalize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.gls_finalize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{gls_control_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.gls_finalize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{gls_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function gls_finalize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -285,9 +291,9 @@ function gls_finalize(::Type{Float64}, ::Type{Int32}, data, control, status) end function gls_finalize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.gls_finalize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{gls_control_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.gls_finalize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{gls_control_type{Float64,Int64}}, + status::Ptr{Int64})::Cvoid end function gls_finalize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -297,8 +303,8 @@ function gls_finalize(::Type{Float128}, ::Type{Int32}, data, control, status) end function gls_finalize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.gls_finalize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{gls_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.gls_finalize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{gls_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/gltr.jl b/GALAHAD.jl/src/wrappers/gltr.jl index 7589bea2e0..9633b6e1a4 100644 --- a/GALAHAD.jl/src/wrappers/gltr.jl +++ b/GALAHAD.jl/src/wrappers/gltr.jl @@ -54,10 +54,10 @@ function gltr_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function gltr_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.gltr_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{gltr_control_type{Float32, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.gltr_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{gltr_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function gltr_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -67,9 +67,10 @@ function gltr_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function gltr_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.gltr_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{gltr_control_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.gltr_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{gltr_control_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function gltr_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -80,10 +81,10 @@ function gltr_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) end function gltr_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.gltr_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{gltr_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.gltr_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{gltr_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export gltr_read_specfile @@ -95,9 +96,9 @@ function gltr_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfile) end function gltr_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.gltr_read_specfile_s(control::Ptr{gltr_control_type{Float32, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.gltr_read_specfile_s_64(control::Ptr{gltr_control_type{Float32, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function gltr_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -106,9 +107,9 @@ function gltr_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) end function gltr_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.gltr_read_specfile(control::Ptr{gltr_control_type{Float64, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.gltr_read_specfile_64(control::Ptr{gltr_control_type{Float64, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function gltr_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -118,9 +119,9 @@ function gltr_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) end function gltr_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.gltr_read_specfile_q(control::Ptr{gltr_control_type{Float128, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.gltr_read_specfile_q_64(control::Ptr{gltr_control_type{Float128, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end export gltr_import_control @@ -133,10 +134,10 @@ function gltr_import_control(::Type{Float32}, ::Type{Int32}, control, data, stat end function gltr_import_control(::Type{Float32}, ::Type{Int64}, control, data, status) - @ccall libgalahad_single_64.gltr_import_control_s(control::Ptr{gltr_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.gltr_import_control_s_64(control::Ptr{gltr_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function gltr_import_control(::Type{Float64}, ::Type{Int32}, control, data, status) @@ -147,10 +148,10 @@ function gltr_import_control(::Type{Float64}, ::Type{Int32}, control, data, stat end function gltr_import_control(::Type{Float64}, ::Type{Int64}, control, data, status) - @ccall libgalahad_double_64.gltr_import_control(control::Ptr{gltr_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.gltr_import_control_64(control::Ptr{gltr_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function gltr_import_control(::Type{Float128}, ::Type{Int32}, control, data, status) @@ -161,10 +162,10 @@ function gltr_import_control(::Type{Float128}, ::Type{Int32}, control, data, sta end function gltr_import_control(::Type{Float128}, ::Type{Int64}, control, data, status) - @ccall libgalahad_quadruple_64.gltr_import_control_q(control::Ptr{gltr_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.gltr_import_control_q_64(control::Ptr{gltr_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end export gltr_solve_problem @@ -179,11 +180,11 @@ end function gltr_solve_problem(::Type{Float32}, ::Type{Int64}, data, status, n, radius, x, r, vector) - @ccall libgalahad_single_64.gltr_solve_problem_s(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - radius::Float32, x::Ptr{Float32}, - r::Ptr{Float32}, - vector::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.gltr_solve_problem_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + radius::Float32, x::Ptr{Float32}, + r::Ptr{Float32}, + vector::Ptr{Float32})::Cvoid end function gltr_solve_problem(::Type{Float64}, ::Type{Int32}, data, status, n, radius, x, r, @@ -195,10 +196,11 @@ end function gltr_solve_problem(::Type{Float64}, ::Type{Int64}, data, status, n, radius, x, r, vector) - @ccall libgalahad_double_64.gltr_solve_problem(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, radius::Float64, x::Ptr{Float64}, - r::Ptr{Float64}, - vector::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.gltr_solve_problem_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + radius::Float64, x::Ptr{Float64}, + r::Ptr{Float64}, + vector::Ptr{Float64})::Cvoid end function gltr_solve_problem(::Type{Float128}, ::Type{Int32}, data, status, n, radius, x, r, @@ -212,11 +214,11 @@ end function gltr_solve_problem(::Type{Float128}, ::Type{Int64}, data, status, n, radius, x, r, vector) - @ccall libgalahad_quadruple_64.gltr_solve_problem_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - radius::Cfloat128, x::Ptr{Float128}, - r::Ptr{Float128}, - vector::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.gltr_solve_problem_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + radius::Cfloat128, + x::Ptr{Float128}, r::Ptr{Float128}, + vector::Ptr{Float128})::Cvoid end export gltr_information @@ -228,10 +230,10 @@ function gltr_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function gltr_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.gltr_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{gltr_inform_type{Float32, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.gltr_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{gltr_inform_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function gltr_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -241,9 +243,10 @@ function gltr_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function gltr_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.gltr_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{gltr_inform_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.gltr_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{gltr_inform_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function gltr_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -254,10 +257,10 @@ function gltr_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function gltr_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.gltr_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{gltr_inform_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.gltr_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{gltr_inform_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export gltr_terminate @@ -269,10 +272,11 @@ function gltr_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function gltr_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.gltr_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{gltr_control_type{Float32, - Int64}}, - inform::Ptr{gltr_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.gltr_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{gltr_control_type{Float32, + Int64}}, + inform::Ptr{gltr_inform_type{Float32, + Int64}})::Cvoid end function gltr_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -282,9 +286,10 @@ function gltr_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function gltr_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.gltr_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{gltr_control_type{Float64,Int64}}, - inform::Ptr{gltr_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.gltr_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{gltr_control_type{Float64, + Int64}}, + inform::Ptr{gltr_inform_type{Float64,Int64}})::Cvoid end function gltr_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -295,9 +300,9 @@ function gltr_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function gltr_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.gltr_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{gltr_control_type{Float128, - Int64}}, - inform::Ptr{gltr_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.gltr_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{gltr_control_type{Float128, + Int64}}, + inform::Ptr{gltr_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/hash.jl b/GALAHAD.jl/src/wrappers/hash.jl index c0c95d664f..9a9533b873 100644 --- a/GALAHAD.jl/src/wrappers/hash.jl +++ b/GALAHAD.jl/src/wrappers/hash.jl @@ -29,10 +29,10 @@ end function hash_initialize(::Type{Float32}, ::Type{Int64}, nchar, length, data, control, inform) - @ccall libgalahad_single_64.hash_initialize_s(nchar::Int64, length::Int64, - data::Ptr{Ptr{Cvoid}}, - control::Ptr{hash_control_type{Int64}}, - inform::Ptr{hash_inform_type{Int64}})::Cvoid + @ccall libgalahad_single_64.hash_initialize_s_64(nchar::Int64, length::Int64, + data::Ptr{Ptr{Cvoid}}, + control::Ptr{hash_control_type{Int64}}, + inform::Ptr{hash_inform_type{Int64}})::Cvoid end function hash_initialize(::Type{Float64}, ::Type{Int32}, nchar, length, data, control, @@ -45,10 +45,10 @@ end function hash_initialize(::Type{Float64}, ::Type{Int64}, nchar, length, data, control, inform) - @ccall libgalahad_double_64.hash_initialize(nchar::Int64, length::Int64, - data::Ptr{Ptr{Cvoid}}, - control::Ptr{hash_control_type{Int64}}, - inform::Ptr{hash_inform_type{Int64}})::Cvoid + @ccall libgalahad_double_64.hash_initialize_64(nchar::Int64, length::Int64, + data::Ptr{Ptr{Cvoid}}, + control::Ptr{hash_control_type{Int64}}, + inform::Ptr{hash_inform_type{Int64}})::Cvoid end function hash_initialize(::Type{Float128}, ::Type{Int32}, nchar, length, data, control, @@ -61,10 +61,10 @@ end function hash_initialize(::Type{Float128}, ::Type{Int64}, nchar, length, data, control, inform) - @ccall libgalahad_quadruple_64.hash_initialize_q(nchar::Int64, length::Int64, - data::Ptr{Ptr{Cvoid}}, - control::Ptr{hash_control_type{Int64}}, - inform::Ptr{hash_inform_type{Int64}})::Cvoid + @ccall libgalahad_quadruple_64.hash_initialize_q_64(nchar::Int64, length::Int64, + data::Ptr{Ptr{Cvoid}}, + control::Ptr{hash_control_type{Int64}}, + inform::Ptr{hash_inform_type{Int64}})::Cvoid end export hash_information @@ -76,9 +76,9 @@ function hash_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function hash_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.hash_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{hash_inform_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.hash_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{hash_inform_type{Int64}}, + status::Ptr{Int64})::Cvoid end function hash_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -88,9 +88,9 @@ function hash_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function hash_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.hash_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{hash_inform_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.hash_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{hash_inform_type{Int64}}, + status::Ptr{Int64})::Cvoid end function hash_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -100,9 +100,9 @@ function hash_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function hash_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.hash_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{hash_inform_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.hash_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{hash_inform_type{Int64}}, + status::Ptr{Int64})::Cvoid end export hash_terminate @@ -114,9 +114,9 @@ function hash_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function hash_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.hash_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{hash_control_type{Int64}}, - inform::Ptr{hash_inform_type{Int64}})::Cvoid + @ccall libgalahad_single_64.hash_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{hash_control_type{Int64}}, + inform::Ptr{hash_inform_type{Int64}})::Cvoid end function hash_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -126,9 +126,9 @@ function hash_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function hash_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.hash_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{hash_control_type{Int64}}, - inform::Ptr{hash_inform_type{Int64}})::Cvoid + @ccall libgalahad_double_64.hash_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{hash_control_type{Int64}}, + inform::Ptr{hash_inform_type{Int64}})::Cvoid end function hash_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -138,7 +138,7 @@ function hash_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function hash_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.hash_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{hash_control_type{Int64}}, - inform::Ptr{hash_inform_type{Int64}})::Cvoid + @ccall libgalahad_quadruple_64.hash_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{hash_control_type{Int64}}, + inform::Ptr{hash_inform_type{Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/ir.jl b/GALAHAD.jl/src/wrappers/ir.jl index b23e3541cf..1e90f0bc90 100644 --- a/GALAHAD.jl/src/wrappers/ir.jl +++ b/GALAHAD.jl/src/wrappers/ir.jl @@ -34,9 +34,10 @@ function ir_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function ir_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.ir_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{ir_control_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.ir_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{ir_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function ir_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -46,9 +47,9 @@ function ir_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function ir_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.ir_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{ir_control_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.ir_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{ir_control_type{Float64,Int64}}, + status::Ptr{Int64})::Cvoid end function ir_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -58,10 +59,10 @@ function ir_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) end function ir_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.ir_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{ir_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.ir_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{ir_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export ir_information @@ -73,9 +74,9 @@ function ir_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function ir_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.ir_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{ir_inform_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.ir_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{ir_inform_type{Float32,Int64}}, + status::Ptr{Int64})::Cvoid end function ir_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -85,9 +86,9 @@ function ir_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function ir_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.ir_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{ir_inform_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.ir_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{ir_inform_type{Float64,Int64}}, + status::Ptr{Int64})::Cvoid end function ir_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -97,10 +98,10 @@ function ir_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function ir_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.ir_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{ir_inform_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.ir_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{ir_inform_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export ir_terminate @@ -112,9 +113,9 @@ function ir_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function ir_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.ir_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{ir_control_type{Float32,Int64}}, - inform::Ptr{ir_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.ir_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{ir_control_type{Float32,Int64}}, + inform::Ptr{ir_inform_type{Float32,Int64}})::Cvoid end function ir_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -124,9 +125,9 @@ function ir_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function ir_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.ir_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{ir_control_type{Float64,Int64}}, - inform::Ptr{ir_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.ir_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{ir_control_type{Float64,Int64}}, + inform::Ptr{ir_inform_type{Float64,Int64}})::Cvoid end function ir_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -136,8 +137,9 @@ function ir_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function ir_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.ir_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{ir_control_type{Float128, - Int64}}, - inform::Ptr{ir_inform_type{Float128,Int64}})::Cvoid + @ccall libgalahad_quadruple_64.ir_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{ir_control_type{Float128, + Int64}}, + inform::Ptr{ir_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/l2rt.jl b/GALAHAD.jl/src/wrappers/l2rt.jl index 7bcaf7b085..71cc102fa8 100644 --- a/GALAHAD.jl/src/wrappers/l2rt.jl +++ b/GALAHAD.jl/src/wrappers/l2rt.jl @@ -51,10 +51,10 @@ function l2rt_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function l2rt_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.l2rt_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{l2rt_control_type{Float32, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.l2rt_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{l2rt_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function l2rt_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -64,9 +64,10 @@ function l2rt_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function l2rt_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.l2rt_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{l2rt_control_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.l2rt_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{l2rt_control_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function l2rt_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -77,10 +78,10 @@ function l2rt_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) end function l2rt_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.l2rt_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{l2rt_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.l2rt_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{l2rt_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export l2rt_read_specfile @@ -92,9 +93,9 @@ function l2rt_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfile) end function l2rt_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.l2rt_read_specfile_s(control::Ptr{l2rt_control_type{Float32, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.l2rt_read_specfile_s_64(control::Ptr{l2rt_control_type{Float32, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function l2rt_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -103,9 +104,9 @@ function l2rt_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) end function l2rt_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.l2rt_read_specfile(control::Ptr{l2rt_control_type{Float64, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.l2rt_read_specfile_64(control::Ptr{l2rt_control_type{Float64, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function l2rt_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -115,9 +116,9 @@ function l2rt_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) end function l2rt_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.l2rt_read_specfile_q(control::Ptr{l2rt_control_type{Float128, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.l2rt_read_specfile_q_64(control::Ptr{l2rt_control_type{Float128, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end export l2rt_import_control @@ -130,10 +131,10 @@ function l2rt_import_control(::Type{Float32}, ::Type{Int32}, control, data, stat end function l2rt_import_control(::Type{Float32}, ::Type{Int64}, control, data, status) - @ccall libgalahad_single_64.l2rt_import_control_s(control::Ptr{l2rt_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.l2rt_import_control_s_64(control::Ptr{l2rt_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function l2rt_import_control(::Type{Float64}, ::Type{Int32}, control, data, status) @@ -144,10 +145,10 @@ function l2rt_import_control(::Type{Float64}, ::Type{Int32}, control, data, stat end function l2rt_import_control(::Type{Float64}, ::Type{Int64}, control, data, status) - @ccall libgalahad_double_64.l2rt_import_control(control::Ptr{l2rt_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.l2rt_import_control_64(control::Ptr{l2rt_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function l2rt_import_control(::Type{Float128}, ::Type{Int32}, control, data, status) @@ -158,10 +159,10 @@ function l2rt_import_control(::Type{Float128}, ::Type{Int32}, control, data, sta end function l2rt_import_control(::Type{Float128}, ::Type{Int64}, control, data, status) - @ccall libgalahad_quadruple_64.l2rt_import_control_q(control::Ptr{l2rt_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.l2rt_import_control_q_64(control::Ptr{l2rt_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end export l2rt_solve_problem @@ -177,11 +178,12 @@ end function l2rt_solve_problem(::Type{Float32}, ::Type{Int64}, data, status, m, n, power, weight, shift, x, u, v) - @ccall libgalahad_single_64.l2rt_solve_problem_s(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, m::Int64, n::Int64, - power::Float32, weight::Float32, - shift::Float32, x::Ptr{Float32}, - u::Ptr{Float32}, v::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.l2rt_solve_problem_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, m::Int64, + n::Int64, power::Float32, + weight::Float32, shift::Float32, + x::Ptr{Float32}, u::Ptr{Float32}, + v::Ptr{Float32})::Cvoid end function l2rt_solve_problem(::Type{Float64}, ::Type{Int32}, data, status, m, n, power, @@ -195,11 +197,11 @@ end function l2rt_solve_problem(::Type{Float64}, ::Type{Int64}, data, status, m, n, power, weight, shift, x, u, v) - @ccall libgalahad_double_64.l2rt_solve_problem(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - m::Int64, n::Int64, power::Float64, - weight::Float64, shift::Float64, - x::Ptr{Float64}, u::Ptr{Float64}, - v::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.l2rt_solve_problem_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, m::Int64, n::Int64, + power::Float64, weight::Float64, + shift::Float64, x::Ptr{Float64}, + u::Ptr{Float64}, v::Ptr{Float64})::Cvoid end function l2rt_solve_problem(::Type{Float128}, ::Type{Int32}, data, status, m, n, power, @@ -214,12 +216,13 @@ end function l2rt_solve_problem(::Type{Float128}, ::Type{Int64}, data, status, m, n, power, weight, shift, x, u, v) - @ccall libgalahad_quadruple_64.l2rt_solve_problem_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, m::Int64, - n::Int64, power::Cfloat128, - weight::Cfloat128, shift::Cfloat128, - x::Ptr{Float128}, u::Ptr{Float128}, - v::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.l2rt_solve_problem_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, m::Int64, + n::Int64, power::Cfloat128, + weight::Cfloat128, + shift::Cfloat128, x::Ptr{Float128}, + u::Ptr{Float128}, + v::Ptr{Float128})::Cvoid end export l2rt_information @@ -231,10 +234,10 @@ function l2rt_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function l2rt_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.l2rt_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{l2rt_inform_type{Float32, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.l2rt_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{l2rt_inform_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function l2rt_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -244,9 +247,10 @@ function l2rt_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function l2rt_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.l2rt_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{l2rt_inform_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.l2rt_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{l2rt_inform_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function l2rt_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -257,10 +261,10 @@ function l2rt_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function l2rt_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.l2rt_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{l2rt_inform_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.l2rt_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{l2rt_inform_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export l2rt_terminate @@ -272,10 +276,11 @@ function l2rt_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function l2rt_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.l2rt_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{l2rt_control_type{Float32, - Int64}}, - inform::Ptr{l2rt_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.l2rt_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{l2rt_control_type{Float32, + Int64}}, + inform::Ptr{l2rt_inform_type{Float32, + Int64}})::Cvoid end function l2rt_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -285,9 +290,10 @@ function l2rt_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function l2rt_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.l2rt_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{l2rt_control_type{Float64,Int64}}, - inform::Ptr{l2rt_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.l2rt_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{l2rt_control_type{Float64, + Int64}}, + inform::Ptr{l2rt_inform_type{Float64,Int64}})::Cvoid end function l2rt_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -298,9 +304,9 @@ function l2rt_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function l2rt_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.l2rt_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{l2rt_control_type{Float128, - Int64}}, - inform::Ptr{l2rt_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.l2rt_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{l2rt_control_type{Float128, + Int64}}, + inform::Ptr{l2rt_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/lhs.jl b/GALAHAD.jl/src/wrappers/lhs.jl index 5aa3a68898..334a8d454e 100644 --- a/GALAHAD.jl/src/wrappers/lhs.jl +++ b/GALAHAD.jl/src/wrappers/lhs.jl @@ -27,9 +27,9 @@ function lhs_initialize(::Type{Float32}, ::Type{Int32}, data, control, inform) end function lhs_initialize(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.lhs_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{lhs_control_type{Int64}}, - inform::Ptr{lhs_inform_type{Int64}})::Cvoid + @ccall libgalahad_single_64.lhs_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{lhs_control_type{Int64}}, + inform::Ptr{lhs_inform_type{Int64}})::Cvoid end function lhs_initialize(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -39,9 +39,9 @@ function lhs_initialize(::Type{Float64}, ::Type{Int32}, data, control, inform) end function lhs_initialize(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.lhs_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{lhs_control_type{Int64}}, - inform::Ptr{lhs_inform_type{Int64}})::Cvoid + @ccall libgalahad_double_64.lhs_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{lhs_control_type{Int64}}, + inform::Ptr{lhs_inform_type{Int64}})::Cvoid end function lhs_initialize(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -51,9 +51,9 @@ function lhs_initialize(::Type{Float128}, ::Type{Int32}, data, control, inform) end function lhs_initialize(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.lhs_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{lhs_control_type{Int64}}, - inform::Ptr{lhs_inform_type{Int64}})::Cvoid + @ccall libgalahad_quadruple_64.lhs_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{lhs_control_type{Int64}}, + inform::Ptr{lhs_inform_type{Int64}})::Cvoid end export lhs_read_specfile @@ -64,8 +64,8 @@ function lhs_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfile) end function lhs_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.lhs_read_specfile_s(control::Ptr{lhs_control_type{Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.lhs_read_specfile_s_64(control::Ptr{lhs_control_type{Int64}}, + specfile::Ptr{Cchar})::Cvoid end function lhs_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -74,8 +74,8 @@ function lhs_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) end function lhs_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.lhs_read_specfile(control::Ptr{lhs_control_type{Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.lhs_read_specfile_64(control::Ptr{lhs_control_type{Int64}}, + specfile::Ptr{Cchar})::Cvoid end function lhs_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -84,8 +84,8 @@ function lhs_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) end function lhs_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.lhs_read_specfile_q(control::Ptr{lhs_control_type{Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.lhs_read_specfile_q_64(control::Ptr{lhs_control_type{Int64}}, + specfile::Ptr{Cchar})::Cvoid end export lhs_ihs @@ -100,11 +100,11 @@ end function lhs_ihs(::Type{Float32}, ::Type{Int64}, n_dimen, n_points, seed, X, control, inform, data) - @ccall libgalahad_single_64.lhs_ihs_s(n_dimen::Int64, n_points::Int64, seed::Ptr{Int64}, - X::Ptr{Int64}, - control::Ptr{lhs_control_type{Int64}}, - inform::Ptr{lhs_inform_type{Int64}}, - data::Ptr{Ptr{Cvoid}})::Cvoid + @ccall libgalahad_single_64.lhs_ihs_s_64(n_dimen::Int64, n_points::Int64, + seed::Ptr{Int64}, X::Ptr{Int64}, + control::Ptr{lhs_control_type{Int64}}, + inform::Ptr{lhs_inform_type{Int64}}, + data::Ptr{Ptr{Cvoid}})::Cvoid end function lhs_ihs(::Type{Float64}, ::Type{Int32}, n_dimen, n_points, seed, X, control, @@ -117,10 +117,11 @@ end function lhs_ihs(::Type{Float64}, ::Type{Int64}, n_dimen, n_points, seed, X, control, inform, data) - @ccall libgalahad_double_64.lhs_ihs(n_dimen::Int64, n_points::Int64, seed::Ptr{Int64}, - X::Ptr{Int64}, control::Ptr{lhs_control_type{Int64}}, - inform::Ptr{lhs_inform_type{Int64}}, - data::Ptr{Ptr{Cvoid}})::Cvoid + @ccall libgalahad_double_64.lhs_ihs_64(n_dimen::Int64, n_points::Int64, seed::Ptr{Int64}, + X::Ptr{Int64}, + control::Ptr{lhs_control_type{Int64}}, + inform::Ptr{lhs_inform_type{Int64}}, + data::Ptr{Ptr{Cvoid}})::Cvoid end function lhs_ihs(::Type{Float128}, ::Type{Int32}, n_dimen, n_points, seed, X, control, @@ -134,11 +135,11 @@ end function lhs_ihs(::Type{Float128}, ::Type{Int64}, n_dimen, n_points, seed, X, control, inform, data) - @ccall libgalahad_quadruple_64.lhs_ihs_q(n_dimen::Int64, n_points::Int64, - seed::Ptr{Int64}, X::Ptr{Int64}, - control::Ptr{lhs_control_type{Int64}}, - inform::Ptr{lhs_inform_type{Int64}}, - data::Ptr{Ptr{Cvoid}})::Cvoid + @ccall libgalahad_quadruple_64.lhs_ihs_q_64(n_dimen::Int64, n_points::Int64, + seed::Ptr{Int64}, X::Ptr{Int64}, + control::Ptr{lhs_control_type{Int64}}, + inform::Ptr{lhs_inform_type{Int64}}, + data::Ptr{Ptr{Cvoid}})::Cvoid end export lhs_get_seed @@ -148,7 +149,7 @@ function lhs_get_seed(::Type{Float32}, ::Type{Int32}, seed) end function lhs_get_seed(::Type{Float32}, ::Type{Int64}, seed) - @ccall libgalahad_single_64.lhs_get_seed_s(seed::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.lhs_get_seed_s_64(seed::Ptr{Int64})::Cvoid end function lhs_get_seed(::Type{Float64}, ::Type{Int32}, seed) @@ -156,7 +157,7 @@ function lhs_get_seed(::Type{Float64}, ::Type{Int32}, seed) end function lhs_get_seed(::Type{Float64}, ::Type{Int64}, seed) - @ccall libgalahad_double_64.lhs_get_seed(seed::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.lhs_get_seed_64(seed::Ptr{Int64})::Cvoid end function lhs_get_seed(::Type{Float128}, ::Type{Int32}, seed) @@ -164,7 +165,7 @@ function lhs_get_seed(::Type{Float128}, ::Type{Int32}, seed) end function lhs_get_seed(::Type{Float128}, ::Type{Int64}, seed) - @ccall libgalahad_quadruple_64.lhs_get_seed_q(seed::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.lhs_get_seed_q_64(seed::Ptr{Int64})::Cvoid end export lhs_information @@ -176,9 +177,9 @@ function lhs_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function lhs_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.lhs_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{lhs_inform_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.lhs_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{lhs_inform_type{Int64}}, + status::Ptr{Int64})::Cvoid end function lhs_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -188,9 +189,9 @@ function lhs_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function lhs_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.lhs_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{lhs_inform_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.lhs_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{lhs_inform_type{Int64}}, + status::Ptr{Int64})::Cvoid end function lhs_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -200,9 +201,9 @@ function lhs_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function lhs_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.lhs_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{lhs_inform_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.lhs_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{lhs_inform_type{Int64}}, + status::Ptr{Int64})::Cvoid end export lhs_terminate @@ -214,9 +215,9 @@ function lhs_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function lhs_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.lhs_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{lhs_control_type{Int64}}, - inform::Ptr{lhs_inform_type{Int64}})::Cvoid + @ccall libgalahad_single_64.lhs_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{lhs_control_type{Int64}}, + inform::Ptr{lhs_inform_type{Int64}})::Cvoid end function lhs_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -226,9 +227,9 @@ function lhs_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function lhs_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.lhs_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{lhs_control_type{Int64}}, - inform::Ptr{lhs_inform_type{Int64}})::Cvoid + @ccall libgalahad_double_64.lhs_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{lhs_control_type{Int64}}, + inform::Ptr{lhs_inform_type{Int64}})::Cvoid end function lhs_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -238,7 +239,7 @@ function lhs_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function lhs_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.lhs_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{lhs_control_type{Int64}}, - inform::Ptr{lhs_inform_type{Int64}})::Cvoid + @ccall libgalahad_quadruple_64.lhs_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{lhs_control_type{Int64}}, + inform::Ptr{lhs_inform_type{Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/llsr.jl b/GALAHAD.jl/src/wrappers/llsr.jl index aa8e723cdd..1d07f44f01 100644 --- a/GALAHAD.jl/src/wrappers/llsr.jl +++ b/GALAHAD.jl/src/wrappers/llsr.jl @@ -73,10 +73,10 @@ function llsr_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function llsr_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.llsr_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{llsr_control_type{Float32, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.llsr_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{llsr_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function llsr_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -86,9 +86,10 @@ function llsr_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function llsr_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.llsr_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{llsr_control_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.llsr_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{llsr_control_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function llsr_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -99,10 +100,10 @@ function llsr_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) end function llsr_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.llsr_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{llsr_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.llsr_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{llsr_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export llsr_read_specfile @@ -114,9 +115,9 @@ function llsr_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfile) end function llsr_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.llsr_read_specfile_s(control::Ptr{llsr_control_type{Float32, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.llsr_read_specfile_s_64(control::Ptr{llsr_control_type{Float32, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function llsr_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -125,9 +126,9 @@ function llsr_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) end function llsr_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.llsr_read_specfile(control::Ptr{llsr_control_type{Float64, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.llsr_read_specfile_64(control::Ptr{llsr_control_type{Float64, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function llsr_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -137,9 +138,9 @@ function llsr_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) end function llsr_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.llsr_read_specfile_q(control::Ptr{llsr_control_type{Float128, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.llsr_read_specfile_q_64(control::Ptr{llsr_control_type{Float128, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end export llsr_import @@ -155,11 +156,12 @@ end function llsr_import(::Type{Float32}, ::Type{Int64}, control, data, status, m, n, A_type, A_ne, A_row, A_col, A_ptr) - @ccall libgalahad_single_64.llsr_import_s(control::Ptr{llsr_control_type{Float32,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - m::Int64, n::Int64, A_type::Ptr{Cchar}, - A_ne::Int64, A_row::Ptr{Int64}, - A_col::Ptr{Int64}, A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.llsr_import_s_64(control::Ptr{llsr_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + m::Int64, n::Int64, A_type::Ptr{Cchar}, + A_ne::Int64, A_row::Ptr{Int64}, + A_col::Ptr{Int64}, A_ptr::Ptr{Int64})::Cvoid end function llsr_import(::Type{Float64}, ::Type{Int32}, control, data, status, m, n, A_type, @@ -173,11 +175,11 @@ end function llsr_import(::Type{Float64}, ::Type{Int64}, control, data, status, m, n, A_type, A_ne, A_row, A_col, A_ptr) - @ccall libgalahad_double_64.llsr_import(control::Ptr{llsr_control_type{Float64,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - m::Int64, n::Int64, A_type::Ptr{Cchar}, - A_ne::Int64, A_row::Ptr{Int64}, A_col::Ptr{Int64}, - A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.llsr_import_64(control::Ptr{llsr_control_type{Float64,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + m::Int64, n::Int64, A_type::Ptr{Cchar}, + A_ne::Int64, A_row::Ptr{Int64}, + A_col::Ptr{Int64}, A_ptr::Ptr{Int64})::Cvoid end function llsr_import(::Type{Float128}, ::Type{Int32}, control, data, status, m, n, A_type, @@ -191,12 +193,13 @@ end function llsr_import(::Type{Float128}, ::Type{Int64}, control, data, status, m, n, A_type, A_ne, A_row, A_col, A_ptr) - @ccall libgalahad_quadruple_64.llsr_import_q(control::Ptr{llsr_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - m::Int64, n::Int64, A_type::Ptr{Cchar}, - A_ne::Int64, A_row::Ptr{Int64}, - A_col::Ptr{Int64}, A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.llsr_import_q_64(control::Ptr{llsr_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + m::Int64, n::Int64, A_type::Ptr{Cchar}, + A_ne::Int64, A_row::Ptr{Int64}, + A_col::Ptr{Int64}, + A_ptr::Ptr{Int64})::Cvoid end export llsr_import_scaling @@ -213,13 +216,13 @@ end function llsr_import_scaling(::Type{Float32}, ::Type{Int64}, control, data, status, n, S_type, S_ne, S_row, S_col, S_ptr) - @ccall libgalahad_single_64.llsr_import_scaling_s(control::Ptr{llsr_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - S_type::Ptr{Cchar}, S_ne::Int64, - S_row::Ptr{Int64}, S_col::Ptr{Int64}, - S_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.llsr_import_scaling_s_64(control::Ptr{llsr_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + S_type::Ptr{Cchar}, S_ne::Int64, + S_row::Ptr{Int64}, S_col::Ptr{Int64}, + S_ptr::Ptr{Int64})::Cvoid end function llsr_import_scaling(::Type{Float64}, ::Type{Int32}, control, data, status, n, @@ -234,12 +237,13 @@ end function llsr_import_scaling(::Type{Float64}, ::Type{Int64}, control, data, status, n, S_type, S_ne, S_row, S_col, S_ptr) - @ccall libgalahad_double_64.llsr_import_scaling(control::Ptr{llsr_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, S_type::Ptr{Cchar}, S_ne::Int64, - S_row::Ptr{Int64}, S_col::Ptr{Int64}, - S_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.llsr_import_scaling_64(control::Ptr{llsr_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + S_type::Ptr{Cchar}, S_ne::Int64, + S_row::Ptr{Int64}, S_col::Ptr{Int64}, + S_ptr::Ptr{Int64})::Cvoid end function llsr_import_scaling(::Type{Float128}, ::Type{Int32}, control, data, status, n, @@ -255,13 +259,14 @@ end function llsr_import_scaling(::Type{Float128}, ::Type{Int64}, control, data, status, n, S_type, S_ne, S_row, S_col, S_ptr) - @ccall libgalahad_quadruple_64.llsr_import_scaling_q(control::Ptr{llsr_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - S_type::Ptr{Cchar}, S_ne::Int64, - S_row::Ptr{Int64}, S_col::Ptr{Int64}, - S_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.llsr_import_scaling_q_64(control::Ptr{llsr_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + S_type::Ptr{Cchar}, S_ne::Int64, + S_row::Ptr{Int64}, + S_col::Ptr{Int64}, + S_ptr::Ptr{Int64})::Cvoid end export llsr_reset_control @@ -274,10 +279,10 @@ function llsr_reset_control(::Type{Float32}, ::Type{Int32}, control, data, statu end function llsr_reset_control(::Type{Float32}, ::Type{Int64}, control, data, status) - @ccall libgalahad_single_64.llsr_reset_control_s(control::Ptr{llsr_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.llsr_reset_control_s_64(control::Ptr{llsr_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function llsr_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status) @@ -287,10 +292,10 @@ function llsr_reset_control(::Type{Float64}, ::Type{Int32}, control, data, statu end function llsr_reset_control(::Type{Float64}, ::Type{Int64}, control, data, status) - @ccall libgalahad_double_64.llsr_reset_control(control::Ptr{llsr_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.llsr_reset_control_64(control::Ptr{llsr_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function llsr_reset_control(::Type{Float128}, ::Type{Int32}, control, data, status) @@ -301,10 +306,10 @@ function llsr_reset_control(::Type{Float128}, ::Type{Int32}, control, data, stat end function llsr_reset_control(::Type{Float128}, ::Type{Int64}, control, data, status) - @ccall libgalahad_quadruple_64.llsr_reset_control_q(control::Ptr{llsr_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.llsr_reset_control_q_64(control::Ptr{llsr_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end export llsr_solve_problem @@ -321,12 +326,13 @@ end function llsr_solve_problem(::Type{Float32}, ::Type{Int64}, data, status, m, n, power, weight, A_ne, A_val, b, x, S_ne, S_val) - @ccall libgalahad_single_64.llsr_solve_problem_s(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, m::Int64, n::Int64, - power::Float32, weight::Float32, - A_ne::Int64, A_val::Ptr{Float32}, - b::Ptr{Float32}, x::Ptr{Float32}, - S_ne::Int64, S_val::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.llsr_solve_problem_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, m::Int64, + n::Int64, power::Float32, + weight::Float32, A_ne::Int64, + A_val::Ptr{Float32}, b::Ptr{Float32}, + x::Ptr{Float32}, S_ne::Int64, + S_val::Ptr{Float32})::Cvoid end function llsr_solve_problem(::Type{Float64}, ::Type{Int32}, data, status, m, n, power, @@ -341,12 +347,12 @@ end function llsr_solve_problem(::Type{Float64}, ::Type{Int64}, data, status, m, n, power, weight, A_ne, A_val, b, x, S_ne, S_val) - @ccall libgalahad_double_64.llsr_solve_problem(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - m::Int64, n::Int64, power::Float64, - weight::Float64, A_ne::Int64, - A_val::Ptr{Float64}, b::Ptr{Float64}, - x::Ptr{Float64}, S_ne::Int64, - S_val::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.llsr_solve_problem_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, m::Int64, n::Int64, + power::Float64, weight::Float64, + A_ne::Int64, A_val::Ptr{Float64}, + b::Ptr{Float64}, x::Ptr{Float64}, + S_ne::Int64, S_val::Ptr{Float64})::Cvoid end function llsr_solve_problem(::Type{Float128}, ::Type{Int32}, data, status, m, n, power, @@ -361,14 +367,14 @@ end function llsr_solve_problem(::Type{Float128}, ::Type{Int64}, data, status, m, n, power, weight, A_ne, A_val, b, x, S_ne, S_val) - @ccall libgalahad_quadruple_64.llsr_solve_problem_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, m::Int64, - n::Int64, power::Cfloat128, - weight::Cfloat128, A_ne::Int64, - A_val::Ptr{Float128}, - b::Ptr{Float128}, x::Ptr{Float128}, - S_ne::Int64, - S_val::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.llsr_solve_problem_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, m::Int64, + n::Int64, power::Cfloat128, + weight::Cfloat128, A_ne::Int64, + A_val::Ptr{Float128}, + b::Ptr{Float128}, x::Ptr{Float128}, + S_ne::Int64, + S_val::Ptr{Float128})::Cvoid end export llsr_information @@ -380,10 +386,10 @@ function llsr_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function llsr_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.llsr_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{llsr_inform_type{Float32, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.llsr_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{llsr_inform_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function llsr_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -393,9 +399,10 @@ function llsr_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function llsr_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.llsr_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{llsr_inform_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.llsr_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{llsr_inform_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function llsr_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -406,10 +413,10 @@ function llsr_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function llsr_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.llsr_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{llsr_inform_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.llsr_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{llsr_inform_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export llsr_terminate @@ -421,10 +428,11 @@ function llsr_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function llsr_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.llsr_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{llsr_control_type{Float32, - Int64}}, - inform::Ptr{llsr_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.llsr_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{llsr_control_type{Float32, + Int64}}, + inform::Ptr{llsr_inform_type{Float32, + Int64}})::Cvoid end function llsr_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -434,9 +442,10 @@ function llsr_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function llsr_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.llsr_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{llsr_control_type{Float64,Int64}}, - inform::Ptr{llsr_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.llsr_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{llsr_control_type{Float64, + Int64}}, + inform::Ptr{llsr_inform_type{Float64,Int64}})::Cvoid end function llsr_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -447,9 +456,9 @@ function llsr_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function llsr_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.llsr_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{llsr_control_type{Float128, - Int64}}, - inform::Ptr{llsr_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.llsr_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{llsr_control_type{Float128, + Int64}}, + inform::Ptr{llsr_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/llst.jl b/GALAHAD.jl/src/wrappers/llst.jl index dd95af0641..b736f71478 100644 --- a/GALAHAD.jl/src/wrappers/llst.jl +++ b/GALAHAD.jl/src/wrappers/llst.jl @@ -74,10 +74,10 @@ function llst_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function llst_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.llst_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{llst_control_type{Float32, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.llst_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{llst_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function llst_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -87,9 +87,10 @@ function llst_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function llst_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.llst_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{llst_control_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.llst_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{llst_control_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function llst_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -100,10 +101,10 @@ function llst_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) end function llst_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.llst_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{llst_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.llst_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{llst_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export llst_read_specfile @@ -115,9 +116,9 @@ function llst_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfile) end function llst_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.llst_read_specfile_s(control::Ptr{llst_control_type{Float32, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.llst_read_specfile_s_64(control::Ptr{llst_control_type{Float32, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function llst_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -126,9 +127,9 @@ function llst_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) end function llst_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.llst_read_specfile(control::Ptr{llst_control_type{Float64, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.llst_read_specfile_64(control::Ptr{llst_control_type{Float64, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function llst_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -138,9 +139,9 @@ function llst_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) end function llst_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.llst_read_specfile_q(control::Ptr{llst_control_type{Float128, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.llst_read_specfile_q_64(control::Ptr{llst_control_type{Float128, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end export llst_import @@ -156,11 +157,12 @@ end function llst_import(::Type{Float32}, ::Type{Int64}, control, data, status, m, n, A_type, A_ne, A_row, A_col, A_ptr) - @ccall libgalahad_single_64.llst_import_s(control::Ptr{llst_control_type{Float32,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - m::Int64, n::Int64, A_type::Ptr{Cchar}, - A_ne::Int64, A_row::Ptr{Int64}, - A_col::Ptr{Int64}, A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.llst_import_s_64(control::Ptr{llst_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + m::Int64, n::Int64, A_type::Ptr{Cchar}, + A_ne::Int64, A_row::Ptr{Int64}, + A_col::Ptr{Int64}, A_ptr::Ptr{Int64})::Cvoid end function llst_import(::Type{Float64}, ::Type{Int32}, control, data, status, m, n, A_type, @@ -174,11 +176,11 @@ end function llst_import(::Type{Float64}, ::Type{Int64}, control, data, status, m, n, A_type, A_ne, A_row, A_col, A_ptr) - @ccall libgalahad_double_64.llst_import(control::Ptr{llst_control_type{Float64,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - m::Int64, n::Int64, A_type::Ptr{Cchar}, - A_ne::Int64, A_row::Ptr{Int64}, A_col::Ptr{Int64}, - A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.llst_import_64(control::Ptr{llst_control_type{Float64,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + m::Int64, n::Int64, A_type::Ptr{Cchar}, + A_ne::Int64, A_row::Ptr{Int64}, + A_col::Ptr{Int64}, A_ptr::Ptr{Int64})::Cvoid end function llst_import(::Type{Float128}, ::Type{Int32}, control, data, status, m, n, A_type, @@ -192,12 +194,13 @@ end function llst_import(::Type{Float128}, ::Type{Int64}, control, data, status, m, n, A_type, A_ne, A_row, A_col, A_ptr) - @ccall libgalahad_quadruple_64.llst_import_q(control::Ptr{llst_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - m::Int64, n::Int64, A_type::Ptr{Cchar}, - A_ne::Int64, A_row::Ptr{Int64}, - A_col::Ptr{Int64}, A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.llst_import_q_64(control::Ptr{llst_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + m::Int64, n::Int64, A_type::Ptr{Cchar}, + A_ne::Int64, A_row::Ptr{Int64}, + A_col::Ptr{Int64}, + A_ptr::Ptr{Int64})::Cvoid end export llst_import_scaling @@ -214,13 +217,13 @@ end function llst_import_scaling(::Type{Float32}, ::Type{Int64}, control, data, status, n, S_type, S_ne, S_row, S_col, S_ptr) - @ccall libgalahad_single_64.llst_import_scaling_s(control::Ptr{llst_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - S_type::Ptr{Cchar}, S_ne::Int64, - S_row::Ptr{Int64}, S_col::Ptr{Int64}, - S_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.llst_import_scaling_s_64(control::Ptr{llst_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + S_type::Ptr{Cchar}, S_ne::Int64, + S_row::Ptr{Int64}, S_col::Ptr{Int64}, + S_ptr::Ptr{Int64})::Cvoid end function llst_import_scaling(::Type{Float64}, ::Type{Int32}, control, data, status, n, @@ -235,12 +238,13 @@ end function llst_import_scaling(::Type{Float64}, ::Type{Int64}, control, data, status, n, S_type, S_ne, S_row, S_col, S_ptr) - @ccall libgalahad_double_64.llst_import_scaling(control::Ptr{llst_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, S_type::Ptr{Cchar}, S_ne::Int64, - S_row::Ptr{Int64}, S_col::Ptr{Int64}, - S_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.llst_import_scaling_64(control::Ptr{llst_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + S_type::Ptr{Cchar}, S_ne::Int64, + S_row::Ptr{Int64}, S_col::Ptr{Int64}, + S_ptr::Ptr{Int64})::Cvoid end function llst_import_scaling(::Type{Float128}, ::Type{Int32}, control, data, status, n, @@ -256,13 +260,14 @@ end function llst_import_scaling(::Type{Float128}, ::Type{Int64}, control, data, status, n, S_type, S_ne, S_row, S_col, S_ptr) - @ccall libgalahad_quadruple_64.llst_import_scaling_q(control::Ptr{llst_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - S_type::Ptr{Cchar}, S_ne::Int64, - S_row::Ptr{Int64}, S_col::Ptr{Int64}, - S_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.llst_import_scaling_q_64(control::Ptr{llst_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + S_type::Ptr{Cchar}, S_ne::Int64, + S_row::Ptr{Int64}, + S_col::Ptr{Int64}, + S_ptr::Ptr{Int64})::Cvoid end export llst_reset_control @@ -275,10 +280,10 @@ function llst_reset_control(::Type{Float32}, ::Type{Int32}, control, data, statu end function llst_reset_control(::Type{Float32}, ::Type{Int64}, control, data, status) - @ccall libgalahad_single_64.llst_reset_control_s(control::Ptr{llst_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.llst_reset_control_s_64(control::Ptr{llst_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function llst_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status) @@ -288,10 +293,10 @@ function llst_reset_control(::Type{Float64}, ::Type{Int32}, control, data, statu end function llst_reset_control(::Type{Float64}, ::Type{Int64}, control, data, status) - @ccall libgalahad_double_64.llst_reset_control(control::Ptr{llst_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.llst_reset_control_64(control::Ptr{llst_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function llst_reset_control(::Type{Float128}, ::Type{Int32}, control, data, status) @@ -302,10 +307,10 @@ function llst_reset_control(::Type{Float128}, ::Type{Int32}, control, data, stat end function llst_reset_control(::Type{Float128}, ::Type{Int64}, control, data, status) - @ccall libgalahad_quadruple_64.llst_reset_control_q(control::Ptr{llst_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.llst_reset_control_q_64(control::Ptr{llst_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end export llst_solve_problem @@ -321,12 +326,13 @@ end function llst_solve_problem(::Type{Float32}, ::Type{Int64}, data, status, m, n, radius, A_ne, A_val, b, x, S_ne, S_val) - @ccall libgalahad_single_64.llst_solve_problem_s(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, m::Int64, n::Int64, - radius::Float32, A_ne::Int64, - A_val::Ptr{Float32}, b::Ptr{Float32}, - x::Ptr{Float32}, S_ne::Int64, - S_val::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.llst_solve_problem_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, m::Int64, + n::Int64, radius::Float32, + A_ne::Int64, A_val::Ptr{Float32}, + b::Ptr{Float32}, x::Ptr{Float32}, + S_ne::Int64, + S_val::Ptr{Float32})::Cvoid end function llst_solve_problem(::Type{Float64}, ::Type{Int32}, data, status, m, n, radius, @@ -340,11 +346,12 @@ end function llst_solve_problem(::Type{Float64}, ::Type{Int64}, data, status, m, n, radius, A_ne, A_val, b, x, S_ne, S_val) - @ccall libgalahad_double_64.llst_solve_problem(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - m::Int64, n::Int64, radius::Float64, - A_ne::Int64, A_val::Ptr{Float64}, - b::Ptr{Float64}, x::Ptr{Float64}, - S_ne::Int64, S_val::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.llst_solve_problem_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, m::Int64, n::Int64, + radius::Float64, A_ne::Int64, + A_val::Ptr{Float64}, b::Ptr{Float64}, + x::Ptr{Float64}, S_ne::Int64, + S_val::Ptr{Float64})::Cvoid end function llst_solve_problem(::Type{Float128}, ::Type{Int32}, data, status, m, n, radius, @@ -359,13 +366,13 @@ end function llst_solve_problem(::Type{Float128}, ::Type{Int64}, data, status, m, n, radius, A_ne, A_val, b, x, S_ne, S_val) - @ccall libgalahad_quadruple_64.llst_solve_problem_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, m::Int64, - n::Int64, radius::Cfloat128, - A_ne::Int64, A_val::Ptr{Float128}, - b::Ptr{Float128}, x::Ptr{Float128}, - S_ne::Int64, - S_val::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.llst_solve_problem_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, m::Int64, + n::Int64, radius::Cfloat128, + A_ne::Int64, A_val::Ptr{Float128}, + b::Ptr{Float128}, x::Ptr{Float128}, + S_ne::Int64, + S_val::Ptr{Float128})::Cvoid end export llst_information @@ -377,10 +384,10 @@ function llst_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function llst_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.llst_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{llst_inform_type{Float32, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.llst_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{llst_inform_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function llst_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -390,9 +397,10 @@ function llst_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function llst_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.llst_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{llst_inform_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.llst_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{llst_inform_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function llst_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -403,10 +411,10 @@ function llst_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function llst_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.llst_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{llst_inform_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.llst_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{llst_inform_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export llst_terminate @@ -418,10 +426,11 @@ function llst_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function llst_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.llst_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{llst_control_type{Float32, - Int64}}, - inform::Ptr{llst_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.llst_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{llst_control_type{Float32, + Int64}}, + inform::Ptr{llst_inform_type{Float32, + Int64}})::Cvoid end function llst_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -431,9 +440,10 @@ function llst_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function llst_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.llst_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{llst_control_type{Float64,Int64}}, - inform::Ptr{llst_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.llst_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{llst_control_type{Float64, + Int64}}, + inform::Ptr{llst_inform_type{Float64,Int64}})::Cvoid end function llst_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -444,9 +454,9 @@ function llst_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function llst_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.llst_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{llst_control_type{Float128, - Int64}}, - inform::Ptr{llst_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.llst_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{llst_control_type{Float128, + Int64}}, + inform::Ptr{llst_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/lms.jl b/GALAHAD.jl/src/wrappers/lms.jl index c1421faf7f..041cac64d3 100644 --- a/GALAHAD.jl/src/wrappers/lms.jl +++ b/GALAHAD.jl/src/wrappers/lms.jl @@ -46,9 +46,9 @@ function lms_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function lms_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.lms_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{lms_control_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.lms_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{lms_control_type{Int64}}, + status::Ptr{Int64})::Cvoid end function lms_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -58,9 +58,9 @@ function lms_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function lms_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.lms_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{lms_control_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.lms_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{lms_control_type{Int64}}, + status::Ptr{Int64})::Cvoid end function lms_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -70,9 +70,9 @@ function lms_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) end function lms_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.lms_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{lms_control_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.lms_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{lms_control_type{Int64}}, + status::Ptr{Int64})::Cvoid end export lms_information @@ -84,9 +84,10 @@ function lms_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function lms_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.lms_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{lms_inform_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.lms_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{lms_inform_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function lms_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -96,9 +97,9 @@ function lms_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function lms_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.lms_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{lms_inform_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.lms_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{lms_inform_type{Float64,Int64}}, + status::Ptr{Int64})::Cvoid end function lms_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -108,10 +109,10 @@ function lms_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function lms_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.lms_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{lms_inform_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.lms_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{lms_inform_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export lms_terminate @@ -123,9 +124,9 @@ function lms_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function lms_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.lms_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{lms_control_type{Int64}}, - inform::Ptr{lms_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.lms_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{lms_control_type{Int64}}, + inform::Ptr{lms_inform_type{Float32,Int64}})::Cvoid end function lms_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -135,9 +136,9 @@ function lms_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function lms_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.lms_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{lms_control_type{Int64}}, - inform::Ptr{lms_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.lms_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{lms_control_type{Int64}}, + inform::Ptr{lms_inform_type{Float64,Int64}})::Cvoid end function lms_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -147,8 +148,8 @@ function lms_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function lms_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.lms_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{lms_control_type{Int64}}, - inform::Ptr{lms_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.lms_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{lms_control_type{Int64}}, + inform::Ptr{lms_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/lpa.jl b/GALAHAD.jl/src/wrappers/lpa.jl index 970c6628f0..4e3dcf6072 100644 --- a/GALAHAD.jl/src/wrappers/lpa.jl +++ b/GALAHAD.jl/src/wrappers/lpa.jl @@ -72,9 +72,10 @@ function lpa_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function lpa_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.lpa_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{lpa_control_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.lpa_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{lpa_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function lpa_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -84,9 +85,10 @@ function lpa_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function lpa_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.lpa_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{lpa_control_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.lpa_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{lpa_control_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function lpa_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -97,10 +99,10 @@ function lpa_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) end function lpa_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.lpa_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{lpa_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.lpa_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{lpa_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export lpa_read_specfile @@ -111,9 +113,9 @@ function lpa_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfile) end function lpa_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.lpa_read_specfile_s(control::Ptr{lpa_control_type{Float32, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.lpa_read_specfile_s_64(control::Ptr{lpa_control_type{Float32, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function lpa_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -122,9 +124,9 @@ function lpa_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) end function lpa_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.lpa_read_specfile(control::Ptr{lpa_control_type{Float64, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.lpa_read_specfile_64(control::Ptr{lpa_control_type{Float64, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function lpa_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -134,9 +136,9 @@ function lpa_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) end function lpa_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.lpa_read_specfile_q(control::Ptr{lpa_control_type{Float128, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.lpa_read_specfile_q_64(control::Ptr{lpa_control_type{Float128, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end export lpa_import @@ -152,11 +154,11 @@ end function lpa_import(::Type{Float32}, ::Type{Int64}, control, data, status, n, m, A_type, A_ne, A_row, A_col, A_ptr) - @ccall libgalahad_single_64.lpa_import_s(control::Ptr{lpa_control_type{Float32,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, A_type::Ptr{Cchar}, - A_ne::Int64, A_row::Ptr{Int64}, - A_col::Ptr{Int64}, A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.lpa_import_s_64(control::Ptr{lpa_control_type{Float32,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, A_type::Ptr{Cchar}, + A_ne::Int64, A_row::Ptr{Int64}, + A_col::Ptr{Int64}, A_ptr::Ptr{Int64})::Cvoid end function lpa_import(::Type{Float64}, ::Type{Int32}, control, data, status, n, m, A_type, @@ -170,11 +172,11 @@ end function lpa_import(::Type{Float64}, ::Type{Int64}, control, data, status, n, m, A_type, A_ne, A_row, A_col, A_ptr) - @ccall libgalahad_double_64.lpa_import(control::Ptr{lpa_control_type{Float64,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, A_type::Ptr{Cchar}, - A_ne::Int64, A_row::Ptr{Int64}, A_col::Ptr{Int64}, - A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.lpa_import_64(control::Ptr{lpa_control_type{Float64,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, A_type::Ptr{Cchar}, + A_ne::Int64, A_row::Ptr{Int64}, + A_col::Ptr{Int64}, A_ptr::Ptr{Int64})::Cvoid end function lpa_import(::Type{Float128}, ::Type{Int32}, control, data, status, n, m, A_type, @@ -188,11 +190,13 @@ end function lpa_import(::Type{Float128}, ::Type{Int64}, control, data, status, n, m, A_type, A_ne, A_row, A_col, A_ptr) - @ccall libgalahad_quadruple_64.lpa_import_q(control::Ptr{lpa_control_type{Float128,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, A_type::Ptr{Cchar}, - A_ne::Int64, A_row::Ptr{Int64}, - A_col::Ptr{Int64}, A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.lpa_import_q_64(control::Ptr{lpa_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, A_type::Ptr{Cchar}, + A_ne::Int64, A_row::Ptr{Int64}, + A_col::Ptr{Int64}, + A_ptr::Ptr{Int64})::Cvoid end export lpa_reset_control @@ -204,10 +208,10 @@ function lpa_reset_control(::Type{Float32}, ::Type{Int32}, control, data, status end function lpa_reset_control(::Type{Float32}, ::Type{Int64}, control, data, status) - @ccall libgalahad_single_64.lpa_reset_control_s(control::Ptr{lpa_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.lpa_reset_control_s_64(control::Ptr{lpa_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function lpa_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status) @@ -217,10 +221,10 @@ function lpa_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status end function lpa_reset_control(::Type{Float64}, ::Type{Int64}, control, data, status) - @ccall libgalahad_double_64.lpa_reset_control(control::Ptr{lpa_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.lpa_reset_control_64(control::Ptr{lpa_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function lpa_reset_control(::Type{Float128}, ::Type{Int32}, control, data, status) @@ -231,10 +235,10 @@ function lpa_reset_control(::Type{Float128}, ::Type{Int32}, control, data, statu end function lpa_reset_control(::Type{Float128}, ::Type{Int64}, control, data, status) - @ccall libgalahad_quadruple_64.lpa_reset_control_q(control::Ptr{lpa_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.lpa_reset_control_q_64(control::Ptr{lpa_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end export lpa_solve_lp @@ -253,14 +257,15 @@ end function lpa_solve_lp(::Type{Float32}, ::Type{Int64}, data, status, n, m, g, f, a_ne, A_val, c_l, c_u, x_l, x_u, x, c, y, z, x_stat, c_stat) - @ccall libgalahad_single_64.lpa_solve_lp_s(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, g::Ptr{Float32}, - f::Float32, a_ne::Int64, A_val::Ptr{Float32}, - c_l::Ptr{Float32}, c_u::Ptr{Float32}, - x_l::Ptr{Float32}, x_u::Ptr{Float32}, - x::Ptr{Float32}, c::Ptr{Float32}, - y::Ptr{Float32}, z::Ptr{Float32}, - x_stat::Ptr{Int64}, c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.lpa_solve_lp_s_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, g::Ptr{Float32}, + f::Float32, a_ne::Int64, + A_val::Ptr{Float32}, c_l::Ptr{Float32}, + c_u::Ptr{Float32}, x_l::Ptr{Float32}, + x_u::Ptr{Float32}, x::Ptr{Float32}, + c::Ptr{Float32}, y::Ptr{Float32}, + z::Ptr{Float32}, x_stat::Ptr{Int64}, + c_stat::Ptr{Int64})::Cvoid end function lpa_solve_lp(::Type{Float64}, ::Type{Int32}, data, status, n, m, g, f, a_ne, A_val, @@ -276,14 +281,14 @@ end function lpa_solve_lp(::Type{Float64}, ::Type{Int64}, data, status, n, m, g, f, a_ne, A_val, c_l, c_u, x_l, x_u, x, c, y, z, x_stat, c_stat) - @ccall libgalahad_double_64.lpa_solve_lp(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, g::Ptr{Float64}, f::Float64, - a_ne::Int64, A_val::Ptr{Float64}, - c_l::Ptr{Float64}, c_u::Ptr{Float64}, - x_l::Ptr{Float64}, x_u::Ptr{Float64}, - x::Ptr{Float64}, c::Ptr{Float64}, - y::Ptr{Float64}, z::Ptr{Float64}, - x_stat::Ptr{Int64}, c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.lpa_solve_lp_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, g::Ptr{Float64}, + f::Float64, a_ne::Int64, A_val::Ptr{Float64}, + c_l::Ptr{Float64}, c_u::Ptr{Float64}, + x_l::Ptr{Float64}, x_u::Ptr{Float64}, + x::Ptr{Float64}, c::Ptr{Float64}, + y::Ptr{Float64}, z::Ptr{Float64}, + x_stat::Ptr{Int64}, c_stat::Ptr{Int64})::Cvoid end function lpa_solve_lp(::Type{Float128}, ::Type{Int32}, data, status, n, m, g, f, a_ne, @@ -301,15 +306,16 @@ end function lpa_solve_lp(::Type{Float128}, ::Type{Int64}, data, status, n, m, g, f, a_ne, A_val, c_l, c_u, x_l, x_u, x, c, y, z, x_stat, c_stat) - @ccall libgalahad_quadruple_64.lpa_solve_lp_q(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, g::Ptr{Float128}, - f::Cfloat128, a_ne::Int64, - A_val::Ptr{Float128}, c_l::Ptr{Float128}, - c_u::Ptr{Float128}, x_l::Ptr{Float128}, - x_u::Ptr{Float128}, x::Ptr{Float128}, - c::Ptr{Float128}, y::Ptr{Float128}, - z::Ptr{Float128}, x_stat::Ptr{Int64}, - c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.lpa_solve_lp_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, m::Int64, + g::Ptr{Float128}, f::Cfloat128, + a_ne::Int64, A_val::Ptr{Float128}, + c_l::Ptr{Float128}, c_u::Ptr{Float128}, + x_l::Ptr{Float128}, x_u::Ptr{Float128}, + x::Ptr{Float128}, c::Ptr{Float128}, + y::Ptr{Float128}, z::Ptr{Float128}, + x_stat::Ptr{Int64}, + c_stat::Ptr{Int64})::Cvoid end export lpa_information @@ -321,9 +327,10 @@ function lpa_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function lpa_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.lpa_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{lpa_inform_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.lpa_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{lpa_inform_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function lpa_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -333,9 +340,9 @@ function lpa_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function lpa_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.lpa_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{lpa_inform_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.lpa_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{lpa_inform_type{Float64,Int64}}, + status::Ptr{Int64})::Cvoid end function lpa_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -345,10 +352,10 @@ function lpa_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function lpa_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.lpa_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{lpa_inform_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.lpa_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{lpa_inform_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export lpa_terminate @@ -360,9 +367,10 @@ function lpa_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function lpa_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.lpa_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{lpa_control_type{Float32,Int64}}, - inform::Ptr{lpa_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.lpa_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{lpa_control_type{Float32, + Int64}}, + inform::Ptr{lpa_inform_type{Float32,Int64}})::Cvoid end function lpa_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -372,9 +380,9 @@ function lpa_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function lpa_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.lpa_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{lpa_control_type{Float64,Int64}}, - inform::Ptr{lpa_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.lpa_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{lpa_control_type{Float64,Int64}}, + inform::Ptr{lpa_inform_type{Float64,Int64}})::Cvoid end function lpa_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -384,9 +392,9 @@ function lpa_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function lpa_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.lpa_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{lpa_control_type{Float128, - Int64}}, - inform::Ptr{lpa_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.lpa_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{lpa_control_type{Float128, + Int64}}, + inform::Ptr{lpa_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/lpb.jl b/GALAHAD.jl/src/wrappers/lpb.jl index be69feb281..a396f04c2b 100644 --- a/GALAHAD.jl/src/wrappers/lpb.jl +++ b/GALAHAD.jl/src/wrappers/lpb.jl @@ -122,9 +122,10 @@ function lpb_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function lpb_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.lpb_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{lpb_control_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.lpb_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{lpb_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function lpb_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -134,9 +135,10 @@ function lpb_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function lpb_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.lpb_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{lpb_control_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.lpb_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{lpb_control_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function lpb_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -147,10 +149,10 @@ function lpb_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) end function lpb_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.lpb_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{lpb_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.lpb_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{lpb_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export lpb_read_specfile @@ -161,9 +163,9 @@ function lpb_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfile) end function lpb_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.lpb_read_specfile_s(control::Ptr{lpb_control_type{Float32, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.lpb_read_specfile_s_64(control::Ptr{lpb_control_type{Float32, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function lpb_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -172,9 +174,9 @@ function lpb_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) end function lpb_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.lpb_read_specfile(control::Ptr{lpb_control_type{Float64, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.lpb_read_specfile_64(control::Ptr{lpb_control_type{Float64, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function lpb_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -184,9 +186,9 @@ function lpb_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) end function lpb_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.lpb_read_specfile_q(control::Ptr{lpb_control_type{Float128, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.lpb_read_specfile_q_64(control::Ptr{lpb_control_type{Float128, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end export lpb_import @@ -202,11 +204,11 @@ end function lpb_import(::Type{Float32}, ::Type{Int64}, control, data, status, n, m, A_type, A_ne, A_row, A_col, A_ptr) - @ccall libgalahad_single_64.lpb_import_s(control::Ptr{lpb_control_type{Float32,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, A_type::Ptr{Cchar}, - A_ne::Int64, A_row::Ptr{Int64}, - A_col::Ptr{Int64}, A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.lpb_import_s_64(control::Ptr{lpb_control_type{Float32,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, A_type::Ptr{Cchar}, + A_ne::Int64, A_row::Ptr{Int64}, + A_col::Ptr{Int64}, A_ptr::Ptr{Int64})::Cvoid end function lpb_import(::Type{Float64}, ::Type{Int32}, control, data, status, n, m, A_type, @@ -220,11 +222,11 @@ end function lpb_import(::Type{Float64}, ::Type{Int64}, control, data, status, n, m, A_type, A_ne, A_row, A_col, A_ptr) - @ccall libgalahad_double_64.lpb_import(control::Ptr{lpb_control_type{Float64,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, A_type::Ptr{Cchar}, - A_ne::Int64, A_row::Ptr{Int64}, A_col::Ptr{Int64}, - A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.lpb_import_64(control::Ptr{lpb_control_type{Float64,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, A_type::Ptr{Cchar}, + A_ne::Int64, A_row::Ptr{Int64}, + A_col::Ptr{Int64}, A_ptr::Ptr{Int64})::Cvoid end function lpb_import(::Type{Float128}, ::Type{Int32}, control, data, status, n, m, A_type, @@ -238,11 +240,13 @@ end function lpb_import(::Type{Float128}, ::Type{Int64}, control, data, status, n, m, A_type, A_ne, A_row, A_col, A_ptr) - @ccall libgalahad_quadruple_64.lpb_import_q(control::Ptr{lpb_control_type{Float128,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, A_type::Ptr{Cchar}, - A_ne::Int64, A_row::Ptr{Int64}, - A_col::Ptr{Int64}, A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.lpb_import_q_64(control::Ptr{lpb_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, A_type::Ptr{Cchar}, + A_ne::Int64, A_row::Ptr{Int64}, + A_col::Ptr{Int64}, + A_ptr::Ptr{Int64})::Cvoid end export lpb_reset_control @@ -254,10 +258,10 @@ function lpb_reset_control(::Type{Float32}, ::Type{Int32}, control, data, status end function lpb_reset_control(::Type{Float32}, ::Type{Int64}, control, data, status) - @ccall libgalahad_single_64.lpb_reset_control_s(control::Ptr{lpb_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.lpb_reset_control_s_64(control::Ptr{lpb_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function lpb_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status) @@ -267,10 +271,10 @@ function lpb_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status end function lpb_reset_control(::Type{Float64}, ::Type{Int64}, control, data, status) - @ccall libgalahad_double_64.lpb_reset_control(control::Ptr{lpb_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.lpb_reset_control_64(control::Ptr{lpb_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function lpb_reset_control(::Type{Float128}, ::Type{Int32}, control, data, status) @@ -281,10 +285,10 @@ function lpb_reset_control(::Type{Float128}, ::Type{Int32}, control, data, statu end function lpb_reset_control(::Type{Float128}, ::Type{Int64}, control, data, status) - @ccall libgalahad_quadruple_64.lpb_reset_control_q(control::Ptr{lpb_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.lpb_reset_control_q_64(control::Ptr{lpb_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end export lpb_solve_lp @@ -303,14 +307,15 @@ end function lpb_solve_lp(::Type{Float32}, ::Type{Int64}, data, status, n, m, g, f, a_ne, A_val, c_l, c_u, x_l, x_u, x, c, y, z, x_stat, c_stat) - @ccall libgalahad_single_64.lpb_solve_lp_s(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, g::Ptr{Float32}, - f::Float32, a_ne::Int64, A_val::Ptr{Float32}, - c_l::Ptr{Float32}, c_u::Ptr{Float32}, - x_l::Ptr{Float32}, x_u::Ptr{Float32}, - x::Ptr{Float32}, c::Ptr{Float32}, - y::Ptr{Float32}, z::Ptr{Float32}, - x_stat::Ptr{Int64}, c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.lpb_solve_lp_s_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, g::Ptr{Float32}, + f::Float32, a_ne::Int64, + A_val::Ptr{Float32}, c_l::Ptr{Float32}, + c_u::Ptr{Float32}, x_l::Ptr{Float32}, + x_u::Ptr{Float32}, x::Ptr{Float32}, + c::Ptr{Float32}, y::Ptr{Float32}, + z::Ptr{Float32}, x_stat::Ptr{Int64}, + c_stat::Ptr{Int64})::Cvoid end function lpb_solve_lp(::Type{Float64}, ::Type{Int32}, data, status, n, m, g, f, a_ne, A_val, @@ -326,14 +331,14 @@ end function lpb_solve_lp(::Type{Float64}, ::Type{Int64}, data, status, n, m, g, f, a_ne, A_val, c_l, c_u, x_l, x_u, x, c, y, z, x_stat, c_stat) - @ccall libgalahad_double_64.lpb_solve_lp(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, g::Ptr{Float64}, f::Float64, - a_ne::Int64, A_val::Ptr{Float64}, - c_l::Ptr{Float64}, c_u::Ptr{Float64}, - x_l::Ptr{Float64}, x_u::Ptr{Float64}, - x::Ptr{Float64}, c::Ptr{Float64}, - y::Ptr{Float64}, z::Ptr{Float64}, - x_stat::Ptr{Int64}, c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.lpb_solve_lp_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, g::Ptr{Float64}, + f::Float64, a_ne::Int64, A_val::Ptr{Float64}, + c_l::Ptr{Float64}, c_u::Ptr{Float64}, + x_l::Ptr{Float64}, x_u::Ptr{Float64}, + x::Ptr{Float64}, c::Ptr{Float64}, + y::Ptr{Float64}, z::Ptr{Float64}, + x_stat::Ptr{Int64}, c_stat::Ptr{Int64})::Cvoid end function lpb_solve_lp(::Type{Float128}, ::Type{Int32}, data, status, n, m, g, f, a_ne, @@ -351,15 +356,16 @@ end function lpb_solve_lp(::Type{Float128}, ::Type{Int64}, data, status, n, m, g, f, a_ne, A_val, c_l, c_u, x_l, x_u, x, c, y, z, x_stat, c_stat) - @ccall libgalahad_quadruple_64.lpb_solve_lp_q(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, g::Ptr{Float128}, - f::Cfloat128, a_ne::Int64, - A_val::Ptr{Float128}, c_l::Ptr{Float128}, - c_u::Ptr{Float128}, x_l::Ptr{Float128}, - x_u::Ptr{Float128}, x::Ptr{Float128}, - c::Ptr{Float128}, y::Ptr{Float128}, - z::Ptr{Float128}, x_stat::Ptr{Int64}, - c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.lpb_solve_lp_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, m::Int64, + g::Ptr{Float128}, f::Cfloat128, + a_ne::Int64, A_val::Ptr{Float128}, + c_l::Ptr{Float128}, c_u::Ptr{Float128}, + x_l::Ptr{Float128}, x_u::Ptr{Float128}, + x::Ptr{Float128}, c::Ptr{Float128}, + y::Ptr{Float128}, z::Ptr{Float128}, + x_stat::Ptr{Int64}, + c_stat::Ptr{Int64})::Cvoid end export lpb_information @@ -371,9 +377,10 @@ function lpb_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function lpb_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.lpb_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{lpb_inform_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.lpb_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{lpb_inform_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function lpb_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -383,9 +390,9 @@ function lpb_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function lpb_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.lpb_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{lpb_inform_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.lpb_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{lpb_inform_type{Float64,Int64}}, + status::Ptr{Int64})::Cvoid end function lpb_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -395,10 +402,10 @@ function lpb_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function lpb_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.lpb_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{lpb_inform_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.lpb_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{lpb_inform_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export lpb_terminate @@ -410,9 +417,10 @@ function lpb_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function lpb_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.lpb_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{lpb_control_type{Float32,Int64}}, - inform::Ptr{lpb_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.lpb_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{lpb_control_type{Float32, + Int64}}, + inform::Ptr{lpb_inform_type{Float32,Int64}})::Cvoid end function lpb_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -422,9 +430,9 @@ function lpb_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function lpb_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.lpb_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{lpb_control_type{Float64,Int64}}, - inform::Ptr{lpb_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.lpb_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{lpb_control_type{Float64,Int64}}, + inform::Ptr{lpb_inform_type{Float64,Int64}})::Cvoid end function lpb_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -434,9 +442,9 @@ function lpb_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function lpb_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.lpb_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{lpb_control_type{Float128, - Int64}}, - inform::Ptr{lpb_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.lpb_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{lpb_control_type{Float128, + Int64}}, + inform::Ptr{lpb_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/lsqp.jl b/GALAHAD.jl/src/wrappers/lsqp.jl index 081db8a701..dfec3bfdb7 100644 --- a/GALAHAD.jl/src/wrappers/lsqp.jl +++ b/GALAHAD.jl/src/wrappers/lsqp.jl @@ -106,10 +106,10 @@ function lsqp_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function lsqp_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.lsqp_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{lsqp_control_type{Float32, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.lsqp_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{lsqp_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function lsqp_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -119,9 +119,10 @@ function lsqp_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function lsqp_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.lsqp_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{lsqp_control_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.lsqp_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{lsqp_control_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function lsqp_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -132,10 +133,10 @@ function lsqp_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) end function lsqp_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.lsqp_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{lsqp_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.lsqp_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{lsqp_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export lsqp_read_specfile @@ -147,9 +148,9 @@ function lsqp_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfile) end function lsqp_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.lsqp_read_specfile_s(control::Ptr{lsqp_control_type{Float32, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.lsqp_read_specfile_s_64(control::Ptr{lsqp_control_type{Float32, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function lsqp_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -158,9 +159,9 @@ function lsqp_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) end function lsqp_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.lsqp_read_specfile(control::Ptr{lsqp_control_type{Float64, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.lsqp_read_specfile_64(control::Ptr{lsqp_control_type{Float64, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function lsqp_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -170,9 +171,9 @@ function lsqp_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) end function lsqp_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.lsqp_read_specfile_q(control::Ptr{lsqp_control_type{Float128, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.lsqp_read_specfile_q_64(control::Ptr{lsqp_control_type{Float128, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end export lsqp_import @@ -188,11 +189,12 @@ end function lsqp_import(::Type{Float32}, ::Type{Int64}, control, data, status, n, m, A_type, A_ne, A_row, A_col, A_ptr) - @ccall libgalahad_single_64.lsqp_import_s(control::Ptr{lsqp_control_type{Float32,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, A_type::Ptr{Cchar}, - A_ne::Int64, A_row::Ptr{Int64}, - A_col::Ptr{Int64}, A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.lsqp_import_s_64(control::Ptr{lsqp_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, A_type::Ptr{Cchar}, + A_ne::Int64, A_row::Ptr{Int64}, + A_col::Ptr{Int64}, A_ptr::Ptr{Int64})::Cvoid end function lsqp_import(::Type{Float64}, ::Type{Int32}, control, data, status, n, m, A_type, @@ -206,11 +208,11 @@ end function lsqp_import(::Type{Float64}, ::Type{Int64}, control, data, status, n, m, A_type, A_ne, A_row, A_col, A_ptr) - @ccall libgalahad_double_64.lsqp_import(control::Ptr{lsqp_control_type{Float64,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, A_type::Ptr{Cchar}, - A_ne::Int64, A_row::Ptr{Int64}, A_col::Ptr{Int64}, - A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.lsqp_import_64(control::Ptr{lsqp_control_type{Float64,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, A_type::Ptr{Cchar}, + A_ne::Int64, A_row::Ptr{Int64}, + A_col::Ptr{Int64}, A_ptr::Ptr{Int64})::Cvoid end function lsqp_import(::Type{Float128}, ::Type{Int32}, control, data, status, n, m, A_type, @@ -224,12 +226,13 @@ end function lsqp_import(::Type{Float128}, ::Type{Int64}, control, data, status, n, m, A_type, A_ne, A_row, A_col, A_ptr) - @ccall libgalahad_quadruple_64.lsqp_import_q(control::Ptr{lsqp_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, A_type::Ptr{Cchar}, - A_ne::Int64, A_row::Ptr{Int64}, - A_col::Ptr{Int64}, A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.lsqp_import_q_64(control::Ptr{lsqp_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, A_type::Ptr{Cchar}, + A_ne::Int64, A_row::Ptr{Int64}, + A_col::Ptr{Int64}, + A_ptr::Ptr{Int64})::Cvoid end export lsqp_reset_control @@ -242,10 +245,10 @@ function lsqp_reset_control(::Type{Float32}, ::Type{Int32}, control, data, statu end function lsqp_reset_control(::Type{Float32}, ::Type{Int64}, control, data, status) - @ccall libgalahad_single_64.lsqp_reset_control_s(control::Ptr{lsqp_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.lsqp_reset_control_s_64(control::Ptr{lsqp_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function lsqp_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status) @@ -255,10 +258,10 @@ function lsqp_reset_control(::Type{Float64}, ::Type{Int32}, control, data, statu end function lsqp_reset_control(::Type{Float64}, ::Type{Int64}, control, data, status) - @ccall libgalahad_double_64.lsqp_reset_control(control::Ptr{lsqp_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.lsqp_reset_control_64(control::Ptr{lsqp_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function lsqp_reset_control(::Type{Float128}, ::Type{Int32}, control, data, status) @@ -269,10 +272,10 @@ function lsqp_reset_control(::Type{Float128}, ::Type{Int32}, control, data, stat end function lsqp_reset_control(::Type{Float128}, ::Type{Int64}, control, data, status) - @ccall libgalahad_quadruple_64.lsqp_reset_control_q(control::Ptr{lsqp_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.lsqp_reset_control_q_64(control::Ptr{lsqp_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end export lsqp_solve_qp @@ -292,15 +295,16 @@ end function lsqp_solve_qp(::Type{Float32}, ::Type{Int64}, data, status, n, m, w, x0, g, f, a_ne, A_val, c_l, c_u, x_l, x_u, x, c, y, z, x_stat, c_stat) - @ccall libgalahad_single_64.lsqp_solve_qp_s(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, w::Ptr{Float32}, - x0::Ptr{Float32}, g::Ptr{Float32}, f::Float32, - a_ne::Int64, A_val::Ptr{Float32}, - c_l::Ptr{Float32}, c_u::Ptr{Float32}, - x_l::Ptr{Float32}, x_u::Ptr{Float32}, - x::Ptr{Float32}, c::Ptr{Float32}, - y::Ptr{Float32}, z::Ptr{Float32}, - x_stat::Ptr{Int64}, c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.lsqp_solve_qp_s_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, w::Ptr{Float32}, + x0::Ptr{Float32}, g::Ptr{Float32}, + f::Float32, a_ne::Int64, + A_val::Ptr{Float32}, c_l::Ptr{Float32}, + c_u::Ptr{Float32}, x_l::Ptr{Float32}, + x_u::Ptr{Float32}, x::Ptr{Float32}, + c::Ptr{Float32}, y::Ptr{Float32}, + z::Ptr{Float32}, x_stat::Ptr{Int64}, + c_stat::Ptr{Int64})::Cvoid end function lsqp_solve_qp(::Type{Float64}, ::Type{Int32}, data, status, n, m, w, x0, g, f, @@ -318,15 +322,16 @@ end function lsqp_solve_qp(::Type{Float64}, ::Type{Int64}, data, status, n, m, w, x0, g, f, a_ne, A_val, c_l, c_u, x_l, x_u, x, c, y, z, x_stat, c_stat) - @ccall libgalahad_double_64.lsqp_solve_qp(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, w::Ptr{Float64}, - x0::Ptr{Float64}, g::Ptr{Float64}, f::Float64, - a_ne::Int64, A_val::Ptr{Float64}, - c_l::Ptr{Float64}, c_u::Ptr{Float64}, - x_l::Ptr{Float64}, x_u::Ptr{Float64}, - x::Ptr{Float64}, c::Ptr{Float64}, - y::Ptr{Float64}, z::Ptr{Float64}, - x_stat::Ptr{Int64}, c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.lsqp_solve_qp_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, w::Ptr{Float64}, + x0::Ptr{Float64}, g::Ptr{Float64}, + f::Float64, a_ne::Int64, A_val::Ptr{Float64}, + c_l::Ptr{Float64}, c_u::Ptr{Float64}, + x_l::Ptr{Float64}, x_u::Ptr{Float64}, + x::Ptr{Float64}, c::Ptr{Float64}, + y::Ptr{Float64}, z::Ptr{Float64}, + x_stat::Ptr{Int64}, + c_stat::Ptr{Int64})::Cvoid end function lsqp_solve_qp(::Type{Float128}, ::Type{Int32}, data, status, n, m, w, x0, g, f, @@ -345,16 +350,17 @@ end function lsqp_solve_qp(::Type{Float128}, ::Type{Int64}, data, status, n, m, w, x0, g, f, a_ne, A_val, c_l, c_u, x_l, x_u, x, c, y, z, x_stat, c_stat) - @ccall libgalahad_quadruple_64.lsqp_solve_qp_q(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, w::Ptr{Float128}, - x0::Ptr{Float128}, g::Ptr{Float128}, - f::Cfloat128, a_ne::Int64, - A_val::Ptr{Float128}, c_l::Ptr{Float128}, - c_u::Ptr{Float128}, x_l::Ptr{Float128}, - x_u::Ptr{Float128}, x::Ptr{Float128}, - c::Ptr{Float128}, y::Ptr{Float128}, - z::Ptr{Float128}, x_stat::Ptr{Int64}, - c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.lsqp_solve_qp_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, m::Int64, + w::Ptr{Float128}, x0::Ptr{Float128}, + g::Ptr{Float128}, f::Cfloat128, + a_ne::Int64, A_val::Ptr{Float128}, + c_l::Ptr{Float128}, c_u::Ptr{Float128}, + x_l::Ptr{Float128}, x_u::Ptr{Float128}, + x::Ptr{Float128}, c::Ptr{Float128}, + y::Ptr{Float128}, z::Ptr{Float128}, + x_stat::Ptr{Int64}, + c_stat::Ptr{Int64})::Cvoid end export lsqp_information @@ -366,10 +372,10 @@ function lsqp_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function lsqp_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.lsqp_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{lsqp_inform_type{Float32, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.lsqp_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{lsqp_inform_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function lsqp_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -379,9 +385,10 @@ function lsqp_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function lsqp_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.lsqp_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{lsqp_inform_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.lsqp_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{lsqp_inform_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function lsqp_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -392,10 +399,10 @@ function lsqp_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function lsqp_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.lsqp_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{lsqp_inform_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.lsqp_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{lsqp_inform_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export lsqp_terminate @@ -407,10 +414,11 @@ function lsqp_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function lsqp_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.lsqp_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{lsqp_control_type{Float32, - Int64}}, - inform::Ptr{lsqp_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.lsqp_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{lsqp_control_type{Float32, + Int64}}, + inform::Ptr{lsqp_inform_type{Float32, + Int64}})::Cvoid end function lsqp_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -420,9 +428,10 @@ function lsqp_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function lsqp_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.lsqp_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{lsqp_control_type{Float64,Int64}}, - inform::Ptr{lsqp_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.lsqp_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{lsqp_control_type{Float64, + Int64}}, + inform::Ptr{lsqp_inform_type{Float64,Int64}})::Cvoid end function lsqp_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -433,9 +442,9 @@ function lsqp_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function lsqp_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.lsqp_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{lsqp_control_type{Float128, - Int64}}, - inform::Ptr{lsqp_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.lsqp_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{lsqp_control_type{Float128, + Int64}}, + inform::Ptr{lsqp_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/lsrt.jl b/GALAHAD.jl/src/wrappers/lsrt.jl index 0d92566b5a..611a4d068c 100644 --- a/GALAHAD.jl/src/wrappers/lsrt.jl +++ b/GALAHAD.jl/src/wrappers/lsrt.jl @@ -51,10 +51,10 @@ function lsrt_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function lsrt_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.lsrt_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{lsrt_control_type{Float32, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.lsrt_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{lsrt_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function lsrt_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -64,9 +64,10 @@ function lsrt_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function lsrt_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.lsrt_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{lsrt_control_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.lsrt_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{lsrt_control_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function lsrt_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -77,10 +78,10 @@ function lsrt_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) end function lsrt_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.lsrt_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{lsrt_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.lsrt_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{lsrt_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export lsrt_read_specfile @@ -92,9 +93,9 @@ function lsrt_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfile) end function lsrt_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.lsrt_read_specfile_s(control::Ptr{lsrt_control_type{Float32, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.lsrt_read_specfile_s_64(control::Ptr{lsrt_control_type{Float32, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function lsrt_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -103,9 +104,9 @@ function lsrt_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) end function lsrt_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.lsrt_read_specfile(control::Ptr{lsrt_control_type{Float64, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.lsrt_read_specfile_64(control::Ptr{lsrt_control_type{Float64, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function lsrt_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -115,9 +116,9 @@ function lsrt_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) end function lsrt_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.lsrt_read_specfile_q(control::Ptr{lsrt_control_type{Float128, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.lsrt_read_specfile_q_64(control::Ptr{lsrt_control_type{Float128, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end export lsrt_import_control @@ -130,10 +131,10 @@ function lsrt_import_control(::Type{Float32}, ::Type{Int32}, control, data, stat end function lsrt_import_control(::Type{Float32}, ::Type{Int64}, control, data, status) - @ccall libgalahad_single_64.lsrt_import_control_s(control::Ptr{lsrt_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.lsrt_import_control_s_64(control::Ptr{lsrt_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function lsrt_import_control(::Type{Float64}, ::Type{Int32}, control, data, status) @@ -144,10 +145,10 @@ function lsrt_import_control(::Type{Float64}, ::Type{Int32}, control, data, stat end function lsrt_import_control(::Type{Float64}, ::Type{Int64}, control, data, status) - @ccall libgalahad_double_64.lsrt_import_control(control::Ptr{lsrt_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.lsrt_import_control_64(control::Ptr{lsrt_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function lsrt_import_control(::Type{Float128}, ::Type{Int32}, control, data, status) @@ -158,10 +159,10 @@ function lsrt_import_control(::Type{Float128}, ::Type{Int32}, control, data, sta end function lsrt_import_control(::Type{Float128}, ::Type{Int64}, control, data, status) - @ccall libgalahad_quadruple_64.lsrt_import_control_q(control::Ptr{lsrt_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.lsrt_import_control_q_64(control::Ptr{lsrt_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end export lsrt_solve_problem @@ -176,11 +177,12 @@ end function lsrt_solve_problem(::Type{Float32}, ::Type{Int64}, data, status, m, n, power, weight, x, u, v) - @ccall libgalahad_single_64.lsrt_solve_problem_s(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, m::Int64, n::Int64, - power::Float32, weight::Float32, - x::Ptr{Float32}, u::Ptr{Float32}, - v::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.lsrt_solve_problem_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, m::Int64, + n::Int64, power::Float32, + weight::Float32, x::Ptr{Float32}, + u::Ptr{Float32}, + v::Ptr{Float32})::Cvoid end function lsrt_solve_problem(::Type{Float64}, ::Type{Int32}, data, status, m, n, power, @@ -193,10 +195,11 @@ end function lsrt_solve_problem(::Type{Float64}, ::Type{Int64}, data, status, m, n, power, weight, x, u, v) - @ccall libgalahad_double_64.lsrt_solve_problem(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - m::Int64, n::Int64, power::Float64, - weight::Float64, x::Ptr{Float64}, - u::Ptr{Float64}, v::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.lsrt_solve_problem_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, m::Int64, n::Int64, + power::Float64, weight::Float64, + x::Ptr{Float64}, u::Ptr{Float64}, + v::Ptr{Float64})::Cvoid end function lsrt_solve_problem(::Type{Float128}, ::Type{Int32}, data, status, m, n, power, @@ -210,12 +213,12 @@ end function lsrt_solve_problem(::Type{Float128}, ::Type{Int64}, data, status, m, n, power, weight, x, u, v) - @ccall libgalahad_quadruple_64.lsrt_solve_problem_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, m::Int64, - n::Int64, power::Cfloat128, - weight::Cfloat128, x::Ptr{Float128}, - u::Ptr{Float128}, - v::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.lsrt_solve_problem_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, m::Int64, + n::Int64, power::Cfloat128, + weight::Cfloat128, + x::Ptr{Float128}, u::Ptr{Float128}, + v::Ptr{Float128})::Cvoid end export lsrt_information @@ -227,10 +230,10 @@ function lsrt_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function lsrt_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.lsrt_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{lsrt_inform_type{Float32, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.lsrt_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{lsrt_inform_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function lsrt_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -240,9 +243,10 @@ function lsrt_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function lsrt_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.lsrt_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{lsrt_inform_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.lsrt_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{lsrt_inform_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function lsrt_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -253,10 +257,10 @@ function lsrt_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function lsrt_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.lsrt_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{lsrt_inform_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.lsrt_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{lsrt_inform_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export lsrt_terminate @@ -268,10 +272,11 @@ function lsrt_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function lsrt_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.lsrt_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{lsrt_control_type{Float32, - Int64}}, - inform::Ptr{lsrt_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.lsrt_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{lsrt_control_type{Float32, + Int64}}, + inform::Ptr{lsrt_inform_type{Float32, + Int64}})::Cvoid end function lsrt_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -281,9 +286,10 @@ function lsrt_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function lsrt_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.lsrt_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{lsrt_control_type{Float64,Int64}}, - inform::Ptr{lsrt_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.lsrt_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{lsrt_control_type{Float64, + Int64}}, + inform::Ptr{lsrt_inform_type{Float64,Int64}})::Cvoid end function lsrt_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -294,9 +300,9 @@ function lsrt_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function lsrt_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.lsrt_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{lsrt_control_type{Float128, - Int64}}, - inform::Ptr{lsrt_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.lsrt_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{lsrt_control_type{Float128, + Int64}}, + inform::Ptr{lsrt_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/lstr.jl b/GALAHAD.jl/src/wrappers/lstr.jl index 75514931e1..ff678875c5 100644 --- a/GALAHAD.jl/src/wrappers/lstr.jl +++ b/GALAHAD.jl/src/wrappers/lstr.jl @@ -50,10 +50,10 @@ function lstr_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function lstr_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.lstr_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{lstr_control_type{Float32, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.lstr_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{lstr_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function lstr_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -63,9 +63,10 @@ function lstr_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function lstr_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.lstr_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{lstr_control_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.lstr_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{lstr_control_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function lstr_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -76,10 +77,10 @@ function lstr_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) end function lstr_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.lstr_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{lstr_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.lstr_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{lstr_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export lstr_read_specfile @@ -91,9 +92,9 @@ function lstr_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfile) end function lstr_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.lstr_read_specfile_s(control::Ptr{lstr_control_type{Float32, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.lstr_read_specfile_s_64(control::Ptr{lstr_control_type{Float32, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function lstr_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -102,9 +103,9 @@ function lstr_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) end function lstr_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.lstr_read_specfile(control::Ptr{lstr_control_type{Float64, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.lstr_read_specfile_64(control::Ptr{lstr_control_type{Float64, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function lstr_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -114,9 +115,9 @@ function lstr_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) end function lstr_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.lstr_read_specfile_q(control::Ptr{lstr_control_type{Float128, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.lstr_read_specfile_q_64(control::Ptr{lstr_control_type{Float128, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end export lstr_import_control @@ -129,10 +130,10 @@ function lstr_import_control(::Type{Float32}, ::Type{Int32}, control, data, stat end function lstr_import_control(::Type{Float32}, ::Type{Int64}, control, data, status) - @ccall libgalahad_single_64.lstr_import_control_s(control::Ptr{lstr_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.lstr_import_control_s_64(control::Ptr{lstr_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function lstr_import_control(::Type{Float64}, ::Type{Int32}, control, data, status) @@ -143,10 +144,10 @@ function lstr_import_control(::Type{Float64}, ::Type{Int32}, control, data, stat end function lstr_import_control(::Type{Float64}, ::Type{Int64}, control, data, status) - @ccall libgalahad_double_64.lstr_import_control(control::Ptr{lstr_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.lstr_import_control_64(control::Ptr{lstr_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function lstr_import_control(::Type{Float128}, ::Type{Int32}, control, data, status) @@ -157,10 +158,10 @@ function lstr_import_control(::Type{Float128}, ::Type{Int32}, control, data, sta end function lstr_import_control(::Type{Float128}, ::Type{Int64}, control, data, status) - @ccall libgalahad_quadruple_64.lstr_import_control_q(control::Ptr{lstr_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.lstr_import_control_q_64(control::Ptr{lstr_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end export lstr_solve_problem @@ -175,10 +176,11 @@ end function lstr_solve_problem(::Type{Float32}, ::Type{Int64}, data, status, m, n, radius, x, u, v) - @ccall libgalahad_single_64.lstr_solve_problem_s(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, m::Int64, n::Int64, - radius::Float32, x::Ptr{Float32}, - u::Ptr{Float32}, v::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.lstr_solve_problem_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, m::Int64, + n::Int64, radius::Float32, + x::Ptr{Float32}, u::Ptr{Float32}, + v::Ptr{Float32})::Cvoid end function lstr_solve_problem(::Type{Float64}, ::Type{Int32}, data, status, m, n, radius, x, @@ -191,10 +193,10 @@ end function lstr_solve_problem(::Type{Float64}, ::Type{Int64}, data, status, m, n, radius, x, u, v) - @ccall libgalahad_double_64.lstr_solve_problem(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - m::Int64, n::Int64, radius::Float64, - x::Ptr{Float64}, u::Ptr{Float64}, - v::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.lstr_solve_problem_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, m::Int64, n::Int64, + radius::Float64, x::Ptr{Float64}, + u::Ptr{Float64}, v::Ptr{Float64})::Cvoid end function lstr_solve_problem(::Type{Float128}, ::Type{Int32}, data, status, m, n, radius, x, @@ -208,11 +210,11 @@ end function lstr_solve_problem(::Type{Float128}, ::Type{Int64}, data, status, m, n, radius, x, u, v) - @ccall libgalahad_quadruple_64.lstr_solve_problem_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, m::Int64, - n::Int64, radius::Cfloat128, - x::Ptr{Float128}, u::Ptr{Float128}, - v::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.lstr_solve_problem_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, m::Int64, + n::Int64, radius::Cfloat128, + x::Ptr{Float128}, u::Ptr{Float128}, + v::Ptr{Float128})::Cvoid end export lstr_information @@ -224,10 +226,10 @@ function lstr_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function lstr_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.lstr_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{lstr_inform_type{Float32, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.lstr_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{lstr_inform_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function lstr_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -237,9 +239,10 @@ function lstr_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function lstr_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.lstr_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{lstr_inform_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.lstr_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{lstr_inform_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function lstr_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -250,10 +253,10 @@ function lstr_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function lstr_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.lstr_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{lstr_inform_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.lstr_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{lstr_inform_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export lstr_terminate @@ -265,10 +268,11 @@ function lstr_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function lstr_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.lstr_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{lstr_control_type{Float32, - Int64}}, - inform::Ptr{lstr_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.lstr_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{lstr_control_type{Float32, + Int64}}, + inform::Ptr{lstr_inform_type{Float32, + Int64}})::Cvoid end function lstr_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -278,9 +282,10 @@ function lstr_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function lstr_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.lstr_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{lstr_control_type{Float64,Int64}}, - inform::Ptr{lstr_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.lstr_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{lstr_control_type{Float64, + Int64}}, + inform::Ptr{lstr_inform_type{Float64,Int64}})::Cvoid end function lstr_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -291,9 +296,9 @@ function lstr_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function lstr_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.lstr_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{lstr_control_type{Float128, - Int64}}, - inform::Ptr{lstr_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.lstr_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{lstr_control_type{Float128, + Int64}}, + inform::Ptr{lstr_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/nls.jl b/GALAHAD.jl/src/wrappers/nls.jl index 6f5143231f..3877c1ae45 100644 --- a/GALAHAD.jl/src/wrappers/nls.jl +++ b/GALAHAD.jl/src/wrappers/nls.jl @@ -193,9 +193,11 @@ function nls_initialize(::Type{Float32}, ::Type{Int32}, data, control, inform) end function nls_initialize(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.nls_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{nls_control_type{Float32,Int64}}, - inform::Ptr{nls_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.nls_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{nls_control_type{Float32, + Int64}}, + inform::Ptr{nls_inform_type{Float32, + Int64}})::Cvoid end function nls_initialize(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -205,9 +207,10 @@ function nls_initialize(::Type{Float64}, ::Type{Int32}, data, control, inform) end function nls_initialize(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.nls_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{nls_control_type{Float64,Int64}}, - inform::Ptr{nls_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.nls_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{nls_control_type{Float64, + Int64}}, + inform::Ptr{nls_inform_type{Float64,Int64}})::Cvoid end function nls_initialize(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -218,11 +221,11 @@ function nls_initialize(::Type{Float128}, ::Type{Int32}, data, control, inform) end function nls_initialize(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.nls_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{nls_control_type{Float128, - Int64}}, - inform::Ptr{nls_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.nls_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{nls_control_type{Float128, + Int64}}, + inform::Ptr{nls_inform_type{Float128, + Int64}})::Cvoid end export nls_read_specfile @@ -233,9 +236,9 @@ function nls_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfile) end function nls_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.nls_read_specfile_s(control::Ptr{nls_control_type{Float32, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.nls_read_specfile_s_64(control::Ptr{nls_control_type{Float32, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function nls_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -244,9 +247,9 @@ function nls_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) end function nls_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.nls_read_specfile(control::Ptr{nls_control_type{Float64, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.nls_read_specfile_64(control::Ptr{nls_control_type{Float64, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function nls_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -256,9 +259,9 @@ function nls_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) end function nls_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.nls_read_specfile_q(control::Ptr{nls_control_type{Float128, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.nls_read_specfile_q_64(control::Ptr{nls_control_type{Float128, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end export nls_import @@ -280,17 +283,17 @@ end function nls_import(::Type{Float32}, ::Type{Int64}, control, data, status, n, m, J_type, J_ne, J_row, J_col, J_ptr, H_type, H_ne, H_row, H_col, H_ptr, P_type, P_ne, P_row, P_col, P_ptr, w) - @ccall libgalahad_single_64.nls_import_s(control::Ptr{nls_control_type{Float32,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, J_type::Ptr{Cchar}, - J_ne::Int64, J_row::Ptr{Int64}, - J_col::Ptr{Int64}, J_ptr::Ptr{Int64}, - H_type::Ptr{Cchar}, H_ne::Int64, - H_row::Ptr{Int64}, H_col::Ptr{Int64}, - H_ptr::Ptr{Int64}, P_type::Ptr{Cchar}, - P_ne::Int64, P_row::Ptr{Int64}, - P_col::Ptr{Int64}, P_ptr::Ptr{Int64}, - w::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.nls_import_s_64(control::Ptr{nls_control_type{Float32,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, J_type::Ptr{Cchar}, + J_ne::Int64, J_row::Ptr{Int64}, + J_col::Ptr{Int64}, J_ptr::Ptr{Int64}, + H_type::Ptr{Cchar}, H_ne::Int64, + H_row::Ptr{Int64}, H_col::Ptr{Int64}, + H_ptr::Ptr{Int64}, P_type::Ptr{Cchar}, + P_ne::Int64, P_row::Ptr{Int64}, + P_col::Ptr{Int64}, P_ptr::Ptr{Int64}, + w::Ptr{Float32})::Cvoid end function nls_import(::Type{Float64}, ::Type{Int32}, control, data, status, n, m, J_type, @@ -310,15 +313,17 @@ end function nls_import(::Type{Float64}, ::Type{Int64}, control, data, status, n, m, J_type, J_ne, J_row, J_col, J_ptr, H_type, H_ne, H_row, H_col, H_ptr, P_type, P_ne, P_row, P_col, P_ptr, w) - @ccall libgalahad_double_64.nls_import(control::Ptr{nls_control_type{Float64,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, J_type::Ptr{Cchar}, - J_ne::Int64, J_row::Ptr{Int64}, J_col::Ptr{Int64}, - J_ptr::Ptr{Int64}, H_type::Ptr{Cchar}, H_ne::Int64, - H_row::Ptr{Int64}, H_col::Ptr{Int64}, - H_ptr::Ptr{Int64}, P_type::Ptr{Cchar}, P_ne::Int64, - P_row::Ptr{Int64}, P_col::Ptr{Int64}, - P_ptr::Ptr{Int64}, w::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.nls_import_64(control::Ptr{nls_control_type{Float64,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, J_type::Ptr{Cchar}, + J_ne::Int64, J_row::Ptr{Int64}, + J_col::Ptr{Int64}, J_ptr::Ptr{Int64}, + H_type::Ptr{Cchar}, H_ne::Int64, + H_row::Ptr{Int64}, H_col::Ptr{Int64}, + H_ptr::Ptr{Int64}, P_type::Ptr{Cchar}, + P_ne::Int64, P_row::Ptr{Int64}, + P_col::Ptr{Int64}, P_ptr::Ptr{Int64}, + w::Ptr{Float64})::Cvoid end function nls_import(::Type{Float128}, ::Type{Int32}, control, data, status, n, m, J_type, @@ -340,17 +345,18 @@ end function nls_import(::Type{Float128}, ::Type{Int64}, control, data, status, n, m, J_type, J_ne, J_row, J_col, J_ptr, H_type, H_ne, H_row, H_col, H_ptr, P_type, P_ne, P_row, P_col, P_ptr, w) - @ccall libgalahad_quadruple_64.nls_import_q(control::Ptr{nls_control_type{Float128,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, J_type::Ptr{Cchar}, - J_ne::Int64, J_row::Ptr{Int64}, - J_col::Ptr{Int64}, J_ptr::Ptr{Int64}, - H_type::Ptr{Cchar}, H_ne::Int64, - H_row::Ptr{Int64}, H_col::Ptr{Int64}, - H_ptr::Ptr{Int64}, P_type::Ptr{Cchar}, - P_ne::Int64, P_row::Ptr{Int64}, - P_col::Ptr{Int64}, P_ptr::Ptr{Int64}, - w::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.nls_import_q_64(control::Ptr{nls_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, J_type::Ptr{Cchar}, + J_ne::Int64, J_row::Ptr{Int64}, + J_col::Ptr{Int64}, J_ptr::Ptr{Int64}, + H_type::Ptr{Cchar}, H_ne::Int64, + H_row::Ptr{Int64}, H_col::Ptr{Int64}, + H_ptr::Ptr{Int64}, P_type::Ptr{Cchar}, + P_ne::Int64, P_row::Ptr{Int64}, + P_col::Ptr{Int64}, P_ptr::Ptr{Int64}, + w::Ptr{Float128})::Cvoid end export nls_reset_control @@ -362,10 +368,10 @@ function nls_reset_control(::Type{Float32}, ::Type{Int32}, control, data, status end function nls_reset_control(::Type{Float32}, ::Type{Int64}, control, data, status) - @ccall libgalahad_single_64.nls_reset_control_s(control::Ptr{nls_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.nls_reset_control_s_64(control::Ptr{nls_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function nls_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status) @@ -375,10 +381,10 @@ function nls_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status end function nls_reset_control(::Type{Float64}, ::Type{Int64}, control, data, status) - @ccall libgalahad_double_64.nls_reset_control(control::Ptr{nls_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.nls_reset_control_64(control::Ptr{nls_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function nls_reset_control(::Type{Float128}, ::Type{Int32}, control, data, status) @@ -389,10 +395,10 @@ function nls_reset_control(::Type{Float128}, ::Type{Int32}, control, data, statu end function nls_reset_control(::Type{Float128}, ::Type{Int64}, control, data, status) - @ccall libgalahad_quadruple_64.nls_reset_control_q(control::Ptr{nls_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.nls_reset_control_q_64(control::Ptr{nls_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end export nls_solve_with_mat @@ -410,14 +416,15 @@ end function nls_solve_with_mat(::Type{Float32}, ::Type{Int64}, data, userdata, status, n, m, x, c, g, eval_c, j_ne, eval_j, h_ne, eval_h, p_ne, eval_hprods) - @ccall libgalahad_single_64.nls_solve_with_mat_s(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, status::Ptr{Int64}, - n::Int64, m::Int64, x::Ptr{Float32}, - c::Ptr{Float32}, g::Ptr{Float32}, - eval_c::Ptr{Cvoid}, j_ne::Int64, - eval_j::Ptr{Cvoid}, h_ne::Int64, - eval_h::Ptr{Cvoid}, p_ne::Int64, - eval_hprods::Ptr{Cvoid})::Cvoid + @ccall libgalahad_single_64.nls_solve_with_mat_s_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + m::Int64, x::Ptr{Float32}, + c::Ptr{Float32}, g::Ptr{Float32}, + eval_c::Ptr{Cvoid}, j_ne::Int64, + eval_j::Ptr{Cvoid}, h_ne::Int64, + eval_h::Ptr{Cvoid}, p_ne::Int64, + eval_hprods::Ptr{Cvoid})::Cvoid end function nls_solve_with_mat(::Type{Float64}, ::Type{Int32}, data, userdata, status, n, m, x, @@ -433,14 +440,15 @@ end function nls_solve_with_mat(::Type{Float64}, ::Type{Int64}, data, userdata, status, n, m, x, c, g, eval_c, j_ne, eval_j, h_ne, eval_h, p_ne, eval_hprods) - @ccall libgalahad_double_64.nls_solve_with_mat(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, status::Ptr{Int64}, - n::Int64, m::Int64, x::Ptr{Float64}, - c::Ptr{Float64}, g::Ptr{Float64}, - eval_c::Ptr{Cvoid}, j_ne::Int64, - eval_j::Ptr{Cvoid}, h_ne::Int64, - eval_h::Ptr{Cvoid}, p_ne::Int64, - eval_hprods::Ptr{Cvoid})::Cvoid + @ccall libgalahad_double_64.nls_solve_with_mat_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, m::Int64, + x::Ptr{Float64}, c::Ptr{Float64}, + g::Ptr{Float64}, eval_c::Ptr{Cvoid}, + j_ne::Int64, eval_j::Ptr{Cvoid}, + h_ne::Int64, eval_h::Ptr{Cvoid}, + p_ne::Int64, + eval_hprods::Ptr{Cvoid})::Cvoid end function nls_solve_with_mat(::Type{Float128}, ::Type{Int32}, data, userdata, status, n, m, @@ -457,15 +465,15 @@ end function nls_solve_with_mat(::Type{Float128}, ::Type{Int64}, data, userdata, status, n, m, x, c, g, eval_c, j_ne, eval_j, h_ne, eval_h, p_ne, eval_hprods) - @ccall libgalahad_quadruple_64.nls_solve_with_mat_q(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, - status::Ptr{Int64}, n::Int64, - m::Int64, x::Ptr{Float128}, - c::Ptr{Float128}, g::Ptr{Float128}, - eval_c::Ptr{Cvoid}, j_ne::Int64, - eval_j::Ptr{Cvoid}, h_ne::Int64, - eval_h::Ptr{Cvoid}, p_ne::Int64, - eval_hprods::Ptr{Cvoid})::Cvoid + @ccall libgalahad_quadruple_64.nls_solve_with_mat_q_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + m::Int64, x::Ptr{Float128}, + c::Ptr{Float128}, g::Ptr{Float128}, + eval_c::Ptr{Cvoid}, j_ne::Int64, + eval_j::Ptr{Cvoid}, h_ne::Int64, + eval_h::Ptr{Cvoid}, p_ne::Int64, + eval_hprods::Ptr{Cvoid})::Cvoid end export nls_solve_without_mat @@ -484,15 +492,16 @@ end function nls_solve_without_mat(::Type{Float32}, ::Type{Int64}, data, userdata, status, n, m, x, c, g, eval_c, eval_jprod, eval_hprod, p_ne, eval_hprods) - @ccall libgalahad_single_64.nls_solve_without_mat_s(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, - status::Ptr{Int64}, n::Int64, - m::Int64, x::Ptr{Float32}, - c::Ptr{Float32}, g::Ptr{Float32}, - eval_c::Ptr{Cvoid}, - eval_jprod::Ptr{Cvoid}, - eval_hprod::Ptr{Cvoid}, p_ne::Int64, - eval_hprods::Ptr{Cvoid})::Cvoid + @ccall libgalahad_single_64.nls_solve_without_mat_s_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + m::Int64, x::Ptr{Float32}, + c::Ptr{Float32}, g::Ptr{Float32}, + eval_c::Ptr{Cvoid}, + eval_jprod::Ptr{Cvoid}, + eval_hprod::Ptr{Cvoid}, + p_ne::Int64, + eval_hprods::Ptr{Cvoid})::Cvoid end function nls_solve_without_mat(::Type{Float64}, ::Type{Int32}, data, userdata, status, n, m, @@ -508,14 +517,15 @@ end function nls_solve_without_mat(::Type{Float64}, ::Type{Int64}, data, userdata, status, n, m, x, c, g, eval_c, eval_jprod, eval_hprod, p_ne, eval_hprods) - @ccall libgalahad_double_64.nls_solve_without_mat(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, - status::Ptr{Int64}, n::Int64, m::Int64, - x::Ptr{Float64}, c::Ptr{Float64}, - g::Ptr{Float64}, eval_c::Ptr{Cvoid}, - eval_jprod::Ptr{Cvoid}, - eval_hprod::Ptr{Cvoid}, p_ne::Int64, - eval_hprods::Ptr{Cvoid})::Cvoid + @ccall libgalahad_double_64.nls_solve_without_mat_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + m::Int64, x::Ptr{Float64}, + c::Ptr{Float64}, g::Ptr{Float64}, + eval_c::Ptr{Cvoid}, + eval_jprod::Ptr{Cvoid}, + eval_hprod::Ptr{Cvoid}, p_ne::Int64, + eval_hprods::Ptr{Cvoid})::Cvoid end function nls_solve_without_mat(::Type{Float128}, ::Type{Int32}, data, userdata, status, n, @@ -535,16 +545,17 @@ end function nls_solve_without_mat(::Type{Float128}, ::Type{Int64}, data, userdata, status, n, m, x, c, g, eval_c, eval_jprod, eval_hprod, p_ne, eval_hprods) - @ccall libgalahad_quadruple_64.nls_solve_without_mat_q(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, - status::Ptr{Int64}, n::Int64, - m::Int64, x::Ptr{Float128}, - c::Ptr{Float128}, g::Ptr{Float128}, - eval_c::Ptr{Cvoid}, - eval_jprod::Ptr{Cvoid}, - eval_hprod::Ptr{Cvoid}, - p_ne::Int64, - eval_hprods::Ptr{Cvoid})::Cvoid + @ccall libgalahad_quadruple_64.nls_solve_without_mat_q_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + m::Int64, x::Ptr{Float128}, + c::Ptr{Float128}, + g::Ptr{Float128}, + eval_c::Ptr{Cvoid}, + eval_jprod::Ptr{Cvoid}, + eval_hprod::Ptr{Cvoid}, + p_ne::Int64, + eval_hprods::Ptr{Cvoid})::Cvoid end export nls_solve_reverse_with_mat @@ -567,17 +578,18 @@ end function nls_solve_reverse_with_mat(::Type{Float32}, ::Type{Int64}, data, status, eval_status, n, m, x, c, g, j_ne, J_val, y, h_ne, H_val, v, p_ne, P_val) - @ccall libgalahad_single_64.nls_solve_reverse_with_mat_s(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, - n::Int64, m::Int64, - x::Ptr{Float32}, c::Ptr{Float32}, - g::Ptr{Float32}, j_ne::Int64, - J_val::Ptr{Float32}, - y::Ptr{Float32}, h_ne::Int64, - H_val::Ptr{Float32}, - v::Ptr{Float32}, p_ne::Int64, - P_val::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.nls_solve_reverse_with_mat_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, m::Int64, + x::Ptr{Float32}, + c::Ptr{Float32}, + g::Ptr{Float32}, j_ne::Int64, + J_val::Ptr{Float32}, + y::Ptr{Float32}, h_ne::Int64, + H_val::Ptr{Float32}, + v::Ptr{Float32}, p_ne::Int64, + P_val::Ptr{Float32})::Cvoid end function nls_solve_reverse_with_mat(::Type{Float64}, ::Type{Int32}, data, status, @@ -598,16 +610,18 @@ end function nls_solve_reverse_with_mat(::Type{Float64}, ::Type{Int64}, data, status, eval_status, n, m, x, c, g, j_ne, J_val, y, h_ne, H_val, v, p_ne, P_val) - @ccall libgalahad_double_64.nls_solve_reverse_with_mat(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, n::Int64, - m::Int64, x::Ptr{Float64}, - c::Ptr{Float64}, g::Ptr{Float64}, - j_ne::Int64, J_val::Ptr{Float64}, - y::Ptr{Float64}, h_ne::Int64, - H_val::Ptr{Float64}, - v::Ptr{Float64}, p_ne::Int64, - P_val::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.nls_solve_reverse_with_mat_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, m::Int64, + x::Ptr{Float64}, + c::Ptr{Float64}, + g::Ptr{Float64}, j_ne::Int64, + J_val::Ptr{Float64}, + y::Ptr{Float64}, h_ne::Int64, + H_val::Ptr{Float64}, + v::Ptr{Float64}, p_ne::Int64, + P_val::Ptr{Float64})::Cvoid end function nls_solve_reverse_with_mat(::Type{Float128}, ::Type{Int32}, data, status, @@ -630,18 +644,21 @@ end function nls_solve_reverse_with_mat(::Type{Float128}, ::Type{Int64}, data, status, eval_status, n, m, x, c, g, j_ne, J_val, y, h_ne, H_val, v, p_ne, P_val) - @ccall libgalahad_quadruple_64.nls_solve_reverse_with_mat_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, - n::Int64, m::Int64, - x::Ptr{Float128}, - c::Ptr{Float128}, - g::Ptr{Float128}, j_ne::Int64, - J_val::Ptr{Float128}, - y::Ptr{Float128}, h_ne::Int64, - H_val::Ptr{Float128}, - v::Ptr{Float128}, p_ne::Int64, - P_val::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.nls_solve_reverse_with_mat_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, m::Int64, + x::Ptr{Float128}, + c::Ptr{Float128}, + g::Ptr{Float128}, + j_ne::Int64, + J_val::Ptr{Float128}, + y::Ptr{Float128}, + h_ne::Int64, + H_val::Ptr{Float128}, + v::Ptr{Float128}, + p_ne::Int64, + P_val::Ptr{Float128})::Cvoid end export nls_solve_reverse_without_mat @@ -664,18 +681,19 @@ end function nls_solve_reverse_without_mat(::Type{Float32}, ::Type{Int64}, data, status, eval_status, n, m, x, c, g, transpose, u, v, y, p_ne, P_val) - @ccall libgalahad_single_64.nls_solve_reverse_without_mat_s(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, - n::Int64, m::Int64, - x::Ptr{Float32}, - c::Ptr{Float32}, - g::Ptr{Float32}, - transpose::Ptr{Bool}, - u::Ptr{Float32}, - v::Ptr{Float32}, - y::Ptr{Float32}, p_ne::Int64, - P_val::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.nls_solve_reverse_without_mat_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, m::Int64, + x::Ptr{Float32}, + c::Ptr{Float32}, + g::Ptr{Float32}, + transpose::Ptr{Bool}, + u::Ptr{Float32}, + v::Ptr{Float32}, + y::Ptr{Float32}, + p_ne::Int64, + P_val::Ptr{Float32})::Cvoid end function nls_solve_reverse_without_mat(::Type{Float64}, ::Type{Int32}, data, status, @@ -695,18 +713,18 @@ end function nls_solve_reverse_without_mat(::Type{Float64}, ::Type{Int64}, data, status, eval_status, n, m, x, c, g, transpose, u, v, y, p_ne, P_val) - @ccall libgalahad_double_64.nls_solve_reverse_without_mat(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, - n::Int64, m::Int64, - x::Ptr{Float64}, - c::Ptr{Float64}, - g::Ptr{Float64}, - transpose::Ptr{Bool}, - u::Ptr{Float64}, - v::Ptr{Float64}, - y::Ptr{Float64}, p_ne::Int64, - P_val::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.nls_solve_reverse_without_mat_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, m::Int64, + x::Ptr{Float64}, + c::Ptr{Float64}, + g::Ptr{Float64}, + transpose::Ptr{Bool}, + u::Ptr{Float64}, + v::Ptr{Float64}, + y::Ptr{Float64}, p_ne::Int64, + P_val::Ptr{Float64})::Cvoid end function nls_solve_reverse_without_mat(::Type{Float128}, ::Type{Int32}, data, status, @@ -729,19 +747,19 @@ end function nls_solve_reverse_without_mat(::Type{Float128}, ::Type{Int64}, data, status, eval_status, n, m, x, c, g, transpose, u, v, y, p_ne, P_val) - @ccall libgalahad_quadruple_64.nls_solve_reverse_without_mat_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, - n::Int64, m::Int64, - x::Ptr{Float128}, - c::Ptr{Float128}, - g::Ptr{Float128}, - transpose::Ptr{Bool}, - u::Ptr{Float128}, - v::Ptr{Float128}, - y::Ptr{Float128}, - p_ne::Int64, - P_val::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.nls_solve_reverse_without_mat_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, m::Int64, + x::Ptr{Float128}, + c::Ptr{Float128}, + g::Ptr{Float128}, + transpose::Ptr{Bool}, + u::Ptr{Float128}, + v::Ptr{Float128}, + y::Ptr{Float128}, + p_ne::Int64, + P_val::Ptr{Float128})::Cvoid end export nls_information @@ -753,9 +771,10 @@ function nls_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function nls_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.nls_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{nls_inform_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.nls_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{nls_inform_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function nls_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -765,9 +784,9 @@ function nls_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function nls_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.nls_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{nls_inform_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.nls_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{nls_inform_type{Float64,Int64}}, + status::Ptr{Int64})::Cvoid end function nls_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -777,10 +796,10 @@ function nls_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function nls_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.nls_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{nls_inform_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.nls_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{nls_inform_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export nls_terminate @@ -792,9 +811,10 @@ function nls_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function nls_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.nls_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{nls_control_type{Float32,Int64}}, - inform::Ptr{nls_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.nls_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{nls_control_type{Float32, + Int64}}, + inform::Ptr{nls_inform_type{Float32,Int64}})::Cvoid end function nls_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -804,9 +824,9 @@ function nls_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function nls_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.nls_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{nls_control_type{Float64,Int64}}, - inform::Ptr{nls_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.nls_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{nls_control_type{Float64,Int64}}, + inform::Ptr{nls_inform_type{Float64,Int64}})::Cvoid end function nls_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -816,9 +836,9 @@ function nls_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function nls_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.nls_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{nls_control_type{Float128, - Int64}}, - inform::Ptr{nls_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.nls_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{nls_control_type{Float128, + Int64}}, + inform::Ptr{nls_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/presolve.jl b/GALAHAD.jl/src/wrappers/presolve.jl index b14df3b2e7..306ee27cf5 100644 --- a/GALAHAD.jl/src/wrappers/presolve.jl +++ b/GALAHAD.jl/src/wrappers/presolve.jl @@ -60,10 +60,10 @@ function presolve_initialize(::Type{Float32}, ::Type{Int32}, data, control, stat end function presolve_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.presolve_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{presolve_control_type{Float32, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.presolve_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{presolve_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function presolve_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -74,10 +74,10 @@ function presolve_initialize(::Type{Float64}, ::Type{Int32}, data, control, stat end function presolve_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.presolve_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{presolve_control_type{Float64, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.presolve_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{presolve_control_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function presolve_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -88,10 +88,10 @@ function presolve_initialize(::Type{Float128}, ::Type{Int32}, data, control, sta end function presolve_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.presolve_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{presolve_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.presolve_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{presolve_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export presolve_read_specfile @@ -103,9 +103,9 @@ function presolve_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfil end function presolve_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.presolve_read_specfile_s(control::Ptr{presolve_control_type{Float32, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.presolve_read_specfile_s_64(control::Ptr{presolve_control_type{Float32, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function presolve_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -115,9 +115,9 @@ function presolve_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfil end function presolve_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.presolve_read_specfile(control::Ptr{presolve_control_type{Float64, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.presolve_read_specfile_64(control::Ptr{presolve_control_type{Float64, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function presolve_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -127,9 +127,9 @@ function presolve_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfi end function presolve_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.presolve_read_specfile_q(control::Ptr{presolve_control_type{Float128, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.presolve_read_specfile_q_64(control::Ptr{presolve_control_type{Float128, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end export presolve_import_problem @@ -160,29 +160,29 @@ function presolve_import_problem(::Type{Float32}, ::Type{Int64}, control, data, m, H_type, H_ne, H_row, H_col, H_ptr, H_val, g, f, A_type, A_ne, A_row, A_col, A_ptr, A_val, c_l, c_u, x_l, x_u, n_out, m_out, H_ne_out, A_ne_out) - @ccall libgalahad_single_64.presolve_import_problem_s(control::Ptr{presolve_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - m::Int64, H_type::Ptr{Cchar}, - H_ne::Int64, H_row::Ptr{Int64}, - H_col::Ptr{Int64}, - H_ptr::Ptr{Int64}, - H_val::Ptr{Float32}, - g::Ptr{Float32}, f::Float32, - A_type::Ptr{Cchar}, A_ne::Int64, - A_row::Ptr{Int64}, - A_col::Ptr{Int64}, - A_ptr::Ptr{Int64}, - A_val::Ptr{Float32}, - c_l::Ptr{Float32}, - c_u::Ptr{Float32}, - x_l::Ptr{Float32}, - x_u::Ptr{Float32}, - n_out::Ptr{Int64}, - m_out::Ptr{Int64}, - H_ne_out::Ptr{Int64}, - A_ne_out::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.presolve_import_problem_s_64(control::Ptr{presolve_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + m::Int64, H_type::Ptr{Cchar}, + H_ne::Int64, H_row::Ptr{Int64}, + H_col::Ptr{Int64}, + H_ptr::Ptr{Int64}, + H_val::Ptr{Float32}, + g::Ptr{Float32}, f::Float32, + A_type::Ptr{Cchar}, A_ne::Int64, + A_row::Ptr{Int64}, + A_col::Ptr{Int64}, + A_ptr::Ptr{Int64}, + A_val::Ptr{Float32}, + c_l::Ptr{Float32}, + c_u::Ptr{Float32}, + x_l::Ptr{Float32}, + x_u::Ptr{Float32}, + n_out::Ptr{Int64}, + m_out::Ptr{Int64}, + H_ne_out::Ptr{Int64}, + A_ne_out::Ptr{Int64})::Cvoid end function presolve_import_problem(::Type{Float64}, ::Type{Int32}, control, data, status, n, @@ -211,23 +211,29 @@ function presolve_import_problem(::Type{Float64}, ::Type{Int64}, control, data, m, H_type, H_ne, H_row, H_col, H_ptr, H_val, g, f, A_type, A_ne, A_row, A_col, A_ptr, A_val, c_l, c_u, x_l, x_u, n_out, m_out, H_ne_out, A_ne_out) - @ccall libgalahad_double_64.presolve_import_problem(control::Ptr{presolve_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - m::Int64, H_type::Ptr{Cchar}, - H_ne::Int64, H_row::Ptr{Int64}, - H_col::Ptr{Int64}, H_ptr::Ptr{Int64}, - H_val::Ptr{Float64}, g::Ptr{Float64}, - f::Float64, A_type::Ptr{Cchar}, - A_ne::Int64, A_row::Ptr{Int64}, - A_col::Ptr{Int64}, A_ptr::Ptr{Int64}, - A_val::Ptr{Float64}, - c_l::Ptr{Float64}, c_u::Ptr{Float64}, - x_l::Ptr{Float64}, x_u::Ptr{Float64}, - n_out::Ptr{Int64}, m_out::Ptr{Int64}, - H_ne_out::Ptr{Int64}, - A_ne_out::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.presolve_import_problem_64(control::Ptr{presolve_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + m::Int64, H_type::Ptr{Cchar}, + H_ne::Int64, H_row::Ptr{Int64}, + H_col::Ptr{Int64}, + H_ptr::Ptr{Int64}, + H_val::Ptr{Float64}, + g::Ptr{Float64}, f::Float64, + A_type::Ptr{Cchar}, A_ne::Int64, + A_row::Ptr{Int64}, + A_col::Ptr{Int64}, + A_ptr::Ptr{Int64}, + A_val::Ptr{Float64}, + c_l::Ptr{Float64}, + c_u::Ptr{Float64}, + x_l::Ptr{Float64}, + x_u::Ptr{Float64}, + n_out::Ptr{Int64}, + m_out::Ptr{Int64}, + H_ne_out::Ptr{Int64}, + A_ne_out::Ptr{Int64})::Cvoid end function presolve_import_problem(::Type{Float128}, ::Type{Int32}, control, data, status, n, @@ -263,29 +269,32 @@ function presolve_import_problem(::Type{Float128}, ::Type{Int64}, control, data, m, H_type, H_ne, H_row, H_col, H_ptr, H_val, g, f, A_type, A_ne, A_row, A_col, A_ptr, A_val, c_l, c_u, x_l, x_u, n_out, m_out, H_ne_out, A_ne_out) - @ccall libgalahad_quadruple_64.presolve_import_problem_q(control::Ptr{presolve_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - m::Int64, H_type::Ptr{Cchar}, - H_ne::Int64, H_row::Ptr{Int64}, - H_col::Ptr{Int64}, - H_ptr::Ptr{Int64}, - H_val::Ptr{Float128}, - g::Ptr{Float128}, f::Cfloat128, - A_type::Ptr{Cchar}, A_ne::Int64, - A_row::Ptr{Int64}, - A_col::Ptr{Int64}, - A_ptr::Ptr{Int64}, - A_val::Ptr{Float128}, - c_l::Ptr{Float128}, - c_u::Ptr{Float128}, - x_l::Ptr{Float128}, - x_u::Ptr{Float128}, - n_out::Ptr{Int64}, - m_out::Ptr{Int64}, - H_ne_out::Ptr{Int64}, - A_ne_out::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.presolve_import_problem_q_64(control::Ptr{presolve_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + m::Int64, H_type::Ptr{Cchar}, + H_ne::Int64, + H_row::Ptr{Int64}, + H_col::Ptr{Int64}, + H_ptr::Ptr{Int64}, + H_val::Ptr{Float128}, + g::Ptr{Float128}, + f::Cfloat128, + A_type::Ptr{Cchar}, + A_ne::Int64, + A_row::Ptr{Int64}, + A_col::Ptr{Int64}, + A_ptr::Ptr{Int64}, + A_val::Ptr{Float128}, + c_l::Ptr{Float128}, + c_u::Ptr{Float128}, + x_l::Ptr{Float128}, + x_u::Ptr{Float128}, + n_out::Ptr{Int64}, + m_out::Ptr{Int64}, + H_ne_out::Ptr{Int64}, + A_ne_out::Ptr{Int64})::Cvoid end export presolve_transform_problem @@ -316,24 +325,25 @@ end function presolve_transform_problem(::Type{Float32}, ::Type{Int64}, data, status, n, m, H_ne, H_col, H_ptr, H_val, g, f, A_ne, A_col, A_ptr, A_val, c_l, c_u, x_l, x_u, y_l, y_u, z_l, z_u) - @ccall libgalahad_single_64.presolve_transform_problem_s(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - m::Int64, H_ne::Int64, - H_col::Ptr{Int64}, - H_ptr::Ptr{Int64}, - H_val::Ptr{Float32}, - g::Ptr{Float32}, f::Ptr{Float32}, - A_ne::Int64, A_col::Ptr{Int64}, - A_ptr::Ptr{Int64}, - A_val::Ptr{Float32}, - c_l::Ptr{Float32}, - c_u::Ptr{Float32}, - x_l::Ptr{Float32}, - x_u::Ptr{Float32}, - y_l::Ptr{Float32}, - y_u::Ptr{Float32}, - z_l::Ptr{Float32}, - z_u::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.presolve_transform_problem_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + m::Int64, H_ne::Int64, + H_col::Ptr{Int64}, + H_ptr::Ptr{Int64}, + H_val::Ptr{Float32}, + g::Ptr{Float32}, + f::Ptr{Float32}, A_ne::Int64, + A_col::Ptr{Int64}, + A_ptr::Ptr{Int64}, + A_val::Ptr{Float32}, + c_l::Ptr{Float32}, + c_u::Ptr{Float32}, + x_l::Ptr{Float32}, + x_u::Ptr{Float32}, + y_l::Ptr{Float32}, + y_u::Ptr{Float32}, + z_l::Ptr{Float32}, + z_u::Ptr{Float32})::Cvoid end function presolve_transform_problem(::Type{Float64}, ::Type{Int32}, data, status, n, m, @@ -357,24 +367,25 @@ end function presolve_transform_problem(::Type{Float64}, ::Type{Int64}, data, status, n, m, H_ne, H_col, H_ptr, H_val, g, f, A_ne, A_col, A_ptr, A_val, c_l, c_u, x_l, x_u, y_l, y_u, z_l, z_u) - @ccall libgalahad_double_64.presolve_transform_problem(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - m::Int64, H_ne::Int64, - H_col::Ptr{Int64}, - H_ptr::Ptr{Int64}, - H_val::Ptr{Float64}, - g::Ptr{Float64}, f::Ptr{Float64}, - A_ne::Int64, A_col::Ptr{Int64}, - A_ptr::Ptr{Int64}, - A_val::Ptr{Float64}, - c_l::Ptr{Float64}, - c_u::Ptr{Float64}, - x_l::Ptr{Float64}, - x_u::Ptr{Float64}, - y_l::Ptr{Float64}, - y_u::Ptr{Float64}, - z_l::Ptr{Float64}, - z_u::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.presolve_transform_problem_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + m::Int64, H_ne::Int64, + H_col::Ptr{Int64}, + H_ptr::Ptr{Int64}, + H_val::Ptr{Float64}, + g::Ptr{Float64}, + f::Ptr{Float64}, A_ne::Int64, + A_col::Ptr{Int64}, + A_ptr::Ptr{Int64}, + A_val::Ptr{Float64}, + c_l::Ptr{Float64}, + c_u::Ptr{Float64}, + x_l::Ptr{Float64}, + x_u::Ptr{Float64}, + y_l::Ptr{Float64}, + y_u::Ptr{Float64}, + z_l::Ptr{Float64}, + z_u::Ptr{Float64})::Cvoid end function presolve_transform_problem(::Type{Float128}, ::Type{Int32}, data, status, n, m, @@ -404,25 +415,27 @@ end function presolve_transform_problem(::Type{Float128}, ::Type{Int64}, data, status, n, m, H_ne, H_col, H_ptr, H_val, g, f, A_ne, A_col, A_ptr, A_val, c_l, c_u, x_l, x_u, y_l, y_u, z_l, z_u) - @ccall libgalahad_quadruple_64.presolve_transform_problem_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - m::Int64, H_ne::Int64, - H_col::Ptr{Int64}, - H_ptr::Ptr{Int64}, - H_val::Ptr{Float128}, - g::Ptr{Float128}, - f::Ptr{Float128}, A_ne::Int64, - A_col::Ptr{Int64}, - A_ptr::Ptr{Int64}, - A_val::Ptr{Float128}, - c_l::Ptr{Float128}, - c_u::Ptr{Float128}, - x_l::Ptr{Float128}, - x_u::Ptr{Float128}, - y_l::Ptr{Float128}, - y_u::Ptr{Float128}, - z_l::Ptr{Float128}, - z_u::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.presolve_transform_problem_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + n::Int64, m::Int64, + H_ne::Int64, + H_col::Ptr{Int64}, + H_ptr::Ptr{Int64}, + H_val::Ptr{Float128}, + g::Ptr{Float128}, + f::Ptr{Float128}, + A_ne::Int64, + A_col::Ptr{Int64}, + A_ptr::Ptr{Int64}, + A_val::Ptr{Float128}, + c_l::Ptr{Float128}, + c_u::Ptr{Float128}, + x_l::Ptr{Float128}, + x_u::Ptr{Float128}, + y_l::Ptr{Float128}, + y_u::Ptr{Float128}, + z_l::Ptr{Float128}, + z_u::Ptr{Float128})::Cvoid end export presolve_restore_solution @@ -442,15 +455,17 @@ end function presolve_restore_solution(::Type{Float32}, ::Type{Int64}, data, status, n_in, m_in, x_in, c_in, y_in, z_in, n, m, x, c, y, z) - @ccall libgalahad_single_64.presolve_restore_solution_s(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n_in::Int64, - m_in::Int64, x_in::Ptr{Float32}, - c_in::Ptr{Float32}, - y_in::Ptr{Float32}, - z_in::Ptr{Float32}, n::Int64, - m::Int64, x::Ptr{Float32}, - c::Ptr{Float32}, y::Ptr{Float32}, - z::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.presolve_restore_solution_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + n_in::Int64, m_in::Int64, + x_in::Ptr{Float32}, + c_in::Ptr{Float32}, + y_in::Ptr{Float32}, + z_in::Ptr{Float32}, n::Int64, + m::Int64, x::Ptr{Float32}, + c::Ptr{Float32}, + y::Ptr{Float32}, + z::Ptr{Float32})::Cvoid end function presolve_restore_solution(::Type{Float64}, ::Type{Int32}, data, status, n_in, m_in, @@ -467,15 +482,15 @@ end function presolve_restore_solution(::Type{Float64}, ::Type{Int64}, data, status, n_in, m_in, x_in, c_in, y_in, z_in, n, m, x, c, y, z) - @ccall libgalahad_double_64.presolve_restore_solution(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n_in::Int64, - m_in::Int64, x_in::Ptr{Float64}, - c_in::Ptr{Float64}, - y_in::Ptr{Float64}, - z_in::Ptr{Float64}, n::Int64, - m::Int64, x::Ptr{Float64}, - c::Ptr{Float64}, y::Ptr{Float64}, - z::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.presolve_restore_solution_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n_in::Int64, + m_in::Int64, x_in::Ptr{Float64}, + c_in::Ptr{Float64}, + y_in::Ptr{Float64}, + z_in::Ptr{Float64}, n::Int64, + m::Int64, x::Ptr{Float64}, + c::Ptr{Float64}, y::Ptr{Float64}, + z::Ptr{Float64})::Cvoid end function presolve_restore_solution(::Type{Float128}, ::Type{Int32}, data, status, n_in, @@ -494,17 +509,18 @@ end function presolve_restore_solution(::Type{Float128}, ::Type{Int64}, data, status, n_in, m_in, x_in, c_in, y_in, z_in, n, m, x, c, y, z) - @ccall libgalahad_quadruple_64.presolve_restore_solution_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - n_in::Int64, m_in::Int64, - x_in::Ptr{Float128}, - c_in::Ptr{Float128}, - y_in::Ptr{Float128}, - z_in::Ptr{Float128}, n::Int64, - m::Int64, x::Ptr{Float128}, - c::Ptr{Float128}, - y::Ptr{Float128}, - z::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.presolve_restore_solution_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + n_in::Int64, m_in::Int64, + x_in::Ptr{Float128}, + c_in::Ptr{Float128}, + y_in::Ptr{Float128}, + z_in::Ptr{Float128}, + n::Int64, m::Int64, + x::Ptr{Float128}, + c::Ptr{Float128}, + y::Ptr{Float128}, + z::Ptr{Float128})::Cvoid end export presolve_information @@ -516,9 +532,9 @@ function presolve_information(::Type{Float32}, ::Type{Int32}, data, inform, stat end function presolve_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.presolve_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{presolve_inform_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.presolve_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{presolve_inform_type{Int64}}, + status::Ptr{Int64})::Cvoid end function presolve_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -528,9 +544,9 @@ function presolve_information(::Type{Float64}, ::Type{Int32}, data, inform, stat end function presolve_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.presolve_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{presolve_inform_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.presolve_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{presolve_inform_type{Int64}}, + status::Ptr{Int64})::Cvoid end function presolve_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -540,9 +556,9 @@ function presolve_information(::Type{Float128}, ::Type{Int32}, data, inform, sta end function presolve_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.presolve_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{presolve_inform_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.presolve_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{presolve_inform_type{Int64}}, + status::Ptr{Int64})::Cvoid end export presolve_terminate @@ -555,10 +571,10 @@ function presolve_terminate(::Type{Float32}, ::Type{Int32}, data, control, infor end function presolve_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.presolve_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{presolve_control_type{Float32, - Int64}}, - inform::Ptr{presolve_inform_type{Int64}})::Cvoid + @ccall libgalahad_single_64.presolve_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{presolve_control_type{Float32, + Int64}}, + inform::Ptr{presolve_inform_type{Int64}})::Cvoid end function presolve_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -569,10 +585,10 @@ function presolve_terminate(::Type{Float64}, ::Type{Int32}, data, control, infor end function presolve_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.presolve_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{presolve_control_type{Float64, - Int64}}, - inform::Ptr{presolve_inform_type{Int64}})::Cvoid + @ccall libgalahad_double_64.presolve_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{presolve_control_type{Float64, + Int64}}, + inform::Ptr{presolve_inform_type{Int64}})::Cvoid end function presolve_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -583,8 +599,8 @@ function presolve_terminate(::Type{Float128}, ::Type{Int32}, data, control, info end function presolve_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.presolve_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{presolve_control_type{Float128, - Int64}}, - inform::Ptr{presolve_inform_type{Int64}})::Cvoid + @ccall libgalahad_quadruple_64.presolve_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{presolve_control_type{Float128, + Int64}}, + inform::Ptr{presolve_inform_type{Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/psls.jl b/GALAHAD.jl/src/wrappers/psls.jl index 18b75342ae..f04c7d3067 100644 --- a/GALAHAD.jl/src/wrappers/psls.jl +++ b/GALAHAD.jl/src/wrappers/psls.jl @@ -82,10 +82,10 @@ function psls_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function psls_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.psls_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{psls_control_type{Float32, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.psls_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{psls_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function psls_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -95,9 +95,10 @@ function psls_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function psls_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.psls_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{psls_control_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.psls_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{psls_control_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function psls_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -108,10 +109,10 @@ function psls_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) end function psls_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.psls_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{psls_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.psls_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{psls_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export psls_read_specfile @@ -123,9 +124,9 @@ function psls_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfile) end function psls_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.psls_read_specfile_s(control::Ptr{psls_control_type{Float32, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.psls_read_specfile_s_64(control::Ptr{psls_control_type{Float32, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function psls_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -134,9 +135,9 @@ function psls_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) end function psls_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.psls_read_specfile(control::Ptr{psls_control_type{Float64, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.psls_read_specfile_64(control::Ptr{psls_control_type{Float64, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function psls_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -146,9 +147,9 @@ function psls_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) end function psls_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.psls_read_specfile_q(control::Ptr{psls_control_type{Float128, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.psls_read_specfile_q_64(control::Ptr{psls_control_type{Float128, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end export psls_import @@ -164,11 +165,12 @@ end function psls_import(::Type{Float32}, ::Type{Int64}, control, data, status, n, type, ne, row, col, ptr) - @ccall libgalahad_single_64.psls_import_s(control::Ptr{psls_control_type{Float32,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, type::Ptr{Cchar}, ne::Int64, - row::Ptr{Int64}, col::Ptr{Int64}, - ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.psls_import_s_64(control::Ptr{psls_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, type::Ptr{Cchar}, ne::Int64, + row::Ptr{Int64}, col::Ptr{Int64}, + ptr::Ptr{Int64})::Cvoid end function psls_import(::Type{Float64}, ::Type{Int32}, control, data, status, n, type, ne, @@ -181,11 +183,11 @@ end function psls_import(::Type{Float64}, ::Type{Int64}, control, data, status, n, type, ne, row, col, ptr) - @ccall libgalahad_double_64.psls_import(control::Ptr{psls_control_type{Float64,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, type::Ptr{Cchar}, ne::Int64, - row::Ptr{Int64}, col::Ptr{Int64}, - ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.psls_import_64(control::Ptr{psls_control_type{Float64,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, type::Ptr{Cchar}, ne::Int64, + row::Ptr{Int64}, col::Ptr{Int64}, + ptr::Ptr{Int64})::Cvoid end function psls_import(::Type{Float128}, ::Type{Int32}, control, data, status, n, type, ne, @@ -199,12 +201,12 @@ end function psls_import(::Type{Float128}, ::Type{Int64}, control, data, status, n, type, ne, row, col, ptr) - @ccall libgalahad_quadruple_64.psls_import_q(control::Ptr{psls_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, type::Ptr{Cchar}, ne::Int64, - row::Ptr{Int64}, col::Ptr{Int64}, - ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.psls_import_q_64(control::Ptr{psls_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, type::Ptr{Cchar}, ne::Int64, + row::Ptr{Int64}, col::Ptr{Int64}, + ptr::Ptr{Int64})::Cvoid end export psls_reset_control @@ -217,10 +219,10 @@ function psls_reset_control(::Type{Float32}, ::Type{Int32}, control, data, statu end function psls_reset_control(::Type{Float32}, ::Type{Int64}, control, data, status) - @ccall libgalahad_single_64.psls_reset_control_s(control::Ptr{psls_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.psls_reset_control_s_64(control::Ptr{psls_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function psls_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status) @@ -230,10 +232,10 @@ function psls_reset_control(::Type{Float64}, ::Type{Int32}, control, data, statu end function psls_reset_control(::Type{Float64}, ::Type{Int64}, control, data, status) - @ccall libgalahad_double_64.psls_reset_control(control::Ptr{psls_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.psls_reset_control_64(control::Ptr{psls_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function psls_reset_control(::Type{Float128}, ::Type{Int32}, control, data, status) @@ -244,10 +246,10 @@ function psls_reset_control(::Type{Float128}, ::Type{Int32}, control, data, stat end function psls_reset_control(::Type{Float128}, ::Type{Int64}, control, data, status) - @ccall libgalahad_quadruple_64.psls_reset_control_q(control::Ptr{psls_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.psls_reset_control_q_64(control::Ptr{psls_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end export psls_form_preconditioner @@ -259,9 +261,9 @@ function psls_form_preconditioner(::Type{Float32}, ::Type{Int32}, data, status, end function psls_form_preconditioner(::Type{Float32}, ::Type{Int64}, data, status, ne, val) - @ccall libgalahad_single_64.psls_form_preconditioner_s(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, ne::Int64, - val::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.psls_form_preconditioner_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, ne::Int64, + val::Ptr{Float32})::Cvoid end function psls_form_preconditioner(::Type{Float64}, ::Type{Int32}, data, status, ne, val) @@ -271,9 +273,9 @@ function psls_form_preconditioner(::Type{Float64}, ::Type{Int32}, data, status, end function psls_form_preconditioner(::Type{Float64}, ::Type{Int64}, data, status, ne, val) - @ccall libgalahad_double_64.psls_form_preconditioner(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, ne::Int64, - val::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.psls_form_preconditioner_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, ne::Int64, + val::Ptr{Float64})::Cvoid end function psls_form_preconditioner(::Type{Float128}, ::Type{Int32}, data, status, ne, val) @@ -283,9 +285,10 @@ function psls_form_preconditioner(::Type{Float128}, ::Type{Int32}, data, status, end function psls_form_preconditioner(::Type{Float128}, ::Type{Int64}, data, status, ne, val) - @ccall libgalahad_quadruple_64.psls_form_preconditioner_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, ne::Int64, - val::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.psls_form_preconditioner_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + ne::Int64, + val::Ptr{Float128})::Cvoid end export psls_form_subset_preconditioner @@ -301,12 +304,12 @@ end function psls_form_subset_preconditioner(::Type{Float32}, ::Type{Int64}, data, status, ne, val, n_sub, sub) - @ccall libgalahad_single_64.psls_form_subset_preconditioner_s(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - ne::Int64, - val::Ptr{Float32}, - n_sub::Int64, - sub::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.psls_form_subset_preconditioner_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + ne::Int64, + val::Ptr{Float32}, + n_sub::Int64, + sub::Ptr{Int64})::Cvoid end function psls_form_subset_preconditioner(::Type{Float64}, ::Type{Int32}, data, status, ne, @@ -319,11 +322,12 @@ end function psls_form_subset_preconditioner(::Type{Float64}, ::Type{Int64}, data, status, ne, val, n_sub, sub) - @ccall libgalahad_double_64.psls_form_subset_preconditioner(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, ne::Int64, - val::Ptr{Float64}, - n_sub::Int64, - sub::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.psls_form_subset_preconditioner_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + ne::Int64, + val::Ptr{Float64}, + n_sub::Int64, + sub::Ptr{Int64})::Cvoid end function psls_form_subset_preconditioner(::Type{Float128}, ::Type{Int32}, data, status, ne, @@ -338,12 +342,12 @@ end function psls_form_subset_preconditioner(::Type{Float128}, ::Type{Int64}, data, status, ne, val, n_sub, sub) - @ccall libgalahad_quadruple_64.psls_form_subset_preconditioner_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - ne::Int64, - val::Ptr{Float128}, - n_sub::Int64, - sub::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.psls_form_subset_preconditioner_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + ne::Int64, + val::Ptr{Float128}, + n_sub::Int64, + sub::Ptr{Int64})::Cvoid end export psls_update_preconditioner @@ -358,10 +362,11 @@ end function psls_update_preconditioner(::Type{Float32}, ::Type{Int64}, data, status, ne, val, n_del, del) - @ccall libgalahad_single_64.psls_update_preconditioner_s(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, ne::Int64, - val::Ptr{Float32}, n_del::Int64, - del::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.psls_update_preconditioner_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, ne::Int64, + val::Ptr{Float32}, + n_del::Int64, + del::Ptr{Int64})::Cvoid end function psls_update_preconditioner(::Type{Float64}, ::Type{Int32}, data, status, ne, val, @@ -374,10 +379,10 @@ end function psls_update_preconditioner(::Type{Float64}, ::Type{Int64}, data, status, ne, val, n_del, del) - @ccall libgalahad_double_64.psls_update_preconditioner(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, ne::Int64, - val::Ptr{Float64}, n_del::Int64, - del::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.psls_update_preconditioner_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, ne::Int64, + val::Ptr{Float64}, n_del::Int64, + del::Ptr{Int64})::Cvoid end function psls_update_preconditioner(::Type{Float128}, ::Type{Int32}, data, status, ne, val, @@ -390,11 +395,12 @@ end function psls_update_preconditioner(::Type{Float128}, ::Type{Int64}, data, status, ne, val, n_del, del) - @ccall libgalahad_quadruple_64.psls_update_preconditioner_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, ne::Int64, - val::Ptr{Float128}, - n_del::Int64, - del::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.psls_update_preconditioner_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + ne::Int64, + val::Ptr{Float128}, + n_del::Int64, + del::Ptr{Int64})::Cvoid end export psls_apply_preconditioner @@ -406,9 +412,9 @@ function psls_apply_preconditioner(::Type{Float32}, ::Type{Int32}, data, status, end function psls_apply_preconditioner(::Type{Float32}, ::Type{Int64}, data, status, n, sol) - @ccall libgalahad_single_64.psls_apply_preconditioner_s(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - sol::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.psls_apply_preconditioner_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + sol::Ptr{Float32})::Cvoid end function psls_apply_preconditioner(::Type{Float64}, ::Type{Int32}, data, status, n, sol) @@ -418,9 +424,9 @@ function psls_apply_preconditioner(::Type{Float64}, ::Type{Int32}, data, status, end function psls_apply_preconditioner(::Type{Float64}, ::Type{Int64}, data, status, n, sol) - @ccall libgalahad_double_64.psls_apply_preconditioner(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - sol::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.psls_apply_preconditioner_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + sol::Ptr{Float64})::Cvoid end function psls_apply_preconditioner(::Type{Float128}, ::Type{Int32}, data, status, n, sol) @@ -430,9 +436,10 @@ function psls_apply_preconditioner(::Type{Float128}, ::Type{Int32}, data, status end function psls_apply_preconditioner(::Type{Float128}, ::Type{Int64}, data, status, n, sol) - @ccall libgalahad_quadruple_64.psls_apply_preconditioner_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - sol::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.psls_apply_preconditioner_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + n::Int64, + sol::Ptr{Float128})::Cvoid end export psls_information @@ -444,10 +451,10 @@ function psls_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function psls_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.psls_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{psls_inform_type{Float32, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.psls_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{psls_inform_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function psls_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -457,9 +464,10 @@ function psls_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function psls_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.psls_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{psls_inform_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.psls_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{psls_inform_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function psls_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -470,10 +478,10 @@ function psls_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function psls_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.psls_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{psls_inform_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.psls_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{psls_inform_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export psls_terminate @@ -485,10 +493,11 @@ function psls_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function psls_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.psls_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{psls_control_type{Float32, - Int64}}, - inform::Ptr{psls_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.psls_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{psls_control_type{Float32, + Int64}}, + inform::Ptr{psls_inform_type{Float32, + Int64}})::Cvoid end function psls_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -498,9 +507,10 @@ function psls_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function psls_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.psls_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{psls_control_type{Float64,Int64}}, - inform::Ptr{psls_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.psls_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{psls_control_type{Float64, + Int64}}, + inform::Ptr{psls_inform_type{Float64,Int64}})::Cvoid end function psls_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -511,9 +521,9 @@ function psls_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function psls_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.psls_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{psls_control_type{Float128, - Int64}}, - inform::Ptr{psls_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.psls_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{psls_control_type{Float128, + Int64}}, + inform::Ptr{psls_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/qpa.jl b/GALAHAD.jl/src/wrappers/qpa.jl index c3fd23d782..6b0450f8c4 100644 --- a/GALAHAD.jl/src/wrappers/qpa.jl +++ b/GALAHAD.jl/src/wrappers/qpa.jl @@ -102,9 +102,10 @@ function qpa_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function qpa_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.qpa_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{qpa_control_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.qpa_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{qpa_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function qpa_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -114,9 +115,10 @@ function qpa_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function qpa_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.qpa_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{qpa_control_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.qpa_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{qpa_control_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function qpa_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -127,10 +129,10 @@ function qpa_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) end function qpa_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.qpa_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{qpa_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.qpa_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{qpa_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export qpa_read_specfile @@ -141,9 +143,9 @@ function qpa_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfile) end function qpa_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.qpa_read_specfile_s(control::Ptr{qpa_control_type{Float32, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.qpa_read_specfile_s_64(control::Ptr{qpa_control_type{Float32, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function qpa_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -152,9 +154,9 @@ function qpa_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) end function qpa_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.qpa_read_specfile(control::Ptr{qpa_control_type{Float64, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.qpa_read_specfile_64(control::Ptr{qpa_control_type{Float64, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function qpa_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -164,9 +166,9 @@ function qpa_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) end function qpa_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.qpa_read_specfile_q(control::Ptr{qpa_control_type{Float128, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.qpa_read_specfile_q_64(control::Ptr{qpa_control_type{Float128, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end export qpa_import @@ -184,14 +186,14 @@ end function qpa_import(::Type{Float32}, ::Type{Int64}, control, data, status, n, m, H_type, H_ne, H_row, H_col, H_ptr, A_type, A_ne, A_row, A_col, A_ptr) - @ccall libgalahad_single_64.qpa_import_s(control::Ptr{qpa_control_type{Float32,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, H_type::Ptr{Cchar}, - H_ne::Int64, H_row::Ptr{Int64}, - H_col::Ptr{Int64}, H_ptr::Ptr{Int64}, - A_type::Ptr{Cchar}, A_ne::Int64, - A_row::Ptr{Int64}, A_col::Ptr{Int64}, - A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.qpa_import_s_64(control::Ptr{qpa_control_type{Float32,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, H_type::Ptr{Cchar}, + H_ne::Int64, H_row::Ptr{Int64}, + H_col::Ptr{Int64}, H_ptr::Ptr{Int64}, + A_type::Ptr{Cchar}, A_ne::Int64, + A_row::Ptr{Int64}, A_col::Ptr{Int64}, + A_ptr::Ptr{Int64})::Cvoid end function qpa_import(::Type{Float64}, ::Type{Int32}, control, data, status, n, m, H_type, @@ -207,13 +209,14 @@ end function qpa_import(::Type{Float64}, ::Type{Int64}, control, data, status, n, m, H_type, H_ne, H_row, H_col, H_ptr, A_type, A_ne, A_row, A_col, A_ptr) - @ccall libgalahad_double_64.qpa_import(control::Ptr{qpa_control_type{Float64,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, H_type::Ptr{Cchar}, - H_ne::Int64, H_row::Ptr{Int64}, H_col::Ptr{Int64}, - H_ptr::Ptr{Int64}, A_type::Ptr{Cchar}, A_ne::Int64, - A_row::Ptr{Int64}, A_col::Ptr{Int64}, - A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.qpa_import_64(control::Ptr{qpa_control_type{Float64,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, H_type::Ptr{Cchar}, + H_ne::Int64, H_row::Ptr{Int64}, + H_col::Ptr{Int64}, H_ptr::Ptr{Int64}, + A_type::Ptr{Cchar}, A_ne::Int64, + A_row::Ptr{Int64}, A_col::Ptr{Int64}, + A_ptr::Ptr{Int64})::Cvoid end function qpa_import(::Type{Float128}, ::Type{Int32}, control, data, status, n, m, H_type, @@ -230,14 +233,15 @@ end function qpa_import(::Type{Float128}, ::Type{Int64}, control, data, status, n, m, H_type, H_ne, H_row, H_col, H_ptr, A_type, A_ne, A_row, A_col, A_ptr) - @ccall libgalahad_quadruple_64.qpa_import_q(control::Ptr{qpa_control_type{Float128,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, H_type::Ptr{Cchar}, - H_ne::Int64, H_row::Ptr{Int64}, - H_col::Ptr{Int64}, H_ptr::Ptr{Int64}, - A_type::Ptr{Cchar}, A_ne::Int64, - A_row::Ptr{Int64}, A_col::Ptr{Int64}, - A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.qpa_import_q_64(control::Ptr{qpa_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, H_type::Ptr{Cchar}, + H_ne::Int64, H_row::Ptr{Int64}, + H_col::Ptr{Int64}, H_ptr::Ptr{Int64}, + A_type::Ptr{Cchar}, A_ne::Int64, + A_row::Ptr{Int64}, A_col::Ptr{Int64}, + A_ptr::Ptr{Int64})::Cvoid end export qpa_reset_control @@ -249,10 +253,10 @@ function qpa_reset_control(::Type{Float32}, ::Type{Int32}, control, data, status end function qpa_reset_control(::Type{Float32}, ::Type{Int64}, control, data, status) - @ccall libgalahad_single_64.qpa_reset_control_s(control::Ptr{qpa_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.qpa_reset_control_s_64(control::Ptr{qpa_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function qpa_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status) @@ -262,10 +266,10 @@ function qpa_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status end function qpa_reset_control(::Type{Float64}, ::Type{Int64}, control, data, status) - @ccall libgalahad_double_64.qpa_reset_control(control::Ptr{qpa_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.qpa_reset_control_64(control::Ptr{qpa_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function qpa_reset_control(::Type{Float128}, ::Type{Int32}, control, data, status) @@ -276,10 +280,10 @@ function qpa_reset_control(::Type{Float128}, ::Type{Int32}, control, data, statu end function qpa_reset_control(::Type{Float128}, ::Type{Int64}, control, data, status) - @ccall libgalahad_quadruple_64.qpa_reset_control_q(control::Ptr{qpa_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.qpa_reset_control_q_64(control::Ptr{qpa_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end export qpa_solve_qp @@ -299,15 +303,16 @@ end function qpa_solve_qp(::Type{Float32}, ::Type{Int64}, data, status, n, m, h_ne, H_val, g, f, a_ne, A_val, c_l, c_u, x_l, x_u, x, c, y, z, x_stat, c_stat) - @ccall libgalahad_single_64.qpa_solve_qp_s(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, h_ne::Int64, - H_val::Ptr{Float32}, g::Ptr{Float32}, - f::Float32, a_ne::Int64, A_val::Ptr{Float32}, - c_l::Ptr{Float32}, c_u::Ptr{Float32}, - x_l::Ptr{Float32}, x_u::Ptr{Float32}, - x::Ptr{Float32}, c::Ptr{Float32}, - y::Ptr{Float32}, z::Ptr{Float32}, - x_stat::Ptr{Int64}, c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.qpa_solve_qp_s_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, h_ne::Int64, + H_val::Ptr{Float32}, g::Ptr{Float32}, + f::Float32, a_ne::Int64, + A_val::Ptr{Float32}, c_l::Ptr{Float32}, + c_u::Ptr{Float32}, x_l::Ptr{Float32}, + x_u::Ptr{Float32}, x::Ptr{Float32}, + c::Ptr{Float32}, y::Ptr{Float32}, + z::Ptr{Float32}, x_stat::Ptr{Int64}, + c_stat::Ptr{Int64})::Cvoid end function qpa_solve_qp(::Type{Float64}, ::Type{Int32}, data, status, n, m, h_ne, H_val, g, f, @@ -324,15 +329,15 @@ end function qpa_solve_qp(::Type{Float64}, ::Type{Int64}, data, status, n, m, h_ne, H_val, g, f, a_ne, A_val, c_l, c_u, x_l, x_u, x, c, y, z, x_stat, c_stat) - @ccall libgalahad_double_64.qpa_solve_qp(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, h_ne::Int64, - H_val::Ptr{Float64}, g::Ptr{Float64}, f::Float64, - a_ne::Int64, A_val::Ptr{Float64}, - c_l::Ptr{Float64}, c_u::Ptr{Float64}, - x_l::Ptr{Float64}, x_u::Ptr{Float64}, - x::Ptr{Float64}, c::Ptr{Float64}, - y::Ptr{Float64}, z::Ptr{Float64}, - x_stat::Ptr{Int64}, c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.qpa_solve_qp_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, h_ne::Int64, + H_val::Ptr{Float64}, g::Ptr{Float64}, + f::Float64, a_ne::Int64, A_val::Ptr{Float64}, + c_l::Ptr{Float64}, c_u::Ptr{Float64}, + x_l::Ptr{Float64}, x_u::Ptr{Float64}, + x::Ptr{Float64}, c::Ptr{Float64}, + y::Ptr{Float64}, z::Ptr{Float64}, + x_stat::Ptr{Int64}, c_stat::Ptr{Int64})::Cvoid end function qpa_solve_qp(::Type{Float128}, ::Type{Int32}, data, status, n, m, h_ne, H_val, g, @@ -351,16 +356,17 @@ end function qpa_solve_qp(::Type{Float128}, ::Type{Int64}, data, status, n, m, h_ne, H_val, g, f, a_ne, A_val, c_l, c_u, x_l, x_u, x, c, y, z, x_stat, c_stat) - @ccall libgalahad_quadruple_64.qpa_solve_qp_q(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, h_ne::Int64, - H_val::Ptr{Float128}, g::Ptr{Float128}, - f::Cfloat128, a_ne::Int64, - A_val::Ptr{Float128}, c_l::Ptr{Float128}, - c_u::Ptr{Float128}, x_l::Ptr{Float128}, - x_u::Ptr{Float128}, x::Ptr{Float128}, - c::Ptr{Float128}, y::Ptr{Float128}, - z::Ptr{Float128}, x_stat::Ptr{Int64}, - c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.qpa_solve_qp_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, m::Int64, + h_ne::Int64, H_val::Ptr{Float128}, + g::Ptr{Float128}, f::Cfloat128, + a_ne::Int64, A_val::Ptr{Float128}, + c_l::Ptr{Float128}, c_u::Ptr{Float128}, + x_l::Ptr{Float128}, x_u::Ptr{Float128}, + x::Ptr{Float128}, c::Ptr{Float128}, + y::Ptr{Float128}, z::Ptr{Float128}, + x_stat::Ptr{Int64}, + c_stat::Ptr{Int64})::Cvoid end export qpa_solve_l1qp @@ -383,17 +389,17 @@ end function qpa_solve_l1qp(::Type{Float32}, ::Type{Int64}, data, status, n, m, h_ne, H_val, g, f, rho_g, rho_b, a_ne, A_val, c_l, c_u, x_l, x_u, x, c, y, z, x_stat, c_stat) - @ccall libgalahad_single_64.qpa_solve_l1qp_s(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, h_ne::Int64, - H_val::Ptr{Float32}, g::Ptr{Float32}, - f::Float32, rho_g::Float32, rho_b::Float32, - a_ne::Int64, A_val::Ptr{Float32}, - c_l::Ptr{Float32}, c_u::Ptr{Float32}, - x_l::Ptr{Float32}, x_u::Ptr{Float32}, - x::Ptr{Float32}, c::Ptr{Float32}, - y::Ptr{Float32}, z::Ptr{Float32}, - x_stat::Ptr{Int64}, - c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.qpa_solve_l1qp_s_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, h_ne::Int64, + H_val::Ptr{Float32}, g::Ptr{Float32}, + f::Float32, rho_g::Float32, + rho_b::Float32, a_ne::Int64, + A_val::Ptr{Float32}, c_l::Ptr{Float32}, + c_u::Ptr{Float32}, x_l::Ptr{Float32}, + x_u::Ptr{Float32}, x::Ptr{Float32}, + c::Ptr{Float32}, y::Ptr{Float32}, + z::Ptr{Float32}, x_stat::Ptr{Int64}, + c_stat::Ptr{Int64})::Cvoid end function qpa_solve_l1qp(::Type{Float64}, ::Type{Int32}, data, status, n, m, h_ne, H_val, g, @@ -413,16 +419,17 @@ end function qpa_solve_l1qp(::Type{Float64}, ::Type{Int64}, data, status, n, m, h_ne, H_val, g, f, rho_g, rho_b, a_ne, A_val, c_l, c_u, x_l, x_u, x, c, y, z, x_stat, c_stat) - @ccall libgalahad_double_64.qpa_solve_l1qp(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, h_ne::Int64, - H_val::Ptr{Float64}, g::Ptr{Float64}, - f::Float64, rho_g::Float64, rho_b::Float64, - a_ne::Int64, A_val::Ptr{Float64}, - c_l::Ptr{Float64}, c_u::Ptr{Float64}, - x_l::Ptr{Float64}, x_u::Ptr{Float64}, - x::Ptr{Float64}, c::Ptr{Float64}, - y::Ptr{Float64}, z::Ptr{Float64}, - x_stat::Ptr{Int64}, c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.qpa_solve_l1qp_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, h_ne::Int64, + H_val::Ptr{Float64}, g::Ptr{Float64}, + f::Float64, rho_g::Float64, rho_b::Float64, + a_ne::Int64, A_val::Ptr{Float64}, + c_l::Ptr{Float64}, c_u::Ptr{Float64}, + x_l::Ptr{Float64}, x_u::Ptr{Float64}, + x::Ptr{Float64}, c::Ptr{Float64}, + y::Ptr{Float64}, z::Ptr{Float64}, + x_stat::Ptr{Int64}, + c_stat::Ptr{Int64})::Cvoid end function qpa_solve_l1qp(::Type{Float128}, ::Type{Int32}, data, status, n, m, h_ne, H_val, g, @@ -444,17 +451,18 @@ end function qpa_solve_l1qp(::Type{Float128}, ::Type{Int64}, data, status, n, m, h_ne, H_val, g, f, rho_g, rho_b, a_ne, A_val, c_l, c_u, x_l, x_u, x, c, y, z, x_stat, c_stat) - @ccall libgalahad_quadruple_64.qpa_solve_l1qp_q(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, h_ne::Int64, - H_val::Ptr{Float128}, g::Ptr{Float128}, - f::Cfloat128, rho_g::Cfloat128, - rho_b::Cfloat128, a_ne::Int64, - A_val::Ptr{Float128}, c_l::Ptr{Float128}, - c_u::Ptr{Float128}, x_l::Ptr{Float128}, - x_u::Ptr{Float128}, x::Ptr{Float128}, - c::Ptr{Float128}, y::Ptr{Float128}, - z::Ptr{Float128}, x_stat::Ptr{Int64}, - c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.qpa_solve_l1qp_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, m::Int64, + h_ne::Int64, H_val::Ptr{Float128}, + g::Ptr{Float128}, f::Cfloat128, + rho_g::Cfloat128, rho_b::Cfloat128, + a_ne::Int64, A_val::Ptr{Float128}, + c_l::Ptr{Float128}, c_u::Ptr{Float128}, + x_l::Ptr{Float128}, x_u::Ptr{Float128}, + x::Ptr{Float128}, c::Ptr{Float128}, + y::Ptr{Float128}, z::Ptr{Float128}, + x_stat::Ptr{Int64}, + c_stat::Ptr{Int64})::Cvoid end export qpa_solve_bcl1qp @@ -477,16 +485,17 @@ end function qpa_solve_bcl1qp(::Type{Float32}, ::Type{Int64}, data, status, n, m, h_ne, H_val, g, f, rho_g, a_ne, A_val, c_l, c_u, x_l, x_u, x, c, y, z, x_stat, c_stat) - @ccall libgalahad_single_64.qpa_solve_bcl1qp_s(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, h_ne::Int64, - H_val::Ptr{Float32}, g::Ptr{Float32}, - f::Float32, rho_g::Float32, a_ne::Int64, - A_val::Ptr{Float32}, c_l::Ptr{Float32}, - c_u::Ptr{Float32}, x_l::Ptr{Float32}, - x_u::Ptr{Float32}, x::Ptr{Float32}, - c::Ptr{Float32}, y::Ptr{Float32}, - z::Ptr{Float32}, x_stat::Ptr{Int64}, - c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.qpa_solve_bcl1qp_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, m::Int64, + h_ne::Int64, H_val::Ptr{Float32}, + g::Ptr{Float32}, f::Float32, + rho_g::Float32, a_ne::Int64, + A_val::Ptr{Float32}, c_l::Ptr{Float32}, + c_u::Ptr{Float32}, x_l::Ptr{Float32}, + x_u::Ptr{Float32}, x::Ptr{Float32}, + c::Ptr{Float32}, y::Ptr{Float32}, + z::Ptr{Float32}, x_stat::Ptr{Int64}, + c_stat::Ptr{Int64})::Cvoid end function qpa_solve_bcl1qp(::Type{Float64}, ::Type{Int32}, data, status, n, m, h_ne, H_val, @@ -507,16 +516,16 @@ end function qpa_solve_bcl1qp(::Type{Float64}, ::Type{Int64}, data, status, n, m, h_ne, H_val, g, f, rho_g, a_ne, A_val, c_l, c_u, x_l, x_u, x, c, y, z, x_stat, c_stat) - @ccall libgalahad_double_64.qpa_solve_bcl1qp(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, h_ne::Int64, - H_val::Ptr{Float64}, g::Ptr{Float64}, - f::Float64, rho_g::Float64, a_ne::Int64, - A_val::Ptr{Float64}, c_l::Ptr{Float64}, - c_u::Ptr{Float64}, x_l::Ptr{Float64}, - x_u::Ptr{Float64}, x::Ptr{Float64}, - c::Ptr{Float64}, y::Ptr{Float64}, - z::Ptr{Float64}, x_stat::Ptr{Int64}, - c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.qpa_solve_bcl1qp_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, h_ne::Int64, + H_val::Ptr{Float64}, g::Ptr{Float64}, + f::Float64, rho_g::Float64, a_ne::Int64, + A_val::Ptr{Float64}, c_l::Ptr{Float64}, + c_u::Ptr{Float64}, x_l::Ptr{Float64}, + x_u::Ptr{Float64}, x::Ptr{Float64}, + c::Ptr{Float64}, y::Ptr{Float64}, + z::Ptr{Float64}, x_stat::Ptr{Int64}, + c_stat::Ptr{Int64})::Cvoid end function qpa_solve_bcl1qp(::Type{Float128}, ::Type{Int32}, data, status, n, m, h_ne, H_val, @@ -538,18 +547,20 @@ end function qpa_solve_bcl1qp(::Type{Float128}, ::Type{Int64}, data, status, n, m, h_ne, H_val, g, f, rho_g, a_ne, A_val, c_l, c_u, x_l, x_u, x, c, y, z, x_stat, c_stat) - @ccall libgalahad_quadruple_64.qpa_solve_bcl1qp_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, m::Int64, - h_ne::Int64, H_val::Ptr{Float128}, - g::Ptr{Float128}, f::Cfloat128, - rho_g::Cfloat128, a_ne::Int64, - A_val::Ptr{Float128}, - c_l::Ptr{Float128}, c_u::Ptr{Float128}, - x_l::Ptr{Float128}, x_u::Ptr{Float128}, - x::Ptr{Float128}, c::Ptr{Float128}, - y::Ptr{Float128}, z::Ptr{Float128}, - x_stat::Ptr{Int64}, - c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.qpa_solve_bcl1qp_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + m::Int64, h_ne::Int64, + H_val::Ptr{Float128}, + g::Ptr{Float128}, f::Cfloat128, + rho_g::Cfloat128, a_ne::Int64, + A_val::Ptr{Float128}, + c_l::Ptr{Float128}, + c_u::Ptr{Float128}, + x_l::Ptr{Float128}, + x_u::Ptr{Float128}, x::Ptr{Float128}, + c::Ptr{Float128}, y::Ptr{Float128}, + z::Ptr{Float128}, x_stat::Ptr{Int64}, + c_stat::Ptr{Int64})::Cvoid end export qpa_information @@ -561,9 +572,10 @@ function qpa_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function qpa_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.qpa_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{qpa_inform_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.qpa_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{qpa_inform_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function qpa_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -573,9 +585,9 @@ function qpa_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function qpa_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.qpa_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{qpa_inform_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.qpa_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{qpa_inform_type{Float64,Int64}}, + status::Ptr{Int64})::Cvoid end function qpa_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -585,10 +597,10 @@ function qpa_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function qpa_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.qpa_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{qpa_inform_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.qpa_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{qpa_inform_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export qpa_terminate @@ -600,9 +612,10 @@ function qpa_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function qpa_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.qpa_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{qpa_control_type{Float32,Int64}}, - inform::Ptr{qpa_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.qpa_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{qpa_control_type{Float32, + Int64}}, + inform::Ptr{qpa_inform_type{Float32,Int64}})::Cvoid end function qpa_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -612,9 +625,9 @@ function qpa_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function qpa_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.qpa_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{qpa_control_type{Float64,Int64}}, - inform::Ptr{qpa_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.qpa_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{qpa_control_type{Float64,Int64}}, + inform::Ptr{qpa_inform_type{Float64,Int64}})::Cvoid end function qpa_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -624,9 +637,9 @@ function qpa_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function qpa_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.qpa_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{qpa_control_type{Float128, - Int64}}, - inform::Ptr{qpa_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.qpa_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{qpa_control_type{Float128, + Int64}}, + inform::Ptr{qpa_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/qpb.jl b/GALAHAD.jl/src/wrappers/qpb.jl index c85130ba3c..b6cd3cb1ec 100644 --- a/GALAHAD.jl/src/wrappers/qpb.jl +++ b/GALAHAD.jl/src/wrappers/qpb.jl @@ -128,9 +128,10 @@ function qpb_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function qpb_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.qpb_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{qpb_control_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.qpb_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{qpb_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function qpb_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -140,9 +141,10 @@ function qpb_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function qpb_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.qpb_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{qpb_control_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.qpb_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{qpb_control_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function qpb_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -153,10 +155,10 @@ function qpb_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) end function qpb_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.qpb_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{qpb_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.qpb_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{qpb_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export qpb_read_specfile @@ -167,9 +169,9 @@ function qpb_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfile) end function qpb_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.qpb_read_specfile_s(control::Ptr{qpb_control_type{Float32, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.qpb_read_specfile_s_64(control::Ptr{qpb_control_type{Float32, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function qpb_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -178,9 +180,9 @@ function qpb_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) end function qpb_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.qpb_read_specfile(control::Ptr{qpb_control_type{Float64, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.qpb_read_specfile_64(control::Ptr{qpb_control_type{Float64, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function qpb_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -190,9 +192,9 @@ function qpb_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) end function qpb_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.qpb_read_specfile_q(control::Ptr{qpb_control_type{Float128, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.qpb_read_specfile_q_64(control::Ptr{qpb_control_type{Float128, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end export qpb_import @@ -210,14 +212,14 @@ end function qpb_import(::Type{Float32}, ::Type{Int64}, control, data, status, n, m, H_type, H_ne, H_row, H_col, H_ptr, A_type, A_ne, A_row, A_col, A_ptr) - @ccall libgalahad_single_64.qpb_import_s(control::Ptr{qpb_control_type{Float32,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, H_type::Ptr{Cchar}, - H_ne::Int64, H_row::Ptr{Int64}, - H_col::Ptr{Int64}, H_ptr::Ptr{Int64}, - A_type::Ptr{Cchar}, A_ne::Int64, - A_row::Ptr{Int64}, A_col::Ptr{Int64}, - A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.qpb_import_s_64(control::Ptr{qpb_control_type{Float32,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, H_type::Ptr{Cchar}, + H_ne::Int64, H_row::Ptr{Int64}, + H_col::Ptr{Int64}, H_ptr::Ptr{Int64}, + A_type::Ptr{Cchar}, A_ne::Int64, + A_row::Ptr{Int64}, A_col::Ptr{Int64}, + A_ptr::Ptr{Int64})::Cvoid end function qpb_import(::Type{Float64}, ::Type{Int32}, control, data, status, n, m, H_type, @@ -233,13 +235,14 @@ end function qpb_import(::Type{Float64}, ::Type{Int64}, control, data, status, n, m, H_type, H_ne, H_row, H_col, H_ptr, A_type, A_ne, A_row, A_col, A_ptr) - @ccall libgalahad_double_64.qpb_import(control::Ptr{qpb_control_type{Float64,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, H_type::Ptr{Cchar}, - H_ne::Int64, H_row::Ptr{Int64}, H_col::Ptr{Int64}, - H_ptr::Ptr{Int64}, A_type::Ptr{Cchar}, A_ne::Int64, - A_row::Ptr{Int64}, A_col::Ptr{Int64}, - A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.qpb_import_64(control::Ptr{qpb_control_type{Float64,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, H_type::Ptr{Cchar}, + H_ne::Int64, H_row::Ptr{Int64}, + H_col::Ptr{Int64}, H_ptr::Ptr{Int64}, + A_type::Ptr{Cchar}, A_ne::Int64, + A_row::Ptr{Int64}, A_col::Ptr{Int64}, + A_ptr::Ptr{Int64})::Cvoid end function qpb_import(::Type{Float128}, ::Type{Int32}, control, data, status, n, m, H_type, @@ -256,14 +259,15 @@ end function qpb_import(::Type{Float128}, ::Type{Int64}, control, data, status, n, m, H_type, H_ne, H_row, H_col, H_ptr, A_type, A_ne, A_row, A_col, A_ptr) - @ccall libgalahad_quadruple_64.qpb_import_q(control::Ptr{qpb_control_type{Float128,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, H_type::Ptr{Cchar}, - H_ne::Int64, H_row::Ptr{Int64}, - H_col::Ptr{Int64}, H_ptr::Ptr{Int64}, - A_type::Ptr{Cchar}, A_ne::Int64, - A_row::Ptr{Int64}, A_col::Ptr{Int64}, - A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.qpb_import_q_64(control::Ptr{qpb_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, H_type::Ptr{Cchar}, + H_ne::Int64, H_row::Ptr{Int64}, + H_col::Ptr{Int64}, H_ptr::Ptr{Int64}, + A_type::Ptr{Cchar}, A_ne::Int64, + A_row::Ptr{Int64}, A_col::Ptr{Int64}, + A_ptr::Ptr{Int64})::Cvoid end export qpb_reset_control @@ -275,10 +279,10 @@ function qpb_reset_control(::Type{Float32}, ::Type{Int32}, control, data, status end function qpb_reset_control(::Type{Float32}, ::Type{Int64}, control, data, status) - @ccall libgalahad_single_64.qpb_reset_control_s(control::Ptr{qpb_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.qpb_reset_control_s_64(control::Ptr{qpb_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function qpb_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status) @@ -288,10 +292,10 @@ function qpb_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status end function qpb_reset_control(::Type{Float64}, ::Type{Int64}, control, data, status) - @ccall libgalahad_double_64.qpb_reset_control(control::Ptr{qpb_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.qpb_reset_control_64(control::Ptr{qpb_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function qpb_reset_control(::Type{Float128}, ::Type{Int32}, control, data, status) @@ -302,10 +306,10 @@ function qpb_reset_control(::Type{Float128}, ::Type{Int32}, control, data, statu end function qpb_reset_control(::Type{Float128}, ::Type{Int64}, control, data, status) - @ccall libgalahad_quadruple_64.qpb_reset_control_q(control::Ptr{qpb_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.qpb_reset_control_q_64(control::Ptr{qpb_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end export qpb_solve_qp @@ -325,15 +329,16 @@ end function qpb_solve_qp(::Type{Float32}, ::Type{Int64}, data, status, n, m, h_ne, H_val, g, f, a_ne, A_val, c_l, c_u, x_l, x_u, x, c, y, z, x_stat, c_stat) - @ccall libgalahad_single_64.qpb_solve_qp_s(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, h_ne::Int64, - H_val::Ptr{Float32}, g::Ptr{Float32}, - f::Float32, a_ne::Int64, A_val::Ptr{Float32}, - c_l::Ptr{Float32}, c_u::Ptr{Float32}, - x_l::Ptr{Float32}, x_u::Ptr{Float32}, - x::Ptr{Float32}, c::Ptr{Float32}, - y::Ptr{Float32}, z::Ptr{Float32}, - x_stat::Ptr{Int64}, c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.qpb_solve_qp_s_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, h_ne::Int64, + H_val::Ptr{Float32}, g::Ptr{Float32}, + f::Float32, a_ne::Int64, + A_val::Ptr{Float32}, c_l::Ptr{Float32}, + c_u::Ptr{Float32}, x_l::Ptr{Float32}, + x_u::Ptr{Float32}, x::Ptr{Float32}, + c::Ptr{Float32}, y::Ptr{Float32}, + z::Ptr{Float32}, x_stat::Ptr{Int64}, + c_stat::Ptr{Int64})::Cvoid end function qpb_solve_qp(::Type{Float64}, ::Type{Int32}, data, status, n, m, h_ne, H_val, g, f, @@ -350,15 +355,15 @@ end function qpb_solve_qp(::Type{Float64}, ::Type{Int64}, data, status, n, m, h_ne, H_val, g, f, a_ne, A_val, c_l, c_u, x_l, x_u, x, c, y, z, x_stat, c_stat) - @ccall libgalahad_double_64.qpb_solve_qp(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, h_ne::Int64, - H_val::Ptr{Float64}, g::Ptr{Float64}, f::Float64, - a_ne::Int64, A_val::Ptr{Float64}, - c_l::Ptr{Float64}, c_u::Ptr{Float64}, - x_l::Ptr{Float64}, x_u::Ptr{Float64}, - x::Ptr{Float64}, c::Ptr{Float64}, - y::Ptr{Float64}, z::Ptr{Float64}, - x_stat::Ptr{Int64}, c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.qpb_solve_qp_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, h_ne::Int64, + H_val::Ptr{Float64}, g::Ptr{Float64}, + f::Float64, a_ne::Int64, A_val::Ptr{Float64}, + c_l::Ptr{Float64}, c_u::Ptr{Float64}, + x_l::Ptr{Float64}, x_u::Ptr{Float64}, + x::Ptr{Float64}, c::Ptr{Float64}, + y::Ptr{Float64}, z::Ptr{Float64}, + x_stat::Ptr{Int64}, c_stat::Ptr{Int64})::Cvoid end function qpb_solve_qp(::Type{Float128}, ::Type{Int32}, data, status, n, m, h_ne, H_val, g, @@ -377,16 +382,17 @@ end function qpb_solve_qp(::Type{Float128}, ::Type{Int64}, data, status, n, m, h_ne, H_val, g, f, a_ne, A_val, c_l, c_u, x_l, x_u, x, c, y, z, x_stat, c_stat) - @ccall libgalahad_quadruple_64.qpb_solve_qp_q(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, h_ne::Int64, - H_val::Ptr{Float128}, g::Ptr{Float128}, - f::Cfloat128, a_ne::Int64, - A_val::Ptr{Float128}, c_l::Ptr{Float128}, - c_u::Ptr{Float128}, x_l::Ptr{Float128}, - x_u::Ptr{Float128}, x::Ptr{Float128}, - c::Ptr{Float128}, y::Ptr{Float128}, - z::Ptr{Float128}, x_stat::Ptr{Int64}, - c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.qpb_solve_qp_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, m::Int64, + h_ne::Int64, H_val::Ptr{Float128}, + g::Ptr{Float128}, f::Cfloat128, + a_ne::Int64, A_val::Ptr{Float128}, + c_l::Ptr{Float128}, c_u::Ptr{Float128}, + x_l::Ptr{Float128}, x_u::Ptr{Float128}, + x::Ptr{Float128}, c::Ptr{Float128}, + y::Ptr{Float128}, z::Ptr{Float128}, + x_stat::Ptr{Int64}, + c_stat::Ptr{Int64})::Cvoid end export qpb_information @@ -398,9 +404,10 @@ function qpb_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function qpb_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.qpb_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{qpb_inform_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.qpb_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{qpb_inform_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function qpb_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -410,9 +417,9 @@ function qpb_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function qpb_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.qpb_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{qpb_inform_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.qpb_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{qpb_inform_type{Float64,Int64}}, + status::Ptr{Int64})::Cvoid end function qpb_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -422,10 +429,10 @@ function qpb_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function qpb_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.qpb_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{qpb_inform_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.qpb_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{qpb_inform_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export qpb_terminate @@ -437,9 +444,10 @@ function qpb_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function qpb_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.qpb_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{qpb_control_type{Float32,Int64}}, - inform::Ptr{qpb_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.qpb_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{qpb_control_type{Float32, + Int64}}, + inform::Ptr{qpb_inform_type{Float32,Int64}})::Cvoid end function qpb_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -449,9 +457,9 @@ function qpb_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function qpb_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.qpb_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{qpb_control_type{Float64,Int64}}, - inform::Ptr{qpb_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.qpb_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{qpb_control_type{Float64,Int64}}, + inform::Ptr{qpb_inform_type{Float64,Int64}})::Cvoid end function qpb_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -461,9 +469,9 @@ function qpb_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function qpb_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.qpb_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{qpb_control_type{Float128, - Int64}}, - inform::Ptr{qpb_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.qpb_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{qpb_control_type{Float128, + Int64}}, + inform::Ptr{qpb_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/roots.jl b/GALAHAD.jl/src/wrappers/roots.jl index da34ad67a6..9a2d346126 100644 --- a/GALAHAD.jl/src/wrappers/roots.jl +++ b/GALAHAD.jl/src/wrappers/roots.jl @@ -31,10 +31,10 @@ function roots_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function roots_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.roots_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{roots_control_type{Float32, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.roots_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{roots_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function roots_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -44,10 +44,10 @@ function roots_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function roots_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.roots_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{roots_control_type{Float64, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.roots_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{roots_control_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function roots_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -58,10 +58,10 @@ function roots_initialize(::Type{Float128}, ::Type{Int32}, data, control, status end function roots_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.roots_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{roots_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.roots_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{roots_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export roots_information @@ -73,9 +73,9 @@ function roots_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function roots_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.roots_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{roots_inform_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.roots_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{roots_inform_type{Int64}}, + status::Ptr{Int64})::Cvoid end function roots_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -85,9 +85,9 @@ function roots_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function roots_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.roots_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{roots_inform_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.roots_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{roots_inform_type{Int64}}, + status::Ptr{Int64})::Cvoid end function roots_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -97,9 +97,9 @@ function roots_information(::Type{Float128}, ::Type{Int32}, data, inform, status end function roots_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.roots_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{roots_inform_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.roots_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{roots_inform_type{Int64}}, + status::Ptr{Int64})::Cvoid end export roots_terminate @@ -111,10 +111,10 @@ function roots_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function roots_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.roots_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{roots_control_type{Float32, - Int64}}, - inform::Ptr{roots_inform_type{Int64}})::Cvoid + @ccall libgalahad_single_64.roots_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{roots_control_type{Float32, + Int64}}, + inform::Ptr{roots_inform_type{Int64}})::Cvoid end function roots_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -124,10 +124,10 @@ function roots_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function roots_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.roots_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{roots_control_type{Float64, - Int64}}, - inform::Ptr{roots_inform_type{Int64}})::Cvoid + @ccall libgalahad_double_64.roots_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{roots_control_type{Float64, + Int64}}, + inform::Ptr{roots_inform_type{Int64}})::Cvoid end function roots_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -138,8 +138,8 @@ function roots_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function roots_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.roots_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{roots_control_type{Float128, - Int64}}, - inform::Ptr{roots_inform_type{Int64}})::Cvoid + @ccall libgalahad_quadruple_64.roots_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{roots_control_type{Float128, + Int64}}, + inform::Ptr{roots_inform_type{Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/rpd.jl b/GALAHAD.jl/src/wrappers/rpd.jl index 5b1fe1ac2a..dcd828cb92 100644 --- a/GALAHAD.jl/src/wrappers/rpd.jl +++ b/GALAHAD.jl/src/wrappers/rpd.jl @@ -30,9 +30,9 @@ function rpd_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function rpd_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.rpd_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{rpd_control_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.rpd_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{rpd_control_type{Int64}}, + status::Ptr{Int64})::Cvoid end function rpd_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -42,9 +42,9 @@ function rpd_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function rpd_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.rpd_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{rpd_control_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.rpd_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{rpd_control_type{Int64}}, + status::Ptr{Int64})::Cvoid end function rpd_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -54,9 +54,9 @@ function rpd_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) end function rpd_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.rpd_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{rpd_control_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.rpd_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{rpd_control_type{Int64}}, + status::Ptr{Int64})::Cvoid end export rpd_get_stats @@ -73,12 +73,14 @@ end function rpd_get_stats(::Type{Float32}, ::Type{Int64}, qplib_file, qplib_file_len, control, data, status, p_type, n, m, h_ne, a_ne, h_c_ne) - @ccall libgalahad_single_64.rpd_get_stats_s(qplib_file::Ptr{Cchar}, qplib_file_len::Int64, - control::Ptr{rpd_control_type{Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - p_type::Ptr{Cchar}, n::Ptr{Int64}, - m::Ptr{Int64}, h_ne::Ptr{Int64}, - a_ne::Ptr{Int64}, h_c_ne::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.rpd_get_stats_s_64(qplib_file::Ptr{Cchar}, + qplib_file_len::Int64, + control::Ptr{rpd_control_type{Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + p_type::Ptr{Cchar}, n::Ptr{Int64}, + m::Ptr{Int64}, h_ne::Ptr{Int64}, + a_ne::Ptr{Int64}, + h_c_ne::Ptr{Int64})::Cvoid end function rpd_get_stats(::Type{Float64}, ::Type{Int32}, qplib_file, qplib_file_len, control, @@ -93,12 +95,13 @@ end function rpd_get_stats(::Type{Float64}, ::Type{Int64}, qplib_file, qplib_file_len, control, data, status, p_type, n, m, h_ne, a_ne, h_c_ne) - @ccall libgalahad_double_64.rpd_get_stats(qplib_file::Ptr{Cchar}, qplib_file_len::Int64, - control::Ptr{rpd_control_type{Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - p_type::Ptr{Cchar}, n::Ptr{Int64}, - m::Ptr{Int64}, h_ne::Ptr{Int64}, - a_ne::Ptr{Int64}, h_c_ne::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.rpd_get_stats_64(qplib_file::Ptr{Cchar}, + qplib_file_len::Int64, + control::Ptr{rpd_control_type{Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + p_type::Ptr{Cchar}, n::Ptr{Int64}, + m::Ptr{Int64}, h_ne::Ptr{Int64}, + a_ne::Ptr{Int64}, h_c_ne::Ptr{Int64})::Cvoid end function rpd_get_stats(::Type{Float128}, ::Type{Int32}, qplib_file, qplib_file_len, control, @@ -113,14 +116,14 @@ end function rpd_get_stats(::Type{Float128}, ::Type{Int64}, qplib_file, qplib_file_len, control, data, status, p_type, n, m, h_ne, a_ne, h_c_ne) - @ccall libgalahad_quadruple_64.rpd_get_stats_q(qplib_file::Ptr{Cchar}, - qplib_file_len::Int64, - control::Ptr{rpd_control_type{Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - p_type::Ptr{Cchar}, n::Ptr{Int64}, - m::Ptr{Int64}, h_ne::Ptr{Int64}, - a_ne::Ptr{Int64}, - h_c_ne::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.rpd_get_stats_q_64(qplib_file::Ptr{Cchar}, + qplib_file_len::Int64, + control::Ptr{rpd_control_type{Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, p_type::Ptr{Cchar}, + n::Ptr{Int64}, m::Ptr{Int64}, + h_ne::Ptr{Int64}, a_ne::Ptr{Int64}, + h_c_ne::Ptr{Int64})::Cvoid end export rpd_get_g @@ -131,8 +134,8 @@ function rpd_get_g(::Type{Float32}, ::Type{Int32}, data, status, n, g) end function rpd_get_g(::Type{Float32}, ::Type{Int64}, data, status, n, g) - @ccall libgalahad_single_64.rpd_get_g_s(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, g::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.rpd_get_g_s_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, g::Ptr{Float32})::Cvoid end function rpd_get_g(::Type{Float64}, ::Type{Int32}, data, status, n, g) @@ -141,8 +144,8 @@ function rpd_get_g(::Type{Float64}, ::Type{Int32}, data, status, n, g) end function rpd_get_g(::Type{Float64}, ::Type{Int64}, data, status, n, g) - @ccall libgalahad_double_64.rpd_get_g(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, n::Int64, - g::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.rpd_get_g_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, g::Ptr{Float64})::Cvoid end function rpd_get_g(::Type{Float128}, ::Type{Int32}, data, status, n, g) @@ -151,8 +154,8 @@ function rpd_get_g(::Type{Float128}, ::Type{Int32}, data, status, n, g) end function rpd_get_g(::Type{Float128}, ::Type{Int64}, data, status, n, g) - @ccall libgalahad_quadruple_64.rpd_get_g_q(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, g::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.rpd_get_g_q_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, g::Ptr{Float128})::Cvoid end export rpd_get_f @@ -163,8 +166,8 @@ function rpd_get_f(::Type{Float32}, ::Type{Int32}, data, status, f) end function rpd_get_f(::Type{Float32}, ::Type{Int64}, data, status, f) - @ccall libgalahad_single_64.rpd_get_f_s(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - f::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.rpd_get_f_s_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + f::Ptr{Float32})::Cvoid end function rpd_get_f(::Type{Float64}, ::Type{Int32}, data, status, f) @@ -173,8 +176,8 @@ function rpd_get_f(::Type{Float64}, ::Type{Int32}, data, status, f) end function rpd_get_f(::Type{Float64}, ::Type{Int64}, data, status, f) - @ccall libgalahad_double_64.rpd_get_f(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - f::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.rpd_get_f_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + f::Ptr{Float64})::Cvoid end function rpd_get_f(::Type{Float128}, ::Type{Int32}, data, status, f) @@ -183,8 +186,8 @@ function rpd_get_f(::Type{Float128}, ::Type{Int32}, data, status, f) end function rpd_get_f(::Type{Float128}, ::Type{Int64}, data, status, f) - @ccall libgalahad_quadruple_64.rpd_get_f_q(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - f::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.rpd_get_f_q_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + f::Ptr{Float128})::Cvoid end export rpd_get_xlu @@ -196,9 +199,9 @@ function rpd_get_xlu(::Type{Float32}, ::Type{Int32}, data, status, n, x_l, x_u) end function rpd_get_xlu(::Type{Float32}, ::Type{Int64}, data, status, n, x_l, x_u) - @ccall libgalahad_single_64.rpd_get_xlu_s(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, x_l::Ptr{Float32}, - x_u::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.rpd_get_xlu_s_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, x_l::Ptr{Float32}, + x_u::Ptr{Float32})::Cvoid end function rpd_get_xlu(::Type{Float64}, ::Type{Int32}, data, status, n, x_l, x_u) @@ -207,9 +210,9 @@ function rpd_get_xlu(::Type{Float64}, ::Type{Int32}, data, status, n, x_l, x_u) end function rpd_get_xlu(::Type{Float64}, ::Type{Int64}, data, status, n, x_l, x_u) - @ccall libgalahad_double_64.rpd_get_xlu(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, x_l::Ptr{Float64}, - x_u::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.rpd_get_xlu_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, x_l::Ptr{Float64}, + x_u::Ptr{Float64})::Cvoid end function rpd_get_xlu(::Type{Float128}, ::Type{Int32}, data, status, n, x_l, x_u) @@ -219,9 +222,9 @@ function rpd_get_xlu(::Type{Float128}, ::Type{Int32}, data, status, n, x_l, x_u) end function rpd_get_xlu(::Type{Float128}, ::Type{Int64}, data, status, n, x_l, x_u) - @ccall libgalahad_quadruple_64.rpd_get_xlu_q(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, x_l::Ptr{Float128}, - x_u::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.rpd_get_xlu_q_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, x_l::Ptr{Float128}, + x_u::Ptr{Float128})::Cvoid end export rpd_get_clu @@ -233,9 +236,9 @@ function rpd_get_clu(::Type{Float32}, ::Type{Int32}, data, status, m, c_l, c_u) end function rpd_get_clu(::Type{Float32}, ::Type{Int64}, data, status, m, c_l, c_u) - @ccall libgalahad_single_64.rpd_get_clu_s(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - m::Int64, c_l::Ptr{Float32}, - c_u::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.rpd_get_clu_s_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + m::Int64, c_l::Ptr{Float32}, + c_u::Ptr{Float32})::Cvoid end function rpd_get_clu(::Type{Float64}, ::Type{Int32}, data, status, m, c_l, c_u) @@ -244,9 +247,9 @@ function rpd_get_clu(::Type{Float64}, ::Type{Int32}, data, status, m, c_l, c_u) end function rpd_get_clu(::Type{Float64}, ::Type{Int64}, data, status, m, c_l, c_u) - @ccall libgalahad_double_64.rpd_get_clu(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - m::Int64, c_l::Ptr{Float64}, - c_u::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.rpd_get_clu_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + m::Int64, c_l::Ptr{Float64}, + c_u::Ptr{Float64})::Cvoid end function rpd_get_clu(::Type{Float128}, ::Type{Int32}, data, status, m, c_l, c_u) @@ -256,9 +259,9 @@ function rpd_get_clu(::Type{Float128}, ::Type{Int32}, data, status, m, c_l, c_u) end function rpd_get_clu(::Type{Float128}, ::Type{Int64}, data, status, m, c_l, c_u) - @ccall libgalahad_quadruple_64.rpd_get_clu_q(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - m::Int64, c_l::Ptr{Float128}, - c_u::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.rpd_get_clu_q_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + m::Int64, c_l::Ptr{Float128}, + c_u::Ptr{Float128})::Cvoid end export rpd_get_h @@ -270,9 +273,9 @@ function rpd_get_h(::Type{Float32}, ::Type{Int32}, data, status, h_ne, h_row, h_ end function rpd_get_h(::Type{Float32}, ::Type{Int64}, data, status, h_ne, h_row, h_col, h_val) - @ccall libgalahad_single_64.rpd_get_h_s(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - h_ne::Int64, h_row::Ptr{Int64}, h_col::Ptr{Int64}, - h_val::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.rpd_get_h_s_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + h_ne::Int64, h_row::Ptr{Int64}, + h_col::Ptr{Int64}, h_val::Ptr{Float32})::Cvoid end function rpd_get_h(::Type{Float64}, ::Type{Int32}, data, status, h_ne, h_row, h_col, h_val) @@ -282,9 +285,9 @@ function rpd_get_h(::Type{Float64}, ::Type{Int32}, data, status, h_ne, h_row, h_ end function rpd_get_h(::Type{Float64}, ::Type{Int64}, data, status, h_ne, h_row, h_col, h_val) - @ccall libgalahad_double_64.rpd_get_h(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - h_ne::Int64, h_row::Ptr{Int64}, h_col::Ptr{Int64}, - h_val::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.rpd_get_h_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + h_ne::Int64, h_row::Ptr{Int64}, + h_col::Ptr{Int64}, h_val::Ptr{Float64})::Cvoid end function rpd_get_h(::Type{Float128}, ::Type{Int32}, data, status, h_ne, h_row, h_col, h_val) @@ -294,9 +297,10 @@ function rpd_get_h(::Type{Float128}, ::Type{Int32}, data, status, h_ne, h_row, h end function rpd_get_h(::Type{Float128}, ::Type{Int64}, data, status, h_ne, h_row, h_col, h_val) - @ccall libgalahad_quadruple_64.rpd_get_h_q(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - h_ne::Int64, h_row::Ptr{Int64}, - h_col::Ptr{Int64}, h_val::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.rpd_get_h_q_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + h_ne::Int64, h_row::Ptr{Int64}, + h_col::Ptr{Int64}, + h_val::Ptr{Float128})::Cvoid end export rpd_get_a @@ -308,9 +312,9 @@ function rpd_get_a(::Type{Float32}, ::Type{Int32}, data, status, a_ne, a_row, a_ end function rpd_get_a(::Type{Float32}, ::Type{Int64}, data, status, a_ne, a_row, a_col, a_val) - @ccall libgalahad_single_64.rpd_get_a_s(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - a_ne::Int64, a_row::Ptr{Int64}, a_col::Ptr{Int64}, - a_val::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.rpd_get_a_s_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + a_ne::Int64, a_row::Ptr{Int64}, + a_col::Ptr{Int64}, a_val::Ptr{Float32})::Cvoid end function rpd_get_a(::Type{Float64}, ::Type{Int32}, data, status, a_ne, a_row, a_col, a_val) @@ -320,9 +324,9 @@ function rpd_get_a(::Type{Float64}, ::Type{Int32}, data, status, a_ne, a_row, a_ end function rpd_get_a(::Type{Float64}, ::Type{Int64}, data, status, a_ne, a_row, a_col, a_val) - @ccall libgalahad_double_64.rpd_get_a(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - a_ne::Int64, a_row::Ptr{Int64}, a_col::Ptr{Int64}, - a_val::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.rpd_get_a_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + a_ne::Int64, a_row::Ptr{Int64}, + a_col::Ptr{Int64}, a_val::Ptr{Float64})::Cvoid end function rpd_get_a(::Type{Float128}, ::Type{Int32}, data, status, a_ne, a_row, a_col, a_val) @@ -332,9 +336,10 @@ function rpd_get_a(::Type{Float128}, ::Type{Int32}, data, status, a_ne, a_row, a end function rpd_get_a(::Type{Float128}, ::Type{Int64}, data, status, a_ne, a_row, a_col, a_val) - @ccall libgalahad_quadruple_64.rpd_get_a_q(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - a_ne::Int64, a_row::Ptr{Int64}, - a_col::Ptr{Int64}, a_val::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.rpd_get_a_q_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + a_ne::Int64, a_row::Ptr{Int64}, + a_col::Ptr{Int64}, + a_val::Ptr{Float128})::Cvoid end export rpd_get_h_c @@ -349,10 +354,10 @@ end function rpd_get_h_c(::Type{Float32}, ::Type{Int64}, data, status, h_c_ne, h_c_ptr, h_c_row, h_c_col, h_c_val) - @ccall libgalahad_single_64.rpd_get_h_c_s(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - h_c_ne::Int64, h_c_ptr::Ptr{Int64}, - h_c_row::Ptr{Int64}, h_c_col::Ptr{Int64}, - h_c_val::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.rpd_get_h_c_s_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + h_c_ne::Int64, h_c_ptr::Ptr{Int64}, + h_c_row::Ptr{Int64}, h_c_col::Ptr{Int64}, + h_c_val::Ptr{Float32})::Cvoid end function rpd_get_h_c(::Type{Float64}, ::Type{Int32}, data, status, h_c_ne, h_c_ptr, h_c_row, @@ -365,10 +370,10 @@ end function rpd_get_h_c(::Type{Float64}, ::Type{Int64}, data, status, h_c_ne, h_c_ptr, h_c_row, h_c_col, h_c_val) - @ccall libgalahad_double_64.rpd_get_h_c(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - h_c_ne::Int64, h_c_ptr::Ptr{Int64}, - h_c_row::Ptr{Int64}, h_c_col::Ptr{Int64}, - h_c_val::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.rpd_get_h_c_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + h_c_ne::Int64, h_c_ptr::Ptr{Int64}, + h_c_row::Ptr{Int64}, h_c_col::Ptr{Int64}, + h_c_val::Ptr{Float64})::Cvoid end function rpd_get_h_c(::Type{Float128}, ::Type{Int32}, data, status, h_c_ne, h_c_ptr, @@ -381,10 +386,10 @@ end function rpd_get_h_c(::Type{Float128}, ::Type{Int64}, data, status, h_c_ne, h_c_ptr, h_c_row, h_c_col, h_c_val) - @ccall libgalahad_quadruple_64.rpd_get_h_c_q(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - h_c_ne::Int64, h_c_ptr::Ptr{Int64}, - h_c_row::Ptr{Int64}, h_c_col::Ptr{Int64}, - h_c_val::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.rpd_get_h_c_q_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + h_c_ne::Int64, h_c_ptr::Ptr{Int64}, + h_c_row::Ptr{Int64}, h_c_col::Ptr{Int64}, + h_c_val::Ptr{Float128})::Cvoid end export rpd_get_x_type @@ -395,8 +400,8 @@ function rpd_get_x_type(::Type{Float32}, ::Type{Int32}, data, status, n, x_type) end function rpd_get_x_type(::Type{Float32}, ::Type{Int64}, data, status, n, x_type) - @ccall libgalahad_single_64.rpd_get_x_type_s(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, x_type::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.rpd_get_x_type_s_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, x_type::Ptr{Int64})::Cvoid end function rpd_get_x_type(::Type{Float64}, ::Type{Int32}, data, status, n, x_type) @@ -405,8 +410,8 @@ function rpd_get_x_type(::Type{Float64}, ::Type{Int32}, data, status, n, x_type) end function rpd_get_x_type(::Type{Float64}, ::Type{Int64}, data, status, n, x_type) - @ccall libgalahad_double_64.rpd_get_x_type(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, x_type::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.rpd_get_x_type_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, x_type::Ptr{Int64})::Cvoid end function rpd_get_x_type(::Type{Float128}, ::Type{Int32}, data, status, n, x_type) @@ -415,8 +420,9 @@ function rpd_get_x_type(::Type{Float128}, ::Type{Int32}, data, status, n, x_type end function rpd_get_x_type(::Type{Float128}, ::Type{Int64}, data, status, n, x_type) - @ccall libgalahad_quadruple_64.rpd_get_x_type_q(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, x_type::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.rpd_get_x_type_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + x_type::Ptr{Int64})::Cvoid end export rpd_get_x @@ -427,8 +433,8 @@ function rpd_get_x(::Type{Float32}, ::Type{Int32}, data, status, n, x) end function rpd_get_x(::Type{Float32}, ::Type{Int64}, data, status, n, x) - @ccall libgalahad_single_64.rpd_get_x_s(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, x::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.rpd_get_x_s_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, x::Ptr{Float32})::Cvoid end function rpd_get_x(::Type{Float64}, ::Type{Int32}, data, status, n, x) @@ -437,8 +443,8 @@ function rpd_get_x(::Type{Float64}, ::Type{Int32}, data, status, n, x) end function rpd_get_x(::Type{Float64}, ::Type{Int64}, data, status, n, x) - @ccall libgalahad_double_64.rpd_get_x(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, n::Int64, - x::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.rpd_get_x_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, x::Ptr{Float64})::Cvoid end function rpd_get_x(::Type{Float128}, ::Type{Int32}, data, status, n, x) @@ -447,8 +453,8 @@ function rpd_get_x(::Type{Float128}, ::Type{Int32}, data, status, n, x) end function rpd_get_x(::Type{Float128}, ::Type{Int64}, data, status, n, x) - @ccall libgalahad_quadruple_64.rpd_get_x_q(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, x::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.rpd_get_x_q_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, x::Ptr{Float128})::Cvoid end export rpd_get_y @@ -459,8 +465,8 @@ function rpd_get_y(::Type{Float32}, ::Type{Int32}, data, status, m, y) end function rpd_get_y(::Type{Float32}, ::Type{Int64}, data, status, m, y) - @ccall libgalahad_single_64.rpd_get_y_s(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - m::Int64, y::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.rpd_get_y_s_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + m::Int64, y::Ptr{Float32})::Cvoid end function rpd_get_y(::Type{Float64}, ::Type{Int32}, data, status, m, y) @@ -469,8 +475,8 @@ function rpd_get_y(::Type{Float64}, ::Type{Int32}, data, status, m, y) end function rpd_get_y(::Type{Float64}, ::Type{Int64}, data, status, m, y) - @ccall libgalahad_double_64.rpd_get_y(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, m::Int64, - y::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.rpd_get_y_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + m::Int64, y::Ptr{Float64})::Cvoid end function rpd_get_y(::Type{Float128}, ::Type{Int32}, data, status, m, y) @@ -479,8 +485,8 @@ function rpd_get_y(::Type{Float128}, ::Type{Int32}, data, status, m, y) end function rpd_get_y(::Type{Float128}, ::Type{Int64}, data, status, m, y) - @ccall libgalahad_quadruple_64.rpd_get_y_q(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - m::Int64, y::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.rpd_get_y_q_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + m::Int64, y::Ptr{Float128})::Cvoid end export rpd_get_z @@ -491,8 +497,8 @@ function rpd_get_z(::Type{Float32}, ::Type{Int32}, data, status, n, z) end function rpd_get_z(::Type{Float32}, ::Type{Int64}, data, status, n, z) - @ccall libgalahad_single_64.rpd_get_z_s(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, z::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.rpd_get_z_s_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, z::Ptr{Float32})::Cvoid end function rpd_get_z(::Type{Float64}, ::Type{Int32}, data, status, n, z) @@ -501,8 +507,8 @@ function rpd_get_z(::Type{Float64}, ::Type{Int32}, data, status, n, z) end function rpd_get_z(::Type{Float64}, ::Type{Int64}, data, status, n, z) - @ccall libgalahad_double_64.rpd_get_z(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, n::Int64, - z::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.rpd_get_z_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, z::Ptr{Float64})::Cvoid end function rpd_get_z(::Type{Float128}, ::Type{Int32}, data, status, n, z) @@ -511,8 +517,8 @@ function rpd_get_z(::Type{Float128}, ::Type{Int32}, data, status, n, z) end function rpd_get_z(::Type{Float128}, ::Type{Int64}, data, status, n, z) - @ccall libgalahad_quadruple_64.rpd_get_z_q(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, z::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.rpd_get_z_q_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, z::Ptr{Float128})::Cvoid end export rpd_information @@ -524,9 +530,9 @@ function rpd_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function rpd_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.rpd_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{rpd_inform_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.rpd_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{rpd_inform_type{Int64}}, + status::Ptr{Int64})::Cvoid end function rpd_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -536,9 +542,9 @@ function rpd_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function rpd_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.rpd_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{rpd_inform_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.rpd_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{rpd_inform_type{Int64}}, + status::Ptr{Int64})::Cvoid end function rpd_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -548,9 +554,9 @@ function rpd_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function rpd_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.rpd_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{rpd_inform_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.rpd_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{rpd_inform_type{Int64}}, + status::Ptr{Int64})::Cvoid end export rpd_terminate @@ -562,9 +568,9 @@ function rpd_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function rpd_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.rpd_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{rpd_control_type{Int64}}, - inform::Ptr{rpd_inform_type{Int64}})::Cvoid + @ccall libgalahad_single_64.rpd_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{rpd_control_type{Int64}}, + inform::Ptr{rpd_inform_type{Int64}})::Cvoid end function rpd_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -574,9 +580,9 @@ function rpd_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function rpd_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.rpd_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{rpd_control_type{Int64}}, - inform::Ptr{rpd_inform_type{Int64}})::Cvoid + @ccall libgalahad_double_64.rpd_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{rpd_control_type{Int64}}, + inform::Ptr{rpd_inform_type{Int64}})::Cvoid end function rpd_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -586,7 +592,7 @@ function rpd_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function rpd_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.rpd_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{rpd_control_type{Int64}}, - inform::Ptr{rpd_inform_type{Int64}})::Cvoid + @ccall libgalahad_quadruple_64.rpd_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{rpd_control_type{Int64}}, + inform::Ptr{rpd_inform_type{Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/rqs.jl b/GALAHAD.jl/src/wrappers/rqs.jl index a1ff89a2df..fdc9a5ebb3 100644 --- a/GALAHAD.jl/src/wrappers/rqs.jl +++ b/GALAHAD.jl/src/wrappers/rqs.jl @@ -85,9 +85,10 @@ function rqs_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function rqs_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.rqs_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{rqs_control_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.rqs_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{rqs_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function rqs_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -97,9 +98,10 @@ function rqs_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function rqs_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.rqs_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{rqs_control_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.rqs_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{rqs_control_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function rqs_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -110,10 +112,10 @@ function rqs_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) end function rqs_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.rqs_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{rqs_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.rqs_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{rqs_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export rqs_read_specfile @@ -124,9 +126,9 @@ function rqs_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfile) end function rqs_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.rqs_read_specfile_s(control::Ptr{rqs_control_type{Float32, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.rqs_read_specfile_s_64(control::Ptr{rqs_control_type{Float32, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function rqs_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -135,9 +137,9 @@ function rqs_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) end function rqs_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.rqs_read_specfile(control::Ptr{rqs_control_type{Float64, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.rqs_read_specfile_64(control::Ptr{rqs_control_type{Float64, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function rqs_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -147,9 +149,9 @@ function rqs_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) end function rqs_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.rqs_read_specfile_q(control::Ptr{rqs_control_type{Float128, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.rqs_read_specfile_q_64(control::Ptr{rqs_control_type{Float128, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end export rqs_import @@ -164,11 +166,11 @@ end function rqs_import(::Type{Float32}, ::Type{Int64}, control, data, status, n, H_type, H_ne, H_row, H_col, H_ptr) - @ccall libgalahad_single_64.rqs_import_s(control::Ptr{rqs_control_type{Float32,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, H_type::Ptr{Cchar}, H_ne::Int64, - H_row::Ptr{Int64}, H_col::Ptr{Int64}, - H_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.rqs_import_s_64(control::Ptr{rqs_control_type{Float32,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, H_type::Ptr{Cchar}, H_ne::Int64, + H_row::Ptr{Int64}, H_col::Ptr{Int64}, + H_ptr::Ptr{Int64})::Cvoid end function rqs_import(::Type{Float64}, ::Type{Int32}, control, data, status, n, H_type, H_ne, @@ -181,11 +183,11 @@ end function rqs_import(::Type{Float64}, ::Type{Int64}, control, data, status, n, H_type, H_ne, H_row, H_col, H_ptr) - @ccall libgalahad_double_64.rqs_import(control::Ptr{rqs_control_type{Float64,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, H_type::Ptr{Cchar}, H_ne::Int64, - H_row::Ptr{Int64}, H_col::Ptr{Int64}, - H_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.rqs_import_64(control::Ptr{rqs_control_type{Float64,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, H_type::Ptr{Cchar}, H_ne::Int64, + H_row::Ptr{Int64}, H_col::Ptr{Int64}, + H_ptr::Ptr{Int64})::Cvoid end function rqs_import(::Type{Float128}, ::Type{Int32}, control, data, status, n, H_type, H_ne, @@ -199,11 +201,12 @@ end function rqs_import(::Type{Float128}, ::Type{Int64}, control, data, status, n, H_type, H_ne, H_row, H_col, H_ptr) - @ccall libgalahad_quadruple_64.rqs_import_q(control::Ptr{rqs_control_type{Float128,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, H_type::Ptr{Cchar}, H_ne::Int64, - H_row::Ptr{Int64}, H_col::Ptr{Int64}, - H_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.rqs_import_q_64(control::Ptr{rqs_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, H_type::Ptr{Cchar}, H_ne::Int64, + H_row::Ptr{Int64}, H_col::Ptr{Int64}, + H_ptr::Ptr{Int64})::Cvoid end export rqs_import_m @@ -218,10 +221,10 @@ end function rqs_import_m(::Type{Float32}, ::Type{Int64}, data, status, n, M_type, M_ne, M_row, M_col, M_ptr) - @ccall libgalahad_single_64.rqs_import_m_s(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, M_type::Ptr{Cchar}, M_ne::Int64, - M_row::Ptr{Int64}, M_col::Ptr{Int64}, - M_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.rqs_import_m_s_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, M_type::Ptr{Cchar}, M_ne::Int64, + M_row::Ptr{Int64}, M_col::Ptr{Int64}, + M_ptr::Ptr{Int64})::Cvoid end function rqs_import_m(::Type{Float64}, ::Type{Int32}, data, status, n, M_type, M_ne, M_row, @@ -233,10 +236,10 @@ end function rqs_import_m(::Type{Float64}, ::Type{Int64}, data, status, n, M_type, M_ne, M_row, M_col, M_ptr) - @ccall libgalahad_double_64.rqs_import_m(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, M_type::Ptr{Cchar}, M_ne::Int64, - M_row::Ptr{Int64}, M_col::Ptr{Int64}, - M_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.rqs_import_m_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, M_type::Ptr{Cchar}, M_ne::Int64, + M_row::Ptr{Int64}, M_col::Ptr{Int64}, + M_ptr::Ptr{Int64})::Cvoid end function rqs_import_m(::Type{Float128}, ::Type{Int32}, data, status, n, M_type, M_ne, M_row, @@ -249,10 +252,11 @@ end function rqs_import_m(::Type{Float128}, ::Type{Int64}, data, status, n, M_type, M_ne, M_row, M_col, M_ptr) - @ccall libgalahad_quadruple_64.rqs_import_m_q(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, M_type::Ptr{Cchar}, M_ne::Int64, - M_row::Ptr{Int64}, M_col::Ptr{Int64}, - M_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.rqs_import_m_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + M_type::Ptr{Cchar}, M_ne::Int64, + M_row::Ptr{Int64}, M_col::Ptr{Int64}, + M_ptr::Ptr{Int64})::Cvoid end export rqs_import_a @@ -267,10 +271,10 @@ end function rqs_import_a(::Type{Float32}, ::Type{Int64}, data, status, m, A_type, A_ne, A_row, A_col, A_ptr) - @ccall libgalahad_single_64.rqs_import_a_s(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - m::Int64, A_type::Ptr{Cchar}, A_ne::Int64, - A_row::Ptr{Int64}, A_col::Ptr{Int64}, - A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.rqs_import_a_s_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + m::Int64, A_type::Ptr{Cchar}, A_ne::Int64, + A_row::Ptr{Int64}, A_col::Ptr{Int64}, + A_ptr::Ptr{Int64})::Cvoid end function rqs_import_a(::Type{Float64}, ::Type{Int32}, data, status, m, A_type, A_ne, A_row, @@ -282,10 +286,10 @@ end function rqs_import_a(::Type{Float64}, ::Type{Int64}, data, status, m, A_type, A_ne, A_row, A_col, A_ptr) - @ccall libgalahad_double_64.rqs_import_a(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - m::Int64, A_type::Ptr{Cchar}, A_ne::Int64, - A_row::Ptr{Int64}, A_col::Ptr{Int64}, - A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.rqs_import_a_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + m::Int64, A_type::Ptr{Cchar}, A_ne::Int64, + A_row::Ptr{Int64}, A_col::Ptr{Int64}, + A_ptr::Ptr{Int64})::Cvoid end function rqs_import_a(::Type{Float128}, ::Type{Int32}, data, status, m, A_type, A_ne, A_row, @@ -298,10 +302,11 @@ end function rqs_import_a(::Type{Float128}, ::Type{Int64}, data, status, m, A_type, A_ne, A_row, A_col, A_ptr) - @ccall libgalahad_quadruple_64.rqs_import_a_q(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - m::Int64, A_type::Ptr{Cchar}, A_ne::Int64, - A_row::Ptr{Int64}, A_col::Ptr{Int64}, - A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.rqs_import_a_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, m::Int64, + A_type::Ptr{Cchar}, A_ne::Int64, + A_row::Ptr{Int64}, A_col::Ptr{Int64}, + A_ptr::Ptr{Int64})::Cvoid end export rqs_reset_control @@ -313,10 +318,10 @@ function rqs_reset_control(::Type{Float32}, ::Type{Int32}, control, data, status end function rqs_reset_control(::Type{Float32}, ::Type{Int64}, control, data, status) - @ccall libgalahad_single_64.rqs_reset_control_s(control::Ptr{rqs_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.rqs_reset_control_s_64(control::Ptr{rqs_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function rqs_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status) @@ -326,10 +331,10 @@ function rqs_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status end function rqs_reset_control(::Type{Float64}, ::Type{Int64}, control, data, status) - @ccall libgalahad_double_64.rqs_reset_control(control::Ptr{rqs_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.rqs_reset_control_64(control::Ptr{rqs_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function rqs_reset_control(::Type{Float128}, ::Type{Int32}, control, data, status) @@ -340,10 +345,10 @@ function rqs_reset_control(::Type{Float128}, ::Type{Int32}, control, data, statu end function rqs_reset_control(::Type{Float128}, ::Type{Int64}, control, data, status) - @ccall libgalahad_quadruple_64.rqs_reset_control_q(control::Ptr{rqs_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.rqs_reset_control_q_64(control::Ptr{rqs_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end export rqs_solve_problem @@ -361,14 +366,15 @@ end function rqs_solve_problem(::Type{Float32}, ::Type{Int64}, data, status, n, power, weight, f, c, H_ne, H_val, x, M_ne, M_val, m, A_ne, A_val, y) - @ccall libgalahad_single_64.rqs_solve_problem_s(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, power::Float32, weight::Float32, - f::Float32, c::Ptr{Float32}, H_ne::Int64, - H_val::Ptr{Float32}, x::Ptr{Float32}, - M_ne::Int64, M_val::Ptr{Float32}, - m::Int64, A_ne::Int64, - A_val::Ptr{Float32}, - y::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.rqs_solve_problem_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + power::Float32, weight::Float32, + f::Float32, c::Ptr{Float32}, + H_ne::Int64, H_val::Ptr{Float32}, + x::Ptr{Float32}, M_ne::Int64, + M_val::Ptr{Float32}, m::Int64, + A_ne::Int64, A_val::Ptr{Float32}, + y::Ptr{Float32})::Cvoid end function rqs_solve_problem(::Type{Float64}, ::Type{Int32}, data, status, n, power, weight, @@ -384,13 +390,15 @@ end function rqs_solve_problem(::Type{Float64}, ::Type{Int64}, data, status, n, power, weight, f, c, H_ne, H_val, x, M_ne, M_val, m, A_ne, A_val, y) - @ccall libgalahad_double_64.rqs_solve_problem(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, power::Float64, weight::Float64, - f::Float64, c::Ptr{Float64}, H_ne::Int64, - H_val::Ptr{Float64}, x::Ptr{Float64}, - M_ne::Int64, M_val::Ptr{Float64}, m::Int64, - A_ne::Int64, A_val::Ptr{Float64}, - y::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.rqs_solve_problem_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + power::Float64, weight::Float64, + f::Float64, c::Ptr{Float64}, H_ne::Int64, + H_val::Ptr{Float64}, x::Ptr{Float64}, + M_ne::Int64, M_val::Ptr{Float64}, + m::Int64, A_ne::Int64, + A_val::Ptr{Float64}, + y::Ptr{Float64})::Cvoid end function rqs_solve_problem(::Type{Float128}, ::Type{Int32}, data, status, n, power, weight, @@ -408,15 +416,15 @@ end function rqs_solve_problem(::Type{Float128}, ::Type{Int64}, data, status, n, power, weight, f, c, H_ne, H_val, x, M_ne, M_val, m, A_ne, A_val, y) - @ccall libgalahad_quadruple_64.rqs_solve_problem_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - power::Cfloat128, weight::Cfloat128, - f::Cfloat128, c::Ptr{Float128}, - H_ne::Int64, H_val::Ptr{Float128}, - x::Ptr{Float128}, M_ne::Int64, - M_val::Ptr{Float128}, m::Int64, - A_ne::Int64, A_val::Ptr{Float128}, - y::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.rqs_solve_problem_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + power::Cfloat128, weight::Cfloat128, + f::Cfloat128, c::Ptr{Float128}, + H_ne::Int64, H_val::Ptr{Float128}, + x::Ptr{Float128}, M_ne::Int64, + M_val::Ptr{Float128}, m::Int64, + A_ne::Int64, A_val::Ptr{Float128}, + y::Ptr{Float128})::Cvoid end export rqs_information @@ -428,9 +436,10 @@ function rqs_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function rqs_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.rqs_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{rqs_inform_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.rqs_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{rqs_inform_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function rqs_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -440,9 +449,9 @@ function rqs_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function rqs_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.rqs_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{rqs_inform_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.rqs_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{rqs_inform_type{Float64,Int64}}, + status::Ptr{Int64})::Cvoid end function rqs_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -452,10 +461,10 @@ function rqs_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function rqs_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.rqs_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{rqs_inform_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.rqs_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{rqs_inform_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export rqs_terminate @@ -467,9 +476,10 @@ function rqs_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function rqs_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.rqs_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{rqs_control_type{Float32,Int64}}, - inform::Ptr{rqs_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.rqs_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{rqs_control_type{Float32, + Int64}}, + inform::Ptr{rqs_inform_type{Float32,Int64}})::Cvoid end function rqs_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -479,9 +489,9 @@ function rqs_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function rqs_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.rqs_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{rqs_control_type{Float64,Int64}}, - inform::Ptr{rqs_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.rqs_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{rqs_control_type{Float64,Int64}}, + inform::Ptr{rqs_inform_type{Float64,Int64}})::Cvoid end function rqs_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -491,9 +501,9 @@ function rqs_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function rqs_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.rqs_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{rqs_control_type{Float128, - Int64}}, - inform::Ptr{rqs_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.rqs_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{rqs_control_type{Float128, + Int64}}, + inform::Ptr{rqs_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/sbls.jl b/GALAHAD.jl/src/wrappers/sbls.jl index b1226a3d56..09c72393d2 100644 --- a/GALAHAD.jl/src/wrappers/sbls.jl +++ b/GALAHAD.jl/src/wrappers/sbls.jl @@ -89,10 +89,10 @@ function sbls_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function sbls_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.sbls_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{sbls_control_type{Float32, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.sbls_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{sbls_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function sbls_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -102,9 +102,10 @@ function sbls_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function sbls_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.sbls_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{sbls_control_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.sbls_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{sbls_control_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function sbls_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -115,10 +116,10 @@ function sbls_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) end function sbls_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.sbls_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{sbls_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.sbls_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{sbls_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export sbls_read_specfile @@ -130,9 +131,9 @@ function sbls_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfile) end function sbls_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.sbls_read_specfile_s(control::Ptr{sbls_control_type{Float32, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.sbls_read_specfile_s_64(control::Ptr{sbls_control_type{Float32, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function sbls_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -141,9 +142,9 @@ function sbls_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) end function sbls_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.sbls_read_specfile(control::Ptr{sbls_control_type{Float64, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.sbls_read_specfile_64(control::Ptr{sbls_control_type{Float64, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function sbls_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -153,9 +154,9 @@ function sbls_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) end function sbls_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.sbls_read_specfile_q(control::Ptr{sbls_control_type{Float128, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.sbls_read_specfile_q_64(control::Ptr{sbls_control_type{Float128, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end export sbls_import @@ -177,16 +178,17 @@ end function sbls_import(::Type{Float32}, ::Type{Int64}, control, data, status, n, m, H_type, H_ne, H_row, H_col, H_ptr, A_type, A_ne, A_row, A_col, A_ptr, C_type, C_ne, C_row, C_col, C_ptr) - @ccall libgalahad_single_64.sbls_import_s(control::Ptr{sbls_control_type{Float32,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, H_type::Ptr{Cchar}, - H_ne::Int64, H_row::Ptr{Int64}, - H_col::Ptr{Int64}, H_ptr::Ptr{Int64}, - A_type::Ptr{Cchar}, A_ne::Int64, - A_row::Ptr{Int64}, A_col::Ptr{Int64}, - A_ptr::Ptr{Int64}, C_type::Ptr{Cchar}, - C_ne::Int64, C_row::Ptr{Int64}, - C_col::Ptr{Int64}, C_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.sbls_import_s_64(control::Ptr{sbls_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, H_type::Ptr{Cchar}, + H_ne::Int64, H_row::Ptr{Int64}, + H_col::Ptr{Int64}, H_ptr::Ptr{Int64}, + A_type::Ptr{Cchar}, A_ne::Int64, + A_row::Ptr{Int64}, A_col::Ptr{Int64}, + A_ptr::Ptr{Int64}, C_type::Ptr{Cchar}, + C_ne::Int64, C_row::Ptr{Int64}, + C_col::Ptr{Int64}, C_ptr::Ptr{Int64})::Cvoid end function sbls_import(::Type{Float64}, ::Type{Int32}, control, data, status, n, m, H_type, @@ -206,15 +208,16 @@ end function sbls_import(::Type{Float64}, ::Type{Int64}, control, data, status, n, m, H_type, H_ne, H_row, H_col, H_ptr, A_type, A_ne, A_row, A_col, A_ptr, C_type, C_ne, C_row, C_col, C_ptr) - @ccall libgalahad_double_64.sbls_import(control::Ptr{sbls_control_type{Float64,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, H_type::Ptr{Cchar}, - H_ne::Int64, H_row::Ptr{Int64}, H_col::Ptr{Int64}, - H_ptr::Ptr{Int64}, A_type::Ptr{Cchar}, - A_ne::Int64, A_row::Ptr{Int64}, A_col::Ptr{Int64}, - A_ptr::Ptr{Int64}, C_type::Ptr{Cchar}, - C_ne::Int64, C_row::Ptr{Int64}, C_col::Ptr{Int64}, - C_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.sbls_import_64(control::Ptr{sbls_control_type{Float64,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, H_type::Ptr{Cchar}, + H_ne::Int64, H_row::Ptr{Int64}, + H_col::Ptr{Int64}, H_ptr::Ptr{Int64}, + A_type::Ptr{Cchar}, A_ne::Int64, + A_row::Ptr{Int64}, A_col::Ptr{Int64}, + A_ptr::Ptr{Int64}, C_type::Ptr{Cchar}, + C_ne::Int64, C_row::Ptr{Int64}, + C_col::Ptr{Int64}, C_ptr::Ptr{Int64})::Cvoid end function sbls_import(::Type{Float128}, ::Type{Int32}, control, data, status, n, m, H_type, @@ -235,17 +238,18 @@ end function sbls_import(::Type{Float128}, ::Type{Int64}, control, data, status, n, m, H_type, H_ne, H_row, H_col, H_ptr, A_type, A_ne, A_row, A_col, A_ptr, C_type, C_ne, C_row, C_col, C_ptr) - @ccall libgalahad_quadruple_64.sbls_import_q(control::Ptr{sbls_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, H_type::Ptr{Cchar}, - H_ne::Int64, H_row::Ptr{Int64}, - H_col::Ptr{Int64}, H_ptr::Ptr{Int64}, - A_type::Ptr{Cchar}, A_ne::Int64, - A_row::Ptr{Int64}, A_col::Ptr{Int64}, - A_ptr::Ptr{Int64}, C_type::Ptr{Cchar}, - C_ne::Int64, C_row::Ptr{Int64}, - C_col::Ptr{Int64}, C_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.sbls_import_q_64(control::Ptr{sbls_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, H_type::Ptr{Cchar}, + H_ne::Int64, H_row::Ptr{Int64}, + H_col::Ptr{Int64}, H_ptr::Ptr{Int64}, + A_type::Ptr{Cchar}, A_ne::Int64, + A_row::Ptr{Int64}, A_col::Ptr{Int64}, + A_ptr::Ptr{Int64}, C_type::Ptr{Cchar}, + C_ne::Int64, C_row::Ptr{Int64}, + C_col::Ptr{Int64}, + C_ptr::Ptr{Int64})::Cvoid end export sbls_reset_control @@ -258,10 +262,10 @@ function sbls_reset_control(::Type{Float32}, ::Type{Int32}, control, data, statu end function sbls_reset_control(::Type{Float32}, ::Type{Int64}, control, data, status) - @ccall libgalahad_single_64.sbls_reset_control_s(control::Ptr{sbls_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.sbls_reset_control_s_64(control::Ptr{sbls_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function sbls_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status) @@ -271,10 +275,10 @@ function sbls_reset_control(::Type{Float64}, ::Type{Int32}, control, data, statu end function sbls_reset_control(::Type{Float64}, ::Type{Int64}, control, data, status) - @ccall libgalahad_double_64.sbls_reset_control(control::Ptr{sbls_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.sbls_reset_control_64(control::Ptr{sbls_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function sbls_reset_control(::Type{Float128}, ::Type{Int32}, control, data, status) @@ -285,10 +289,10 @@ function sbls_reset_control(::Type{Float128}, ::Type{Int32}, control, data, stat end function sbls_reset_control(::Type{Float128}, ::Type{Int64}, control, data, status) - @ccall libgalahad_quadruple_64.sbls_reset_control_q(control::Ptr{sbls_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.sbls_reset_control_q_64(control::Ptr{sbls_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end export sbls_factorize_matrix @@ -305,12 +309,12 @@ end function sbls_factorize_matrix(::Type{Float32}, ::Type{Int64}, data, status, n, h_ne, H_val, a_ne, A_val, c_ne, C_val, D) - @ccall libgalahad_single_64.sbls_factorize_matrix_s(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - h_ne::Int64, H_val::Ptr{Float32}, - a_ne::Int64, A_val::Ptr{Float32}, - c_ne::Int64, C_val::Ptr{Float32}, - D::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.sbls_factorize_matrix_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + h_ne::Int64, H_val::Ptr{Float32}, + a_ne::Int64, A_val::Ptr{Float32}, + c_ne::Int64, C_val::Ptr{Float32}, + D::Ptr{Float32})::Cvoid end function sbls_factorize_matrix(::Type{Float64}, ::Type{Int32}, data, status, n, h_ne, H_val, @@ -324,12 +328,12 @@ end function sbls_factorize_matrix(::Type{Float64}, ::Type{Int64}, data, status, n, h_ne, H_val, a_ne, A_val, c_ne, C_val, D) - @ccall libgalahad_double_64.sbls_factorize_matrix(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - h_ne::Int64, H_val::Ptr{Float64}, - a_ne::Int64, A_val::Ptr{Float64}, - c_ne::Int64, C_val::Ptr{Float64}, - D::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.sbls_factorize_matrix_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + h_ne::Int64, H_val::Ptr{Float64}, + a_ne::Int64, A_val::Ptr{Float64}, + c_ne::Int64, C_val::Ptr{Float64}, + D::Ptr{Float64})::Cvoid end function sbls_factorize_matrix(::Type{Float128}, ::Type{Int32}, data, status, n, h_ne, @@ -344,12 +348,15 @@ end function sbls_factorize_matrix(::Type{Float128}, ::Type{Int64}, data, status, n, h_ne, H_val, a_ne, A_val, c_ne, C_val, D) - @ccall libgalahad_quadruple_64.sbls_factorize_matrix_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - h_ne::Int64, H_val::Ptr{Float128}, - a_ne::Int64, A_val::Ptr{Float128}, - c_ne::Int64, C_val::Ptr{Float128}, - D::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.sbls_factorize_matrix_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + h_ne::Int64, + H_val::Ptr{Float128}, + a_ne::Int64, + A_val::Ptr{Float128}, + c_ne::Int64, + C_val::Ptr{Float128}, + D::Ptr{Float128})::Cvoid end export sbls_solve_system @@ -360,9 +367,9 @@ function sbls_solve_system(::Type{Float32}, ::Type{Int32}, data, status, n, m, s end function sbls_solve_system(::Type{Float32}, ::Type{Int64}, data, status, n, m, sol) - @ccall libgalahad_single_64.sbls_solve_system_s(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, - sol::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.sbls_solve_system_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, m::Int64, + sol::Ptr{Float32})::Cvoid end function sbls_solve_system(::Type{Float64}, ::Type{Int32}, data, status, n, m, sol) @@ -371,9 +378,9 @@ function sbls_solve_system(::Type{Float64}, ::Type{Int32}, data, status, n, m, s end function sbls_solve_system(::Type{Float64}, ::Type{Int64}, data, status, n, m, sol) - @ccall libgalahad_double_64.sbls_solve_system(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, - sol::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.sbls_solve_system_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, m::Int64, + sol::Ptr{Float64})::Cvoid end function sbls_solve_system(::Type{Float128}, ::Type{Int32}, data, status, n, m, sol) @@ -383,9 +390,9 @@ function sbls_solve_system(::Type{Float128}, ::Type{Int32}, data, status, n, m, end function sbls_solve_system(::Type{Float128}, ::Type{Int64}, data, status, n, m, sol) - @ccall libgalahad_quadruple_64.sbls_solve_system_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, m::Int64, - sol::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.sbls_solve_system_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + m::Int64, sol::Ptr{Float128})::Cvoid end export sbls_information @@ -397,10 +404,10 @@ function sbls_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function sbls_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.sbls_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{sbls_inform_type{Float32, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.sbls_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{sbls_inform_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function sbls_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -410,9 +417,10 @@ function sbls_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function sbls_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.sbls_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{sbls_inform_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.sbls_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{sbls_inform_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function sbls_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -423,10 +431,10 @@ function sbls_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function sbls_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.sbls_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{sbls_inform_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.sbls_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{sbls_inform_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export sbls_terminate @@ -438,10 +446,11 @@ function sbls_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function sbls_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.sbls_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{sbls_control_type{Float32, - Int64}}, - inform::Ptr{sbls_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.sbls_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{sbls_control_type{Float32, + Int64}}, + inform::Ptr{sbls_inform_type{Float32, + Int64}})::Cvoid end function sbls_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -451,9 +460,10 @@ function sbls_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function sbls_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.sbls_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{sbls_control_type{Float64,Int64}}, - inform::Ptr{sbls_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.sbls_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{sbls_control_type{Float64, + Int64}}, + inform::Ptr{sbls_inform_type{Float64,Int64}})::Cvoid end function sbls_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -464,9 +474,9 @@ function sbls_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function sbls_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.sbls_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{sbls_control_type{Float128, - Int64}}, - inform::Ptr{sbls_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.sbls_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{sbls_control_type{Float128, + Int64}}, + inform::Ptr{sbls_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/scu.jl b/GALAHAD.jl/src/wrappers/scu.jl index d9ba7b360c..ebd8ad315f 100644 --- a/GALAHAD.jl/src/wrappers/scu.jl +++ b/GALAHAD.jl/src/wrappers/scu.jl @@ -21,9 +21,9 @@ function scu_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function scu_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.scu_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{scu_control_type}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.scu_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{scu_control_type}, + status::Ptr{Int64})::Cvoid end function scu_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -33,9 +33,9 @@ function scu_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function scu_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.scu_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{scu_control_type}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.scu_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{scu_control_type}, + status::Ptr{Int64})::Cvoid end function scu_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -45,9 +45,9 @@ function scu_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) end function scu_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.scu_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{scu_control_type}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.scu_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{scu_control_type}, + status::Ptr{Int64})::Cvoid end export scu_information @@ -59,9 +59,9 @@ function scu_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function scu_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.scu_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{scu_inform_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.scu_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{scu_inform_type{Int64}}, + status::Ptr{Int64})::Cvoid end function scu_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -71,9 +71,9 @@ function scu_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function scu_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.scu_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{scu_inform_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.scu_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{scu_inform_type{Int64}}, + status::Ptr{Int64})::Cvoid end function scu_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -83,9 +83,9 @@ function scu_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function scu_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.scu_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{scu_inform_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.scu_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{scu_inform_type{Int64}}, + status::Ptr{Int64})::Cvoid end export scu_terminate @@ -97,9 +97,9 @@ function scu_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function scu_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.scu_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{scu_control_type}, - inform::Ptr{scu_inform_type{Int64}})::Cvoid + @ccall libgalahad_single_64.scu_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{scu_control_type}, + inform::Ptr{scu_inform_type{Int64}})::Cvoid end function scu_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -109,9 +109,9 @@ function scu_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function scu_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.scu_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{scu_control_type}, - inform::Ptr{scu_inform_type{Int64}})::Cvoid + @ccall libgalahad_double_64.scu_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{scu_control_type}, + inform::Ptr{scu_inform_type{Int64}})::Cvoid end function scu_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -121,7 +121,7 @@ function scu_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function scu_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.scu_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{scu_control_type}, - inform::Ptr{scu_inform_type{Int64}})::Cvoid + @ccall libgalahad_quadruple_64.scu_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{scu_control_type}, + inform::Ptr{scu_inform_type{Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/sec.jl b/GALAHAD.jl/src/wrappers/sec.jl index 6af4dd3e8a..b13aaafc37 100644 --- a/GALAHAD.jl/src/wrappers/sec.jl +++ b/GALAHAD.jl/src/wrappers/sec.jl @@ -24,8 +24,9 @@ function sec_initialize(::Type{Float32}, ::Type{Int32}, control, status) end function sec_initialize(::Type{Float32}, ::Type{Int64}, control, status) - @ccall libgalahad_single_64.sec_initialize_s(control::Ptr{sec_control_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.sec_initialize_s_64(control::Ptr{sec_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function sec_initialize(::Type{Float64}, ::Type{Int32}, control, status) @@ -34,8 +35,9 @@ function sec_initialize(::Type{Float64}, ::Type{Int32}, control, status) end function sec_initialize(::Type{Float64}, ::Type{Int64}, control, status) - @ccall libgalahad_double_64.sec_initialize(control::Ptr{sec_control_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.sec_initialize_64(control::Ptr{sec_control_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function sec_initialize(::Type{Float128}, ::Type{Int32}, control, status) @@ -45,9 +47,9 @@ function sec_initialize(::Type{Float128}, ::Type{Int32}, control, status) end function sec_initialize(::Type{Float128}, ::Type{Int64}, control, status) - @ccall libgalahad_quadruple_64.sec_initialize_q(control::Ptr{sec_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.sec_initialize_q_64(control::Ptr{sec_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export sec_information @@ -59,9 +61,9 @@ function sec_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function sec_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.sec_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{sec_inform_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.sec_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{sec_inform_type{Int64}}, + status::Ptr{Int64})::Cvoid end function sec_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -71,9 +73,9 @@ function sec_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function sec_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.sec_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{sec_inform_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.sec_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{sec_inform_type{Int64}}, + status::Ptr{Int64})::Cvoid end function sec_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -83,9 +85,9 @@ function sec_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function sec_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.sec_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{sec_inform_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.sec_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{sec_inform_type{Int64}}, + status::Ptr{Int64})::Cvoid end export sec_terminate @@ -97,9 +99,10 @@ function sec_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function sec_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.sec_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{sec_control_type{Float32,Int64}}, - inform::Ptr{sec_inform_type{Int64}})::Cvoid + @ccall libgalahad_single_64.sec_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{sec_control_type{Float32, + Int64}}, + inform::Ptr{sec_inform_type{Int64}})::Cvoid end function sec_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -109,9 +112,9 @@ function sec_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function sec_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.sec_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{sec_control_type{Float64,Int64}}, - inform::Ptr{sec_inform_type{Int64}})::Cvoid + @ccall libgalahad_double_64.sec_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{sec_control_type{Float64,Int64}}, + inform::Ptr{sec_inform_type{Int64}})::Cvoid end function sec_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -121,8 +124,8 @@ function sec_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function sec_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.sec_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{sec_control_type{Float128, - Int64}}, - inform::Ptr{sec_inform_type{Int64}})::Cvoid + @ccall libgalahad_quadruple_64.sec_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{sec_control_type{Float128, + Int64}}, + inform::Ptr{sec_inform_type{Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/sha.jl b/GALAHAD.jl/src/wrappers/sha.jl index d457449ff0..b4ef6606da 100644 --- a/GALAHAD.jl/src/wrappers/sha.jl +++ b/GALAHAD.jl/src/wrappers/sha.jl @@ -40,9 +40,9 @@ function sha_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function sha_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.sha_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{sha_control_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.sha_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{sha_control_type{Int64}}, + status::Ptr{Int64})::Cvoid end function sha_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -52,9 +52,9 @@ function sha_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function sha_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.sha_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{sha_control_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.sha_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{sha_control_type{Int64}}, + status::Ptr{Int64})::Cvoid end function sha_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -64,9 +64,9 @@ function sha_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) end function sha_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.sha_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{sha_control_type{Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.sha_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{sha_control_type{Int64}}, + status::Ptr{Int64})::Cvoid end export sha_reset_control @@ -78,9 +78,9 @@ function sha_reset_control(::Type{Float32}, ::Type{Int32}, control, data, status end function sha_reset_control(::Type{Float32}, ::Type{Int64}, control, data, status) - @ccall libgalahad_single_64.sha_reset_control_s(control::Ptr{sha_control_type{Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.sha_reset_control_s_64(control::Ptr{sha_control_type{Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function sha_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status) @@ -90,9 +90,9 @@ function sha_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status end function sha_reset_control(::Type{Float64}, ::Type{Int64}, control, data, status) - @ccall libgalahad_double_64.sha_reset_control(control::Ptr{sha_control_type{Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.sha_reset_control_64(control::Ptr{sha_control_type{Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function sha_reset_control(::Type{Float128}, ::Type{Int32}, control, data, status) @@ -102,9 +102,9 @@ function sha_reset_control(::Type{Float128}, ::Type{Int32}, control, data, statu end function sha_reset_control(::Type{Float128}, ::Type{Int64}, control, data, status) - @ccall libgalahad_quadruple_64.sha_reset_control_q(control::Ptr{sha_control_type{Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.sha_reset_control_q_64(control::Ptr{sha_control_type{Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end export sha_analyse_matrix @@ -119,11 +119,11 @@ end function sha_analyse_matrix(::Type{Float32}, ::Type{Int64}, control, data, status, n, ne, row, col, m) - @ccall libgalahad_single_64.sha_analyse_matrix_s(control::Ptr{sha_control_type{Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, ne::Int64, - row::Ptr{Int64}, col::Ptr{Int64}, - m::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.sha_analyse_matrix_s_64(control::Ptr{sha_control_type{Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + ne::Int64, row::Ptr{Int64}, + col::Ptr{Int64}, m::Ptr{Int64})::Cvoid end function sha_analyse_matrix(::Type{Float64}, ::Type{Int32}, control, data, status, n, ne, @@ -136,10 +136,11 @@ end function sha_analyse_matrix(::Type{Float64}, ::Type{Int64}, control, data, status, n, ne, row, col, m) - @ccall libgalahad_double_64.sha_analyse_matrix(control::Ptr{sha_control_type{Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, ne::Int64, row::Ptr{Int64}, - col::Ptr{Int64}, m::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.sha_analyse_matrix_64(control::Ptr{sha_control_type{Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, ne::Int64, + row::Ptr{Int64}, col::Ptr{Int64}, + m::Ptr{Int64})::Cvoid end function sha_analyse_matrix(::Type{Float128}, ::Type{Int32}, control, data, status, n, ne, @@ -153,11 +154,12 @@ end function sha_analyse_matrix(::Type{Float128}, ::Type{Int64}, control, data, status, n, ne, row, col, m) - @ccall libgalahad_quadruple_64.sha_analyse_matrix_q(control::Ptr{sha_control_type{Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - ne::Int64, row::Ptr{Int64}, - col::Ptr{Int64}, m::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.sha_analyse_matrix_q_64(control::Ptr{sha_control_type{Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + ne::Int64, row::Ptr{Int64}, + col::Ptr{Int64}, + m::Ptr{Int64})::Cvoid end export sha_recover_matrix @@ -174,13 +176,13 @@ end function sha_recover_matrix(::Type{Float32}, ::Type{Int64}, data, status, ne, m, ls1, ls2, strans, ly1, ly2, ytrans, val, precedence) - @ccall libgalahad_single_64.sha_recover_matrix_s(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, ne::Int64, m::Int64, - ls1::Int64, ls2::Int64, - strans::Ptr{Ptr{Float32}}, ly1::Int64, - ly2::Int64, ytrans::Ptr{Ptr{Float32}}, - val::Ptr{Float32}, - precedence::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.sha_recover_matrix_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, ne::Int64, + m::Int64, ls1::Int64, ls2::Int64, + strans::Ptr{Ptr{Float32}}, ly1::Int64, + ly2::Int64, ytrans::Ptr{Ptr{Float32}}, + val::Ptr{Float32}, + precedence::Ptr{Int64})::Cvoid end function sha_recover_matrix(::Type{Float64}, ::Type{Int32}, data, status, ne, m, ls1, ls2, @@ -195,13 +197,13 @@ end function sha_recover_matrix(::Type{Float64}, ::Type{Int64}, data, status, ne, m, ls1, ls2, strans, ly1, ly2, ytrans, val, precedence) - @ccall libgalahad_double_64.sha_recover_matrix(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - ne::Int64, m::Int64, ls1::Int64, - ls2::Int64, strans::Ptr{Ptr{Float64}}, - ly1::Int64, ly2::Int64, - ytrans::Ptr{Ptr{Float64}}, - val::Ptr{Float64}, - precedence::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.sha_recover_matrix_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, ne::Int64, m::Int64, + ls1::Int64, ls2::Int64, + strans::Ptr{Ptr{Float64}}, ly1::Int64, + ly2::Int64, ytrans::Ptr{Ptr{Float64}}, + val::Ptr{Float64}, + precedence::Ptr{Int64})::Cvoid end function sha_recover_matrix(::Type{Float128}, ::Type{Int32}, data, status, ne, m, ls1, ls2, @@ -217,14 +219,14 @@ end function sha_recover_matrix(::Type{Float128}, ::Type{Int64}, data, status, ne, m, ls1, ls2, strans, ly1, ly2, ytrans, val, precedence) - @ccall libgalahad_quadruple_64.sha_recover_matrix_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, ne::Int64, - m::Int64, ls1::Int64, ls2::Int64, - strans::Ptr{Ptr{Float128}}, - ly1::Int64, ly2::Int64, - ytrans::Ptr{Ptr{Float128}}, - val::Ptr{Float128}, - precedence::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.sha_recover_matrix_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, ne::Int64, + m::Int64, ls1::Int64, ls2::Int64, + strans::Ptr{Ptr{Float128}}, + ly1::Int64, ly2::Int64, + ytrans::Ptr{Ptr{Float128}}, + val::Ptr{Float128}, + precedence::Ptr{Int64})::Cvoid end export sha_information @@ -236,9 +238,10 @@ function sha_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function sha_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.sha_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{sha_inform_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.sha_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{sha_inform_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function sha_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -248,9 +251,9 @@ function sha_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function sha_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.sha_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{sha_inform_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.sha_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{sha_inform_type{Float64,Int64}}, + status::Ptr{Int64})::Cvoid end function sha_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -260,10 +263,10 @@ function sha_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function sha_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.sha_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{sha_inform_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.sha_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{sha_inform_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export sha_terminate @@ -275,9 +278,9 @@ function sha_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function sha_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.sha_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{sha_control_type{Int64}}, - inform::Ptr{sha_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.sha_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{sha_control_type{Int64}}, + inform::Ptr{sha_inform_type{Float32,Int64}})::Cvoid end function sha_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -287,9 +290,9 @@ function sha_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function sha_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.sha_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{sha_control_type{Int64}}, - inform::Ptr{sha_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.sha_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{sha_control_type{Int64}}, + inform::Ptr{sha_inform_type{Float64,Int64}})::Cvoid end function sha_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -299,8 +302,8 @@ function sha_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function sha_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.sha_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{sha_control_type{Int64}}, - inform::Ptr{sha_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.sha_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{sha_control_type{Int64}}, + inform::Ptr{sha_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/sils.jl b/GALAHAD.jl/src/wrappers/sils.jl index 18d3c15065..3562933119 100644 --- a/GALAHAD.jl/src/wrappers/sils.jl +++ b/GALAHAD.jl/src/wrappers/sils.jl @@ -105,10 +105,10 @@ function sils_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function sils_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.sils_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{sils_control_type{Float32, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.sils_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{sils_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function sils_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -118,9 +118,10 @@ function sils_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function sils_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.sils_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{sils_control_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.sils_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{sils_control_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function sils_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -131,10 +132,10 @@ function sils_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) end function sils_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.sils_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{sils_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.sils_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{sils_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export sils_read_specfile @@ -146,9 +147,9 @@ function sils_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfile) end function sils_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.sils_read_specfile_s(control::Ptr{sils_control_type{Float32, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.sils_read_specfile_s_64(control::Ptr{sils_control_type{Float32, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function sils_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -157,9 +158,9 @@ function sils_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) end function sils_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.sils_read_specfile(control::Ptr{sils_control_type{Float64, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.sils_read_specfile_64(control::Ptr{sils_control_type{Float64, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function sils_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -169,9 +170,9 @@ function sils_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) end function sils_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.sils_read_specfile_q(control::Ptr{sils_control_type{Float128, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.sils_read_specfile_q_64(control::Ptr{sils_control_type{Float128, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end export sils_import @@ -182,9 +183,10 @@ function sils_import(::Type{Float32}, ::Type{Int32}, control, data, status) end function sils_import(::Type{Float32}, ::Type{Int64}, control, data, status) - @ccall libgalahad_single_64.sils_import_s(control::Ptr{sils_control_type{Float32,Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.sils_import_s_64(control::Ptr{sils_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function sils_import(::Type{Float64}, ::Type{Int32}, control, data, status) @@ -193,8 +195,9 @@ function sils_import(::Type{Float64}, ::Type{Int32}, control, data, status) end function sils_import(::Type{Float64}, ::Type{Int64}, control, data, status) - @ccall libgalahad_double_64.sils_import(control::Ptr{sils_control_type{Float64,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.sils_import_64(control::Ptr{sils_control_type{Float64,Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function sils_import(::Type{Float128}, ::Type{Int32}, control, data, status) @@ -204,10 +207,10 @@ function sils_import(::Type{Float128}, ::Type{Int32}, control, data, status) end function sils_import(::Type{Float128}, ::Type{Int64}, control, data, status) - @ccall libgalahad_quadruple_64.sils_import_q(control::Ptr{sils_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.sils_import_q_64(control::Ptr{sils_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end export sils_reset_control @@ -220,10 +223,10 @@ function sils_reset_control(::Type{Float32}, ::Type{Int32}, control, data, statu end function sils_reset_control(::Type{Float32}, ::Type{Int64}, control, data, status) - @ccall libgalahad_single_64.sils_reset_control_s(control::Ptr{sils_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.sils_reset_control_s_64(control::Ptr{sils_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function sils_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status) @@ -233,10 +236,10 @@ function sils_reset_control(::Type{Float64}, ::Type{Int32}, control, data, statu end function sils_reset_control(::Type{Float64}, ::Type{Int64}, control, data, status) - @ccall libgalahad_double_64.sils_reset_control(control::Ptr{sils_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.sils_reset_control_64(control::Ptr{sils_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function sils_reset_control(::Type{Float128}, ::Type{Int32}, control, data, status) @@ -247,10 +250,10 @@ function sils_reset_control(::Type{Float128}, ::Type{Int32}, control, data, stat end function sils_reset_control(::Type{Float128}, ::Type{Int64}, control, data, status) - @ccall libgalahad_quadruple_64.sils_reset_control_q(control::Ptr{sils_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.sils_reset_control_q_64(control::Ptr{sils_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end export sils_information @@ -264,11 +267,14 @@ function sils_information(::Type{Float32}, ::Type{Int32}, data, ainfo, finfo, si end function sils_information(::Type{Float32}, ::Type{Int64}, data, ainfo, finfo, sinfo, status) - @ccall libgalahad_single_64.sils_information_s(data::Ptr{Ptr{Cvoid}}, - ainfo::Ptr{sils_ainfo_type{Float32,Int64}}, - finfo::Ptr{sils_finfo_type{Float32,Int64}}, - sinfo::Ptr{sils_sinfo_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.sils_information_s_64(data::Ptr{Ptr{Cvoid}}, + ainfo::Ptr{sils_ainfo_type{Float32, + Int64}}, + finfo::Ptr{sils_finfo_type{Float32, + Int64}}, + sinfo::Ptr{sils_sinfo_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function sils_information(::Type{Float64}, ::Type{Int32}, data, ainfo, finfo, sinfo, status) @@ -280,11 +286,11 @@ function sils_information(::Type{Float64}, ::Type{Int32}, data, ainfo, finfo, si end function sils_information(::Type{Float64}, ::Type{Int64}, data, ainfo, finfo, sinfo, status) - @ccall libgalahad_double_64.sils_information(data::Ptr{Ptr{Cvoid}}, - ainfo::Ptr{sils_ainfo_type{Float64,Int64}}, - finfo::Ptr{sils_finfo_type{Float64,Int64}}, - sinfo::Ptr{sils_sinfo_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.sils_information_64(data::Ptr{Ptr{Cvoid}}, + ainfo::Ptr{sils_ainfo_type{Float64,Int64}}, + finfo::Ptr{sils_finfo_type{Float64,Int64}}, + sinfo::Ptr{sils_sinfo_type{Float64,Int64}}, + status::Ptr{Int64})::Cvoid end function sils_information(::Type{Float128}, ::Type{Int32}, data, ainfo, finfo, sinfo, @@ -298,14 +304,14 @@ end function sils_information(::Type{Float128}, ::Type{Int64}, data, ainfo, finfo, sinfo, status) - @ccall libgalahad_quadruple_64.sils_information_q(data::Ptr{Ptr{Cvoid}}, - ainfo::Ptr{sils_ainfo_type{Float128, - Int64}}, - finfo::Ptr{sils_finfo_type{Float128, - Int64}}, - sinfo::Ptr{sils_sinfo_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.sils_information_q_64(data::Ptr{Ptr{Cvoid}}, + ainfo::Ptr{sils_ainfo_type{Float128, + Int64}}, + finfo::Ptr{sils_finfo_type{Float128, + Int64}}, + sinfo::Ptr{sils_sinfo_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export sils_finalize @@ -317,9 +323,10 @@ function sils_finalize(::Type{Float32}, ::Type{Int32}, data, control, status) end function sils_finalize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.sils_finalize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{sils_control_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.sils_finalize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{sils_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function sils_finalize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -329,9 +336,10 @@ function sils_finalize(::Type{Float64}, ::Type{Int32}, data, control, status) end function sils_finalize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.sils_finalize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{sils_control_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.sils_finalize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{sils_control_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function sils_finalize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -342,8 +350,8 @@ function sils_finalize(::Type{Float128}, ::Type{Int32}, data, control, status) end function sils_finalize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.sils_finalize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{sils_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.sils_finalize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{sils_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/slls.jl b/GALAHAD.jl/src/wrappers/slls.jl index a5915edaf8..c71016aea2 100644 --- a/GALAHAD.jl/src/wrappers/slls.jl +++ b/GALAHAD.jl/src/wrappers/slls.jl @@ -71,10 +71,10 @@ function slls_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function slls_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.slls_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{slls_control_type{Float32, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.slls_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{slls_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function slls_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -84,9 +84,10 @@ function slls_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function slls_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.slls_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{slls_control_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.slls_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{slls_control_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function slls_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -97,10 +98,10 @@ function slls_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) end function slls_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.slls_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{slls_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.slls_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{slls_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export slls_read_specfile @@ -112,9 +113,9 @@ function slls_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfile) end function slls_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.slls_read_specfile_s(control::Ptr{slls_control_type{Float32, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.slls_read_specfile_s_64(control::Ptr{slls_control_type{Float32, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function slls_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -123,9 +124,9 @@ function slls_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) end function slls_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.slls_read_specfile(control::Ptr{slls_control_type{Float64, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.slls_read_specfile_64(control::Ptr{slls_control_type{Float64, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function slls_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -135,9 +136,9 @@ function slls_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) end function slls_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.slls_read_specfile_q(control::Ptr{slls_control_type{Float128, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.slls_read_specfile_q_64(control::Ptr{slls_control_type{Float128, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end export slls_import @@ -154,12 +155,13 @@ end function slls_import(::Type{Float32}, ::Type{Int64}, control, data, status, n, m, Ao_type, Ao_ne, Ao_row, Ao_col, Ao_ptr_ne, Ao_ptr) - @ccall libgalahad_single_64.slls_import_s(control::Ptr{slls_control_type{Float32,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, Ao_type::Ptr{Cchar}, - Ao_ne::Int64, Ao_row::Ptr{Int64}, - Ao_col::Ptr{Int64}, Ao_ptr_ne::Int64, - Ao_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.slls_import_s_64(control::Ptr{slls_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, Ao_type::Ptr{Cchar}, + Ao_ne::Int64, Ao_row::Ptr{Int64}, + Ao_col::Ptr{Int64}, Ao_ptr_ne::Int64, + Ao_ptr::Ptr{Int64})::Cvoid end function slls_import(::Type{Float64}, ::Type{Int32}, control, data, status, n, m, Ao_type, @@ -173,12 +175,12 @@ end function slls_import(::Type{Float64}, ::Type{Int64}, control, data, status, n, m, Ao_type, Ao_ne, Ao_row, Ao_col, Ao_ptr_ne, Ao_ptr) - @ccall libgalahad_double_64.slls_import(control::Ptr{slls_control_type{Float64,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, Ao_type::Ptr{Cchar}, - Ao_ne::Int64, Ao_row::Ptr{Int64}, - Ao_col::Ptr{Int64}, Ao_ptr_ne::Int64, - Ao_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.slls_import_64(control::Ptr{slls_control_type{Float64,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, Ao_type::Ptr{Cchar}, + Ao_ne::Int64, Ao_row::Ptr{Int64}, + Ao_col::Ptr{Int64}, Ao_ptr_ne::Int64, + Ao_ptr::Ptr{Int64})::Cvoid end function slls_import(::Type{Float128}, ::Type{Int32}, control, data, status, n, m, Ao_type, @@ -193,13 +195,13 @@ end function slls_import(::Type{Float128}, ::Type{Int64}, control, data, status, n, m, Ao_type, Ao_ne, Ao_row, Ao_col, Ao_ptr_ne, Ao_ptr) - @ccall libgalahad_quadruple_64.slls_import_q(control::Ptr{slls_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, Ao_type::Ptr{Cchar}, - Ao_ne::Int64, Ao_row::Ptr{Int64}, - Ao_col::Ptr{Int64}, Ao_ptr_ne::Int64, - Ao_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.slls_import_q_64(control::Ptr{slls_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, Ao_type::Ptr{Cchar}, + Ao_ne::Int64, Ao_row::Ptr{Int64}, + Ao_col::Ptr{Int64}, Ao_ptr_ne::Int64, + Ao_ptr::Ptr{Int64})::Cvoid end export slls_import_without_a @@ -213,11 +215,11 @@ function slls_import_without_a(::Type{Float32}, ::Type{Int32}, control, data, st end function slls_import_without_a(::Type{Float32}, ::Type{Int64}, control, data, status, n, o) - @ccall libgalahad_single_64.slls_import_without_a_s(control::Ptr{slls_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - o::Int64)::Cvoid + @ccall libgalahad_single_64.slls_import_without_a_s_64(control::Ptr{slls_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + o::Int64)::Cvoid end function slls_import_without_a(::Type{Float64}, ::Type{Int32}, control, data, status, n, o) @@ -228,11 +230,11 @@ function slls_import_without_a(::Type{Float64}, ::Type{Int32}, control, data, st end function slls_import_without_a(::Type{Float64}, ::Type{Int64}, control, data, status, n, o) - @ccall libgalahad_double_64.slls_import_without_a(control::Ptr{slls_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - o::Int64)::Cvoid + @ccall libgalahad_double_64.slls_import_without_a_64(control::Ptr{slls_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + o::Int64)::Cvoid end function slls_import_without_a(::Type{Float128}, ::Type{Int32}, control, data, status, n, o) @@ -244,11 +246,11 @@ function slls_import_without_a(::Type{Float128}, ::Type{Int32}, control, data, s end function slls_import_without_a(::Type{Float128}, ::Type{Int64}, control, data, status, n, o) - @ccall libgalahad_quadruple_64.slls_import_without_a_q(control::Ptr{slls_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - o::Int64)::Cvoid + @ccall libgalahad_quadruple_64.slls_import_without_a_q_64(control::Ptr{slls_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + o::Int64)::Cvoid end export slls_reset_control @@ -261,10 +263,10 @@ function slls_reset_control(::Type{Float32}, ::Type{Int32}, control, data, statu end function slls_reset_control(::Type{Float32}, ::Type{Int64}, control, data, status) - @ccall libgalahad_single_64.slls_reset_control_s(control::Ptr{slls_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.slls_reset_control_s_64(control::Ptr{slls_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function slls_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status) @@ -274,10 +276,10 @@ function slls_reset_control(::Type{Float64}, ::Type{Int32}, control, data, statu end function slls_reset_control(::Type{Float64}, ::Type{Int64}, control, data, status) - @ccall libgalahad_double_64.slls_reset_control(control::Ptr{slls_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.slls_reset_control_64(control::Ptr{slls_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function slls_reset_control(::Type{Float128}, ::Type{Int32}, control, data, status) @@ -288,10 +290,10 @@ function slls_reset_control(::Type{Float128}, ::Type{Int32}, control, data, stat end function slls_reset_control(::Type{Float128}, ::Type{Int64}, control, data, status) - @ccall libgalahad_quadruple_64.slls_reset_control_q(control::Ptr{slls_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.slls_reset_control_q_64(control::Ptr{slls_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end export slls_solve_given_a @@ -309,14 +311,15 @@ end function slls_solve_given_a(::Type{Float32}, ::Type{Int64}, data, userdata, status, n, o, Ao_ne, Ao_val, b, x, z, r, g, x_stat, eval_prec) - @ccall libgalahad_single_64.slls_solve_given_a_s(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, status::Ptr{Int64}, - n::Int64, o::Int64, Ao_ne::Int64, - Ao_val::Ptr{Float32}, b::Ptr{Float32}, - x::Ptr{Float32}, z::Ptr{Float32}, - r::Ptr{Float32}, g::Ptr{Float32}, - x_stat::Ptr{Int64}, - eval_prec::Ptr{Cvoid})::Cvoid + @ccall libgalahad_single_64.slls_solve_given_a_s_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + o::Int64, Ao_ne::Int64, + Ao_val::Ptr{Float32}, b::Ptr{Float32}, + x::Ptr{Float32}, z::Ptr{Float32}, + r::Ptr{Float32}, g::Ptr{Float32}, + x_stat::Ptr{Int64}, + eval_prec::Ptr{Cvoid})::Cvoid end function slls_solve_given_a(::Type{Float64}, ::Type{Int32}, data, userdata, status, n, o, @@ -332,14 +335,14 @@ end function slls_solve_given_a(::Type{Float64}, ::Type{Int64}, data, userdata, status, n, o, Ao_ne, Ao_val, b, x, z, r, g, x_stat, eval_prec) - @ccall libgalahad_double_64.slls_solve_given_a(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, status::Ptr{Int64}, - n::Int64, o::Int64, Ao_ne::Int64, - Ao_val::Ptr{Float64}, b::Ptr{Float64}, - x::Ptr{Float64}, z::Ptr{Float64}, - r::Ptr{Float64}, g::Ptr{Float64}, - x_stat::Ptr{Int64}, - eval_prec::Ptr{Cvoid})::Cvoid + @ccall libgalahad_double_64.slls_solve_given_a_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, o::Int64, + Ao_ne::Int64, Ao_val::Ptr{Float64}, + b::Ptr{Float64}, x::Ptr{Float64}, + z::Ptr{Float64}, r::Ptr{Float64}, + g::Ptr{Float64}, x_stat::Ptr{Int64}, + eval_prec::Ptr{Cvoid})::Cvoid end function slls_solve_given_a(::Type{Float128}, ::Type{Int32}, data, userdata, status, n, o, @@ -356,15 +359,16 @@ end function slls_solve_given_a(::Type{Float128}, ::Type{Int64}, data, userdata, status, n, o, Ao_ne, Ao_val, b, x, z, r, g, x_stat, eval_prec) - @ccall libgalahad_quadruple_64.slls_solve_given_a_q(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, - status::Ptr{Int64}, n::Int64, - o::Int64, Ao_ne::Int64, - Ao_val::Ptr{Float128}, - b::Ptr{Float128}, x::Ptr{Float128}, - z::Ptr{Float128}, r::Ptr{Float128}, - g::Ptr{Float128}, x_stat::Ptr{Int64}, - eval_prec::Ptr{Cvoid})::Cvoid + @ccall libgalahad_quadruple_64.slls_solve_given_a_q_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + o::Int64, Ao_ne::Int64, + Ao_val::Ptr{Float128}, + b::Ptr{Float128}, x::Ptr{Float128}, + z::Ptr{Float128}, r::Ptr{Float128}, + g::Ptr{Float128}, + x_stat::Ptr{Int64}, + eval_prec::Ptr{Cvoid})::Cvoid end export slls_solve_reverse_a_prod @@ -389,19 +393,23 @@ end function slls_solve_reverse_a_prod(::Type{Float32}, ::Type{Int64}, data, status, eval_status, n, o, b, x, z, r, g, x_stat, v, p, nz_v, nz_v_start, nz_v_end, nz_p, nz_p_end) - @ccall libgalahad_single_64.slls_solve_reverse_a_prod_s(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, n::Int64, - o::Int64, b::Ptr{Float32}, - x::Ptr{Float32}, z::Ptr{Float32}, - r::Ptr{Float32}, g::Ptr{Float32}, - x_stat::Ptr{Int64}, - v::Ptr{Float32}, p::Ptr{Float32}, - nz_v::Ptr{Int64}, - nz_v_start::Ptr{Int64}, - nz_v_end::Ptr{Int64}, - nz_p::Ptr{Int64}, - nz_p_end::Int64)::Cvoid + @ccall libgalahad_single_64.slls_solve_reverse_a_prod_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, o::Int64, + b::Ptr{Float32}, + x::Ptr{Float32}, + z::Ptr{Float32}, + r::Ptr{Float32}, + g::Ptr{Float32}, + x_stat::Ptr{Int64}, + v::Ptr{Float32}, + p::Ptr{Float32}, + nz_v::Ptr{Int64}, + nz_v_start::Ptr{Int64}, + nz_v_end::Ptr{Int64}, + nz_p::Ptr{Int64}, + nz_p_end::Int64)::Cvoid end function slls_solve_reverse_a_prod(::Type{Float64}, ::Type{Int32}, data, status, @@ -423,18 +431,20 @@ end function slls_solve_reverse_a_prod(::Type{Float64}, ::Type{Int64}, data, status, eval_status, n, o, b, x, z, r, g, x_stat, v, p, nz_v, nz_v_start, nz_v_end, nz_p, nz_p_end) - @ccall libgalahad_double_64.slls_solve_reverse_a_prod(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, n::Int64, - o::Int64, b::Ptr{Float64}, - x::Ptr{Float64}, z::Ptr{Float64}, - r::Ptr{Float64}, g::Ptr{Float64}, - x_stat::Ptr{Int64}, v::Ptr{Float64}, - p::Ptr{Float64}, nz_v::Ptr{Int64}, - nz_v_start::Ptr{Int64}, - nz_v_end::Ptr{Int64}, - nz_p::Ptr{Int64}, - nz_p_end::Int64)::Cvoid + @ccall libgalahad_double_64.slls_solve_reverse_a_prod_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, o::Int64, + b::Ptr{Float64}, x::Ptr{Float64}, + z::Ptr{Float64}, r::Ptr{Float64}, + g::Ptr{Float64}, + x_stat::Ptr{Int64}, + v::Ptr{Float64}, p::Ptr{Float64}, + nz_v::Ptr{Int64}, + nz_v_start::Ptr{Int64}, + nz_v_end::Ptr{Int64}, + nz_p::Ptr{Int64}, + nz_p_end::Int64)::Cvoid end function slls_solve_reverse_a_prod(::Type{Float128}, ::Type{Int32}, data, status, @@ -461,23 +471,23 @@ end function slls_solve_reverse_a_prod(::Type{Float128}, ::Type{Int64}, data, status, eval_status, n, o, b, x, z, r, g, x_stat, v, p, nz_v, nz_v_start, nz_v_end, nz_p, nz_p_end) - @ccall libgalahad_quadruple_64.slls_solve_reverse_a_prod_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, - n::Int64, o::Int64, - b::Ptr{Float128}, - x::Ptr{Float128}, - z::Ptr{Float128}, - r::Ptr{Float128}, - g::Ptr{Float128}, - x_stat::Ptr{Int64}, - v::Ptr{Float128}, - p::Ptr{Float128}, - nz_v::Ptr{Int64}, - nz_v_start::Ptr{Int64}, - nz_v_end::Ptr{Int64}, - nz_p::Ptr{Int64}, - nz_p_end::Int64)::Cvoid + @ccall libgalahad_quadruple_64.slls_solve_reverse_a_prod_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, o::Int64, + b::Ptr{Float128}, + x::Ptr{Float128}, + z::Ptr{Float128}, + r::Ptr{Float128}, + g::Ptr{Float128}, + x_stat::Ptr{Int64}, + v::Ptr{Float128}, + p::Ptr{Float128}, + nz_v::Ptr{Int64}, + nz_v_start::Ptr{Int64}, + nz_v_end::Ptr{Int64}, + nz_p::Ptr{Int64}, + nz_p_end::Int64)::Cvoid end export slls_information @@ -489,10 +499,10 @@ function slls_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function slls_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.slls_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{slls_inform_type{Float32, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.slls_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{slls_inform_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function slls_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -502,9 +512,10 @@ function slls_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function slls_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.slls_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{slls_inform_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.slls_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{slls_inform_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function slls_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -515,10 +526,10 @@ function slls_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function slls_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.slls_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{slls_inform_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.slls_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{slls_inform_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export slls_terminate @@ -530,10 +541,11 @@ function slls_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function slls_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.slls_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{slls_control_type{Float32, - Int64}}, - inform::Ptr{slls_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.slls_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{slls_control_type{Float32, + Int64}}, + inform::Ptr{slls_inform_type{Float32, + Int64}})::Cvoid end function slls_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -543,9 +555,10 @@ function slls_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function slls_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.slls_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{slls_control_type{Float64,Int64}}, - inform::Ptr{slls_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.slls_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{slls_control_type{Float64, + Int64}}, + inform::Ptr{slls_inform_type{Float64,Int64}})::Cvoid end function slls_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -556,9 +569,9 @@ function slls_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function slls_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.slls_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{slls_control_type{Float128, - Int64}}, - inform::Ptr{slls_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.slls_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{slls_control_type{Float128, + Int64}}, + inform::Ptr{slls_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/sls.jl b/GALAHAD.jl/src/wrappers/sls.jl index d9ee74bc5f..d7a89aa1ef 100644 --- a/GALAHAD.jl/src/wrappers/sls.jl +++ b/GALAHAD.jl/src/wrappers/sls.jl @@ -166,9 +166,10 @@ function sls_initialize(::Type{Float32}, ::Type{Int32}, solver, data, control, s end function sls_initialize(::Type{Float32}, ::Type{Int64}, solver, data, control, status) - @ccall libgalahad_single_64.sls_initialize_s(solver::Ptr{Cchar}, data::Ptr{Ptr{Cvoid}}, - control::Ptr{sls_control_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.sls_initialize_s_64(solver::Ptr{Cchar}, data::Ptr{Ptr{Cvoid}}, + control::Ptr{sls_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function sls_initialize(::Type{Float64}, ::Type{Int32}, solver, data, control, status) @@ -178,9 +179,10 @@ function sls_initialize(::Type{Float64}, ::Type{Int32}, solver, data, control, s end function sls_initialize(::Type{Float64}, ::Type{Int64}, solver, data, control, status) - @ccall libgalahad_double_64.sls_initialize(solver::Ptr{Cchar}, data::Ptr{Ptr{Cvoid}}, - control::Ptr{sls_control_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.sls_initialize_64(solver::Ptr{Cchar}, data::Ptr{Ptr{Cvoid}}, + control::Ptr{sls_control_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function sls_initialize(::Type{Float128}, ::Type{Int32}, solver, data, control, status) @@ -191,10 +193,11 @@ function sls_initialize(::Type{Float128}, ::Type{Int32}, solver, data, control, end function sls_initialize(::Type{Float128}, ::Type{Int64}, solver, data, control, status) - @ccall libgalahad_quadruple_64.sls_initialize_q(solver::Ptr{Cchar}, data::Ptr{Ptr{Cvoid}}, - control::Ptr{sls_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.sls_initialize_q_64(solver::Ptr{Cchar}, + data::Ptr{Ptr{Cvoid}}, + control::Ptr{sls_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export sls_read_specfile @@ -205,9 +208,9 @@ function sls_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfile) end function sls_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.sls_read_specfile_s(control::Ptr{sls_control_type{Float32, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.sls_read_specfile_s_64(control::Ptr{sls_control_type{Float32, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function sls_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -216,9 +219,9 @@ function sls_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) end function sls_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.sls_read_specfile(control::Ptr{sls_control_type{Float64, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.sls_read_specfile_64(control::Ptr{sls_control_type{Float64, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function sls_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -228,9 +231,9 @@ function sls_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) end function sls_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.sls_read_specfile_q(control::Ptr{sls_control_type{Float128, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.sls_read_specfile_q_64(control::Ptr{sls_control_type{Float128, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end export sls_analyse_matrix @@ -247,13 +250,13 @@ end function sls_analyse_matrix(::Type{Float32}, ::Type{Int64}, control, data, status, n, type, ne, row, col, ptr) - @ccall libgalahad_single_64.sls_analyse_matrix_s(control::Ptr{sls_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - type::Ptr{Cchar}, ne::Int64, - row::Ptr{Int64}, col::Ptr{Int64}, - ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.sls_analyse_matrix_s_64(control::Ptr{sls_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + type::Ptr{Cchar}, ne::Int64, + row::Ptr{Int64}, col::Ptr{Int64}, + ptr::Ptr{Int64})::Cvoid end function sls_analyse_matrix(::Type{Float64}, ::Type{Int32}, control, data, status, n, type, @@ -267,12 +270,13 @@ end function sls_analyse_matrix(::Type{Float64}, ::Type{Int64}, control, data, status, n, type, ne, row, col, ptr) - @ccall libgalahad_double_64.sls_analyse_matrix(control::Ptr{sls_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, type::Ptr{Cchar}, ne::Int64, - row::Ptr{Int64}, col::Ptr{Int64}, - ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.sls_analyse_matrix_64(control::Ptr{sls_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + type::Ptr{Cchar}, ne::Int64, + row::Ptr{Int64}, col::Ptr{Int64}, + ptr::Ptr{Int64})::Cvoid end function sls_analyse_matrix(::Type{Float128}, ::Type{Int32}, control, data, status, n, type, @@ -288,13 +292,13 @@ end function sls_analyse_matrix(::Type{Float128}, ::Type{Int64}, control, data, status, n, type, ne, row, col, ptr) - @ccall libgalahad_quadruple_64.sls_analyse_matrix_q(control::Ptr{sls_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - type::Ptr{Cchar}, ne::Int64, - row::Ptr{Int64}, col::Ptr{Int64}, - ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.sls_analyse_matrix_q_64(control::Ptr{sls_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + type::Ptr{Cchar}, ne::Int64, + row::Ptr{Int64}, col::Ptr{Int64}, + ptr::Ptr{Int64})::Cvoid end export sls_reset_control @@ -306,10 +310,10 @@ function sls_reset_control(::Type{Float32}, ::Type{Int32}, control, data, status end function sls_reset_control(::Type{Float32}, ::Type{Int64}, control, data, status) - @ccall libgalahad_single_64.sls_reset_control_s(control::Ptr{sls_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.sls_reset_control_s_64(control::Ptr{sls_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function sls_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status) @@ -319,10 +323,10 @@ function sls_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status end function sls_reset_control(::Type{Float64}, ::Type{Int64}, control, data, status) - @ccall libgalahad_double_64.sls_reset_control(control::Ptr{sls_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.sls_reset_control_64(control::Ptr{sls_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function sls_reset_control(::Type{Float128}, ::Type{Int32}, control, data, status) @@ -333,10 +337,10 @@ function sls_reset_control(::Type{Float128}, ::Type{Int32}, control, data, statu end function sls_reset_control(::Type{Float128}, ::Type{Int64}, control, data, status) - @ccall libgalahad_quadruple_64.sls_reset_control_q(control::Ptr{sls_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.sls_reset_control_q_64(control::Ptr{sls_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end export sls_factorize_matrix @@ -347,9 +351,9 @@ function sls_factorize_matrix(::Type{Float32}, ::Type{Int32}, data, status, ne, end function sls_factorize_matrix(::Type{Float32}, ::Type{Int64}, data, status, ne, val) - @ccall libgalahad_single_64.sls_factorize_matrix_s(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, ne::Int64, - val::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.sls_factorize_matrix_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, ne::Int64, + val::Ptr{Float32})::Cvoid end function sls_factorize_matrix(::Type{Float64}, ::Type{Int32}, data, status, ne, val) @@ -358,9 +362,9 @@ function sls_factorize_matrix(::Type{Float64}, ::Type{Int32}, data, status, ne, end function sls_factorize_matrix(::Type{Float64}, ::Type{Int64}, data, status, ne, val) - @ccall libgalahad_double_64.sls_factorize_matrix(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, ne::Int64, - val::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.sls_factorize_matrix_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, ne::Int64, + val::Ptr{Float64})::Cvoid end function sls_factorize_matrix(::Type{Float128}, ::Type{Int32}, data, status, ne, val) @@ -370,9 +374,9 @@ function sls_factorize_matrix(::Type{Float128}, ::Type{Int32}, data, status, ne, end function sls_factorize_matrix(::Type{Float128}, ::Type{Int64}, data, status, ne, val) - @ccall libgalahad_quadruple_64.sls_factorize_matrix_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, ne::Int64, - val::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.sls_factorize_matrix_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, ne::Int64, + val::Ptr{Float128})::Cvoid end export sls_solve_system @@ -383,8 +387,9 @@ function sls_solve_system(::Type{Float32}, ::Type{Int32}, data, status, n, sol) end function sls_solve_system(::Type{Float32}, ::Type{Int64}, data, status, n, sol) - @ccall libgalahad_single_64.sls_solve_system_s(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, sol::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.sls_solve_system_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + sol::Ptr{Float32})::Cvoid end function sls_solve_system(::Type{Float64}, ::Type{Int32}, data, status, n, sol) @@ -393,8 +398,8 @@ function sls_solve_system(::Type{Float64}, ::Type{Int32}, data, status, n, sol) end function sls_solve_system(::Type{Float64}, ::Type{Int64}, data, status, n, sol) - @ccall libgalahad_double_64.sls_solve_system(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, sol::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.sls_solve_system_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, sol::Ptr{Float64})::Cvoid end function sls_solve_system(::Type{Float128}, ::Type{Int32}, data, status, n, sol) @@ -403,9 +408,9 @@ function sls_solve_system(::Type{Float128}, ::Type{Int32}, data, status, n, sol) end function sls_solve_system(::Type{Float128}, ::Type{Int64}, data, status, n, sol) - @ccall libgalahad_quadruple_64.sls_solve_system_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - sol::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.sls_solve_system_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + sol::Ptr{Float128})::Cvoid end export sls_partial_solve_system @@ -420,10 +425,10 @@ end function sls_partial_solve_system(::Type{Float32}, ::Type{Int64}, part, data, status, n, sol) - @ccall libgalahad_single_64.sls_partial_solve_system_s(part::Ptr{Cchar}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - sol::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.sls_partial_solve_system_s_64(part::Ptr{Cchar}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + sol::Ptr{Float32})::Cvoid end function sls_partial_solve_system(::Type{Float64}, ::Type{Int32}, part, data, status, n, @@ -435,10 +440,10 @@ end function sls_partial_solve_system(::Type{Float64}, ::Type{Int64}, part, data, status, n, sol) - @ccall libgalahad_double_64.sls_partial_solve_system(part::Ptr{Cchar}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - sol::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.sls_partial_solve_system_64(part::Ptr{Cchar}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + sol::Ptr{Float64})::Cvoid end function sls_partial_solve_system(::Type{Float128}, ::Type{Int32}, part, data, status, n, @@ -451,10 +456,10 @@ end function sls_partial_solve_system(::Type{Float128}, ::Type{Int64}, part, data, status, n, sol) - @ccall libgalahad_quadruple_64.sls_partial_solve_system_q(part::Ptr{Cchar}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - sol::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.sls_partial_solve_system_q_64(part::Ptr{Cchar}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + sol::Ptr{Float128})::Cvoid end export sls_information @@ -466,9 +471,10 @@ function sls_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function sls_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.sls_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{sls_inform_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.sls_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{sls_inform_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function sls_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -478,9 +484,9 @@ function sls_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function sls_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.sls_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{sls_inform_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.sls_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{sls_inform_type{Float64,Int64}}, + status::Ptr{Int64})::Cvoid end function sls_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -490,10 +496,10 @@ function sls_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function sls_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.sls_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{sls_inform_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.sls_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{sls_inform_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export sls_terminate @@ -505,9 +511,10 @@ function sls_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function sls_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.sls_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{sls_control_type{Float32,Int64}}, - inform::Ptr{sls_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.sls_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{sls_control_type{Float32, + Int64}}, + inform::Ptr{sls_inform_type{Float32,Int64}})::Cvoid end function sls_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -517,9 +524,9 @@ function sls_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function sls_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.sls_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{sls_control_type{Float64,Int64}}, - inform::Ptr{sls_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.sls_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{sls_control_type{Float64,Int64}}, + inform::Ptr{sls_inform_type{Float64,Int64}})::Cvoid end function sls_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -529,9 +536,9 @@ function sls_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function sls_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.sls_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{sls_control_type{Float128, - Int64}}, - inform::Ptr{sls_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.sls_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{sls_control_type{Float128, + Int64}}, + inform::Ptr{sls_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/trb.jl b/GALAHAD.jl/src/wrappers/trb.jl index 6417806395..4f786f8f07 100644 --- a/GALAHAD.jl/src/wrappers/trb.jl +++ b/GALAHAD.jl/src/wrappers/trb.jl @@ -110,9 +110,10 @@ function trb_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function trb_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.trb_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{trb_control_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.trb_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{trb_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function trb_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -122,9 +123,10 @@ function trb_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function trb_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.trb_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{trb_control_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.trb_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{trb_control_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function trb_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -135,10 +137,10 @@ function trb_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) end function trb_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.trb_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{trb_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.trb_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{trb_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export trb_read_specfile @@ -149,9 +151,9 @@ function trb_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfile) end function trb_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.trb_read_specfile_s(control::Ptr{trb_control_type{Float32, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.trb_read_specfile_s_64(control::Ptr{trb_control_type{Float32, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function trb_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -160,9 +162,9 @@ function trb_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) end function trb_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.trb_read_specfile(control::Ptr{trb_control_type{Float64, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.trb_read_specfile_64(control::Ptr{trb_control_type{Float64, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function trb_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -172,9 +174,9 @@ function trb_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) end function trb_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.trb_read_specfile_q(control::Ptr{trb_control_type{Float128, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.trb_read_specfile_q_64(control::Ptr{trb_control_type{Float128, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end export trb_import @@ -190,11 +192,12 @@ end function trb_import(::Type{Float32}, ::Type{Int64}, control, data, status, n, x_l, x_u, H_type, ne, H_row, H_col, H_ptr) - @ccall libgalahad_single_64.trb_import_s(control::Ptr{trb_control_type{Float32,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, x_l::Ptr{Float32}, x_u::Ptr{Float32}, - H_type::Ptr{Cchar}, ne::Int64, H_row::Ptr{Int64}, - H_col::Ptr{Int64}, H_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.trb_import_s_64(control::Ptr{trb_control_type{Float32,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, x_l::Ptr{Float32}, + x_u::Ptr{Float32}, H_type::Ptr{Cchar}, + ne::Int64, H_row::Ptr{Int64}, + H_col::Ptr{Int64}, H_ptr::Ptr{Int64})::Cvoid end function trb_import(::Type{Float64}, ::Type{Int32}, control, data, status, n, x_l, x_u, @@ -208,11 +211,12 @@ end function trb_import(::Type{Float64}, ::Type{Int64}, control, data, status, n, x_l, x_u, H_type, ne, H_row, H_col, H_ptr) - @ccall libgalahad_double_64.trb_import(control::Ptr{trb_control_type{Float64,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, x_l::Ptr{Float64}, x_u::Ptr{Float64}, - H_type::Ptr{Cchar}, ne::Int64, H_row::Ptr{Int64}, - H_col::Ptr{Int64}, H_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.trb_import_64(control::Ptr{trb_control_type{Float64,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, x_l::Ptr{Float64}, x_u::Ptr{Float64}, + H_type::Ptr{Cchar}, ne::Int64, + H_row::Ptr{Int64}, H_col::Ptr{Int64}, + H_ptr::Ptr{Int64})::Cvoid end function trb_import(::Type{Float128}, ::Type{Int32}, control, data, status, n, x_l, x_u, @@ -226,12 +230,14 @@ end function trb_import(::Type{Float128}, ::Type{Int64}, control, data, status, n, x_l, x_u, H_type, ne, H_row, H_col, H_ptr) - @ccall libgalahad_quadruple_64.trb_import_q(control::Ptr{trb_control_type{Float128,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, x_l::Ptr{Float128}, - x_u::Ptr{Float128}, H_type::Ptr{Cchar}, - ne::Int64, H_row::Ptr{Int64}, - H_col::Ptr{Int64}, H_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.trb_import_q_64(control::Ptr{trb_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, x_l::Ptr{Float128}, + x_u::Ptr{Float128}, H_type::Ptr{Cchar}, + ne::Int64, H_row::Ptr{Int64}, + H_col::Ptr{Int64}, + H_ptr::Ptr{Int64})::Cvoid end export trb_reset_control @@ -243,10 +249,10 @@ function trb_reset_control(::Type{Float32}, ::Type{Int32}, control, data, status end function trb_reset_control(::Type{Float32}, ::Type{Int64}, control, data, status) - @ccall libgalahad_single_64.trb_reset_control_s(control::Ptr{trb_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.trb_reset_control_s_64(control::Ptr{trb_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function trb_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status) @@ -256,10 +262,10 @@ function trb_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status end function trb_reset_control(::Type{Float64}, ::Type{Int64}, control, data, status) - @ccall libgalahad_double_64.trb_reset_control(control::Ptr{trb_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.trb_reset_control_64(control::Ptr{trb_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function trb_reset_control(::Type{Float128}, ::Type{Int32}, control, data, status) @@ -270,10 +276,10 @@ function trb_reset_control(::Type{Float128}, ::Type{Int32}, control, data, statu end function trb_reset_control(::Type{Float128}, ::Type{Int64}, control, data, status) - @ccall libgalahad_quadruple_64.trb_reset_control_q(control::Ptr{trb_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.trb_reset_control_q_64(control::Ptr{trb_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end export trb_solve_with_mat @@ -290,13 +296,14 @@ end function trb_solve_with_mat(::Type{Float32}, ::Type{Int64}, data, userdata, status, n, x, g, ne, eval_f, eval_g, eval_h, eval_prec) - @ccall libgalahad_single_64.trb_solve_with_mat_s(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, status::Ptr{Int64}, - n::Int64, x::Ptr{Float32}, - g::Ptr{Float32}, ne::Int64, - eval_f::Ptr{Cvoid}, eval_g::Ptr{Cvoid}, - eval_h::Ptr{Cvoid}, - eval_prec::Ptr{Cvoid})::Cvoid + @ccall libgalahad_single_64.trb_solve_with_mat_s_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + x::Ptr{Float32}, g::Ptr{Float32}, + ne::Int64, eval_f::Ptr{Cvoid}, + eval_g::Ptr{Cvoid}, + eval_h::Ptr{Cvoid}, + eval_prec::Ptr{Cvoid})::Cvoid end function trb_solve_with_mat(::Type{Float64}, ::Type{Int32}, data, userdata, status, n, x, g, @@ -311,12 +318,13 @@ end function trb_solve_with_mat(::Type{Float64}, ::Type{Int64}, data, userdata, status, n, x, g, ne, eval_f, eval_g, eval_h, eval_prec) - @ccall libgalahad_double_64.trb_solve_with_mat(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, status::Ptr{Int64}, - n::Int64, x::Ptr{Float64}, g::Ptr{Float64}, - ne::Int64, eval_f::Ptr{Cvoid}, - eval_g::Ptr{Cvoid}, eval_h::Ptr{Cvoid}, - eval_prec::Ptr{Cvoid})::Cvoid + @ccall libgalahad_double_64.trb_solve_with_mat_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + x::Ptr{Float64}, g::Ptr{Float64}, + ne::Int64, eval_f::Ptr{Cvoid}, + eval_g::Ptr{Cvoid}, eval_h::Ptr{Cvoid}, + eval_prec::Ptr{Cvoid})::Cvoid end function trb_solve_with_mat(::Type{Float128}, ::Type{Int32}, data, userdata, status, n, x, @@ -332,14 +340,14 @@ end function trb_solve_with_mat(::Type{Float128}, ::Type{Int64}, data, userdata, status, n, x, g, ne, eval_f, eval_g, eval_h, eval_prec) - @ccall libgalahad_quadruple_64.trb_solve_with_mat_q(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, - status::Ptr{Int64}, n::Int64, - x::Ptr{Float128}, g::Ptr{Float128}, - ne::Int64, eval_f::Ptr{Cvoid}, - eval_g::Ptr{Cvoid}, - eval_h::Ptr{Cvoid}, - eval_prec::Ptr{Cvoid})::Cvoid + @ccall libgalahad_quadruple_64.trb_solve_with_mat_q_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + x::Ptr{Float128}, g::Ptr{Float128}, + ne::Int64, eval_f::Ptr{Cvoid}, + eval_g::Ptr{Cvoid}, + eval_h::Ptr{Cvoid}, + eval_prec::Ptr{Cvoid})::Cvoid end export trb_solve_without_mat @@ -358,15 +366,15 @@ end function trb_solve_without_mat(::Type{Float32}, ::Type{Int64}, data, userdata, status, n, x, g, eval_f, eval_g, eval_hprod, eval_shprod, eval_prec) - @ccall libgalahad_single_64.trb_solve_without_mat_s(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, - status::Ptr{Int64}, n::Int64, - x::Ptr{Float32}, g::Ptr{Float32}, - eval_f::Ptr{Cvoid}, - eval_g::Ptr{Cvoid}, - eval_hprod::Ptr{Cvoid}, - eval_shprod::Ptr{Cvoid}, - eval_prec::Ptr{Cvoid})::Cvoid + @ccall libgalahad_single_64.trb_solve_without_mat_s_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + x::Ptr{Float32}, g::Ptr{Float32}, + eval_f::Ptr{Cvoid}, + eval_g::Ptr{Cvoid}, + eval_hprod::Ptr{Cvoid}, + eval_shprod::Ptr{Cvoid}, + eval_prec::Ptr{Cvoid})::Cvoid end function trb_solve_without_mat(::Type{Float64}, ::Type{Int32}, data, userdata, status, n, x, @@ -382,14 +390,15 @@ end function trb_solve_without_mat(::Type{Float64}, ::Type{Int64}, data, userdata, status, n, x, g, eval_f, eval_g, eval_hprod, eval_shprod, eval_prec) - @ccall libgalahad_double_64.trb_solve_without_mat(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, - status::Ptr{Int64}, n::Int64, - x::Ptr{Float64}, g::Ptr{Float64}, - eval_f::Ptr{Cvoid}, eval_g::Ptr{Cvoid}, - eval_hprod::Ptr{Cvoid}, - eval_shprod::Ptr{Cvoid}, - eval_prec::Ptr{Cvoid})::Cvoid + @ccall libgalahad_double_64.trb_solve_without_mat_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + x::Ptr{Float64}, g::Ptr{Float64}, + eval_f::Ptr{Cvoid}, + eval_g::Ptr{Cvoid}, + eval_hprod::Ptr{Cvoid}, + eval_shprod::Ptr{Cvoid}, + eval_prec::Ptr{Cvoid})::Cvoid end function trb_solve_without_mat(::Type{Float128}, ::Type{Int32}, data, userdata, status, n, @@ -407,15 +416,16 @@ end function trb_solve_without_mat(::Type{Float128}, ::Type{Int64}, data, userdata, status, n, x, g, eval_f, eval_g, eval_hprod, eval_shprod, eval_prec) - @ccall libgalahad_quadruple_64.trb_solve_without_mat_q(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, - status::Ptr{Int64}, n::Int64, - x::Ptr{Float128}, g::Ptr{Float128}, - eval_f::Ptr{Cvoid}, - eval_g::Ptr{Cvoid}, - eval_hprod::Ptr{Cvoid}, - eval_shprod::Ptr{Cvoid}, - eval_prec::Ptr{Cvoid})::Cvoid + @ccall libgalahad_quadruple_64.trb_solve_without_mat_q_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + x::Ptr{Float128}, + g::Ptr{Float128}, + eval_f::Ptr{Cvoid}, + eval_g::Ptr{Cvoid}, + eval_hprod::Ptr{Cvoid}, + eval_shprod::Ptr{Cvoid}, + eval_prec::Ptr{Cvoid})::Cvoid end export trb_solve_reverse_with_mat @@ -434,14 +444,15 @@ end function trb_solve_reverse_with_mat(::Type{Float32}, ::Type{Int64}, data, status, eval_status, n, x, f, g, ne, H_val, u, v) - @ccall libgalahad_single_64.trb_solve_reverse_with_mat_s(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, - n::Int64, x::Ptr{Float32}, - f::Float32, g::Ptr{Float32}, - ne::Int64, H_val::Ptr{Float32}, - u::Ptr{Float32}, - v::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.trb_solve_reverse_with_mat_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, x::Ptr{Float32}, + f::Float32, g::Ptr{Float32}, + ne::Int64, + H_val::Ptr{Float32}, + u::Ptr{Float32}, + v::Ptr{Float32})::Cvoid end function trb_solve_reverse_with_mat(::Type{Float64}, ::Type{Int32}, data, status, @@ -457,14 +468,14 @@ end function trb_solve_reverse_with_mat(::Type{Float64}, ::Type{Int64}, data, status, eval_status, n, x, f, g, ne, H_val, u, v) - @ccall libgalahad_double_64.trb_solve_reverse_with_mat(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, n::Int64, - x::Ptr{Float64}, f::Float64, - g::Ptr{Float64}, ne::Int64, - H_val::Ptr{Float64}, - u::Ptr{Float64}, - v::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.trb_solve_reverse_with_mat_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, x::Ptr{Float64}, + f::Float64, g::Ptr{Float64}, + ne::Int64, H_val::Ptr{Float64}, + u::Ptr{Float64}, + v::Ptr{Float64})::Cvoid end function trb_solve_reverse_with_mat(::Type{Float128}, ::Type{Int32}, data, status, @@ -481,15 +492,16 @@ end function trb_solve_reverse_with_mat(::Type{Float128}, ::Type{Int64}, data, status, eval_status, n, x, f, g, ne, H_val, u, v) - @ccall libgalahad_quadruple_64.trb_solve_reverse_with_mat_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, - n::Int64, x::Ptr{Float128}, - f::Cfloat128, - g::Ptr{Float128}, ne::Int64, - H_val::Ptr{Float128}, - u::Ptr{Float128}, - v::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.trb_solve_reverse_with_mat_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, x::Ptr{Float128}, + f::Cfloat128, + g::Ptr{Float128}, + ne::Int64, + H_val::Ptr{Float128}, + u::Ptr{Float128}, + v::Ptr{Float128})::Cvoid end export trb_solve_reverse_without_mat @@ -512,17 +524,18 @@ end function trb_solve_reverse_without_mat(::Type{Float32}, ::Type{Int64}, data, status, eval_status, n, x, f, g, u, v, index_nz_v, nnz_v, index_nz_u, nnz_u) - @ccall libgalahad_single_64.trb_solve_reverse_without_mat_s(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, - n::Int64, x::Ptr{Float32}, - f::Float32, g::Ptr{Float32}, - u::Ptr{Float32}, - v::Ptr{Float32}, - index_nz_v::Ptr{Int64}, - nnz_v::Ptr{Int64}, - index_nz_u::Ptr{Int64}, - nnz_u::Int64)::Cvoid + @ccall libgalahad_single_64.trb_solve_reverse_without_mat_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, x::Ptr{Float32}, + f::Float32, + g::Ptr{Float32}, + u::Ptr{Float32}, + v::Ptr{Float32}, + index_nz_v::Ptr{Int64}, + nnz_v::Ptr{Int64}, + index_nz_u::Ptr{Int64}, + nnz_u::Int64)::Cvoid end function trb_solve_reverse_without_mat(::Type{Float64}, ::Type{Int32}, data, status, @@ -543,17 +556,17 @@ end function trb_solve_reverse_without_mat(::Type{Float64}, ::Type{Int64}, data, status, eval_status, n, x, f, g, u, v, index_nz_v, nnz_v, index_nz_u, nnz_u) - @ccall libgalahad_double_64.trb_solve_reverse_without_mat(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, - n::Int64, x::Ptr{Float64}, - f::Float64, g::Ptr{Float64}, - u::Ptr{Float64}, - v::Ptr{Float64}, - index_nz_v::Ptr{Int64}, - nnz_v::Ptr{Int64}, - index_nz_u::Ptr{Int64}, - nnz_u::Int64)::Cvoid + @ccall libgalahad_double_64.trb_solve_reverse_without_mat_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, x::Ptr{Float64}, + f::Float64, g::Ptr{Float64}, + u::Ptr{Float64}, + v::Ptr{Float64}, + index_nz_v::Ptr{Int64}, + nnz_v::Ptr{Int64}, + index_nz_u::Ptr{Int64}, + nnz_u::Int64)::Cvoid end function trb_solve_reverse_without_mat(::Type{Float128}, ::Type{Int32}, data, status, @@ -576,18 +589,19 @@ end function trb_solve_reverse_without_mat(::Type{Float128}, ::Type{Int64}, data, status, eval_status, n, x, f, g, u, v, index_nz_v, nnz_v, index_nz_u, nnz_u) - @ccall libgalahad_quadruple_64.trb_solve_reverse_without_mat_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, - n::Int64, x::Ptr{Float128}, - f::Cfloat128, - g::Ptr{Float128}, - u::Ptr{Float128}, - v::Ptr{Float128}, - index_nz_v::Ptr{Int64}, - nnz_v::Ptr{Int64}, - index_nz_u::Ptr{Int64}, - nnz_u::Int64)::Cvoid + @ccall libgalahad_quadruple_64.trb_solve_reverse_without_mat_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, + x::Ptr{Float128}, + f::Cfloat128, + g::Ptr{Float128}, + u::Ptr{Float128}, + v::Ptr{Float128}, + index_nz_v::Ptr{Int64}, + nnz_v::Ptr{Int64}, + index_nz_u::Ptr{Int64}, + nnz_u::Int64)::Cvoid end export trb_information @@ -599,9 +613,10 @@ function trb_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function trb_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.trb_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{trb_inform_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.trb_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{trb_inform_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function trb_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -611,9 +626,9 @@ function trb_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function trb_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.trb_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{trb_inform_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.trb_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{trb_inform_type{Float64,Int64}}, + status::Ptr{Int64})::Cvoid end function trb_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -623,10 +638,10 @@ function trb_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function trb_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.trb_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{trb_inform_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.trb_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{trb_inform_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export trb_terminate @@ -638,9 +653,10 @@ function trb_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function trb_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.trb_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{trb_control_type{Float32,Int64}}, - inform::Ptr{trb_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.trb_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{trb_control_type{Float32, + Int64}}, + inform::Ptr{trb_inform_type{Float32,Int64}})::Cvoid end function trb_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -650,9 +666,9 @@ function trb_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function trb_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.trb_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{trb_control_type{Float64,Int64}}, - inform::Ptr{trb_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.trb_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{trb_control_type{Float64,Int64}}, + inform::Ptr{trb_inform_type{Float64,Int64}})::Cvoid end function trb_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -662,9 +678,9 @@ function trb_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function trb_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.trb_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{trb_control_type{Float128, - Int64}}, - inform::Ptr{trb_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.trb_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{trb_control_type{Float128, + Int64}}, + inform::Ptr{trb_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/trs.jl b/GALAHAD.jl/src/wrappers/trs.jl index 9ef23ef166..bfdae18c05 100644 --- a/GALAHAD.jl/src/wrappers/trs.jl +++ b/GALAHAD.jl/src/wrappers/trs.jl @@ -87,9 +87,10 @@ function trs_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function trs_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.trs_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{trs_control_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.trs_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{trs_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function trs_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -99,9 +100,10 @@ function trs_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function trs_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.trs_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{trs_control_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.trs_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{trs_control_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function trs_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -112,10 +114,10 @@ function trs_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) end function trs_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.trs_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{trs_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.trs_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{trs_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export trs_read_specfile @@ -126,9 +128,9 @@ function trs_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfile) end function trs_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.trs_read_specfile_s(control::Ptr{trs_control_type{Float32, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.trs_read_specfile_s_64(control::Ptr{trs_control_type{Float32, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function trs_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -137,9 +139,9 @@ function trs_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) end function trs_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.trs_read_specfile(control::Ptr{trs_control_type{Float64, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.trs_read_specfile_64(control::Ptr{trs_control_type{Float64, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function trs_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -149,9 +151,9 @@ function trs_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) end function trs_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.trs_read_specfile_q(control::Ptr{trs_control_type{Float128, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.trs_read_specfile_q_64(control::Ptr{trs_control_type{Float128, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end export trs_import @@ -166,11 +168,11 @@ end function trs_import(::Type{Float32}, ::Type{Int64}, control, data, status, n, H_type, H_ne, H_row, H_col, H_ptr) - @ccall libgalahad_single_64.trs_import_s(control::Ptr{trs_control_type{Float32,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, H_type::Ptr{Cchar}, H_ne::Int64, - H_row::Ptr{Int64}, H_col::Ptr{Int64}, - H_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.trs_import_s_64(control::Ptr{trs_control_type{Float32,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, H_type::Ptr{Cchar}, H_ne::Int64, + H_row::Ptr{Int64}, H_col::Ptr{Int64}, + H_ptr::Ptr{Int64})::Cvoid end function trs_import(::Type{Float64}, ::Type{Int32}, control, data, status, n, H_type, H_ne, @@ -183,11 +185,11 @@ end function trs_import(::Type{Float64}, ::Type{Int64}, control, data, status, n, H_type, H_ne, H_row, H_col, H_ptr) - @ccall libgalahad_double_64.trs_import(control::Ptr{trs_control_type{Float64,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, H_type::Ptr{Cchar}, H_ne::Int64, - H_row::Ptr{Int64}, H_col::Ptr{Int64}, - H_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.trs_import_64(control::Ptr{trs_control_type{Float64,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, H_type::Ptr{Cchar}, H_ne::Int64, + H_row::Ptr{Int64}, H_col::Ptr{Int64}, + H_ptr::Ptr{Int64})::Cvoid end function trs_import(::Type{Float128}, ::Type{Int32}, control, data, status, n, H_type, H_ne, @@ -201,11 +203,12 @@ end function trs_import(::Type{Float128}, ::Type{Int64}, control, data, status, n, H_type, H_ne, H_row, H_col, H_ptr) - @ccall libgalahad_quadruple_64.trs_import_q(control::Ptr{trs_control_type{Float128,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, H_type::Ptr{Cchar}, H_ne::Int64, - H_row::Ptr{Int64}, H_col::Ptr{Int64}, - H_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.trs_import_q_64(control::Ptr{trs_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, H_type::Ptr{Cchar}, H_ne::Int64, + H_row::Ptr{Int64}, H_col::Ptr{Int64}, + H_ptr::Ptr{Int64})::Cvoid end export trs_import_m @@ -220,10 +223,10 @@ end function trs_import_m(::Type{Float32}, ::Type{Int64}, data, status, n, M_type, M_ne, M_row, M_col, M_ptr) - @ccall libgalahad_single_64.trs_import_m_s(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, M_type::Ptr{Cchar}, M_ne::Int64, - M_row::Ptr{Int64}, M_col::Ptr{Int64}, - M_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.trs_import_m_s_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, M_type::Ptr{Cchar}, M_ne::Int64, + M_row::Ptr{Int64}, M_col::Ptr{Int64}, + M_ptr::Ptr{Int64})::Cvoid end function trs_import_m(::Type{Float64}, ::Type{Int32}, data, status, n, M_type, M_ne, M_row, @@ -235,10 +238,10 @@ end function trs_import_m(::Type{Float64}, ::Type{Int64}, data, status, n, M_type, M_ne, M_row, M_col, M_ptr) - @ccall libgalahad_double_64.trs_import_m(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, M_type::Ptr{Cchar}, M_ne::Int64, - M_row::Ptr{Int64}, M_col::Ptr{Int64}, - M_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.trs_import_m_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, M_type::Ptr{Cchar}, M_ne::Int64, + M_row::Ptr{Int64}, M_col::Ptr{Int64}, + M_ptr::Ptr{Int64})::Cvoid end function trs_import_m(::Type{Float128}, ::Type{Int32}, data, status, n, M_type, M_ne, M_row, @@ -251,10 +254,11 @@ end function trs_import_m(::Type{Float128}, ::Type{Int64}, data, status, n, M_type, M_ne, M_row, M_col, M_ptr) - @ccall libgalahad_quadruple_64.trs_import_m_q(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, M_type::Ptr{Cchar}, M_ne::Int64, - M_row::Ptr{Int64}, M_col::Ptr{Int64}, - M_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.trs_import_m_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + M_type::Ptr{Cchar}, M_ne::Int64, + M_row::Ptr{Int64}, M_col::Ptr{Int64}, + M_ptr::Ptr{Int64})::Cvoid end export trs_import_a @@ -269,10 +273,10 @@ end function trs_import_a(::Type{Float32}, ::Type{Int64}, data, status, m, A_type, A_ne, A_row, A_col, A_ptr) - @ccall libgalahad_single_64.trs_import_a_s(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - m::Int64, A_type::Ptr{Cchar}, A_ne::Int64, - A_row::Ptr{Int64}, A_col::Ptr{Int64}, - A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.trs_import_a_s_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + m::Int64, A_type::Ptr{Cchar}, A_ne::Int64, + A_row::Ptr{Int64}, A_col::Ptr{Int64}, + A_ptr::Ptr{Int64})::Cvoid end function trs_import_a(::Type{Float64}, ::Type{Int32}, data, status, m, A_type, A_ne, A_row, @@ -284,10 +288,10 @@ end function trs_import_a(::Type{Float64}, ::Type{Int64}, data, status, m, A_type, A_ne, A_row, A_col, A_ptr) - @ccall libgalahad_double_64.trs_import_a(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - m::Int64, A_type::Ptr{Cchar}, A_ne::Int64, - A_row::Ptr{Int64}, A_col::Ptr{Int64}, - A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.trs_import_a_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + m::Int64, A_type::Ptr{Cchar}, A_ne::Int64, + A_row::Ptr{Int64}, A_col::Ptr{Int64}, + A_ptr::Ptr{Int64})::Cvoid end function trs_import_a(::Type{Float128}, ::Type{Int32}, data, status, m, A_type, A_ne, A_row, @@ -300,10 +304,11 @@ end function trs_import_a(::Type{Float128}, ::Type{Int64}, data, status, m, A_type, A_ne, A_row, A_col, A_ptr) - @ccall libgalahad_quadruple_64.trs_import_a_q(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - m::Int64, A_type::Ptr{Cchar}, A_ne::Int64, - A_row::Ptr{Int64}, A_col::Ptr{Int64}, - A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.trs_import_a_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, m::Int64, + A_type::Ptr{Cchar}, A_ne::Int64, + A_row::Ptr{Int64}, A_col::Ptr{Int64}, + A_ptr::Ptr{Int64})::Cvoid end export trs_reset_control @@ -315,10 +320,10 @@ function trs_reset_control(::Type{Float32}, ::Type{Int32}, control, data, status end function trs_reset_control(::Type{Float32}, ::Type{Int64}, control, data, status) - @ccall libgalahad_single_64.trs_reset_control_s(control::Ptr{trs_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.trs_reset_control_s_64(control::Ptr{trs_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function trs_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status) @@ -328,10 +333,10 @@ function trs_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status end function trs_reset_control(::Type{Float64}, ::Type{Int64}, control, data, status) - @ccall libgalahad_double_64.trs_reset_control(control::Ptr{trs_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.trs_reset_control_64(control::Ptr{trs_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function trs_reset_control(::Type{Float128}, ::Type{Int32}, control, data, status) @@ -342,10 +347,10 @@ function trs_reset_control(::Type{Float128}, ::Type{Int32}, control, data, statu end function trs_reset_control(::Type{Float128}, ::Type{Int64}, control, data, status) - @ccall libgalahad_quadruple_64.trs_reset_control_q(control::Ptr{trs_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.trs_reset_control_q_64(control::Ptr{trs_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end export trs_solve_problem @@ -363,14 +368,15 @@ end function trs_solve_problem(::Type{Float32}, ::Type{Int64}, data, status, n, radius, f, c, H_ne, H_val, x, M_ne, M_val, m, A_ne, A_val, y) - @ccall libgalahad_single_64.trs_solve_problem_s(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, radius::Float32, f::Float32, - c::Ptr{Float32}, H_ne::Int64, - H_val::Ptr{Float32}, x::Ptr{Float32}, - M_ne::Int64, M_val::Ptr{Float32}, - m::Int64, A_ne::Int64, - A_val::Ptr{Float32}, - y::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.trs_solve_problem_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + radius::Float32, f::Float32, + c::Ptr{Float32}, H_ne::Int64, + H_val::Ptr{Float32}, x::Ptr{Float32}, + M_ne::Int64, M_val::Ptr{Float32}, + m::Int64, A_ne::Int64, + A_val::Ptr{Float32}, + y::Ptr{Float32})::Cvoid end function trs_solve_problem(::Type{Float64}, ::Type{Int32}, data, status, n, radius, f, c, @@ -386,13 +392,15 @@ end function trs_solve_problem(::Type{Float64}, ::Type{Int64}, data, status, n, radius, f, c, H_ne, H_val, x, M_ne, M_val, m, A_ne, A_val, y) - @ccall libgalahad_double_64.trs_solve_problem(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, radius::Float64, f::Float64, - c::Ptr{Float64}, H_ne::Int64, - H_val::Ptr{Float64}, x::Ptr{Float64}, - M_ne::Int64, M_val::Ptr{Float64}, m::Int64, - A_ne::Int64, A_val::Ptr{Float64}, - y::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.trs_solve_problem_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + radius::Float64, f::Float64, + c::Ptr{Float64}, H_ne::Int64, + H_val::Ptr{Float64}, x::Ptr{Float64}, + M_ne::Int64, M_val::Ptr{Float64}, + m::Int64, A_ne::Int64, + A_val::Ptr{Float64}, + y::Ptr{Float64})::Cvoid end function trs_solve_problem(::Type{Float128}, ::Type{Int32}, data, status, n, radius, f, c, @@ -409,15 +417,15 @@ end function trs_solve_problem(::Type{Float128}, ::Type{Int64}, data, status, n, radius, f, c, H_ne, H_val, x, M_ne, M_val, m, A_ne, A_val, y) - @ccall libgalahad_quadruple_64.trs_solve_problem_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, n::Int64, - radius::Cfloat128, f::Cfloat128, - c::Ptr{Float128}, H_ne::Int64, - H_val::Ptr{Float128}, x::Ptr{Float128}, - M_ne::Int64, M_val::Ptr{Float128}, - m::Int64, A_ne::Int64, - A_val::Ptr{Float128}, - y::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.trs_solve_problem_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, + radius::Cfloat128, f::Cfloat128, + c::Ptr{Float128}, H_ne::Int64, + H_val::Ptr{Float128}, + x::Ptr{Float128}, M_ne::Int64, + M_val::Ptr{Float128}, m::Int64, + A_ne::Int64, A_val::Ptr{Float128}, + y::Ptr{Float128})::Cvoid end export trs_information @@ -429,9 +437,10 @@ function trs_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function trs_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.trs_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{trs_inform_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.trs_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{trs_inform_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function trs_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -441,9 +450,9 @@ function trs_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function trs_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.trs_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{trs_inform_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.trs_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{trs_inform_type{Float64,Int64}}, + status::Ptr{Int64})::Cvoid end function trs_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -453,10 +462,10 @@ function trs_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function trs_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.trs_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{trs_inform_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.trs_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{trs_inform_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export trs_terminate @@ -468,9 +477,10 @@ function trs_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function trs_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.trs_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{trs_control_type{Float32,Int64}}, - inform::Ptr{trs_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.trs_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{trs_control_type{Float32, + Int64}}, + inform::Ptr{trs_inform_type{Float32,Int64}})::Cvoid end function trs_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -480,9 +490,9 @@ function trs_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function trs_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.trs_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{trs_control_type{Float64,Int64}}, - inform::Ptr{trs_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.trs_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{trs_control_type{Float64,Int64}}, + inform::Ptr{trs_inform_type{Float64,Int64}})::Cvoid end function trs_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -492,9 +502,9 @@ function trs_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function trs_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.trs_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{trs_control_type{Float128, - Int64}}, - inform::Ptr{trs_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.trs_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{trs_control_type{Float128, + Int64}}, + inform::Ptr{trs_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/tru.jl b/GALAHAD.jl/src/wrappers/tru.jl index 9d59438d6f..30c5e27f26 100644 --- a/GALAHAD.jl/src/wrappers/tru.jl +++ b/GALAHAD.jl/src/wrappers/tru.jl @@ -107,9 +107,10 @@ function tru_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function tru_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.tru_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{tru_control_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.tru_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{tru_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function tru_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -119,9 +120,10 @@ function tru_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function tru_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.tru_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{tru_control_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.tru_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{tru_control_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function tru_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -132,10 +134,10 @@ function tru_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) end function tru_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.tru_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{tru_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.tru_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{tru_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export tru_read_specfile @@ -146,9 +148,9 @@ function tru_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfile) end function tru_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.tru_read_specfile_s(control::Ptr{tru_control_type{Float32, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.tru_read_specfile_s_64(control::Ptr{tru_control_type{Float32, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function tru_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -157,9 +159,9 @@ function tru_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) end function tru_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.tru_read_specfile(control::Ptr{tru_control_type{Float64, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.tru_read_specfile_64(control::Ptr{tru_control_type{Float64, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function tru_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -169,9 +171,9 @@ function tru_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) end function tru_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.tru_read_specfile_q(control::Ptr{tru_control_type{Float128, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.tru_read_specfile_q_64(control::Ptr{tru_control_type{Float128, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end export tru_import @@ -186,11 +188,11 @@ end function tru_import(::Type{Float32}, ::Type{Int64}, control, data, status, n, H_type, ne, H_row, H_col, H_ptr) - @ccall libgalahad_single_64.tru_import_s(control::Ptr{tru_control_type{Float32,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, H_type::Ptr{Cchar}, ne::Int64, - H_row::Ptr{Int64}, H_col::Ptr{Int64}, - H_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.tru_import_s_64(control::Ptr{tru_control_type{Float32,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, H_type::Ptr{Cchar}, ne::Int64, + H_row::Ptr{Int64}, H_col::Ptr{Int64}, + H_ptr::Ptr{Int64})::Cvoid end function tru_import(::Type{Float64}, ::Type{Int32}, control, data, status, n, H_type, ne, @@ -203,11 +205,11 @@ end function tru_import(::Type{Float64}, ::Type{Int64}, control, data, status, n, H_type, ne, H_row, H_col, H_ptr) - @ccall libgalahad_double_64.tru_import(control::Ptr{tru_control_type{Float64,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, H_type::Ptr{Cchar}, ne::Int64, - H_row::Ptr{Int64}, H_col::Ptr{Int64}, - H_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.tru_import_64(control::Ptr{tru_control_type{Float64,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, H_type::Ptr{Cchar}, ne::Int64, + H_row::Ptr{Int64}, H_col::Ptr{Int64}, + H_ptr::Ptr{Int64})::Cvoid end function tru_import(::Type{Float128}, ::Type{Int32}, control, data, status, n, H_type, ne, @@ -221,11 +223,12 @@ end function tru_import(::Type{Float128}, ::Type{Int64}, control, data, status, n, H_type, ne, H_row, H_col, H_ptr) - @ccall libgalahad_quadruple_64.tru_import_q(control::Ptr{tru_control_type{Float128,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, H_type::Ptr{Cchar}, ne::Int64, - H_row::Ptr{Int64}, H_col::Ptr{Int64}, - H_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.tru_import_q_64(control::Ptr{tru_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, H_type::Ptr{Cchar}, ne::Int64, + H_row::Ptr{Int64}, H_col::Ptr{Int64}, + H_ptr::Ptr{Int64})::Cvoid end export tru_reset_control @@ -237,10 +240,10 @@ function tru_reset_control(::Type{Float32}, ::Type{Int32}, control, data, status end function tru_reset_control(::Type{Float32}, ::Type{Int64}, control, data, status) - @ccall libgalahad_single_64.tru_reset_control_s(control::Ptr{tru_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.tru_reset_control_s_64(control::Ptr{tru_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function tru_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status) @@ -250,10 +253,10 @@ function tru_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status end function tru_reset_control(::Type{Float64}, ::Type{Int64}, control, data, status) - @ccall libgalahad_double_64.tru_reset_control(control::Ptr{tru_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.tru_reset_control_64(control::Ptr{tru_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function tru_reset_control(::Type{Float128}, ::Type{Int32}, control, data, status) @@ -264,10 +267,10 @@ function tru_reset_control(::Type{Float128}, ::Type{Int32}, control, data, statu end function tru_reset_control(::Type{Float128}, ::Type{Int64}, control, data, status) - @ccall libgalahad_quadruple_64.tru_reset_control_q(control::Ptr{tru_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.tru_reset_control_q_64(control::Ptr{tru_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end export tru_solve_with_mat @@ -284,13 +287,14 @@ end function tru_solve_with_mat(::Type{Float32}, ::Type{Int64}, data, userdata, status, n, x, g, ne, eval_f, eval_g, eval_h, eval_prec) - @ccall libgalahad_single_64.tru_solve_with_mat_s(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, status::Ptr{Int64}, - n::Int64, x::Ptr{Float32}, - g::Ptr{Float32}, ne::Int64, - eval_f::Ptr{Cvoid}, eval_g::Ptr{Cvoid}, - eval_h::Ptr{Cvoid}, - eval_prec::Ptr{Cvoid})::Cvoid + @ccall libgalahad_single_64.tru_solve_with_mat_s_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + x::Ptr{Float32}, g::Ptr{Float32}, + ne::Int64, eval_f::Ptr{Cvoid}, + eval_g::Ptr{Cvoid}, + eval_h::Ptr{Cvoid}, + eval_prec::Ptr{Cvoid})::Cvoid end function tru_solve_with_mat(::Type{Float64}, ::Type{Int32}, data, userdata, status, n, x, g, @@ -305,12 +309,13 @@ end function tru_solve_with_mat(::Type{Float64}, ::Type{Int64}, data, userdata, status, n, x, g, ne, eval_f, eval_g, eval_h, eval_prec) - @ccall libgalahad_double_64.tru_solve_with_mat(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, status::Ptr{Int64}, - n::Int64, x::Ptr{Float64}, g::Ptr{Float64}, - ne::Int64, eval_f::Ptr{Cvoid}, - eval_g::Ptr{Cvoid}, eval_h::Ptr{Cvoid}, - eval_prec::Ptr{Cvoid})::Cvoid + @ccall libgalahad_double_64.tru_solve_with_mat_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + x::Ptr{Float64}, g::Ptr{Float64}, + ne::Int64, eval_f::Ptr{Cvoid}, + eval_g::Ptr{Cvoid}, eval_h::Ptr{Cvoid}, + eval_prec::Ptr{Cvoid})::Cvoid end function tru_solve_with_mat(::Type{Float128}, ::Type{Int32}, data, userdata, status, n, x, @@ -326,14 +331,14 @@ end function tru_solve_with_mat(::Type{Float128}, ::Type{Int64}, data, userdata, status, n, x, g, ne, eval_f, eval_g, eval_h, eval_prec) - @ccall libgalahad_quadruple_64.tru_solve_with_mat_q(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, - status::Ptr{Int64}, n::Int64, - x::Ptr{Float128}, g::Ptr{Float128}, - ne::Int64, eval_f::Ptr{Cvoid}, - eval_g::Ptr{Cvoid}, - eval_h::Ptr{Cvoid}, - eval_prec::Ptr{Cvoid})::Cvoid + @ccall libgalahad_quadruple_64.tru_solve_with_mat_q_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + x::Ptr{Float128}, g::Ptr{Float128}, + ne::Int64, eval_f::Ptr{Cvoid}, + eval_g::Ptr{Cvoid}, + eval_h::Ptr{Cvoid}, + eval_prec::Ptr{Cvoid})::Cvoid end export tru_solve_without_mat @@ -351,14 +356,14 @@ end function tru_solve_without_mat(::Type{Float32}, ::Type{Int64}, data, userdata, status, n, x, g, eval_f, eval_g, eval_hprod, eval_prec) - @ccall libgalahad_single_64.tru_solve_without_mat_s(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, - status::Ptr{Int64}, n::Int64, - x::Ptr{Float32}, g::Ptr{Float32}, - eval_f::Ptr{Cvoid}, - eval_g::Ptr{Cvoid}, - eval_hprod::Ptr{Cvoid}, - eval_prec::Ptr{Cvoid})::Cvoid + @ccall libgalahad_single_64.tru_solve_without_mat_s_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + x::Ptr{Float32}, g::Ptr{Float32}, + eval_f::Ptr{Cvoid}, + eval_g::Ptr{Cvoid}, + eval_hprod::Ptr{Cvoid}, + eval_prec::Ptr{Cvoid})::Cvoid end function tru_solve_without_mat(::Type{Float64}, ::Type{Int32}, data, userdata, status, n, x, @@ -373,13 +378,14 @@ end function tru_solve_without_mat(::Type{Float64}, ::Type{Int64}, data, userdata, status, n, x, g, eval_f, eval_g, eval_hprod, eval_prec) - @ccall libgalahad_double_64.tru_solve_without_mat(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, - status::Ptr{Int64}, n::Int64, - x::Ptr{Float64}, g::Ptr{Float64}, - eval_f::Ptr{Cvoid}, eval_g::Ptr{Cvoid}, - eval_hprod::Ptr{Cvoid}, - eval_prec::Ptr{Cvoid})::Cvoid + @ccall libgalahad_double_64.tru_solve_without_mat_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + x::Ptr{Float64}, g::Ptr{Float64}, + eval_f::Ptr{Cvoid}, + eval_g::Ptr{Cvoid}, + eval_hprod::Ptr{Cvoid}, + eval_prec::Ptr{Cvoid})::Cvoid end function tru_solve_without_mat(::Type{Float128}, ::Type{Int32}, data, userdata, status, n, @@ -396,14 +402,15 @@ end function tru_solve_without_mat(::Type{Float128}, ::Type{Int64}, data, userdata, status, n, x, g, eval_f, eval_g, eval_hprod, eval_prec) - @ccall libgalahad_quadruple_64.tru_solve_without_mat_q(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, - status::Ptr{Int64}, n::Int64, - x::Ptr{Float128}, g::Ptr{Float128}, - eval_f::Ptr{Cvoid}, - eval_g::Ptr{Cvoid}, - eval_hprod::Ptr{Cvoid}, - eval_prec::Ptr{Cvoid})::Cvoid + @ccall libgalahad_quadruple_64.tru_solve_without_mat_q_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, n::Int64, + x::Ptr{Float128}, + g::Ptr{Float128}, + eval_f::Ptr{Cvoid}, + eval_g::Ptr{Cvoid}, + eval_hprod::Ptr{Cvoid}, + eval_prec::Ptr{Cvoid})::Cvoid end export tru_solve_reverse_with_mat @@ -422,14 +429,15 @@ end function tru_solve_reverse_with_mat(::Type{Float32}, ::Type{Int64}, data, status, eval_status, n, x, f, g, ne, H_val, u, v) - @ccall libgalahad_single_64.tru_solve_reverse_with_mat_s(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, - n::Int64, x::Ptr{Float32}, - f::Float32, g::Ptr{Float32}, - ne::Int64, H_val::Ptr{Float32}, - u::Ptr{Float32}, - v::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.tru_solve_reverse_with_mat_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, x::Ptr{Float32}, + f::Float32, g::Ptr{Float32}, + ne::Int64, + H_val::Ptr{Float32}, + u::Ptr{Float32}, + v::Ptr{Float32})::Cvoid end function tru_solve_reverse_with_mat(::Type{Float64}, ::Type{Int32}, data, status, @@ -445,14 +453,14 @@ end function tru_solve_reverse_with_mat(::Type{Float64}, ::Type{Int64}, data, status, eval_status, n, x, f, g, ne, H_val, u, v) - @ccall libgalahad_double_64.tru_solve_reverse_with_mat(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, n::Int64, - x::Ptr{Float64}, f::Float64, - g::Ptr{Float64}, ne::Int64, - H_val::Ptr{Float64}, - u::Ptr{Float64}, - v::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.tru_solve_reverse_with_mat_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, x::Ptr{Float64}, + f::Float64, g::Ptr{Float64}, + ne::Int64, H_val::Ptr{Float64}, + u::Ptr{Float64}, + v::Ptr{Float64})::Cvoid end function tru_solve_reverse_with_mat(::Type{Float128}, ::Type{Int32}, data, status, @@ -469,15 +477,16 @@ end function tru_solve_reverse_with_mat(::Type{Float128}, ::Type{Int64}, data, status, eval_status, n, x, f, g, ne, H_val, u, v) - @ccall libgalahad_quadruple_64.tru_solve_reverse_with_mat_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, - n::Int64, x::Ptr{Float128}, - f::Cfloat128, - g::Ptr{Float128}, ne::Int64, - H_val::Ptr{Float128}, - u::Ptr{Float128}, - v::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.tru_solve_reverse_with_mat_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, x::Ptr{Float128}, + f::Cfloat128, + g::Ptr{Float128}, + ne::Int64, + H_val::Ptr{Float128}, + u::Ptr{Float128}, + v::Ptr{Float128})::Cvoid end export tru_solve_reverse_without_mat @@ -495,13 +504,14 @@ end function tru_solve_reverse_without_mat(::Type{Float32}, ::Type{Int64}, data, status, eval_status, n, x, f, g, u, v) - @ccall libgalahad_single_64.tru_solve_reverse_without_mat_s(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, - n::Int64, x::Ptr{Float32}, - f::Float32, g::Ptr{Float32}, - u::Ptr{Float32}, - v::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.tru_solve_reverse_without_mat_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, x::Ptr{Float32}, + f::Float32, + g::Ptr{Float32}, + u::Ptr{Float32}, + v::Ptr{Float32})::Cvoid end function tru_solve_reverse_without_mat(::Type{Float64}, ::Type{Int32}, data, status, @@ -516,13 +526,13 @@ end function tru_solve_reverse_without_mat(::Type{Float64}, ::Type{Int64}, data, status, eval_status, n, x, f, g, u, v) - @ccall libgalahad_double_64.tru_solve_reverse_without_mat(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, - n::Int64, x::Ptr{Float64}, - f::Float64, g::Ptr{Float64}, - u::Ptr{Float64}, - v::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.tru_solve_reverse_without_mat_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, x::Ptr{Float64}, + f::Float64, g::Ptr{Float64}, + u::Ptr{Float64}, + v::Ptr{Float64})::Cvoid end function tru_solve_reverse_without_mat(::Type{Float128}, ::Type{Int32}, data, status, @@ -539,14 +549,15 @@ end function tru_solve_reverse_without_mat(::Type{Float128}, ::Type{Int64}, data, status, eval_status, n, x, f, g, u, v) - @ccall libgalahad_quadruple_64.tru_solve_reverse_without_mat_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, - n::Int64, x::Ptr{Float128}, - f::Cfloat128, - g::Ptr{Float128}, - u::Ptr{Float128}, - v::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.tru_solve_reverse_without_mat_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + n::Int64, + x::Ptr{Float128}, + f::Cfloat128, + g::Ptr{Float128}, + u::Ptr{Float128}, + v::Ptr{Float128})::Cvoid end export tru_information @@ -558,9 +569,10 @@ function tru_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function tru_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.tru_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{tru_inform_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.tru_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{tru_inform_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function tru_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -570,9 +582,9 @@ function tru_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function tru_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.tru_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{tru_inform_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.tru_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{tru_inform_type{Float64,Int64}}, + status::Ptr{Int64})::Cvoid end function tru_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -582,10 +594,10 @@ function tru_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function tru_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.tru_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{tru_inform_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.tru_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{tru_inform_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export tru_terminate @@ -597,9 +609,10 @@ function tru_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function tru_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.tru_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{tru_control_type{Float32,Int64}}, - inform::Ptr{tru_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.tru_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{tru_control_type{Float32, + Int64}}, + inform::Ptr{tru_inform_type{Float32,Int64}})::Cvoid end function tru_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -609,9 +622,9 @@ function tru_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function tru_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.tru_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{tru_control_type{Float64,Int64}}, - inform::Ptr{tru_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.tru_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{tru_control_type{Float64,Int64}}, + inform::Ptr{tru_inform_type{Float64,Int64}})::Cvoid end function tru_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -621,9 +634,9 @@ function tru_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function tru_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.tru_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{tru_control_type{Float128, - Int64}}, - inform::Ptr{tru_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.tru_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{tru_control_type{Float128, + Int64}}, + inform::Ptr{tru_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/ugo.jl b/GALAHAD.jl/src/wrappers/ugo.jl index 810f49ed7a..39906d1c38 100644 --- a/GALAHAD.jl/src/wrappers/ugo.jl +++ b/GALAHAD.jl/src/wrappers/ugo.jl @@ -61,9 +61,10 @@ function ugo_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function ugo_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.ugo_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{ugo_control_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.ugo_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{ugo_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function ugo_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -73,9 +74,10 @@ function ugo_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function ugo_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.ugo_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{ugo_control_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.ugo_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{ugo_control_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function ugo_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -86,10 +88,10 @@ function ugo_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) end function ugo_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.ugo_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{ugo_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.ugo_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{ugo_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export ugo_read_specfile @@ -100,9 +102,9 @@ function ugo_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfile) end function ugo_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.ugo_read_specfile_s(control::Ptr{ugo_control_type{Float32, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.ugo_read_specfile_s_64(control::Ptr{ugo_control_type{Float32, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function ugo_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -111,9 +113,9 @@ function ugo_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) end function ugo_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.ugo_read_specfile(control::Ptr{ugo_control_type{Float64, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.ugo_read_specfile_64(control::Ptr{ugo_control_type{Float64, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function ugo_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -123,9 +125,9 @@ function ugo_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) end function ugo_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.ugo_read_specfile_q(control::Ptr{ugo_control_type{Float128, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.ugo_read_specfile_q_64(control::Ptr{ugo_control_type{Float128, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end export ugo_import @@ -137,9 +139,9 @@ function ugo_import(::Type{Float32}, ::Type{Int32}, control, data, status, x_l, end function ugo_import(::Type{Float32}, ::Type{Int64}, control, data, status, x_l, x_u) - @ccall libgalahad_single_64.ugo_import_s(control::Ptr{ugo_control_type{Float32,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - x_l::Ptr{Float32}, x_u::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.ugo_import_s_64(control::Ptr{ugo_control_type{Float32,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + x_l::Ptr{Float32}, x_u::Ptr{Float32})::Cvoid end function ugo_import(::Type{Float64}, ::Type{Int32}, control, data, status, x_l, x_u) @@ -149,9 +151,9 @@ function ugo_import(::Type{Float64}, ::Type{Int32}, control, data, status, x_l, end function ugo_import(::Type{Float64}, ::Type{Int64}, control, data, status, x_l, x_u) - @ccall libgalahad_double_64.ugo_import(control::Ptr{ugo_control_type{Float64,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - x_l::Ptr{Float64}, x_u::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.ugo_import_64(control::Ptr{ugo_control_type{Float64,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + x_l::Ptr{Float64}, x_u::Ptr{Float64})::Cvoid end function ugo_import(::Type{Float128}, ::Type{Int32}, control, data, status, x_l, x_u) @@ -161,9 +163,11 @@ function ugo_import(::Type{Float128}, ::Type{Int32}, control, data, status, x_l, end function ugo_import(::Type{Float128}, ::Type{Int64}, control, data, status, x_l, x_u) - @ccall libgalahad_quadruple_64.ugo_import_q(control::Ptr{ugo_control_type{Float128,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - x_l::Ptr{Float128}, x_u::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.ugo_import_q_64(control::Ptr{ugo_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + x_l::Ptr{Float128}, + x_u::Ptr{Float128})::Cvoid end export ugo_reset_control @@ -175,10 +179,10 @@ function ugo_reset_control(::Type{Float32}, ::Type{Int32}, control, data, status end function ugo_reset_control(::Type{Float32}, ::Type{Int64}, control, data, status) - @ccall libgalahad_single_64.ugo_reset_control_s(control::Ptr{ugo_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.ugo_reset_control_s_64(control::Ptr{ugo_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function ugo_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status) @@ -188,10 +192,10 @@ function ugo_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status end function ugo_reset_control(::Type{Float64}, ::Type{Int64}, control, data, status) - @ccall libgalahad_double_64.ugo_reset_control(control::Ptr{ugo_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.ugo_reset_control_64(control::Ptr{ugo_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function ugo_reset_control(::Type{Float128}, ::Type{Int32}, control, data, status) @@ -202,10 +206,10 @@ function ugo_reset_control(::Type{Float128}, ::Type{Int32}, control, data, statu end function ugo_reset_control(::Type{Float128}, ::Type{Int64}, control, data, status) - @ccall libgalahad_quadruple_64.ugo_reset_control_q(control::Ptr{ugo_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.ugo_reset_control_q_64(control::Ptr{ugo_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end export ugo_solve_direct @@ -220,11 +224,12 @@ end function ugo_solve_direct(::Type{Float32}, ::Type{Int64}, data, userdata, status, x, f, g, h, eval_fgh) - @ccall libgalahad_single_64.ugo_solve_direct_s(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, status::Ptr{Int64}, - x::Ptr{Float32}, f::Ptr{Float32}, - g::Ptr{Float32}, h::Ptr{Float32}, - eval_fgh::Ptr{Cvoid})::Cvoid + @ccall libgalahad_single_64.ugo_solve_direct_s_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, x::Ptr{Float32}, + f::Ptr{Float32}, g::Ptr{Float32}, + h::Ptr{Float32}, + eval_fgh::Ptr{Cvoid})::Cvoid end function ugo_solve_direct(::Type{Float64}, ::Type{Int32}, data, userdata, status, x, f, g, @@ -237,10 +242,11 @@ end function ugo_solve_direct(::Type{Float64}, ::Type{Int64}, data, userdata, status, x, f, g, h, eval_fgh) - @ccall libgalahad_double_64.ugo_solve_direct(data::Ptr{Ptr{Cvoid}}, userdata::Ptr{Cvoid}, - status::Ptr{Int64}, x::Ptr{Float64}, - f::Ptr{Float64}, g::Ptr{Float64}, - h::Ptr{Float64}, eval_fgh::Ptr{Cvoid})::Cvoid + @ccall libgalahad_double_64.ugo_solve_direct_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, status::Ptr{Int64}, + x::Ptr{Float64}, f::Ptr{Float64}, + g::Ptr{Float64}, h::Ptr{Float64}, + eval_fgh::Ptr{Cvoid})::Cvoid end function ugo_solve_direct(::Type{Float128}, ::Type{Int32}, data, userdata, status, x, f, g, @@ -254,12 +260,12 @@ end function ugo_solve_direct(::Type{Float128}, ::Type{Int64}, data, userdata, status, x, f, g, h, eval_fgh) - @ccall libgalahad_quadruple_64.ugo_solve_direct_q(data::Ptr{Ptr{Cvoid}}, - userdata::Ptr{Cvoid}, - status::Ptr{Int64}, x::Ptr{Float128}, - f::Ptr{Float128}, g::Ptr{Float128}, - h::Ptr{Float128}, - eval_fgh::Ptr{Cvoid})::Cvoid + @ccall libgalahad_quadruple_64.ugo_solve_direct_q_64(data::Ptr{Ptr{Cvoid}}, + userdata::Ptr{Cvoid}, + status::Ptr{Int64}, x::Ptr{Float128}, + f::Ptr{Float128}, g::Ptr{Float128}, + h::Ptr{Float128}, + eval_fgh::Ptr{Cvoid})::Cvoid end export ugo_solve_reverse @@ -274,10 +280,12 @@ end function ugo_solve_reverse(::Type{Float32}, ::Type{Int64}, data, status, eval_status, x, f, g, h) - @ccall libgalahad_single_64.ugo_solve_reverse_s(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - eval_status::Ptr{Int64}, x::Ptr{Float32}, - f::Ptr{Float32}, g::Ptr{Float32}, - h::Ptr{Float32})::Cvoid + @ccall libgalahad_single_64.ugo_solve_reverse_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + x::Ptr{Float32}, f::Ptr{Float32}, + g::Ptr{Float32}, + h::Ptr{Float32})::Cvoid end function ugo_solve_reverse(::Type{Float64}, ::Type{Int32}, data, status, eval_status, x, f, @@ -290,10 +298,11 @@ end function ugo_solve_reverse(::Type{Float64}, ::Type{Int64}, data, status, eval_status, x, f, g, h) - @ccall libgalahad_double_64.ugo_solve_reverse(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - eval_status::Ptr{Int64}, x::Ptr{Float64}, - f::Ptr{Float64}, g::Ptr{Float64}, - h::Ptr{Float64})::Cvoid + @ccall libgalahad_double_64.ugo_solve_reverse_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, x::Ptr{Float64}, + f::Ptr{Float64}, g::Ptr{Float64}, + h::Ptr{Float64})::Cvoid end function ugo_solve_reverse(::Type{Float128}, ::Type{Int32}, data, status, eval_status, x, f, @@ -306,12 +315,12 @@ end function ugo_solve_reverse(::Type{Float128}, ::Type{Int64}, data, status, eval_status, x, f, g, h) - @ccall libgalahad_quadruple_64.ugo_solve_reverse_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, - eval_status::Ptr{Int64}, - x::Ptr{Float128}, f::Ptr{Float128}, - g::Ptr{Float128}, - h::Ptr{Float128})::Cvoid + @ccall libgalahad_quadruple_64.ugo_solve_reverse_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, + eval_status::Ptr{Int64}, + x::Ptr{Float128}, f::Ptr{Float128}, + g::Ptr{Float128}, + h::Ptr{Float128})::Cvoid end export ugo_information @@ -323,9 +332,10 @@ function ugo_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function ugo_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.ugo_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{ugo_inform_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.ugo_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{ugo_inform_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function ugo_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -335,9 +345,9 @@ function ugo_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function ugo_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.ugo_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{ugo_inform_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.ugo_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{ugo_inform_type{Float64,Int64}}, + status::Ptr{Int64})::Cvoid end function ugo_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -347,10 +357,10 @@ function ugo_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function ugo_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.ugo_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{ugo_inform_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.ugo_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{ugo_inform_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export ugo_terminate @@ -362,9 +372,10 @@ function ugo_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function ugo_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.ugo_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{ugo_control_type{Float32,Int64}}, - inform::Ptr{ugo_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.ugo_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{ugo_control_type{Float32, + Int64}}, + inform::Ptr{ugo_inform_type{Float32,Int64}})::Cvoid end function ugo_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -374,9 +385,9 @@ function ugo_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function ugo_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.ugo_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{ugo_control_type{Float64,Int64}}, - inform::Ptr{ugo_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.ugo_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{ugo_control_type{Float64,Int64}}, + inform::Ptr{ugo_inform_type{Float64,Int64}})::Cvoid end function ugo_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -386,9 +397,9 @@ function ugo_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function ugo_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.ugo_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{ugo_control_type{Float128, - Int64}}, - inform::Ptr{ugo_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.ugo_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{ugo_control_type{Float128, + Int64}}, + inform::Ptr{ugo_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/uls.jl b/GALAHAD.jl/src/wrappers/uls.jl index 6840a3359f..5807fa9aa3 100644 --- a/GALAHAD.jl/src/wrappers/uls.jl +++ b/GALAHAD.jl/src/wrappers/uls.jl @@ -66,9 +66,10 @@ function uls_initialize(::Type{Float32}, ::Type{Int32}, solver, data, control, s end function uls_initialize(::Type{Float32}, ::Type{Int64}, solver, data, control, status) - @ccall libgalahad_single_64.uls_initialize_s(solver::Ptr{Cchar}, data::Ptr{Ptr{Cvoid}}, - control::Ptr{uls_control_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.uls_initialize_s_64(solver::Ptr{Cchar}, data::Ptr{Ptr{Cvoid}}, + control::Ptr{uls_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function uls_initialize(::Type{Float64}, ::Type{Int32}, solver, data, control, status) @@ -78,9 +79,10 @@ function uls_initialize(::Type{Float64}, ::Type{Int32}, solver, data, control, s end function uls_initialize(::Type{Float64}, ::Type{Int64}, solver, data, control, status) - @ccall libgalahad_double_64.uls_initialize(solver::Ptr{Cchar}, data::Ptr{Ptr{Cvoid}}, - control::Ptr{uls_control_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.uls_initialize_64(solver::Ptr{Cchar}, data::Ptr{Ptr{Cvoid}}, + control::Ptr{uls_control_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function uls_initialize(::Type{Float128}, ::Type{Int32}, solver, data, control, status) @@ -91,10 +93,11 @@ function uls_initialize(::Type{Float128}, ::Type{Int32}, solver, data, control, end function uls_initialize(::Type{Float128}, ::Type{Int64}, solver, data, control, status) - @ccall libgalahad_quadruple_64.uls_initialize_q(solver::Ptr{Cchar}, data::Ptr{Ptr{Cvoid}}, - control::Ptr{uls_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.uls_initialize_q_64(solver::Ptr{Cchar}, + data::Ptr{Ptr{Cvoid}}, + control::Ptr{uls_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export uls_read_specfile @@ -105,9 +108,9 @@ function uls_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfile) end function uls_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.uls_read_specfile_s(control::Ptr{uls_control_type{Float32, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.uls_read_specfile_s_64(control::Ptr{uls_control_type{Float32, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function uls_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -116,9 +119,9 @@ function uls_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) end function uls_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.uls_read_specfile(control::Ptr{uls_control_type{Float64, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.uls_read_specfile_64(control::Ptr{uls_control_type{Float64, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function uls_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -128,9 +131,9 @@ function uls_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) end function uls_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.uls_read_specfile_q(control::Ptr{uls_control_type{Float128, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.uls_read_specfile_q_64(control::Ptr{uls_control_type{Float128, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end export uls_factorize_matrix @@ -148,14 +151,14 @@ end function uls_factorize_matrix(::Type{Float32}, ::Type{Int64}, control, data, status, m, n, type, ne, val, row, col, ptr) - @ccall libgalahad_single_64.uls_factorize_matrix_s(control::Ptr{uls_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, m::Int64, n::Int64, - type::Ptr{Cchar}, ne::Int64, - val::Ptr{Float32}, row::Ptr{Int64}, - col::Ptr{Int64}, - ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.uls_factorize_matrix_s_64(control::Ptr{uls_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, m::Int64, + n::Int64, type::Ptr{Cchar}, + ne::Int64, val::Ptr{Float32}, + row::Ptr{Int64}, col::Ptr{Int64}, + ptr::Ptr{Int64})::Cvoid end function uls_factorize_matrix(::Type{Float64}, ::Type{Int32}, control, data, status, m, n, @@ -171,13 +174,14 @@ end function uls_factorize_matrix(::Type{Float64}, ::Type{Int64}, control, data, status, m, n, type, ne, val, row, col, ptr) - @ccall libgalahad_double_64.uls_factorize_matrix(control::Ptr{uls_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, m::Int64, n::Int64, - type::Ptr{Cchar}, ne::Int64, - val::Ptr{Float64}, row::Ptr{Int64}, - col::Ptr{Int64}, ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.uls_factorize_matrix_64(control::Ptr{uls_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, m::Int64, + n::Int64, type::Ptr{Cchar}, ne::Int64, + val::Ptr{Float64}, row::Ptr{Int64}, + col::Ptr{Int64}, + ptr::Ptr{Int64})::Cvoid end function uls_factorize_matrix(::Type{Float128}, ::Type{Int32}, control, data, status, m, n, @@ -194,14 +198,14 @@ end function uls_factorize_matrix(::Type{Float128}, ::Type{Int64}, control, data, status, m, n, type, ne, val, row, col, ptr) - @ccall libgalahad_quadruple_64.uls_factorize_matrix_q(control::Ptr{uls_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, m::Int64, - n::Int64, type::Ptr{Cchar}, - ne::Int64, val::Ptr{Float128}, - row::Ptr{Int64}, col::Ptr{Int64}, - ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.uls_factorize_matrix_q_64(control::Ptr{uls_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, m::Int64, + n::Int64, type::Ptr{Cchar}, + ne::Int64, val::Ptr{Float128}, + row::Ptr{Int64}, col::Ptr{Int64}, + ptr::Ptr{Int64})::Cvoid end export uls_reset_control @@ -213,10 +217,10 @@ function uls_reset_control(::Type{Float32}, ::Type{Int32}, control, data, status end function uls_reset_control(::Type{Float32}, ::Type{Int64}, control, data, status) - @ccall libgalahad_single_64.uls_reset_control_s(control::Ptr{uls_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.uls_reset_control_s_64(control::Ptr{uls_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function uls_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status) @@ -226,10 +230,10 @@ function uls_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status end function uls_reset_control(::Type{Float64}, ::Type{Int64}, control, data, status) - @ccall libgalahad_double_64.uls_reset_control(control::Ptr{uls_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.uls_reset_control_64(control::Ptr{uls_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function uls_reset_control(::Type{Float128}, ::Type{Int32}, control, data, status) @@ -240,10 +244,10 @@ function uls_reset_control(::Type{Float128}, ::Type{Int32}, control, data, statu end function uls_reset_control(::Type{Float128}, ::Type{Int64}, control, data, status) - @ccall libgalahad_quadruple_64.uls_reset_control_q(control::Ptr{uls_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.uls_reset_control_q_64(control::Ptr{uls_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end export uls_solve_system @@ -255,9 +259,9 @@ function uls_solve_system(::Type{Float32}, ::Type{Int32}, data, status, m, n, so end function uls_solve_system(::Type{Float32}, ::Type{Int64}, data, status, m, n, sol, trans) - @ccall libgalahad_single_64.uls_solve_system_s(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - m::Int64, n::Int64, sol::Ptr{Float32}, - trans::Bool)::Cvoid + @ccall libgalahad_single_64.uls_solve_system_s_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, m::Int64, n::Int64, + sol::Ptr{Float32}, trans::Bool)::Cvoid end function uls_solve_system(::Type{Float64}, ::Type{Int32}, data, status, m, n, sol, trans) @@ -267,9 +271,9 @@ function uls_solve_system(::Type{Float64}, ::Type{Int32}, data, status, m, n, so end function uls_solve_system(::Type{Float64}, ::Type{Int64}, data, status, m, n, sol, trans) - @ccall libgalahad_double_64.uls_solve_system(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - m::Int64, n::Int64, sol::Ptr{Float64}, - trans::Bool)::Cvoid + @ccall libgalahad_double_64.uls_solve_system_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + m::Int64, n::Int64, sol::Ptr{Float64}, + trans::Bool)::Cvoid end function uls_solve_system(::Type{Float128}, ::Type{Int32}, data, status, m, n, sol, trans) @@ -279,9 +283,10 @@ function uls_solve_system(::Type{Float128}, ::Type{Int32}, data, status, m, n, s end function uls_solve_system(::Type{Float128}, ::Type{Int64}, data, status, m, n, sol, trans) - @ccall libgalahad_quadruple_64.uls_solve_system_q(data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64}, m::Int64, n::Int64, - sol::Ptr{Float128}, trans::Bool)::Cvoid + @ccall libgalahad_quadruple_64.uls_solve_system_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, m::Int64, + n::Int64, sol::Ptr{Float128}, + trans::Bool)::Cvoid end export uls_information @@ -293,9 +298,10 @@ function uls_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function uls_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.uls_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{uls_inform_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.uls_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{uls_inform_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function uls_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -305,9 +311,9 @@ function uls_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function uls_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.uls_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{uls_inform_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.uls_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{uls_inform_type{Float64,Int64}}, + status::Ptr{Int64})::Cvoid end function uls_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -317,10 +323,10 @@ function uls_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function uls_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.uls_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{uls_inform_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.uls_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{uls_inform_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export uls_terminate @@ -332,9 +338,10 @@ function uls_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function uls_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.uls_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{uls_control_type{Float32,Int64}}, - inform::Ptr{uls_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.uls_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{uls_control_type{Float32, + Int64}}, + inform::Ptr{uls_inform_type{Float32,Int64}})::Cvoid end function uls_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -344,9 +351,9 @@ function uls_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function uls_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.uls_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{uls_control_type{Float64,Int64}}, - inform::Ptr{uls_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.uls_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{uls_control_type{Float64,Int64}}, + inform::Ptr{uls_inform_type{Float64,Int64}})::Cvoid end function uls_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -356,9 +363,9 @@ function uls_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function uls_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.uls_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{uls_control_type{Float128, - Int64}}, - inform::Ptr{uls_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.uls_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{uls_control_type{Float128, + Int64}}, + inform::Ptr{uls_inform_type{Float128, + Int64}})::Cvoid end diff --git a/GALAHAD.jl/src/wrappers/version.jl b/GALAHAD.jl/src/wrappers/version.jl index f5f8a0c79c..2126ed2be9 100644 --- a/GALAHAD.jl/src/wrappers/version.jl +++ b/GALAHAD.jl/src/wrappers/version.jl @@ -1,9 +1,19 @@ export version_galahad function version_galahad() - major = Ref{Cint}(0) - minor = Ref{Cint}(0) - patch = Ref{Cint}(0) - @ccall libgalahad_double.version_galahad(major::Ref{Cint}, minor::Ref{Cint}, patch::Ref{Cint})::Cvoid + major = Ref{Int32}(0) + minor = Ref{Int32}(0) + patch = Ref{Int32}(0) + @ccall libgalahad_double.version_galahad(major::Ref{Int32}, minor::Ref{Int32}, patch::Ref{Int32})::Cvoid + return VersionNumber(major[], minor[], patch[]) +end + +export version_galahad_64 + +function version_galahad_64() + major = Ref{Int64}(0) + minor = Ref{Int64}(0) + patch = Ref{Int64}(0) + @ccall libgalahad_double_64.version_galahad_64(major::Ref{Int64}, minor::Ref{Int64}, patch::Ref{Int64})::Cvoid return VersionNumber(major[], minor[], patch[]) end diff --git a/GALAHAD.jl/src/wrappers/wcp.jl b/GALAHAD.jl/src/wrappers/wcp.jl index b91edd0eb8..f886a943ed 100644 --- a/GALAHAD.jl/src/wrappers/wcp.jl +++ b/GALAHAD.jl/src/wrappers/wcp.jl @@ -104,9 +104,10 @@ function wcp_initialize(::Type{Float32}, ::Type{Int32}, data, control, status) end function wcp_initialize(::Type{Float32}, ::Type{Int64}, data, control, status) - @ccall libgalahad_single_64.wcp_initialize_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{wcp_control_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.wcp_initialize_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{wcp_control_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function wcp_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) @@ -116,9 +117,10 @@ function wcp_initialize(::Type{Float64}, ::Type{Int32}, data, control, status) end function wcp_initialize(::Type{Float64}, ::Type{Int64}, data, control, status) - @ccall libgalahad_double_64.wcp_initialize(data::Ptr{Ptr{Cvoid}}, - control::Ptr{wcp_control_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.wcp_initialize_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{wcp_control_type{Float64, + Int64}}, + status::Ptr{Int64})::Cvoid end function wcp_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) @@ -129,10 +131,10 @@ function wcp_initialize(::Type{Float128}, ::Type{Int32}, data, control, status) end function wcp_initialize(::Type{Float128}, ::Type{Int64}, data, control, status) - @ccall libgalahad_quadruple_64.wcp_initialize_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{wcp_control_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.wcp_initialize_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{wcp_control_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export wcp_read_specfile @@ -143,9 +145,9 @@ function wcp_read_specfile(::Type{Float32}, ::Type{Int32}, control, specfile) end function wcp_read_specfile(::Type{Float32}, ::Type{Int64}, control, specfile) - @ccall libgalahad_single_64.wcp_read_specfile_s(control::Ptr{wcp_control_type{Float32, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_single_64.wcp_read_specfile_s_64(control::Ptr{wcp_control_type{Float32, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function wcp_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) @@ -154,9 +156,9 @@ function wcp_read_specfile(::Type{Float64}, ::Type{Int32}, control, specfile) end function wcp_read_specfile(::Type{Float64}, ::Type{Int64}, control, specfile) - @ccall libgalahad_double_64.wcp_read_specfile(control::Ptr{wcp_control_type{Float64, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_double_64.wcp_read_specfile_64(control::Ptr{wcp_control_type{Float64, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end function wcp_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) @@ -166,9 +168,9 @@ function wcp_read_specfile(::Type{Float128}, ::Type{Int32}, control, specfile) end function wcp_read_specfile(::Type{Float128}, ::Type{Int64}, control, specfile) - @ccall libgalahad_quadruple_64.wcp_read_specfile_q(control::Ptr{wcp_control_type{Float128, - Int64}}, - specfile::Ptr{Cchar})::Cvoid + @ccall libgalahad_quadruple_64.wcp_read_specfile_q_64(control::Ptr{wcp_control_type{Float128, + Int64}}, + specfile::Ptr{Cchar})::Cvoid end export wcp_import @@ -184,11 +186,11 @@ end function wcp_import(::Type{Float32}, ::Type{Int64}, control, data, status, n, m, A_type, A_ne, A_row, A_col, A_ptr) - @ccall libgalahad_single_64.wcp_import_s(control::Ptr{wcp_control_type{Float32,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, A_type::Ptr{Cchar}, - A_ne::Int64, A_row::Ptr{Int64}, - A_col::Ptr{Int64}, A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.wcp_import_s_64(control::Ptr{wcp_control_type{Float32,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, A_type::Ptr{Cchar}, + A_ne::Int64, A_row::Ptr{Int64}, + A_col::Ptr{Int64}, A_ptr::Ptr{Int64})::Cvoid end function wcp_import(::Type{Float64}, ::Type{Int32}, control, data, status, n, m, A_type, @@ -202,11 +204,11 @@ end function wcp_import(::Type{Float64}, ::Type{Int64}, control, data, status, n, m, A_type, A_ne, A_row, A_col, A_ptr) - @ccall libgalahad_double_64.wcp_import(control::Ptr{wcp_control_type{Float64,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, A_type::Ptr{Cchar}, - A_ne::Int64, A_row::Ptr{Int64}, A_col::Ptr{Int64}, - A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.wcp_import_64(control::Ptr{wcp_control_type{Float64,Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, A_type::Ptr{Cchar}, + A_ne::Int64, A_row::Ptr{Int64}, + A_col::Ptr{Int64}, A_ptr::Ptr{Int64})::Cvoid end function wcp_import(::Type{Float128}, ::Type{Int32}, control, data, status, n, m, A_type, @@ -220,11 +222,13 @@ end function wcp_import(::Type{Float128}, ::Type{Int64}, control, data, status, n, m, A_type, A_ne, A_row, A_col, A_ptr) - @ccall libgalahad_quadruple_64.wcp_import_q(control::Ptr{wcp_control_type{Float128,Int64}}, - data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, A_type::Ptr{Cchar}, - A_ne::Int64, A_row::Ptr{Int64}, - A_col::Ptr{Int64}, A_ptr::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.wcp_import_q_64(control::Ptr{wcp_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, A_type::Ptr{Cchar}, + A_ne::Int64, A_row::Ptr{Int64}, + A_col::Ptr{Int64}, + A_ptr::Ptr{Int64})::Cvoid end export wcp_reset_control @@ -236,10 +240,10 @@ function wcp_reset_control(::Type{Float32}, ::Type{Int32}, control, data, status end function wcp_reset_control(::Type{Float32}, ::Type{Int64}, control, data, status) - @ccall libgalahad_single_64.wcp_reset_control_s(control::Ptr{wcp_control_type{Float32, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.wcp_reset_control_s_64(control::Ptr{wcp_control_type{Float32, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function wcp_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status) @@ -249,10 +253,10 @@ function wcp_reset_control(::Type{Float64}, ::Type{Int32}, control, data, status end function wcp_reset_control(::Type{Float64}, ::Type{Int64}, control, data, status) - @ccall libgalahad_double_64.wcp_reset_control(control::Ptr{wcp_control_type{Float64, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.wcp_reset_control_64(control::Ptr{wcp_control_type{Float64, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end function wcp_reset_control(::Type{Float128}, ::Type{Int32}, control, data, status) @@ -263,10 +267,10 @@ function wcp_reset_control(::Type{Float128}, ::Type{Int32}, control, data, statu end function wcp_reset_control(::Type{Float128}, ::Type{Int64}, control, data, status) - @ccall libgalahad_quadruple_64.wcp_reset_control_q(control::Ptr{wcp_control_type{Float128, - Int64}}, - data::Ptr{Ptr{Cvoid}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.wcp_reset_control_q_64(control::Ptr{wcp_control_type{Float128, + Int64}}, + data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64})::Cvoid end export wcp_find_wcp @@ -286,15 +290,16 @@ end function wcp_find_wcp(::Type{Float32}, ::Type{Int64}, data, status, n, m, g, a_ne, A_val, c_l, c_u, x_l, x_u, x, c, y_l, y_u, z_l, z_u, x_stat, c_stat) - @ccall libgalahad_single_64.wcp_find_wcp_s(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, g::Ptr{Float32}, - a_ne::Int64, A_val::Ptr{Float32}, - c_l::Ptr{Float32}, c_u::Ptr{Float32}, - x_l::Ptr{Float32}, x_u::Ptr{Float32}, - x::Ptr{Float32}, c::Ptr{Float32}, - y_l::Ptr{Float32}, y_u::Ptr{Float32}, - z_l::Ptr{Float32}, z_u::Ptr{Float32}, - x_stat::Ptr{Int64}, c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.wcp_find_wcp_s_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, g::Ptr{Float32}, + a_ne::Int64, A_val::Ptr{Float32}, + c_l::Ptr{Float32}, c_u::Ptr{Float32}, + x_l::Ptr{Float32}, x_u::Ptr{Float32}, + x::Ptr{Float32}, c::Ptr{Float32}, + y_l::Ptr{Float32}, y_u::Ptr{Float32}, + z_l::Ptr{Float32}, z_u::Ptr{Float32}, + x_stat::Ptr{Int64}, + c_stat::Ptr{Int64})::Cvoid end function wcp_find_wcp(::Type{Float64}, ::Type{Int32}, data, status, n, m, g, a_ne, A_val, @@ -311,15 +316,15 @@ end function wcp_find_wcp(::Type{Float64}, ::Type{Int64}, data, status, n, m, g, a_ne, A_val, c_l, c_u, x_l, x_u, x, c, y_l, y_u, z_l, z_u, x_stat, c_stat) - @ccall libgalahad_double_64.wcp_find_wcp(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, g::Ptr{Float64}, a_ne::Int64, - A_val::Ptr{Float64}, c_l::Ptr{Float64}, - c_u::Ptr{Float64}, x_l::Ptr{Float64}, - x_u::Ptr{Float64}, x::Ptr{Float64}, - c::Ptr{Float64}, y_l::Ptr{Float64}, - y_u::Ptr{Float64}, z_l::Ptr{Float64}, - z_u::Ptr{Float64}, x_stat::Ptr{Int64}, - c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.wcp_find_wcp_64(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, + n::Int64, m::Int64, g::Ptr{Float64}, + a_ne::Int64, A_val::Ptr{Float64}, + c_l::Ptr{Float64}, c_u::Ptr{Float64}, + x_l::Ptr{Float64}, x_u::Ptr{Float64}, + x::Ptr{Float64}, c::Ptr{Float64}, + y_l::Ptr{Float64}, y_u::Ptr{Float64}, + z_l::Ptr{Float64}, z_u::Ptr{Float64}, + x_stat::Ptr{Int64}, c_stat::Ptr{Int64})::Cvoid end function wcp_find_wcp(::Type{Float128}, ::Type{Int32}, data, status, n, m, g, a_ne, A_val, @@ -337,16 +342,16 @@ end function wcp_find_wcp(::Type{Float128}, ::Type{Int64}, data, status, n, m, g, a_ne, A_val, c_l, c_u, x_l, x_u, x, c, y_l, y_u, z_l, z_u, x_stat, c_stat) - @ccall libgalahad_quadruple_64.wcp_find_wcp_q(data::Ptr{Ptr{Cvoid}}, status::Ptr{Int64}, - n::Int64, m::Int64, g::Ptr{Float128}, - a_ne::Int64, A_val::Ptr{Float128}, - c_l::Ptr{Float128}, c_u::Ptr{Float128}, - x_l::Ptr{Float128}, x_u::Ptr{Float128}, - x::Ptr{Float128}, c::Ptr{Float128}, - y_l::Ptr{Float128}, y_u::Ptr{Float128}, - z_l::Ptr{Float128}, z_u::Ptr{Float128}, - x_stat::Ptr{Int64}, - c_stat::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.wcp_find_wcp_q_64(data::Ptr{Ptr{Cvoid}}, + status::Ptr{Int64}, n::Int64, m::Int64, + g::Ptr{Float128}, a_ne::Int64, + A_val::Ptr{Float128}, c_l::Ptr{Float128}, + c_u::Ptr{Float128}, x_l::Ptr{Float128}, + x_u::Ptr{Float128}, x::Ptr{Float128}, + c::Ptr{Float128}, y_l::Ptr{Float128}, + y_u::Ptr{Float128}, z_l::Ptr{Float128}, + z_u::Ptr{Float128}, x_stat::Ptr{Int64}, + c_stat::Ptr{Int64})::Cvoid end export wcp_information @@ -358,9 +363,10 @@ function wcp_information(::Type{Float32}, ::Type{Int32}, data, inform, status) end function wcp_information(::Type{Float32}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_single_64.wcp_information_s(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{wcp_inform_type{Float32,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_single_64.wcp_information_s_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{wcp_inform_type{Float32, + Int64}}, + status::Ptr{Int64})::Cvoid end function wcp_information(::Type{Float64}, ::Type{Int32}, data, inform, status) @@ -370,9 +376,9 @@ function wcp_information(::Type{Float64}, ::Type{Int32}, data, inform, status) end function wcp_information(::Type{Float64}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_double_64.wcp_information(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{wcp_inform_type{Float64,Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_double_64.wcp_information_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{wcp_inform_type{Float64,Int64}}, + status::Ptr{Int64})::Cvoid end function wcp_information(::Type{Float128}, ::Type{Int32}, data, inform, status) @@ -382,10 +388,10 @@ function wcp_information(::Type{Float128}, ::Type{Int32}, data, inform, status) end function wcp_information(::Type{Float128}, ::Type{Int64}, data, inform, status) - @ccall libgalahad_quadruple_64.wcp_information_q(data::Ptr{Ptr{Cvoid}}, - inform::Ptr{wcp_inform_type{Float128, - Int64}}, - status::Ptr{Int64})::Cvoid + @ccall libgalahad_quadruple_64.wcp_information_q_64(data::Ptr{Ptr{Cvoid}}, + inform::Ptr{wcp_inform_type{Float128, + Int64}}, + status::Ptr{Int64})::Cvoid end export wcp_terminate @@ -397,9 +403,10 @@ function wcp_terminate(::Type{Float32}, ::Type{Int32}, data, control, inform) end function wcp_terminate(::Type{Float32}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_single_64.wcp_terminate_s(data::Ptr{Ptr{Cvoid}}, - control::Ptr{wcp_control_type{Float32,Int64}}, - inform::Ptr{wcp_inform_type{Float32,Int64}})::Cvoid + @ccall libgalahad_single_64.wcp_terminate_s_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{wcp_control_type{Float32, + Int64}}, + inform::Ptr{wcp_inform_type{Float32,Int64}})::Cvoid end function wcp_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) @@ -409,9 +416,9 @@ function wcp_terminate(::Type{Float64}, ::Type{Int32}, data, control, inform) end function wcp_terminate(::Type{Float64}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_double_64.wcp_terminate(data::Ptr{Ptr{Cvoid}}, - control::Ptr{wcp_control_type{Float64,Int64}}, - inform::Ptr{wcp_inform_type{Float64,Int64}})::Cvoid + @ccall libgalahad_double_64.wcp_terminate_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{wcp_control_type{Float64,Int64}}, + inform::Ptr{wcp_inform_type{Float64,Int64}})::Cvoid end function wcp_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) @@ -421,9 +428,9 @@ function wcp_terminate(::Type{Float128}, ::Type{Int32}, data, control, inform) end function wcp_terminate(::Type{Float128}, ::Type{Int64}, data, control, inform) - @ccall libgalahad_quadruple_64.wcp_terminate_q(data::Ptr{Ptr{Cvoid}}, - control::Ptr{wcp_control_type{Float128, - Int64}}, - inform::Ptr{wcp_inform_type{Float128, - Int64}})::Cvoid + @ccall libgalahad_quadruple_64.wcp_terminate_q_64(data::Ptr{Ptr{Cvoid}}, + control::Ptr{wcp_control_type{Float128, + Int64}}, + inform::Ptr{wcp_inform_type{Float128, + Int64}})::Cvoid end