Click or drag to resize
sqx

SQXAllOnesMatrix Method

Function [Matrix] AllOnesMatrix([int] m, [int] n)

Namespace:  sqx
Assembly:  SQX (in SQX.dll) Version: 1.0.2.6 (1.0.2.6)
Syntax
C#
public static Matrix AllOnesMatrix(
	SqlInt32 m,
	SqlInt32 n
)

Parameters

m
Type: System.Data.SqlTypesSqlInt32
[int]
n
Type: System.Data.SqlTypesSqlInt32
[int]

Return Value

Type: Matrix
[Matrix]
Examples
SQL
declare @A sqx.Matrix = sqx.AllOnesMatrix(3, 3)
print @A.ToString()
/*
1,1,1;
1,1,1;
1,1,1*/
See Also