Initializer

init(_:)

Creates a new matrix with the specified scalar value on the main diagonal.

Declaration

init(_ scalar: Float)