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

◆ DeriveOperator() [1/3]

MayaFlux::Nodes::Network::DeriveOperator::DeriveOperator ( size_t  target,
std::vector< size_t >  inputs,
Function  function 
)
Parameters
targetIndex of the slot written
inputsIndices of the slots read
functionReceives the input values of one frame

Definition at line 75 of file RelationOperators.cpp.

76 : m_target(target)
77 , m_inputs(std::move(inputs))
78 , m_values(m_inputs.size(), 0.0)
79 , m_kernel(function ? Kernel([function = std::move(function)](const std::vector<double>& values, std::span<double>) {
80 return function(values);
81 })
82 : Kernel {})
83{
84}
std::vector< std::byte > values
Definition VDBWriter.cpp:26
std::function< double(const std::vector< double > &, std::span< double >)> Kernel

References values.