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

◆ extractCommutativePart()

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

Definition at line 298 of file weylalg.cpp.

300{
301 // exp: 0..nvars-1
302 // result_exp: 0.._nderivatives-1 is the result
303 for (int i = 0; i < _nderivatives; i++)
304 result_exp[i] = exp[_commutative[i]];
305}
int _nderivatives
Definition weylalg.hpp:62
int * _commutative
Definition weylalg.hpp:67

References _commutative, and _nderivatives.

Referenced by gbvector_weyl_diff(), and weyl_diff().