Navigation: Scripting Reference Manual > Functions & Subroutines > GetPolynomialSurfCoefIJK

 

GetPolynomialSurfCoefIJK

 

Contact Us: fredsupport@photonengr.com

 

Description

Retrieves the coefficient of the polynomial term that corresponds to the given i, j, and k polynomial indices of a specified polynomial surface

 

Syntax

coef = GetPolynomialSurfCoefIJK ( n, i, j, k )

 

Parameters

coef (Double)

The IJKth coefficient

 

n As Long

Node number for 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.

 

Remarks

This function retrieves the coefficient of the polynomial term that corresponds to the given i, j, and k polynomial indices of a specified polynomial surface. Note that the indexes that define the power of each term of the surface are defined according to:

 i.e. if we wanted to get 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

GetPolynomialSurf

GetPolynomialSurfIthCoef

GetPolynomialSurfCoefCount

Examples

Surfaces

 

 

 

 

 

 

 

Copyright © Photon Engineering, LLC