|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Nodes::Generator::Polynomial::set_coefficients | ( | const std::vector< double > & | coefficients | ) |
Sets the polynomial coefficients (for direct mode)
| coefficients | Vector of polynomial coefficients (highest power first) |
Updates the polynomial function to use the specified coefficients. This allows dynamically changing the polynomial during operation. A node built from a coefficient list evaluates this array directly, so the change applies on the next sample. A node built from a function keeps its function; the array then only reaches coefficient-aware buffer functions. Updates of unchanged size are written in place; changing the size should happen on the scheduler tick, not concurrently with processing.
Definition at line 143 of file Polynomial.cpp.
References m_coefficients.