julia types

  • 1 clip
  • 2 views

julia types

  • tried function dot(x, y) #s = 0 #s::typeof(x) = 0 # doesn't work #s = zero(x) # looon computation #s = zero(eltype(x)) # quite faster #s = zero(typeof(x)) # doesn't work s::eltype(x) = 0 # the same as zero(eltype) ...

  1. Add notes to your clips

    As helpful reminders for you or to share your thoughts with others

×