Skip to content

"align" function that derives transformation between a reference frame and a target frame in CGA #30

Answered by CaseySanchez
CaseySanchez asked this question in Q&A
Discussion options

You must be logged in to vote

I got it working Dr. Fernandes. Any suggestions to improve the efficiency of this method would be greatly appreciated.

#include <tuple>

#include <gatl/ga3c.hpp>

using namespace ga3c;

template <size_t Index, typename CoefficientType, typename ...FromExpressions, typename ...ToExpressions, typename MotorExpression, typename ToOpExpression>
constexpr full_multivector_t<CoefficientType, space.vector_space_dimensions> align(std::tuple<clifford_expression<CoefficientType, FromExpressions>...> const &from, std::tuple<clifford_expression<CoefficientType, ToExpressions>...> const &to, clifford_expression<CoefficientType, MotorExpression> const &motor_previous, clifford_expression<CoefficientTyp…

Replies: 1 comment 4 replies

Comment options

CaseySanchez
Jun 3, 2022
Collaborator Author

You must be logged in to vote
4 replies
@laffernandes
Comment options

@CaseySanchez
Comment options

CaseySanchez Jun 9, 2022
Collaborator Author

@laffernandes
Comment options

@CaseySanchez
Comment options

CaseySanchez Jun 9, 2022
Collaborator Author

Answer selected by CaseySanchez
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants