MCPcopy Create free account
hub / github.com/numpy/numpy / clacpy_

Function clacpy_

numpy/linalg/lapack_lite/f2c_c_lapack.c:9062–9172  ·  view source on GitHub ↗

Subroutine */

Source from the content-addressed store, hash-verified

9060} /* clacp2_ */
9061
9062/* Subroutine */ int clacpy_(char *uplo, integer *m, integer *n, complex *a,
9063 integer *lda, complex *b, integer *ldb)
9064{
9065 /* System generated locals */
9066 integer a_dim1, a_offset, b_dim1, b_offset, i__1, i__2, i__3, i__4;
9067
9068 /* Local variables */
9069 static integer i__, j;
9070 extern logical lsame_(char *, char *);
9071
9072
9073/*
9074 -- LAPACK auxiliary routine (version 3.2) --
9075 -- LAPACK is a software package provided by Univ. of Tennessee, --
9076 -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
9077 November 2006
9078
9079
9080 Purpose
9081 =======
9082
9083 CLACPY copies all or part of a two-dimensional matrix A to another
9084 matrix B.
9085
9086 Arguments
9087 =========
9088
9089 UPLO (input) CHARACTER*1
9090 Specifies the part of the matrix A to be copied to B.
9091 = 'U': Upper triangular part
9092 = 'L': Lower triangular part
9093 Otherwise: All of the matrix A
9094
9095 M (input) INTEGER
9096 The number of rows of the matrix A. M >= 0.
9097
9098 N (input) INTEGER
9099 The number of columns of the matrix A. N >= 0.
9100
9101 A (input) COMPLEX array, dimension (LDA,N)
9102 The m by n matrix A. If UPLO = 'U', only the upper trapezium
9103 is accessed; if UPLO = 'L', only the lower trapezium is
9104 accessed.
9105
9106 LDA (input) INTEGER
9107 The leading dimension of the array A. LDA >= max(1,M).
9108
9109 B (output) COMPLEX array, dimension (LDB,N)
9110 On exit, B = A in the locations specified by UPLO.
9111
9112 LDB (input) INTEGER
9113 The leading dimension of the array B. LDB >= max(1,M).
9114
9115 =====================================================================
9116*/
9117
9118
9119 /* Parameter adjustments */

Callers 15

cgeev_Function · 0.85
cgelsd_Function · 0.85
cgesdd_Function · 0.85
cheevd_Function · 0.85
chseqr_Function · 0.85
claed8_Function · 0.85
clahr2_Function · 0.85
clals0_Function · 0.85
clalsd_Function · 0.85
claqr0_Function · 0.85
claqr2_Function · 0.85
claqr3_Function · 0.85

Calls 2

lsame_Function · 0.85
minFunction · 0.50

Tested by

no test coverage detected