有没有办法在julia中为用户创建的类型实现基本算法
例如:
type Foo bar::Float32 foo::Int32 end a = Foo(3.23,23) b = Foo(4.56,54) c = a+b
我怎么可能这样做?提前致谢
julia
julia ×1