package main import ( "fmt" "github.com/henrylee2cn/algorithm/matrix" ) func main() { matrix := matrix.NewFloatMatrix(2, 2) matrix.Set(0, 0, 1.0) matrix.Set(0, 1, 2.0) matrix.Set(1, 0, 3.0) matrix.Set(1, 1, 4.0) matrix2 := matrix.NewFloatMatrix(2, 2) matrix2.Set(0, 0, 2.0) matrix2.Set(0, 1, 2.0) matrix2.Set(1, 0, 3.0) matrix2.Set(1, 1, 3.0) add := matrix.Add(matrix2) mult := matrix.Multiply(matrix2) fmt.Println("Addition:", add) fmt.Println("Multiplication:", mult) value := matrix.Get(0, 1) fmt.Println("Value at (0,1):", value) }In this example, we create two matrices and set their values using the `Set` method. We then perform addition and multiplication operations using the `Add` and `Multiply` methods, respectively. Finally, we retrieve a specific value from the matrix using the `Get` method. Overall, this package provides a useful and convenient way to perform matrix operations containing float values in Go.