rewriters

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2015 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package "rewriters" provides functions to rewrite the indexes or shape of matrix.

Index

Constants

View Source
const (
	UNKNOWN_REWRITER_ERROR = "UNKNOWN_REWRITER_ERROR"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Rewriter

type Rewriter interface {
	Serialize(writer io.Writer) error
	Rewrite(int, int) (int, int)
	Transpose() Rewriter
}

func Deserialize added in v0.1.1

func Deserialize(reader io.Reader) (Rewriter, error)

Deserialize a rewriter from the given reader. This accepts data generated with (Rewriter).Serialize.

func Reflect

func Reflect() Rewriter

func Reverse

func Reverse() Rewriter

Jump to

Keyboard shortcuts

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