代码搜索:Vector
找到约 10,000 项符合「Vector」的源代码
代码结果 10,000
www.eeworm.com/read/171829/9735505
cpp gen_fib.cpp
// If you use Visual C++, set the compile options to /GX
#ifdef __BCPLUSPLUS__
#include
#include
#include
#else
#include
#include
#inc
www.eeworm.com/read/367345/9755659
cpp gen_fib.cpp
#include
#include
#include
using namespace std;
//return the next Fibonacci number in the Fibonacci series.
int Fibonacci(void)
{
static int r;
static int
www.eeworm.com/read/414000/11133809
hpp linalg.hpp
/*
* Copyright (c) 2005, Andrew Fernandes (andrew@fernandes.org);
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted prov
www.eeworm.com/read/413620/11149426
java bj.java
// Decompiled by DJ v3.9.9.91 Copyright 2005 Atanas Neshkov Date: 2006-5-1 19:31:42
// Home Page : http://members.fortunecity.com/neshkov/dj.html - Check often for new version!
// Decompiler optio
www.eeworm.com/read/335011/12555138
h wmlvector2.h
// Magic Software, Inc.
// http://www.magic-software.com
// http://www.wild-magic.com
// Copyright (c) 2004. All Rights Reserved
//
// The Wild Magic Library (WML) source code is supplied under
www.eeworm.com/read/334858/12568563
cc calcperpend.cc
#include "math.hh"
namespace bats {
/**
* Calculates the perpendicular vector to @v.
*/
Vector3D Math::calcPerpend(Vector3D const &v)
{
return Vector3D(1.0,-1.0/(v.getY()/v.getX()),
www.eeworm.com/read/237003/13983952
cpp initialize.cpp
#include "testsuite.h"
#include
BZ_USING_NAMESPACE(blitz)
int main()
{
Vector a(6);
a = 1, 4, 6, 3, 7, 8;
BZTEST(a(0) == 1);
BZTEST(a(1) == 4);
BZTEST(a(2)
www.eeworm.com/read/132413/14089972
c toeplz.c
#define FREERETURN {free_vector(h,1,n);free_vector(g,1,n);return;}
void toeplz(r,x,y,n)
float r[],x[],y[];
int n;
{
int j,k,m,m1,m2;
float pp,pt1,pt2,qq,qt1,qt2,sd,sgd,sgn,shn,sxn;
float *
www.eeworm.com/read/132413/14090176
c sort3.c
void sort3(n,ra,rb,rc)
int n;
float ra[],rb[],rc[];
{
int j,*iwksp,*ivector();
float *wksp,*vector();
void indexx(),free_vector(),free_ivector();
iwksp=ivector(1,n);
wksp=vector(1,n);