Do we need Mat, Vec, TMmat, Diag, Sym and other matrix types?

Ilya Yaroshenko ilyayaroshenko at gmail.com
Tue Mar 13 13:02:45 UTC 2018


On Tuesday, 13 March 2018 at 12:23:23 UTC, jmh530 wrote:
> On Tuesday, 13 March 2018 at 10:35:15 UTC, 9il wrote:
>> On Tuesday, 13 March 2018 at 04:35:53 UTC, jmh530 wrote:
>>> [snip]
>>>
>>> What's TMMat?
>>
>> TMat is a transposed matrix. Not sure for now if it would be 
>> required.
>>
>
> There are some people who like being able to specify a whether 
> a matrix has column or row layout. Would an option to control 
> this be the same thing?

Good point. Would matrix(j, i) syntax solve this issue? One of 
reasons to introduce Mat is API simplicity. ndslice has 3 compile 
time params. I hope we would have only type for Mat, like 
Mat!double.


More information about the Digitalmars-d mailing list