first model

This commit is contained in:
2026-07-29 17:34:22 +02:00
parent 47671354ce
commit f5e0ee209b
25 changed files with 2642 additions and 108 deletions
+4 -16
View File
@@ -31,18 +31,6 @@
* Description:
* Functions to add panic::tensor togther;
*
*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
*
* @file add.hpp
* @brief Public API for element-wise addition operations on PANIC vectors and matrices.
*
* This header contains the declarations that users of the math module should call.
* The comments here describe how each function is used, what dimensions are required,
* and what is returned on failure.
*
* Implementation details, OpenMP thresholds, and explicit template instantiations are
* kept in add.cpp.
*
*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
#pragma once
@@ -221,7 +209,7 @@ panic::tensor::matrix<T> add(const panic::tensor::matrix<T>& A, const panic::ten
*
* Computes:
* @code
* C(i,j) = A(i,j) + b[i]
* C(i,j) = A(i,j) + b[j]
* @endcode
*
* @tparam T Numeric element type.
@@ -240,7 +228,7 @@ bool add_rowwise(const panic::tensor::matrix<T>& A, const panic::tensor::vector<
*
* Computes:
* @code
* result(i,j) = A(i,j) + b[i]
* result(i,j) = A(i,j) + b[j]
* @endcode
*
* @tparam T Numeric element type.
@@ -260,7 +248,7 @@ panic::tensor::matrix<T> add_rowwise(const panic::tensor::matrix<T>& A, const pa
*
* Computes:
* @code
* C(i,j) = A(i,j) + b[j]
* C(i,j) = A(i,j) + b[i]
* @endcode
*
* @tparam T Numeric element type.
@@ -279,7 +267,7 @@ bool add_colwise(const panic::tensor::matrix<T>& A, const panic::tensor::vector<
*
* Computes:
* @code
* result(i,j) = A(i,j) + b[j]
* result(i,j) = A(i,j) + b[i]
* @endcode
*
* @tparam T Numeric element type.