Defines real scalar function of several variables.
MtxVec.cs
Parameters |
Description |
Parameters |
Function variables. |
Constants |
Array of additional constants which can be used in math formula. |
ObjConst |
Array of additional constants (pointers) which can be used in math formula. |
Defines real scalar function of several variables.
What's the PConsts parameter for?
Constants can also be stored in a vector (or even matrix). In this case you could use the following code:
or even:
Function of one variable.
Suppose we have a function of one variable:
y = a*Sin(b+2*x),
where x is a variable and a,b are two additional constants. Here is how we would define function y: TRealFunction:
Function of several variables
Suppose we have a function of several variables:
YMul = a*Sin(b+2*x1)+Sqr(x2),
where x1,x2 are two variables and a,b are two additional constants. Here is how we would define function yMul: TRealFunction;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
|
What do you think about this topic? Send feedback!
|