Skip to content

math.PolyReal.Function.gcd

Christian d'Heureuse edited this page Jun 6, 2026 · 2 revisions

dsp-collection / math/PolyReal / gcd

Function: gcd()

function gcd(
   a1, 
   a2, 
   eps?): Float64Array;

Returns the monic GCD (greatest common divisor) of two polynomials.

Parameters

a1

ArrayLike<number>

a2

ArrayLike<number>

eps?

number = 0

Returns

Float64Array

Clone this wiki locally