Hi,(adsbygoogle = window.adsbygoogle || []).push({});

I am looking for a certain operation that makes a 1 tensor from a 2 tensor by filtering out only the diagonal elements.

For instance,

(f1g1 f1g2 f1g3)

(f2g1 f2g2 f2g3)

(f3g1 f3g2 f3g3)

becomes

(f1g1)

(f2g2)

(f3g3)

after a certain operation.

What operation could I use?

Thanks a million for the one who can help me out here.

Dirk

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Selecting diagonal elements from a matrix to make a vector

Loading...

Similar Threads - Selecting diagonal elements | Date |
---|---|

Diagonalization of Operators | Dec 15, 2012 |

Product of Diagonals of Regular Polygon? | Mar 31, 2012 |

How do you find the area under a diagonal hyperbola xy=a where a is a constant? | Nov 23, 2011 |

Selecting the correct bounds for polar integrals | Nov 3, 2011 |

Deriving the diagonal with limens | May 8, 2005 |

**Physics Forums - The Fusion of Science and Community**