Welcome to Matrix’s documentation!¶
Welcome in the CMatrix Module. This module, written with python and Cython, is as fast as a c/c++ Librairie file. It has been thinked for Matrix complex computation. This Module have been splitted into three main parts :
- A Matrix Generators Section
The Matrix Generators section permit to generate automatically standard algebrica matrix as :
A Laplacian mean Matrx
A Gaussian mean Matrix
A Mean filter Matrix
A Random Permutation Matrix
A Unit Matrix
A Zeros Matrix
- A Sequence Recognition Section
This Sequence Recognition Algorithm permit us to find in any list any repeated sequence from nothing . This Algorithm is splitted into 10 functions : 1 main algorithm and 9 sub-function. The main algorithm function name is find_mul_seq, meaning Find Multiples Seqneces function. The 9 sub-functions used to make it works are :
count_seq : A sequence counter
create_mutants : A list mutants generator function
cut : A list cutter function
find_invariant : An invariant finder function
find_max : Get the max length list function
find_seq : A sequence finder function
find_seq_in_list : An advanced sequence finder function
split_data : Data splitter function
split_number : A number splitter function
- The Main Matrix Engine
The main matrix engine define an new Matrix Object into your Python code. This matrix should be extracted and readed from :
Pictures
Video
Signals
Float and Int matrix
etc
To read a matrix from an external file, you can use the Matrix Getter py file into the main github repository to extract and use any matrix with this lib. It contains differents kind of function :
Primary utility functions as Ribbon converter, usual operators, …
Middle level functions as Matrix extraction/recognition, usuals algebrica operations, …
Hard level functions as Strassen algorithm, Convolutions, System resolution, Tensorial operations, …
The full description of each part is avaible on the left tree entries. All the functions are documented and a small example will be used as an Usage Guide.
Here you will find the main Scheme to have a global look on this module.
- Introduction
- Matrix Usage Quick Start
- API Functions
- Matrix
- cmatrix.Matrix.ij_2_ind
- cmatrix.Matrix.ind_2_ij
- cmatrix.Matrix.size_r
- cmatrix.Matrix.size_c
- cmatrix.Matrix.get_ij
- cmatrix.Matrix.set_ij
- cmatrix.Matrix.get_ind
- cmatrix.Matrix.same_size
- cmatrix.Matrix.mult_compatible
- cmatrix.Matrix.Print
- cmatrix.Matrix.clone
- cmatrix.Matrix.xtract_sub_matrix
- cmatrix.Matrix.insert_sub_matrix
- cmatrix.Matrix.find_sub_matrix
- cmatrix.Matrix.op
- cmatrix.Matrix.sqrt
- cmatrix.Matrix.converter
- cmatrix.Matrix.mand
- cmatrix.Matrix.mor
- cmatrix.Matrix.mnand
- cmatrix.Matrix.mnor
- cmatrix.Matrix.mxor
- cmatrix.Matrix.column
- cmatrix.Matrix.line
- cmatrix.Matrix.swap_col
- cmatrix.Matrix.swap_line
- cmatrix.Matrix.mirror_mat
- cmatrix.Matrix.nth_diagonal
- cmatrix.Matrix.get_coef
- cmatrix.Matrix.mul_coef
- cmatrix.Matrix.resize
- cmatrix.Matrix.accumulate
- cmatrix.Matrix.square
- cmatrix.Matrix.transpose
- cmatrix.Matrix.permut
- cmatrix.Matrix.triangle
- cmatrix.Matrix.strassen
- cmatrix.Matrix.tensorial_product
- cmatrix.Matrix.trace
- cmatrix.Matrix.convolve
- cmatrix.Matrix.convolve_signal
- cmatrix.Matrix.AtoB
- cmatrix.Matrix.gap
- cmatrix.Matrix.map
- cmatrix.Matrix.normalize
- cmatrix.Matrix.UX_B
- cmatrix.Matrix.LX_B
- cmatrix.Matrix.replace_zeros
- cmatrix.Matrix.LU
- cmatrix.Matrix.det
- cmatrix.Matrix.orthogonal
- cmatrix.Matrix.symmetric
- cmatrix.Matrix.hermitian
- cmatrix.Matrix.reversal
- cmatrix.Matrix.count_zero
- cmatrix.Matrix.nilpotent
- cmatrix.Matrix.diagonal
- cmatrix.Matrix.triangular
- cmatrix.Matrix.read_from_file
- cmatrix.Matrix.write_in_file
- cmatrix.Matrix.pack