- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for polar (0.14 sec)
-
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) -
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) -
src/math/cmplx/rect.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 348 bytes - Viewed (0) -
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) -
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) -
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) -
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) -
src/main/resources/fess_indices/fess/gl/stopwords.txt
moi na nas neste nin no non nos nosa nosas noso nosos nós nun nunha nuns nunhas o os ou ó ós para pero pode pois pola polas polo polos por que se senón ser seu seus sexa sido sobre súa súas tamén tan te ten teñen teño ter teu teus ti tido
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Jul 19 06:31:02 UTC 2018 - 932 bytes - Viewed (0) -
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) -
test/fixedbugs/bug085.go
uetli:~/Source/go1/test/bugs gri$ 6g bug085.go bug085.go:6: P: undefined Bus error */ /* expected scope hierarchy (outermost to innermost) universe scope (contains predeclared identifiers int, float32, int32, len, etc.) "solar" scope (just holds the package name P so it can be found but doesn't conflict) global scope (the package global scope) local scopes (function scopes)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 13 23:11:31 UTC 2012 - 633 bytes - Viewed (0)