modelArrayConstructorDiagonal

Extends from Icons.TestCase.

Information

Tests that it's possible to construct a square matrix with elements of vector v on the diagonal and all other elements zero by using specialized array constructor function diagonal.

Components

TypeNameDefaultDescription
Real[3,3]didiagonal({1, 2, 3})