Logo
Reference manual - version qle_version
fillemptymatrix.hpp File Reference

functions to fill a "not-completely-populated" matrix. More...

#include <ql/math/interpolation.hpp>
#include <ql/math/interpolations/bilinearinterpolation.hpp>
#include <ql/math/interpolations/linearinterpolation.hpp>
#include <ql/math/matrix.hpp>

Functions

void fillIncompleteMatrix (Matrix &mat, bool interpRows, Real blank)
 function that fills a matrix

Detailed Description

functions to fill a "not-completely-populated" matrix.

Function Documentation

◆ fillIncompleteMatrix()

void fillIncompleteMatrix ( Matrix & mat,
bool interpRows,
Real blank )

function that fills a matrix

This function fills a matrix that is not completely populated by linear interpolation across the desired axis.