IdentityMatrix returns a new identity matrix.
()
| 379 | |
| 380 | // IdentityMatrix returns a new identity matrix. |
| 381 | func IdentityMatrix() *Matrix { |
| 382 | return new(Matrix).Identity() |
| 383 | } |
| 384 | |
| 385 | // DotProduct returns the dot product between this and that |
| 386 | func DotProduct(this, that Point) float32 { |