// Create a 2x3 matrix m := matrix.NewFloatMatrix([][]float64{ {1, 2, 3}, {4, 5, 6}, }) // Multiply the matrix by a scalar m.Scale(2.0) // Create a 1x3 vector v := matrix.NewFloatArray([]float64{7, 8, 9}) // Add the vector to the first row of the matrix m.Row(0).Add(v)In this example, we first create a 2x3 matrix using `NewFloatMatrix` and initialize it with some values. We then use the `Scale` method to multiply the matrix by a scalar value of 2. Next, we create a 1x3 vector using `NewFloatArray` and initialize it with some values. We use the `Row` method to select the first row of the matrix and the `Add` method to add the vector to that row. Overall, this package provides a convenient and efficient way to perform common matrix operations in Go.