up previous next
IsDivisible

checks if A is divisible by B

Syntax
IsDivisible(A: RINGELEM, B: RINGELEM): BOOL

Description
This function says whether A is divisible by B ; it returns true if so, otherwise false .

Example
/**/  use QQ[x,y,z];
/**/  IsDivisible(x, x^2*(y-1));
false
/**/  IsDivisible(x^2*(y-1), x);
true

See Also