EasyManua.ls Logo

Texas Instruments C28 Series

Texas Instruments C28 Series
76 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Function Descriptions
3.30 Multiplication of a Real scalar and a Real Vector
Description:
This module multiplies a real scalar and a real vector.
Y [i] = C X[i]
Header File:
FPU.h
Declaration:
void mpy_SP_RSxRV_2(float32
*
y, const float32
*
x,
const float32 c, const Uint16 N)
Usage:
mpy_SP_RSxRV_2(y, x, c, N);
float32 *y
result real array
float32 *x
input real array
float32 c
input real scalar
Uint16 N
length of x and y array
Alignment Requirements:
None
Notes:
1. N must be EVEN and a minimum of 4.
Example:
#include "FPU.h"
#define N 10
float32 x[N], y[N];
float32 c;
main()
{
mpy_SP_RSxRV_2(y, x, c, N);
}
Benchmark Information:
Number of Cycles = 2*N + 15 cycles (including the call and return)
Sep 10, 2012 64

Table of Contents

Other manuals for Texas Instruments C28 Series

Related product manuals