## Linux and UNIX Man Pages

Test Your Knowledge in Computers #502
Difficulty: Medium
If a function uses a particular process or algorithm such as a Fast Fourier Transform to perform an operation, it would not be appropriate to document it in a series of comments in the source code.
True or False?

# zlacp2.f(3) [centos man page]

```zlacp2.f(3)							      LAPACK							       zlacp2.f(3)

NAME
zlacp2.f -

SYNOPSIS
Functions/Subroutines
subroutine zlacp2 (UPLO, M, N, A, LDA, B, LDB)
ZLACP2 copies all or part of a real two-dimensional array to a complex array.

Function/Subroutine Documentation
subroutine zlacp2 (characterUPLO, integerM, integerN, double precision, dimension( lda, * )A, integerLDA, complex*16, dimension( ldb, * )B,
integerLDB)
ZLACP2 copies all or part of a real two-dimensional array to a complex array.

Purpose:

ZLACP2 copies all or part of a real two-dimensional matrix A to a
complex matrix B.

Parameters:
UPLO

UPLO is CHARACTER*1
Specifies the part of the matrix A to be copied to B.
= 'U':	 Upper triangular part
= 'L':	 Lower triangular part
Otherwise:  All of the matrix A

M

M is INTEGER
The number of rows of the matrix A.  M >= 0.

N

N is INTEGER
The number of columns of the matrix A.  N >= 0.

A

A is DOUBLE PRECISION array, dimension (LDA,N)
The m by n matrix A.  If UPLO = 'U', only the upper trapezium
is accessed; if UPLO = 'L', only the lower trapezium is
accessed.

LDA

LDA is INTEGER
The leading dimension of the array A.  LDA >= max(1,M).

B

B is COMPLEX*16 array, dimension (LDB,N)
On exit, B = A in the locations specified by UPLO.

LDB

LDB is INTEGER
The leading dimension of the array B.  LDB >= max(1,M).

Author:
Univ. of Tennessee

Univ. of California Berkeley

NAG Ltd.

Date:
September 2012

Definition at line 105 of file zlacp2.f.

Author
Generated automatically by Doxygen for LAPACK from the source code.

Version 3.4.2							  Tue Sep 25 2012						       zlacp2.f(3)```

## Check Out this Related Man Page

```zlacp2.f(3)							      LAPACK							       zlacp2.f(3)

NAME
zlacp2.f -

SYNOPSIS
Functions/Subroutines
subroutine zlacp2 (UPLO, M, N, A, LDA, B, LDB)
ZLACP2

Function/Subroutine Documentation
subroutine zlacp2 (characterUPLO, integerM, integerN, double precision, dimension( lda, * )A, integerLDA, complex*16, dimension( ldb, * )B,
integerLDB)
ZLACP2

Purpose:

ZLACP2 copies all or part of a real two-dimensional matrix A to a
complex matrix B.

Parameters:
UPLO

UPLO is CHARACTER*1
Specifies the part of the matrix A to be copied to B.
= 'U':	 Upper triangular part
= 'L':	 Lower triangular part
Otherwise:  All of the matrix A

M

M is INTEGER
The number of rows of the matrix A.  M >= 0.

N

N is INTEGER
The number of columns of the matrix A.  N >= 0.

A

A is DOUBLE PRECISION array, dimension (LDA,N)
The m by n matrix A.  If UPLO = 'U', only the upper trapezium
is accessed; if UPLO = 'L', only the lower trapezium is
accessed.

LDA

LDA is INTEGER
The leading dimension of the array A.  LDA >= max(1,M).

B

B is COMPLEX*16 array, dimension (LDB,N)
On exit, B = A in the locations specified by UPLO.

LDB

LDB is INTEGER
The leading dimension of the array B.  LDB >= max(1,M).

Author:
Univ. of Tennessee

Univ. of California Berkeley

NAG Ltd.

Date:
November 2011

Definition at line 105 of file zlacp2.f.

Author
Generated automatically by Doxygen for LAPACK from the source code.

Version 3.4.1							  Sun May 26 2013						       zlacp2.f(3)```

## Help for record (2 dimensional array.)

I am going to develop a address book using the shell scripting commands without sed, awk, .... I am thinking to apply the concept of 2 dimenstional array. Can I create a two dimensional array for the insertion/updation/deletion of record in unix. If yes then tell me plz or recommend me some...

## PERL: How do i print an associative matrix?

Hello guys, I have in PERL an associative 2-dimensional array, called matrix. The array (actually the matrix) is made up like this matrix = x; matrix = y; matrix = w; matrix = z; ... but the names a, b, c, d are set just at runtime. The question is: how can i get all the keys of...

## 3. Programming

hi, my problem is i have 10 thread for produces double two dimensional array these will produces 2d array 400 times ,then i have a thread to takes a two dimensional array then it inverse , and most 10 array can be in the fifo , and threads given takes one by one, now my problem is , i cant...

## How to define a very big matrix in C?

Hello!! I need to do some performance test using a very big matrix (bi-dimensional array) but I have problems with this. Is there any limitation in declarations? because if I do this: int matriz; It just don't work... it compiles but when i run the program it just closes. Where can i...

## PHP: how can I delete empty/NULL elements from a multi-dimensional array.

Hi all I have a file that i'm running and exec(cat ./dat) against..and putting its contents into any array, then doing an exploding the array into a multi-dimension array... The 15 multi-dimensional arrays have elements that are null/empty, I would like to remove/unset these elements and then...

## Passing two dimensional array to a function

Hi. I have a problem with passing two dimensional array to a function. First, let me show my code to explain what i am going to do: I have function:void initialize_board(char board);which is supposed to modify content of passed array. I have read here: Question 6.18 how such arrays should be...

## C++ Segmentation error with bi-dimensional array

Hello, I'm experiencing a weird seg fault at run time when initializing a bi-dimensional array and initializing a class. Please see below code and comments describing the error and the instances when it occurs and when it does not occur. Compiled with g++ segf.cpp -o segf output On...

## Return two dimensional array in c++

I am writing matrix multiplication and trying to return a two dimensional array from a function but I keep getting errors. Can someone please help me? here is my code (it is just the skeleton of my program): void main () { ... int *matmultiply (int, int, int, int , int , int ) ... } ...

## How to reference 2 dimensional array in awk?

Hello, all For a 1-dimensional array, such as myarr_1=1 myarr_1=2 myarr_1=3I know I can write a loop as below to show the array member one by one: for (i in myarr_1){print i, myarr_1}Now, suppose I have a two dimensional array such as: myarray_2=1 myarray_2=2 myarray_2=10 myarray_2=20My...

## Assign two dimensional array in bash at once

Hi, I have a 10*10 two dimensional array. How do I assign value to all it's 100 elements at once? I don't want to open two for loops and assign one by one. Thanks, Amit