---
title: 函数说明
description: "KML_SPBLAS库是稀疏矩阵（Sparse Matrix）的基础代数运算库，稀疏矩阵是指大部分矩阵元素为零的矩阵。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengboostkithistory/240RC2/accel/kunpengaccel_kml_16_0186.html
sourcePath: /source/zh/kunpengboostkithistory/240RC2/accel/kunpengaccel_kml_16_0186.html
indexId: 0e790aba3ae97eb07f15fa4ec26873e48239034328e5b9a56c8ecde6f76c889876
---
# 函数说明

KML_SPBLAS库是稀疏矩阵（Sparse Matrix）的基础代数运算库，稀疏矩阵是指大部分矩阵元素为零的矩阵。

该库包含三个层级的函数：

- Sparse BLAS Level 1函数：向量与向量间的运算。
- Sparse BLAS Level 2函数：矩阵与向量间的运算。
- Sparse BLAS Level 3函数：矩阵与矩阵间的运算。
