MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ get_datum()

template<typename Executor , ComputeData DataType>
const Datum< DataType > & MayaFlux::Yantra::FluentExecutor< Executor, DataType >::get_datum ( ) const
inline

Get the full result Datum by const reference.

Prefer this over get() when the container or metadata must be inspected or passed to a subsequent non-chain call.

Returns
Const reference to the result Datum

Definition at line 407 of file OperationChain.hpp.

408 {
409 if (!m_successful) {
410 error<std::runtime_error>(
412 std::source_location::current(),
413 "Cannot get datum from failed chain");
414 }
415 return m_data;
416 }
@ ComputeMatrix
Compute operations (Yantra - algorithms, matrices, DSP)
@ Yantra
DSP algorithms, computational units, matrix operations, Grammar.