NAME

Quant::Framework::VolSurface::Validator

DESCRIPTION

Provides subroutines that can perform various validation checks on Quant::Framework::VolSurface objects.

SYNOPSIS

use Quant::Framework::VolSurface::Validator;

my $validator = Quant::Framework::VolSurface::Validator->new;

try {
    $validator->validate_surface($surface);
}
catch {
        # handle as necessary...
};

METHODS

validate_surface

This method validates a given surface.

For certain errors, exceptions will be thrown. For others, smile_flags will be set on the surface.

check_smiles

Performs error checking on multiple smilesof a given surface.

check_smile

Performs error checking on an individual smile of a given surface.