Login
Login

Re: create a diagonal matrix

Home 21090308 Forums Re: create a diagonal matrix

#1976
osigrtoelt
Member

No, that yields ‘incompatible types’, since DenseMatrix(int, int).ONE() is of type Matrix. Please correct me if I’m wrong.

I’m currently doing something like this, but it seems cumbersome: