Operators would work like anything else, but it might be ugly: proc `+`(result: var T; x, y: T) = ... `+`(res, a, b) # optimized call; store into 'res' echo x + b # uses temporary when used as expression
- Re: Linear algebra library mratsim
- Re: Linear algebra library andrea
- Re: Linear algebra library Krux02
- Re: Linear algebra library andrea
- Re: Linear algebra library mratsim
- Re: Linear algebra library perturbation2
- Re: Linear algebra library andrea
- Re: Linear algebra library Araq
- Re: Linear algebra library Araq
- Re: Linear algebra library andrea
- Re: Linear algebra library Araq