Back to FabImage 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: | fil |
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 fil::SkipEmptyMatrix ( const fil::Matrix& inMatrix, ftl::Conditional<fil::Matrix>& outNotEmptyMatrix, bool& outIsNotEmpty )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inMatrix | const Matrix& | ||
![]() |
outNotEmptyMatrix | Conditional<Matrix>& | ||
![]() |
outIsNotEmpty | bool& |


