Description Sets a particular coefficient in a specified Polynomial Surface.
Syntax SetPolynomialSurfCoefIJK n, i, j, k, coef
Parameters n As Long Node number of the Polynomial Surface.
i As Long The index i used in the x component of the polynomial term.
j As Long The index j used in the x and y components of the polynomial term.
k As Long The index k used in the y and z components of the polynomial term. If i=j=0 then k simply represents the term number.
coef As Double New value of the coefficient.
Remarks This function sets the coefficient of the polynomial term that corresponds to the given i, j, and k polynomial indices of a specified polynomial surface. If there is a problem, the subroutine posts an error and returns without modifying the coefficient. Note that the indexes that define the power of each term of the surface are defined according to:
i.e. if we wanted to set the coefficient for the y^3 term (i.e term 16) then:
And so we could call this function with either (i,j,k) = (3,3,0) [using the index values as calculated above], or (i,j,k) = (0,0,16) [using k as the term number when i=j=0]
See Also Examples
|