📄 mat.h
字号:
/*************************************************************************
*
* The following code was hand optimized for the Texas Instuments
* TMS320C5x DSP by DSPCon, Inc. For information, please contact DSPCon
* at:
*
* DSPCon, Inc.
* 380 Foothill Road
* Bridgewater, New Jersey 08807
* (908) 722-5656
* info@dspcon.com
* www.dspcon.com
*
*************************************************************************/
/*
mat.h Matrix include file.
(Low level matrix and vector functions.)
Copyright (c) 1995 by Texas Instruments, Inc. All rights reserved.
*/
#ifndef _mat_h
#define _mat_h_
Shortword *v_add(Shortword *vec1,Shortword *vec2,Shortword n);
Longword *L_v_add(Longword *L_vec1,Longword *L_vec2,Shortword n);
Shortword *v_equ(Shortword *vec1,Shortword *v2,Shortword n);
Shortword *v_equ_shr(Shortword *vec1,Shortword *vec2,Shortword scale,
Shortword n);
Longword *L_v_equ(Longword *L_vec1,Longword *L_vec2,Shortword n);
Shortword v_inner(Shortword *vec1,Shortword *vec2,Shortword n,
Shortword qvec1,Shortword qvec2,Shortword qout);
Longword L_v_inner(Shortword *vec1,Shortword *vec2,Shortword n);
Shortword v_magsq(Shortword *vec1,Shortword n,Shortword qvec1,Shortword qout);
Longword L_v_magsq(Shortword *vec1,Shortword n,Shortword qvec1,Shortword qout);
Shortword *v_scale(Shortword *vec1,Shortword scale,Shortword n);
Shortword *v_scale_shl(Shortword *vec1,Shortword scale,Shortword n,
Shortword shift);
Shortword *v_sub(Shortword *vec1,Shortword *vec2,Shortword n);
Shortword *v_zap(Shortword *vec1,Shortword n);
Longword *L_v_zap(Longword *L_vec1,Shortword n);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -