Files
allwpilib/wpimath/src/test/native/cpp/DARETest_Inst_4x1.cpp

22 lines
1.0 KiB
C++
Raw Normal View History

// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
2026-07-02 02:10:52 -04:00
#include <expected>
2025-11-07 19:56:21 -05:00
#include "wpi/math/linalg/DARE.hpp"
2026-07-02 02:10:52 -04:00
template std::expected<Eigen::Matrix<double, 4, 4>, wpi::math::DAREError>
2025-11-07 20:00:05 -05:00
wpi::math::DARE<4, 1>(const Eigen::Matrix<double, 4, 4>& A,
2025-11-07 20:01:58 -05:00
const Eigen::Matrix<double, 4, 1>& B,
const Eigen::Matrix<double, 4, 4>& Q,
const Eigen::Matrix<double, 1, 1>& R,
bool checkPreconditions);
2026-07-02 02:10:52 -04:00
template std::expected<Eigen::Matrix<double, 4, 4>, wpi::math::DAREError>
2025-11-07 20:00:05 -05:00
wpi::math::DARE<4, 1>(const Eigen::Matrix<double, 4, 4>& A,
2025-11-07 20:01:58 -05:00
const Eigen::Matrix<double, 4, 1>& B,
const Eigen::Matrix<double, 4, 4>& Q,
const Eigen::Matrix<double, 1, 1>& R,
const Eigen::Matrix<double, 4, 1>& N,
bool checkPreconditions);