gcd.cc.txt

来自「压缩文件中是Error Correction Coding - Mathemat」· 文本 代码 · 共 23 行

TXT
23
字号
// gcd.cc --- Implement a gcd algorithm for a general// polynomial type.  Also, implement a gcd for polynomials with real// coefficients, truncating coefficients as necessary to avoid// roundoff problems.//// Copyright 2004 by Todd K. Moon// Permission is granted to use this program/data// for educational/research only#include <math.h>#include "polynomialT.h"// Function definition: gcdtemplate <class T> voidgcd(const polynomialT<T> &a, const polynomialT<T> &b, polynomialT<T> &g,	polynomialT<T> &s, polynomialT<T> &t, int rdeg){   // fill in the blanks ...}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?