Post Reply 
HP 40gs how to get a submartix from a matrix
08-31-2023, 02:40 PM
Post: #2
RE: HP 40gs how to get a submartix from a matrix
I'm not familiar with the HP 40gs but you could use matrix multiplication.

In Python:
Code:
import numpy as np

M = np.array(
    [
        [1, 2, 3],
        [4, 5, 6],
        [7, 8, 9],
    ]
)

U = np.array(
    [
        [0, 1, 0],
        [0, 0, 1],
    ]
)

V = np.array(
    [
        [0, 0],
        [1, 0],
        [0, 1],
    ]
)

U @ M @ V

The result is:
Code:
array([[5, 6],
       [8, 9]])
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP 40gs how to get a submartix from a matrix - Thomas Klemm - 08-31-2023 02:40 PM



User(s) browsing this thread: 3 Guest(s)