Numerical Methods Using Kotlin: For Data Science, Analysis, and Engineering

  • 10h 47m
  • Haksun Li, PhD
  • Apress
  • 2023

This in-depth guide covers a wide range of topics, including chapters on linear algebra, root finding, curve fitting, differentiation and integration, solving differential equations, random numbers and simulation, a whole suite of unconstrained and constrained optimization algorithms, statistics, regression and time series analysis. The mathematical concepts behind the algorithms are clearly explained, with plenty of code examples and illustrations to help even beginners get started.

In this book, you'll implement numerical algorithms in Kotlin using NM Dev, an object-oriented and high-performance programming library for applied and industrial mathematics. Discover how Kotlin has many advantages over Java in its speed, and in some cases, ease of use. In this book, you’ll see how it can help you easily create solutions for your complex engineering and data science problems.

After reading this book, you'll come away with the knowledge to create your own numerical models and algorithms using the Kotlin programming language.

What You Will Learn

  • Program in Kotlin using a high-performance numerical library
  • Learn the mathematics necessary for a wide range of numerical computing algorithms
  • Convert ideas and equations into code
  • Put together algorithms and classes to build your own engineering solutions
  • Build solvers for industrial optimization problems
  • Perform data analysis using basic and advanced statistics

Who This Book Is For

Programmers, data scientists, and analysts with prior experience programming in any language, especially Kotlin or Java.

About the Author

Haksun Li, PhD, is founder of NM Group, a scientific and mathematical research company. He has the vision of “Making the World Better Using Mathematics”. Under his leadership, the firm serves worldwide brokerage houses and funds, multinational corporations and very high net worth individuals. Haksun is an expert in options trading, asset allocation, portfolio optimization and fixed-income product pricing. He has coded up a variety of numerical software, including SuanShu (a library of numerical methods), NM Dev (a library of numerical methods), AlgoQuant (a library for financial analytics), NMRMS (a portfolio management system for equities), and supercurve (a fixed-income options pricing system). Prior to this, Haksun was a quantitative trader/quantitative analyst with multiple investment banks. He has worked in New York, London, Tokyo, and Singapore. Additionally, Haksun is the vice dean of the Big Data Finance and Investment Institute of Fudan University, China. He was an adjunct professor with multiple universities. He has taught at the National University of Singapore (mathematics), Nanyang Technological University (business school), Fudan University (economics), as well as Hong Kong University of Science and Technology (mathematics). Dr. Haksun Li has a B.S. and M.S. in pure and financial mathematics from the University of Chicago, and an M.S. and a PhD in computer science and engineering from the University of Michigan, Ann Arbor.

In this Book

  • Introduction to Numerical Methods in Kotlin/S2
  • Linear Algebra
  • Finding Roots of Equations
  • Finding Roots of System of Equations
  • Curve Fitting and Interpolation
  • Numerical Differentiation and Integration
  • Ordinary Differential Equations
  • Partial Differential Equations
  • Unconstrained Optimization
  • Constrained Optimization
  • Heuristics
  • Basic Statistics
  • Random Numbers and Simulation
  • Linear Regression
  • Time-Series Analysis
SHOW MORE
FREE ACCESS