Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
f06f556
add interface and procedures
wassup05 Mar 13, 2025
fed4d73
add implementation for 3,4,5 matrices
wassup05 Mar 13, 2025
27911ae
add very basic example
wassup05 Mar 13, 2025
a7f645c
fix typo
wassup05 Mar 13, 2025
cc77dee
a bit efficient
wassup05 Mar 14, 2025
3958018
refactor algorithm
wassup05 Mar 14, 2025
35a5a28
add new interface
wassup05 Mar 14, 2025
ebf92d7
add helper functions
wassup05 Mar 14, 2025
5f5c5a9
add implementation, refactor select to if clauses
wassup05 Mar 15, 2025
06ce735
slightly better examples
wassup05 Mar 15, 2025
e709f83
replace all matmul's by gemm
wassup05 Mar 20, 2025
cf5f030
add error handling in a better way
wassup05 Apr 4, 2025
b6d07e6
Update src/stdlib_intrinsics_matmul.fypp
perazz Apr 22, 2025
5e3b588
Update src/stdlib_intrinsics_matmul.fypp
perazz Apr 22, 2025
7d2130a
Update src/stdlib_intrinsics_matmul.fypp
perazz Apr 22, 2025
61851fc
Update src/stdlib_intrinsics_matmul.fypp
perazz Apr 22, 2025
ee7da8d
Update src/stdlib_intrinsics_matmul.fypp
perazz Apr 22, 2025
195c57e
Update src/stdlib_intrinsics_matmul.fypp
perazz Apr 22, 2025
e71b9bb
Update src/stdlib_intrinsics_matmul.fypp
perazz Apr 22, 2025
00c4461
Update src/stdlib_intrinsics_matmul.fypp
perazz Apr 22, 2025
5c2bbc5
Update src/stdlib_intrinsics_matmul.fypp
perazz Apr 22, 2025
79113da
Update src/stdlib_intrinsics_matmul.fypp
perazz Apr 22, 2025
72dc641
added specs
wassup05 May 20, 2025
cee5bba
added tests
wassup05 May 20, 2025
a052599
modified example and slight changes
wassup05 May 20, 2025
24c5787
Merge branch 'fortran-lang:master' into matmul
wassup05 May 23, 2025
0174145
Merge branch 'master' of github.com:wassup05/stdlib into matmul
wassup05 Jul 5, 2025
2d0d9ca
reduce size, increase tolerance
wassup05 Jul 5, 2025
ca3e470
Merge remote-tracking branch 'origin/matmul' into matmul
wassup05 Jul 5, 2025
7e296bb
add comments to the example
wassup05 Sep 24, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix typo
  • Loading branch information
wassup05 committed Mar 13, 2025
commit a7f645c17caed49524cbf21683e18e96a0cca6cf
3 changes: 2 additions & 1 deletion 3 src/stdlib_intrinsics.fypp
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,10 @@ module stdlib_intrinsics
!!### Description
!!
!! matrix multiply more than two matrices with a single function call
!! the multiplication with the optimal bracketization is done automatically
!! the multiplication with the optimal parenthesization for efficiency of computation is done automatically
!! Supported data types are `real`, `integer` and `complex`.
!!
!! Note: The matrices must be of compatible shapes to be multiplied
#:for k, t, s in I_KINDS_TYPES + R_KINDS_TYPES + C_KINDS_TYPES
pure module function stdlib_matmul_${s}$_3 (a, b, c) result(d)
${t}$, intent(in) :: a(:,:), b(:,:), c(:,:)
Expand Down
2 changes: 1 addition & 1 deletion 2 src/stdlib_intrinsics_matmul.fypp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ submodule (stdlib_intrinsics) stdlib_intrinsics_matmul

contains

! Algorithm for the optimal bracketization of matrices
! Algorithm for the optimal parenthesization of matrices
! Reference: Cormen, "Introduction to Algorithms", 4ed, ch-14, section-2
! Internal use only!
pure function matmul_chain_order(n, p) result(s)
Expand Down
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.