没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
struct twodouble {
double begin;
double end;
};
void meshgrid(const struct twodouble &_Input2X, const struct twodouble &_Input2Y, float _size, cv::Mat &_OutputMatX, cv::Mat &_OutputMatY)
{
std::vector<float> t_x, t_y;
double temp = 0.0f;
// x
if (_Input2X.begin == _Input2X.end) {
for (double i = 0; i <= 1; i += _size) {
t_x.push_back(_Input2X.begin);
}
}
else if (_Input2X.begin < _Input2X.end) {
for (double i = _Input2X.begin; i <= _Input2X.end;
i += _size) {
t_x.push_back(i);
}
}
else {
for (double i = _Input2X.begin; i >= _Input2X.end;
i -= _size) {
t_x.push_back(i);
}
}
verystory
- 粉丝: 17
- 资源: 14
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页