MtxVec VCL
|
Newton-Cotes base points and weights.
Parameters |
Description |
PolyOrder |
Defines the interpolating polynomial order. |
Points |
Returns base points coordinate. |
Weights |
Returns weights. |
FloatPrecision |
Specifies the precision of the weights to be returned. |
Uses the Newton-Cotes formulas to calculate base points and weights for numerical integration. Check the following linkto learn more about Newton-Cotes formulas.
Use Simpson rule to evaluate sin(x) on interval [0,PI].
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
|
What do you think about this topic? Send feedback!
|