irangetransform.cs

来自「SVM的一个源程序」· CS 代码 · 共 27 行

CS
27
字号
using System;
using System.Collections.Generic;
using System.Text;

namespace SVM
{
    /// <summary>
    /// Interface implemented by range transforms.
    /// </summary>
    public interface IRangeTransform
    {
        /// <summary>
        /// Transform the input value using the transform stored for the provided index.
        /// </summary>
        /// <param name="input">Input value</param>
        /// <param name="index">Index of the transform to use</param>
        /// <returns>The transformed value</returns>
        double Transform(double input, int index);
        /// <summary>
        /// Transforms the input array.
        /// </summary>
        /// <param name="input">The array to transform</param>
        /// <returns>The transformed array</returns>
        Node[] Transform(Node[] input);
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?