Documentation ¶
Overview ¶
Package conv provides matrix type interconversion utilities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Complex ¶
type Complex struct {
// contains filtered or unexported fields
}
Complex is a complex matrix constructed from two real matrices.
func NewComplex ¶
NewComplex returns a complex matrix constructed from r and i. At least one of r or i must be non-nil otherwise NewComplex will panic. If one of the inputs is nil, that part of the complex number will be zero when returned by At. If both are non-nil but differ in their sizes, NewComplex will panic.
func (Complex) At ¶
func (m Complex) At(i, j int) complex128
At returns the element at row i, column j.
type Imag ¶
type Imag struct {
// contains filtered or unexported fields
}
Imag is the imaginary part of a complex matrix.
Click to show internal directories.
Click to hide internal directories.