知识库
>
金融建模
>
公用函数
>
扩展函数
>
数组
>
表格类型
QuickIntersectionPart
复制链接
简述
快速求交集,原数组必须为有序表
定义
QuickIntersectionPart(v:Array,w):Array
参数
V:一维数组
W:二维数组
返回:数组,两个数组的交集
范例:
t1:=array(1.00,3.00,2.00,9.00,8.00);
t2:=array(3.00,0.00,7.00,8.00,1.00,5.00);
return IntersectionPart(t1,t2);
//结果:1,3,8
相关
DistinctStr
GetSubField
GetSubTable
GetValuesByFieldValue
IntersectionPart
QuickIntersectionPart
QuickRecordExist
RotateTable
NonIntersectionPart