|
|
Templates for POV-Ray poly{} objects, meant for
cutnpasting into scene files. These are all prefilled
with 0's and labels to make it easier find and fill
in the appropriate polynomial coefficients.
The numbers in the labels are all exponents.
i.e. /*y2z3*/ represents y^2 z^3
For example
x^2 + xz- 5x + y^2 - 1 = 0
becomes:
poly{2,
<
1 /*x2*/, 0 /*xy*/, 1 /*xz*/, -5 /*x*/, 1 /*y2*/,
0 /*yz*/, 0 /*y*/, 0 /*z2*/, 0 /*z*/, -1 /*constant*/
>
sturm
}
/* -------- the templates ----------------------------------------------
*/
poly{2,
<
0 /*x2*/, 0 /*xy*/, 0 /*xz*/, 0 /*x*/, 0
/*y2*/,
0 /*yz*/, 0 /*y*/, 0 /*z2*/, 0 /*z*/, 0
/*constant*/
>
sturm
}
poly{3,
<
0 /*x3*/, 0 /*x2y*/, 0 /*x2z*/, 0 /*x2*/, 0
/*xy2*/,
0 /*xyz*/, 0 /*xy*/, 0 /*xz2*/, 0 /*xz*/, 0 /*x*/,
0 /*y3*/, 0 /*y2z*/, 0 /*y2*/, 0 /*yz2*/, 0
/*yz*/,
0 /*y*/, 0 /*z3*/, 0 /*z2*/, 0 /*z*/, 0
/*constant*/
>
sturm
}
poly{4,
<
0 /*x4*/, 0 /*x3y*/, 0 /*x3z*/, 0 /*x3*/, 0
/*x2y2*/,
0 /*x2yz*/, 0 /*x2y*/, 0 /*x2z2*/, 0 /*x2z*/, 0
/*x2*/,
0 /*xy3*/, 0 /*xy2 z*/, 0 /*xy2*/, 0 /*xyz2*/, 0
/*xyz*/,
0 /*xy*/, 0 /*xz3*/, 0 /*xz2*/, 0 /*x z*/, 0 /*x*/,
0 /*y4*/, 0 /*y3 z*/, 0 /*y3*/, 0 /*y2z2*/, 0
/*y2z*/,
0 /*y2*/, 0 /*yz3*/, 0 /*yz2*/, 0 /*y z*/, 0 /*y*/,
0 /*z4*/, 0 /*z3*/, 0 /*z2*/, 0 /*z*/, 0
/*constant*/
>
sturm
}
poly{ 5,
<
0 /*x5*/, 0 /*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