Back to Adaptive Vision Library websiteYou are here:
Start »
Function Reference »
Matrix »
MakeMatrix
This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.
| Header: | STD.h |
| Namespace: | avl |
Create a matrix of specified dimensions with initial elements given row-by-row.
Syntax
void avl::MakeMatrix
(
int inRowCount,
int inColumnCount,
const atl::Array<float>& inElements,
avl::Matrix& outMatrix
)
Parameters
|
Name |
Type |
Range |
Default |
Description |
 |
inRowCount |
int |
0 -  |
|
|
 |
inColumnCount |
int |
0 -  |
|
|
 |
inElements |
const Array<float>& |
|
|
|
 |
outMatrix |
Matrix& |
|
|
|
Errors
List of possible exceptions:
| Error type |
Description |
| DomainError |
The number of provided elements doesn't match matrix dimensions. |