-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Basic API #1
Comments
It's more probably this (I'm not sure about CRTP): template<typename ManifoldType, typename VectorType>
class manifold {
...
} |
Actually, this looks far more CRTP: template<typename Derived>
class manifold {
typedef Derived::ManifoldType ManifoldType;
typedef Matrix<ManifoldType::Scalar, ManifoldType::VectorSize, 1> VectorType;
typedef Matrix<ManifoldType::Scalar, ManifoldType::VectorSize, ManifoldType::VectorSize> JacobianType;
...
} you see my point... |
Thanks for this first feedback. Let us put aside the Jacs at first because I'm not sure yet how to deal with their type (how to define it and forward it to the crtp base class). I propose we first agree on the semantic, then the overall API and finally on the implementation. |
Closing this since the API is fairly stable now. |
This is a first attempt. Derived classes must implement all methods:
The text was updated successfully, but these errors were encountered: