WPILibC++ 2027.0.0-alpha-4
Loading...
Searching...
No Matches
ct_matrix.hpp File Reference
#include <concepts>
#include <initializer_list>
#include <type_traits>
#include <Eigen/Core>
#include <gcem.hpp>

Go to the source code of this file.

Classes

class  wpi::math::ct_matrix< Scalar, Rows, Cols >
 Compile-time wrapper for Eigen::Matrix. More...

Namespaces

namespace  wpi
namespace  wpi::math

Concepts

concept  wpi::math::EigenMatrixLike

Typedefs

template<typename Scalar, int Rows>
using wpi::math::ct_vector = ct_matrix<Scalar, Rows, 1>
template<typename Scalar, int Cols>
using wpi::math::ct_row_vector = ct_matrix<Scalar, 1, Cols>
using wpi::math::ct_matrix2d = ct_matrix<double, 2, 2>
using wpi::math::ct_matrix3d = ct_matrix<double, 3, 3>
using wpi::math::ct_vector2d = ct_vector<double, 2>
using wpi::math::ct_vector3d = ct_vector<double, 3>

Functions

template<typename Derived>
requires std::derived_from<Derived, Eigen::MatrixBase<Derived>>
 wpi::math::ct_matrix (const Derived &) -> ct_matrix< typename Derived::Scalar, Derived::RowsAtCompileTime, Derived::ColsAtCompileTime >