| 
            
              MatrixOnesT Method (Int32, Int32)
             | 
          
        
         
              Creates a zero-valued matrix.
            
 
    Namespace: 
   Accord.Math
    Assembly:
   Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntaxpublic static T[,] Ones<T>(
	int rows,
	int columns
)
where T : struct, new()
Public Shared Function Ones(Of T As {Structure, New}) ( 
	rows As Integer,
	columns As Integer
) As T(,) Request Example
		View SourceParameters
- rows
 - Type: SystemInt32
The number of rows in the matrix. - columns
 - Type: SystemInt32
The number of columns in the matrix. 
Type Parameters
- T
 - The type of the matrix to be created.
 
Return Value
Type: 
TA matrix of the specified size.
See Also