fix(math): preflight finite dense operands at dispatch boundary

This commit is contained in:
KOKO\Mimi
2026-10-14 16:02:17 +09:00
parent 770fa2a0d1
commit 9c4e6854ae
8 changed files with 65 additions and 5 deletions
+2 -2
View File
@@ -41,11 +41,11 @@ class Matrix {
const double& operator()(std::size_t row, std::size_t column) const;
/// @brief Multiplies this row-major matrix by a dense vector.
/// @throws std::invalid_argument if the dimensions are incompatible.
/// @throws std::invalid_argument for incompatible shapes or nonfinite input.
Vector Multiply(const Vector& rhs) const;
/// @brief Multiplies this row-major matrix by another dense matrix.
/// @throws std::invalid_argument if the dimensions are incompatible.
/// @throws std::invalid_argument for incompatible shapes or nonfinite input.
Matrix Multiply(const Matrix& rhs) const;
private: