A3DMathFct1DCombinationData Struct Reference

Combination structure. More...

Data Fields

A3DDoublem_pdCoeffs
 
A3DMathFct1D ** m_ppFunctions
 
A3DUns32 m_uiSize
 
A3DUns16 m_usStructSize
 

Detailed Description

Combination structure.

Version
2.0

The following equation shows the result of a linear combination of 3 functions (m_uiSize is 2), where x is the result:

x = m_pdCoeffs[0] * m_ppFunctions[0] + m_pdCoeffs[1] * m_ppFunctions[1] + m_pdCoeffs[2]

Warning
Size of m_pdCoeffs is equal to size of m_ppFunctions +1.

Field Documentation

A3DUns16 A3DMathFct1DCombinationData::m_usStructSize

Reserved; must be initialized with A3D_INITIALIZE_DATA.

A3DUns32 A3DMathFct1DCombinationData::m_uiSize

The size of m_ppFunctions.

A3DMathFct1D** A3DMathFct1DCombinationData::m_ppFunctions

Array of functions.

A3DDouble* A3DMathFct1DCombinationData::m_pdCoeffs

Vector of coefficients (Size is m_uiSize + 1).