Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for polar (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/sort/example_keys_test.go

    package sort_test
    
    import (
    	"fmt"
    	"sort"
    )
    
    // A couple of type definitions to make the units clear.
    type earthMass float64
    type au float64
    
    // A Planet defines the properties of a solar system object.
    type Planet struct {
    	name     string
    	mass     earthMass
    	distance au
    }
    
    // By is the type of a "less" function that defines the ordering of its Planet arguments.
    type By func(p1, p2 *Planet) bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 20:48:39 UTC 2017
    - 2.7K bytes
    - Viewed (0)
  8. src/main/webapp/js/admin/plugins/form-validator/lang/pl.js

    a,b){"use strict";a.formUtils.registerLoadedModule("lang/pl"),a(b).bind("validatorsLoaded",function(){a.formUtils.LANG={errorTitle:"Złożenie formularza nie powiodło się!",requiredField:"To pole jest wymagane",requiredfields:"Nie wszystkie wymagane pola zostały wypełnione",badTime:"Wprowadzono niepoprawny czas",badEmail:"Wprowadzono niepoprawny adres e-mail",badTelephone:"Wprowadzono niepoprawny numeru telefonu",badSecurityAnswer:"Nieprawidłowa odpowiedź na pytanie bezpieczeństwa",badDate:"Niepoprawna...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 2.9K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/schema-extra-example.md

        Se as ideias explicadas acima já funcionam para você, isso pode ser o suficiente, e você provavelmente não precisa desses detalhes, fique à vontade para pular.
    
    Quando você adiciona um exemplo dentro de um modelo Pydantic, usando `schema_extra` ou` Field(example="something") `esse exemplo é adicionado ao **JSON Schema** para esse modelo Pydantic.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. docs/pt/docs/advanced/events.md

    !!! warning "Aviso"
        A maneira recomendada para lidar com a *inicialização* e o *encerramento* é usando o parâmetro `lifespan` da aplicação `FastAPI` como descrito acima.
    
        Você provavelmente pode pular essa parte.
    
    Existe uma forma alternativa para definir a execução dessa lógica durante *inicialização* e durante *encerramento*.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top