Matrix Elements VB-800 Bedienungsanleitung Seite 99

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 172
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 98
A3.5 An example 91
<!--------------------------------- end ------------------------------->
</body>
</html>
.......................................................................................
A3.5 An example
The following listing gives an example of the type of functionality that can be imple-
mented to create an interactive package. The actual implementation is incomplete.
.........................................................ox/tutorial/bprobitex.ox
#include <oxstd.h>
#include <oxdraw.h>
#include <oxfloat.h>
#include <oxprob.h>
#include "bprobitex.h"
/*------------------------ BprobitEx : Bprobit ----------------------*/
BprobitEx::BprobitEx()
{
// initialize base class
Modelbase();
// set default for method, model class, and model counter
m_iMethod = M_PROBIT;
m_iModelClass = MC_BINARY;
m_iModel = 0;
// ... remaining defaults
// print startup message
println("---- ", GetPackageName(), " ", GetPackageVersion(),
" session started at ", time(), " on ", date(), " ----");
}
BprobitEx::GetPackageName()
{ // return package name
return "BprobitEx";
}
BprobitEx::GetPackageVersion()
{ // return package version
return "1.0";
}
BprobitEx::GetParNames()
{ // return array of strings with parameter names
return m_asX;
}
BprobitEx::SetSelSample(const iYear1, const iPeriod1, const iYear2,
Seitenansicht 98
1 2 ... 94 95 96 97 98 99 100 101 102 103 104 ... 171 172

Kommentare zu diesen Handbüchern

Keine Kommentare