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

Paul O'Neil redballoon36 at gmail.com
Thu Mar 15 01:35:22 UTC 2018


On 03/14/2018 02:33 AM, 9il wrote:
> On Wednesday, 14 March 2018 at 05:40:42 UTC, Manu wrote:
>> I'd like to understand why implement a distinct vector type, rather
>> than just a Nx1/1xN matrix?
> 
> This is just and API quesiton of how elements of Nx1/1xN matrix should 
> be accessed.
> E.g. should one specify one or two arguments to access an element

Armadillo (arma.sourceforge.net) has separate column and row vector 
types that allow using a single index.  They can both convert to the 
matrix type.


More information about the Digitalmars-d mailing list