Skip to content
TFE Times

TFE Times

Business, Technology, and Culture

MAFI_728x90
Click here
Click here
University of California Irvine Leaderboard
RPI Leaderboard
MAFI_728x90
University of Maryland Masters of Economics Leaderboard
University of California Irvine Leaderboard
NYU Tandon School of Engineering Leaderboard
University of Maryland Masters of Economics  Leaderboard
Click here
Brandeis University Master of Finance Leaderboard 728x90
  • Business
  • Culture
    • Beer Guide
    • Cheese Guide
    • Cigar Guide
    • Coffee Guide
    • Wine Guide
  • Technology
  • International Rankings
    • Bangladesh
    • Canada
    • Egypt
    • India
    • Nigeria
    • Pakistan
    • Philippines
    • United Kingdom
    • United States of America
  • Masters Rankings
    • Accounting
    • Business Analytics
    • Chiropractic
    • Computer Engineering
    • Computer Science
    • Economics
    • Education
    • Finance
    • Financial Economics
    • Financial Engineering
    • Law
    • Management
    • Marketing
    • MBA
    • Nursing
    • Social Work
  • Resources
    • C++
      • Beginner’s Guide to C++
      • An Introduction to the Imperative Part of C++
      • C++ Code
        • Sorts
        • Binary Search Trees
        • Strings
        • Binary Search
        • Math
        • Quant
        • Puzzles/Games
        • Language Concepts
        • Graphics
        • OS Operations
        • Graphs
      • C++ Full Course
      • C++ Crash Course
      • C++ Interview Questions
      • C++ Q/A
      • C++ Books
      • C++ Free Books
      • C++ Videos
    • C Questions
    • C Programming Tips
    • Java Questions
    • Quant Data Sources
    • Quant Questions
  • WSET
    • WSET Level 1 Beer
    • WSET Level 2 Beer
    • WSET Level 1 Sake
    • WSET Level 2 Sake
    • WSET Level 3 Sake
    • WSET Level 1 Spirits
    • WSET Level 2 Spirits
    • WSET Level 3 Spirits
    • WSET Level 1 Wine
    • WSET Level 2 Wine
    • WSET Level 3 Wine
    • WSET Level 4 Wine

Tag: c

C++: Sample Covariance

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, covariance, sample
C++: Sample Covariance

double sample_covariance(double A[], double B[], int length) // Function calculates the sample covariance the array A and array B, whose lengths

Continue Reading

C++: Calculate Geometric Mean

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, calculate, geometric, mean
C++: Calculate Geometric Mean

void Geometric_Mean_Array(double & mean_normal, const double * a, const int n) //Function that calculates the geometric mean (geometric avera

Continue Reading

C++: Black Scholes Put Option Theta

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged black, c, option, put, scholes, theta
C++: Black Scholes Put Option Theta

// Calculate the Black Scholes European put option Theta double BS_Put_Option_Theta(double S, double K, double r, double v, double T) // Parame

Continue Reading

C++: Create a File

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged a, c, create, crete, file
C++: Create a File

In this task, the job is to create a new empty file called "output.txt" of size 0 bytes and an empty directory called "docs". This should be done twic

Continue Reading

C++: Black Scholes Put Option Vega

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged black, c, option, put, scholes, vega
C++: 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 Reading

C++: Random Number Generator

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, generator, random number
C++: Random Number Generator

Rule 30 is considered to be chaotic enough to generate good pseudo-random numbers. As a matter of fact, rule 30 is used by the Mathematica software fo

Continue Reading

C++: Apply a Callback to an Array

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged a, an, apply, array, c, callback, cllbck, n, pply, rry, to
C++: 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 Reading

C++: Higher-Order Functions

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged argument, c, function, higher order function, higherorder, pointer, s
C++: Higher-Order Functions

Pass a function as an argument to another function. Function Pointer Works with: g++ version 3.4.2 (mingw-special) C++ can pass function pointers i

Continue Reading

C++: Look-and-Say Sequence

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, john conway, look and say, lookandsay, sequence
C++: Look-and-Say Sequence

The Look and say sequence is a recursively defined sequence of numbers studied most notably by John Conway. Sequence Definition Take a decimal

Continue Reading

C++: Hamming Numbers

Posted on September 1, 2017April 1, 2018 by TFE Times
Posted in C++Tagged c, hamming, hamming numbers, number, numerical, s
C++: Hamming Numbers

Hamming numbers are numbers of the form . Hamming numbers are also known as ugly numbers and also 5-smooth numbers   (numbers whose prime div

Continue Reading

Posts navigation

Older posts
Newer posts
Brandeis Business School
Click here
University of California Irvine Leaderboard
University of California Berkeley Master of Financial Engineering MFE Sideboard
output_8BgzjE
University of Maryland Masters of Economics Sideboard
University of Maryland Masters of Economics Sideboard
NYU Tandon School of Engineering Sideboard
  • A coral-edged pickleball paddle and lime perforated ball beside a court net, with two recreational players softly blurred in the background.

    What Is Pickleball? A Beginner’s Guide to the Sport

    November 22, 2026November 20, 2026 by TFE Times
  • Whiskey production tools on a bench, including a measuring cylinder, hydrometer, grain scoop, wooden bung, copper cup and glass sampler.

    Common Whiskey Terms Explained

    November 22, 2026October 24, 2026 by TFE Times
  • Illustrated snowboarder following a narrow curved edge track through groomed corduroy snow.

    How to Carve on a Snowboard

    November 21, 2026October 26, 2026 by TFE Times
  • Three generations of semiconductor-processing equipment transition from a warm-toned vacuum system on the left to a modern automated cleanroom platform on the right, with three increasingly large patterned wafers in the foreground.

    History of Applied Materials

    November 21, 2026September 19, 2026 by TFE Times
  • Tomatoes and basil on a cutting board beside a copper pan of tomato sauce and a finished plate of pasta on a sunlit wooden table.

    What Is Gastronomy? A Beginner’s Guide

    November 21, 2026November 20, 2026 by TFE Times
  • Illustrative dining collage for Best Restaurants in Columbia, SC: 15 Standout Places to Eat

    Best Restaurants in Columbia, SC: 15 Standout Places to Eat

    November 21, 2026October 16, 2026 by TFE Times
  • A helmeted skier in an ochre jacket tipping parallel skis into a clean curved turn on groomed snow.

    How to Carve on Skis: A Beginner’s Guide

    November 21, 2026October 25, 2026 by TFE Times
  • Truck with a damaged tire pulled over beside a mountain highway

    How Can Poor Truck Maintenance Contribute to a Serious Collision?

    November 21, 2026November 21, 2026 by TFE Times
  • People photographing vehicle damage after a collision on a city street

    What Should You Do Immediately After a Car Accident?

    November 21, 2026November 21, 2026 by TFE Times
  • Illustration of a laptop connecting global payments and business services

    Best Merchant of Record Services for SaaS Companies in 2026

    November 21, 2026November 21, 2026 by TFE Times

Copyright © TFE Times, LLC. All Rights Reserved.

Terms of Service | Privacy Policy | Disclaimer

WordPress Theme : Eight Paper by 8Degree Themes