texalib

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: Apache-2.0 Imports: 2 Imported by: 4

README

texalib

CodeFactor

Math library supporting the texa web repo.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Average

func Average(xs []uint64) float64

Average calculates the average of the given array

func Convert

func Convert(xs []string) []uint64

Convert is responsible for converting and expoting the string array received from the /texa webpage

func GetMeanTestScore

func GetMeanTestScore(QSA []uint64) float64

GetMeanTestScore returns the average of the QSA of AI & HI - ArtiQSA & HumanQSA respectively

func GetTransactionSeries

func GetTransactionSeries(ArtiQSA []uint64, HumanQSA []uint64) []uint64

GetTransactionSeries return an array of alternate QSA values

func SetHumanQSA

func SetHumanQSA(xs []uint64) []uint64

SetHumanQSA creates and returns the Quantum Score Array for Human Intelligence

func Total

func Total(xs []uint64) uint64

Total calculates the sum total of the given array

Types

This section is empty.

Jump to

Keyboard shortcuts

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