AiLibrary  v1.3.0
A single-header C++ Library from Ailurus Studio
Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

1.3.0 - 2019-02-10

Added

  • Macros: STRINGIFY, TO_STRING, PRINT_LINE
  • String functions: toUpperCase, toLowerCase, prependNumber
  • Math functions: e, pi, rotateMatrix, inverseMatrix, generateCirculantMatrix, multiply, multiplyElementWise, multiplyComplexElementWise, complexIntoString, conjugate, fft, ifft
  • Time functions: systemTime, printDuration, getDateAndTime, getDate, getTime
  • Interface functions: clearScreen, setLocale
  • Print functions: print, black, red, green, yellow, blue, magenta, cyan, white, bold, underline, reset, printStyle, printBlack, printRed, printGreen, printYellow, printBlue, printMagenta, printCyan, printWhite, printBold, printUnderline, printAllStyles, clearStyles
  • Save functions: save, saveLog, loadA3R, loadXYZ, saveXYZ

Changed

  • Now duration supports hours, minutes and nanoseconds
  • The third parameter for saveMatrix is transpose now
  • Replace pragma once with if defined
  • Define special variables to access listFilesWithExtension and execute

1.2.0 - 2018-08-17

Added

  • String functions: equal, applyReplace
  • Math functions: isSquare, generateRandomVector, generateRandomMatrix, translateMatrixIntoVector, translateVectorIntoSquareMatrix
  • Parameter function: assignByCheckingParameter
  • Add AI_FUTURE section

Changed

  • Change comments to create docs with
  • Replaced inline with a defined INLINE
  • Add INLINE status to all the functions (for now)
  • Now printLine throws an exception if screen width is less than 20 just like showProgressBar
  • Fix: functions counter and marker no londer increase value right after reset

1.1.0 - 2018-08-06

Added

  • min functions to correspond with max
  • Debug functions: counter, marker, printMarker
  • String functions: contains, replace
  • Parameter functions: parseParameter, assignBooleanParameter, assignCharParameter, assignParameter
  • Read functions: parseFileIntoString, accumulateFileInMatrix, accumulateFileInVector
  • Save function: saveA3R
  • File functions: countLinesInFile, listFilesWithExtension
  • Shell function: execute