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
+5 -5
View File
@@ -218,7 +218,7 @@ bool mul(const panic::tensor::matrix<T>& A, const panic::tensor::matrix<T>& B, p
* @note This overload is convenient, but may allocate a new vector.
*/
template <typename T>
panic::tensor::matrix<T> add(const panic::tensor::matrix<T>& A, const panic::tensor::matrix<T>& B);
panic::tensor::matrix<T> mul(const panic::tensor::matrix<T>& A, const panic::tensor::matrix<T>& B);
/**
@@ -226,7 +226,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.
@@ -245,7 +245,7 @@ bool mul_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.
@@ -265,7 +265,7 @@ panic::tensor::matrix<T> mul_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.
@@ -284,7 +284,7 @@ bool mul_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.