// Copyright 1984-2019 The MathWorks, Inc.
// All Rights Reserved.

import com.mathworks.mps.client.MATLABException;
import java.io.IOException;

/**
* Bond price calculator interface.
*/
interface BondTools {
    double pricecalc (double faceValue,
                      double couponYield,
                      double interestRate,
                      double numPayments)
            throws IOException, MATLABException;
}
