With current Nim (no changes needed) it would look like
    
    
    echo (A + NDArray(M(A) * M(A)))
    

No runtime conversion overhead, since the types are distinct but in memory they 
are the same

Reply via email to