quantlib.instruments.vanillaswap.VanillaSwap.leg_NPV

VanillaSwap.leg_NPV(self, Size j)

The net present value of the j-th leg of the swap.

Parameters:
jint

The index of the leg.