errors

package
v0.0.0-...-80c8c53 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info struct {
	Value          int
	ReferenceValue int
	AbsoluteError  int
	RelativeError  float64
}

Info represents values related to an error computation that are obtained based on original value and reference value.

func Calculate

func Calculate(referenceValue, value int) *Info

Calculate calculate errors between original value and reference value.

Jump to

Keyboard shortcuts

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