Attributes
Members list
Value members
Concrete methods
Factory method to create a new Mat from raw materials
Factory method to create a new Mat from raw materials
Type parameters
- T
-
Type of data in array
Value parameters
- arr
-
A 1D array of backing data in row-major order
- cols
-
Number of cols in Mat
- rows
-
Number of rows in Mat
Attributes
Factory method to create an zero Mat (all zeros)
Factory method to create an zero Mat (all zeros)
Type parameters
- T
-
Type of elements in Mat
Value parameters
- numCols
-
Number of cols in Mat
- numRows
-
Number of rows in Mat
Attributes
Factory method to create a Mat from an array of arrays. Each inner array will become a column of the new Mat instance.
Factory method to create a Mat from an array of arrays. Each inner array will become a column of the new Mat instance.
Type parameters
- T
-
Type of elements in inner array
Value parameters
- values
-
Array of arrays, each of which is to be a column
Attributes
Factory method to create a Mat from an array of Vec. Each inner Vec will become a column of the new Mat instance.
Factory method to create a Mat from an array of Vec. Each inner Vec will become a column of the new Mat instance.
Type parameters
- T
-
Type of elements in Vec
Value parameters
- values
-
Array of Vec, each of which is to be a column
Attributes
Factory method to create a Mat from a sequence of Vec. Each inner Vec will become a column of the new Mat instance.
Factory method to create a Mat from a sequence of Vec. Each inner Vec will become a column of the new Mat instance.
Type parameters
- T
-
Type of elements in array
Value parameters
- values
-
Sequence of Vec, each of which is to be a column
Attributes
Factory method to create an empty Mat
Factory method to create an empty Mat
Type parameters
- T
-
Type of Mat
Attributes
Factory method to create a Mat from a sequence of Vec. Each inner Vec will become a row of the new Mat instance.
Factory method to create a Mat from a sequence of Vec. Each inner Vec will become a row of the new Mat instance.
Type parameters
- T
-
Type of elements in array
Value parameters
- values
-
Sequence of Vec, each of which is to be a row