Shlomi Fish


Math::GrahamFunction::SqFacts::Dipole - a dipole of two vectors - a result and a composition.


This is a module for Math::GrahamFunction's internal use only.


my $copy = $dipole->clone()

Clones the dipole returning a new dipole with the clone of the result and the composition.


Multiplies the result by the result and the composition by the composition.

$bool = $dipole->is_square()

Returns whether the result is square.

$bool = $dipole->exists($factor)

Returns whether the factor exists in the result.

$first_factor = $dipole->first()

Returns the first() factor of the result vector.

$factors = $dipole->factors()

Equivalent to $dipole-result()->factors()>.