博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
block compressed sparse row (BSR) matrix format
阅读量:4041 次
发布时间:2019-05-24

本文共 527 字,大约阅读时间需要 1 分钟。

在这里插入图片描述

assume the size of block is 2

values  =  [1 0 2 1 6 7 8 2 1 4 5 1 4 3 0 0 7 2 0 0]columns  = [0   1   1   1   2]rowIndex = [0   2   3   5]

rowIndex[i] records the offset (in block) for each block-row i.

i ∈ \in [0, blockrows]

rowIndex[i+1] - rowIndex[i] is the number of non-zero block in block-row i.

rowIndex[blockrows] is the number of non-zero blocks in total.

columns[i] records the column’s index for the i-th non-zero block.

columns has the same size of non-zero blocks.

values stores the non-zero blocks in row-major.

你可能感兴趣的文章
搞定Java面试中的数据结构问题
查看>>
慢慢欣赏linux make uImage流程
查看>>
linux内核学习(7)脱胎换骨解压缩的内核
查看>>
以太网基础知识
查看>>
慢慢欣赏linux 内核模块引用
查看>>
kprobe学习
查看>>
慢慢欣赏linux phy驱动初始化2
查看>>
慢慢欣赏linux CPU占用率学习
查看>>
2020年终总结
查看>>
Homebrew指令集
查看>>
React Native(一):搭建开发环境、出Hello World
查看>>
React Native(二):属性、状态
查看>>
JSX使用总结
查看>>
React Native(四):布局(使用Flexbox)
查看>>
React Native(七):Android双击Back键退出应用
查看>>
Android自定义apk名称、版本号自增
查看>>
adb command not found
查看>>
Xcode 启动页面禁用和显示
查看>>
【剑指offer】q50:树中结点的最近祖先
查看>>
二叉树的非递归遍历
查看>>