📄 dspf_sp_dotp_sqr.h
字号:
/* ======================================================================== */
/* TEXAS INSTRUMENTS, INC. */
/* */
/* NAME */
/* DSPF_sp_dotp_sqr -- Single Precision dot product and sum of square */
/* */
/* USAGE */
/* This routine has the following C prototype: */
/* */
/* float DSPF_sp_dotp_sqr( */
/* float G, */
/* const float * x, */
/* const float * y, */
/* float * restrict r, */
/* int nx */
/* ) */
/* G: Sum of y-squared initial value. */
/* x[nx]: Pointer to First input array. */
/* y[nx]: Pointer to Second input array. */
/* r: Pointer to Output for Accumulation of x[]*y[]. */
/* nx: Length of input vectors. */
/* */
/* DESCRIPTION */
/* */
/* This routine computes the dot product of x[] and y[] arrays, */
/* adding it to the value in the location pointed to by r. */
/* Additionally, it computes the sum of the squares of the terms */
/* in the y array,adding it to the argument G. The final value of */
/* G is given as the return value of the function. */
/* */
/* ------------------------------------------------------------------------ */
/* Copyright (c) 2003 Texas Instruments, Incorporated. */
/* All Rights Reserved. */
/* ======================================================================== */
#ifndef DSPF_SP_DOTP_SQR_
#define DSPF_SP_DOTP_SQR_ 1
float DSPF_sp_dotp_sqr(float G, const float * x, const float * y, float *restrict r, int nx);
#endif
/* ========================================================================*/
/* End of file: dspf_sp_dotp_sqr.h */
/* ------------------------------------------------------------------------*/
/* Copyright (C) 2003 Texas Instruments, Incorporated. */
/* All Rights Reserved. */
/* ========================================================================*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -