mardi 28 août 2018

Julia: check if is a vector of numbers

I'd like to check if my vector / array is made of numbers.

I've tried:

if isa(x, Array{Number}) println("yes") end

But it doesn't seem to work...

Aucun commentaire:

Enregistrer un commentaire