EasyManuals Logo

Texas Instruments C28 Series User Manual

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
Page #65 background imageLoading...
Page #65 background image
Function Descriptions
3.31 Multiplication of a Real Scalar, a Real Vector, and another Real
Vector
Description:
This module multiplies a real scalar with a real vector. and another real vector.
Y [i] = C W [i] X[i]
Header File:
FPU.h
Declaration:
void mpy_SP_RSxRVxRV_2(float32
*
y, const float32
*
w,
const float32
*
x, const float32 c, const Uint16 N)
Usage:
mpy_SP_RSxRVxRV_2(y, w, x, c, N);
float32 *y
result real array
float32 *w
input real array 1
float32 *x
input real array 2
float32 c
input real scalar
Uint16 N
length of w, x and y arrays
Alignment Requirements:
None
Notes:
1. N must be EVEN and a minimum of 4.
Example:
#include "FPU.h"
#define N 4
float32 w[N], x[N], y[N];
float32 c;
main()
{
mpy_SP_RSxRVxRV_2(y, w, x, c, N);
}
Benchmark Information:
Number of Cycles = 3*N + 22 cycles (including the call and return)
Sep 10, 2012 65

Table of Contents

Other manuals for Texas Instruments C28 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments C28 Series and is the answer not in the manual?

Texas Instruments C28 Series Specifications

General IconGeneral
BrandTexas Instruments
ModelC28 Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals