Julia Programming Language
Squeeze/compress element type of array
General Usage
xiaodai
September 22, 2020, 12:58pm
2
you can use
type_compress
from JDF.jl e.g.
using JDF x = type_compress([1,2,3])
1 Like
show post in topic
Related topics
Topic
Replies
Views
Activity
Convert collection (Array, DataFrame, ...) to concrete eltype
New to Julia
5
2266
August 29, 2019
How to convert element type of a container?
General Usage
question
,
array
,
type
,
convert
5
1632
January 30, 2019
"Re-infer" container eltype
New to Julia
0
351
March 1, 2019
Finding the "minimal" necessary type of a vector and converting to it
General Usage
4
427
September 10, 2020
Promote_type of nested tuple elements
General Usage
3
608
March 19, 2017