Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertCoordinatesToMatrix ¶
func ConvertCoordinatesToMatrix(points []Coordinate) lialg.Matrix
func PlotDistribution ¶
func PlotDistribution(items []Coordinate, path string) error
plots given items and saves the plot at specified path
func PlotSelectedPoints ¶
func PlotSelectedPoints(items, selectedPoints []Coordinate, path string) error
plots points and selected Points each in different colors and saves the plot at specified location
Types ¶
type Coordinate ¶
type Coordinate struct{ X1, X2 float64 }
only used for visualizing 2D Vectors
func ConvertMatrixToCoordinateSlice ¶
func ConvertMatrixToCoordinateSlice(matrix *lialg.Matrix) []Coordinate
func ConvertSliceToCoordinate ¶
func ConvertSliceToCoordinate(point []float64) Coordinate
func CreateNormalDistribution ¶
func CreateNormalDistribution(mean, standardDeviation float64, numberOfItems int) []Coordinate
Click to show internal directories.
Click to hide internal directories.