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

20 lines
1021 B
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.
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, 2, 2>, wpi::math::DAREError>
2025-11-07 20:00:05 -05:00
wpi::math::DARE<2, 1>(const Eigen::Matrix<double, 2, 2>& A,
2025-11-07 20:01:58 -05:00
const Eigen::Matrix<double, 2, 1>& B,
const Eigen::Matrix<double, 2, 2>& Q,
const Eigen::Matrix<double, 1, 1>& R,
bool checkPreconditions);
2026-07-02 02:10:52 -04:00
template std::expected<Eigen::Matrix<double, 2, 2>, wpi::math::DAREError>
2025-11-07 20:00:05 -05:00
wpi::math::DARE<2, 1>(const Eigen::Matrix<double, 2, 2>& A,
2025-11-07 20:01:58 -05:00
const Eigen::Matrix<double, 2, 1>& B,
const Eigen::Matrix<double, 2, 2>& Q,
const Eigen::Matrix<double, 1, 1>& R,
const Eigen::Matrix<double, 2, 1>& N,
bool checkPreconditions);