HPL_dlacpy man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

HPL_dlacpy(3)		     HPL Library Functions		 HPL_dlacpy(3)

NAME
       HPL_dlacpy - B := A.

SYNOPSIS
       #include "hpl.h"

       void  HPL_dlacpy( const int M, const int N, const double * A, const int
       LDA, double * B, const int LDB );

DESCRIPTION
       HPL_dlacpy copies an array A into an array B.

ARGUMENTS
       M       (local input)	       const int
	       On entry,  M specifies the number of rows of the arrays	A  and
	       B. M must be at least zero.

       N       (local input)	       const int
	       On  entry,   N specifies	 the number of columns of the arrays A
	       and B. N must be at least zero.

       A       (local input)	       const double *
	       On entry, A points to an array of dimension (LDA,N).

       LDA     (local input)	       const int
	       On entry, LDA specifies the leading dimension of the  array  A.
	       LDA must be at least MAX(1,M).

       B       (local output)	       double *
	       On entry, B points to an array of dimension (LDB,N). On exit, B
	       is overwritten with A.

       LDB     (local input)	       const int
	       On entry, LDB specifies the leading dimension of the  array  B.
	       LDB must be at least MAX(1,M).

EXAMPLE
       #include "hpl.h"

       int main(int argc, char *argv[])
       {
	  double a[2*2], b[2*2];
	  a[0] = 1.0; a[1] = 3.0; a[2] = 2.0; a[3] = 4.0;
	  HPL_dlacpy( 2, 2, a, 2, b, 2 );
	  printf("  [%f,%f]\n", b[0], b[2]);
	  printf("b=[%f,%f]\n", b[1], b[3]);
	  exit(0);
	  return(0);
       }

SEE ALSO
       HPL_dlatcpy (3).

HPL 2.1			       October 26, 2012			 HPL_dlacpy(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net