MCPcopy Create free account
hub / github.com/Singular/Singular / evaluate

Function evaluate

factory/cfModGcd.cc:2038–2053  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2036}
2037
2038CFArray
2039evaluate (const CFArray& A, const CFList& evalPoints)
2040{
2041 CFArray result= A.size();
2042 CanonicalForm tmp;
2043 int k;
2044 for (int i= 0; i < A.size(); i++)
2045 {
2046 tmp= A[i];
2047 k= 1;
2048 for (CFListIterator j= evalPoints; j.hasItem(); j++, k++)
2049 tmp= tmp (j.getItem(), k);
2050 result[i]= tmp;
2051 }
2052 return result;
2053}
2054
2055CFList
2056evaluationPoints (const CanonicalForm& F, const CanonicalForm& G,

Callers 5

monicSparseInterpolFunction · 0.70
nonMonicSparseInterpolFunction · 0.70
LucksWangSparseHeuristicFunction · 0.70
sparseHeuristicFunction · 0.70
simpleExtensionFunction · 0.70

Calls 2

hasItemMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected