geral

package
v0.0.0-...-4113e79 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Impedancia

func Impedancia(resistencia_linha string, reatancia_linha string, impedancia_atual complex128) complex128

Entrada: Resistencia, Reatancia, e a impedância atual Processo: Realiza o calculo da impedância

Caso já exista uma impedância atual, ele irá realizar o paralelo entre eles

Saída: Retorna o valor da impedância

func Quantidade_de_barras

func Quantidade_de_barras(tabela_excel *excelize.File) (int, []string)

func Retangular_To_Polar

func Retangular_To_Polar(valor complex128) string

func Round

func Round(valor float64, casas float64) float64

Arredondamento para uma determinada quantidade de casas decimais

func Round_cmplx

func Round_cmplx(valor complex128, casas float64) complex128

Arredonda numeros complexos

func String_para_float

func String_para_float(grandeza_str string) float64

Irá converter o tipo string para o tipo float64

func Valida_divisao_por_0

func Valida_divisao_por_0(num complex128, den complex128) complex128

func Valida_erro

func Valida_erro(err error)

Realiza a validação do erro

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL