Back to FabImage Library website
You are here: Start » Function Reference » All Functions » 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: | fil |
Module: | FoundationLite |
Creates a matrix of specified dimensions with initial elements given row-by-row.
Syntax
void fil::MakeMatrix ( int inRowCount, int inColumnCount, const ftl::Array<float>& inElements, fil::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. |