#!/usr/bin/env python3
# -*- coding: utf-8 -*-

#### Testmatrizen für Blatt 8

import numpy as np

# Aufgabe 29
A = np.array([[2, -1, 0], [-2, 2, -2], [2, -1, 0]])
B = np.array([[3, 1, 2, 3], [1, 2, 4, 0], [2, -1, -2, 4]])
C = np.array([[0, 0, 4], [0, 1, 5], [0, 1, 5]])


# Aufgabe 31
A = np.array([[1, 3, 2, 0], [1, 1, 2, 3], [4, 0, 8, 3], [2, 5, 4, 5]])
B = np.array([[4, 5, 6, 6], [7, 7, 9, -3], [8, 4, 0, -7], [-5, 3, -6, -4]])
C = np.arange(1, 5).reshape(-1, 1)


# Aufgabe 32
L = np.array([[1, 0, 0, 0], [-2, 4, 0, 0], [4, -5, 6, 0], [-7, 8, -9, 3]])
b = np.array([3, -6, 6, 0]).reshape(-1, 1)