Back to Adaptive Vision Library website

You are here: Start » Function Reference » Matrix » MakeMatrix

MakeMatrix


This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.

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

Error type Description
DomainError The number of provided elements doesn't match matrix dimensions.