Back to Aurora Vision Library Lite website

You are here: Start » All Functions » Matrix » SkipEmptyMatrix

SkipEmptyMatrix


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

If the input matrix dimensions are non-zero, then the matrix is copied to the output; otherwise Nil value is returned.

Applications: Secures against domain errors caused by empty matrices.

Syntax

void avl::SkipEmptyMatrix
(
	const avl::Matrix& inMatrix,
	atl::Conditional<avl::Matrix>& outNotEmptyMatrix,
	bool& outIsNotEmpty
)

Parameters

Name Type Default Description
Input value inMatrix const Matrix&
Output value outNotEmptyMatrix Conditional<Matrix>&
Output value outIsNotEmpty bool&