Skip to content

libs/libdsp: Add Matrix operations#19402

Merged
acassis merged 1 commit into
apache:masterfrom
acassis:libdsp_matrix
Jul 11, 2026
Merged

libs/libdsp: Add Matrix operations#19402
acassis merged 1 commit into
apache:masterfrom
acassis:libdsp_matrix

Conversation

@acassis

@acassis acassis commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

Summary

This commit adds support for matrix operation on libdsp. The code came from: https://github.com/DjVul/Extended-Kalman-Filter---STM32/blob/main/Core/Src/matrix_utils.c

Impact

Now we could use matrix operations with libdsp

Testing

Compilation with libdsp enabled

This commit adds support for matrix operation on libdsp. The code
came from: https://github.com/DjVul/Extended-Kalman-Filter---STM32/blob/main/Core/Src/matrix_utils.c

Signed-off-by: Alan C. Assis <acassis@gmail.com>
@github-actions github-actions Bot added Area: OS Components OS Components issues Size: M The size of the change in this PR is medium labels Jul 11, 2026
@github-actions

Copy link
Copy Markdown

MemBrowse Memory Report

No memory changes detected for:

@acassis acassis requested a review from linguini1 July 11, 2026 14:27

@linguini1 linguini1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be a kernel lib or a nuttx-apps library? Since I don't know that we'd use this directly in the kernel (?)

Do we need a Kconfig option to enable this?

For later, maybe we should extend this to allow matrices of integer types. Might be better for systems without FPUs

@acassis

acassis commented Jul 11, 2026

Copy link
Copy Markdown
Contributor Author

Should this be a kernel lib or a nuttx-apps library? Since I don't know that we'd use this directly in the kernel (?)

Do we need a Kconfig option to enable this?

For later, maybe we should extend this to allow matrices of integer types. Might be better for systems without FPUs

I think the advantage of being in the kernel is that we could use it on drivers if we need to do it.

@acassis acassis merged commit d8d77c2 into apache:master Jul 11, 2026
53 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: OS Components OS Components issues Size: M The size of the change in this PR is medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants