Project

General

Profile

Task #2976

Basic math for Multidimensional arrays

Added by Kevin Boyd about 1 month ago. Updated about 1 month ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
core library
Target version:
Difficulty:
uncategorized
Close

Description

To use BasicMatrix3x3 as a drop in for the c-style tensor, we need to support the addition, subtraction, and several multiplication functionality found in math/vec.h

Associated revisions

Revision f3c2e710 (diff)
Added by Kevin Boyd 15 days ago

Add mdspan basic elementwise math

BasicMatrix3x3 provides a replacement for the c-style tensors, but
has yet to replicate the tensor operations in math/vec.h. This provides
a subset of that functionality for msdpan in general, which can be used
for MultiDimArray trivially

Refs #2976

Change-Id: I17b77df032dbbfde0ff87108215edcec07fef6c4

History

#1 Updated by Kevin Boyd about 1 month ago

It's not clear to me whether these should be free functions or operator overloads.

Also available in: Atom PDF