Typescript Binary Tree Library

TSMT

The alpha version of the Typescript Math Toolkit binary tree library is now available on Github.  There is a good writeup on the code at the repo, so I’ll simply provide the link here. https://github.com/theAlgorithmist/TSBinaryTreeLibrary Enjoy…

Angular 2 Spreadsheet-Style Analytics

a2

Most of my micro-application projects derive from a combination of ‘how to’ questions and personal experimentation.  This one is no different.  The issue of how to initialize a 2D tabular display in an Angular 2 template came…

Angular 2 and Typescript Math Toolkit – Interactive Graph Marker

If you have followed blog posts on the Typescript Math Toolkit function graphing engine, then you may have seen this screen shot from the engine’s predecessor (the Javascript Math Toolkit). The red circular sprites are draggable…

Typescript Math Toolkit Random Integer In Range

I just finished the V1.0 math package for the Typescript Math Toolkit.  The final holdout was the random integer in range class and a supporting (seeded) RNG.  The problem of computing a pseudo-random integer in a…

Typescript Math Toolkit Line Decorators

Decorator is one of my favorite design patterns.  I like how decoration can be applied at compile-time (see Typescript annotations such as @Component) and at run-time.  A great example of run-time decoration is line decorators.  Suppose…

Typescript Math Toolkit Function Parser

TSMT

Back in the day, I wrote a C++ function parser for functions expressed in a calculator-style syntax (infix notation).  For example, a function of two independent variables s and t could be described as 2*s +…

Create a Reusable, Custom Angular 2 Pipe

TSMT

Angular 2 provides a wide variety of pipes – these were called filters in Angular 1.x – for custom display of data.  Of course, if you have been in this business long enough, eventually an application…

Angular 2 Typescript Math Toolkit Statistical Analysis of Tabular Data

TSMT

When you think of importing tabular data containing categorical and numerical data followed by analysis of that data, Excel is the most likely software that comes to mind.  With the Typescript Math Toolkit, many popular types of…