Monado OpenXR Runtime
Loading...
Searching...
No Matches
m_quatexpmap_ceres_internal.hpp
Go to the documentation of this file.
1// Copyright 2026, Beyley Cardellio
2// SPDX-License-Identifier: Apache-2.0
3/*!
4 * @file
5 * @brief Helpers for quatexpmap math for ceres usage. Internal header to be included by one of the wrappers which
6 * provide the correct Ceres types depending on what the including module is using.
7 * @author Beyley Cardellio <ep1cm1n10n123@gmail.com>
8 * @ingroup aux_math
9 */
10// IWYU pragma: no_include "src/Core/MatrixBase.h"
11
12#pragma once
13
14#include "m_quatexpmap.hpp"
15
16
17namespace xrt::auxiliary::math {
18
19template <typename T, int N> struct FourthRootMachineEps<ceres::Jet<T, N>>
20{
21 static constexpr ceres::Jet<T, N>
22 get()
23 {
24 return ceres::Jet<T, N>(FourthRootMachineEps<T>::get());
25 }
26};
27
28} // namespace xrt::auxiliary::math
Base implementations for math library.
C++-only functionality in the Math helper library.
Definition m_documentation.hpp:15
Definition m_quatexpmap.hpp:30