天软金融分析.NET函数大全
>
TSL函数
>
基础函数
>
数组
>
稀疏矩阵
Speye
复制链接
简述
创建m*m稀疏单位矩阵,指定为方阵
定义
Speye(m;n:Integer): array
参数
名称
类型
说明
m
Integer
稀疏单位矩阵的尺寸,整数
返回
array
数组
范例
//创建m*m稀疏单位矩阵
A:=speye(4);
return A;
//结果:
相关
Sparse1
Sparse2
Speye
Sprand1
Sprand2
Sprandn1
Sprandn2
Sprandsym1
Sprandsym2
Sparsefull
Spones
Spnnz
Spnonzeros
Ifsparse
Spdiags1
Spdiags2
Spdiags3
Spdiags4