numir ~master (2020-09-02T08:17:34Z)
Dub
Repo
toDtype
numir
io
convert D type (not string) into numpy type string
template
toDtype (
D
) {
enum
endianMark
;
static if
(
is(D == float)
)
enum
toDtype
;
static if
(!(
is(D == float)
))
static if
(
is(D == double)
)
enum
toDtype
;
static if
(!(
is(D == float)
))
static if
(!(
is(D == double)
))
static if
(
is(D == int)
)
enum
toDtype
;
static if
(!(
is(D == float)
))
static if
(!(
is(D == double)
))
static if
(!(
is(D == int)
))
static if
(
is(D == long)
)
enum
toDtype
;
}
Members
Manifest constants
endianMark
enum
endianMark
;
Undocumented in source.
toDtype
enum
toDtype
;
Undocumented in source.
toDtype
enum
toDtype
;
Undocumented in source.
toDtype
enum
toDtype
;
Undocumented in source.
toDtype
enum
toDtype
;
Undocumented in source.
Meta
Source
See Implementation
numir
io
functions
enforceNPY
loadNpy
npyHeader
parseHeader
readBytes
saveNpy
manifest constants
np2d
structs
NpyHeaderInfo
templates
toDtype
variables
npyfmt
convert D type (not string) into numpy type string