代码搜索:Reduce
找到约 3,959 项符合「Reduce」的源代码
代码结果 3,959
www.eeworm.com/read/172911/9682784
c reduce.c
/* Grammar reduction for Bison.
Copyright (C) 1988, 1989 Free Software Foundation, Inc.
This file is part of Bison, the GNU Compiler Compiler.
Bison is free software; you can redistribute it and/
www.eeworm.com/read/413528/11152246
cpp reduce.cpp
//
// Reduce
// Averages rectangular windows in the image to produce an image of smaller
// size. The reduction factor must always divide the image size, otherwise
// an error results.
//
www.eeworm.com/read/413528/11152407
h reduce.h
//
// Reduce image size by a whole factor horizontally and vertically, using block averaging.
//
// Copyright (C) 2003, 2006 by Jon A. Webb (Contact via GMail; username is jonawebb)
//
// This li
www.eeworm.com/read/238452/13886894
m reduce.m
function s=reduce(p);
s=cell(length(p),1);
for i=1:length(p)
s{i}=i;
end
while length(s) > 2
[p,i]=sort(p);
p(2)=p(1)+p(2);
p(1)=[];
s=s(i);
s{2}={s{1},s{2}};
s(1)=[];
end
www.eeworm.com/read/237003/13982826
cpp reduce.cpp
/*****************************************************************************
* reduce.cpp Blitz++ array reduction example
*
* This example illustrates the array reduction functions provided b
www.eeworm.com/read/237003/13982979
h reduce.h
/***************************************************************************
* blitz/reduce.h Reduction operators: sum, mean, min, max,
* minIndex, maxIndex, product, co
www.eeworm.com/read/237003/13983165
h reduce.h
// -*- C++ -*-
/***************************************************************************
* blitz/array/reduce.h Reductions of an array (or array expression) in a
* singl
www.eeworm.com/read/237003/13983226
cc reduce.cc
/***************************************************************************
* blitz/array/reduce.cc Array reductions.
*
* Copyright (C) 1997-2001 Todd Veldhuizen
*
* T
www.eeworm.com/read/237003/13983954
cpp reduce.cpp
#include "testsuite.h"
#include
BZ_USING_NAMESPACE(blitz)
int main()
{
Array A(4,3);
A = 0, 1, 2,
3, 4, 5,
6, 7, 8,
9, 10, 11;
BZTEST(