Math Functions

# Math Module

## Directory List

### Analysis

 Jacobian This function computes the Jacobian matrix for a right hand-side. PDAL Generates Associated Legendre Functions of the first kind and derivatives SCHarm Generate a series of sine and cosine harmonics of the arguments

### Geometry

 Perpendicular Finds perpendicular vectors to a such that Dot(b,a) = 0.

### Integration

 RK4 Fourth order Runge-Kutta. Called function is of the form: RK4TI Fourth order Runge-Kutta integration. RHS is time-independent (TI).

### Linear

 ColCompR Computes the right column compression of a matrix. Compresses the Cross Vector cross product for multicolum arrays. DelLZ Deletes leading zeros from a vector. Dot Dot product with support for arrays. DupVect Duplicate vector n times Factorl Computes the factorial matrix for a matrix. IsZero Set = 0 if the matrix is all zeros. Mag Magnitude of a set of vectors RowCompU Computes the upper row compression of a matrix. Skew Converts a vector into a skew symmetric matrix. SkewSq Computes the product of two skew symmetric matrices derive from vectors. SkewSymm Converts a vector into a skew symmetric matrix Unit Unitize vectors by column.

### MathUtils

 R2P5 Rounds towards zero to the nearest 1/2.