Matrix Elements VB-800 Instrukcja Użytkownika Strona 107

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 172
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 106
A3.5 An example 99
Modelbase::SaveOptions();
}
BprobitEx::GetModelSettings()
{
// process model settings from model recall
// could be m_iModelClass specific
return
{ { m_iMethod, "method" }
};
}
BprobitEx::SetModelSettings(const aValues)
{
// allows for model settings storage in model history
if (!isarray(aValues))
return;
for (decl i = 0; i < sizeof(aValues); ++i)
{
if (aValues[i][1] == "method")
m_iMethod = aValues[i][0];
}
}
BprobitEx::BatchVarStatus(const sTypes, const vcTypes)
{
// inspect variable types to decide on appropriate model class
// only switch if W found
// model class may also need changing in BatchMethod
for (decl i = sizeof(sTypes) - 1; i >= 0; --i)
if (sTypes[i] == ’W’)
{ m_iModelClass = MC_BINARY;
}
return m_iModelClass;
}
.......................................................................................
Przeglądanie stron 106
1 2 ... 102 103 104 105 106 107 108 109 110 111 112 ... 171 172

Komentarze do niniejszej Instrukcji

Brak uwag