Releases: bmad-sim/GTPSA.jl
Releases · bmad-sim/GTPSA.jl
v1.4.0
GTPSA v1.4.0
- NEW static descriptor resolution, now default
- "Dynamic" descriptor resolution still supported (backwards compatible)
@vars
,@params
macros now defaultmono
function updatedevaluate
,translate
,compose
, andinv!
functions forTPS
s fully functionalTPS
s are now callable for natural syntax withevaluate
andcompose
- Major docs updates
Merged pull requests:
- New tps (#141) (@mattsignorelli)
- New tps (#142) (@mattsignorelli)
- New tps (#143) (@mattsignorelli)
- docs fixes more (#144) (@mattsignorelli)
v1.3.1
GTPSA v1.3.1
- Added internal kwarg
unsafe_inbounds
for getter functions - Better constrained types for
@FastGTPSA!
broadcastsetindex!
Merged pull requests:
- make the added
setindex!
method less broad (#136) (@nsajko) - Unsafe inbounds (#138) (@mattsignorelli)
v1.3.0
GTPSA v1.3.0
- Fixed
eltype
, to get TPS type now usenumtype
show
supportsAbstractArray{<:TPS}
now- More API to low-level GTPSA functions
- Significant low-level API cleanup
translate
andevaluate
optimized- Added
log10
,erfcx
,erfi
, andwf
functions - Uses latest GTPSA C library
Merged pull requests:
- Fix typo in README (#128) (@gdalle)
- API to more low level stuff (#131) (@mattsignorelli)
- Updates to GTPSA in MAD-NG 1.0.0 (#133) (@mattsignorelli)
- add log10 (#134) (@mattsignorelli)
- Newlow (#135) (@mattsignorelli)
Closed issues:
v1.2.0
GTPSA v1.2.0
FastGTPSA
macros now compatible with vectorized/broadcasted arithmetic and mathematical function- Fixed bug in FastGTPSA
complex
function evaluation - For Julia v1.9 users of the FastGTPSA macros, see the note in the manual section for
@FastGTPSA
Merged pull requests:
- Fastdot (#127) (@mattsignorelli)
Closed issues:
- Add to C code to allow composition of single TPS function instead of vector (#125)
v1.1.1
v1.1.0
GTPSA v1.1.0
- Jacobian now accepts
AbstractArray
broadcastable
trait specified forTPS
type to act as scalar in dot operations
v1.0.1
v1.0.0
GTPSA v1.0.0
Major updates:
- New
TPS
struct with memory allocated in Julia - Julia's GC now aware of memory usage, no memory overload
- New
@FastGTPSA!
macro @FastGTPSA
and@FastGTPSA!
both now thread safe, GTPSA compiled with OpenMP@FastGTPSA(!)
now can act on blocks of code (see the documentation)- Bug fixes for
@FastGTPSA
, where expressions are now read left-to-right for proper stack-like usage of temporary buffer - Infix operators and functions for temporaries no longer exported
- Mutating, in-place functions for all mathematical operations now defined
- Significant clean-up of library internals
- Significant developer documentation updates
Merged pull requests:
- New TPS struct (#123) (@mattsignorelli)
v0.7.0
GTPSA v0.7.0
- Hessian getter function has been optimized
- Bug fixed in jacobiant (transpose of Jacobian) getter
- Hessian, jacobian, gradient, are no longer exported following convention of other AD packages
- Changing descriptors constraints loosened to number variable + number parameters are equal, instead of each individually having to be equal
- setGTPSA! and getGTPSA global variable getter/setter functions removed (no need with Julia base setglobal! and getglobal
- setTPS! function added for setting a TPS/ComplexTPS in place equal to some Number (including TPSs) with option for changing descriptors using the change flag
- thread safety warning added to @FastGTPSA documentation
- jll updated: bug fixes in inversion and more flexible composition
Merged pull requests:
- Dev 1 (#116) (@mattsignorelli)
- realign with MAD (#118) (@mattsignorelli)
- Scale tps (#119) (@mattsignorelli)
v0.6.1
GTPSA v0.6.1
Bug fixes:
- No sharing of descriptors with same no
- Memory corruption issues fixed