代码搜索:average
找到约 5,196 项符合「average」的源代码
代码结果 5,196
www.eeworm.com/read/352344/10560583
c 5-2.c
#include "stdio.h"
struct student
{char name[8];
int score[3];
float avr;
}stu[2];
void main()
{
int xdata i, j, max, maxi, sum;
float average;
for(i=0; i
www.eeworm.com/read/422984/10595016
m work.m
N=500; %%%序列的点数
A= rand(1,N); ....... a:= 1.73*randn(500,1)
%%产生500个随机值(噪声),其均值在0.5左右,方差在0.08左右,因此要将其调整为均值为0,方差为3的序列
average=mean(A); %%求均值
for i=1:N
A(i)=A(i)-average;
www.eeworm.com/read/422941/10599983
m script.m
%This script averages the iterations for the Jacobi algorithm with sorting
%and without sorting for 100 matrices and also averages the difference
%between the two methods.
SortTotal = 0;
NoSort
www.eeworm.com/read/159601/10634884
c report.c
/*
* GENESIS Copyright (c) 1986, 1990 by John J. Grefenstette
* This program may be freely copied for educational
* and research purposes. All other rights reserved.
*
* file: report
www.eeworm.com/read/159519/10644410
java ch3ex19.java
public class ch3ex19{
public static void main(String[]args){
int sum=0,num;
double average;
for(int j=0;j
www.eeworm.com/read/422253/10652141
txt 12.txt
#include
void store(double ar[],int n);
void showall(double ar[],int a,int b);
double average(const double ar[],int n);
double averageall(const double ar[],int a,int b);
double max(co
www.eeworm.com/read/422200/10656937
cpp 6-4.cpp
#include
# define N 10
float average(float *p,int i)
{
float sum=0.0,aver;
for(i=0;i
www.eeworm.com/read/421976/10673169
c query.c
/* 学生成绩查询系统 */
# include
# include
void main( )
{
int select;
int i, j;
int score[5][7];
int average = 0;
int sum = 0;
do{
printf("本程序有4项功能:\n");
printf
www.eeworm.com/read/351013/10687936
m hoffmann.m
function b = hoffmann(Ea0,Ea,Ew,walkers,T,step,maxsteps,C)
% Equilibration method supplied with SA Tools.
% Copyright (c) 2002, by Richard Frost and Frost Concepts.
% See http://www.frostconcepts.c
www.eeworm.com/read/350960/10692482
c 2-9.c
#include"stdio.h"
main()
{
float T[4][7],sum,avg;
int i,j;
float f1,*f2;
clrscr();
sum=avg=0;
scanf("%f",&T[0][0]);
sum=sum+T[0][0];
for(i=0;i