You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
157 B
11 lines
157 B
#include "polyderiv.h"
|
|
|
|
void
|
|
ft_polyderiv(double *coeffs, int degree)
|
|
{
|
|
int i;
|
|
|
|
for (i = 0; i < degree; i++) {
|
|
coeffs[i] = (i + 1) * coeffs[i + 1];
|
|
}
|
|
}
|