Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,9 @@ private static void Accumulate(Dictionary<ulong, ERational> into, ulong monomial
return result;
}

/// <summary>The packed monomial of <paramref name="variable"/> to the first power.</summary>
internal static ulong MonomialOf(int variable) => Pack(variable, 1);

internal MultivariatePolynomial ScaleBy(ERational factor)
{
if (factor.IsZero)
Expand Down
Loading
Loading