c_printOptions Derived Type

type, public :: c_printOptions

Print options similar to numpy's print_options



Components

TypeVisibility AttributesNameInitial
integer(kind=i32), public :: precision =3

Force this precision on the written number

integer(kind=i32), public :: threshold =10

Omit the middle entries if the size is greater than threshold

integer(kind=i32), public :: edgeitems =3

Only write the first and last threshold elements from rows and/or columns

character(len=32), public :: nanstr ='nan'

Print NAN as this

character(len=32), public :: infstr ='inf'

Print infinity as this