VB Syntax
Double CTOptionSolver.SOLVEBinaryBarrier( _
Long ValueDate, _
DayCountEnum dayCounter, _
Double PremiumVal, _
String SolverKey, _
Double tolerance, _
Long TypeFlag, _
Double S, _
Double X, _
Double H, _
String AdjBarrFreq, _
Double K, _
Long T, _
Double r, _
Double b, _
Double v, _
String SolveFor)
Excel Spreadsheet Syntax
=CT.SOLVEBinaryBarrier(
Excel Numeric Cell ValueDate,
Excel String Cell dayCounter,
Excel Numeric Cell PremiumVal,
Excel String Cell SolverKey,
Excel Numeric Cell tolerance,
Excel Numeric Cell TypeFlag,
Excel Numeric Cell S,
Excel Numeric Cell X,
Excel Numeric Cell H,
Excel String Cell AdjBarrFreq,
Excel Numeric Cell K,
Excel Numeric Cell T,
Excel Numeric Cell r,
Excel Numeric Cell b,
Excel Numeric Cell v,
Excel String Cell SolveFor)
C++ Syntax
static double SOLVEBinaryBarrier(
long ValueDate,
DayCountEnum dayCounter,
double PremiumVal,
std::string SolverKey,
double tolerance,
long TypeFlag,
double S,
double X,
double H,
std::string AdjBarrFreq,
double K,
long T,
double r,
double b,
double v,
std::string SolveFor);
DotNET Syntax
System.Double CTOptionSolverSA.SOLVEBinaryBarrier(
System.Int32 ValueDate,
CTIEnums.DayCountEnum dayCounter,
System.Double PremiumVal,
System.String SolverKey,
System.Double tolerance,
System.Int32 TypeFlag,
System.Double S,
System.Double X,
System.Double H,
System.String AdjBarrFreq,
System.Double K,
System.Int32 T,
System.Double r,
System.Double b,
System.Double v,
System.String SolveFor);