summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libcamera/matrix.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libcamera/matrix.cpp b/src/libcamera/matrix.cpp
index e7e02722..49e2aa3b 100644
--- a/src/libcamera/matrix.cpp
+++ b/src/libcamera/matrix.cpp
@@ -42,6 +42,16 @@ LOG_DEFINE_CATEGORY(Matrix)
*/
/**
+ * \fn Matrix::Matrix(const Span<const T, Rows * Cols> data)
+ * \brief Construct a matrix from supplied data
+ * \param[in] data Data from which to construct a matrix
+ *
+ * \a data is a one-dimensional Span and will be turned into a matrix in
+ * row-major order. The size of \a data must be equal to the product of the
+ * number of rows and columns of the matrix (Rows x Cols).
+ */
+
+/**
* \fn Matrix::identity()
* \brief Construct an identity matrix
*/