Macaulay2 Engine
Loading...
Searching...
No Matches

◆ extractDerivativePart()

void WeylAlgebra::extractDerivativePart ( const_exponents exp,
int * result ) const
protected

Definition at line 290 of file weylalg.cpp.

292{
293 // exp: 0..nvars-1
294 // result_derivatives: 0.._nderivatives-1 is the result
295 for (int i = 0; i < _nderivatives; i++)
296 result_derivatives[i] = exp[_derivative[i]];
297}
int * _derivative
Definition weylalg.hpp:65
int _nderivatives
Definition weylalg.hpp:62

References _derivative, and _nderivatives.

Referenced by gbvector_mult_by_term(), and mult_by_term().