MakePrimitiveSamplePoint:
AC.BinaryImbedOp;
Make primitive or NIL sample point.
first arg is the Cell to which this Sample Point belongs. Second arg is the point, i.e. Vectors.Vector, of elements of some ExtensionField which correspond to some primitive sample point. Third arg is the Sample Point Structure to imbed in.
We get a NIL sample point iff second arg = NIL.
MakePrimitiveSamplePointFromData:
AC.BinaryOp;
Make primitive or NIL sample point.
first arg is the Cell to which this Sample Point belongs. Second arg is the point, i.e. Vectors.Vector, of elements of some ExtensionField which correspond to some primitive sample point.
Instantiates the Sample Point Structure defined by the variable of the minimal polynomial of the primitive element of the point elements, and the point dimension, then calls MakePrimitiveSamplePoint with the appropriate arguments. Checks if supplied Cell argument is in fact a Cell; if not, passes NIL for that arg in the call to MakePrimitiveSamplePoint.
The purpose of this routine is to be able to create a Sample Point "on the fly", i.e. without being given a structure. Intended to be registered as method "samplePoint", invokable by Evaluator.
This is an example of a Method which is really Structure-independent, i.e. it should be available in the system without requiring any particular structure to have been instantiated, it can know a priori exactly how to check its arguments for validity, and of course, it is not naturally associable with any of the Structures of its arguments.