[tng-devel] External cwise operations

[ Thread Index | Date Index | More lists.tuxfamily.org/tng-devel Archives ]


Hi all,

I have an idea regarding external coefficientwise functions.

Maybe we do not need them at all?


Instead of wasting the namespace we could use instead of

B = tmath.Sin(A)

we could use

B = tmath.CWise(A, math.sin)

The good thing is: Because CWise is defined in Lua, we could easily extend it to sparse matrices, matrix blocks, etc.

How does that sound?






Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/