---
name: "cblas_chpr2.c"
section: "3"
platform: "linux"
package: "lapack-doc"
version: "3.12.1-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/cblas_chpr2.c"
---

# cblas\_chpr2.c(3)

## NAME

CBLAS/src/cblas\_chpr2.c

## SYNOPSIS

\#include \<stdio.h\>\
 \#include \<stdlib.h\>\
 \#include 'cblas.h'\
 \#include 'cblas\_f77.h'\

### Macros

\#define **F77\_UL**   &UL\
 \#define **F77\_N**   N\
 \#define **F77\_incX**   incx\
 \#define **F77\_incY**   incy\

### Functions

void **API\_SUFFIX** **cblas\_chpr2** (const **CBLAS\_LAYOUT** layout, const **CBLAS\_UPLO** Uplo, const **CBLAS\_INT** N, const void \*alpha, const void \*X, const **CBLAS\_INT** incX, const void \*Y, const **CBLAS\_INT** incY, void \*Ap)\

## Macro Definition Documentation

### #define F77\_incX incx

### #define F77\_incY incy

### #define F77\_N N

### #define F77\_UL &UL

## Function Documentation

### void API\_SUFFIX cblas\_chpr2 (const CBLAS\_LAYOUT layout, const CBLAS\_UPLO Uplo, const CBLAS\_INT N, const void \* alpha, const void \* X, const CBLAS\_INT incX, const void \* Y, const CBLAS\_INT incY, void \* Ap)

Definition at line **12** of file **cblas\_chpr2.c**.

## Author

Generated automatically by Doxygen for LAPACK from the source code.
