Sponsored Content
Full Discussion: Clapack_dtrtri
Top Forums Programming Clapack_dtrtri Post 302933977 by chercheur111 on Tuesday 3rd of February 2015 04:27:31 PM
Old 02-03-2015
Clapack_dtrtri

Hello,

Please, i have used this function in my code :

Code:
int clapack_dtrtri(const enum ATLAS_ORDER Order,const enum ATLAS_UPLO Uplo, 
                   const enum ATLAS_DIAG Diag,const int N, double *A, const int lda); 

Code:
#include <stdio.h>
#include <stdlib.h>
#include "clapack.h"
#include "cblas.h"

int main(int argc, char **argv)
{

    double *a;
    double nsec,rap,ordre;
    int i,j,k,n,inc,dim,id;
    struct timespec start, end;
    int lda;
    double alpha=1.0;


    dim=atoi(argv[1]);
    //inc=atoi(argv[2]);
    lda=dim;

    a=(double *) malloc(dim*dim*sizeof(double));
    for(i=0;i<dim;i++)
         for(j=0;j<dim;j++)
          a[i*dim+j]= i*j;

    clapack_dtrtri(CblasRowMajor,CblasUpper,CblasNonUnit ,dim, a,lda);
    free(a);
    return(0);

}

but i have this error when i compile:

Code:
cc im.c -o im /usr/lib/liblapack_atlas.a /usr/lib/libcblas.a /usr/lib/libatlas.a
im.c:3:21: fatal error: clapack.h: No such file or directory
#include "clapack.h"
                     ^
compilation terminated.

Have you an idea please ?
Thanks a lot.
Best Regards.



Thanks a lot.
Best Regards.
 
XmScrollVisible(library call)											     XmScrollVisible(library call)

NAME
XmScrollVisible -- A ScrolledWindow function that makes an invisible descendant of a ScrolledWindow work area visible SYNOPSIS
#include <Xm/ScrolledW.h> void XmScrollVisible( Widget scrollw_widget, Widget widget, Dimension left_right_margin, Dimension top_bottom_margin); DESCRIPTION
XmScrollVisible makes an obscured or partially obscured widget or gadget descendant of a ScrolledWindow work area visible. The function re- positions the work area and sets the specified margins between the widget and the nearest viewport boundary. The widget's location relative to the viewport determines whether one or both of the margins must be adjusted. This function requires that the XmNscrollingPolicy of the ScrolledWindow widget be set to XmAUTOMATIC. scrollw_widget Specifies the ID of the ScrolledWindow widget whose work area window contains an obscured descendant. widget Specifies the ID of the widget to be made visible. left_right_margin Specifies the margin to establish between the left or right edge of the widget and the associated edge of the viewport. This margin is established only if the widget must be moved horizontally to make it visible. top_bottom_margin Specifies the margin to establish between the top or bottom edge of the widget and the associated edge of the viewport. This margin is established only if the widget must be moved vertically to make it visible. For a complete definition of ScrolledWindow and its associated resources, see XmScrolledWindow(3) RELATED
XmScrolledWindow(3). XmScrollVisible(library call)
All times are GMT -4. The time now is 06:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy