For example,
I’ve defined a array or anything,
a = [1,2,3,4,5]
as we have methods opposite order.
If I want to know what are the methods could be used in this array. looking help on a
doesn’t gives any methods to see.
search: a any all abs ans Any axes atan asin asec any! all! acsc acot acos abs2
No documentation found in any defined datatypes or functions.
a is of type Array{Int64,1}.
Summary
≡≡≡≡≡≡≡≡≡
mutable struct Array{Int64,1} <: DenseArray{Int64,1}
Supertype Hierarchy
≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡
Array{Int64,1} <: DenseArray{Int64,1} <: AbstractArray{Int64,1} <: Any
It would be great if I would know some code completion on methods
of some datatypes.
Also,
I want to know how julia pushes/appends arrays of array
like this [1, 2, 3, 4, 5, [1,2,3]]
I cant use push!(a, [1,2,3])
giving error MethodError
. although
this worked
a = [1,2,3,4,5]
append!(a, [1,2,3])
but appends like this [1,2,3,4,5,1,2,3]