Back to FabImage Library website
You are here: Start » Function Reference » All Functions » Matrix » 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 |
Module: | FoundationLite |
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& |