We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9db573 commit 245cd6aCopy full SHA for 245cd6a
src/madl_gtpsa.mad
@@ -1500,6 +1500,16 @@ function MC.carg (x, r)
1500
_C.mad_ctpsa_carg(x, r) return r
1501
end
1502
1503
+function MC.rect (x, r)
1504
+ r = chksiz(r,x) or ctpsa_alloc(x.d, x.mo)
1505
+ _C.mad_ctpsa_rect(x, r) return r
1506
+end
1507
+
1508
+function MC.polar (x, r)
1509
1510
+ _C.mad_ctpsa_polar(x, r) return r
1511
1512
1513
function MC.unit (x, r)
1514
r = chksiz(r,x) or ctpsa_alloc(x.d, x.mo)
1515
_C.mad_ctpsa_unit(x, r) return r
0 commit comments