代码搜索:intersect
找到约 481 项符合「intersect」的源代码
代码结果 481
www.eeworm.com/read/229621/14326486
m pmxindexxover.m
function [c1,c2] = pmxIndexXover(p1,p2,bounds,Ops)
%there is an PMX xover
pm=Ops(2); %the probility of xover
rN=rand
www.eeworm.com/read/219349/14886901
m examp10_1.m
A=[1,4,5,8,7,3]; B=[2,4,6,8,10]; C=[1,7,4,2,7,9,8]; % 集合定义
D=unique(C) % 求解唯一运算,可见从 C 中剔除了重复的 7
E=union(A,B) % 求出并集
F=intersect(A,B) % 求出交集
G=setdiff(intersect(union(A,B),C),union(inte
www.eeworm.com/read/114202/15065420
sql 交集.sql
(select distinct customer_name
from depositor)
intersect
(select distinct customer_name
from borrower);
www.eeworm.com/read/168013/5450241
js x_misc.js
// x_misc.js, part of X, a Cross-Browser.com Javascript Library
// Copyright (C) 2001,2002,2003,2004,2005 Michael Foster - Distributed under the terms of the GNU LGPL - OSI Certified
// File Rev: 4
www.eeworm.com/read/473179/6857548
txt 矩形切割.txt
//矩形切割
//intersect函数构造矩形a和b的交集
//cut函数将b关于a进行切割,用切下的矩形作参数调用dummy函数
struct rect{
int x1,x2,y1,y2;
rect(){}
rect(int a,int b,int c,int d):x1(a),x2(b),y1(c),y2(d){}
};
inline rect intersect(
www.eeworm.com/read/473191/6857928
txt 矩形切割.txt
//矩形切割
//intersect函数构造矩形a和b的交集
//cut函数将b关于a进行切割,用切下的矩形作参数调用dummy函数
struct rect{
int x1,x2,y1,y2;
rect(){}
rect(int a,int b,int c,int d):x1(a),x2(b),y1(c),y2(d){}
};
inline rect intersect(
www.eeworm.com/read/368000/9719961
m checkonebank.m
function choose=checkonebank(inputa)
Aeq=[];beq=[];outputb=[];
for i=1:9
for j=1:9
if (isempty(intersect(inputa(i,j),[1,2,3,4,5,6,7,8,9])))
inputa(i,j)=0;
end
www.eeworm.com/read/414609/11107874
cpp main.cpp
#include "LList.h"
#include
using namespace std;
///////this can test two intersect links
bool intersect(LList l1,LList l2);
void print(LList l1,LList l2);
int main() {
//constuct t
www.eeworm.com/read/205036/15328908
m eq.m
function z = eq(x,y)
%EQ Equal (==) for sptensors.
%
% A == B compares the elements of A and B for equality. The arguments can
% be a pair of sptensors, an sptensor and a tensor, or an sptensor an
www.eeworm.com/read/110826/15524239
txt readme.txt
编译:mpicc intersect.c –o intersect
运行:可以使用命令 mpirun –np SIZE intersect来运行该串匹配程序,其中SIZE是所使用的处理器个数,本实例中使用了SIZE=3个处理器。
mpirun –np 3 intersect
运行结果:
输入:
please input first polygon
please input the coun