JY.Mathematics类库提供各种数学计算类库,包含数组操作、数组计算、统计、微积分、曲线拟合、内插算法、线性代数等静态类库。
ArrayArithmetic类 |
|
方法名 |
功能概要 |
Absolute |
绝对值 |
Acos |
反余弦 |
Add |
数组相加 |
Asin |
反正弦 |
Atan |
反正切 |
Cos |
余弦 |
Divide |
数组相除 |
Exp |
自然指数 |
FindMaxMin |
找最大最小值 |
Initialize |
初始化 |
Ln |
自然对数 |
Log |
对数 |
Multiply |
数组相乘 |
Pow |
指数 |
Product |
数组相乘后相加 |
Sin |
正弦 |
Sqrt |
平方根 |
Substract |
数组相减 |
Sum |
求和 |
Tan |
正切 |
ArrayOperation类 |
|
方法名 |
功能概要 |
Concatenate |
拼接 |
ConvertTo |
转换 |
Copy |
拷贝 |
Delete |
删除 |
GetSubset |
获取部分 |
Insert |
插入 |
Inverse |
反转 |
ReplaceSubset |
置换部分 |
Transpose |
转置 |
Statistics类 |
|
方法名 |
功能概要 |
Histogram |
Histogram |
Kurtosis |
Kurtosis |
Mean |
Mean |
Median |
Median |
Percentile |
Percentile |
RMS |
RMS |
Skewness |
Skewness |
StandardDeviation |
StandardDeviation |
Variance |
Variance |
LinearAlgebra类 |
|
方法名 |
功能概要 |
Dot |
Dot |
Norm |
Norm |
Statistics类 |
|
方法名 |
功能概要 |
Interpolate_CubicSpline |
Interpolate_CubicSpline |
Interpolate_Linear |
Interpolate_Linear |
Interpolate_LogLinear |
Interpolate_LogLinear |
Interpolate_Polynomial |
Interpolate_Polynomial |
Interpolate_Step |
Interpolate_Step |
Fitting类 |
|
方法名 |
功能概要 |
ExponentialFitting |
指数拟合 |
LinearFitting |
线性拟合 |
TransposePolynomialFitting |
多项式拟合 |
Calculus类 |
|
方法名 |
功能概要 |
Derivative_2ndOrderCentral |
二次微分 |
Derivative_4thOrderCentral |
四次微分 |
Derivative_Backward |
反向微分 |
Derivative_Forward |
顺向微分 |
Integral_Bode |
Bode积分 |
Integral_Simpsons |
Simpson积分 |
Integral_Simpsons38 |
Simpson3/8积分 |
Integral_Trapezodial |
梯形积分 |
JY.Mathematics里头特定含式支持基于intel技术的加速运算能力,操作方法以及支持列表如下:
【使用Intel IPP加速】
1. 安装intel IPP软件包(从intel网站上下载)
2. 将生成目录新增一个”IntelIPP”文件夹
3. 将intel软件包中的dll拷贝到”IntelIPP”目录底下。如果需要x86的程序就拷贝x86 的dll,
x64的程序就拷贝x64的dll。
x86路径
C:\Program Files
(x86)\IntelSWTools\compilers_and_libraries_2017.4.210\windows\redist\ia32\ipp
x64路径
C:\Program Files
(x86)\IntelSWTools\compilers_and_libraries_2017.4.210\windows\redist\intel64\ipp
4. 在代码中加入一行
Engine.Provider = ProviderEngine.IntelIPP
5. 支持含式列表如下
ArrayArithmetics |
ArrayOperation |
Statistics |
LinearAlgebra |
Absolute |
Inverse |
Mean |
Dot |
Acos |
|
StandardDeviation |
|
Add |
|
|
|
Asin |
|
|
|
Atan |
|
|
|
Cos |
|
|
|
Divide |
|
|
|
Exp |
|
|
|
FindMaxMin |
|
|
|
Initialize |
|
|
|
Ln |
|
|
|
Log |
|
|
|
Multiply |
|
|
|
Pow |
|
|
|
Product |
|
|
|
Sin |
|
|
|
Sqrt |
|
|
|
Substract |
|
|
|
Sum |
|
|
|
Tan |
|
|
|
【使用Intel MKL加速】
1. 安装MKL runtime软件包(从简仪科技网站上下载)
2. 在代码中加入一行
Engine.Provider = ProviderEngine.IntelMKL
ArrayArithmetics |
Statistics |
LinearAlgebra |
Absolute |
Kurtosis |
Dot |
Acos |
Skewness |
|
Add |
|
|
Asin |
|
|
Atan |
|
|
Cos |
|
|
Exp |
|
|
FindMaxMin |
|
|
Ln |
|
|
Log |
|
|
Multiply |
|
|
Pow |
|
|
Sin |
|
|
Sqrt |
|
|
Substract |
|
|
Sum |
|
|
Tan |
|
|