rjhogan / adept Goto Github PK
View Code? Open in Web Editor NEWFast automatic differentiation library in C++
Home Page: http://www.met.reading.ac.uk/clouds/adept
License: Apache License 2.0
Fast automatic differentiation library in C++
Home Page: http://www.met.reading.ac.uk/clouds/adept
License: Apache License 2.0
Adept is fantastic—in addition to citing the TOMS paper, it would be great if you registered a DOI for the software itself via Zenodo (or figshare) so that users can cite the specific version of the software.
Hi,
I am getting warnings like:
1>./adept_source.h(560,6): warning : 'register' storage class specifier is deprecated and incompatible with C++1z [-Wdeprecated-register]
1> register Real multiplier = multiplier_[iop];
I think that with modern compilers there is no need to declare variables register - would it be possible to make adept more C++11 compatible?
Thanks,
Gorby
Hi,
I'm using Adept
in my code and I have this kind statement
const xdouble a, b;
xdouble lambda1;
lambda1 = 0.5*(std::max(fabs(lambda1), a*b) - lambda1);
But I got this compiling error:
no matching function for call to ‘max(adept::internal::UnaryOperation<double, adept::internal::Fabs, adept::Active<double> >, adept::internal::enable_if<true, adept::internal::BinaryOperation<double, adept::Active<double>, adept::internal::Multiply, adept::Active<double> > >::type’
lambda1 = 0.5*(std::max(fabs(lambda1), sat_Vn*rhoA) - lambda1);
Could you please help me fix this problem?
Thanks,
Ge
Hi,
I am trying to run sample code on the site http://www.met.reading.ac.uk/clouds/adept/, but compiling returns an error with Stack.
reference not set to "adept::Stack::~Stack()"
What may be happening?
Robin,
while compiling under VS2012 Update 5 I'm experiencing the follwing issue:
adept.h(1474): error C2784: 'adept::Erf<A> erf(const adept::Expression<A> &)' : could not deduce template argument for 'const adept::Expression<A> &' from 'adept::Real'
Have you any idea on how I can overtake this without update the VS version?
I guess I can avoid the #define ADEPT_DEFINE_UNARY_FUNCTION in the case of Erf and define it separately.
Hi,
I am not sure what it means to create a copy of adept::Stack:
adept::Stack a{};
auto b = a;
IMHO the above should not compile, but it does. At the same time adept::Stack should support move semantics, so people can do "Almost Always Auto":
auto c = adept::Stack{};
Thanks,
Gorby
Hi. I am trying to use your library, and installation seemed ok. But I can't make a simple program run. I just assined a value to an adouble
and tried to print, and I get:
fish: Job 1, “./a.out ” terminated by signal SIGSEGV (Address boundary error)
Are there any compilation tricks I am missing?
Now that Xcode 8 supports the C++11 thread_local keyword, the library should be updated to have ADEPT_THREAD_LOCAL defined as such.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.