?? primitive.h
字號:
// primitive.h: interface for the primitive class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_PRIMITIVE_H__CE15A736_A064_4380_BEE6_A3DD10E46868__INCLUDED_)
#define AFX_PRIMITIVE_H__CE15A736_A064_4380_BEE6_A3DD10E46868__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <math.h>
#include <string.h> /* to declare memcpy */
#ifndef PI
#define PI 3.14159265358979
#endif
class primitive
{
public:
void P_eval(int m,double *coeffs, double *eval_args, double *result,double *workspace, int bw);
void Pmm_L2( int m,double *eval_pts, int n, double *result);
void EvalPts( int n, double *eval_pts);
void ArcCosEvalPts(int n, double *eval_pts);
void vec_pt_mul(double *data1,double *data2,double *result,int n);
void vec_mul(double scalar, double *data1, double *result, int n);
void vec_add(double *data1, double *data2, double *result, int n);
double L2_ancn(int m, int l);
double L2_cn_inv(int m, int l);
double L2_cn(int m, int l);
double L2_an(int m, int l);
primitive();
virtual ~primitive();
};
#endif // !defined(AFX_PRIMITIVE_H__CE15A736_A064_4380_BEE6_A3DD10E46868__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -