MathParserMethod

Applies to:uCalc Transform
Class:uCalc.uCalcTransform
Sets and/or returns handle of math parser object that performs calculations related to the transform
Syntax
MathParser(FMP)
Parameters
FMP
ADDR
(Default = 0)
Returns
Type: uCalc
Sets and/or returns handle of math parser object that performs calculations related to the transform
Remarks
If your transform inovlves calcuations, then they will be performed using the uCalc Fast Math Parser object set with this function, or a default math parser object if this function is not called. Each math parser can have its own sets of variables, functions, and other definitions.

If you pass the handle to an existing math parser, then that one will be used. If nothing is passed to the function, then this function will merely return the existing math parser object.

DLL import code
<DllImport(uCalcDLL, CharSet:=CharSet.Ansi, CallingConvention:=CallingConvention.Cdecl, EntryPoint:="MathParser")> _

Private Function MathParser__(ByVal TransformHandle As IntPtr, ByVal FMP As IntPtr  ) As IntPtr
End Function
            
[DllImport(uCalcDLL, CharSet=CharSet.Ansi, CallingConvention=CallingConvention.Cdecl, EntryPoint="MathParser")]

protected static extern IntPtr MathParser_(IntPtr TransformHandle, IntPtr FMP   );
            
{DLLImport}function MathParser__(TransformHandle: System.Pointer; FMP: System.Pointer): System.Pointer; cdecl; external uCalcDLL name 'MathParser';

            
typedef uCalcPtr (* __MathParser)(void *TransformHandle,  void * FMP  ); 

            
[DllImport(uCalcLib, CharSet=CharSet::Ansi, CallingConvention=CallingConvention::Cdecl, EntryPoint = "MathParser")]

static uCalcPtr MathParser_(void *  TransformHandle,  void *   FMP);
            
Prev | Next