Back to Aurora Vision Library website

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

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
Module: FoundationLite

Creates 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
Input value inRowCount int 0 -
Input value inColumnCount int 0 -
Input value inElements const Array<float>&
Output value outMatrix Matrix&

Errors

List of possible exceptions:

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