https://www.youtube.com/watch?v=86xWVb4XIyE
Continue ReadingC++: Apply a Callback to an Array
In this task, the goal is to take a combined set of elements and apply a function to each element. C-style Array: #include <iostream> //
Continue ReadingC++: Black Scholes Put Option Vega
// Calculate the Black Scholes European put option Vega double BS_Put_Option_Vega(double S, double K, double r, double v, double T) // Parameter
Continue ReadingC++: Multifactorial
The factorial of a number, written as n! is defined as n! = n(n − 1)(n − 2)...(2)(1) A generalization of this is the multifactorials where:
Continue ReadingC++: Simple Moving Average
Computing the simple moving average of a series of numbers. The task is to: Create a stateful function/class/instance that takes a period and
Continue ReadingHow to Program in C++ #1 – Setup and Hello World
https://www.youtube.com/watch?v=yKATaptz3Dc
Continue ReadingC++: GUI Component Interaction
Almost every application needs to communicate with the user in some way. Therefore, a substantial part of the code deals with the interaction of progr
Continue ReadingBest Quant Data Sources
Best Quant Data Sources Economic Data World OECD.StatExtracts includes data and metadata for OECD countries and selected non-member economies.
Continue ReadingWhy Is Char[] Preferred Over String for Passwords?
In Swing, the password field has a getPassword() (returns char[]) method instead of the usual getText() (returns String) method. Similarly, I have com
Continue ReadingC++: Matrix Exponentiation Operator
Most programming languages have a built-in implementation of exponentiation for integers and reals only. Demonstrate how to implement matrix expone
Continue Reading




