class BLAS {

	public static void gemv(double alpha, DenseMatrix matA, boolean transA,
							DenseVector x, double beta, DenseVector y) {
		gemvDimensionCheck(matA, transA, x, y);
		final int m = matA.numRows();
		final int n = matA.numCols();
		final int lda = matA.numRows();
		final String ta = transA ? "T" : "N";
		NATIVE_BLAS.dgemv(ta, m, n, alpha, matA.getData(), lda, x.getData(), 1, beta, y.getData(), 1);
	}

}