VB Syntax
Double CTOptionSolver.SOLVETwoAssetBarrier( _
Long ValueDate, _
DayCountEnum dayCounter, _
Double PremiumVal, _
String SolverKey, _
Double tolerance, _
String TypeFlag, _
Double S1, _
Double S2, _
Double X, _
Double H, _
String AdjBarrFreq, _
Long T, _
Double r, _
Double b1, _
Double b2, _
Double v1, _
Double v2, _
Double rho, _
String SolveFor)
Excel Spreadsheet Syntax
=CT.SOLVETwoAssetBarrier(
Excel Numeric Cell ValueDate,
Excel String Cell dayCounter,
Excel Numeric Cell PremiumVal,
Excel String Cell SolverKey,
Excel Numeric Cell tolerance,
Excel String Cell TypeFlag,
Excel Numeric Cell S1,
Excel Numeric Cell S2,
Excel Numeric Cell X,
Excel Numeric Cell H,
Excel String Cell AdjBarrFreq,
Excel Numeric Cell T,
Excel Numeric Cell r,
Excel Numeric Cell b1,
Excel Numeric Cell b2,
Excel Numeric Cell v1,
Excel Numeric Cell v2,
Excel Numeric Cell rho,
Excel String Cell SolveFor)
C++ Syntax
static double SOLVETwoAssetBarrier(
long ValueDate,
DayCountEnum dayCounter,
double PremiumVal,
std::string SolverKey,
double tolerance,
std::string TypeFlag,
double S1,
double S2,
double X,
double H,
std::string AdjBarrFreq,
long T,
double r,
double b1,
double b2,
double v1,
double v2,
double rho,
std::string SolveFor);
DotNET Syntax
System.Double CTOptionSolverSA.SOLVETwoAssetBarrier(
System.Int32 ValueDate,
CTIEnums.DayCountEnum dayCounter,
System.Double PremiumVal,
System.String SolverKey,
System.Double tolerance,
System.String TypeFlag,
System.Double S1,
System.Double S2,
System.Double X,
System.Double H,
System.String AdjBarrFreq,
System.Int32 T,
System.Double r,
System.Double b1,
System.Double b2,
System.Double v1,
System.Double v2,
System.Double rho,
System.String SolveFor);