GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
HPL_dlatcpy(3) HPL Library Functions HPL_dlatcpy(3)

HPL_dlatcpy - B := A^T

#include "hpl.h"

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

HPL_dlatcpy copies the transpose of an array A into an array B.

M (local input) const int
On entry, M specifies the number of rows of the array B and the number of columns of A. M must be at least zero.
N (local input) const int
On entry, N specifies the number of rows of the array A and the number of columns of B. N must be at least zero.
A (local input) const double *
On entry, A points to an array of dimension (LDA,M).
LDA (local input) const int
On entry, LDA specifies the leading dimension of the array A. LDA must be at least MAX(1,N).
B (local output) double *
On entry, B points to an array of dimension (LDB,N). On exit, B is overwritten with the transpose of 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).

#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);
}

HPL_dlacpy (3).
December 2, 2018 HPL 2.3

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.