Forum Discussion
Altera_Forum
Honored Contributor
11 years agomatrix operation
how can 4*4 matrix is created? how can we get 4*4 matrix from 4 row matrix? how can particular column elements selected from 4*4 matrix? How inverse matrix calculated by using LU decomposition...
Altera_Forum
Honored Contributor
11 years agouse an array and write a function. E.g.
type t_matrix is array (0 to 3) of bit_vector(0 to 3);
signal s_matrix : t_matrix := (others => (others => '0')); function pivot_matrix(input_matrix : t_matrix) return t_matrix is
variable output_matrix : t_matrix;
begin
return output_matrix;
end function;