normalize

package
v1.0.0-alpha Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2021 License: BSD-3-Clause, MIT Imports: 1 Imported by: 0

Documentation

Overview

Package normalize has functions for normalization.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Matrix

func Matrix(matrix [][]float64) (normalized [][]float64)

Matrix normalizes every row in a matrix to one.

func Slice

func Slice(unnormalized []float64) (normalized []float64)

Slice normalizes the values in a slice to one. The greatest value in the slice will be one and the other values will be divided by this.

Types

This section is empty.

Jump to

Keyboard shortcuts

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