openGPMP
Open Source Mathematics Package
Variables
python.linalg Namespace Reference

Variables

 mtx = linalg.Mtx()
 
list A = [1,2,3,4]
 
list B = [2,3,1,4]
 
list C = []
 
list A_int = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
 
list B_int = [[9, 8, 7], [6, 5, 4], [3, 2, 1]]
 
list C_int = []
 
 res = mtx.std_mtx_add_int(A_int, B_int, C_int)
 

Detailed Description

since the Matrix class is a template class, there are classes created
for both Doubles and Integers

The template Matrix class and mtx struct were converted to type double
methods instead of declaring a method for each type.
    *NOTE* there is a respective 'INTEGER' version of each method that
    defaulted to type double, my recommendation is to use the default
    methods that converted to type double as data will more than likely
    follow the scheme.

    SCHEMES:
        class Matrix (int) -> class MatrixI
        an INTEGER type mtx struct is not possible given floating
        point requirements for certain cases of cassert

Variable Documentation

◆ A

list python.linalg.A = [1,2,3,4]

◆ A_int

list python.linalg.A_int = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]

Definition at line 26 of file linalg.py.

◆ B

list python.linalg.B = [2,3,1,4]

◆ B_int

list python.linalg.B_int = [[9, 8, 7], [6, 5, 4], [3, 2, 1]]

Definition at line 27 of file linalg.py.

◆ C

list python.linalg.C = []

◆ C_int

list python.linalg.C_int = []

Definition at line 28 of file linalg.py.

◆ mtx

python.linalg.mtx = linalg.Mtx()

◆ res

python.linalg.res = mtx.std_mtx_add_int(A_int, B_int, C_int)