UniformTabulated2DFunction.hpp
Go to the documentation of this file.
209 const Evaluation& s2 = getSamplePoint(i, j + 1)*(1.0 - alpha) + getSamplePoint(i + 1, j + 1)*alpha;
Evaluation eval(const Evaluation &x, const Evaluation &y) const Evaluate the function at a given (x,y) position. Definition: UniformTabulated2DFunction.hpp:180 Evaluation yToJ(const Evaluation &y) const Return the interval index of a given position on the y-axis. Definition: UniformTabulated2DFunction.hpp:159 bool applies(const Evaluation &x, const Evaluation &y) const Returns true iff a coordinate lies in the tabulated range. Definition: UniformTabulated2DFunction.hpp:166 Scalar yMax() const Returns the maximum of the Y coordinate of the sampling points. Definition: UniformTabulated2DFunction.hpp:103 Definition: MathToolbox.hpp:39 Definition: Air_Mesitylene.hpp:31 Evaluation< Scalar, VarSetTag, numVars > max(const Evaluation< Scalar, VarSetTag, numVars > &x1, const Evaluation< Scalar, VarSetTag, numVars > &x2) Definition: Math.hpp:114 Scalar jToY(unsigned j) const Return the position on the y-axis of the j-th interval. Definition: UniformTabulated2DFunction.hpp:131 UniformTabulated2DFunction() Definition: UniformTabulated2DFunction.hpp:51 Scalar iToX(unsigned i) const Return the position on the x-axis of the i-th interval. Definition: UniformTabulated2DFunction.hpp:121 Scalar xMax() const Returns the maximum of the X coordinate of the sampling points. Definition: UniformTabulated2DFunction.hpp:91 Scalar yMin() const Returns the minimum of the Y coordinate of the sampling points. Definition: UniformTabulated2DFunction.hpp:97 Implements a scalar function that depends on two variables and which is sampled on an uniform X-Y gri... Definition: UniformTabulated2DFunction.hpp:48 Scalar xMin() const Returns the minimum of the X coordinate of the sampling points. Definition: UniformTabulated2DFunction.hpp:85 Scalar getSamplePoint(unsigned i, unsigned j) const Get the value of the sample point which is at the intersection of the -th interval of the x-Axis and ... Definition: UniformTabulated2DFunction.hpp:218 Evaluation< Scalar, VarSetTag, numVars > min(const Evaluation< Scalar, VarSetTag, numVars > &x1, const Evaluation< Scalar, VarSetTag, numVars > &x2) Definition: Math.hpp:61 void resize(Scalar xMin, Scalar xMax, unsigned m, Scalar yMin, Scalar yMax, unsigned n) Resize the tabulation to a new range. Definition: UniformTabulated2DFunction.hpp:67 UniformTabulated2DFunction(Scalar xMin, Scalar xMax, unsigned m, Scalar yMin, Scalar yMax, unsigned n) Constructor where the tabulation parameters are already provided. Definition: UniformTabulated2DFunction.hpp:58 unsigned numY() const Returns the number of sampling points in Y direction. Definition: UniformTabulated2DFunction.hpp:115 unsigned numX() const Returns the number of sampling points in X direction. Definition: UniformTabulated2DFunction.hpp:109 Evaluation xToI(const Evaluation &x) const Return the interval index of a given position on the x-axis. Definition: UniformTabulated2DFunction.hpp:147 void setSamplePoint(unsigned i, unsigned j, Scalar value) Set the value of the sample point which is at the intersection of the -th interval of the x-Axis and ... Definition: UniformTabulated2DFunction.hpp:231 A traits class which provides basic mathematical functions for arbitrary scalar floating point values... |