VecCreateIdentity Method

Creates an identity matrix given a size.

Definition

Namespace: Austra.Library.Helpers
Assembly: Austra.Library (in Austra.Library.dll) Version: 2.5.0+44e7797405725ef3cf24b3ff0eba94ce6c649601
C#
public static double[] CreateIdentity(
	int size
)

Parameters

size  Int32
Number of rows and columns.

Return Value

Double
An identity matrix with the requested size.

See Also