Returns the unit matrix for the specified dimension.
Name | Type | Description |
arg1 | number | Is an integer specifying the dimension of the unit matrix that you want to return. |
builder.CreateFile("xlsx"); var oWorksheet = Api.GetActiveSheet(); var oFunction = Api.GetWorksheetFunction(); oWorksheet.GetRange("A1").SetValue(oFunction.MUNIT(3)); builder.SaveFile("xlsx", "MUNIT.xlsx"); builder.CloseFile();