You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most things define verbose printing for MIME"text/plain" and truncated printing otherwise so when they inside of a struct or something else, the outer type will still be readable. Take matrices, for example. When printing directly to the REPL, they take up the whole window, but when put in a tuple or some other struct, they print in a much more condensed form:
When that same matrix is in an interpolator, though, it prints in it's expanded form regardless of whether the interpolator is the outermost type or not:
julia>using Interpolations
julia> itp =linear_interpolation((0:0.1:100, 0:0.1:100), A)
1001×1001extrapolate(scale(interpolate(::Matrix{Float64}, BSpline(Linear())), (0.0:0.1:100.0, 0.0:0.1:100.0)), Throw()) with element type Float64:0.1685260.5496990.0326513…0.6896580.8684950.7044790.4123810.7977480.9371370.7479120.2457140.8408440.2745220.9602240.09255760.2213260.3953870.7721990.2966310.6596810.1849550.7721980.7839020.3992110.7907190.3814560.4334160.8175960.2538420.3452350.003148710.01082880.823216…0.9461550.2456930.510760.4200720.6542610.9833040.4571440.9017550.4431470.4046720.1714710.7356510.26070.6447650.3583720.04652530.03856840.02909150.3591370.3520270.2992640.417030.7502810.2622740.9080390.9918680.7928590.2331060.3484460.359622…0.4337350.05048950.9336770.2607530.9909290.8820820.2805860.4570710.2032390.3627540.5853380.1650510.3555990.4844820.9561110.8326550.08033220.1098120.2201030.1017190.948460.9823620.003786050.03505080.5086230.6923630.00388105⋮⋱⋮0.1011990.1984070.03490420.410070.9508570.1409850.1294170.9639720.576830.1048110.6435530.9179970.9947380.1434530.3353710.9290240.346140.1279110.2053020.2314260.2737630.2140670.9114330.008049510.087240.3133760.738153…0.4645860.7667880.5545060.8559040.105220.779790.5413460.6215180.1143770.8420880.2347340.2371070.682990.3619130.1703440.01311410.4332660.6946570.7421150.4484510.4771610.830970.9165170.4310260.5032540.02896230.3501910.2681610.1274450.621656…0.3470980.5798270.7317320.9047510.9705660.6578120.266720.8649820.1995790.8961210.597220.5953780.3986170.6387680.1219070.1239540.262730.8452120.817510.05074040.5801970.5922130.4211170.1860210.8020730.245060.005363940.7441740.1537420.269324…0.6197340.3277640.050728
julia> (itp,)
(1001×1001extrapolate(scale(interpolate(::Matrix{Float64}, BSpline(Linear())), (0.0:0.1:100.0, 0.0:0.1:100.0)), Throw()) with element type Float64:0.1685260.5496990.0326513…0.6896580.8684950.7044790.4123810.7977480.9371370.7479120.2457140.8408440.2745220.9602240.09255760.2213260.3953870.7721990.2966310.6596810.1849550.7721980.7839020.3992110.7907190.3814560.4334160.8175960.2538420.3452350.003148710.01082880.823216…0.9461550.2456930.510760.4200720.6542610.9833040.4571440.9017550.4431470.4046720.1714710.7356510.26070.6447650.3583720.04652530.03856840.02909150.3591370.3520270.2992640.417030.7502810.2622740.9080390.9918680.7928590.2331060.3484460.359622…0.4337350.05048950.9336770.2607530.9909290.8820820.2805860.4570710.2032390.3627540.5853380.1650510.3555990.4844820.9561110.8326550.08033220.1098120.2201030.1017190.948460.9823620.003786050.03505080.5086230.6923630.00388105⋮⋱⋮0.1011990.1984070.03490420.410070.9508570.1409850.1294170.9639720.576830.1048110.6435530.9179970.9947380.1434530.3353710.9290240.346140.1279110.2053020.2314260.2737630.2140670.9114330.008049510.087240.3133760.738153…0.4645860.7667880.5545060.8559040.105220.779790.5413460.6215180.1143770.8420880.2347340.2371070.682990.3619130.1703440.01311410.4332660.6946570.7421150.4484510.4771610.830970.9165170.4310260.5032540.02896230.3501910.2681610.1274450.621656…0.3470980.5798270.7317320.9047510.9705660.6578120.266720.8649820.1995790.8961210.597220.5953780.3986170.6387680.1219070.1239540.262730.8452120.817510.05074040.5801970.5922130.4211170.1860210.8020730.245060.005363940.7441740.1537420.269324…0.6197340.3277640.050728,)
When you're working with structs that might have multiple interpolators inside them, the printing can fill up the console pretty quickly.
The text was updated successfully, but these errors were encountered:
Most things define verbose printing for
MIME"text/plain"
and truncated printing otherwise so when they inside of a struct or something else, the outer type will still be readable. Take matrices, for example. When printing directly to the REPL, they take up the whole window, but when put in a tuple or some other struct, they print in a much more condensed form:When that same matrix is in an interpolator, though, it prints in it's expanded form regardless of whether the interpolator is the outermost type or not:
When you're working with structs that might have multiple interpolators inside them, the printing can fill up the console pretty quickly.
The text was updated successfully, but these errors were encountered: