Mathf

Math utility functions.

The first step is to load the QuantLib package.

In[1]:=

Needs["QuantLib`"]

Within the Math part there are several constructors and member functions available

In[2]:=

Select[Category[Math],QLConstructor[#]&]

Out[2]=

Math.HTML_1.gif

In[3]:=

Select[Category[Math],QLMember[#]&]

Out[3]=

Math.HTML_2.gif

In[4]:=

Select[Category[Math],QLProcedure[#]&]

Out[4]=

Math.HTML_3.gif

Constructors

SymmetricSchurDecomposition

Math.HTML_4.gif

Math.HTML_5.gif

obj=SymmetricSchurDecomposition[SymmetricMatrix]

CovarianceDecomposition

Math.HTML_6.gif

Math.HTML_7.gif

Math.HTML_8.gif

obj=CovarianceDecomposition[SymmetricMatrix,SalvagingAlgorithm]

Member function

SymmetricSchurDecompositionEigenvalues

SymmetricSchurDecompositionEigenvalues[obj]

SymmetricSchurDecompositionEigenvectors

SymmetricSchurDecompositionEigenvectors[obj]

CovarianceDecompositionVariances

CovarianceDecompositionVariances[obj]

CovarianceDecompositionStandardDeviations

CovarianceDecompositionStandardDeviations[obj]

CovarianceDecompositionCorrelationMatrix

CovarianceDecompositionCorrelationMatrix[obj]

Procedures

PrimeNumber

Math.HTML_9.gif

In[5]:=

Math.HTML_10.gif

In[6]:=

PrimeNumber[n]

Out[6]=

Math.HTML_11.gif

NormDist

Math.HTML_12.gif

Math.HTML_13.gif

In[7]:=

Math.HTML_14.gif

In[8]:=

NormDist[X]

Out[8]=

Math.HTML_15.gif

In[9]:=

Math.HTML_16.gif

Out[9]=

Math.HTML_17.gif

NormSDist

Math.HTML_18.gif

In[10]:=

Math.HTML_19.gif

In[11]:=

NormSDist[Z]

Out[11]=

Math.HTML_20.gif

NormInv

Math.HTML_21.gif

Math.HTML_22.gif

In[12]:=

Math.HTML_23.gif

In[13]:=

NormInv[Probability]

Out[13]=

Math.HTML_24.gif

NormSInv

Math.HTML_25.gif

In[14]:=

Math.HTML_26.gif

In[15]:=

NormSInv[Probability]

Out[15]=

Math.HTML_27.gif

CholeskyDecomposition

Math.HTML_28.gif

Math.HTML_29.gif

In[16]:=

Math.HTML_30.gif

In[17]:=

CholeskyDecomposition[Matrix]

Out[17]=

Math.HTML_31.gif

PseudoSqrt

Math.HTML_32.gif

In[18]:=

Math.HTML_33.gif

In[20]:=

PseudoSqrt[Matrix,SalvagingAlgorithm]

Out[20]=

Math.HTML_34.gif

RankReducedSqrt

Math.HTML_35.gif

In[21]:=

Math.HTML_36.gif

In[25]:=

RankReducedSqrt[Matrix,MaxRank,ComponentPercentage,SalvagingAlgorithm]

Out[25]=

Math.HTML_37.gif

GetCovariance

Math.HTML_38.gif

Math.HTML_39.gif

Math.HTML_40.gif

GetCovariance[Vols,Matrix]

Spikey Created with Wolfram Mathematica 7.0