Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for polarSC (0.12 sec)

  1. src/math/cmplx/cmath_test.go

    	for i := 0; i < len(vc); i++ {
    		if r, theta := Polar(vc[i]); !veryclose(polar[i].r, r) && !veryclose(polar[i].theta, theta) {
    			t.Errorf("Polar(%g) = %g, %g want %g, %g", vc[i], r, theta, polar[i].r, polar[i].theta)
    		}
    	}
    	for i := 0; i < len(vcPolarSC); i++ {
    		if r, theta := Polar(vcPolarSC[i]); !alike(polarSC[i].r, r) && !alike(polarSC[i].theta, theta) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 03:16:37 UTC 2020
    - 48.1K bytes
    - Viewed (0)
  2. src/math/cmplx/polar.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package cmplx
    
    // Polar returns the absolute value r and phase θ of x,
    // such that x = r * e**θi.
    // The phase is in the range [-Pi, Pi].
    func Polar(x complex128) (r, θ float64) {
    	return Abs(x), Phase(x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 371 bytes
    - Viewed (0)
  3. test/fixedbugs/bug007.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    type (
    	Point struct {
    		x, y float64
    	}
    	Polar Point
    )
    
    func main() {
    }
    
    /*
    bug7.go:5: addtyp: renaming Point to Polar
    main.go.c:14: error: redefinition of typedef ‘_T_2’
    main.go.c:13: error: previous declaration of ‘_T_2’ was here
    main.go.c:16: error: redefinition of ‘struct _T_2’
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:48:57 UTC 2012
    - 481 bytes
    - Viewed (0)
  4. src/math/cmplx/rect.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package cmplx
    
    import "math"
    
    // Rect returns the complex number x with polar coordinates r, θ.
    func Rect(r, θ float64) complex128 {
    	s, c := math.Sincos(θ)
    	return complex(r*c, r*s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 348 bytes
    - Viewed (0)
  5. src/math/cmplx/example_test.go

    	// Output: 5.0
    }
    
    // ExampleExp computes Euler's identity.
    func ExampleExp() {
    	fmt.Printf("%.1f", cmplx.Exp(1i*math.Pi)+1)
    	// Output: (0.0+0.0i)
    }
    
    func ExamplePolar() {
    	r, theta := cmplx.Polar(2i)
    	fmt.Printf("r: %.1f, θ: %.1f*π", r, theta/math.Pi)
    	// Output: r: 2.0, θ: 0.5*π
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 06 19:49:12 UTC 2016
    - 567 bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     *     .scheme("https")
     *     .host("www.google.com")
     *     .addPathSegment("search")
     *     .addQueryParameter("q", "polar bears")
     *     .build();
     * System.out.println(url);
     * ```
     *
     * which prints:
     *
     * ```
     * https://www.google.com/search?q=polar%20bears
     * ```
     *
     * As another example, this code prints the human-readable query parameters of a Twitter search:
     *
     * ```java
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  7. doc/go1.17_spec.html

    the identifier, it serves as an <i>alias</i> for the type.
    </p>
    
    <pre>
    type (
    	nodeList = []*Node  // nodeList and []*Node are identical types
    	Polar    = polar    // Polar and polar denote identical types
    )
    </pre>
    
    
    <h4 id="Type_definitions">Type definitions</h4>
    
    <p>
    A type definition creates a new, distinct type with the same
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  8. doc/go_spec.html

    the identifier, it serves as an <i>alias</i> for the type.
    </p>
    
    <pre>
    type (
    	nodeList = []*Node  // nodeList and []*Node are identical types
    	Polar    = polar    // Polar and polar denote identical types
    )
    </pre>
    
    
    <h4 id="Type_definitions">Type definitions</h4>
    
    <p>
    A type definition creates a new, distinct type with the same
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (1)
  9. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"Cot", Func, 0},
    		{"Exp", Func, 0},
    		{"Inf", Func, 0},
    		{"IsInf", Func, 0},
    		{"IsNaN", Func, 0},
    		{"Log", Func, 0},
    		{"Log10", Func, 0},
    		{"NaN", Func, 0},
    		{"Phase", Func, 0},
    		{"Polar", Func, 0},
    		{"Pow", Func, 0},
    		{"Rect", Func, 0},
    		{"Sin", Func, 0},
    		{"Sinh", Func, 0},
    		{"Sqrt", Func, 0},
    		{"Tan", Func, 0},
    		{"Tanh", Func, 0},
    	},
    	"math/rand": {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  10. src/compress/bzip2/testdata/Isaac.Newton-Opticks.txt.bz2

    same way upon the Rays of Light for causing the unusual Refraction, may it not be supposed that in the Formation of this Crystal, the Particles not only ranged themselves in rank and file for concreting in regular Figures, but also by some kind of polar Virtue turned their homogeneal Sides the same way. The Parts of all homogeneal hard Bodies which fully touch one another, stick together very strongly. And for explaining how this may be, some have invented hooked Atoms, which is begging the Question;...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 24 18:26:02 UTC 2018
    - 129.4K bytes
    - Viewed (0)
Back to top