Implement matrix t_mat as a wrapper around t_vec
authorLukas Jiriste <ljiriste@student.42prague.com>
Sat, 23 Dec 2023 11:47:27 +0000 (12:47 +0100)
committerLukas Jiriste <ljiriste@student.42prague.com>
Fri, 12 Jan 2024 20:33:09 +0000 (21:33 +0100)
commitbc4e33ab3f7ca960100a0141b1beca83de08059a
treed7c137965a559ed76e358156886edcf27ad9d04c
parentcc103f42054c3240a2890abc43c759da6499c084
Implement matrix t_mat as a wrapper around t_vec

Implement new struct for matrix and some basic utilities. Everything
passes strict compilation and norminette, but may contain bugs in logic.
Testing recommended (though it will probably happen when this is
needed).
Extract ft_vec_forget from ft_vec_erase which functions as ft_vec_erase
with free_el = NULL.
Makefile
ft_arr/ft_mat_append.c [new file with mode: 0644]
ft_arr/ft_mat_free.c [new file with mode: 0644]
ft_arr/ft_mat_init.c [new file with mode: 0644]
ft_arr/ft_mat_insert_col.c [new file with mode: 0644]
ft_arr/ft_mat_insert_row.c [new file with mode: 0644]
ft_arr/ft_vec_enlarge.c [new file with mode: 0644]
ft_arr/ft_vec_erase.c
ft_arr/ft_vec_forget.c [new file with mode: 0644]
ft_arr/ft_vec_insert.c
inc/ft_arr.h