dense

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2015 License: MIT Imports: 3 Imported by: 4

Documentation

Overview

Package "dense" provides an implementation of mutable dense matrix.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(rows, columns int) func(elements ...float64) types.Matrix

Create a new matrix with given elements. When "rows" and "columns" is not positive, validates.NON_POSITIVE_SIZE_PANIC will be caused. In addition, when the product of "row"s and "column" doesn't equal to the size of "elements", validates.INVALID_ELEMENTS_PANIC will be caused.

func Zeros

func Zeros(rows, columns int) types.Matrix

Create a new zero matrix. When "rows" and "columns" is not positive, validates.NON_POSITIVE_SIZE_PANIC will be caused.

Types

This section is empty.

Jump to

Keyboard shortcuts

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