I/O

Global Variables

One non-constant global variable can be set to customize the printed output of TPSs:

show_eps::Float64 =  eps(Float64)     # Print epsilon

show_eps defines the precision below which a monomial coefficient is NOT printed

Examples

julia> d = Descriptor(1, 20)Descriptor(NV=1, MO=20)
julia> x = vars(d)1-element Vector{TPS64{GTPSA.Dynamic}}: Descriptor(NV=1, MO=20) INDEX COEFFICIENT ORDER EXPONENTS ------------------------------------------------ 1: 1.0000000000000000E+00 1 1
julia> sin(x[1])TPS64{GTPSA.Dynamic}: Descriptor(NV=1, MO=20) COEFFICIENT ORDER EXPONENTS 1.0000000000000000E+00 1 1 -1.6666666666666666E-01 3 3 8.3333333333333332E-03 5 5 -1.9841269841269841E-04 7 7 2.7557319223985893E-06 9 9 -2.5052108385441720E-08 11 11 1.6059043836821616E-10 13 13 -7.6471637318198174E-13 15 15 2.8114572543455210E-15 17 17
julia> GTPSA.show_eps=1e-30.001
julia> sin(x[1])TPS64{GTPSA.Dynamic}: Descriptor(NV=1, MO=20) COEFFICIENT ORDER EXPONENTS 1.0000000000000000E+00 1 1 -1.6666666666666666E-01 3 3 8.3333333333333332E-03 5 5