Skip to content

Commit a7f645c

Browse files
committed
fix typo
1 parent 27911ae commit a7f645c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/stdlib_intrinsics.fypp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,10 @@ module stdlib_intrinsics
157157
!!### Description
158158
!!
159159
!! matrix multiply more than two matrices with a single function call
160-
!! the multiplication with the optimal bracketization is done automatically
160+
!! the multiplication with the optimal parenthesization for efficiency of computation is done automatically
161161
!! Supported data types are `real`, `integer` and `complex`.
162162
!!
163+
!! Note: The matrices must be of compatible shapes to be multiplied
163164
#:for k, t, s in I_KINDS_TYPES + R_KINDS_TYPES + C_KINDS_TYPES
164165
pure module function stdlib_matmul_${s}$_3 (a, b, c) result(d)
165166
${t}$, intent(in) :: a(:,:), b(:,:), c(:,:)

src/stdlib_intrinsics_matmul.fypp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ submodule (stdlib_intrinsics) stdlib_intrinsics_matmul
88

99
contains
1010

11-
! Algorithm for the optimal bracketization of matrices
11+
! Algorithm for the optimal parenthesization of matrices
1212
! Reference: Cormen, "Introduction to Algorithms", 4ed, ch-14, section-2
1313
! Internal use only!
1414
pure function matmul_chain_order(n, p) result(s)

0 commit comments

Comments
 (0)