代码搜索:complex
找到约 10,000 项符合「complex」的源代码
代码结果 10,000
www.eeworm.com/read/113030/6142289
cpp complex.cpp
// Chapter 6 of C++ How to Program
// complex.cpp
#include
using std::cout;
using std::endl;
#include "complex.h"
int main()
{
Complex b( 1, 7 ), c( 9, 2 );
b.printCo
www.eeworm.com/read/113030/6142290
h complex.h
// Chapter 6 of C++ How to Program
// complex.h
#ifndef COMPLEX_H
#define COMPLEX_H
/* Write class definition for Complex */
#endif // COMPLEX_H
/****************************************
www.eeworm.com/read/113030/6142350
cpp complex.cpp
// Chapter 8 of C++ How to Program
// Programming Challenge 10
#include "complex.h"
#include
using std::ostream;
using std::istream;
// Constructor
Complex::Complex( double r,
www.eeworm.com/read/113030/6142351
h complex.h
// Chapter 8 of C++ How to Program
// Programming Challenge 10
// complex.h
#ifndef COMPLEX_H
#define COMPLEX_H
#include
using std::ostream;
using std::istream;
// class Comp
www.eeworm.com/read/112742/6144015
java complex.java
// Static factory version of complex class - Page 68
public class Complex {
private final float re;
private final float im;
private Complex(float re, float im) {
this.re = r
www.eeworm.com/read/108102/6186705
java complex.java
package com.javapatterns.immutable.complex;
public final class Complex extends Number
implements java.io.Serializable, Cloneable, Comparable
{
private static final Complex i = new Complex(0.
www.eeworm.com/read/105889/6197158
java complex.java
/*$************************************************************************************************
**
** $Id: Complex.java,v 1.6 2004/03/19 04:11:44 desruisseaux Exp $
**
** $Source: /cvsroot/geo
www.eeworm.com/read/103451/6216001
h complex.h
/*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your own risk.
*
* Permission to use o
www.eeworm.com/read/102423/6232352
c complex.c
/* CAUTION: This is the traditional K&R C (only) version of the Numerical
Recipes utility file complex.c. Do not confuse this file with the
same-named file complex.c that is supplied in the s
www.eeworm.com/read/102423/6232964
c complex.c
/* CAUTION: This is the ANSI C (only) version of the Numerical Recipes
utility file complex.c. Do not confuse this file with the same-named
file complex.c that is supplied in the same subdire