Documentation ¶
Index ¶
- type Matrix
- func (m1 *Matrix) Add(m2 *Matrix) *Matrix
- func (m *Matrix) AddRow(row []float64) *Matrix
- func (m *Matrix) At(row, col int) float64
- func (m *Matrix) Copy() *Matrix
- func (m *Matrix) Equals(m2 *Matrix) bool
- func (m *Matrix) GetCol(j int) *Matrix
- func (m *Matrix) GetNbCols() int
- func (m *Matrix) GetNbRows() int
- func (m *Matrix) GetRow(i int) *Matrix
- func (m *Matrix) Normalize4() *Matrix
- func (m1 *Matrix) Product(m2 *Matrix) *Matrix
- func (m *Matrix) ScalarMultiply(s float64) *Matrix
- func (m *Matrix) Transpose() *Matrix
- func (m *Matrix) VectorLength() float64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Matrix ¶
type Matrix struct {
Data [][]float64
}
func NewVector3 ¶
func NewVector4 ¶
func (*Matrix) Normalize4 ¶
func (*Matrix) ScalarMultiply ¶
func (*Matrix) VectorLength ¶
Click to show internal directories.
Click to hide internal directories.