Efficient Anti-Triangular Matrix Multiplications

  • Context: Graduate 
  • Thread starter Thread starter mwl
  • Start date Start date
  • Tags Tags
    Matrix
Click For Summary

Discussion Overview

The discussion focuses on efficient methods for multiplying anti-triangular matrices, which have a triangular structure extending from the lower left corner to the upper right corner. The context includes potential applications in light scattering computations in high dimensions and seeks to identify software or algorithms that can facilitate this type of matrix multiplication.

Discussion Character

  • Technical explanation
  • Exploratory
  • Debate/contested

Main Points Raised

  • One participant inquires about efficient software for multiplying anti-triangular matrices, referencing the need for routines similar to Level 3 BLAS.
  • Another participant suggests that existing Level 3 BLAS routines for triangular matrices could be adapted by reversing the order of some loops, although they do not provide specific examples.
  • A third participant expresses appreciation for the suggestion made by the second participant, indicating a positive reception to the idea.
  • A further contribution proposes an alternative approach where matrices and vectors could be stored "upside down" to avoid modifying the BLAS routines, providing a specific example to illustrate this method.

Areas of Agreement / Disagreement

Participants have not reached a consensus on the best approach to efficiently multiply anti-triangular matrices. Multiple competing views and methods are presented, with some suggesting adaptations of existing routines and others proposing different storage techniques.

Contextual Notes

The discussion does not clarify the limitations of the proposed methods, such as potential performance implications or the specific requirements of the computations involved.

mwl
Messages
2
Reaction score
0
Does anyone know of efficient software for the multiplication with an anti-triangular matrix? These are matrices whose triangular structures goes from the lower left corner to the upper right corner. Are there codes similar to the Level 3 BLAS routines for the multiplication of these matrices? They come up in light scattering computations in high dimensions.
Thanks.
 
Physics news on Phys.org
I don't know of any codes for this, but you probably don't need to do anything more complicated than get the Level 3 BLAS code for triangular matrices from LAPACK (or from your computer supplier if you are doing high performace computing) and reverse the order of some of the loops.
 
Hi AlephZero,
What a great idea! Thank you so much.
mwl
 
Actually, you might not need to change the BLAS routines, if you can store some of the matrices and vectors "upside down". For example, if
[tex]\begin{bmatrix} a_{11} & a_{12} & a_{13} \\ a_{21} & a_{22} \\ a_{31} \end{bmatrix} \begin{bmatrix} x_1 \\ x_2 \\ x_3 \end{bmatrix} = \begin{bmatrix} y_1 \\ y_2 \\ y_3 \end{bmatrix}[/tex]
then
[tex]\begin{bmatrix} a_{31} \\ a_{21} & a_{22} \\ a_{11} & a_{12} & a_{13} \end{bmatrix} \begin{bmatrix} x_1 \\ x_2 \\ x_3 \end{bmatrix} = \begin{bmatrix} y_3 \\ y_2 \\ y_1 \end{bmatrix}[/tex]
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 17 ·
Replies
17
Views
7K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
8K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 18 ·
Replies
18
Views
7K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K