annotate build/linux/amd64/clapack.h @ 321:f1e6be2de9a5

A threshold (delta) is added in the peak picking parameters structure (PPickParams). It is used as an offset when computing the smoothed detection function. A constructor for the structure PPickParams is also added to set the parameters to 0 when a structure instance is created. Hence programmes using the peak picking parameter structure and which do not set the delta parameter (e.g. QM Vamp note onset detector) won't be affected by the modifications. Functions modified: - dsp/onsets/PeakPicking.cpp - dsp/onsets/PeakPicking.h - dsp/signalconditioning/DFProcess.cpp - dsp/signalconditioning/DFProcess.h
author mathieub <mathieu.barthet@eecs.qmul.ac.uk>
date Mon, 20 Jun 2011 19:01:48 +0100
parents 11bf038ecfb5
children
rev   line source
c@315 1 /*
c@315 2 * Automatically Tuned Linear Algebra Software v3.8.0
c@315 3 * (C) Copyright 1999 R. Clint Whaley
c@315 4 *
c@315 5 * Redistribution and use in source and binary forms, with or without
c@315 6 * modification, are permitted provided that the following conditions
c@315 7 * are met:
c@315 8 * 1. Redistributions of source code must retain the above copyright
c@315 9 * notice, this list of conditions and the following disclaimer.
c@315 10 * 2. Redistributions in binary form must reproduce the above copyright
c@315 11 * notice, this list of conditions, and the following disclaimer in the
c@315 12 * documentation and/or other materials provided with the distribution.
c@315 13 * 3. The name of the ATLAS group or the names of its contributers may
c@315 14 * not be used to endorse or promote products derived from this
c@315 15 * software without specific written permission.
c@315 16 *
c@315 17 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
c@315 18 * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
c@315 19 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
c@315 20 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE ATLAS GROUP OR ITS CONTRIBUTORS
c@315 21 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
c@315 22 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
c@315 23 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
c@315 24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
c@315 25 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
c@315 26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
c@315 27 * POSSIBILITY OF SUCH DAMAGE.
c@315 28 *
c@315 29 */
c@315 30
c@315 31 #ifndef CLAPACK_H
c@315 32
c@315 33 #define CLAPACK_H
c@315 34 #include "cblas.h"
c@315 35
c@315 36 #ifndef ATLAS_ORDER
c@315 37 #define ATLAS_ORDER CBLAS_ORDER
c@315 38 #endif
c@315 39 #ifndef ATLAS_UPLO
c@315 40 #define ATLAS_UPLO CBLAS_UPLO
c@315 41 #endif
c@315 42 #ifndef ATLAS_DIAG
c@315 43 #define ATLAS_DIAG CBLAS_DIAG
c@315 44 #endif
c@315 45 int clapack_sgesv(const enum CBLAS_ORDER Order, const int N, const int NRHS,
c@315 46 float *A, const int lda, int *ipiv,
c@315 47 float *B, const int ldb);
c@315 48 int clapack_sgetrf(const enum CBLAS_ORDER Order, const int M, const int N,
c@315 49 float *A, const int lda, int *ipiv);
c@315 50 int clapack_sgetrs
c@315 51 (const enum CBLAS_ORDER Order, const enum CBLAS_TRANSPOSE Trans,
c@315 52 const int N, const int NRHS, const float *A, const int lda,
c@315 53 const int *ipiv, float *B, const int ldb);
c@315 54 int clapack_sgetri(const enum CBLAS_ORDER Order, const int N, float *A,
c@315 55 const int lda, const int *ipiv);
c@315 56 int clapack_sposv(const enum ATLAS_ORDER Order, const enum ATLAS_UPLO Uplo,
c@315 57 const int N, const int NRHS, float *A, const int lda,
c@315 58 float *B, const int ldb);
c@315 59 int clapack_spotrf(const enum ATLAS_ORDER Order, const enum ATLAS_UPLO Uplo,
c@315 60 const int N, float *A, const int lda);
c@315 61 int clapack_spotrs(const enum CBLAS_ORDER Order, const enum CBLAS_UPLO Uplo,
c@315 62 const int N, const int NRHS, const float *A, const int lda,
c@315 63 float *B, const int ldb);
c@315 64 int clapack_spotri(const enum ATLAS_ORDER Order, const enum ATLAS_UPLO Uplo,
c@315 65 const int N, float *A, const int lda);
c@315 66 int clapack_slauum(const enum ATLAS_ORDER Order, const enum ATLAS_UPLO Uplo,
c@315 67 const int N, float *A, const int lda);
c@315 68 int clapack_strtri(const enum ATLAS_ORDER Order,const enum ATLAS_UPLO Uplo,
c@315 69 const enum ATLAS_DIAG Diag,const int N, float *A, const int lda);
c@315 70
c@315 71 int clapack_dgesv(const enum CBLAS_ORDER Order, const int N, const int NRHS,
c@315 72 double *A, const int lda, int *ipiv,
c@315 73 double *B, const int ldb);
c@315 74 int clapack_dgetrf(const enum CBLAS_ORDER Order, const int M, const int N,
c@315 75 double *A, const int lda, int *ipiv);
c@315 76 int clapack_dgetrs
c@315 77 (const enum CBLAS_ORDER Order, const enum CBLAS_TRANSPOSE Trans,
c@315 78 const int N, const int NRHS, const double *A, const int lda,
c@315 79 const int *ipiv, double *B, const int ldb);
c@315 80 int clapack_dgetri(const enum CBLAS_ORDER Order, const int N, double *A,
c@315 81 const int lda, const int *ipiv);
c@315 82 int clapack_dposv(const enum ATLAS_ORDER Order, const enum ATLAS_UPLO Uplo,
c@315 83 const int N, const int NRHS, double *A, const int lda,
c@315 84 double *B, const int ldb);
c@315 85 int clapack_dpotrf(const enum ATLAS_ORDER Order, const enum ATLAS_UPLO Uplo,
c@315 86 const int N, double *A, const int lda);
c@315 87 int clapack_dpotrs(const enum CBLAS_ORDER Order, const enum CBLAS_UPLO Uplo,
c@315 88 const int N, const int NRHS, const double *A, const int lda,
c@315 89 double *B, const int ldb);
c@315 90 int clapack_dpotri(const enum ATLAS_ORDER Order, const enum ATLAS_UPLO Uplo,
c@315 91 const int N, double *A, const int lda);
c@315 92 int clapack_dlauum(const enum ATLAS_ORDER Order, const enum ATLAS_UPLO Uplo,
c@315 93 const int N, double *A, const int lda);
c@315 94 int clapack_dtrtri(const enum ATLAS_ORDER Order,const enum ATLAS_UPLO Uplo,
c@315 95 const enum ATLAS_DIAG Diag,const int N, double *A, const int lda);
c@315 96
c@315 97 int clapack_cgesv(const enum CBLAS_ORDER Order, const int N, const int NRHS,
c@315 98 void *A, const int lda, int *ipiv,
c@315 99 void *B, const int ldb);
c@315 100 int clapack_cgetrf(const enum CBLAS_ORDER Order, const int M, const int N,
c@315 101 void *A, const int lda, int *ipiv);
c@315 102 int clapack_cgetrs
c@315 103 (const enum CBLAS_ORDER Order, const enum CBLAS_TRANSPOSE Trans,
c@315 104 const int N, const int NRHS, const void *A, const int lda,
c@315 105 const int *ipiv, void *B, const int ldb);
c@315 106 int clapack_cgetri(const enum CBLAS_ORDER Order, const int N, void *A,
c@315 107 const int lda, const int *ipiv);
c@315 108 int clapack_cposv(const enum ATLAS_ORDER Order, const enum ATLAS_UPLO Uplo,
c@315 109 const int N, const int NRHS, void *A, const int lda,
c@315 110 void *B, const int ldb);
c@315 111 int clapack_cpotrf(const enum ATLAS_ORDER Order, const enum ATLAS_UPLO Uplo,
c@315 112 const int N, void *A, const int lda);
c@315 113 int clapack_cpotrs(const enum CBLAS_ORDER Order, const enum CBLAS_UPLO Uplo,
c@315 114 const int N, const int NRHS, const void *A, const int lda,
c@315 115 void *B, const int ldb);
c@315 116 int clapack_cpotri(const enum ATLAS_ORDER Order, const enum ATLAS_UPLO Uplo,
c@315 117 const int N, void *A, const int lda);
c@315 118 int clapack_clauum(const enum ATLAS_ORDER Order, const enum ATLAS_UPLO Uplo,
c@315 119 const int N, void *A, const int lda);
c@315 120 int clapack_ctrtri(const enum ATLAS_ORDER Order,const enum ATLAS_UPLO Uplo,
c@315 121 const enum ATLAS_DIAG Diag,const int N, void *A, const int lda);
c@315 122
c@315 123 int clapack_zgesv(const enum CBLAS_ORDER Order, const int N, const int NRHS,
c@315 124 void *A, const int lda, int *ipiv,
c@315 125 void *B, const int ldb);
c@315 126 int clapack_zgetrf(const enum CBLAS_ORDER Order, const int M, const int N,
c@315 127 void *A, const int lda, int *ipiv);
c@315 128 int clapack_zgetrs
c@315 129 (const enum CBLAS_ORDER Order, const enum CBLAS_TRANSPOSE Trans,
c@315 130 const int N, const int NRHS, const void *A, const int lda,
c@315 131 const int *ipiv, void *B, const int ldb);
c@315 132 int clapack_zgetri(const enum CBLAS_ORDER Order, const int N, void *A,
c@315 133 const int lda, const int *ipiv);
c@315 134 int clapack_zposv(const enum ATLAS_ORDER Order, const enum ATLAS_UPLO Uplo,
c@315 135 const int N, const int NRHS, void *A, const int lda,
c@315 136 void *B, const int ldb);
c@315 137 int clapack_zpotrf(const enum ATLAS_ORDER Order, const enum ATLAS_UPLO Uplo,
c@315 138 const int N, void *A, const int lda);
c@315 139 int clapack_zpotrs(const enum CBLAS_ORDER Order, const enum CBLAS_UPLO Uplo,
c@315 140 const int N, const int NRHS, const void *A, const int lda,
c@315 141 void *B, const int ldb);
c@315 142 int clapack_zpotri(const enum ATLAS_ORDER Order, const enum ATLAS_UPLO Uplo,
c@315 143 const int N, void *A, const int lda);
c@315 144 int clapack_zlauum(const enum ATLAS_ORDER Order, const enum ATLAS_UPLO Uplo,
c@315 145 const int N, void *A, const int lda);
c@315 146 int clapack_ztrtri(const enum ATLAS_ORDER Order,const enum ATLAS_UPLO Uplo,
c@315 147 const enum ATLAS_DIAG Diag,const int N, void *A, const int lda);
c@315 148
c@315 149 #endif