按光栅顺序读取?
嘿伙计们, 我有一个 C++ 编程作业,要求我创建一个矩阵并将其元素(由用户给出)存储为数组,以光栅顺序读取。我四处寻找“光栅顺序”的含义,但没有看到任何相关内容。有什么帮助吗?谢谢。
hey guys,
i have a c++ programming assignment that asks me to create a matrix and store its elements (given by the user) as an array, read in raster order. i've looked around for the meaning of "raster order" and i haven't seen anything about it. any help? thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
光栅扫描顺序 表示“按输入/输出的顺序” - 如果是矩阵,则表示线逐行(您当然可以逐列存储,但这不是作业所要求的)。
Raster scan order means "in order of input/output" - in case of matrix it will mean line-by-line (you could of course store column-by-column instead, but that's not what the assignment asks for).