vector

package
v0.0.0-...-d4941c9 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2019 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Vector

type Vector []complex128

func New

func New(z ...complex128) Vector

func NewZero

func NewZero(n int) Vector

func TensorProduct

func TensorProduct(v0 ...Vector) Vector

func TensorProductN

func TensorProductN(v0 Vector, bit ...int) Vector

func (Vector) Add

func (v0 Vector) Add(v1 Vector) Vector

func (Vector) Apply

func (v0 Vector) Apply(mat matrix.Matrix) Vector

func (Vector) Clone

func (v0 Vector) Clone() Vector

func (Vector) Dimension

func (v0 Vector) Dimension() int

func (Vector) Dual

func (v0 Vector) Dual() Vector

func (Vector) Equals

func (v0 Vector) Equals(v1 Vector, eps ...float64) bool

func (Vector) InnerProduct

func (v0 Vector) InnerProduct(v1 Vector) complex128

func (Vector) IsOrthogonal

func (v0 Vector) IsOrthogonal(v1 Vector) bool

func (Vector) IsUnit

func (v0 Vector) IsUnit() bool

func (Vector) Mul

func (v0 Vector) Mul(z complex128) Vector

func (Vector) Norm

func (v0 Vector) Norm() complex128

func (Vector) OuterProduct

func (v0 Vector) OuterProduct(v1 Vector) matrix.Matrix

func (Vector) TensorProduct

func (v0 Vector) TensorProduct(v1 Vector) Vector

Jump to

Keyboard shortcuts

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