Blame operations/external/matting-levin-cblas.h

Packit bc1512
/* This file is an image processing operation for GEGL
Packit bc1512
 *
Packit bc1512
 * GEGL is free software; you can redistribute it and/or
Packit bc1512
 * modify it under the terms of the GNU Lesser General Public
Packit bc1512
 * License as published by the Free Software Foundation; either
Packit bc1512
 * version 3 of the License, or (at your option) any later version.
Packit bc1512
 *
Packit bc1512
 * GEGL is distributed in the hope that it will be useful,
Packit bc1512
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit bc1512
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit bc1512
 * Lesser General Public License for more details.
Packit bc1512
 *
Packit bc1512
 * You should have received a copy of the GNU Lesser General Public
Packit bc1512
 * License along with GEGL; if not, see <http://www.gnu.org/licenses/>.
Packit bc1512
 *
Packit bc1512
 * This is derived from the (public domain) reference implementation on
Packit bc1512
 * netlib.
Packit bc1512
 */
Packit bc1512
Packit bc1512
#ifndef __MATTING_CBLAS_H__
Packit bc1512
#define __MATTING_CBLAS_H__
Packit bc1512
Packit bc1512
enum CBLAS_ORDER
Packit bc1512
{
Packit bc1512
  CblasRowMajor = 101,
Packit bc1512
  CblasColMajor = 102
Packit bc1512
};
Packit bc1512
Packit bc1512
Packit bc1512
enum CBLAS_TRANSPOSE
Packit bc1512
{
Packit bc1512
  CblasNoTrans   = 111,
Packit bc1512
  CblasTrans     = 112,
Packit bc1512
  CblasConjTrans = 113
Packit bc1512
};
Packit bc1512
Packit bc1512
   
Packit bc1512
Packit bc1512
gint cblas_dgemm(enum CBLAS_ORDER      order,
Packit bc1512
                 enum CBLAS_TRANSPOSE  transa,
Packit bc1512
                 enum CBLAS_TRANSPOSE  transb,
Packit bc1512
                 gint                  m,
Packit bc1512
                 gint                  n,
Packit bc1512
                 gint                  k,
Packit bc1512
                 gdouble               alpha,
Packit bc1512
                 const gdouble        *restrict a,
Packit bc1512
                 gint                  lda,
Packit bc1512
                 const gdouble        *restrict b,
Packit bc1512
                 gint                  ldb,
Packit bc1512
                 gdouble               beta,
Packit bc1512
                 gdouble              *restrict c,
Packit bc1512
                 gint                  ldc);
Packit bc1512
Packit bc1512
#endif