# Matrix
Matrix is a two-dimensional data structure with an easy to use and smart implementation with array operators and debug tools like dumping objects and supporting mathematics operators.
The idea comes from returning two-dimensional arrays from functions that is a boring proccess. Matrix also supports associative arrays to prevent using extra libraries like std::map for some needings. Matrix library can be used to store data on the ram because of its table based data structure and table operation supports. And more huge feature can be found in the documention.
## Installation and configure
Installation and configure is pretty easy, just clone header file located in `dist/Matrix.h` and add it to your project like:
`#include "Matrix.h"`
## Getting started
Usage of Matrix is very easy and more similar to c++ arrays.
```c++
Matrix<int> mat(3, 2);
mat[0][0] = 2;
mat[0][1] = 23;
mat[1][0] = 0;
mat[1][1] = -6;
mat[2][0] = 10;
mat[2][1] = 67;
cout << "Matrix[0][1] is " << mat[0][1];
```
## Documention
You can read the documention [here](https://www.amirforsati.ir/doc/11).
C++矩阵数据结构实现_C++_下载.zip
版权申诉
76 浏览量
2023-04-13
23:48:15
上传
评论
收藏 16KB ZIP 举报
快撑死的鱼
- 粉丝: 1w+
- 资源: 9154
最新资源
- ThinkPHP5多小区物业管理系统源码PHP物业管理系统.zip
- 基于flask,Navicat和爬虫的可视化岗位分析网站.zip
- 部署yolov10的ncnn模型到android源码+模型+项目说明.zip
- Go语言网络层脚手架代码资料项目间共用的网络层.zip
- 基于monaco-editor的sql编辑器,支持sql语法联想、高亮.zip
- 网络安全相关的RSS订阅列表资料.zip
- 用Vue.js开发微信app项目源代码资料.zip
- 基于YOLO-V4算法与Pytorch的视频多目标跟踪系统的开发.zip
- 雾霾分析的MATLAB GUI仿真程序.zip
- 基于react的618节日网页全屏祝福.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈