-
…For the Fortran code of the 39 new math functions added to the built-in math functions of …
1, a good starting point is the Visual Basic code. Although there are quite a few differences …
between Fortran and Visual Basic, the basic structures that we need for the Fortran code are …
already there, namely, IF THEN ELSE structures with END IF and using the function name to …
return a function output. Another similarity between both …
-
…The Ada code for the 39 new math functions of GeneXproTools was created from the C++ …
code. And the main reason for choosing C++ as the starting point for the Ada code was the …
There are, however, quite a few differences between both languages, including the word …
"then" after each if statement and "end if;" at the end of each if …
block. The assignment sign is also different in both …
-
…For programming the new 39 math functions of GeneXproTools in Pascal, I had to decide …
whether to use the Ada code or the Fortran code. I ended up using the Ada code even though …
Pascal shares with Fortran the same style for …
returning a function output. Moreover, all three programming …
languages use a declarative block or region for declaring variables and constants and in both Pascal …
-
…The R code for the 39 new math functions of GeneXproTools was easily created from the …
C# code. I basically just removed all type keywords (double, int, …
const), put parentheses around the "return" …
expression, removed all the semi-colons, replaced the assignment sign by "<-", the comment …
and Math.Min and Math.Max by min and max. The functions declarations are also different in both …
-
…The Python code for the new 39 math functions of GeneXproTools was easily generated from …
the VB.Net code. The IF THEN ELSE construct of Python with the colon after the if expression …
is easily created by replacing "Then" by the colon, "Else" by "else:" and "ElseIf" by "elif"; …
parentheses both around if expressions and "and" clauses but they are not a requirement of the …
keywords "Dim", "As Double", "As Integer", and "Const"; replace "Return" by "return"; "If" by "if"; …
-
…The PHP code for the new 39 math functions of GeneXproTools is easily created form the …
C# code. We just have to get rid of all the type …
keywords (double, int, const) in the declaration of variables and constants and prefix all …
variables and constants with "$". Then we just need to replace …
and "Math.Max" by "min" and "max" in the places where min and max values of just 2 numbers are …
-
…Creating the MATLAB code for the new 39 math functions of GeneXproTools is very easy if we start …
from the VB.Net code. First of all we need to replace "Then" by a …
comma and then convert "Else", "ElseIf" and "End If" to MATLAB …
style, that is, "else", "elseif" and "end". Second, we need to put parentheses around all "if" …
and "elseif" expressions, which is perhaps the trickiest part. Then we need to replace "Return" by …
-
…As far as the new 39 math functions go, the Octave code is very similar to the MATLAB code, so …
Grammar as our starting point. Besides replacing "end" with "endif" and adding "endfunction" to …
mark the end of functions, we just have to remove the comma that is …
"if" and "elseif" expressions and also indent the code. Here's the Octave code for the new 39 math …
functions that were added to the built-in math functions of GeneXproTools 5.0 with Mini-Release 1: …
-
…I'm very excited about our next project because it includes very useful techniques for model …
selection and analysis. I'm also excited about adding the Go Grammar to the built-in …
I outline the major features of this new project: Cross-Validation Being able to select the very best …
model from all the generated models is a crucial component of model design, with cross-validation at …
the heart of it. With this new project we will be implementing cross-validation in a …
-
…that Glenn Lewis shared with the GeneXproTools community a while back (see the forum post "New …
been tested and extended with the new 39 math functions and new linking functions and will be added …
means that you'll be able to generate automatically Go code for all the models you create in …
GeneXproTools. As an example, here's the Go code for a nonlinear regression model generated for …
the Concrete Compressive Strength dataset: …