代码搜索:average
找到约 5,196 项符合「average」的源代码
代码结果 5,196
www.eeworm.com/read/479866/6681867
cpp arrays1.cpp
#include
#include
#include
#include
using namespace std;
void calculateAverage(ifstream& inp,ofstream& outp, double& courseAvg);
char calculateGrade(dou
www.eeworm.com/read/479447/6687130
sta main.sta
ROM used: 7584 (23%)
7588 (23%) including unused fragments
2 Average locations per line
14 Average locations per statement
RAM used: 24 (2%) at main() level
www.eeworm.com/read/476734/6748959
asv select.asv
function [y,y1]=select(ImageData,h,w)
thr=0.5;delta=0.05;
%
y=(ImageData>=thr*mean(max(ImageData))); %对值大于最大值的1/2的部分进行处理
BW2=bwareaopen(y,10);SE=strel('square',15);
IM2=imdilate(BW2,S
www.eeworm.com/read/476734/6748963
m select.m
function [y,y1]=select(ImageData,h,w)
thr=0.5;delta=0.05;
%
y=(ImageData>=thr*mean(max(ImageData))); %对值大于最大值的1/2的部分进行处理
BW2=bwareaopen(y,10);SE=strel('square',15);
IM2=imdilate(BW2,S
www.eeworm.com/read/476808/6751027
sta picusb.sta
ROM used: 3668 (11%)
3668 (11%) including unused fragments
1 Average locations per line
6 Average locations per statement
RAM used: 430 (21%) at main() level
www.eeworm.com/read/476573/6756181
java halfdollars.java
class HalfDollars {
public static void main(String[] arguments) {
int[] denver = { 15000006, 18810000, 20752110 };
int[] philadelphia = new int[denver.length];
int[] to
www.eeworm.com/read/476355/6757978
c math.c
#include
void main ()
{
int seconds_in_an_hour;
float average;
seconds_in_an_hour = 60 * 60;
average = (5 + 10 + 15 + 20) / 4;
printf("The number of secon
www.eeworm.com/read/476396/6760234
m ch5_2_1.m
%%%% 5-2-1-1 邻域平均的线性平滑滤波法实现降噪的源程序如下:
clear all;
I=imread('E:\temp\pinghualvboyuantu.bmp');
%读入预处理图像
imshow(I)
%显示预处理图像
K1=filter2(fspecial('average',3),I)/255;
%进行3*3均值滤波
K2=filter2(fspecial
www.eeworm.com/read/410432/11287566
c flexmemb.c
// flexmemb.c -- flexible array member
#include
#include
struct flex
{
int count;
double average;
double scores[]; // flexible array member
};
void sho
www.eeworm.com/read/264889/11296099
cpp 5_6.cpp
#include
using namespace std;
int Average(int i)
{ static int sum = 0, count = 0; //声明静态局部变量,具有全局寿命,局部可见
sum = sum + i; count++;
return sum / count;
}
int main()
{ int num