Types
The package defines the following types which map directly to Arb types with the corresponding name. In most cases you should not use these types directly but use the types from the High level interface.
Arblib.mag_struct — Type
mag_structArblib.arf_struct — Type
arf_structArblib.acf_struct — Type
acf_structArblib.arb_struct — Type
arb_structArblib.acb_struct — Type
acb_structArblib.arb_vec_struct — Type
arb_vec_structArblib.acb_vec_struct — Type
acb_vec_structArblib.arb_poly_struct — Type
arb_poly_structArblib.acb_poly_struct — Type
acb_poly_structArblib.arb_mat_struct — Type
arb_mat_structArblib.acb_mat_struct — Type
acb_mat_structArblib.calc_integrate_opt_struct — Type
calc_integrate_opt_structFor each low-level type there is a union of types that can be interpreted as the low-level type. These are the types that can be given directly as arguments to the low-level methods. Below you find these union-types.
Arblib.MagLike — Type
MagLike = Union{Mag,MagRef,mag_struct,Ptr{mag_struct}}Arblib.ArfLike — Type
ArfLike = Union{Arf,ArfRef,arf_struct,Ptr{arf_struct}}}Arblib.AcfLike — Type
AcfLike = Union{Acf,AcfRef,acf_struct,Ptr{acf_struct}}}Arblib.ArbLike — Type
ArbLike = Union{Arb,ArbRef,arb_struct,Ptr{arb_struct}}}Arblib.AcbLike — Type
AcbLike = Union{Acb,AcbRef,acb_struct,Ptr{acb_struct}}}Arblib.ArbVectorLike — Type
ArbVectorLike = Union{ArbVector,ArbRefVector,arb_vec_struct}Arblib.AcbVectorLike — Type
AcbVectorLike = Union{AcbVector,AcbRefVector,acb_vec_struct}Arblib.ArbMatrixLike — Type
ArbMatrixLike = Union{ArbMatrix,ArbRefMatrix,arb_mat_struct)}Arblib.AcbMatrixLike — Type
AcbMatrixLike = Union{AcbMatrix,AcbRefMatrix,acb_mat_struct}Arblib.ArbPolyLike — Type
ArbPolyLike = Union{ArbPoly,ArbSeries,arb_poly_struct}Arblib.AcbPolyLike — Type
AcbPolyLike = Union{AcbPoly,AcbSeries,acb_poly_struct}Note that the show method is overloaded for these union types, this is to make method declarations easier to read in the REPL. As an example we can print the methods for Arblib.sin! and we see that it prints ArbLike instead of the much longer Union{Ptr{Arblib.arb_struct}, Arb, ArbRef, Arblib.arb_struct}.
julia> using Arblibjulia> methods(Arblib.sin!)# 8 methods for generic function "sin!" from Arblib: [1] sin!(s::AcbSeries, h::AcbSeries; ...) @ ~/work/Arblib.jl/Arblib.jl/src/arbcalls/acb_poly.jl:199 [2] sin!(s::AcbSeries, h::AcbSeries, n::Integer; prec) @ ~/work/Arblib.jl/Arblib.jl/src/arbcalls/acb_poly.jl:199 [3] sin!(s::ArbSeries, h::ArbSeries; ...) @ ~/work/Arblib.jl/Arblib.jl/src/arbcalls/arb_poly.jl:206 [4] sin!(s::ArbSeries, h::ArbSeries, n::Integer; prec) @ ~/work/Arblib.jl/Arblib.jl/src/arbcalls/arb_poly.jl:206 [5] sin!(s::AcbLike, z::AcbLike; prec) @ ~/work/Arblib.jl/Arblib.jl/src/arbcalls/acb.jl:179 [6] sin!(s::ArbLike, x::ArbLike, prec::Integer) @ ~/work/Arblib.jl/Arblib.jl/src/arbcalls/arb.jl:237 [7] sin!(s::ArbLike, x::ArbLike; prec) @ ~/work/Arblib.jl/Arblib.jl/src/arbcalls/arb.jl:237 [8] sin!(s::AcbLike, z::AcbLike, prec::Integer) @ ~/work/Arblib.jl/Arblib.jl/src/arbcalls/acb.jl:179