代码搜索:complex
找到约 10,000 项符合「complex」的源代码
代码结果 10,000
www.eeworm.com/read/126430/6016683
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/126430/6017295
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
www.eeworm.com/read/126430/6017530
c complex.c
#include
typedef struct FCOMPLEX {float r,i;} fcomplex;
#if defined(__STDC__) || defined(ANSI) || defined(NRANSI) /* ANSI */
fcomplex Cadd(fcomplex a, fcomplex b)
{
fcomplex c;
www.eeworm.com/read/126430/6017537
h complex.h
#ifndef _NR_COMPLEX_H_
#define _NR_COMPLEX_H_
#ifndef _FCOMPLEX_DECLARE_T_
typedef struct FCOMPLEX {float r,i;} fcomplex;
#define _FCOMPLEX_DECLARE_T_
#endif /* _FCOMPLEX_DECLARE_T_ */
#if d
www.eeworm.com/read/125439/6029245
java complex.java
package com.javapatterns.immutable.complex;
final public class Complex extends Number
implements java.io.Serializable, Cloneable, Comparable
{
static final public Complex i = new Complex(0.0,
www.eeworm.com/read/125114/6034022
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/124347/6051113
h complex.h
/* Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it un
www.eeworm.com/read/122492/6065740
java complex.java
package numbercruncher.mathutils;
/**
* Perform basic complex arithmetic. The complex objects are
* immutable, and complex operations create new complex objects.
*/
public class Complex {
www.eeworm.com/read/116971/6112135
java complex.java
// Page 64
public final class Complex {
private final float re;
private final float im;
public Complex(float re, float im) {
this.re = re;
this.im = im;
}
www.eeworm.com/read/116971/6112136
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