Funds_AssocFactor_NW
简述
基金关联结构因子:节点级
Funds_AssocFactor_NW(matrix:array;matrixType:Integer):Array
| 名称 | 类型 | 说明 |
|---|
| matrix | array | 二维数字数组类型,关联矩阵 |
| matrixType | Integer | 整数型,关联矩阵类型,可参考《2025-07-16-深圳天软科技-应用专题-基础算法04:天软图结构算法说明.docx》FAQ中关于此参数的说明
|
matrixType取值 |
含义 |
备注 | |
0 |
统计类矩阵 |
默认值 | |
1 |
相关系数类矩阵 |
| |
2 |
距离类矩阵 |
|
|
| 返回 | Array | 二维数组类型,基金关联结构因子 |
CorrArr := array(
("代码":"OF000001","名称":"华夏成长","备注":NIL,"OF000001":0.0,"OF005544":5.1043,"OF002251":19.3619),
("代码":"OF005544","名称":"银华瑞和","备注":NIL,"OF000001":5.1043,"OF005544":0.0,"OF002251":10.2612),
("代码":"OF002251","名称":"华夏军工安全A","备注":NIL,"OF000001":19.3619,"OF005544":10.2612,"OF002251":0.0));
matrixType := 0;
return Funds_AssocFactor_NW(CorrArr,matrixType);
//结果
