Releases: motchy869/MathLib
Releases · motchy869/MathLib
v0.12.0
v0.11.0
v0.10.0
v0.9.0
v0.8.0
v0.7.0
v0.6.0
improved performance and new functions
- Added
MATH_LIB_INLINE_AGGRESSIVELY
option. - Speeded up following functions:
Analysis::
conj
,sqAbs
LinAlg::
scaleMat
,scaleMatEachRow
,innerProd
,hermitianInnerProduct
,vecSelfOuterProd
,mulMat
,ldlDecomp
,solveLinearEquation
,solveLinEqHermitian
,hermitianInnerProduct
SigProc::
convolve
,convolve_type2
- Improved include-guard: replaced old-style guard using
#ifndef
with#pragma once
. - Added following functions:
Analysis::
addConjProd
LinAlg::
fillLowTri
,addSqMat
,scaleMat
- Refactored polynomial approximation of arc tangent:
- Added
atan_polyApprox_deg7
function. - Renamed
atan_polyApprox
toatan_polyApprox_deg9
. - Add template function
atan_polyApprox
which is reduced toatan_polyApprox_deg7
oratan_polyApprox_deg9
according to its template parameter. - Add template function
atan2_polyApprox
whose polynomial degree is determined at compile-time
- Added
- Made the following small functions target of aggressive inline-expansion:
LinAlg::
isEqualMat
,complexMat
,conjugateMat
,addMat
,scaleMat
- Forcibly inline-expand the following small functions:
LinAlg::
isEqualVec
,complexVec
,conjugateVec
,addVec
,scaleVec
,l2Norm
- Added compiler options for secure programming
-Wextra
,-Wold-style-cast
,-Wredundant-decls
,-Wshadow
,-Wswitch-default
,-Wswitch-enum
(debug/release build)-fstack-protector
,-ftrapv
(debug build)
bug fix and refactor
- Fixed missing header inclusion in
sigProc.hpp
- Improved include-guard: replaced old-style guard using
#ifndef
with#pragma once
.
added new features
- Renamed project:
MotchyMathLib
->MathLib
. - Optimized
atan2_polyApprox
function to speed up on Texas Instruments DSP TMS320C6748.- There is no effect on modern PC processors because the compilers for them are clever enough to perform above easy hand-optimization.
- Added
vecSelfOuterProd
function. - Added bug hunting mode.
- Added
dropSubMat
function. - Added
setDiag
function. - Added
addDiag
function. - Speeded up
ldlDecomp
function, and consequentlysolveLinEqHermitian
function is speeded up. - Add in-place version of
conjugateMat
. - Add
innerProd
function - Rename
addMat_inplace
,addVec_inplace
toaddMat
,addVec